@henryqw/pi-footer 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -10
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,21 +1,16 @@
1
1
  # `@henryqw/pi-footer`
2
2
 
3
- Keep checkout identity, model usage, elapsed agent work, and extension status visible in Pi.
3
+ Keep checkout identity, model usage, elapsed agent work, and extension status visible while you work in Pi. See repository, pull request, model, cost, and status details without separate commands.
4
4
 
5
5
  ![Pi footer showing repository, pull request, quota, usage, model, and extension status](./example.png)
6
6
 
7
- ## Why
8
-
9
- - **Created for**: Pi users who need current checkout and usage details while they work.
10
- - **Advantage**: See repository, PR, model, cost, and status details without running separate commands.
11
-
12
7
  ## Install
13
8
 
14
9
  ```bash
15
10
  pi install npm:@henryqw/pi-footer
16
11
  ```
17
12
 
18
- ## With
13
+ ## Works with
19
14
 
20
15
  | Package | Why |
21
16
  | --- | --- |
@@ -45,13 +40,15 @@ Unavailable values render as `—` without a misleading percent sign.
45
40
 
46
41
  Non-empty statuses from `@henryqw` extensions, currently Codex quota, occupy the right side of the first line.
47
42
 
43
+ Statuses from all other extensions, including Ponytail and `pi-rewind`, share the left side. They are sorted by key with producer text, spacing, colors, links, and glyphs preserved.
44
+
45
+ ## State and storage
46
+
48
47
  Agent-work time counts each run from `agent_start` through the final idle `agent_settled`. It includes automatic retries and auto-compaction inside that run. It excludes blocking user-prompt waits and idle waits between runs.
49
48
 
50
49
  Standalone `/compact` is excluded because it runs outside the agent-run lifecycle and emits no `agent_start`. The cumulative total is persisted in the session through a `pi-footer:agent-work` custom entry after each finalized run. It is restored on session resume.
51
50
 
52
- Statuses from all other extensions, including Ponytail and `pi-rewind`, share the left side. They are sorted by key with producer text, spacing, colors, links, and glyphs preserved.
53
-
54
- ## Clickable checkout
51
+ ## Limits and recovery
55
52
 
56
53
  When the configured executable is `code` and Pi reports hyperlink support, the accent-colored checkout name links to the current path. The link opens a new window for `code -n` or `code --new-window`. A missing config silently uses `code`. Other executables and terminals with hyperlinks disabled render plain text.
57
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-footer",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Show concise repository, branch, and usage details in the Pi footer.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -24,9 +24,9 @@
24
24
  "pack:check": "npm pack --dry-run"
25
25
  },
26
26
  "peerDependencies": {
27
- "@earendil-works/pi-ai": "^0.85.0",
28
- "@earendil-works/pi-coding-agent": "^0.85.0",
29
- "@earendil-works/pi-tui": "^0.85.0"
27
+ "@earendil-works/pi-ai": "^0.85.1",
28
+ "@earendil-works/pi-coding-agent": "^0.85.1",
29
+ "@earendil-works/pi-tui": "^0.85.1"
30
30
  },
31
31
  "repository": {
32
32
  "type": "git",