repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

release: v0.0.3

1f90ed94df9d6c7da2e4ac8f364c8eb6919d1e53

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (60)

CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## Unreleased
6 -- Rename `autoresearch` extension package/slug to `tune` and slash command to `/tune`
6 +- Rename `autoresearch` extension package/slug to `tune` and slash command to
7 + `/tune`
7 8 - Move tune session state to `.pi/tune/`
8 -- Restyle tune dashboard with the Nugu diff-review palette, theme selector, cards, side drawer, chart, and live session.jsonl refresh
9 +- Restyle tune dashboard with the Nugu diff-review palette, theme selector,
10 + cards, side drawer, chart, and live session.jsonl refresh
9 11 - Add jj-native tune keep/discard flow and exclusive tune repo lock
10 -- Render clamped `run_experiment` timeout values consistently with execution semantics
12 +- Render clamped `run_experiment` timeout values consistently with execution
13 + semantics
11 14 - Show captured checks output when checks time out
12 15 - Keep exported tune dashboard server routes pointed at the latest export files
13 -- Make `/tune clear` delete only `session.jsonl`, reset last run duration, and migrate legacy tune state before clearing
16 +- Make `/tune clear` delete only `session.jsonl`, reset last run duration, and
17 + migrate legacy tune state before clearing
14 18 - Migrate legacy tune state before tune start and dashboard export flows
15 19 - Add `wiki` as the research and persistent knowledge-base skill
16 20 - Make `research` a compatibility alias for the `wiki` workflow
17 -- Route new research evidence to `~/Notes/Wiki/raw-sources/` and treat `~/.pi/research/` as legacy cache
18 -- Expand `wiki` ingest for web pages, repos, archives, files, directories, pasted text, and legacy research migration
19 -- Add Linux and Linux userland skills with safe read-only diagnosis, XDG-aware user config guidance, and root-escalation boundaries
21 +- Route new research evidence to `~/Notes/Wiki/raw-sources/` and treat
22 + `~/.pi/research/` as legacy cache
23 +- Expand `wiki` ingest for web pages, repos, archives, files, directories,
24 + pasted text, and legacy research migration
25 +- Add Linux and Linux userland skills with safe read-only diagnosis, XDG-aware
26 + user config guidance, and root-escalation boundaries
20 27 - Add the `wtf` feedback prompt for capturing agent behavior surprises
21 28 - Add root live terminal and browser test prompts split from extension testing
22 29 - Tighten `checkhealth` trigger wording and remove `roadmap` as a trigger
23 -- Trim and harden the tmux skill with pane-ID tracking, readiness gates, safe input helpers, polluted-pane quarantine, and bounded stop guidance
30 +- Trim and harden the tmux skill with pane-ID tracking, readiness gates, safe
31 + input helpers, polluted-pane quarantine, and bounded stop guidance
24 32 - Remove obsolete tmux agent workflow and tooling migration planning notes
25 -- Remove stale provider test prompt templates that hardcoded an old `/tmp` findings file
33 +- Remove stale provider test prompt templates that hardcoded an old `/tmp`
34 + findings file
26 35 - Stop exporting prompt templates from the goal extension package
27 -- Convert brainstorming visual companion server and launchers from CommonJS/shell scripts to cross-platform ESM `.mjs` Node scripts
28 -- Add deterministic brainstorming companion commands for start/stop, choice screens, custom screens, waiting screens, event listing/clearing, waiting for browser choices, and per-screen event reset
29 -- Add brainstorming `open-choice` and `open-screen` for first visual choices that open the browser and wait for the click in one command
30 -- Reject empty brainstorming visual companion starts and direct `start-server.mjs` CLI use
36 +- Convert brainstorming visual companion server and launchers from
37 + CommonJS/shell scripts to cross-platform ESM `.mjs` Node scripts
38 +- Add deterministic brainstorming companion commands for start/stop, choice
39 + screens, custom screens, waiting screens, event listing/clearing, waiting for
40 + browser choices, and per-screen event reset
41 +- Add brainstorming `open-choice` and `open-screen` for first visual choices
42 + that open the browser and wait for the click in one command
43 +- Reject empty brainstorming visual companion starts and direct
44 + `start-server.mjs` CLI use
31 45 - Cap brainstorming visual wait timeouts at 30000ms
32 -- Add brainstorming `ask-choice` to write a fresh choice screen, clear old events, wait for browser click, and return the selected event without terminal reply
33 -- Add brainstorming `ask-screen --html-file` for custom clickable mockups that wait for browser choice without shell heredocs or terminal replies
34 -- Add `write-screen --html-file` and `companion.mjs --help` for deterministic brainstorming visual workflows
35 -- Fix brainstorming visual event clearing to avoid delayed server-side races after new screens
36 -- Add brainstorming companion lifecycle cleanup with owner PID tracking, global server registry, orphan cleanup, and browser disconnect timeout
37 -- Shorten the brainstorming browser-visuals consent prompt to a terse opt-in question
38 -- Make brainstorming visual mode sticky after the first browser mockup and require browser mockups for follow-up UI shape, placement, control presentation, composer, and terminal behavior choices
39 -- Point brainstorming visual companion guide references at the explicit skill path
40 -- Add the `web-ui` skill for standalone HTML/CSS UI, visual mockups, dashboards, landing pages, and no-build tools with minimal vanilla JS and no default frameworks
41 -- Harden `web-ui` guidance to require complete standalone HTML documents, representative one-screen first passes, root CSS tokens, mandatory `:focus-visible`, and bounded static slices for complex viewers, traces, and graphs
42 -- Route custom brainstorming HTML/CSS mockups through `web-ui` guidance when available
43 -- Add brainstorming visual companion Node test coverage for the human-agent browser workflow, reloads, events, assets, screen rendering, lifecycle cleanup, help output, file-backed screens, deterministic open commands, timeout caps, and `npm run test:brainstorming`
44 -- Add `mise run clean` for generated caches and scratch artifacts, clearing `.demo/` contents while keeping the directory and removing `node_modules`, `__pycache__`, `.ruff_cache`, and `extensions/diff-review/static/`
46 +- Add brainstorming `ask-choice` to write a fresh choice screen, clear old
47 + events, wait for browser click, and return the selected event without terminal
48 + reply
49 +- Add brainstorming `ask-screen --html-file` for custom clickable mockups that
50 + wait for browser choice without shell heredocs or terminal replies
51 +- Add `write-screen --html-file` and `companion.mjs --help` for deterministic
52 + brainstorming visual workflows
53 +- Fix brainstorming visual event clearing to avoid delayed server-side races
54 + after new screens
55 +- Add brainstorming companion lifecycle cleanup with owner PID tracking, global
56 + server registry, orphan cleanup, and browser disconnect timeout
57 +- Shorten the brainstorming browser-visuals consent prompt to a terse opt-in
58 + question
59 +- Make brainstorming visual mode sticky after the first browser mockup and
60 + require browser mockups for follow-up UI shape, placement, control
61 + presentation, composer, and terminal behavior choices
62 +- Point brainstorming visual companion guide references at the explicit skill
63 + path
64 +- Add the `web-ui` skill for standalone HTML/CSS UI, visual mockups, dashboards,
65 + landing pages, and no-build tools with minimal vanilla JS and no default
66 + frameworks
67 +- Harden `web-ui` guidance to require complete standalone HTML documents,
68 + representative one-screen first passes, root CSS tokens, mandatory
69 + `:focus-visible`, and bounded static slices for complex viewers, traces, and
70 + graphs
71 +- Route custom brainstorming HTML/CSS mockups through `web-ui` guidance when
72 + available
73 +- Add brainstorming visual companion Node test coverage for the human-agent
74 + browser workflow, reloads, events, assets, screen rendering, lifecycle
75 + cleanup, help output, file-backed screens, deterministic open commands,
76 + timeout caps, and `npm run test:brainstorming`
77 +- Add `mise run clean` for generated caches and scratch artifacts, clearing
78 + `.demo/` contents while keeping the directory and removing `node_modules`,
79 + `__pycache__`, `.ruff_cache`, and `extensions/diff-review/static/`
46 81 ## 0.0.3
48 -- Bump package.json from 0.0.2 to 0.0.3
49 -- Fix Pulse stale session crashes by persisting state through the fresh command context
50 -- Guard Pulse timers, config watchers, and async checks with session generation tickets
51 -- Reset Pulse checking state on session start and shutdown
83 +- Rename autoresearch to tune; add jj backend, state migration, timeout clamps
84 +- Rework diff-review to SSR reviews; add headless Vitest coverage
85 +- Add sparse safe clones, capped web fetch cache, and goal planner dossier
86 +- Rework q extraction; add benchmark and 112 parser tests
87 +- Retire superpowers; move workspace to npm, Vitest, dprint, Biome, tsc, mise
53 89 ## 0.0.2

