@henryqw/pi-footer 0.6.0 → 0.6.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.
- package/README.md +11 -9
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
# `@henryqw/pi-footer`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Keep checkout identity, model usage, elapsed agent work, and extension status visible in Pi.
|
|
4
|
+
|
|
5
|
+

|
|
4
6
|
|
|
5
7
|
## Why
|
|
6
8
|
|
|
7
|
-
- **Created for**:
|
|
8
|
-
- **Advantage**:
|
|
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.
|
|
9
11
|
|
|
10
12
|
## Install
|
|
11
13
|
|
|
@@ -17,16 +19,16 @@ pi install npm:@henryqw/pi-footer
|
|
|
17
19
|
|
|
18
20
|
| Package | Why |
|
|
19
21
|
| --- | --- |
|
|
20
|
-
| `@henryqw/pi-multi-codex` | Improves. Adds active Codex subscription quota and reset status. |
|
|
21
|
-
| `@henryqw/pi-open-in` | Improves. Adds `/open` and `/set-open-in` commands for editor configuration. |
|
|
22
|
-
| `@henryqw/pi-pr` | Improves. Adds current-branch pull-request status. |
|
|
22
|
+
| [`@henryqw/pi-multi-codex`](https://pi.henry.wang/extensions/pi-multi-codex) | Improves. Adds active Codex subscription quota and reset status. |
|
|
23
|
+
| [`@henryqw/pi-open-in`](https://pi.henry.wang/extensions/pi-open-in) | Improves. Adds `/open` and `/set-open-in` commands for editor configuration. |
|
|
24
|
+
| [`@henryqw/pi-pr`](https://pi.henry.wang/extensions/pi-pr) | Improves. Adds current-branch pull-request status. |
|
|
23
25
|
|
|
24
26
|
## Use
|
|
25
27
|
|
|
26
28
|
The footer shows checkout, usage, model, thinking, and extension statuses.
|
|
27
29
|
|
|
28
30
|
```text
|
|
29
|
-
pi-
|
|
31
|
+
pi-harness · clear-field-f8d2 · PR #123 · approved Codex #1 · 50% · 7d 1d 1h 22m
|
|
30
32
|
↑ 12.4k · ↓ 2.1k · ↺ 84.3% · ⚡ 87.4 t/s · $ 0.127 · ◔ 36.8% gpt-5.6-luna • high
|
|
31
33
|
● 🐴 ponytail: ⚡ FULL ◷ 12m 34s
|
|
32
34
|
```
|
|
@@ -39,7 +41,7 @@ Unavailable values render as `—` without a misleading percent sign.
|
|
|
39
41
|
|
|
40
42
|
`off` uses the same dim grey as the model name. Active levels use an ANSI-256 gradient: green `minimal`, yellow-green `low`, lime `medium`, yellow `high`, orange `xhigh`, and red `max`.
|
|
41
43
|
|
|
42
|
-
`ultra` renders as a rainbow when the
|
|
44
|
+
`ultra` renders as a rainbow when the active Pi runtime supplies that thinking level. Unsupported levels never appear.
|
|
43
45
|
|
|
44
46
|
Non-empty statuses from `@henryqw` extensions, currently Codex quota, occupy the right side of the first line.
|
|
45
47
|
|
|
@@ -51,7 +53,7 @@ Statuses from all other extensions, including Ponytail and `pi-rewind`, share th
|
|
|
51
53
|
|
|
52
54
|
## Clickable checkout
|
|
53
55
|
|
|
54
|
-
When
|
|
56
|
+
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.
|
|
55
57
|
|
|
56
58
|
Use Pi fullscreen TUI so Pi handles the custom URI:
|
|
57
59
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@henryqw/pi-footer",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Show concise repository, branch, and usage details in the Pi footer.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
"repository": {
|
|
32
32
|
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/HenryQW/pi-
|
|
34
|
-
"directory": "
|
|
33
|
+
"url": "git+https://github.com/HenryQW/pi-harness.git",
|
|
34
|
+
"directory": "extensions/pi-footer"
|
|
35
35
|
},
|
|
36
36
|
"bugs": {
|
|
37
|
-
"url": "https://github.com/HenryQW/pi-
|
|
37
|
+
"url": "https://github.com/HenryQW/pi-harness/issues"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
@@ -42,9 +42,10 @@
|
|
|
42
42
|
"pi": {
|
|
43
43
|
"extensions": [
|
|
44
44
|
"./extensions/footer.ts"
|
|
45
|
-
]
|
|
45
|
+
],
|
|
46
|
+
"image": "https://raw.githubusercontent.com/HenryQW/pi-harness/main/extensions/pi-footer/example.png"
|
|
46
47
|
},
|
|
47
48
|
"dependencies": {
|
|
48
|
-
"@henryqw/pi-open-in": "^1.0.
|
|
49
|
+
"@henryqw/pi-open-in": "^1.0.1"
|
|
49
50
|
}
|
|
50
51
|
}
|