pi-bar 0.3.11 → 0.3.13
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 +3 -3
- 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
|
|
51
|
+
pi-bar generates concise live footer TLDR fragments 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. Set `PI_BAR_SHOW` without `tldr` to hide it.
|
|
52
52
|
|
|
53
53
|
By default, pi-bar uses the first authenticated fast model from its fallback list. Override with:
|
|
54
54
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* pi-bar — footer/statusline extension.
|
|
3
3
|
*
|
|
4
4
|
* Replaces the built-in footer with left-aligned segments:
|
|
5
|
-
* ◈ <model name> ❯ ✦ think:<level> ❯ ◷ <context% / window> ❯
|
|
5
|
+
* ◈ <model name> ❯ ✦ think:<level> ❯ ◷ <context% / window> ❯ <tldr> ❯ ✧ <extension statuses>
|
|
6
6
|
*
|
|
7
7
|
* Examples:
|
|
8
8
|
* ◈ claude-opus-4.7 ❯ ✦ think:med ❯ ◷ 2.6% / 1.0M
|
|
@@ -82,7 +82,7 @@ const MAX_CONTEXT_CHECKPOINTS = 8;
|
|
|
82
82
|
const TLDR_MAX_TOKENS = 120;
|
|
83
83
|
const TLDR_REQUEST_TIMEOUT_MS = 2_000;
|
|
84
84
|
const TLDR_DISPLAY_UPDATE_INTERVAL_MS = 1_200;
|
|
85
|
-
const TLDR_TARGET_SUMMARY_CHARS =
|
|
85
|
+
const TLDR_TARGET_SUMMARY_CHARS = 60;
|
|
86
86
|
const CONFIG_PATH =
|
|
87
87
|
process.env.PI_BAR_CONFIG ?? join(homedir(), ".pi", "agent", "pi-bar.json");
|
|
88
88
|
|
|
@@ -745,7 +745,7 @@ Use the prior TLDRs for context and the new activity for the update.
|
|
|
745
745
|
Summarize only activity up to the requested index.
|
|
746
746
|
If context is sparse, still summarize the available activity.
|
|
747
747
|
Never ask for more information or say there is not enough context.
|
|
748
|
-
Return
|
|
748
|
+
Return one concise status fragment under ${TLDR_TARGET_SUMMARY_CHARS} characters.
|
|
749
749
|
Use third person. Do not address the user.
|
|
750
750
|
Plain text only; no markdown, JSON, code, bullets, quotes, or file/tool names.
|
|
751
751
|
${tenseInstruction}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-bar",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.13",
|
|
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.13/assets/screenshot.png"
|
|
55
55
|
}
|
|
56
56
|
}
|