README.md

Modified
1 1 # pi-ext
3 -Personal Pi extension pack:
4 -tools, footers, shell bridges, workflow hacks, small demons.
3 +Personal Pi extension pack: tools, footers, shell bridges, workflow hacks, small
4 +demons.
6 6 ## Install
9 9 Never `pi ext install`.
10 10 That corpse stays buried.
12 -Pinned version:
12 +All extensions, pinned to repo tag:
14 14 ```bash
15 15 pi install git:github.com/bugabinga/pi-ext@v0.0.3
54 54 Filter rules:
56 -- `extensions`:
57 - load only matching extension entrypoints.
58 -- `skills`:
59 - load only matching exported skills; `[]` loads none.
60 -- `prompts`:
61 - load only matching prompt templates; `[]` loads none.
62 -- `themes`:
63 - load only matching themes; `[]` loads none.
56 +- `extensions`: load only matching extension entrypoints.
57 +- `skills`: load only matching exported skills; `[]` loads none.
58 +- `prompts`: load only matching prompt templates; `[]` loads none.
59 +- `themes`: load only matching themes; `[]` loads none.
64 60 - Omit a key to load all resources of that type exported by the package
65 61 manifest.
66 62 - Values are package-root paths/globs.
67 - `!pattern` excludes; `+path` and `-path` force exact include/exclude.
68 -- Filters narrow the root manifest.
69 - They do not resurrect junk outside it.
63 +- `!pattern` excludes.
64 +- `+path` and `-path` force exact include/exclude.
65 +- Filters narrow the root manifest. They do not resurrect junk outside it.
71 67 ## Extensions
73 -| Extension slug | Short explanation | README |
74 -| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
75 -| `angel` | Structured advisor and command guardrail for configured Pi model pairs. | [README](extensions/angel/README.md) |
76 -| `tune` | Benchmark-guided experiment loop with a Nugu-themed browser dashboard. | [README](extensions/tune/README.md) |
77 -| `builtin-tools` | Toggle Pi builtin file-search tools. | [README](extensions/builtin-tools/README.md) |
78 -| `context-size` | Context-window usage telemetry for Pi. | [README](extensions/context-size/README.md) |
79 -| `cost` | Pi token and spend telemetry. | [README](extensions/cost/README.md) |
80 -| `ctx` | Compacts oversized Pi `read` results before they hit context. | [README](extensions/ctx/README.md) |
81 -| `cwd` | Switch Pi cwd without leaving current session. | [README](extensions/cwd/README.md) |
82 -| `devil` | Structured `/devil` stress test against a devil's advocate and defender. | [README](extensions/devil/README.md) |
83 -| `diff-review` | Browser UI for reviewing git diffs and sending findings back to Pi. | [README](extensions/diff-review/README.md) |
84 -| `fast` | OpenAI Codex priority service tier for Pi. | [README](extensions/fast/README.md) |
85 -| `footer` | Shared stable footer renderer for Pi. | [README](extensions/footer/README.md) |
86 -| `git-safe` | Hardened git clone tool for Pi. | [README](extensions/git-safe/README.md) |
87 -| `goal` | Persistent standing-goal loop for Pi sessions. | [README](extensions/goal/README.md) |
88 -| `leaks` | Provider-bound secret redaction for Pi. | [README](extensions/leaks/README.md) |
89 -| `llmiterate` | Manual editor-save bridge from comment markers to background Pi edits. | [README](extensions/llmiterate/README.md) |
90 -| `model-info` | Pi model and thinking telemetry. | [README](extensions/model-info/README.md) |
91 -| `neko` | Tiny animated editor cat for Pi. Pointless. Correct. | [README](extensions/neko/README.md) |
92 -| `nu-bang` | Nushell bang-command bridge for Pi. | [README](extensions/nu-bang/README.md) |
93 -| `prompt-autopsy` | System-prompt autopsy command for Pi. | [README](extensions/prompt-autopsy/README.md) |
94 -| `pulse` | Living documentation sync for Pi. | [README](extensions/pulse/README.md) |
95 -| `q` | Follow-up question fork helper for Pi. | [README](extensions/q/README.md) |
96 -| `quota` | Subscription quota dashboard for Pi providers. | [README](extensions/quota/README.md) |
97 -| `runtime` | Runtime detection telemetry for Pi footer/status. | [README](extensions/runtime/README.md) |
98 -| `session-rename` | Automatic short session names for Pi. | [README](extensions/session-rename/README.md) |
99 -| `ssh-tools` | SSH mode for Pi with remote read/write/edit/bash tools. | [README](extensions/ssh-tools/README.md) |
100 -| `super` | Task automation via Pi session tree branches (`push-task`, `/start-task`, `/finish-task`, `/abort-task`, `/discard-task`, `/auto`). | [README](extensions/super/README.md) |
101 -| `terminal-notifier` | Terminal notification bridge for Pi completion and extension events. | [README](extensions/terminal-notifier/README.md) |
102 -| `terminal-signals` | Terminal lifecycle signals for Pi. | [README](extensions/terminal-signals/README.md) |
103 -| `terse` | Terse response protocol injector for Pi. | [README](extensions/terse/README.md) |
104 -| `tldr` | Live TLDR widget above Pi editor. | [README](extensions/tldr/README.md) |
105 -| `tps` | Tokens-per-second footer segment for Pi. | [README](extensions/tps/README.md) |
106 -| `usage` | Local usage statistics dashboard for Pi. | [README](extensions/usage/README.md) |
107 -| `vcs-status` | Pi workspace VCS telemetry for Git and Jujutsu. | [README](extensions/vcs-status/README.md) |
108 -| `web` | Web fetch, search, and image-analysis tools for Pi. | [README](extensions/web/README.md) |
69 +| Extension slug | Short explanation | README |
70 +| ------------------- | ----------------------------------------------------------------------- | ------------------------------------------------ |
71 +| `angel` | Structured advisor and command guardrail for configured Pi model pairs. | [README](extensions/angel/README.md) |
72 +| `builtin-tools` | Toggle Pi builtin file-search tools. | [README](extensions/builtin-tools/README.md) |
73 +| `context-size` | Context-window usage telemetry for Pi. | [README](extensions/context-size/README.md) |
74 +| `cost` | Token and spend telemetry for Pi. | [README](extensions/cost/README.md) |
75 +| `ctx` | Compacts oversized Pi `read` results before they hit context. | [README](extensions/ctx/README.md) |
76 +| `cwd` | Switch Pi cwd without leaving the session. | [README](extensions/cwd/README.md) |
77 +| `devil` | Structured `/devil` command for stress-testing an idea. | [README](extensions/devil/README.md) |
78 +| `diff-review` | Browser-based git diff review bridge for Pi. | [README](extensions/diff-review/README.md) |
79 +| `fast` | OpenAI Codex priority service tier for Pi. | [README](extensions/fast/README.md) |
80 +| `footer` | Shared stable footer renderer for Pi. | [README](extensions/footer/README.md) |
81 +| `git-safe` | Hardened git clone tool for Pi. | [README](extensions/git-safe/README.md) |
82 +| `goal` | Persistent standing-goal loop for Pi sessions. | [README](extensions/goal/README.md) |
83 +| `leaks` | Provider-bound secret redaction for Pi. | [README](extensions/leaks/README.md) |
84 +| `llmiterate` | Manual editor-save bridge from comment markers to background Pi edits. | [README](extensions/llmiterate/README.md) |
85 +| `model-info` | Model and thinking telemetry for Pi. | [README](extensions/model-info/README.md) |
86 +| `neko` | Tiny animated editor cat for Pi. Pointless. Correct. | [README](extensions/neko/README.md) |
87 +| `nu-bang` | Nushell bang-command bridge for Pi. | [README](extensions/nu-bang/README.md) |
88 +| `prompt-autopsy` | System-prompt autopsy command for Pi. | [README](extensions/prompt-autopsy/README.md) |
89 +| `pulse` | Living documentation sync for Pi. | [README](extensions/pulse/README.md) |
90 +| `q` | Follow-up question fork helper for Pi. | [README](extensions/q/README.md) |
91 +| `quota` | Subscription quota dashboard for Pi providers. | [README](extensions/quota/README.md) |
92 +| `runtime` | Runtime detection telemetry for Pi footer/status. | [README](extensions/runtime/README.md) |
93 +| `session-rename` | Automatic short session names for Pi. | [README](extensions/session-rename/README.md) |
94 +| `ssh-tools` | SSH mode for Pi with remote read/write/edit/bash tools. | [README](extensions/ssh-tools/README.md) |
95 +| `super` | Task branches and curated Super skills for Pi. | [README](extensions/super/README.md) |
96 +| `terminal-notifier` | Terminal notification bridge for Pi completion and extension events. | [README](extensions/terminal-notifier/README.md) |
97 +| `terminal-signals` | Terminal lifecycle signals for Pi. | [README](extensions/terminal-signals/README.md) |
98 +| `terse` | Terse response protocol injector for Pi. | [README](extensions/terse/README.md) |
99 +| `tldr` | Live TLDR widget above Pi editor. | [README](extensions/tldr/README.md) |
100 +| `tps` | Tokens-per-second footer segment for Pi. | [README](extensions/tps/README.md) |
101 +| `tune` | Autonomous experiment loops for tuning code with benchmarks. | [README](extensions/tune/README.md) |
102 +| `usage` | Local usage statistics dashboard for Pi. | [README](extensions/usage/README.md) |
103 +| `vcs-status` | Pi workspace VCS telemetry for Git and Jujutsu. | [README](extensions/vcs-status/README.md) |
104 +| `web` | Web fetch, search, site-map, and image-analysis tools for Pi. | [README](extensions/web/README.md) |
110 106 ## Prompts
112 108 Global prompt templates live in `~/.pi/agent/prompts/*.md`.
113 109 Invoke with `/name` in the editor.
115 -| Name | Description |
116 -| ----- | ---------------------------------------------------------------------------------------------------------------------- |
117 -| `wtf` | Agent behavior feedback — surprise, confusion, or annoyance. Acknowledge → fix → prevent, no defensive justifications. |
111 +| Name | Description |
112 +| ----- | -------------------------------------------------------------------------------------------------------------------- |
113 +| `wtf` | Agent behavior feedback: surprise, confusion, or annoyance. Acknowledge, fix, prevent. No defensive little speeches. |
119 115 ## Resources
121 117 `skills/`, `prompts/`, and `themes/` are exported by the root Pi package
122 118 manifest.
124 -Install package → Pi can load those resources unless filtered out in settings.
120 +Install the package and Pi can load those resources unless filtered out in
121 +settings.
126 -Root manifest also exports extension entrypoints through
127 -`extensions/*/index.ts`.
123 +Root manifest also exports extension entrypoints through:
129 -## Development
131 -Install pinned repo tooling with:
133 -```bash
134 -mise install
125 +```json
127 + "extensions": ["extensions/*/index.ts"],
128 + "skills": ["skills"],
129 + "prompts": ["prompts"],
130 + "themes": ["themes"]
137 -Project-managed tools include Bun, Node, TypeScript, formatters/linters,
138 -Nushell, mdslw, asciinema, and agg.
139 -Extension runtime tools stay out of scope for `mise.toml`.
141 -TypeScript is checked with:
143 -```bash
144 -bun run typecheck
145 -```
147 -That runs `tsc --noEmit` through `scripts/typecheck.sh`.
148 -Bun runs `.ts` by transpiling; it is not a type checker.
150 -## Release model
152 -Single repo version.
154 -Tag format:
156 -```text
157 -vX.Y.Z
158 -```
160 -Per-extension package versions are intentionally absent.
161 -One repo, one version.
162 -Less accounting.
163 -Fewer tiny coffins.
165 134 ## Development
167 136 Clone locally, install dependencies, then point Pi at the path:
188 -> **Note:** Git installs run `npm install --omit=dev`.
189 -> For local development, run `npm install` inside the repo first.
157 +Useful checks:
159 +```bash
160 +npm run typecheck
161 +npm test
162 +npm run lint
163 +npm run check
164 +```
166 +`npm run typecheck` runs:
168 +```bash
169 +tsc --noEmit
170 +```
172 +Git installs run `npm install --omit=dev`.
173 +For local development, run `npm install` inside the repo first.
175 +## Release model
177 +Single repo version.
179 +Tag format:
181 +```text
182 +vX.Y.Z
183 +```
185 +Per-extension package versions are intentionally absent.
186 +One repo, one version.
187 +Less accounting.
188 +Fewer tiny coffins.

extensions/angel/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Replace Bun test runner with Vitest across the workspace
7 -- Isolate extension harness environment in tests
8 -- Update extension guide and demo docs
9 -- Format Markdown and code fences with dprint
10 -- Tighten Biome lint rules and remove low-risk explicit any
6 +- Replace Bun test harness with Vitest workspace setup
7 +- Format markdown and code fences with dprint
8 +- Tighten lint rules; remove low-risk explicit `any` usage
9 +- Update extension guides and demos
12 11 ## 0.0.2

extensions/angel/README.md

Modified
138 138 1. Executor attempts selected dangerous `bash`:
139 139 `sudo`, `rm -rf`, `git push`, `npm publish`, `pnpm publish`, `bun publish`,
140 - recursive `chmod`/`chown`, `dd if=`/`dd of=`, `mkfs`, `curl|sh`, `curl|bash`,
141 - `wget|sh`, `wget|bash`, or fork bomb syntax.
140 + recursive `chmod`/`chown`, `dd if=`/`dd of=`, `mkfs`, `curl|sh`,
141 + `curl|bash`, `wget|sh`, `wget|bash`, or fork bomb syntax.
142 142 2. Angel blocks that exact command once.
143 143 3. Angel consults the advisor and returns formatted advice in the block reason.
144 144 4. Executor may retry the same command if still correct.

extensions/builtin-tools/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Test harness env isolated; Vitest replaces Bun test runner
7 -- Build tooling moved to mise with root Bun workspace
8 -- Docs and suite demos updated for extension guides
6 +- Move workspace tooling from Bun scripts to mise and Vitest
7 +- Fix harness tests for import.meta.dirname, deps, and Chai matchers
8 +- Format markdown docs and update extension guides and demos
9 +- Tighten Biome lint rules and fix builtin-tools violations
10 11 ## 0.0.2

extensions/context-size/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Switch workspace test runner from Bun to Vitest.
7 -- Add mise toolchain setup for builds.
8 -- Isolate extension harness env in tests.
9 -- Format extension guide and demo markdown.
6 +- Release @bugabinga/pi-ext-context-size 0.0.3
7 +- Resolve pi-ext conflict stack; retire superpowers references
8 +- Replace Bun test wiring with Vitest workspace tooling
9 +- Isolate extension harness env in tests
10 +- Tighten Biome lint rules; remove low-risk explicit any
11 12 ## 0.0.2

extensions/context-size/README.md

Modified
37 37 Shows current context-window usage as a token ratio plus a 10-cell bar.
39 39 If `@bugabinga/pi-ext-footer` is loaded, publishes a `context-size` footer
40 -segment in the `llm` zone.
40 +segment in the `llm` zone with order `1`.
41 41 Otherwise uses Pi status text with id `context-size`.
43 +The footer segment includes shortened variants:
45 +- bar plus percent
46 +- percent plus token ratio
43 48 Token counts are displayed in thousands, rounded.
45 50 Usage color:
49 54 - `≥ 85%`: error
50 55 - unknown percent: muted
57 +The bar uses `dim` when the text color is muted. Otherwise it uses the same
58 +color as the text.
52 60 No UI update runs when UI is unavailable.
54 62 Clears footer/status when context usage is unavailable.

extensions/cost/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Move extension tests from bun test to Vitest.
7 -- Add mise-managed tooling for local development.
8 -- Isolate extension harness env for stable test runs.
9 -- Format docs and update extension guide demos.
6 +- Resolve pi-ext conflict stack; retire superpowers.
7 +- Replace Bun test runner with Vitest workspace tooling.
8 +- Isolate extension harness env; fix import.meta.dirname and chai matchers.
9 +- Tighten Biome rules; replace low-risk explicit any usage.
11 11 ## 0.0.2

extensions/cost/README.md

Modified
21 21 Hooks:
23 23 - `session_start`:
24 - records UI availability, reads current-month session files, resets counters,
25 - publishes first snapshot when UI exists.
24 + reads current-month session files, resets counters, publishes first snapshot when UI exists.
26 25 - `agent_start`, `agent_end`, `tool_execution_end`:
27 26 refresh telemetry.
28 27 - `model_select`, `session_compact`:

extensions/ctx/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Vitest replaces bun for workspace tests
7 -- Tests isolate extension harness environment
8 -- Harness tests fix import.meta.dirname, Vitest deps, and Chai matchers
9 -- mise manages workspace tooling
10 -- ctx docs and demos reflect current extension guides
6 +- Switch workspace test runner from bun to vitest
7 +- Move build tooling to mise and add root bun workspace metadata
8 +- Fix harness tests for import.meta.dirname, Vitest deps, and Chai matchers
9 +- Isolate extension harness env in tests
10 +- Tighten Biome lint rules; drop explicit any and non-null assertions
12 12 ## 0.0.2

extensions/cwd/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Switch tests from bun to vitest; add vitest deps and chai matchers
7 -- Isolate extension harness env; fix import.meta.dirname in tests
8 -- Tighten Biome lint rules; fix cwd violations
9 -- Move repo tooling to mise and root bun workspace
6 +- Switch test runner from bun test to vitest across workspace
7 +- Isolate extension harness environment in tests
8 +- Fix harness tests for import.meta.dirname, Vitest deps, and Chai matchers
9 +- Tighten Biome lint rules and apply fixes
10 10 - Format cwd docs; update extension guides and demos
12 12 ## 0.0.2

extensions/devil/CHANGELOG.md

Modified
3 3 # Changelog
5 5 ## 0.0.3
7 7 - Fix win32 release readiness
8 -- Switch tests from Bun to Vitest
9 -- Isolate extension harness environment in tests
10 -- Tighten Biome lint; remove explicit any and non-null assertions
11 -- Format markdown; update extension guides and demos
8 +- Replace Bun tests with Vitest
9 +- Isolate extension harness env in tests
10 +- Tighten Biome lint; remove `any` and non-null assertions
13 12 ## 0.0.2

extensions/devil/README.md

Modified
13 13 Canonical names:
15 -- Slash command:
16 - `/devil <idea>`
17 -- Settings key:
18 - `devil`
19 -- Extension dir:
20 - `extensions/devil/`
21 -- Package:
22 - `@bugabinga/pi-ext-devil`
15 +- Slash command: `/devil <idea>`
16 +- Settings key: `devil`
17 +- Extension dir: `extensions/devil/`
18 +- Package: `@bugabinga/pi-ext-devil`
24 20 Commands:
29 25 Registered flags:
31 -- `--devil-rounds <n>` — override max debate rounds.
32 - Clamped to `1..5`.
27 +- `--devil-rounds <n>` — override max debate rounds. Clamped to `1..5`.
33 28 - `--devil-stop <consensus|blocking_found|max_rounds>` — override stopping
34 29 condition.

extensions/diff-review/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Replace browser mode with an SSR review pipeline.
7 -- Restore live reviews only from the diff-review command.
8 -- Harden diff collection.
9 -- Fix Win32 release packaging.
10 -- Move tests and formatting to npm, Vitest, dprint, and mise.
6 +- Replace browser mode with SSR diff review pipeline
7 +- Restore live reviews only from the diff-review command
8 +- Guard diff collection against missing or malformed inputs
9 +- Add headless e2e task and Vitest-safe opener guard
10 +- Fix Windows release packaging
12 12 ## 0.0.2

extensions/diff-review/README.md

Modified
1 1 # diff-review
3 -Server-rendered UI for reviewing git diffs and sending findings back to Pi.
3 +Browser-based git diff review bridge for Pi.
5 5 <!-- demo:diff-review:start -->
71 71 API requests require bearer token or strict token cookie.
72 72 - Opens the browser via platform opener when available; otherwise Pi shows the
74 -- Server renders a file tree, split diffs, and findings panel as HTML.
75 -- Minimal inline JS handles line selection, theme toggle, pane layout, and code
76 - search.
74 +- Server renders review HTML with file tree, split diffs, finding UI, summary,
75 + notes, search, and theme controls.
76 +- Browser JS handles line selection, theme mode, pane layout, code search,
77 + heartbeats, polling, cancel, and submit.
77 78 - Code search accepts literal text or `/regex/` and returns up to 500 hits.
78 79 - Browser fetches current review data, polls for diff changes every 2s, and
79 80 refreshes diff before submit.
80 81 - Browser posts heartbeat every 5s.
81 - Server checks heartbeat loss every 10s and treats the browser as gone after
82 - 30s.
82 + Server checks heartbeat loss every 10s and treats the browser as gone after 30s.
83 83 - Browser close, browser cancel, `/diff-review-cancel`, heartbeat loss, or
84 84 session shutdown closes the server.
85 85 - Submit appends a `diff-review` custom session entry and sends formatted

extensions/fast/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Move fast status ownership into @bugabinga/pi-ext-fast
7 -- Replace Bun test with Vitest for extension harness tests
8 -- Isolate harness env for extension tests
9 -- Format docs after guide and demo updates
6 +- Own fast status in @bugabinga/pi-ext-fast
7 +- Replace Bun test runner with Vitest across workspace
8 +- Fix extension harness tests for Vitest deps and Chai matchers
9 +- Migrate workspace tooling to mise; keep root Bun workspace
11 11 ## 0.0.2

extensions/fast/README.md

Modified
1 1 # fast
3 -OpenAI Codex priority service tier for Pi.
3 +Priority service tier for OpenAI Codex in Pi.
5 5 ## Install / load
44 44 Registers provider `openai-codex` with API `openai-codex-responses`.
46 -When enabled, uses OpenAI Codex responses streaming with native `serviceTier:
46 +When enabled, streams OpenAI Codex responses with native `serviceTier:
47 47 "priority"`.
49 49 When disabled, uses the normal simple OpenAI Codex response stream.
64 64 No model allowlist.
66 -When active on `openai-codex`, publishes `fast` as its own UI indicator.
66 +When active on `openai-codex`, publishes `fast` as its UI indicator.
67 67 With `@bugabinga/pi-ext-footer`, emits footer segment `fast` in the `llm` zone.
68 68 Without shared footer, uses `fast` status fallback.

