@henryqw/pi-footer 0.5.0 → 0.5.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 +0 -14
- package/extensions/footer.ts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,17 +56,3 @@ Use Pi fullscreen TUI so Pi handles the custom URI:
|
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
Set this through `/settings`, or launch with `--tui-mode fullscreen`. Then use normal primary click. Regular TUI delegates OSC 8 activation to the terminal; Ghostty uses `Cmd+click` but may not open custom URI schemes.
|
|
59
|
-
|
|
60
|
-
## Remove
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
pi remove npm:@henryqw/pi-footer
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
## Development
|
|
67
|
-
|
|
68
|
-
```bash
|
|
69
|
-
npm test --workspace @henryqw/pi-footer
|
|
70
|
-
npm run typecheck --workspace @henryqw/pi-footer
|
|
71
|
-
npm run pack:check --workspace @henryqw/pi-footer
|
|
72
|
-
```
|
package/extensions/footer.ts
CHANGED
|
@@ -12,7 +12,7 @@ const THINKING_COLORS = {
|
|
|
12
12
|
xhigh: 208,
|
|
13
13
|
max: 196,
|
|
14
14
|
} as const;
|
|
15
|
-
const
|
|
15
|
+
const HENRY_STATUS_KEY = "pi-multi-codex";
|
|
16
16
|
const AGENT_TIME_ENTRY = "pi-footer:agent-work";
|
|
17
17
|
|
|
18
18
|
function isValidMilliseconds(value: unknown): value is number {
|
|
@@ -191,10 +191,10 @@ export default function footerExtension(pi: ExtensionAPI): void {
|
|
|
191
191
|
.map(([key, text]) => [key, sanitizeStatus(text)] as const)
|
|
192
192
|
.filter(([, text]) => Boolean(text));
|
|
193
193
|
const henryStatuses = statuses
|
|
194
|
-
.filter(([key]) =>
|
|
194
|
+
.filter(([key]) => key === HENRY_STATUS_KEY)
|
|
195
195
|
.map(([, text]) => text);
|
|
196
196
|
const externalStatuses = statuses
|
|
197
|
-
.filter(([key]) =>
|
|
197
|
+
.filter(([key]) => key !== HENRY_STATUS_KEY)
|
|
198
198
|
.map(([, text]) => text);
|
|
199
199
|
const thinking = String(ctx.thinkingLevel ?? "off");
|
|
200
200
|
const thinkingColor = THINKING_COLORS[thinking as keyof typeof THINKING_COLORS];
|