@siddr/pi-status
v0.1.11
Published
Status widget extension for pi
Downloads
467
Readme
Status extension
Shows session and repository context around the input editor:
Above the editor:
- Current session name, when set
- Current working directory and Git branch in dim text
- Current GitHub PR URL for the active branch, below the path (includes
(merged)/(closed)when not open)
Below the editor:
- Current model (without the provider)
- Current thinking level
- Current OpenAI fast/cache/verbosity indicators from
openai-paramswhen non-default, shown inside the thinking parentheses (/fast,cache:24h,🗣️low,🗣️medium,🗣️high) - Context usage percent plus model context length (
<percent>/<context-length>) - Current/last agent time plus cumulative turn total and session time (
<agent> agent · <turn total> turn total · <session> session)
Time values use a compact d/h/m format (XdYhZm, YhZm, or Zm) and are separated with a center dot (·). Agent time reflects the current or last completed prompt run. Turn total accumulates time spent across turns in the current session. All timers reset when a new session starts. The default footer widget is hidden while this extension is active.
Install
pi install npm:@siddr/pi-statusUsage
The status widget updates automatically during session events.
If openai-params is installed, the widget also listens for its event-bus updates and shows the current non-default fast/cache/verbosity settings inside the thinking-level parentheses for the active workspace.
PR detection requires GitHub CLI (gh) and valid auth (gh auth status). By default, the PR line is resolved only for github.com. You can allow additional GitHub Enterprise hosts with PI_STATUS_ALLOWED_GITHUB_HOSTS (comma-separated exact hostnames).
Toggle the behavior with /custom-status.
Tests
pnpm test -- status/tests/*.test.ts