pi-ext bugabingas pi extensions
owned by bugabinga
README Source History Refs Reviews Compare Notes Search Review guide docs: update extension guides and demos
c428b01f4e48953a914ffb770dcf56dca2424ded
Oliver Jan Krylow <oliver@bugabinga.net > · 28 May 2026
unsigned
Browse files Compare with HEAD
Changed files (27) +345 / −87 text lines · 8 binary (striped old/new sizes in 64-byte units, not churn) · lines and sizes scale separately
Diff layout Auto Unified Split
+11 / −5 text lines
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,12 12 All extensions via git, pinned:All extensions via git, pinned:15 - pi install git:github.com/bugabinga/pi-ext@v0.0.2 15 + pi install git:github.com/bugabinga/pi-ext@v0.0.3 18 18 Default branch install:Default branch install:21 21 pi install git:github.com/bugabinga/pi-extpi install git:github.com/bugabinga/pi-ext
24 + Local checkout, absolute path:27 + pi install /home/me/Workspace/pi-ext24 30 Local checkout, `~` path:Local checkout, `~` path:34 40 "packages": [ "packages": [36 - "source": "git:github.com/bugabinga/pi-ext@v0.0.2 ",42 + "source": "git:github.com/bugabinga/pi-ext@v0.0.3 ",37 43 "extensions": ["extensions/web/index.ts"], "extensions": ["extensions/web/index.ts"],38 44 "skills": [], "skills": [],39 45 "prompts": [], "prompts": [],129 135 Fat prompts rot in bins.\ Fat prompts rot in bins.\ 130 - Pi cats claw the workflow gods.\ 136 + Pi cats claw workflow gods.\ 131 137 Small tools drink the dark.Small tools drink the dark.TMUX_AGENT_WORKFLOWS.md Added new file mode 100644+229 / −0 text lines
1 + # tmux for Agent Workflows 3 + Practical patterns for using tmux to drive real interactive agents, TUI apps,4 + long-running jobs, and manual integration tests.8 + - Real interactive testing: exercise actual terminal UI, not mocks.9 + - Long-running workflows: let agents, builds, servers, or model calls run while10 + you inspect from outside.11 + - Input timing tests: send input while a process is busy, idle, paused, or13 + - UI verification: capture status bars, widgets, spinners, prompts, and15 + - Repro sandboxes: run each scenario in a fresh cwd/session dir.16 + - Debug artifacts: preserve logs, transcripts, temp files, and captured pane output.17 + - Remote work: keep sessions alive across SSH disconnects.18 + - Multi-process orchestration: agent pane + server pane + logs pane + watcher pane.22 + - Tests real behavior end-to-end.23 + - Works with any terminal app.24 + - Non-blocking: launch, poll, inspect, continue.25 + - Scriptable enough for smoke tests.26 + - Great for reproducing bugs found only in interactive mode.27 + - Keeps visible history while also allowing machine-readable session/log inspection.31 + - Timing can be brittle; sleeps and polling are imperfect.32 + - Pane output may wrap, truncate, or include ANSI/control artifacts.33 + - Assertions are weaker than structured APIs.34 + - Cleanup matters: stale tmux sessions and temp dirs cause false results.35 + - Real providers/network/LLMs add cost, latency, and nondeterminism.36 + - Terminal dimensions affect rendering.48 + tmux kill-session -t "$name" 2 > /dev/null || true50 + tmux new-session -d -s "$name" -x 120 -y 40 "cd '$work' && your-agent-or-tui" 53 + tmux capture-pane -t "$name" -p -S -8059 + tmux set-buffer -t "$name" 'your input here' 60 + tmux paste-buffer -t "$name" 61 + tmux send-keys -t "$name" Enter67 + tmux send-keys -t "$name" C-c68 + tmux send-keys -t "$name" Escape69 + tmux send-keys -t "$name" Tab72 + ## Polling for Completion 74 + Prefer semantic stop conditions over fixed sleeps.79 + out= $(tmux capture-pane -t "$name" -p -S -200) 80 + echo "$out" | tail -8081 + echo "$out" | grep -q 'DONE_MARKER' && break 85 + Use unique markers in prompts/tasks:88 + Create file proof.txt containing EXACT_MARKER_123, then print DONE_MARKER_123.94 + tmux capture-pane -t "$name" -p -S -200 > /tmp/pane.txt99 + - Use fixed pane size: `-x 120 -y 40`.100 + - Capture enough scrollback: `-S -200` or more.101 + - Prefer checking stable text, not exact whole-screen snapshots.102 + - For wrapping/color bugs, inspect both pane output and screenshots if needed.104 + ## Inspecting Artifacts 106 + Pair tmux with structured logs/session files.109 + find "$work" -type f -maxdepth 3 -print110 + cat "$work/log.jsonl" 2 > /dev/null || true116 + python - << ' PY ' "$work/session.jsonl" 118 + for line in open(sys.argv[1]): 119 + obj = json.loads(line) 120 + if obj.get("type") in {"event", "state", "custom"}: 121 + print(json.dumps(obj, ensure_ascii=False)) 125 + ## Testing Busy-State Input 127 + tmux is useful for testing input while a process is occupied.131 + send 'run a command that sleeps 10 seconds' 135 + send 'this should queue/steer/cancel/be rejected' 140 + - Was input accepted?141 + - Was it queued or applied immediately?142 + - Did it interrupt the running operation?143 + - Did final state include the new instruction?144 + - Did UI show pending/queued/steering state?146 + ## Multi-Pane Workflow 149 + tmux new-session -d -s "$name" -x 160 -y 48 -n main "cd '$work' && agent" 150 + tmux split-window -t "$name" -h "cd '$work' && tail -f app.log" 151 + tmux split-window -t "$name" -v "cd '$work' && watch -n1 'find . -maxdepth 2 -type f -ls'" 152 + tmux select-pane -t "$name" :0.0159 + - Right bottom: filesystem/session watcher164 + tmux kill-session -t "$name" 2 > /dev/null || true168 + For debugging, do not delete immediately. Print paths instead:171 + echo "tmux attach -t $name" 172 + echo "workdir: $work" 177 + 1. Start with unit/API tests.178 + 2. Use tmux for real interactive smoke tests.179 + 3. If tmux finds a bug, add a deterministic unit/harness regression.180 + 4. Re-run tmux once after the fix.181 + 5. Keep tmux tests short and marker-based.182 + 6. Avoid exact full-pane assertions unless testing layout.183 + 7. Always isolate cwd, config, session/log dirs.184 + 8. Always kill old sessions before starting.185 + 9. Use real network/model/provider tests sparingly.186 + 10. Record exact command, cwd, model/env, pane capture, and artifact paths.188 + ## Common Failure Modes 190 + - Prompt sent before app is ready → add readiness polling.191 + - Input pasted while app uses alternate screen/editor mode → use `send-keys` or192 + paste buffer carefully.193 + - Output wraps differently → fix pane dimensions.194 + - Grep matches old scrollback → use unique markers or clear pane before scenario.195 + - Stale session reused → kill session and reset workdir.196 + - App still running when assertions start → poll for a completion marker.202 + tmux set-buffer -t "$name" "$1" 203 + tmux paste-buffer -t "$name" 204 + tmux send-keys -t "$name" Enter208 + tmux capture-pane -t "$name" -p -S "${1 :- -200}" 213 + for i in {1..60}; do 215 + pane -300 | grep -q "$needle" && return 0222 + ## When Not to Use tmux 224 + - Pure deterministic logic tests.225 + - Fast CI checks where APIs expose structured state.226 + - Security-sensitive automation with secrets visible in pane scrollback.227 + - Large-scale regression suites needing strict determinism.229 + Use tmux as a realism layer, not as the only test harness.extensions/angel/README.md Modified +5 / −4 text lines
5 5 Angel is available only when the active executor model matches a configuredAngel is available only when the active executor model matches a configured6 6 executor/advisor pair and the advisor model is registered.executor/advisor pair and the advisor model is registered.7 8 It builds a context packet, asks the paired advisor model for JSON advice,It builds a context packet, asks the paired advisor model for JSON advice,8 9 injects advice after tool errors, and blocks selected dangerous shell commandsinjects advice after tool errors, and blocks selected dangerous shell commands11 12 ## Install / load ## Install / load 13 14 Angel is loaded through the root `pi-ext` package.Angel is loaded through the root `pi-ext` package.14 - See [root README](../../README.md).15 + See [root README](../../README.md).16 17 ## Commands / tools / settings ## Commands / tools / settings 113 114 file, 9 recent tool errors, and 60k chars of system prompt. file, 9 recent tool errors, and 60k chars of system prompt.114 115 - Tracks touched files from prior `read`, `edit`, and `write` tool calls.- Tracks touched files from prior `read`, `edit`, and `write` tool calls.115 116 - Calls the configured advisor model for the active executor model.- Calls the configured advisor model for the active executor model.116 - - Requires an API key for the advisor model provider.
117 117 - Requests JSON advice with summary, next action, risks, assumptions, validation- Requests JSON advice with summary, next action, risks, assumptions, validation118 118 checklist, enforceable policy, advisory-only guidance, confidence, and checklist, enforceable policy, advisory-only guidance, confidence, and119 119 insufficient-context flag. insufficient-context flag.132 132 ## Policy Gates ## Policy Gates 134 134 No popups.No popups.135 136 When `policyGate` is `block`:When `policyGate` is `block`:137 138 1. Executor attempts selected dangerous `bash`:1. Executor attempts selected dangerous `bash`:138 139 `sudo`, `rm -rf`, `git push`, `npm publish`, `pnpm publish`, `bun publish`, `sudo`, `rm -rf`, `git push`, `npm publish`, `pnpm publish`, `bun publish`,139 - recursive `chmod`/`chown`, `dd if=`/`dd of=`, `mkfs`, `curl|sh`, ` curl|bash ` , 140 - `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.141 142 2. Angel blocks that exact command once.2. Angel blocks that exact command once.142 143 3. Angel consults the advisor and returns formatted advice in the block reason.3. Angel consults the advisor and returns formatted advice in the block reason.143 144 4. Executor may retry the same command if still correct.4. Executor may retry the same command if still correct.extensions/builtin-tools/README.md Modified +3 / −5 text lines
5 5 ## Install / load ## Install / load 7 7 Loaded through root pi-ext package.Loaded through root pi-ext package.8 - See [root README](../../README.md).8 + See [root README](../../README.md).10 10 ## Commands / tools / settings ## Commands / tools / settings 32 32 `/builtin-tools` checks registered tools, then toggles available built-ins:`/builtin-tools` checks registered tools, then toggles available built-ins:34 + - if all are active: disables them 35 + - otherwise: enables them39 37 UI notifications report changed tools.UI notifications report changed tools.40 38 If no target tools are registered, the command reports that.If no target tools are registered, the command reports that.extensions/context-size/README.md Modified +6 / −10 text lines
5 5 ## Install / load ## Install / load 7 7 Loaded through the root `pi-ext` package.Loaded through the root `pi-ext` package.8 - See [root README](../../README.md).8 + See [root README](../../README.md).10 10 ## Commands / tools / settings ## Commands / tools / settings 33 - - `footer:segment` to publish/clear `context-size` footer segment.33 + - `footer:segment` to publish/clear the `context-size` footer segment.35 35 ## Behavior ## Behavior 45 45 Usage color:Usage color:50 + - unknown percent: muted 56 52 No UI update runs when UI is unavailable.No UI update runs when UI is unavailable.extensions/cost/README.md Modified +4 / −2 text lines
3 - Pi token and spend telemetry.3 + Token and spend telemetry for Pi.5 5 ## Install / load ## Install / load 7 7 Loaded through the root `pi-ext` package.Loaded through the root `pi-ext` package.8 - See [root README](../../README.md).8 + See [root README](../../README.md).10 10 ## Commands / tools / settings ## Commands / tools / settings 35 35 - `footer:segment` when `@bugabinga/pi-ext-footer` is loaded:- `footer:segment` when `@bugabinga/pi-ext-footer` is loaded:36 36 `tokens`, `cost` in the `llm` zone. `tokens`, `cost` in the `llm` zone.
37 + `tokens` uses `muted`, order `2`.38 + `cost` uses `success`, order `3`.extensions/ctx/README.md Modified +4 / −4 text lines
20 20 - `tool_result`:- `tool_result`:21 - watches builtin `read` results and may replace large full-file reads with a21 + watches builtin `read` results and may replace large read output with a22 22 bounded head/tail view. bounded head/tail view.24 24 Pi settings:Pi settings:38 38 `ctx` does one thing:`ctx` does one thing:40 40 1. watches `read` tool results1. watches `read` tool results41 - 2. ignores errors and bounded reads with `limit` or `l`41 + 2. ignores errors and reads with `limit` or `l`42 42 3. compares UTF-8 byte length against threshold3. compares UTF-8 byte length against threshold43 - 4. if full read output exceeds threshold, returns:43 + 4. if read output exceeds threshold, returns:44 44 - first 8 lines - first 8 lines45 45 - `[ctx compacted read: - `[ctx compacted read:46 46 ...]` marker ...]` marker52 52 `20000` bytes.`20000` bytes.54 54 Invalid env values fall back to default.Invalid env values fall back to default.55 - `0` compacts any non-empty full read.55 + `0` compacts any non-empty read.58 58 No search tool.No search tool.extensions/cwd/README.md Modified +2 / −2 text lines
3 - Switch Pi cwd without leaving current session.3 + Switch Pi cwd without leaving the session.5 5 ## Install / load ## Install / load 7 7 This extension is loaded through the root pi-ext package.This extension is loaded through the root pi-ext package.8 - See [root README](../../README.md).8 + See [root README](../../README.md).10 10 ## Commands / tools / settings ## Commands / tools / settings extensions/devil/README.md Modified +2 / −10 text lines
6 6 ## Install / load ## Install / load 8 8 Loaded through the root pi-ext package.Loaded through the root pi-ext package.9 - See [root README](../../README.md).15 - /devil we should switch to microservices9 + See [root README](../../README.md).18 11 ## Commands / tools / settings ## Commands / tools / settings 33 26 - `/devil <idea>` — start an interactive debate.- `/devil <idea>` — start an interactive debate.34 - - `/devil` — reports `Usage:27 + - `/devil` — reports `Usage: /devil <your idea>`.37 29 Registered flags:Registered flags:extensions/diff-review/README.md Modified +9 / −7 text lines
1 1 # diff-review # diff-review
3 + Browser UI for reviewing git diffs and sending findings back to Pi.5 7 | **Pi bridge** | **Browser UI** || **Pi bridge** | **Browser UI** |11 - Browser UI for reviewing git diffs and sending findings back to Pi.
13 13 ## Install / load ## Install / load 15 15 Loaded through the root pi-ext package.Loaded through the root pi-ext package.16 - See [root README](../../README.md).16 + See [root README](../../README.md).18 18 ## Commands / tools / settings ## Commands / tools / settings 22 22 - `/diff-review`- `/diff-review`23 23 - `/diff-review --staged`- `/diff-review --staged`24 24 - `/diff-review --base <ref>` or `/diff-review --base=<ref>`- `/diff-review --base <ref>` or `/diff-review --base=<ref>`25 - - `/diff-review --files <path[,path...]>` or `/diff-review26 - --files=<path[,path...]>`25 + - `/diff-review --files <path[,path...]>` or `/diff-review --files=<path[,path...]> ` 27 26 - `/diff-review-cancel`- `/diff-review-cancel`34 33 - `session_start`:- `session_start`:35 - restores review state, open findings status, and live browser review when34 + restores persisted review rounds and open findings state.35 + Persisted live reviews are not auto-reopened.37 36 - `session_shutdown`:- `session_shutdown`:38 37 closes active review server. closes active review server.54 53 reviews staged diff. reviews staged diff.55 54 - `--base <ref>`:- `--base <ref>`:56 55 reviews `<ref>...HEAD`. reviews `<ref>...HEAD`.
56 + - `--base` rejects refs that start with `-` or contain NUL.57 57 - `--staged` and `--base` are mutually exclusive.- `--staged` and `--base` are mutually exclusive.58 58 - `--files` accepts comma-separated relative paths.- `--files` accepts comma-separated relative paths.59 59 Absolute paths, `..`, and NUL are rejected. Absolute paths, `..`, and NUL are rejected.60 60 - Path filters are rebased from Pi cwd to repo root before `git diff`.- Path filters are rebased from Pi cwd to repo root before `git diff`.61 61 - Uses `git diff --no-ext-diff --find-renames --src-prefix=a/ --dst-prefix=b/- Uses `git diff --no-ext-diff --find-renames --src-prefix=a/ --dst-prefix=b/62 62 --unified=3`. --unified=3`.
63 + - Preserves rename metadata in staged diffs.64 + - Normalizes quoted git paths for diff parsing.63 65 - Starts a local HTTP server on `127.0.0.1`; prefers port `47717`, falls back to- Starts a local HTTP server on `127.0.0.1`; prefers port `47717`, falls back to64 66 an ephemeral port if busy. an ephemeral port if busy.65 67 - Review URL carries a token.- Review URL carries a token.extensions/diff-review/assets/diff_review_browser.gif Modified Binary size (old → new): 180264 → 250712 bytes.
extensions/diff-review/assets/diff_review_terminal.gif Modified Binary size (old → new): 90288 → 90749 bytes.
extensions/fast/README.md Modified +26 / −9 text lines
7 7 Loaded through the root `pi-ext` package.Loaded through the root `pi-ext` package.8 8 See [../../README.md](../../README.md).See [../../README.md](../../README.md).10 + ## Commands / tools / settings 18 + - `session_start`: refreshes settings from the session cwd.19 + - `model_select`: refreshes settings from the session cwd.
31 + `fast.enable` is a boolean. Project settings override global settings.20 34 ## Behavior## Behavior22 - When enabled, wraps `openai-codex` streaming and sends native `serviceTier: 36 + Registers provider `openai-codex` with API `openai-codex-responses`.38 + When enabled, wraps `openai-codex` streaming and sends native39 + `serviceTier: "priority"`.41 + When disabled, uses the normal simple OpenAI Codex response stream.30 - `openai-codex-responses`45 + - provider: `openai-codex`46 + - API: `openai-codex-responses`31 47 - all OpenAI Codex models- all OpenAI Codex models49 + Reasoning options are clamped for the selected model before sending.50 + If the clamped reasoning level is `off`, no `reasoningEffort` is sent.35 52 No model allowlist.No model allowlist.extensions/footer/README.md Modified +3 / −6 text lines
11 11 ## Install / load ## Install / load 13 13 Loaded through the root `pi-ext` package.Loaded through the root `pi-ext` package.14 - See [root README](../../README.md).14 + See [root README](../../README.md).16 16 ## Commands / tools / settings ## Commands / tools / settings 45 45 Optional fields:Optional fields:46 46 `variants`, `icon`, `color`, `bar`, `suffix`, `order`.`variants`, `icon`, `color`, `bar`, `suffix`, `order`.49 - undefined }` to remove a segment.48 + Send ` { id, text: undefined }` to remove a segment.51 50 Segments sort by `order`; default is `50`.Segments sort by `order`; default is `50`.52 51 Current session name is inserted in the `workspace` zone with order `0.5`.Current session name is inserted in the `workspace` zone with order `0.5`.63 62 Bar values clamp to `0..100`.Bar values clamp to `0..100`.65 64 Publishes capability state at `Symbol.for("@bugabinga/pi-ext-footer")`:Publishes capability state at `Symbol.for("@bugabinga/pi-ext-footer")`:65 + `{ version: 1, loaded: true }`.69 66 On quit/reload shutdown, `loaded` becomes `false`.On quit/reload shutdown, `loaded` becomes `false`.71 68 Hidden mode swaps in a zero-height footer stub.Hidden mode swaps in a zero-height footer stub.extensions/footer/assets/footer.gif Modified Binary size (old → new): 535294 → 62531 bytes.
extensions/ghost/README.md Modified +1 / −1 text lines
5 5 ## Install / load ## Install / load 7 7 Loaded through the root pi-ext package.Loaded through the root pi-ext package.8 - See [root README](../../README.md).8 + See [root README](../../README.md).10 10 ## Commands / tools / settings ## Commands / tools / settings extensions/git-safe/README.md Modified +2 / −0 text lines
21 21 optional branch name optional branch name23 23 - `session_start` - `session_start`24 25 - `tool_result` for `read` - `tool_result` for `read`25 26 - Settings:- Settings:56 57 count, symlink count, symlink paths, and warnings count, symlink count, symlink paths, and warnings57 58 - recovers marked clone dirs on `session_start` by scanning cwd, temp dir,- recovers marked clone dirs on `session_start` by scanning cwd, temp dir,58 59 `~/.local/state/pi`, and home up to depth 4 `~/.local/state/pi`, and home up to depth 4
60 + - cancels stale async recovery work on `session_shutdown`59 61 - notifies UI when recovered clone dirs are found- notifies UI when recovered clone dirs are found60 62 - wraps text `read` results from tracked clone dirs in `<untrusted_external_data- wraps text `read` results from tracked clone dirs in `<untrusted_external_data61 63 marker="...">` markers with a git-specific warning preamble marker="...">` markers with a git-specific warning preambleextensions/leaks/README.md Modified +17 / −3 text lines
5 5 ## Install / load ## Install / load 7 - Loaded through the root [pi-ext package](../../README.md).7 + Loaded through the root [pi-ext package](../../README.md).9 9 ## Commands / tools / settings ## Commands / tools / settings 12 12 `/leaks status|reload|test <text>|clear`.`/leaks status|reload|test <text>|clear`.
17 + provider requests, context messages, tool calls, assistant message end.14 19 Settings namespace:Settings namespace:15 20 `leaks` in Pi `settings.json`.`leaks` in Pi `settings.json`.20 25 "enabled": true, "enabled": true,21 26 "keywords": ["acme-internal"], "keywords": ["acme-internal"],22 27 "regex": [{ "pattern": "foo_[A-Za-z0-9]{32}", "label": "FOO_TOKEN" }], "regex": [{ "pattern": "foo_[A-Za-z0-9]{32}", "label": "FOO_TOKEN" }],23 - "secretFiles": [".env", ".env.local"],28 + "secretFiles": [".env", ".env.local", ".env.*.local" ],24 29 "exclude": ["localhost", "127.0.0.1"] "exclude": ["localhost", "127.0.0.1"]29 34 ## Behavior ## Behavior 31 36 Redacts only copies sent to providers.Redacts only copies sent to providers.32 - Local tools receive restored args.37 + Context-message copies are redacted without mutating originals.38 + Local tools receive restored args before execution .33 39 Final assistant messages are restored locally.Final assistant messages are restored locally.
40 + Secret values are loaded from configured files relative to Pi cwd.41 + Built-in rules cover common AI provider tokens, developer tokens, cloud keys,42 + JWTs, private keys, and selected connection strings.43 + Custom `keywords` use smart boundaries.44 + Custom `regex` entries may be strings or objects with `pattern`, `flags`, and46 + Generic assignment redaction requires sufficiently random values and skips47 + common false positives.34 48 Placeholders are generic:Placeholders are generic:35 49 `__LEAK_<hash>__`.`__LEAK_<hash>__`.extensions/model-info/README.md Modified +9 / −5 text lines
1 1 # model-info # model-info 3 - Pi model and thinking telemetry.3 + Model and thinking telemetry for Pi.5 5 ## Install / load ## Install / load 7 7 Loaded through the root `pi-ext` package.Loaded through the root `pi-ext` package.8 - See [root README](../../README.md).8 + See [root README](../../README.md).10 10 ## Commands / tools / settings ## Commands / tools / settings 18 18 Settings read:Settings read:20 20 - `fast.enable`:- `fast.enable`:21 - appends ` fast ` when current provider is `openai-codex`.21 + when the current provider is `openai-codex`, appends ` fast ` if enabled .22 + Project setting overrides global setting.25 26 - `session_start`, `model_select`, `thinking_level_select`, `session_compact`:- `session_start`, `model_select`, `thinking_level_select`, `session_compact`:26 27 publish telemetry. publish telemetry.27 28 - `session_shutdown`:- `session_shutdown`:28 - clear published status/footer segment.29 + clears published status/footer segment.30 31 Events emitted:Events emitted:48 49 Model label uses the last `/`-separated model id segment.Model label uses the last `/`-separated model id segment.49 50 Missing model becomes `no-model`.Missing model becomes `no-model`.51 - Thinking level comes from `thinking_level_select`; otherwise from latest52 + Thinking level comes from `thinking_level_select`; otherwise from the latest52 53 `thinking_level_change` session entry; fallback is `off`.`thinking_level_change` session entry; fallback is `off`.
55 + Publishing only runs when UI is available. On shutdown, the extension clears its56 + footer segment and status fallback.extensions/neko/README.md Modified +1 / −1 text lines
7 7 ## Install / load ## Install / load 9 9 Loaded through the root pi-ext package.Loaded through the root pi-ext package.10 - See [root README](../../README.md).10 + See [root README](../../README.md).12 12 ## Commands / tools / settings ## Commands / tools / settings extensions/nu-bang/README.md Modified +5 / −2 text lines
9 9 ## Install / load ## Install / load 11 11 Loaded through the root pi-ext package.Loaded through the root pi-ext package.12 - See [root README](../../README.md).12 + See [root README](../../README.md).14 14 ## Commands / tools / settings ## Commands / tools / settings 28 28 Pi-provided command. Pi-provided command.29 29 - Commands run as `nu -l --no-history --error-style fancy --table-mode none -c- Commands run as `nu -l --no-history --error-style fancy --table-mode none -c30 30 <command>`. <command>`.31 - - Stdout and stderr stream back through Pi shell execution.
32 31 - Execution receives Pi cwd, env, abort signal, and timeout.- Execution receives Pi cwd, env, abort signal, and timeout.33 32 - Working directory is checked before execution and completion.- Working directory is checked before execution and completion.34 33 - Abort and timeout send `SIGTERM`, then `SIGKILL` after 250 ms if the process- Abort and timeout send `SIGTERM`, then `SIGKILL` after 250 ms if the process35 34 group is still alive. group is still alive.
35 + - Output has terminal control sequences removed before it is returned.36 + - Long output is truncated with Pi's output truncation helper.37 + - Truncated full output is written to `pi-nu-bang-output-*.log` temp files with36 39 - `session_start` wraps the current autocomplete provider.- `session_start` wraps the current autocomplete provider.37 40 - Bang completion strips leading `!` or `!!` before asking Nushell for- Bang completion strips leading `!` or `!!` before asking Nushell for38 41 completions. completions.extensions/prompt-autopsy/README.md Modified +6 / −11 text lines
5 5 ## Install / load ## Install / load 7 7 Loaded through the root pi-ext package.Loaded through the root pi-ext package.8 - See [../../ README.md ](../../README.md).8 + See the [root README](../../README.md).10 10 ## Commands / tools / settings ## Commands / tools / settings 17 - `session_start`, `session_shutdown`, `before_agent_start`, `agent_start`12 + - Command: `/prompt-autopsy`13 + - Shortcut: `Ctrl+Alt+A`14 + - Hooks: `session_start`, `session_shutdown`, `before_agent_start`, `agent_start`23 18 ## Behavior ## Behavior extensions/prune/assets/prune.gif Modified Binary size (old → new): 267812 → 269756 bytes.
extensions/terse/assets/terse_after.gif Modified Binary size (old → new): 417710 → 356155 bytes.
extensions/terse/assets/terse_before.gif Modified Binary size (old → new): 403352 → 464469 bytes.
extensions/tldr/assets/tldr.gif Modified Binary size (old → new): 176452 → 191929 bytes.
extensions/tps/assets/tps.gif Modified Binary size (old → new): 148520 → 153813 bytes.