pi-bar 0.3.7 → 0.3.8
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 +2 -2
- package/extensions/status-footer.ts +4 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
◈ claude-opus-4.7 ❯ ✦ think:med ❯ ◷ 2.6% / 1.0M ❯ ⓘ Inspecting package structure ❯ ✧ plan:active
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-

|
|
13
13
|
|
|
14
14
|
## Why use it?
|
|
15
15
|
|
|
@@ -48,7 +48,7 @@ Allowed segments are `model`, `thinking`, `context`, `tldr`, and `extensions`. T
|
|
|
48
48
|
|
|
49
49
|
### Configure live TLDR
|
|
50
50
|
|
|
51
|
-
pi-bar generates live footer TLDRs from recent prompt, assistant, tool, and result activity. It uses a fast authenticated model and stays quiet when none is available. Limit segment width with:
|
|
51
|
+
pi-bar generates live footer TLDRs from recent prompt, assistant, tool, and result activity. TLDR state resets when you navigate the session tree so stale summaries do not follow you across branches. It uses a fast authenticated model and stays quiet when none is available. Limit segment width with:
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
54
|
PI_BAR_TLDR_MAX_WIDTH=48 pi
|
|
@@ -1078,7 +1078,11 @@ export default function (pi: ExtensionAPI) {
|
|
|
1078
1078
|
tldr.recordMessageEnd(ctx, event.message);
|
|
1079
1079
|
refresh();
|
|
1080
1080
|
});
|
|
1081
|
+
pi.on("session_before_tree", async () => {
|
|
1082
|
+
tldr.shutdown();
|
|
1083
|
+
});
|
|
1081
1084
|
pi.on("session_tree", async (_event, ctx) => {
|
|
1085
|
+
tldr.startSession(ctx.cwd);
|
|
1082
1086
|
restoreStatusFilter(ctx);
|
|
1083
1087
|
refresh();
|
|
1084
1088
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-bar",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"description": "Never accidentally run Opus on a typo. Pi footer/statusline showing active model, thinking level, context usage, live TLDR, and extension statuses.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -51,6 +51,6 @@
|
|
|
51
51
|
"extensions": [
|
|
52
52
|
"./extensions/status-footer.ts"
|
|
53
53
|
],
|
|
54
|
-
"image": "https://cdn.jsdelivr.net/npm/pi-bar@0.3.
|
|
54
|
+
"image": "https://cdn.jsdelivr.net/npm/pi-bar@0.3.8/assets/screenshot.png"
|
|
55
55
|
}
|
|
56
56
|
}
|