pi-coder-theme
v0.1.0
Published
Pi Coder Theme UI suite for Pi: theme, editor chrome, and compact tool display.
Maintainers
Readme
pi-coder-theme
Pi Coder Theme UI for Pi: a Pi Coder Theme dark theme, rounded editor chrome, synchronized thinking-level colors, compact user messages, and bundled compact tool rendering.
Install
pi install npm:pi-coder-themeSet the theme in Pi settings, or in ~/.pi/agent/settings.json:
{
"theme": "pi-coder-theme-dark"
}If npm:pi-tool-display is installed separately, remove it. pi-coder-theme already bundles it.
Includes
pi-coder-theme-darktheme- Pi Coder Theme editor chrome with context, cost, ChatGPT subscription quota, model, thinking level, cwd, branch, and git change summary
- Working status integrated into the editor status row, with git changes kept on the right
- Compact Pi Coder Theme user messages with thinking-level color sync
- Structured thinking-step display for visible assistant reasoning
- Bundled
pi-tool-display
Structured thinking display turns visible provider reasoning into terminal-native steps while preserving the original reasoning text. If Pi's assistant-message internals are incompatible with this package version, pi-coder-theme warns and leaves Pi's native thinking renderer in place for that session.
ChatGPT quota display appears only for OpenAI/Codex models authenticated through Pi's subscription/OAuth login. It consumes subscription usage updates from @marckrenn/pi-sub-core, keeps the existing compact 5h … / W … editor label, and refreshes through sub-core on the chatGptQuota.refreshMinutes interval from config.json (default 5 minutes). API-key sessions and unsupported providers do not show quota usage.
Development
npm install
npm test
npm run typecheck
npm run check
npm run pack:checkFor local Pi testing:
pi install /Users/frank/Code/pi-coder-themeSwitch back to the published package when done:
pi remove /Users/frank/Code/pi-coder-theme
pi install npm:pi-coder-themeRelease
Use the bundled release skill/checklist:
release-pi-coder-themeAt minimum:
npm run release:check
npm publishSee CHANGELOG.md for release notes.
License
MIT