extensions/footer/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Vitest replaces Bun runner for footer harness tests
7 -- Test harness isolates extension env and fixes import.meta.dirname deps
8 -- Biome rules remove explicit any and non-null assertions
9 -- Docs and demos update footer guides and markdown formatting
6 +- Replace Bun test runner with Vitest
7 +- Migrate workspace tooling to mise and root Bun workspace
8 +- Fix footer harness tests; isolate env, deps, and Chai matchers
9 +- Tighten Biome lint; remove explicit any and non-null assertions
11 11 ## 0.0.2

extensions/footer/README.md

Modified
30 30 - line 0: `workspace` segments plus current session name.
31 31 - lines 1-2: `llm` segments, flow layout, overflow on line 2.
32 -- line 3: extension statuses.
32 +- line 3: extension statuses via `ctx.ui.setStatus()`.
34 34 `footer:segment` payloads use `id`, `text`, and `zone` (`workspace` or `llm`).
35 35 Optional fields: `variants`, `icon`, `color`, `bar`, `suffix`, `order`.

extensions/git-safe/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Support sparse safe clones in git-safe sessions
7 -- Recover tracked paths during session start
8 -- Replace Bun test runner with Vitest in the extension harness
9 -- Isolate harness environment for extension tests
6 +- Add sparse safe clone support.
7 +- Recover tracked paths on session start.
8 +- Replace Bun test runner with Vitest.
9 +- Isolate extension harness environment in tests.
11 11 ## 0.0.2

