@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.
@@ -12,7 +12,7 @@ const THINKING_COLORS = {
12
12
  xhigh: 208,
13
13
  max: 196,
14
14
  } as const;
15
- const HENRY_STATUS_KEYS = new Set(["pi-multi-codex"]);
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]) => HENRY_STATUS_KEYS.has(key))
194
+ .filter(([key]) => key === HENRY_STATUS_KEY)
195
195
  .map(([, text]) => text);
196
196
  const externalStatuses = statuses
197
- .filter(([key]) => !HENRY_STATUS_KEYS.has(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];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-footer",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Show concise repository, branch, and usage details in the Pi footer.",
5
5
  "keywords": [
6
6
  "pi-package",