@hank-warren/pi-statusline 0.2.2 → 0.2.4

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/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # @hank-warren/pi-statusline
2
+
3
+ ## 0.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 6e3dc47: Raise the neon cache-wave celebration threshold from a 90% to a 96% prompt-cache hit rate, so the badge marks genuinely exceptional responses.
8
+
9
+ ## 0.2.3
10
+
11
+ ### Patch Changes
12
+
13
+ - cf12677: ship CHANGELOG.md in the published tarball
package/README.md CHANGED
@@ -31,7 +31,7 @@ Polling is host-wide, not per-session. Usage percentages describe the account ra
31
31
 
32
32
  ## Neon cache-wave celebration
33
33
 
34
- Whenever one assistant response reaches a prompt-cache hit rate of at least 90%, a temporary module is appended after context usage for about two seconds:
34
+ Whenever one assistant response reaches a prompt-cache hit rate of at least 96%, a temporary module is appended after context usage for about two seconds:
35
35
 
36
36
  ```text
37
37
  gpt-5.6-sol | pi-extensions:main | 135k/272k | ⚡96%·CACHE·HIT
@@ -45,7 +45,7 @@ The rate is evaluated per provider response as:
45
45
  cacheRead / (input + cacheRead + cacheWrite)
46
46
  ```
47
47
 
48
- Output and reasoning tokens are excluded because they are not prompt-cache candidates. A zero-token denominator does not trigger the effect, exactly 90% does, and only the displayed percentage is rounded. Another qualifying response during the animation restarts it from frame zero with the new percentage. After expiry, the original statusline is restored exactly.
48
+ Output and reasoning tokens are excluded because they are not prompt-cache candidates. A zero-token denominator does not trigger the effect, exactly 96% does, and only the displayed percentage is rounded. Another qualifying response during the animation restarts it from frame zero with the new percentage. After expiry, the original statusline is restored exactly.
49
49
 
50
50
  ## Worktree/PR tracking behavior
51
51
 
@@ -1,4 +1,4 @@
1
- export const CACHE_HIT_THRESHOLD = 0.9;
1
+ export const CACHE_HIT_THRESHOLD = 0.96;
2
2
  export const CACHE_CELEBRATION_FRAME_INTERVAL_MS = 60;
3
3
  export const CACHE_CELEBRATION_DURATION_MS = 2_000;
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hank-warren/pi-statusline",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Compact Pi footer statusline with Git/worktree context, token usage, and neon celebrations for exceptional prompt-cache hits.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -37,7 +37,8 @@
37
37
  "usage.ts",
38
38
  "worktrees.ts",
39
39
  "README.md",
40
- "LICENSE"
40
+ "LICENSE",
41
+ "CHANGELOG.md"
41
42
  ],
42
43
  "peerDependencies": {
43
44
  "@earendil-works/pi-coding-agent": "*",