pi-bar 0.3.9 → 0.3.11
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 +6 -6
- package/extensions/status-footer.ts +1 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
**Never accidentally run Opus on a typo again.** pi-bar puts the active model, thinking level, context usage, live TLDR, and extension statuses in pi's footer so you catch wrong-model / wrong-reasoning / context-pressure problems before they cost you.
|
|
7
7
|
|
|
8
8
|
```text
|
|
9
|
-
◈ claude-opus-4.7 ❯ ✦ think:med ❯ ◷ 2.6% / 1.0M ❯
|
|
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
|
|
|
@@ -89,10 +89,10 @@ PI_BAR_ICONS=nerdfont pi
|
|
|
89
89
|
|
|
90
90
|
Supported presets:
|
|
91
91
|
|
|
92
|
-
- `unicode` — default, e.g. `◈ gpt-5.5 ❯ ✦ think:medium ❯ ◷ 42.7% / 272k ❯
|
|
93
|
-
- `plain` — maximum compatibility, e.g. `model:gpt-5.5 | think:medium | ctx:42.7% / 272k |
|
|
94
|
-
- `emoji` — colorful emoji markers, e.g. `🤖 gpt-5.5 › ✨ think:medium › 🧭 42.7% / 272k ›
|
|
95
|
-
- `nerdfont` — icon-font glyphs for terminals configured with a Nerd Font, e.g. ` gpt-5.5 think:medium 42.7% / 272k
|
|
92
|
+
- `unicode` — default, e.g. `◈ gpt-5.5 ❯ ✦ think:medium ❯ ◷ 42.7% / 272k ❯ Reading files ❯ ✧ plan:active`
|
|
93
|
+
- `plain` — maximum compatibility, e.g. `model:gpt-5.5 | think:medium | ctx:42.7% / 272k | Reading files | ext:plan:active`
|
|
94
|
+
- `emoji` — colorful emoji markers, e.g. `🤖 gpt-5.5 › ✨ think:medium › 🧭 42.7% / 272k › Reading files › 🧩 plan:active`
|
|
95
|
+
- `nerdfont` — icon-font glyphs for terminals configured with a Nerd Font, e.g. ` gpt-5.5 think:medium 42.7% / 272k Reading files plan:active`
|
|
96
96
|
|
|
97
97
|
## Compatibility
|
|
98
98
|
|
|
@@ -102,7 +102,6 @@ const ICON_PRESETS: Record<
|
|
|
102
102
|
model: string;
|
|
103
103
|
thinking: string;
|
|
104
104
|
context: string;
|
|
105
|
-
tldr: string;
|
|
106
105
|
extensions: string;
|
|
107
106
|
separator: string;
|
|
108
107
|
}
|
|
@@ -111,7 +110,6 @@ const ICON_PRESETS: Record<
|
|
|
111
110
|
model: "◈",
|
|
112
111
|
thinking: "✦",
|
|
113
112
|
context: "◷",
|
|
114
|
-
tldr: "ⓘ",
|
|
115
113
|
extensions: "✧",
|
|
116
114
|
separator: "❯",
|
|
117
115
|
},
|
|
@@ -119,7 +117,6 @@ const ICON_PRESETS: Record<
|
|
|
119
117
|
model: "model",
|
|
120
118
|
thinking: "think",
|
|
121
119
|
context: "ctx",
|
|
122
|
-
tldr: "tldr",
|
|
123
120
|
extensions: "ext",
|
|
124
121
|
separator: "|",
|
|
125
122
|
},
|
|
@@ -127,7 +124,6 @@ const ICON_PRESETS: Record<
|
|
|
127
124
|
model: "🤖",
|
|
128
125
|
thinking: "✨",
|
|
129
126
|
context: "🧭",
|
|
130
|
-
tldr: "📝",
|
|
131
127
|
extensions: "🧩",
|
|
132
128
|
separator: "›",
|
|
133
129
|
},
|
|
@@ -135,7 +131,6 @@ const ICON_PRESETS: Record<
|
|
|
135
131
|
model: "",
|
|
136
132
|
thinking: "",
|
|
137
133
|
context: "",
|
|
138
|
-
tldr: "",
|
|
139
134
|
extensions: "",
|
|
140
135
|
separator: "",
|
|
141
136
|
},
|
|
@@ -1128,9 +1123,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
1128
1123
|
contextSegmentColor,
|
|
1129
1124
|
prefixed(icons.context, contextText, iconPreset),
|
|
1130
1125
|
),
|
|
1131
|
-
tldr: tldrText
|
|
1132
|
-
? theme.fg("muted", prefixed(icons.tldr, tldrText, iconPreset))
|
|
1133
|
-
: null,
|
|
1126
|
+
tldr: tldrText ? theme.fg("muted", tldrText) : null,
|
|
1134
1127
|
extensions: extensionStatuses
|
|
1135
1128
|
? theme.fg(
|
|
1136
1129
|
"muted",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-bar",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.11",
|
|
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.11/assets/screenshot.png"
|
|
55
55
|
}
|
|
56
56
|
}
|