- Created wow-statusline package with configurable editor footer showing CWD, git branch, model/provider info, thinking level, token usage, and cost.
- Registered `/wow:statusline:show` command to inspect the module's enabled state.
- Added `statusline?` config option to WowConfig, supporting boolean or `{ enabled?: boolean }` shape.
- Wired statusline into wow-pi extension entry point as a workspace dependency and side-effect import.
1.5 KiB
1.5 KiB
wow-pi
A small extension pack for the pi coding agent.
Install for local development
bun install
pi install <wow-pi directory>
Or test once:
pi -e <wow-pi directory>
Configuration
wow-pi reads JSON or YAML config from both global and project locations, in order:
~/.pi/agent/wow.json,~/.pi/agent/wow.yaml,~/.pi/agent/wow.yml<project>/.pi/wow.json,<project>/.pi/wow.yaml,<project>/.pi/wow.yml
Project config extends global config. Array fields are merged and de-duplicated; object fields are shallow-merged. For statusline, the supported public shape is intentionally minimal: true, false, or { enabled: boolean }. See wow.example.yaml for an example.
Packages
This repo is organized as a workspace monorepo:
packages/wow-core: shared config, module registry, logger, UI helpers, and${protocol:value}resolvers.packages/wow-contexts: self-registering Markdown context injector with/wow:contexts:list,/wow:contexts:reload, and/wow:init.packages/wow-inject: self-registering env loader that reads.envfiles and resolves${file:...}/${env:...}intoprocess.env.packages/wow-pi: pi extension entry point; imports feature packages for side-effect registration, then runs registered modules.packages/wow-statusline: customized statusline/footer module built on pi's supported UI APIs.
Logs are written to ~/.pi/agent/wow/logs/.