Update completed dotfiles artifacts
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
---
|
||||
status: open
|
||||
status: resolved
|
||||
claimed-by: "019fbf55-ae07-7bfe-a774-77f41b55b724"
|
||||
claimed-at: "2026-08-01T17:58:46-04:00"
|
||||
completed-at: "2026-08-01T18:03:07-04:00"
|
||||
parent: "[[063-pi-ui-customization-spec-task]]"
|
||||
blocked-by: []
|
||||
tags:
|
||||
- ticket/task/afk
|
||||
- ticket/implementation
|
||||
---
|
||||
|
||||
# Implement compact Pi status extension
|
||||
@@ -22,16 +25,21 @@ It should cache only normalized non-secret quota percentages in memory and degra
|
||||
|
||||
## Acceptance criteria
|
||||
|
||||
- [ ] The extension lives under the dotfiles Pi module's managed extension source tree, not only under `~/.pi/agent/extensions`.
|
||||
- [ ] The built-in footer is hidden by default.
|
||||
- [ ] The status widget shows cwd/branch on the left and model/thinking on the right.
|
||||
- [ ] The context bar uses `▃`, fills from `ctx.getContextUsage().percent`, and uses success/warning/error thresholds 70% and 90%.
|
||||
- [ ] The Codex quota bar uses `▔`, fills by consumed weekly quota, uses border blue below 50%, warning at 50%, and error at 80%.
|
||||
- [ ] `/codex-quota` forces a refresh and displays only normalized non-secret details.
|
||||
- [ ] Missing or expired credentials, network errors, and unrecognized quota responses do not break extension loading.
|
||||
- [ ] No default config file is generated.
|
||||
- [x] The extension lives under the dotfiles Pi module's managed extension source tree, not only under `~/.pi/agent/extensions`.
|
||||
- [x] The built-in footer is hidden by default.
|
||||
- [x] The status widget shows cwd/branch on the left and model/thinking on the right.
|
||||
- [x] The context bar uses `▃`, fills from `ctx.getContextUsage().percent`, and uses success/warning/error thresholds 70% and 90%.
|
||||
- [x] The Codex quota bar uses `▔`, fills by consumed weekly quota, uses border blue below 50%, warning at 50%, and error at 80%.
|
||||
- [x] `/codex-quota` forces a refresh and displays only normalized non-secret details.
|
||||
- [x] Missing or expired credentials, network errors, and unrecognized quota responses do not break extension loading.
|
||||
- [x] No default config file is generated.
|
||||
|
||||
## Implementation Notes
|
||||
|
||||
Use `[[063-pi-ui-customization-spec-task]]` as the source of truth for row shape, colors, quota endpoints, and out-of-scope behavior.
|
||||
The throwaway prototype at `~/.pi/agent/extensions/compact-status-prototype.ts` is useful reference code, but the finished implementation should be promoted into the repo-managed Pi extension source.
|
||||
|
||||
Resolved on branch `pi-ui-customization` in commit `a7ee800`.
|
||||
Implemented `modules/agents/pi/extensions/compact-status.ts` as a managed Pi extension with an above-editor status widget, hidden footer, context/quota bars, and `/codex-quota`.
|
||||
Verification: Pi RPC command registration smoke, managed extension derivation build, and `nix flake check`.
|
||||
Manual post-switch verification remains useful for exact visual placement and live quota endpoint shape.
|
||||
|
||||
Reference in New Issue
Block a user