@herbertgao/pi-extensions 2026.10.8 → 2026.10.10

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.
Files changed (68) hide show
  1. package/README.md +4 -3
  2. package/THIRD_PARTY_NOTICES.md +0 -26
  3. package/node_modules/@dietrichgebert/ponytail/.qoder-plugin/plugin.json +1 -1
  4. package/node_modules/@dietrichgebert/ponytail/README.md +16 -0
  5. package/node_modules/@dietrichgebert/ponytail/hooks/band/board.ts +560 -0
  6. package/node_modules/@dietrichgebert/ponytail/hooks/band/logo.ts +3 -0
  7. package/node_modules/@dietrichgebert/ponytail/hooks/band/metrics.ts +317 -0
  8. package/node_modules/@dietrichgebert/ponytail/hooks/band/register.tsx +472 -0
  9. package/node_modules/@dietrichgebert/ponytail/hooks/band/types.d.ts +35 -0
  10. package/node_modules/@dietrichgebert/ponytail/hooks/claude-band.json +6 -0
  11. package/node_modules/@dietrichgebert/ponytail/hooks/ponytail-band-import.js +274 -0
  12. package/node_modules/@dietrichgebert/ponytail/hooks/ponytail-mode-tracker.js +43 -5
  13. package/node_modules/@dietrichgebert/ponytail/package.json +1 -1
  14. package/node_modules/@dietrichgebert/ponytail/skills/ponytail/SKILL.md +1 -1
  15. package/node_modules/@dietrichgebert/ponytail/skills/ponytail-debt/SKILL.md +1 -2
  16. package/node_modules/@dietrichgebert/ponytail/skills/ponytail-gain/SKILL.md +0 -1
  17. package/node_modules/@dietrichgebert/ponytail/skills/ponytail-help/SKILL.md +6 -0
  18. package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +7 -5
  19. package/node_modules/@herbertgao/pi-cc-extensions/README.md +3 -1
  20. package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/config.ts +5 -0
  21. package/node_modules/@herbertgao/pi-cc-extensions/extensions/config/panel.ts +11 -0
  22. package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/token-rate.ts +21 -5
  23. package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/shell/working-message.ts +23 -4
  24. package/node_modules/@herbertgao/pi-cc-extensions/extensions/index.ts +1 -1
  25. package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/markdown-enhance.ts +4 -128
  26. package/node_modules/@herbertgao/pi-cc-extensions/package.json +4 -4
  27. package/package.json +3 -8
  28. package/node_modules/pi-multi-account/CHANGELOG.md +0 -1264
  29. package/node_modules/pi-multi-account/CONTRIBUTING.md +0 -61
  30. package/node_modules/pi-multi-account/LICENSE +0 -21
  31. package/node_modules/pi-multi-account/README.md +0 -277
  32. package/node_modules/pi-multi-account/SECURITY.md +0 -27
  33. package/node_modules/pi-multi-account/auth-file-transaction.ts +0 -56
  34. package/node_modules/pi-multi-account/child-usability.ts +0 -233
  35. package/node_modules/pi-multi-account/compaction-summary.ts +0 -32
  36. package/node_modules/pi-multi-account/completion-route-planner.ts +0 -224
  37. package/node_modules/pi-multi-account/config-file-transaction.ts +0 -42
  38. package/node_modules/pi-multi-account/context-guard.ts +0 -420
  39. package/node_modules/pi-multi-account/cursor/LICENSE +0 -21
  40. package/node_modules/pi-multi-account/cursor/NOTICE +0 -2
  41. package/node_modules/pi-multi-account/cursor/auth.ts +0 -165
  42. package/node_modules/pi-multi-account/cursor/bridge-handle.ts +0 -155
  43. package/node_modules/pi-multi-account/cursor/conversation-registry.ts +0 -104
  44. package/node_modules/pi-multi-account/cursor/cursor-models-raw.json +0 -611
  45. package/node_modules/pi-multi-account/cursor/cursor-shared.ts +0 -192
  46. package/node_modules/pi-multi-account/cursor/h2-bridge.mjs +0 -175
  47. package/node_modules/pi-multi-account/cursor/index.ts +0 -572
  48. package/node_modules/pi-multi-account/cursor/message-parsing.ts +0 -323
  49. package/node_modules/pi-multi-account/cursor/prompt-usage.ts +0 -53
  50. package/node_modules/pi-multi-account/cursor/proto/agent_pb.ts +0 -15294
  51. package/node_modules/pi-multi-account/cursor/proxy.ts +0 -2510
  52. package/node_modules/pi-multi-account/cursor/session-lifecycle.ts +0 -40
  53. package/node_modules/pi-multi-account/cursor/sse-keepalive.ts +0 -24
  54. package/node_modules/pi-multi-account/cursor/stream-lifecycle.ts +0 -193
  55. package/node_modules/pi-multi-account/cursor/upstream-watchdog.ts +0 -88
  56. package/node_modules/pi-multi-account/cursor-bridge.ts +0 -240
  57. package/node_modules/pi-multi-account/cursor-model-name.ts +0 -12
  58. package/node_modules/pi-multi-account/index.ts +0 -12340
  59. package/node_modules/pi-multi-account/model-catalog.ts +0 -354
  60. package/node_modules/pi-multi-account/model-pins.ts +0 -36
  61. package/node_modules/pi-multi-account/package.json +0 -104
  62. package/node_modules/pi-multi-account/pi-contract.ts +0 -281
  63. package/node_modules/pi-multi-account/provider-payload-stream.ts +0 -52
  64. package/node_modules/pi-multi-account/provider-priority.ts +0 -189
  65. package/node_modules/pi-multi-account/slot-proxy-auth.ts +0 -177
  66. package/node_modules/pi-multi-account/slot-proxy.ts +0 -366
  67. package/node_modules/pi-multi-account/state-file-transaction.ts +0 -67
  68. package/node_modules/pi-multi-account/usage.ts +0 -1128