extensions/git-safe/README.md

Modified
5 5 ## Install / load
7 7 Loaded through the root `pi-ext` package.
8 -See [../../README.md](../../README.md).
8 +See [root README](../../README.md).
10 10 ## Commands / tools / settings

extensions/goal/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Add planner dossier for goal setup
7 -- Harden autonomous goal loop continuation and judge retries
8 -- Show judge history, live widget updates, retryable errors, and all criteria
9 -- Replace Bun with npm and Vitest; fix Windows release metadata
10 -- Stabilize goal harness tests; cover goal flow with 170 tests
6 +- Add planner dossier for autonomous goal runs.
7 +- Harden continuation and judge loops; retry empty verdicts and errors.
8 +- Goal widget: live updates, judge history, deduped output, full criteria list.
9 +- Switch builds/tests from bun to npm/Vitest; fix win32 release readiness.
12 11 ## 0.0.2

extensions/goal/README.md

Modified
1 1 # goal
3 -<!-- demo:goal:start -->
5 -![Goal loop](assets/goal.gif)
7 -<!-- demo:goal:end -->
9 -Persistent standing-goal loop for Pi sessions.
3 +Persistent `/goal` loop for Pi sessions.
11 5 ## Install / load
13 7 This extension is loaded through the root pi-ext package.
14 8 See [../../README.md](../../README.md).
10 +## Demo
12 +<!-- demo:goal:start -->
14 +![Goal loop](assets/goal.gif)
16 +<!-- demo:goal:end -->
16 18 ## Commands
18 20 Subcommands autocomplete.

