pi-bar 0.3.34 → 0.3.36
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 -5
- package/extensions/status-footer.ts +4 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
**Never accidentally run Opus on a typo again.** pi-bar keeps your model, thinking level, context pressure, a live progress update, and any extension statuses visible in pi's footer.
|
|
7
7
|
|
|
8
8
|
```text
|
|
9
|
-
claude-opus-4.7 ❯ think:med ❯ 2.6% / 1.0M ❯ Reviewing package structure ❯ plan:active
|
|
9
|
+
claude-opus-4.7 ❯ think:med ❯ 2.6% / 1.0M ❯ Reviewing package structure ❯ plan:active ❯ queue:2
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-

|
|
13
|
+

|
|
14
|
+

|
|
15
15
|
|
|
16
16
|
## Why use it?
|
|
17
17
|
|
|
@@ -75,7 +75,7 @@ Or in pi settings: `bar.progressModel`. Otherwise pi-bar picks a fast model you
|
|
|
75
75
|
|
|
76
76
|
### Configure extension statuses
|
|
77
77
|
|
|
78
|
-
Other pi extensions can publish small status badges. Pi-bar collects them into the `extensions` segment. Run `/bar` or `/bar status` inside pi to pick which ones to show:
|
|
78
|
+
Other pi extensions can publish small status badges. Pi-bar collects them into the `extensions` segment and separates each badge with the same `❯` divider used by other footer segments. Run `/bar` or `/bar status` inside pi to pick which ones to show:
|
|
79
79
|
|
|
80
80
|
```text
|
|
81
81
|
/bar status
|
|
@@ -132,6 +132,7 @@ const DEFAULT_WARNING_THRESHOLD = 70;
|
|
|
132
132
|
const DEFAULT_ERROR_THRESHOLD = 90;
|
|
133
133
|
|
|
134
134
|
const SEGMENT_SEPARATOR = "❯";
|
|
135
|
+
const EXTENSION_STATUS_SEPARATOR = SEGMENT_SEPARATOR;
|
|
135
136
|
|
|
136
137
|
function formatTokens(n: number): string {
|
|
137
138
|
if (n >= 1_000_000) {
|
|
@@ -1533,7 +1534,9 @@ function formatExtensionStatuses(
|
|
|
1533
1534
|
})
|
|
1534
1535
|
.map(([key, text]) => `${key}:${text}`);
|
|
1535
1536
|
|
|
1536
|
-
return parts.length > 0
|
|
1537
|
+
return parts.length > 0
|
|
1538
|
+
? parts.join(` ${EXTENSION_STATUS_SEPARATOR} `)
|
|
1539
|
+
: null;
|
|
1537
1540
|
}
|
|
1538
1541
|
|
|
1539
1542
|
function serializeStatusFilter(filter: StatusFilter): SerializedStatusFilter {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-bar",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.36",
|
|
4
4
|
"description": "Pi footer/statusline showing active model, thinking level, context pressure, live progress updates, 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.36/assets/screenshot-yellow.png"
|
|
55
55
|
}
|
|
56
56
|
}
|