{"_id":"@alexeyco/pi-statusline","name":"@alexeyco/pi-statusline","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@alexeyco/pi-statusline","version":"0.1.0","description":"Compact statusline for the pi coding agent — model/thinking on the editor border, single-line footer with token totals and context usage","type":"module","license":"MIT","keywords":["pi","pi-package","pi-extension","statusline","statusbar","tui"],"repository":{"type":"git","url":"git+https://github.com/alexeyco/pi-statusline.git"},"scripts":{"test":"node --test src/status.test.ts","check":"node scripts/check.mjs","typecheck":"tsc --noEmit"},"peerDependencies":{"@earendil-works/pi-coding-agent":"*","@earendil-works/pi-tui":"*"},"devDependencies":{"@earendil-works/pi-ai":"^0.84.4","@earendil-works/pi-coding-agent":"^0.84.4","@earendil-works/pi-tui":"^0.84.4","@types/node":"^26.0.0","typescript":"^5.9.0"},"pi":{"extensions":["./src/index.ts"],"image":"https://raw.githubusercontent.com/alexeyco/pi-statusline/master/docs/gallery/terminal.png"},"publishConfig":{"access":"public"},"_id":"@alexeyco/pi-statusline@0.1.0","gitHead":"ae71fca93544e3b0f6aee0f1561ebc31e3c0ef1b","bugs":{"url":"https://github.com/alexeyco/pi-statusline/issues"},"homepage":"https://github.com/alexeyco/pi-statusline#readme","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-xk0P5yrUU+PIJBvzy0msPAsEXTl6HPwCuyvD4v6ZzK7EJGMSH10FMW2ofwYuuy2zfPzSDFeDupQ8oX08Fs1nvQ==","shasum":"c4d5ff34a583e08377a3a7d689d951d1458f4903","tarball":"https://registry.npmjs.org/@alexeyco/pi-statusline/-/pi-statusline-0.1.0.tgz","fileCount":7,"unpackedSize":19228,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alexeyco%2fpi-statusline@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDOuS8HCCtw/IAjN1tfsUiJB7ac38/w2yNSOin/7kl/CAIgR8dKF/cjBv5kHZiv/MGHsqKrAeFWeXfaAjHoLwM1V18="}]},"_npmUser":{"name":"alexeyco","email":"me@alexeyco.dev"},"directories":{},"maintainers":[{"name":"alexeyco","email":"me@alexeyco.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-statusline_0.1.0_1788350504794_0.5253866556891613"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-02T12:01:44.040Z","0.1.0":"2026-09-02T12:01:44.936Z","modified":"2026-09-02T12:01:45.991Z"},"maintainers":[{"name":"alexeyco","email":"me@alexeyco.dev"}],"description":"Compact statusline for the pi coding agent — model/thinking on the editor border, single-line footer with token totals and context usage","homepage":"https://github.com/alexeyco/pi-statusline#readme","keywords":["pi","pi-package","pi-extension","statusline","statusbar","tui"],"repository":{"type":"git","url":"git+https://github.com/alexeyco/pi-statusline.git"},"bugs":{"url":"https://github.com/alexeyco/pi-statusline/issues"},"license":"MIT","readme":"# pi-statusline\n\nCompact statusline for the [pi](https://pi.dev) coding agent — published as a pi extension package.\n\nRelocates status information in the pi TUI:\n\n- **Editor border** — `model • thinking` label stamped on the top input border, right-aligned.\n- **Footer** — a single line: `cwd (branch) • session` on the left, `↑in ↓out · ctx%/window`\n  right-aligned. Context usage turns orange above 70% and red above 90%.\n- Extension statuses (`ctx.ui.setStatus`) keep their own line below.\n\n<p align=\"center\">\n  <img src=\"docs/gallery/terminal.png\" alt=\"pi-statusline demo\" width=\"640\">\n</p>\n\n## Install\n\n```sh\npi install npm:@alexeyco/pi-statusline\n```\n\nRequires pi ≥ 0.84 (peer dependencies are resolved by `pi install`).\nThe extension activates automatically on session start.\n\n**Migrating from a local copy:** if you previously kept this extension in\n`~/.pi/agent/extensions/status-layout/`, remove that directory after\ninstalling the package — otherwise both copies register and fight over\nthe footer.\n\n## Development\n\n```sh\ngit clone https://github.com/alexeyco/pi-statusline\ncd pi-statusline\npi install \"$(pwd)\"   # local install; edits are live\nmake test             # unit tests (node:test, needs Node ≥ 22.18)\nmake check            # sanity checks (same as CI)\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for branching and release flow.\n","readmeFilename":"README.md","_rev":"1-77687481f18d25ec2e47bd7f0524a49c"}