Releases: imran-vz/pi-observability
Releases · imran-vz/pi-observability
v1.3.0 — Modular Architecture + Settings UI
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
v1.2.0
What's New
- Thinking level colors — Footer
model:thinkingnow uses the same theme colors as pi's input field border (thinkingOffthroughthinkingXhigh) - Rainbow mode —
xhighandmaxthinking levels render the model indicator in cycling RGB rainbow colors - Compact footer layout — Single-line footer with smart overflow to two lines on narrow terminals
- New
/obs-toggle-pathcommand — Toggle between showing just the folder name or the full path in the footer - Fast mode indicator — Shows when OpenAI Codex fast mode is active
v1.1.0
What's Changed
End-of-run TPS summaries
Observability now prints a TPS summary notification after each agent run, including:
- Output tokens per second
- Input and output token counts
- Cache read/write token counts
- Total tokens
- Agent elapsed time
This complements the live footer by preserving a concise final performance summary once generation completes.
Documentation
- Updated the README to document the end-of-run TPS notification.
Verification
- Ran
npm run typechecksuccessfully.
v1.0.2
Full Changelog: v1.0.1...v1.0.2
v1.0.1
- Replace fixed 64-char box with dynamic terminal-width sizing
- Render /obs through
ctx.ui.custom()TUI component instead of console.log - Fix footer corruption by using TUI overlay with theme-aware borders
- Remove emojis from boxed summary to prevent width miscalculation
- Add aligned column tables for turns and history with headers