pi-bar 0.3.45 → 0.3.46

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 CHANGED
@@ -6,7 +6,7 @@
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 ❯ Queue: 2
9
+ claude-opus-4.7 ❯ med ❯ 2.6% / 1.0M ❯ Reviewing package structure ❯ Plan active ❯ Queue: 2
10
10
  ```
11
11
 
12
12
  ![pi-bar with low context usage](https://cdn.jsdelivr.net/npm/pi-bar@0.3.38/assets/screenshot-green.png)
@@ -106,7 +106,7 @@ Enable the optional `cwd` segment to distinguish projects and sessions:
106
106
  Or set startup segments with `PI_BAR_SHOW=model,thinking,context,cwd,progress,extensions`.
107
107
 
108
108
  ```text
109
- claude-opus-4.7 ❯ think:med ❯ 2.6% / 1.0M ❯ ~/projects/pi-bar
109
+ claude-opus-4.7 ❯ med ❯ 2.6% / 1.0M ❯ ~/projects/pi-bar
110
110
  ```
111
111
 
112
112
  Your home directory becomes `~`. Long paths omit middle directories, retaining trailing directory names where possible. The segment is capped at 36 terminal columns, including wide Unicode characters. Override the cap before starting pi:
@@ -148,7 +148,7 @@ Enable any of the optional metrics through `/bar` or the quick visibility comman
148
148
  ```
149
149
 
150
150
  ```text
151
- claude-opus-4.7 ❯ think:med ❯ 2.6% / 1.0M ❯ CH:84% ❯ ≈$0.123 ❯ ↑12k ↓3k
151
+ claude-opus-4.7 ❯ med ❯ 2.6% / 1.0M ❯ CH:84% ❯ ≈$0.123 ❯ ↑12k ↓3k
152
152
  ```
153
153
 
154
154
  | Segment | Meaning |
@@ -2,10 +2,10 @@
2
2
  * pi-bar — footer / statusline extension.
3
3
  *
4
4
  * Replaces pi's built-in footer with left-aligned segments:
5
- * <model> ❯ think:<level> ❯ <context% / window> ❯ [metrics] ❯ [cwd] ❯ <progress> ❯ <extensions>
5
+ * <model> ❯ <level> ❯ <context% / window> ❯ [metrics] ❯ [cwd] ❯ <progress> ❯ <extensions>
6
6
  *
7
7
  * Example:
8
- * claude-opus-4.7 ❯ think:med ❯ 2.6% / 1.0M ❯ Reviewing package structure
8
+ * claude-opus-4.7 ❯ med ❯ 2.6% / 1.0M ❯ Reviewing package structure
9
9
  *
10
10
  * Re-renders on model change, thinking-level change, status updates, and after
11
11
  * each assistant turn so context usage stays current.
@@ -2557,8 +2557,8 @@ export default function (pi: ExtensionAPI) {
2557
2557
  alternatives: showProvider ? [theme.fg("accent", formatModelName(ctx.model))] : [],
2558
2558
  },
2559
2559
  thinking: {
2560
- text: theme.fg(thinkingColor(thinkingLevel), `think:${thinkingLevel}`),
2561
- alternatives: [theme.fg(thinkingColor(thinkingLevel), `think:${shortThinking}`)],
2560
+ text: theme.fg(thinkingColor(thinkingLevel), thinkingLevel),
2561
+ alternatives: [theme.fg(thinkingColor(thinkingLevel), shortThinking)],
2562
2562
  },
2563
2563
  context: {
2564
2564
  text: theme.fg(contextSegmentColor, contextText),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-bar",
3
- "version": "0.3.45",
3
+ "version": "0.3.46",
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": [