@henryqw/pi-footer 0.5.0 → 0.5.1
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/extensions/footer.ts +3 -3
- package/package.json +1 -1
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];
|