pi-bar 0.3.13 → 0.3.14
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 +8 -8
- package/extensions/status-footer.ts +3 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/pi-bar)
|
|
4
4
|
[](https://www.npmjs.com/package/pi-bar)
|
|
5
5
|
|
|
6
|
-
**Never accidentally run Opus on a typo again.** pi-bar
|
|
6
|
+
**Never accidentally run Opus on a typo again.** pi-bar keeps your model, thinking level, context pressure, extension status, and a live one-line TLDR visible in pi's footer.
|
|
7
7
|
|
|
8
8
|
```text
|
|
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
|
|
|
16
16
|
- **See the active model at a glance** — catch accidental model switches before an expensive or sensitive task starts.
|
|
17
17
|
- **Track thinking level in place** — immediately notice when you are using the wrong reasoning setting.
|
|
18
18
|
- **Watch context pressure early** — context usage turns green, yellow, then red as you approach the limit.
|
|
19
|
-
- **
|
|
19
|
+
- **Follow what pi is doing** — a live TLDR keeps the current task visible without scrolling.
|
|
20
20
|
- **Keep extension statuses visible** — statuses set with `ctx.ui.setStatus()` still appear in the custom footer.
|
|
21
21
|
|
|
22
|
-
pi-bar is intentionally tiny: one small extension, no broad behavior changes, and no commands to learn. It replaces pi's built-in footer with a compact model / thinking / context /
|
|
22
|
+
pi-bar is intentionally tiny: one small extension, no broad behavior changes, and no commands to learn. It replaces pi's built-in footer with a compact model / thinking / context / TLDR / extension-status line.
|
|
23
23
|
|
|
24
24
|
## Install
|
|
25
25
|
|
|
@@ -48,15 +48,15 @@ Allowed segments are `model`, `thinking`, `context`, `tldr`, and `extensions`. T
|
|
|
48
48
|
|
|
49
49
|
### Configure live TLDR
|
|
50
50
|
|
|
51
|
-
pi-bar
|
|
51
|
+
pi-bar shows a concise live TLDR of the current task in the footer. It resets when you navigate the session tree so stale summaries do not follow you across branches. Set `PI_BAR_SHOW` without `tldr` to hide it.
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
Override the TLDR model with:
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
56
|
PI_BAR_TLDR_MODEL=anthropic/claude-haiku-4-5 pi
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
You can also set `bar.tldrModel` in pi settings
|
|
59
|
+
You can also set `bar.tldrModel` in pi settings.
|
|
60
60
|
|
|
61
61
|
### Configure extension statuses
|
|
62
62
|
|
|
@@ -111,4 +111,4 @@ PI_BAR_ICONS=plain pi
|
|
|
111
111
|
|
|
112
112
|
Pi extensions run with your local user permissions. Review any pi package source before installing it.
|
|
113
113
|
|
|
114
|
-
Live TLDR generation sends short snippets
|
|
114
|
+
Live TLDR generation sends short activity snippets to the selected TLDR model provider. Disable the `tldr` segment with `PI_BAR_SHOW` if that is unacceptable.
|
|
@@ -746,7 +746,9 @@ 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
748
|
Return one concise status fragment under ${TLDR_TARGET_SUMMARY_CHARS} characters.
|
|
749
|
-
|
|
749
|
+
Omit subjects like "the agent" or "it".
|
|
750
|
+
Prefer verb + direct object. Include outcome only if important.
|
|
751
|
+
Do not address the user.
|
|
750
752
|
Plain text only; no markdown, JSON, code, bullets, quotes, or file/tool names.
|
|
751
753
|
${tenseInstruction}`;
|
|
752
754
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-bar",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.3.14",
|
|
4
|
+
"description": "Pi footer/statusline showing active model, thinking level, context pressure, live TLDR, and extension statuses.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"pi-package",
|
|
@@ -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.14/assets/screenshot.png"
|
|
55
55
|
}
|
|
56
56
|
}
|