pi-tropos 0.9.0 → 0.9.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/README.md +5 -3
- package/package.json +1 -1
- package/src/footer.ts +4 -4
package/README.md
CHANGED
|
@@ -21,9 +21,11 @@ Personal pi customization bundle. One package, installable anywhere.
|
|
|
21
21
|
- **`kaapi` theme** — filter-coffee dark: deep espresso base (`#15100D`), latte-foam text
|
|
22
22
|
(`#E8DCCB`), caramel accent (`#D9984A`), matcha success, terracotta error. Warm and
|
|
23
23
|
caffeinated. Select via `/settings` or `"theme": "kaapi"`.
|
|
24
|
-
- **Clean footer** — one line: `project branch` left;
|
|
25
|
-
the dumbzone gauge right. Zero-valued counters hide; no full paths, no
|
|
26
|
-
no session titles. Auto-named sessions are sanitized (no markdown
|
|
24
|
+
- **Clean footer** — one line: `project branch` left; `in · out · cached · stored · $cost`
|
|
25
|
+
plus the dumbzone `ctx` gauge right. Zero-valued counters hide; no full paths, no
|
|
26
|
+
cache-hit %, no session titles. Auto-named sessions are sanitized (no markdown junk).
|
|
27
|
+
`ctx` is the live context snapshot; the others are cumulative session billing counters
|
|
28
|
+
(`cached`/`stored` = provider prompt-cache reads/writes, re-read every turn).
|
|
27
29
|
- **`/zen` mode** — reading mode for brainstorming: collapses all tool output and shrinks
|
|
28
30
|
the footer to `$cost` + the ctx gauge. `/zen` again restores your previous state.
|
|
29
31
|
- **`/peek <path>`** — transient code viewer: syntax-highlighted, line-numbered overlay.
|
package/package.json
CHANGED
package/src/footer.ts
CHANGED
|
@@ -52,11 +52,11 @@ function totals(ctx: ExtensionContext): Totals {
|
|
|
52
52
|
|
|
53
53
|
function telemetryLine(t: Totals) {
|
|
54
54
|
if (t.input === 0) return "";
|
|
55
|
-
const parts = [
|
|
56
|
-
if (t.cacheRead > 0) parts.push(`
|
|
57
|
-
if (t.cacheWrite > 0) parts.push(`
|
|
55
|
+
const parts = [`in ${fmt(t.input)}`, `out ${fmt(t.output)}`];
|
|
56
|
+
if (t.cacheRead > 0) parts.push(`cached ${fmt(t.cacheRead)}`);
|
|
57
|
+
if (t.cacheWrite > 0) parts.push(`stored ${fmt(t.cacheWrite)}`);
|
|
58
58
|
parts.push(`$${t.cost.toFixed(2)}`);
|
|
59
|
-
return parts.join("
|
|
59
|
+
return parts.join(" ");
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
let zen = false;
|