extensions/leaks/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Replace Bun test workflow with npm and Vitest.
7 -- Isolate extension harness tests from ambient env.
8 -- Fix harness tests for import.meta.dirname, Vitest deps, and Chai matchers.
9 -- Tighten Biome lint rules and fix violations.
10 -- Format markdown docs; update extension guides and demos.
6 +- Replace Bun test/build wiring with npm and Vitest
7 +- Isolate extension harness env in tests
8 +- Fix harness tests for import.meta.dirname, Vitest deps, and Chai matchers
9 +- Tighten Biome lint rules and apply fixes
10 +- Format extension docs
12 12 ## 0.0.2

extensions/leaks/README.md

Modified
9 9 ## Commands / tools / settings
11 -Command:
12 -`/leaks status|reload|test <text>|clear`.
11 +Commands:
13 +- `/leaks status`
14 +- `/leaks reload`
15 +- `/leaks test <text>`
16 +- `/leaks clear`
14 18 Tools:
15 19 none.
26 30 - `keywords`: string[], default `[]`
27 31 - `regex`: string[] or `{ pattern, flags, label }[]`, default `[]`
28 32 - `secretFiles`: string[], default `[".env", ".env.local", ".env.*.local"]`
29 -- `exclude`: string[], default `["localhost", "127.0.0.1", "0.0.0.0",
30 - "example.com"]`
33 +- `exclude`: string[], default `[]`
32 35 ```json
44 47 ## Behavior
46 -Redacts copies sent to providers.
49 +Redacts provider-bound copies before model requests.
47 50 Context-message copies are redacted without mutating originals.
48 51 Local tool calls receive restored args before execution.
49 52 Final assistant messages are restored locally.
50 54 Secret values are loaded from configured files relative to Pi cwd.
51 55 Settings are read from Pi settings, with `.pi/settings.json` fallback when the
52 56 runtime settings API is absent.
53 58 Built-in rules cover common AI provider tokens, developer tokens, cloud keys,
54 59 JWTs, private keys, and selected connection strings.
55 60 Custom `keywords` use smart boundaries.
57 62 `label`.
58 63 Generic assignment redaction requires sufficiently random values and skips
59 64 common false positives.
66 +`/leaks status` reports enabled state, rule counts, secret-file values, provider
67 +redactions, and mapping counts.
68 +`/leaks reload` reloads settings and secret-file values.
69 +`/leaks clear` clears stored placeholder mappings.
60 70 `/leaks test` is a dry run; its placeholders do not persist.
61 72 Placeholders are generic:
62 74 `__LEAK_<12 hex>__`.

extensions/llmiterate/CHANGELOG.md

Modified
3 3 # Changelog
5 5 ## 0.0.3
7 7 - Fix win32 release readiness
8 -- Replace Bun build/test paths with npm and Vitest
9 -- Inline gitignore matcher; drop `ignore` dependency; cut scan time
10 -- Stabilize extension and goal harness tests with isolated env
11 -- Tighten Biome lint rules; remove non-null assertions
8 +- Resolve pi-ext conflict stack; retire superpowers
9 +- Inline .gitignore matcher; remove ignore dependency
10 +- Replace Bun with npm and Vitest in test layout
13 12 ## 0.0.2

extensions/llmiterate/README.md

Modified
41 41 Settings namespace:
42 42 `llmiterate` in global Pi settings and `<scope>/.pi/settings.json`.
44 -| setting | default | behavior |
45 -| ----------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------ |
46 -| `enabled` | `true` | `false` blocks `/llmiterate on` |
47 -| `include` | `["**/*"]` | glob allow-list |
48 -| `exclude` | built-in metadata/build/cache dirs/files | merged with user excludes |
49 -| `debounceMs` | `3000` | save debounce before scan |
50 -| `maxFileBytes` | `1000000` | larger files skipped |
51 -| `timeoutMs` | `600000` | RPC prompt timeout |
52 -| `maxWatchDirs` | `10000` | watcher directory cap |
53 -| `commentPrefixes` | built-ins by extension | appended by extension key |
54 -| `model` | unset | passed to worker as `--model` when set |
55 -| `thinking` | unset | `off \| minimal \| low \| medium \| high \| xhigh`; passed as `--thinking` when set |
56 -| `notify` | `errors` | `off \| errors \| done \| all`; worker-run notifications currently emit only errors unless `off` |
44 +| setting | default | behavior |
45 +| ----------------- | ---------------------------------------- | ----------------------------------------------------------------------------------- |
46 +| `enabled` | `true` | `false` blocks `/llmiterate on` |
47 +| `include` | `["**/*"]` | glob allow-list |
48 +| `exclude` | built-in metadata/build/cache dirs/files | merged with user excludes |
49 +| `debounceMs` | `3000` | save debounce before scan |
50 +| `maxFileBytes` | `1000000` | larger files skipped |
51 +| `timeoutMs` | `600000` | RPC prompt timeout |
52 +| `maxWatchDirs` | `10000` | watcher directory cap |
53 +| `commentPrefixes` | built-ins by extension | appended by extension key |
54 +| `model` | unset | passed to worker as `--model` when set |
55 +| `thinking` | unset | `off \| minimal \| low \| medium \| high \| xhigh`; passed as `--thinking` when set |
56 +| `notify` | `errors` | `off \| errors \| done \| all`; worker notifications obey this policy |
58 58 Example:
67 67 "maxFileBytes": 1000000,
68 68 "timeoutMs": 600000,
69 69 "maxWatchDirs": 10000,
70 - "model": "zai/glm-5.1",
71 - "thinking": "high",
72 70 "notify": "errors",
73 71 "commentPrefixes": {
74 72 "foo": ["COMMENT"],
224 222 .md/.mdx/.html/.htm/.xml <!-- -->
225 223 .sql/.lua/.hs --
226 224 .lisp/.el/.clj/.scm ; ;; ;;;
227 -.tex % %%
228 -.erl %
225 +.tex % %%
226 +.erl %
229 227 .f/.f90 !

extensions/model-info/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Own fast status state in the extension.
7 -- Replace Bun test runs with Vitest.
8 -- Tighten Biome lint rules; remove low-risk explicit `any`.
9 -- Isolate harness env; fix `import.meta.dirname` and Chai matchers.
10 -- Format markdown docs; update extension guides and demos.
6 +- Own `fast` status rendering in `model-info`
7 +- Switch extension tests from Bun test to Vitest
8 +- Isolate extension harness environment in tests
9 +- Tighten Biome rules and remove low-risk explicit `any` usage
12 11 ## 0.0.2

extensions/neko/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Fix win32 release packaging
7 -- Replace Bun tests with Vitest
8 -- Isolate extension harness env in tests
9 -- Format docs and refresh demos
6 +- Fix win32 release readiness for @bugabinga/pi-ext-neko.
7 +- Resolve extension conflict stack; retire superpowers.
8 +- Migrate tests from bun to vitest; isolate extension harness env.
9 +- Apply Biome lint fixes; remove non-null assertions.
11 11 ## 0.0.2

extensions/nu-bang/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Fix win32 release packaging checks
7 -- Relax nu-bang timing tests to reduce flaky shell runs
8 -- Isolate harness env and temp-dir cleanup assertions
9 -- Replace Bun test runner wiring with Vitest
10 -- Format extension guides and demos
6 +- Fix win32 release readiness
7 +- Replace shell scripts with cross-platform Lua scripts
8 +- Add docx-to-md.lua, EPUB, Typst, Beamer, and pdf-report.yaml
9 +- Isolate harness env and temp-dir cleanup tests
12 11 ## 0.0.2

extensions/nu-bang/README.md

Modified
30 30 <command>`.
31 31 - Execution receives Pi cwd, env, abort signal, and timeout.
32 32 - Working directory is checked before execution and completion.
33 -- Abort and timeout send `SIGTERM`, then `SIGKILL` after 250 ms if the process
34 - group is still alive.
33 +- Abort and timeout terminate the spawned Nushell process.
35 34 - Output has terminal control sequences removed before it is returned.
36 35 - Long output is truncated with Pi's output truncation helper.
37 36 - Truncated full output is written to `pi-nu-bang-output-*.log` temp files with