package/README.md CHANGED
@@ -22,7 +22,7 @@ The package bundles 5 active `@herbertgao/*` child packages—`pi-agency`, `pi-b
22
22
 
23
23
  - `pi-antigravity@0.10.0`
24
24
  - `pi-provider-qoder@0.6.1`
25
- - `@dietrichgebert/ponytail@5.2.0`
25
+ - `@dietrichgebert/ponytail@5.3.2`
26
26
  - `@juicesharp/rpiv-ask-user-question@2.13.8`
27
27
  - `@narumitw/pi-btw@0.61.1`
28
28
  - `@narumitw/pi-caffeinate@0.49.11`
@@ -35,14 +35,15 @@ The package bundles 5 active `@herbertgao/*` child packages—`pi-agency`, `pi-b
35
35
  - `@tifan/pi-recap@0.4.8`
36
36
  - `@tifan/pi-rename@0.6.0`
37
37
  - `pi-typesafe@0.10.0`
38
- - `pi-multi-account@1.24.0`
39
38
  - `pi-next-cue@1.0.7`
40
39
  - `pi-lens@4.4.3`
41
40
  - `pi-web-access@0.41.0`
42
41
 
43
42
  Pi loads their extensions and skills through `node_modules/` paths inside one package root. The upstream companions are pinned and bundled, not forked or renamed.
44
43
 
45
- The locally customized CC and SoL-Pi packages now follow complete upstream baselines `pi-cc-extensions@1.0.4` and SoL-Pi main `e1a586af`, with local behavior replayed on top. Action Fusion and ccstyle write rich diffs coexist without disabling either feature. All four SoL-Pi features remain opt-in; its new non-persistent-session evidence archives remain on disk for consumers and require host or caller cleanup.
44
+ The locally customized CC and SoL-Pi packages now follow complete upstream baselines `pi-cc-extensions@1.0.7` and SoL-Pi main `e1a586af`, with local behavior replayed on top. Action Fusion and ccstyle write rich diffs coexist without disabling either feature. All four SoL-Pi features remain opt-in; its new non-persistent-session evidence archives remain on disk for consumers and require host or caller cleanup.
45
+
46
+ Ponytail `5.3.2` updates the Pi skill guidance, including how to turn it off. Its Pi extension entry is unchanged; the new Claude Code band/board hooks are not registered by this aggregate.
46
47
 
47
48
  ### Agency Agents
48
49
 
@@ -135,32 +135,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
135
135
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
136
136
  THE SOFTWARE.
137
137
 
138
- ## `pi-multi-account`
139
-
140
- The aggregate bundles the MIT-licensed [`pi-multi-account`](https://github.com/Sarrius/pi-multi-account) package version 1.24.0 under its original attribution:
141
-
142
- MIT License
143
-
144
- Copyright (c) 2026 pi-multi-account contributors
145
-
146
- Permission is hereby granted, free of charge, to any person obtaining a copy
147
- of this software and associated documentation files (the "Software"), to deal
148
- in the Software without restriction, including without limitation the rights
149
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
150
- copies of the Software, and to permit persons to whom the Software is
151
- furnished to do so, subject to the following conditions:
152
-
153
- The above copyright notice and this permission notice shall be included in
154
- all copies or substantial portions of the Software.
155
-
156
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
157
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
158
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
159
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
160
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
161
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
162
- THE SOFTWARE.
163
-
164
138
  ## `pi-next-cue`
165
139
 
166
140
  The aggregate bundles [`pi-next-cue`](https://github.com/ouzhenkun/pi-next-cue) version 1.0.7 under its original MIT license. The imported npm package corresponds to upstream commit [`015a595c6751d50889b3a6937ba4816dfe92adc1`](https://github.com/ouzhenkun/pi-next-cue/commit/015a595c6751d50889b3a6937ba4816dfe92adc1).
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ponytail",
3
- "version": "5.2.0",
3
+ "version": "5.3.2",
4
4
  "description": "Lazy senior dev mode. Forces the simplest, shortest solution that actually works: YAGNI, stdlib first, no unrequested abstractions.",
5
5
  "author": {
6
6
  "name": "Dietrich Gebert",
@@ -109,6 +109,20 @@ More survivors in [examples/](examples/).
109
109
 
110
110
  `/ponytail-audit` runs the same checks on the whole repo. It maps the code first: entry points, how data moves, what load the project expects. Then it ranks what it finds and tells you what to fix first. The old audit only listed what to delete.
111
111
 
112
+ ## New in 5.3: the band
113
+
114
+ <p align="center">
115
+ <img src="assets/band/band.png" width="880" alt="The ponytail band in Claude Code, above the prompt. Detail mode: cost $23.80, last turn $1.14, average $0.72 per turn; 56.7M tokens, 168k output, 33 turns; agent time 52m 14s; reuse 71%, 5 used, 2 new; tests passed after the last change. Compact mode shows the same in one line.">
116
+ </p>
117
+
118
+ In Claude Code, ponytail now shows a band above the prompt: what the current task costs, how many tokens and how much agent time it used, how often it reused existing code instead of writing new code, and whether the tests passed after the last change. Its buttons switch the level, run `/ponytail-review` or `/ponytail-audit`, copy the task as Markdown, and fold the band into one line. Don't want it? `/ponytail band` hides it, the same command brings it back. Needs Claude Code 2.1.290 or later, in the terminal or the desktop app. It does not show in the VS Code chat panel, cloud sessions or `claude -p`.
119
+
120
+ <p align="center">
121
+ <img src="assets/band/board.png" width="880" alt="The ponytail board, a local page: 61 sessions, 20h 13m agent time, $285.30 and 492.5M tokens in the last 30 days; agent time per project over time; the latest sessions with their tests; active days and streak.">
122
+ </p>
123
+
124
+ **Board** opens a local page with every task across your projects: cost, agent time and tokens over time, every session with its tests, and the days you worked. By default, everything stays on your machine, in `~/.config/ponytail/band/`. `/ponytail band import` adds your past Claude Code sessions to it, with their cost, agent time and tokens.
125
+
112
126
  ## How it works
113
127
 
114
128
  <p align="center">
@@ -158,6 +172,8 @@ Only install ponytail from `DietrichGebert/ponytail` on GitHub or `@dietrichgebe
158
172
  | Command | What it does |
159
173
  |---------|--------------|
160
174
  | `/ponytail [lite \| full \| ultra \| off]` | Set the intensity, or turn it off. No argument switches ponytail on at the default level if it is off, and otherwise reports the current level. |
175
+ | `/ponytail band [on \| off]` | Claude Code only: hide or show the band above the prompt. No argument switches it. The level stays. |
176
+ | `/ponytail band import` | Claude Code only: add your past Claude Code sessions to the board, with their cost, agent time and tokens. |
161
177
  | `/ponytail-review` | Review the current diff like the senior dev who gets paged when it breaks: bugs, security, real load, risky code without a test, slow paths, and what to cut. Each finding says what the code does, what goes wrong, how to fix it, and what happens if you don't. Name a target in plain words to narrow or widen it: `uncommitted`, `staged`, `branch`, or a PR link. |
162
178
  | `/ponytail-audit` | The same check for the whole repo, most important first. |
163
179
  | `/ponytail-debt` | Harvest the `shortcut:` comments you've deferred into a ledger, so "later" doesn't become "never". |