@firstpick/pi-extension-git-footer-status 0.1.6 → 0.1.7

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 (3) hide show
  1. package/README.md +2 -0
  2. package/index.ts +4 -4
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Enhanced Pi footer with git health and model/token telemetry.
4
4
 
5
+ ![Status bar with metrics and git context](images/Statusbar_v0.1.5.png)
6
+
5
7
  ## What it does
6
8
 
7
9
  - Shows compact runtime metrics in the footer:
package/index.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { access } from "node:fs/promises";
2
2
  import { homedir } from "node:os";
3
3
  import { isAbsolute, resolve, sep } from "node:path";
4
- import type { AssistantMessage } from "@mariozechner/pi-ai";
5
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
6
- import { truncateToWidth, visibleWidth } from "@mariozechner/pi-tui";
4
+ import type { AssistantMessage } from "@earendil-works/pi-ai";
5
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
6
+ import { truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
7
7
 
8
8
  type GitSnapshot = {
9
9
  branch: string;
@@ -332,7 +332,7 @@ function buildStatusText(ctx: ExtensionContext, snapshot: GitSnapshot): string {
332
332
  const changesSection: string[] = [];
333
333
  if (f.staged && snapshot.staged > 0) changesSection.push(t.fg("success", `+${snapshot.staged}`));
334
334
  if (f.unstaged && snapshot.unstaged > 0) changesSection.push(t.fg("warning", `✎${snapshot.unstaged}`));
335
- if (f.untracked && snapshot.untracked > 0) changesSection.push(t.fg("info", `◌${snapshot.untracked}`));
335
+ if (f.untracked && snapshot.untracked > 0) changesSection.push(t.fg("muted", `◌${snapshot.untracked}`));
336
336
  if (f.conflicted && snapshot.conflicted > 0) changesSection.push(t.fg("error", `!${snapshot.conflicted}`));
337
337
 
338
338
  const extraSection: string[] = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firstpick/pi-extension-git-footer-status",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Enhanced Pi footer with git status, token usage, context usage, and model telemetry.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -15,9 +15,9 @@
15
15
  ]
16
16
  },
17
17
  "peerDependencies": {
18
- "@mariozechner/pi-coding-agent": "*",
19
- "@mariozechner/pi-ai": "*",
20
- "@mariozechner/pi-tui": "*"
18
+ "@earendil-works/pi-coding-agent": "*",
19
+ "@earendil-works/pi-ai": "*",
20
+ "@earendil-works/pi-tui": "*"
21
21
  },
22
22
  "files": [
23
23
  "index.ts",