extensions/prompt-autopsy/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Replace Bun test runner with Vitest across workspace
6 +- Replace Bun test runner with Vitest in the workspace
7 +- Isolate extension harness environment for tests
7 8 - Fix harness tests for import.meta.dirname, Vitest deps, and Chai matchers
8 -- Isolate extension harness env in tests
9 -- Migrate build tooling to mise; add root Bun workspace
10 -- Format markdown docs; update guides; replace suite demos
9 +- Format prompt-autopsy markdown docs
12 11 ## 0.0.2

extensions/prompt-autopsy/README.md

Modified
10 10 ## Commands / tools / settings
12 -- Command:
13 - `/prompt-autopsy`
14 -- Shortcut:
15 - `Ctrl+Alt+A`
16 -- Hooks:
17 - `session_start`, `session_shutdown`, `before_agent_start`, `agent_start`
18 -- Tools:
19 - none
20 -- Settings:
21 - none
12 +- Command: `/prompt-autopsy`
13 +- Shortcut: `Ctrl+Alt+A`
14 +- Hooks: `session_start`, `session_shutdown`, `before_agent_start`,
15 + `agent_start`
16 +- Tools: none
17 +- Settings: none
23 19 ## Behavior
25 -Writes the current generated system prompt to `/tmp/sysprompt-autopsy.md` and
26 -opens it with `$VISUAL`, else `$EDITOR`, else `vi`.
21 +Writes the current generated system prompt to `/tmp/sysprompt-autopsy.md`.
22 +Opens it with `$VISUAL`, else `$EDITOR`, else `vi`.
28 24 `before_agent_start` captures Pi's `BuildSystemPromptOptions`.
29 25 `agent_start` replaces the captured prompt with the final prompt after all
40 36 If no turn has started for the current cwd, it falls back to
41 37 `ctx.getSystemPrompt()`, writes `[PROMPT]`, and shows an ungrouped notice.
42 39 Duplicate SDK chunks stay `[CORE]` instead of guessed.

extensions/pulse/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Fix win32 release readiness for @bugabinga/pi-ext-pulse
7 -- Run harness tests on Vitest with isolated env and Chai matchers
8 -- Move workspace tooling to mise and root Bun workspace
9 -- Apply stricter Biome lint rules; remove non-null assertions
10 -- Replace suite demos with current pulse demos
6 +- Guard async Pulse state persistence during shutdown/races
7 +- Replace shell scripts with Pandoc Lua; add EPUB, Typst, Beamer output
8 +- Fix Pandoc 3.6 flag: use --highlight-style, not --syntax-highlighting
9 +- Resolve pi-ext conflict stack; remove superpowers integration
10 +- Fix win32 release readiness
12 12 ## 0.0.2

extensions/pulse/README.md

Modified
8 8 ## Install / load
10 10 Loaded through the root pi-ext package.
11 -See [../../README.md](../../README.md).
11 +See [root README](../../README.md).
13 13 ## Commands / tools / settings
15 15 Commands:
16 -one Pi slash command, `/pulse`.
16 +one Pi slash command: `/pulse`.
18 18 Subcommands:

extensions/q/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Format code fences with dprint
7 -- Run extension harness tests with isolated env
8 -- Replace Bun test tooling with Vitest
9 -- Move workspace tooling to mise
10 -- Replace suite demos
6 +- Rewrite q heuristic extractor; add 112 regression tests and benchmark
7 +- Resolve pi-ext conflict stack; retire superpowers path
8 +- Replace Bun test runner with Vitest; isolate extension harness env
9 +- Format fenced code with dprint; apply stricter Biome lint rules
12 11 ## 0.0.2

extensions/q/README.md

Modified
4 4 Follow-up question fork helper for Pi.
6 -Discusses answer choices in a fork and returns selected answer.
6 +Discusses answer choices in a fork and returns the selected answer.
8 8 ## Install / load
41 41 Extraction starts with local heuristics.
42 42 It detects question lines and bullet/numbered/lettered options.
43 +It ignores fenced code, URLs, Markdown tables, and box-drawing tables.
43 44 Suggestions are deduplicated case-insensitively and capped at 8.
44 45 If questions exist but suggestions are missing, it asks the selected model to
45 46 extract suggestions.

extensions/quota/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Show quota reset time in parentheses.
7 -- Run workspace tests with Vitest instead of Bun.
8 -- Isolate extension harness environment in tests.
9 -- Apply stricter Biome lint rules to quota sources.
6 +- Display quota reset in parentheses.
7 +- Replace shell scripts with cross-platform Pandoc Lua.
8 +- Use `--highlight-style` for Pandoc 3.6.
9 +- Add EPUB, Typst, Beamer, and Sandbox mode report output.
10 +- Move workspace tests from Bun to Vitest.
11 12 ## 0.0.2

extensions/quota/README.md

Modified
1 1 # quota
3 -Subscription quota dashboard for Pi providers.
3 +Subscription quota dashboard for Pi.
5 5 ## Install / load

extensions/runtime/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Switch tests from Bun to Vitest
7 -- Isolate extension harness environment
8 -- Fix harness tests for import.meta.dirname, Vitest deps, and Chai matchers
9 -- Migrate workspace tooling to mise
10 -- Tighten Biome lint rules and explicit any usage
6 +- Switch tests from Bun to Vitest; fix harness imports and Chai matchers
7 +- Isolate extension harness env for runtime tests
8 +- Migrate workspace tooling to mise with a root Bun workspace
9 +- Replace suite demos
12 11 ## 0.0.2

extensions/runtime/README.md

Modified
4 4 # runtime
6 6 Runtime detection telemetry for Pi footer/status.
8 8 ## Install / load
10 -Loaded through root `pi-ext` package.
10 +Loaded through the root `pi-ext` package.
11 11 See [root README](../../README.md).
13 13 ## Commands / tools / settings

extensions/session-rename/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Vitest runs extension harness tests; Chai matchers fixed
7 -- import.meta.dirname fixes harness paths under Vitest
8 -- Biome rules tightened; non-null assertions removed
9 -- mise defines workspace toolchain for builds
6 +- Resolve pi-ext conflict stack; remove superpowers path
7 +- Isolate extension harness env in tests
8 +- Remove non-null assertions under stricter Biome rules
9 +- Replace Bun test runner with Vitest across workspace
11 11 ## 0.0.2

extensions/ssh-tools/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Replace Bun test/build scripts with npm and Vitest workspace tasks
7 -- Add mise toolchain config for repeatable local commands
8 -- Fix harness tests for import.meta.dirname and Chai matchers
9 -- Remove non-null assertions and satisfy stricter Biome rules
6 +- Resolve pi-ext conflict stack; retire superpowers
7 +- Isolate extension harness environment in tests
8 +- Replace bun test tooling with npm and vitest
9 +- Remove non-null assertions; satisfy stricter Biome rules
11 11 ## 0.0.2

extensions/super/CHANGELOG.md

Added
new file mode 100644
1 +# Changelog
3 +## 0.0.3
5 +- Resolve pi-ext conflict stack; retire superpowers.
6 +- Replace os.execute wrappers with pandoc.pipe argv lists in conversion scripts.
7 +- Fix batch-convert patterns and keep web-to-md H1 content out of metadata.
8 +- Add docx-to-md image extraction to ./media/, Decision Guide, pandoc lua -e
9 + examples.
10 +- Document heading shift, CJK, images, empty titles, Lua filters, PDF engines.

extensions/super/README.md

Modified
11 11 Commands:
13 -- `/start-task` starts the active pushed task in a fresh branch.
14 -- `/discard-task` drops the active pushed task.
13 +- `/start-task` starts the active pending task in a fresh branch.
14 +- `/discard-task` drops the active pending task.
15 15 - `/finish-task` returns from a task branch with the last assistant result.
16 -- `/abort-task` abandons the current task branch.
17 -- `/auto` runs pending task branches until work is done.
16 +- `/abort-task` abandons the current task branch without a summary.
17 +- `/auto` runs pending task branches until no task work remains.
19 19 Tools:
21 21 - `push-task` stores a focused task prompt for isolated execution.
22 + - `prompt`: task prompt to store.
23 + - `inherit_context`: marks the task as inheriting context.
25 +Hooks:
27 +- `session_start`, `turn_end`, and `session_tree` update task status.
28 +- `session_shutdown` stops `/auto`.
30 +Renderers:
32 +- `task-result` renders a finished task result entry.
23 34 Settings: none.
25 36 ## Behavior
27 38 Task prompts are stored as session entries.
28 -The extension uses Pi session-tree navigation to isolate work and return results.
39 +`push-task` updates task status and notifies the UI after storing a task.
40 +The extension uses Pi session-tree navigation to isolate work and return
41 +results.
42 +Finishing a task attaches the last assistant response as a `task-result` entry.
43 +Aborting a task abandons the branch and leaves the task pending.
44 +Discarding a task removes the pending task without starting a branch.
45 +`/auto` waits for idle, starts pending tasks, finishes current tasks, and stops
46 +when there is no task work left.
47 +If `/auto` starts with no pending tasks, it notifies that there is nothing to
48 +run.
29 49 It also ships the `skills/super` skill set through the root package resources.

