Enhancing the terminal developer experience. Custom modules and interface utilities designed to make the Pi agent ecosystem more visible, persistent, and efficient.
This extension replaces Pi's default footer with a cleaner, information-dense layout. It prioritizes active context, model states, and cost metrics over low-value status labels like "idle" or "ready."
Install the extension permanently inside your Pi environment:
Or test it immediately in your current terminal session without installing:
~ modified, ✘ untracked, + staged, - deleted, ⇡/⇣ branch sync).↑ sent, ↓ received) alongside estimated session cost (prefixed with a dark green $).| Command | Description |
|---|---|
/pi-infobar | Toggle the info bar footer visibility |
/pi-infobar on | off | Force enable or disable the info bar |
/pi-infobar toggle | Toggle the status line |
/codex-status | Output current Codex usage and rate-limit windows |
/codex-status --refresh | Force refresh usage stats from Codex APIs |
/codex-status --no-statusline | Print usage report without updating footer status |
/codex-status --clear-statusline | Remove Codex stats from the status line |
In standard environments, active AI developer sessions are confined to a single directory. worktree-sessions shares active AI agent sessions across different git worktrees of the same project, allowing you to switch branches/worktrees without losing context or interrupting your agent's history.
The project is structured with clean separation of concerns, separating shared filesystem linking logic from specific runtime environments:
src/worktree-sessions.ts holds the reusable core logic for resolving git parent repositories and linking session caches.
pi/index.ts wires the shared module into Pi lifecycle hooks and exposes the /worktree-sessions command.
The package builds the TypeScript source using modern compilation pipelines, publishing minified JavaScript alongside corresponding .d.ts declarations from the dist/ directory.
Toggle or query active session roots directly from the chat prompt: