pi-bar 0.3.21 → 0.3.22

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
@@ -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
- ![pi-bar screenshot, three rows showing green, yellow, and red context usage](https://cdn.jsdelivr.net/npm/pi-bar@0.3.21/assets/screenshot.png)
12
+ ![pi-bar screenshot, three rows showing green, yellow, and red context usage](https://cdn.jsdelivr.net/npm/pi-bar@0.3.22/assets/screenshot.png)
13
13
 
14
14
  ## Why use it?
15
15
 
@@ -911,7 +911,7 @@ function formatRawActivity(activity: TldrActivity): string {
911
911
  }
912
912
 
913
913
  const LEAKED_PREFIX_PATTERN =
914
- /^\s*(?:[-*•]\s*)?(?:(?:through\s+activity|activity|checkpoint|tldr|summary)\s*[#:\-—–]?\s*\d*[:\.\-—–]?\s*)+/i;
914
+ /^\s*(?:[-*•]\s*)?(?:(?:through\s+activity|activity|checkpoint)\s+\d+\s*[:.\-—–]\s*|(?:tldr|summary)\s*[:.\-—–]\s*)+/i;
915
915
 
916
916
  const LEADING_PUNCT_PATTERN = /^[\s\-—–•*:#.,;]+/;
917
917
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-bar",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "description": "Pi footer/statusline showing active model, thinking level, context pressure, 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.21/assets/screenshot.png"
54
+ "image": "https://cdn.jsdelivr.net/npm/pi-bar@0.3.22/assets/screenshot.png"
55
55
  }
56
56
  }