extensions/terminal-notifier/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Replace Bun test runner with Vitest for extension harness tests
7 -- Isolate extension harness environment in tests
8 -- Tighten Biome lint rules and fix violations
9 -- Move tooling to mise; add root Bun workspace
6 +- Replace Bun test runner with Vitest in the workspace
7 +- Add isolated extension harness env for tests
8 +- Fix harness tests for import.meta.dirname, Vitest deps, and Chai matchers
9 +- Migrate project tooling to mise
11 11 ## 0.0.2

extensions/terminal-signals/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Migrate workspace tooling to mise, Vitest, and a root Bun workspace
7 -- Fix harness tests: env isolation, import.meta.dirname, Vitest deps, Chai
8 - matchers
9 -- Tighten Biome lint rules and fix violations
10 -- Replace suite demos for terminal-signals
6 +- Replace Bun test runner with Vitest in the extension harness
7 +- Fix harness tests for import.meta.dirname, Vitest deps, and Chai matchers
8 +- Isolate extension harness environment variables during tests
9 +- Migrate workspace tooling to mise and root bun workspace
12 11 ## 0.0.2

extensions/terminal-signals/README.md

Modified
10 10 ## Commands / tools / settings
12 -- Commands:
13 - none
14 -- Tools:
15 - none
16 -- Pi settings:
17 - none
12 +- Commands: none
13 +- Tools: none
14 +- Settings: none
18 15 - Hooks:
19 16 - `session_start`
20 17 - `agent_start`
28 25 Emits terminal escape sequences on Pi lifecycle hooks.
30 27 - `session_start`
31 - - enables terminal focus reporting via `DECSET ?1004` when stdin/stdout are
32 - TTYs
28 + - attaches terminal focus tracking when stdin/stdout are TTYs
29 + - enables focus reporting with `DECSET ?1004`
33 30 - sets `PI_STATE=idle`
34 31 - clears progress for `new`, `resume`, and `fork` sessions
42 39 - `agent_end`
43 40 - reads the last assistant message stop reason
44 - - maps `aborted` → exit code `130`, `PI_STATE=aborted`
45 - - maps `error` → exit code `1`, `PI_STATE=error`
46 - - maps anything else → exit code `0`, `PI_STATE=done`
41 + - maps `aborted` to exit code `130`, `PI_STATE=aborted`
42 + - maps `error` to exit code `1`, `PI_STATE=error`
43 + - maps anything else to exit code `0`, `PI_STATE=done`
47 44 - clears progress with `OSC 9;4;0`
48 45 - emits `OSC 133;D;<exit-code>` immediately when terminal is unfocused
49 46 - defers `OSC 133;D;<exit-code>` until focus leaves when terminal is focused
51 48 - `session_shutdown`
52 - - removes focus listener
49 + - removes the focus listener
50 + - detaches terminal focus tracking
53 51 - disables focus reporting
54 52 - clears progress
55 53 - sets `PI_STATE=idle`
56 - - clears pending completion signal
54 + - clears any pending completion signal
58 56 Terminal user vars use `OSC 1337;SetUserVar=PI_STATE=<base64>`.
59 57 They are emitted only for WezTerm or iTerm2 detection:

extensions/terse/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Migrate workspace tooling to mise and Vitest
7 -- Isolate extension harness env in tests; fix import.meta.dirname and Chai
8 - matchers
9 -- Add side-by-side terse demo; replace old suite demos
10 -- Update extension guides and demo docs
6 +- Add side-by-side terse demo
7 +- Replace suite demos
8 +- Switch workspace tests from bun to vitest
9 +- Isolate extension harness environment
12 11 ## 0.0.2

extensions/terse/README.md

Modified
33 33 - skips injection when prompt already contains that title
34 34 - inserts before Pi SDK `Current date:` footer when present
35 35 - appends to prompt when footer is absent
36 -- keeps code, tool args, file contents, quoted errors exact
37 -- pushes terse output: no preamble, no recap, no hedging
38 -- allows clarity over compression for security, destructive ops, user confusion
36 +- requires output only: no preamble, recap, or hedging
37 +- pushes terse phrasing: fragments, abbreviations, symbols, causality arrows
38 +- keeps code, tool args, file contents, and quoted errors exact
39 +- prefers clarity over compression for security, user confusion, and destructive
40 + ops

extensions/tldr/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Fix tldr harness tests under isolated environment
7 -- Switch workspace tests from bun to vitest
8 -- Add model test prompts for tldr
9 -- Tighten Biome lint rules; fix tldr violations
10 -- Update extension guides and demos
6 +- Retire superpowers integration after pi-ext conflict cleanup
7 +- Isolate extension harness env in tests
8 +- Replace Bun test runner with Vitest; update deps and Chai matchers
9 +- Add model test prompts; fix tldr tests
10 +- Update extension guides and demo suite
12 12 ## 0.0.2

extensions/tldr/README.md

