Skip to content

v1.3.0 — Modular Architecture + Settings UI

Latest

Choose a tag to compare

@imran-vz imran-vz released this 29 Apr 12:20
decaf69

What's New

🏗️ Modular Architecture

The extension has been completely refactored from a single monolithic file into a deep, testable module hierarchy:

  • Footer Engine ()

    • — Token/duration formatting, thinking-level colors, rainbow text
    • — Individual segment renderers (model, runtime, git, context, tokens, TPS, cost)
    • — Single-line ↔ two-line layout assembler with terminal-width adaptation
    • — Shared TypeScript interfaces
    • — + for custom builds
  • Settings System ()

    • — 4 presets (minimal, standard, verbose, performance) + segment metadata
    • — Settings validation, migration, preset application
    • — Settings-list item generation for pi's native TUI
    • — JSON persistence in
    • — High-level settings manager API
  • Storage ()

    • File-based JSONL storage for session history and turn records

⚙️ Interactive Settings UI

New command opens a native TUI panel where you can:

  • Switch presets — minimal | standard | verbose | performance
  • Toggle individual segments — Model, Runtime, PWD, Git, Context Usage (with sub-options: bar, %, numbers), Tokens, TPS, Cost
  • Set context-usage thresholds — Expert and warning zone percentages

Settings are persisted across sessions.

📹 Updated Demo Media

  • Replaced old MP4 with a new 1080p GIF trimmed from
  • README refreshed with current status-bar format () and full settings documentation

📝 Full Changelog

  • docs: refresh README with current status bar format and settings
  • docs: link demo GIF in README and remove diff.png section
  • Update the demo gif
  • refactor: extract deep testable modules from monolithic extension