repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

CHANGELOG.md

Raw

Changelog

Unreleased

0.0.3

0.0.2

0.0.1

Markdown source
File outline
# Changelog

## Unreleased

- Add on-demand IntelliJ MCP connections with project-scoped tools, saved loopback endpoints, connection health status, readable tool results, connection management commands, and faster large tool-catalog loading
- Improve IntelliJ footer status readability and report saved-settings read failures in `/intellij status`
- Add Verboten protected-path blocking, filtered grep results, and judged Bash or PowerShell commands
- Fix IQ scoring and storage across platforms, including stable session-settling checks
- Make Nu diagnostics tests compatible with supported version differences
- Fix Web so its extension tools activate when a session starts
- Add IQ for confirmed longitudinal model scoring with cited evidence, safe concurrent scans, and a responsive `/iq` leaderboard
- Add Masks for quickly switching between named model and thinking combinations with `/masks`, `Alt+M`, configurable direct shortcuts, and fuzzy matching
- Let prompts select a Mask for one agent turn with an optional `mask` frontmatter field
- Change Tune's fullscreen shortcut to `Ctrl+Alt+T`
- Generate git-safe's fixed-executable wrapper on first Bash use and reuse it across reloads
- Defer unused extension implementations, PATH checks, settings reads, prompt loading, and RTK probes beyond startup and reload
- Lazy-load Ultra execution, workflow discovery, validation, and workflow tool registration until first use unless `ultra.auto_enable` is enabled
- Let `ultra.auto_enable` activate Ultra's workflow tool when each session starts
- Retain Ultra sub-agent sessions as named parent-linked children, resume matching interrupted steps, and provide an explicit stateless opt-out
- Let Ultra load one static extension-name allowlist into every sub-agent while preserving `"all"` as the default
- Let loaded extensions activate their own Ultra sub-agent tools without extension-specific workflow tool names
- Let Ultra create, check out, validate, publish, reuse, and load dynamic extensions from a canonical catalog under Pi's agent directory; keep one accepted version per name, isolate editable drafts in the platform cache, reject stale updates, retry deliberate rebases once, and publish atomically
- Treat manually edited canonical dynamic extensions as unvalidated until they are validated in place, and require revalidation when the validator contract changes
- Validate dynamic extension drafts with real Pi loading, `node:test` capability coverage, structural checks, deterministic network-free tests, and hot-path benchmarks; report load and benchmark overruns as advisory warnings, report actionable diagnostics for every independent correctness failure, and retain unpublished drafts when validation is cancelled
- Give dynamic-extension builders every available tool except recursive Ultra workflow execution while keeping consumer agents unaware of the build system
- Load one or more dynamic extensions after configured extensions, resolve stable names to recorded source hashes for each run, preserve declared order, require explicit qualified override metadata for collisions, and block consumer phases when extension building fails
- Let Ultra repair dynamic extensions after consumer failures and rerun the original workflow, reusing unaffected checkpoints without a fixed repair-cycle limit
- Give dynamic extensions bounded, redacted NDJSON debug logs in the platform cache that Ultra can inspect on demand and retain for seven days
- Let Ultra search only canonical dynamic extensions with bounded deterministic matching over manifest metadata and selected README sections
- Make Ultra progress rows task-first, with two-line active/failure detail and compact terminal rows for completed work
- Count every Ultra sub-agent response and failed result-submission attempt in token and cost totals
- Remove synchronous Pulse Git processes, use the current Node process version, and fold vcs-status stash detection into its existing Git status process
- Remove the Overkill and Q extensions
- Remove the Goal, Diff Review, and Devil extensions
- Remove the Cwd, Split Fork, LLM Iterate, and Goldfish extensions
- Remove the unneeded `builtin-tools` extension and `/builtin-tools` command
- Update npm dependency lockfile to latest resolved package versions
- Replace dprint and markdownlint-cli2 with rumdl for Markdown, Taplo for TOML, and yq frontmatter validation; add structural Markdown checks for links, footnotes, fences, TOCs, anchors, encoding, and comments
- Pin all Pi packages to 0.84.3 and modernize extensions for API changes around agent sessions, provider headers, auth, and RPC messages
- Store Klaus sessions separately under Pi's configured session directory, never in normal Claude session storage; non-persisted Pi sessions and sessionless model calls remain isolated in memory
- Make Klaus SDK upgrades exact-version cutovers with once-only asynchronous startup migrations; Pi remains responsive while Klaus waits, and failed migrations preserve existing data
- Preserve exact Pi branch context in Klaus through turn checkpoints and Claude SDK session fork and resume APIs, without runtime fallbacks or private transcript manipulation
- Follow Pi's canonical context replacement during compaction by starting a new Claude lineage from Pi's summary; disable Claude SDK auto-compaction
- Make Klaus use Pi's system prompt and tools while disabling optional Claude tools, settings, memory, compaction, and external MCP integrations
- Keep Pi authoritative for Klaus tool execution, including permissions, UI, events, and transcripts; forward only model-facing text, images, and error status from tool results, and support tools added or removed by extensions during active turns
- Preserve Pi tool schema validation in Klaus; reject required JSON-schema constrained sampling and fall back for preferred or unsupported grammar constraints
- Preserve Pi provider hooks in Klaus through transformable logical requests and virtual `x-klaus-*` response metadata that never reaches Anthropic
- Treat Klaus request timeouts as sliding Claude-activity timeouts, paused while Pi tools run; ignore unsupported output-token limits
- Make Klaus discover available Claude models with Pi's OAuth and never auto-probe undiscovered models that could consume usage credits
- Advertise one current Klaus model per Claude family and map each explicit Pi model ID to Fable, Opus, Sonnet, or Haiku without silently upgrading it
- Let Fable proceed when absent from authenticated discovery, with a usage-credit warning shown once per Pi session
- Support Pi thinking in Klaus, mapping `minimal` to `low`, preserving supported levels, disabling it for `off`, and warning when unsupported levels are reduced
- Preserve Pi steering and follow-up order across Klaus provider turns and pending-tool boundaries
- Fix Klaus parallel tool continuations, sessionless tool-call failures, and aborted requests
- Fix Klaus lifecycle cleanup so concurrent completion and session teardown await one Agent SDK shutdown
- Fix Klaus prompt translation so subscription-triggering phrases no longer cause third-party-app usage errors while the available skills section, `.pi`, paths, and compound names such as `pi-ext` remain unchanged; keep Pi identifiable to the model and warn once per session when upstream prompt changes prevent expected translations
- Add automatic Klaus setup on Android through an isolated `grun` launcher
- Support concurrent Klaus calls from extensions that create Pi agent sessions or make direct model calls
- Reap idle secondary Klaus queries after 15 minutes, refreshing the timeout on provider or tool activity and replaying canonical Pi context if a later result arrives
- Report Klaus API-equivalent spend using Pi's current Anthropic rates and recognized fallback model rates while keeping token usage and warning that actual subscription or Fable credit usage may differ
- Document that Klaus uses Anthropic's proprietary Claude Agent SDK under its commercial terms without vendoring the SDK
- Add Decay to classify and compact session history into ranked durable memory, with a passive progress widget that keeps Pi's editor available for queued steering and Escape cancellation, plus automatic fallback to Pi's default compaction on failure
- Let Decay use a separately configured model for summarization
- Fix Decay compaction reliability by assigning source provenance locally instead of relying on model output
- Fix Decay summarization failures on large compactions by using the provider's standard streaming path
- Fix repeated Decay compactions so paraphrased memories reuse the same identity without being counted as new occurrences
- Add Continuity to automatically resume the current task after context compaction while yielding to queued messages and active Goal or Tune runs
- Fix Continuity so it resumes user intent only when actionable work remains and stops instead of rerunning completed checks, retrying known blockers, or inventing follow-up work
- Make cmprss retrieval use bounded exact UTF-8 ranges, capped at 8192 bytes per call, with continuation offsets and replay-persistent savings accounting; preserve structurally rare JSON items and short search outliers during compression
- Shorten the cmprss footer status with the Nerd Font compress icon
- Fix The System README artifact path docs to show plural directories
- Make `/system init` deterministic with confirmation; it creates schema 0 config, board state, plural artifact directories, and core files directly
- Add an optional project title to The System config; `/system init` writes it from the project directory name and rendered books use it
- Require one-shot human approval before mutating existing System core documents or spec and phase files, and reject oversized core documents before approval
- Seed `/system init` core files with concise SYSTEM, MISSION, and RULES role guidance while preserving existing core content on rerun
- Fix `/system init` so rerunning in an initialized project reuses the existing prefix instead of asking again
- Fix exact `/system` subcommands such as `doctor` and `book` so autocomplete does not consume Enter
- Add `/system edit <path|id|slug>` to open System documents in VISUAL, EDITOR, or a platform editor
- Fix `/system edit` on Windows so quoted editor paths and file paths preserve backslashes and launch correctly
- Fix `/system edit` fallback selection so `termux-open` is used only on Termux/Android and other platforms keep their native editor fallback
- Fix The System document prompt and governance to require plural artifact directories and block unknown `.system` paths such as `.system/spec`
- Fix `/system view` and `/system book` HTML output so rendered pages include document bodies and open in the browser
- Fix `/system view` and `/system book` on Windows to use the native URL handler without flashing a command window
- Fix rich System doc rendering so heading anchors are document-scoped and iframe embeds use browser-loadable file URLs
- Fix `/system book` Mermaid diagrams so they load from local file output in browsers
- Fix `/system book` layout so the On this page sidebar and referenced-by panels no longer overlap content, referenced-by panels are collapsible at the end of pages, the dossier uses full width, header elements align, empty diagnostics are hidden, law navigation avoids duplicate labels, project metadata is used for titles and favicons, and graph labels no longer overflow boxes
- Fix `/system book` mobile layout so navigation drawers start collapsed, headings and topbar scale responsively, and the reference graph uses a constrained initial viewport
- Fix `/system book` at limited desktop widths so the right utilities rail is hidden instead of covering graph controls
- Fix `/system book` document links so they navigate within the book instead of jumping to separate file pages
- Fix `/system book` layout so clicking document links no longer causes horizontal scroll or layout corruption
- Improve `/system book` with a responsive dossier reader, fixed header and left navigation with utilities merged in instead of a separate right box, collapsible navigation, attached search results with highlights, diagnostic links, reference graph, Nugu colors, and print CSS
- Improve The System book reference graph with all linked docs, pan/zoom controls, touch gestures, clickable node links, text fallback, and Dagre primary-edge layered layout to reduce crossing and clutter
- Fix The System book reference graph so pan/zoom handling no longer breaks node links
- Remove redundant helper text from The System book reference graph header
- Update The System lifecycle design around one `/system` command with subcommands for init, doctor, view, book, research, spec, spec-verify, phase, plan, issue, and exec
- Update The System lifecycle stages: the small path is `spec -> exec`; the larger path is `research -> spec -> spec-verify -> phase -> plan -> exec`; optional stages never auto-chain
- Update The System lifecycle IDs to schema v3 token IDs and rename roadmap terminology to phase terminology
- Update The System lifecycle design so phase and plan status is `draft` or `approved`; `approved` means human-approved, immutable, and exec-eligible, while supersession happens by creating a new artifact with prose references
- Require interactive approval before changing a phase or plan from `draft` to `approved`
- Add turn-scoped `system_slot` allocation so semantic titles produce slugs and one command can reserve multiple unique bundle IDs
- Update The System lifecycle metadata: specs have `id`, `type`, `title`, and optional `research`; phases have `spec`, `status: draft|approved`, and optional `depends_on`; plans have `spec`, optional `phase`, `status: draft|approved`, and optional `depends_on`; issues have `specs` without status; `spec-verify` creates no canonical document
- Add The System dependency validation and rendering for phase and plan `depends_on`, including same-spec checks, dangling-reference and cycle diagnostics, reference graph edges, and dependency-aware book ordering
- Update The System rich-Markdown design to use phases instead of roadmaps in the lifecycle model
- Remove The System top-level prompt templates; `/system` subcommands use internal prompt includes for document and Markdown knowledge
- Add initialized-project-only GFM, TeX, and Mermaid format skills that activate only after the format is selected; `/system init` requests a reload when needed
- Keep generated `/system` lifecycle turns alive in print and JSON modes
- Remove unused The System renderer dependencies
- Add terse artifact detail budgets for System docs; plans stay at module/interface/package/class level, and all System docs avoid real code snippets in favor of essential pseudocode
- Fix The System runtime warning so it stays quiet until a project opts into `.system`
- Improve The System startup performance in projects without `.system` by skipping governance loading
- Redefine The System phases as selectable project-wide operating epochs, inject the current phase, show it in Pi status, foreground it in the book, and reset the unreleased schema to version 0
- Make `/system init` update config and board schema markers mechanically, then offer agent-led bundle migration after config schema changes
- Fix rejected System config edits so errors no longer mislabel them as phase changes
- Add `/system board` for persistent spec, plan, and issue status tracking, plus reviewable proposals from `/system assess` and completed `/system exec` runs
- Fix System board proposals so expanded details are not repeated in the result
- Fix `/system assess` so board proposals remain available across clarification turns and compaction
- Add a generally invocable vertical-slicing skill and require `/system exec` to use it for thin, complete, verified slices
- Prevent The System E2E tests from opening a browser
- Keep one mockup page open across iterations with live Pi-backed progress, authenticated agent cancellation, and best-effort closing on acceptance
- Fix mockups on Windows so the browser opens in the foreground through the native URL handler
- Fix mockup edge annotations so they stay contained without horizontal scrolling
- Preserve mockup iteration HTML, feedback, summaries, selection metadata, and result context in the OS cache and across compaction, while keeping only essential accepted artifacts in project bundles
- Make System specs use mockups for visual and interaction choices, save accepted HTML as linked bundle assets, and capture feedback as behavior and constraints
- Auto-prune closed mockup cache entries when their sessions are missing, after 30 days of inactivity, or by oldest use above 256 MiB
- Use `/ultra exec <instructions>` to design or execute a workflow and `/ultra run <name> [args]` to run a saved workflow; bare `/ultra` enables the hidden `run_workflow` tool and confirms activation
- Use Ultra only when independent parallel work, staged agent handoffs, or isolated specialist contexts materially improve the result
- Make `/ultra exec` show the complete orchestration prompt as a user message, choose between a one-off and saved workflow from reuse intent, and ask one focused question when uncertain
- Add `/ultra` autocomplete for `exec` and `run`, with saved workflows completed under `run`
- Remove Ultra background runs and `/ultra history`; workflows now run interactively without persisted run history
- Improve Ultra progress with phase-first expandable views, transcript navigation, native Pi tool rows and `Ctrl+O` output expansion, checkpoint, token, and cost details, and final outcomes
- Add optional `ultra.actionSummarizerModel` summaries that replace raw Ultra tool arguments with concise action phrases; rapid actions coalesce per agent, only one summary request runs at a time, final pending actions are flushed when an agent finishes, collapsed transcripts hide redundant tool previews, summaries are bounded, and `Ctrl+O` still shows native tool details and results
- Hide Ultra's internal `structured_output` completion tool from progress summaries
- Make every Ultra workflow step submit structured output through one validated contract, with strict schema sampling where supported and same-session reminders for missing results
- Improve Ultra's review workflow with readable analysis, verified findings, and concrete next steps instead of raw JSON output
- Add Ultra's shipped `research` workflow with parallel web evidence gathering, gap auditing, adversarial verification, and a cited human-readable report
- Load skills in Ultra's tool-using sub-agents by default with `ultra.subagentSkills: "none"` as the opt-out, and refuse workflows requiring unavailable tools
- Let Ultra run mutating fanout when a phase declares a write-isolation rationale, trusting the orchestrator to assign disjoint ownership while loading normal extensions unchanged
- Fix Ultra progress so phase transitions and completion preserve terminal scrollback
- Require two Esc presses to confirm aborting an entire Ultra run
- Fix Ultra tool-step cleanup so teardown errors do not hide a completed workflow step
- Remove Ultra's exported authoring skill; `/ultra exec` now sends the workflow authoring prompt internally
- Fix Pulse TAB completion
- Fix Notes so `/tree` restores notes from the selected branch and `/new` asks whether to carry pending notes into the new session
- Disable all mise-managed tools on Android to avoid platform-specific tool failures
- Speed up Mise workflows with direct task references and parallel CI check and lint stages
- Fix the uv extension on Windows by skipping incompatible shell shims while retaining command blocking
- Fix RTK rewriting so `find` commands keep exact path semantics unless RTK passes a path capability probe, and notify users when rewrites are disabled or the compatibility guard can be removed
- Replace the tmux-only terminal skill with a terminal harness for observable TUI testing through tmux or WezTerm
- Harden git-safe against hook-skipping Git options through aliases, shell indirection, nested Bash, `xargs`, and child-process PATH lookup, including Git Bash on Windows
- Fix git-safe startup on Windows when commands clear or replace `PATH`, or disable MSYS argument conversion; give actionable errors without exposing launcher internals when Git cannot start
- Fix git-safe cloning on Windows so valid deep destination paths are accepted

## 0.0.3

- Rename autoresearch to tune; add jj backend, state migration, timeout clamps
- Rework diff-review to SSR reviews; add headless Vitest coverage
- Add sparse safe clones, capped web fetch cache, and goal planner dossier
- Rework q extraction; add benchmark and 112 parser tests
- Retire superpowers; move workspace to npm, Vitest, dprint, Biome, tsc, mise

## 0.0.2

- Bump package.json from 0.0.1 to 0.0.2
- Update README install examples to git:github.com/bugabinga/pi-ext@v0.0.2
- Leave extension sources, READMEs, tests unchanged from v0.0.1

## 0.0.1

- Ship initial pi-ext set:
  goal, tldr, leaks, tps, quota, vcs-status
- Add goal loop:
  autocomplete, progress UI, standing prompts, judge-gated updates
- Add tldr live summaries, model footer, quota parsers, jj-aware workspace
  status
- Fix session startup races, stale telemetry, aux LLM calls, provider secret
  leaks
- Measure TPS from first assistant delta; ignore baseline stream chunks