Modified
7 7 <!-- demo:tldr:end -->
9 -Live TLDR widget above Pi editor.
9 +Live TLDR widget above the Pi editor.
11 11 ## Install / load
13 -Loaded through root pi-ext package.
14 -See [root README](../../README.md).
13 +This extension is loaded through the root pi-ext package.
14 +See [root README](../../README.md).
16 16 ## Commands / tools / settings
26 26 Tools:
27 27 none.
29 +Hooks:
30 +observes prompt, assistant, tool, result, and final-response activity.
29 32 Settings:
31 34 ```json
39 42 If `tldr.model` is missing, invalid, unavailable, or unauthenticated, tldr uses
40 -the current Pi model.
41 -If that has no API key, the widget shows `tldr unavailable`.
43 +the current Pi model. If that has no API key, the widget shows
44 +`tldr unavailable`.
43 46 ## Behavior
45 -- Records prompt, assistant, tool, result, and final-response activity.
48 +- Records bounded prompt, assistant, tool, result, and final-response activity.
46 49 - Sends bounded snippets to the TLDR model.
47 50 - Uses one in-flight TLDR request at a time.
48 51 - Coalesces noisy normal activity before requesting a checkpoint.
49 -- Drops stale model results after new runs/session changes.
52 +- Drops stale model results after new runs or session changes.
50 53 - Keeps recent generated checkpoints as compact context.
51 -- Uses upstream-style prompt constraints:
52 - one sentence, under 80 chars, no tool names.
53 -- Uses in-progress vs completed tense instructions.
54 +- Requests one plain-text sentence under 80 characters.
55 +- Avoids tool names, file names, markdown, JSON, code, bullets, and quotes.
56 +- Uses in-progress tense while work is active and completed tense for final
57 + activity.
54 58 - Disables prompt caching for TLDR requests.
59 +- Sanitizes terminal/control characters and caps displayed TLDR text.
55 60 - Does not scan or redact secrets.

extensions/tps/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Replace Bun test harness with Vitest
7 -- Move dev tooling to mise
6 +- Replace Bun test runner with Vitest for extension tests
7 +- Isolate extension harness env in tests
8 8 - Fix harness tests for import.meta.dirname, Vitest deps, and Chai matchers
9 -- Update extension guides and demos for current Pi APIs
9 +- Tighten Biome rules and remove low-risk explicit `any` usage
10 +- Move workspace tooling to mise
11 12 ## 0.0.2

extensions/tps/README.md

Modified
1 1 # tps
3 -Tokens-per-second footer segment for Pi.
3 +Tokens-per-second footer/status segment for Pi.
5 5 ## Install / load

extensions/tune/CHANGELOG.md

Modified
1 1 # Changelog
3 +## 0.0.3
5 +- Rename package, slug, command, and state paths from autoresearch to tune
6 +- Copy .pi/autoresearch state to .pi/tune before start, export, and clear
7 +- Add jj-native backend and repo lock
8 +- Clamp run_experiment and checks timeouts; print check output on timeout
9 +- Block trailing shell chains in benchmark commands
3 11 ## 0.1.0 - 2026-05-30
5 -Fork of [pi-autoresearch](https://github.com/davebcn87/pi-autoresearch) with breaking changes:
13 +Fork of [pi-autoresearch](https://github.com/davebcn87/pi-autoresearch) with
14 +breaking changes:
7 16 - Extension slug/package renamed to `tune` / `@bugabinga/pi-ext-tune`
8 17 - State dir moved to `.pi/tune/`
9 -- Scripts renamed: `benchmark.mjs` (was `autoresearch.sh`), `checks.mjs` (was `autoresearch.checks.sh`)
18 +- Scripts renamed: `benchmark.mjs` (was `autoresearch.sh`), `checks.mjs` (was
19 + `autoresearch.checks.sh`)
10 20 - Hooks are Node.js only (`.mjs`), no bash dependency
11 21 - Command renamed to `/tune`; shortcuts config moved to `tune.json`
12 22 - `workingDir` config option removed (state always in `.pi/tune/`)
13 -- Session files live under `.pi/tune/`: `session.jsonl`, `session.md`, `ideas.md`
23 +- Session files live under `.pi/tune/`: `session.jsonl`, `session.md`,
24 + `ideas.md`
14 25 - Adapted to `@earendil-works/pi-coding-agent` and `typebox` packages
15 26 - Added jj-native keep/discard flow and exclusive tune repo lock

extensions/tune/README.md

Modified
11 11 ## Commands / tools / settings
13 13 Commands:
14 -`/tune [off|clear|export|<text>]` — start, stop, clear, or resume tune mode.
15 -`clear` deletes `.pi/tune/session.jsonl`; it leaves `ideas.md`, benchmarks, checks, and hooks intact.
15 +- `/tune [off|clear|export|<text>]` — start, stop, clear, export, or resume tune mode
16 +- `/tune clear` deletes `.pi/tune/session.jsonl`; it leaves `ideas.md`,
17 + benchmarks, checks, and hooks intact
17 19 Tools:
19 -- `init_experiment` — configure session (name, metric, unit, direction)
20 -- `run_experiment` — run a timed command, capture output and metrics
21 -- `log_experiment` — record result, keep or discard VCS changes
21 +- `init_experiment` — configure session name, metric, unit, and direction
22 +- `run_experiment` — run a timed benchmark command, capture output, parse
23 + `METRIC name=value` lines, and run checks when configured
24 +- `log_experiment` — record result and keep or discard VCS changes
23 26 Settings:
24 -Keyboard shortcuts configurable in `<agent-dir>/extensions/tune.json`.
28 +Config file: `<agent-dir>/extensions/tune.json`.
30 +Keys:
32 +- `shortcuts.toggleDashboard` — default `ctrl+shift+t`; `null` disables
33 +- `shortcuts.fullscreenDashboard` — default `ctrl+shift+f`; `null` disables
26 35 ## Hooks
28 -- `session_start` / `session_tree`: reconstruct state from `.pi/tune/session.jsonl`
29 -- `before_agent_start`: inject tune system prompt when mode active
30 -- `session_before_compact`: produce deterministic compaction summary
31 -- `agent_end`: schedule auto-resume when mode active
32 -- `session_shutdown`: clean up UI and timers
37 +Pi hooks:
39 +- `session_start` / `session_tree` — reconstruct state from
40 + `.pi/tune/session.jsonl`
41 +- `before_agent_start` — inject tune system prompt when mode is active
42 +- `session_before_compact` — produce deterministic compaction summary
43 +- `agent_end` — schedule auto-resume when mode is active
44 +- `session_shutdown` — clean up UI and timers
46 +Tune iteration hooks:
48 +- `.pi/tune/hooks/before.mjs`
49 +- `.pi/tune/hooks/after.mjs`
51 +Hook scripts run with `node`, receive JSON on stdin, and return steer text on
52 +stdout. Hooks time out after 30 seconds. Hook stdout is capped at 8 KiB.
34 54 ## State
42 62 | `ideas.md` | Backlog of untried optimizations |
43 63 | `benchmark.mjs` | Benchmark script |
44 64 | `checks.mjs` | Optional correctness gate |
45 -| `config.json` | Optional (`maxIterations`) |
65 +| `config.json` | Optional `maxIterations` config |
46 66 | `hooks/before.mjs` | Optional pre-iteration hook |
47 67 | `hooks/after.mjs` | Optional post-iteration hook |
49 69 ## Behavior
51 -Tunes through an autonomous loop: edit → benchmark → log → keep or discard → repeat.
71 +Tunes through an autonomous loop: edit → benchmark → log → keep or discard →
72 +repeat.
53 -VCS behavior is native per repo: jj repos use `jj describe` / `jj new` / `jj abandon`; non-jj repos use Git. Tune takes an exclusive `.pi/tune/lock.json` repo lock per Pi session. Parallel tune runs in one checkout are rejected; use a separate checkout/workspace for parallel tuning.
74 +Benchmark output may include metric lines:
55 -Confidence scoring (MAD-based) after 3+ runs: ≥2.0× = real, 1.0–2.0× = marginal, <1.0× = noise.
76 +```text
77 +METRIC name=value
78 +```
57 -Backpressure: if `checks.mjs` exists, runs after every passing benchmark. Failures block `keep`.
80 +`run_experiment` parses finite numeric metrics and rejects unsafe metric names
81 +such as `__proto__` and `constructor`.
59 -Hooks: `.mjs` scripts that receive JSON on stdin. Stdout → steer message to agent. Cross-platform.
83 +Benchmark commands are guarded. `node .pi/tune/benchmark.mjs`, `node
84 +benchmark.mjs`, simple environment prefixes, and `nice node benchmark.mjs` are
85 +accepted. Chained commands are rejected.
87 +If `.pi/tune/checks.mjs` exists, it runs after every passing benchmark. Check
88 +failures block `keep`.
90 +VCS behavior is native per repo:
92 +- jj repos use `jj describe`, `jj new`, and `jj abandon`
93 +- non-jj repos use Git
95 +Tune takes an exclusive `.pi/tune/lock.json` repo lock per Pi session. Parallel
96 +tune runs in one checkout are rejected; use a separate checkout or workspace for
97 +parallel tuning.
99 +Confidence scoring is MAD-based after 3+ runs:
101 +- `≥2.0×` — real
102 +- `1.0–2.0×` — marginal
103 +- `<1.0×` — noise
105 +Compaction skips the default LLM summary and rebuilds a deterministic summary
106 +from persisted tune state.

extensions/usage/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Replace Bun test runner with Vitest for the extension harness
7 -- Isolate harness environment in usage tests
8 -- Move workspace tooling to mise
9 -- Remove non-null assertions under stricter Biome rules
6 +- Retire superpowers conflict stack
7 +- Move workspace tooling from bun to mise and vitest
8 +- Isolate extension harness env in tests
9 +- Remove non-null assertions for Biome lint
11 11 ## 0.0.2

extensions/vcs-status/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Keep vcs-status runtime unchanged; release covers build and test tooling
7 -- Replace Bun test runner with Vitest for workspace tests
8 -- Fix harness tests: import.meta.dirname, Vitest deps, Chai matchers
9 -- Move tool version management to mise
10 -- Tighten Biome lint rules and fix reported violations
6 +- Move workspace tooling to mise and root Bun workspace
7 +- Replace Bun test runner with Vitest across workspace
8 +- Fix harness tests: import.meta.dirname, deps, Chai matchers
9 +- Isolate extension harness environment in tests
10 +- Tighten Biome lint rules and fix violations
12 12 ## 0.0.2

extensions/vcs-status/README.md

Modified
84 84 Non-VCS dirs show cwd only.
85 85 Status refreshes on session start, agent end, and tool execution end.
86 -Git and jj commands time out after 2500 ms. Segments/status keys are cleared on
87 -session shutdown.
86 +Git and jj commands time out after 2500 ms.
87 +Segments/status keys are cleared on session shutdown.

extensions/web/CHANGELOG.md

Modified
2 2 # Changelog
4 4 ## 0.0.3
6 -- Persist capped fetch results for later tool reads
7 -- Show local image preview in `understand_image`
8 -- Fix win32 release readiness for `@bugabinga/pi-ext-web`
9 -- Switch build and tests from Bun to npm, Vitest, and mise
6 +- Persist capped fetch results.
7 +- Show local image preview in `understand_image`.
8 +- Fix win32 release readiness.
9 +- Retire superpowers conflict stack.
11 11 ## 0.0.2