Changelog
Notable changes to Wisp, with an emphasis on the event contract that JSON, RPC, and SDK consumers integrate against.
WispEvent payloads carry no per-event version, and a backend and frontend must be the same Wisp
release. schemas/live-rpc/ describes the current release’s wire contract; the typed models live in
the src/wisp/events/ package. Event changes are recorded under the release that makes them.
The ## Live RPC protocol vN and ## Schema vN headings below are historical records from before
this policy.
0.16.13 — Unreleased
- Rewind to an earlier prompt. Press
Esctwice in an empty, idle composer and choose a prompt to fork the session and edit its text and images. The original conversation stays available in/resume, and workspace files keep their current contents. #1173 - Watch background processes while you work. The Session panel shows live terminal output, including ANSI colors and progress updates. Expand a process for more room to read its output. #1174
- Find keyboard shortcuts beside the conversation. Open Shortcuts from the top bar or press
Ctrl+Gthenk. Search by key or action to see your configured bindings. #1175 - Read model and session state in the footer. Powerline segments show the model, mode, permissions, and workspace. Badges show run state, context usage, and session cost when available. Compact layouts prioritize run state, permissions, and context. #1176
- Live RPC adds an optional
viewtoget_session_treeand an optionalexpected_active_leaf_idtofork_session. Use matching backend and frontend versions. Existing sessions open without migration.
0.16.12 — 2026-11-27
- Add
/verbosity(low,medium,high) transcript toggle (#1160). Switch between quiet turn skimming (low), balanced output (medium, default), and full detail with expanded thinking, ungrouped calls, diffs, and inline bash output (high), persisted in~/.wisp/tui.jsonwithout changing backend history or hiding errors. - Speed up repeated session reads and projections (#1161).
Cache run snapshots and resolved tree state on
JsonlSessionand fast-path unchanged refreshes when file signature and generation match. - Exhaustive typed live event projection in
wisp-tui(#1162, #1163, #1164, #1165). Project all 76WispCurrentLiveEventOutputvariants directly from generated Rust wire types viapayload()and remove live JSONValuefield lookups, while keeping trace replay untouched. - No wire-contract, Python SDK, or saved-session format changes. Use matching
0.16.12backend and frontend packages.
0.16.11 — 2026-11-27
- Find text in a session (#1155). Press
Ctrl+Fto search messages and retained tool output, including older history. Press Enter to jump to a match or Esc to return without moving. - Keep telemetry visible with the side panel docked (#1156).
- Replay large compactions faster (#1157). Checking the replaced message IDs now takes linear time without changing the replay result.
- Read recent conversation text while history loads (#1158). In local 50k-message runs, median time to the newest visible turn fell from 3.41 s to 0.99 s. The preview is read-only: the first accepted prompt came later (4.99 s → 5.23 s). If Wisp cannot verify the preview, normal loading continues.
- Live RPC adds the optional
rpc.startup.history_previewevent. Use matching0.16.11backend and frontend packages. The saved-session format is unchanged.
0.16.10 — 2026-11-26
- Lower-latency live browser interaction (#1150). Keep layout and input coordinates stable while sending smaller frames during scrolling and typing, dispatch idle live keys immediately, and avoid costly recompression of dense Rex frames.
- Per-tool-family verb colors (#1151).
Color built-in tool call action verbs by tool family via
Palette::chipon a plain background, keeping failed calls inpalette.error, unrecognized tools in bold foreground, and monochrome mode in bold alone. - Wider prose measure and docked panel cap (#1152).
Raise
MAX_PANEL_WIDTHfrom52to76so the docked side panel scales up cleanly on wide terminals, and widenPROSE_COLUMNSfrom88to100to matchMIN_TRANSCRIPT_WIDTH. - Two-row telemetry deck under the composer (#1153).
Replace the 1-row footer with a 2-row
╭─/╰─telemetry deck on undocked terminals (height >= 16,width >= 60) showing dot + lowercase status (• idle,● working,● approval,✗ error), workspace cwd, git branch, MCP status, activebg/subcounts, right-aligned notices or#session_id, context meter, session cost, and keycap hints, falling back to the 1-row footer on narrow, short, docked, or decision-pending screens. - No changes to the live RPC contract, Python SDK, or saved-session format since 0.16.9. Use the
matching
0.16.10backend and TUI together.
0.16.9 — 2026-11-26
- Live browser rendering in Rex. When Wisp runs directly in Rex, the built-in browser can send losslessly compressed pixels for scrolling and other viewport updates. Wisp keeps the original PNG when it is smaller. The browser is experimental, with most testing in Ghostty and Rex. #1148
0.16.8 — 2026-11-23
- Responsive Files browsing (#1145). The sidebar loads the root first and fetches folder
contents as you expand them. Refresh keeps the current tree, selection, and expanded folders
usable. Retry a failed folder directly. The Files filter and
@picker share a background index and show available matches while it scans. - GPT-6.2 Codex prompt caching and verification (#1143). Stable instructions can reuse a cached prefix while turn-specific guidance stays separate. The agent keeps approved edit scope explicit and can use a successful exact edit to verify a narrowly scoped wording change.
- Evaluation reporting (#1143, #1144). Eval reports track model requests and tool rounds per successful result, and runs can replay exact prompt snapshots. The SWE-bench Pro V2 pilot records the pinned eight-task sample and reports results separately for each model and prompt.
- Live RPC discovery.
get_project_filesaccepts optionaldirectoryandprogressivearguments.rpc.project_filesreports the directory scope and whether indexing is still in progress. Use the matching0.16.8backend and TUI. Existing saved sessions open without migration.
0.16.7 — 2026-11-23
- Click to preview and edit from Files (#1140): Click a file to open a read-only preview, or
press
eon a selected file to open it in your editor. Saving and exiting refreshes the preview and Git status without changing your chat draft. On narrow terminals, the preview stacks below the file tree. - Context usage and turn growth (#1141): The docked Session panel adds a segmented context
gauge, a per-turn sparkline, and the latest completed run’s throughput and duration when
available.
/contextcharts token growth on wider layouts and keeps the list on narrow ones. - No changes to the live RPC contract, Python SDK, or saved-session format since 0.16.6. Use the
matching
0.16.7backend and TUI together.
0.16.6 — 2026-11-23
- Easier-to-scan Files sidebar (#1138): The Rust TUI adds tree guides, a selection rail, a filter bar with match counts, and a scrollbar when the list overflows. Long names shorten in the middle, session-touched files show parent folders when space allows, and Git line counts align on the right.
- File and folder icons (#1138): Material Design icons are on by default wherever they fit. Use a Nerd Font v3 Mono terminal font to render them correctly. On narrow rows, filenames and Git counts take priority over icons.
- No changes to the live RPC contract, Python SDK, or saved-session format since 0.16.5. Use the
matching
0.16.6backend and TUI together.
0.16.5 — 2026-11-22
- Interactive
!shell mode and optional output sharing (#1134): Run local shell commands from the Rust TUI composer (!<command>), attach or detach their output for the next prompt withAlt+S, and handle local commands over the newrun_shelllive RPC command alongside system prompt guidance telling the model when to ask the user to run local commands. - Agent-aware
Filesside-panel tab andWork→Sessionrename (#1135): Renamed the first side-panel tab fromWorktoSession(Session | Files | Browser) and added theFilestab with pinnedTOUCHED THIS SESSIONentries, single-child directory compaction, git status/+N -Mbadges,/live filter,@pathcomposer insertion,/diffhandoff, and guarded no-follow/nonblocking split code preview (f/Enter). - Parallel turn & subagent swimlane waterfall timeline (#1136): Added a horizontal
wall-clock Gantt timeline in the
Sessiontab (f/t) that groups overlapping parallel tool batches, expands nested subagent and codemode child spans, tracks live streaming reasoning andInstant-aligned concurrent tool calls, keeps mid-run steering injections in their original turn, and falls back to compact duration bars on narrow widths. - Adds the
run_shellcommand to the0.16.5live RPC schema bundle (schemas/live-rpc/). No saved session migration is needed; use the matching0.16.5backend and TUI together.
0.16.4 — 2026-11-22
- Parallel
bashpolling and bounded same-process waits (#1132):bash(operation="poll")calls now run concurrently across distinct managed processes underasyncio.gatherand parallel tool batches. Concurrent polls on the same process respect their requestedwait_seconds(including immediatewait_seconds=0snapshots) and still wake onstop()/cancel(). - Separate
bashexit-status line (#1132): Completedbashoutput now puts a newline afterCommand exited with code Ninstead of:, so line-oriented parsing incodemodescripts preserves line 1 of stdout. The Rust TUI continues to accept both formats when rendering saved sessions. - Codemode Monty generator-expression guard (#1132): Documented that Monty evaluates
generator expressions as lists (not iterators) and added an actionable runtime hint when
next(x for ...)raisesTypeError: 'list' object is not an iterator. - No changes to the Python API, live RPC payloads, or session format since 0.16.3. Use the same release for backend and frontend.
0.16.3 — 2026-11-22
- Recover after an unanswered prompt (#1128): If a request fails or is cancelled before a reply, you can continue the same session on endpoints that require alternating roles. Wisp joins adjacent user prompts in the outgoing request only, preserving image order and the saved history.
- Codex continuation replay (#1129): When an output item has no ID but has an output position, Codex continuations replay its latest version once. Equal items at different positions stay distinct.
- TUI spinner timing (#1130): The status row draws the elapsed time sampled for that frame. Spinner tests no longer depend on whether the live timer ticks between draws.
- No changes to the Python API, live RPC payloads, or session format since 0.16.2. Use the same release for backend and frontend.
0.16.2 — 2026-11-22
- Action-oriented transcript tool labels (#1119, #1120, #1121, #1122, #1125): Updated TUI
transcript tool rows to show truthful outcome verbs and quiet approval tags, plus plain-language
verbs and subjects for built-in browser, discovery, server proposal, search, codemode, and common
MCP operations (Linear, Exa, OpenAI docs, Playwright) while retaining exact
server/toolidentity in expanded details and falling back toCalling/Called/Call server/toolfor ambiguous or unknown calls. - Tool schemas, codemode docs, and continuation (#1123, #1124): Documented remaining tool schemas and codemode guidance, added proactive continuation after approved plans or mockups, and added a short-poll nudge.
- HTML mockup previews in the live browser (#1126): Guided Wisp to write self-contained HTML
mockups in the scratch folder, serve them locally on
127.0.0.1, and open them in/browserwhen visual layouts are clearer in HTML than inline terminal text. - No changes to the Python API, live RPC payloads, or session format since 0.16.1. Use the same release for backend and frontend.
0.16.1 — 2026-11-21
- Close the Browser pane with one click (#1117): Click
[Close]beside[Expand]or[Restore]to dismiss the pane and close the live browser, even while interacting with the page. The Browser tab and keyboard shortcuts still work as before. - No changes to the Python API, live RPC payloads, or session format since 0.16.0. Use the same release for backend and frontend.
0.16.0 — 2026-11-21
0.16.0 upgrades the Rust TUI’s everyday editing, review, and approval workflows and refines Wisp’s
default response style: transcript copy with OSC 52 fallback, per-turn change summaries with
turn-filtered /diff, delta-style stateful syntax highlighting in diffs, richer approval prompts
with inline previews, mouse choice, and saved per-project command-prefix allow rules, and a cleaner
peer response style with medium Codex verbosity. The backend and every frontend must use the same
release.
Terminal UI and diff review
- Copy responses, messages, and code blocks from the transcript (#1111): Added
transcript.copy_last_response(Alt+Y, yielding to existing user overrides viaRECENT_DEFAULTS) to copy the latest assistant response as raw source Markdown, extended Browse mode (F6) to select and highlight individual messages and fenced/indented code blocks withycopying, and verified OSC 52 stdout fallback when the native clipboard is unavailable. - Per-turn change summary and turn-filtered
/diff(#1112): Added inline per-turn edit totals (+N −M in K files, colored in diff green/red and compacting on narrow widths) to closing╰RunSummaryrows for turns with completededit/writecalls. Addedtranscript.turn_diff(Alt+G) plus click and BrowseEnteron any turn’s change summary to open/difffiltered to that turn’s edited files (preserving turn attribution beyond the backend’s 16-edit per-file cap), withato toggle turn/all changes,</>to step across editing turns, active-pane focus headers, and cross-file[/]hunk stepping. delta-style stateful syntax highlighting in/diffand diff cards (#1113): Replaced stateless per-line diff highlighting with continuoussyntectParseStatehighlighting (highlight_lines/highlight_source_lines, bounded at 64 KiB / 2,000 lines) over fullbefore/afterfile sources in/diffand continuous old/new streams in inline diff cards, addedlanguage_for_path(handling diff status prefixes,Makefile/shell dotfiles, and.ts/.tsx/.jsxfiles), applied bold keywords and italic comments, and preserved readable (>= 4.5:1contrast) syntax foreground colors inside word-diff emphasis.
Approvals, permissions, and response style
- Richer approvals with inline previews, mouse choice, and saved command rules (#1114):
- Rendered inline syntax-highlighted diff previews for
editapprovals, numbered syntax-highlighted proposed content previews forwriteapprovals (without claiming a known before-state), and wrapped syntax-highlighted$ commandpreviews forbashapprovals inside the docked approval panel. - Added fail-closed simple-command prefix parsing, validation, conservative prefix suggestion,
token-based matching, and atomic per-project persistence in user-owned
~/.wisp/permissions/(rejecting shell metacharacters, chaining, redirections, subshells, escapes, comments, control/bidi characters, env prefixes, POSIX shell reserved words/builtins, disallowed executables, outside-workspace working directories, and broad folders like$HOME). - Added
2 Always allow \` (saved) (aliasp) on eligiblebashapprovals, single-click confirmation on painted approval choice rows (guarded byrendered_approval_matches; project trust stays keyboard-only), and a scrollableSaved command rulessection in/permissionswithd/Backspace/Enter` revocation.
- Rendered inline syntax-highlighted diff previews for
- Peer response style and Codex medium verbosity (#1115): Refined
DEFAULT_SYSTEM_PROMPT’sResponse style:section for quiet tool execution, contrastive peer cadence,- **Short label:**bullets, inline file/symbol retention, and bans on wide prose tables and bold-period bullets, and raisedopenai_codextext.verbosityfrom"low"to"medium".
Compatibility
- Session
schema_version6 and event-envelope format 1 remain unchanged;0.16.0reads existing0.15.xsessions. Sessions recorded by0.16.0that containtool.approval.requestedwithcommand_prefixortool.approval.resolvedwithrule_id: "command_allow_rule_v1"are rejected by0.15.0’s strict event decoder (downgrade limit; unchanged schema stamps do not imply reverse compatibility). schemas/live-rpc/andtests/fixtures/event_decoding_conformance.jsonadd therevoke_command_rulecommand,"command_prefix_project"toApprovalScope,"command_allow_rule_v1"toToolApprovalResolved.rule_id, optionalcommand_prefixonToolApprovalRequested, andcommand_allow_rulesonPermissionState. Frontends and external RPC clients must match the0.16.0release.- Supported Python APIs add
RevokeCommandRuleCommandinwisp.rpcandRpcController.revoke_command_rule(). Per-project~/.wisp/permissions/records gain optionalcommand_allow_rules, which0.15.0ignores.
0.15.0 — 2026-11-21
0.15.0 introduces an embedded interactive Chromium live browser with agent awareness in the TUI
side panel, inline image thumbnails in the transcript, a redesigned live-work side panel with top
tabs, sharing saved sessions with the next prompt, and scoped external reads in Auto commands.
The backend and every frontend must use the same release.
Embedded live browser
- Interactive live browser pane and persistent profile (#1098–#1103): Added the
Browserside-panel view (/browser) displaying live browser frames overbrowser.viewport.updatedusing KittyU=1Unicode placeholders (or iTerm2/Sixel/halfblock fallbacks), with centered overlay expansion (f/[Expand]), MCP takeover (browser_interact), interactive isolated Chromium tabs with high-DPI Retina capture, inline address bar and history/reload controls, a dedicated protected profile at~/.wisp/browser-profile(preserving sign-ins across launches and cleared viawisp browser clear), andsession_images_dirinrpc.workspaceso fresh runs resolve screenshots before first session persistence. - Browser start page, streaming frames, and 60 fps smooth scrolling (#1104, #1106, #1107,
#1109): Replaced the old empty pane with a start page (
get_browser_addresses/rpc.browser_addresses) featuring a focused address/search input (using the user-onlybrowser_search_enginesetting, defaulting togoogle) and the 20 most recent opened addresses; convertedlive_frameto a waiting request beside normal commands and coalesced wheel input; added 60 px ease-out scrolling across Chromium’s 60 HzrequestAnimationFrameloop (supporting Shadow DOM, same-origin iframes, RTL/negative-rangecolumn-reversecontainers, and CDPmouseWheelfallback); skipped redundant PNG decoding on unoccluded Kitty viewports; and reused a single Kitty image ID across frames. - Docked border resize cursor and Rex support (#1103, #1104, #1109): Added drag-to-resize on
the docked side panel border with held-image reflow on release, a 3-column hit area straddling
the left seam with signed grab tracking and subtle hover edge highlight, and OSC 22
ew-resizecursor feedback in supported terminals (including Rex viaTERM_PROGRAM=rexorREX_SESSION). - Agent live-browser awareness (#1108): Added agent tools (
browser_navigate,browser_read,browser_click,browser_type,browser_screenshot) driving Wisp’s shared live browser in docked or desktopwindowmode, bidirectional TUI/agent handoff, prompt guidance governed by the user-onlybrowser_default/WISP_BROWSER_DEFAULTsetting (live,mcp,none), and automaticprotected_pathsprotection for~/.wisp/browser-profile.
Terminal UI and sessions
- Inline image thumbnails in transcript (#1097): Rendered aspect-preserving thumbnails
beneath
[image ...]labels in user messages and tool cards via Kitty, iTerm2, Sixel, or Unicode half-block protocols (tui_imagesuser setting andWISP_TUI_IMAGESoverride), with non-blockingO_NOFOLLOW | O_NONBLOCKreads and overlay occlusion handling. - Redesigned live-work side panel and top tab bar (#1093, #1104): Focused the side panel on
pending approvals, the active Plan checklist, running background processes, and live activity,
and moved the
Work/Browsertabs into a one-row top bar (#1104, raising the minimum terminal size from30x8to30x9). - Share saved sessions with a prompt (#1095): Added
/past-sessionsin the TUI (backed byread_onlylisting onget_sessions,saved_session_idonprompt, and theread_saved_sessiontool) so users can attach bounded read-only excerpts from another saved session to their next prompt without modifying or leaving the active session. - TUI and launcher reliability (#1091, #1094, #1096): Fixed macOS zombie process-group
EPERMhandling during launcher foreground cleanup (#1094), unlinked temporary external-editor draft files before foreground reclaim (#1091), and waited for resolved startup context stats in TUI E2E suites (#1096).
Permissions, docs, and CI
- Scoped external reads in Auto commands (#1092): Added
--auto-command-read-dir(andInProcessOptions.auto_command_read_dir) to grant one external read-only directory to the launch session under macOS SeatbeltAuto commandsfor eligible bare/bin/lsand/bin/catcalls. - Docs and CI throughput (#1087–#1090, #1105): Refreshed the documentation homepage around
personal software framing (#1105), fixed Rust wheel/fuzz caching (
rust-cachev2.9.3), and sharded/parallelized Python, Rust, and release verification workflows (#1087–#1090).
Compatibility
- Session
schema_version6 and event-envelope format 1 remain unchanged, and no new persisted session entry fields are introduced, so0.15.0and0.14.xread each other’s sessions. schemas/live-rpc/andtests/fixtures/event_decoding_conformance.jsonaddbrowser_interactandget_browser_addressescommands, optionalsaved_session_idonpromptandread_onlyonget_sessions,browser.viewport.updatedandrpc.browser_addressesevents, andsession_images_dironrpc.workspace. Frontends and external RPC clients must match the0.15.0release.- Supported Python APIs add optional
saved_session_idonRpcController.prompt()andread_onlyonRpcController.get_sessions(),auto_command_read_dironInProcessOptions, andbrowser_search_engineandbrowser_defaultonWispConfig. New user-only settings (tui_images,browser_search_engine,browser_default) are ignored by0.14.x.
0.14.2 — 2026-11-20
0.14.2 is a patch release on 0.14.0 with two terminal UI improvements: a redesigned live status
row with a clickable [stop] control, and the remaining pickers and overlays moved onto the
shared dialog frame. It changes no command, event, handshake, session, settings, credential, or
trust format, so 0.14.0, 0.14.1, and 0.14.2 read each other’s sessions. The backend and frontend
must come from the same release.
Terminal UI
- The live status row above the composer now shows an animated braille spinner (pinned to
⠋underMotionMode::Still), active phase and tool elapsed timers, total run duration, live streamed output tokens (⇣), queued prompt count, width-invariant three-tier context usage colouring (<70%muted,>=70%warning,>=90%error), and a clickable[stop]button that highlights on pointer hover via?1003mouse-motion capture. (#1084) - The remaining TUI pickers and overlays (theme, logo, prompt history, session tree, queue,
connection, skills, permissions, codemode, subagents, MCP, context, help, detail/script
detail, file picker, and
Ctrl+Gkey help) now share thedialog.rsframe and clickable hint footers;/diffuses the shared hint renderer; slash completion highlights matched characters in a full-width selection band with aligned descriptions; and approval, confirm-every-call, and trust decision panels show muted per-choice explanations that collapse to one-line choices on short screens. (#1085)
0.14.1 — 2026-11-19
0.14.1 is a patch release on 0.14.0 that adds Gemini 4 Neon to the model catalog and makes two terminal UI changes: background processes are shown in fewer places, and footer notices expire. It changes no command, event, handshake, session, settings, credential, or trust format, so 0.14.0 and 0.14.1 read each other’s sessions. The backend and frontend must come from the same release.
Models
- Gemini 4 Neon (
gemini-4-neon) is in the model catalog, with its thinking levels, default thinking level, context window and prices, so/modeloffers it and its cost is counted. The entry comes from Google’s documentation; it was not checked with a live request. (#1079)
Terminal UI
- The TUI shows each background process in fewer places: the status line no longer names one,
the strip under the composer hides beside a docked side panel, the docked panel lists only
processes that are running or went wrong, and adjacent clean exits fold into one
Background N commands · passedtranscript row. A process row with no label takes the command from its exit event. (#1078) - TUI footer notices dismiss themselves after 8 seconds, or after one full scroll when too long for their row, instead of staying until the next edit or prompt. The notice that earlier history loads when a reply finishes stays until that wait ends. (#1080)
0.14.0 — 2026-11-19
0.14.0 graduates opt-in automatic approval modes (Auto edits on macOS/Linux and macOS Seatbelt
Auto commands), adds GPT-6.2 Astra and Sol models, explains tool failures and grouped outcomes,
and finishes TUI selection bands and shared picker dialogs. The backend and every frontend must
use the same release.
Auto approval and macOS Seatbelt sandboxing
/permissions auto(Auto edits) automatically approves eligible built-inwrite/editcalls inside the workspace or session scratch on macOS and Linux using atomic replacement, excluding shared hardlinks,.git, agent-control files, protected paths, and broad folders, with persistedworkspace_edit_v1consent and live/reopened audit labels. (#1068)/permissions auto-commands(Auto commands) adds separately consented (sandbox_commands_v1) macOS Seatbelt containment for exact built-inbashcalls. Supportedpytest/unittest, Cargotest/check/build, and npmtest/run test/run buildforms run sandboxed without model review; other eligible development and Git inspection commands use a bounded, fresh, no-tools model review (up to 8 requests per run, 20s deadline) that fails closed on uncertainty or revocation. (#1069, #1070, #1073, #1076)- Fast-path test commands (
pytest,python -m pytest/unittest,uv run --no-sync pytest,npm test/run test, andcargo testwith an ancestorCargo.lock) run with a read-only workspace and per-command ephemeralTMPDIR/HOME/UV_CACHE_DIRdeleted on exit, plus an isolated Cargo target cache (CARGO_NET_OFFLINE=true), temp-scoped Unix sockets,PYTHONUNBUFFERED=1with partial timeout output, macOSO_SEARCHtraversal insecure_fs, and safe combined short options (-rN,-ra,-qq,-vv,-n4,-j4,git status -sb). Validated per-call Bashcwdand automaticpoll/cancelfor owned sandboxed jobs remove unnecessary shell composition and prompts. (#1071, #1074, #1075) - Independent security hardening closes non-ASCII SBPL escaping, nested/Unicode/control symlink
target-binding,
.venv/pyvenv.cfgplanting, cross-run ephemeral/Cargo-target isolation,chmod/chflagscleanup, and broad-rootbash.cwdchecks. Pre-existing hardlinks, TCP localhost/network, and Linux/WindowsAuto commandsremain documented boundaries. (#1074–#1076)
Models, tools, and terminal UI
- Added GPT-6.2 Astra and Sol for OpenAI API and Codex, including API input ceiling enforcement while preserving full context windows. (#1067)
- Tool cards and print mode explain failed attempts from typed failure metadata and report grouped outcomes accurately, including mixed exploration/MCP results and script child status. (#1066)
- Finished TUI selection bands and readable ANSI diffs, shared model and session picker dialog frames, and fixed a docs-search close/reopen race. (#1064, #1065, #1072)
Compatibility
- Session schema 6 and event-envelope format 1 remain unchanged.
0.14.0reads existing0.13.0sessions, while0.13.0rejects sessions containingtool.approval.reviewedevents or new permission/audit fields (auto,auto_commands,source,rule_id,auto_approved,approval_note). Back up sessions before upgrading if downgrade is required. schemas/live-rpc/andtests/fixtures/event_decoding_conformance.jsonare regenerated for the new permission modes,tool.approval.reviewed, and audit fields; external RPC clients must match the0.14.0release.
0.13.0 — 2026-11-17
0.13.0 expands codemode into complete tool workflows, with durable script state, recoverable text output, unified discovery and per-child-call policy enforcement. Direct tools plus codemode remain the default presentation. The backend and every frontend must use the same release.
Codemode
- Scripts can store JSON state and reuse it after restart, branching or compaction. State commits with a successful script result; a failed or cancelled script does not commit staged state. External effects from completed child calls are not rolled back. (#1055)
- Large text results can be recovered through output references and
read_outputduring the process lifetime. Image results and durable output artifacts remain deferred. (#1056) - Unified discovery exposes eligible built-in and MCP tools with schemas and call guidance. Scripts can perform file, shell and MCP workflows through the same policy and approval boundaries as direct calls. Child calls retain audit records, mutations are serialized, and cancellation cleans up foreground work. Subagents remain separate. (#1057–#1059)
- Tool availability and presentation are separate settings.
direct_and_codemoderemains the default;codemode_onlyis opt-in and falls back to direct tools when codemode is unavailable. User settings, reload, RPC, SDK and TUI reports share the same effective presentation. (#1060) - Prompts clarify tool return contracts, discovery, imports and reuse of saved state before refetching. (#1062)
Compatibility and evaluation
- Session schema 6 gains optional
codemode_stateon successful codemode result entries. 0.13 reads existing 0.12 sessions, but 0.12 rejects entries containing this new field. Back up sessions before upgrading if downgrade is required; unchanged schema stamps do not guarantee reverse compatibility. The RPC codemode command/report gains presentation fields. - Evaluation includes deterministic scenarios and live comparisons of direct-plus-codemode,
codemode-only and codemode-off. The final 36-run clarification evaluation passed 12/12 tasks
in each codemode arm and 11/12 with codemode off; all 12 saved-state continuation checks passed.
One codemode-only script recovered from a missing
asyncioimport. These bounded runs support the unchanged default, not a general performance claim or default switch. See the evaluation report. Broader provider/repetition coverage, images, durable output artifacts and model helpers remain future work. (#1053, #1054, #1061, #1062)
0.12.0 — 2026-11-16
0.12.0 adds /reload for supported settings while a session is idle, preserves the cause of
compaction failures, and fixes recent-turn navigation and changed-file diffs in the terminal UI.
The shared RPC/SDK contract gains the reload command and rpc.settings.reloaded event.
Session files keep schema_version 6; the backend and every frontend must use the same release.
Settings and Python API
/reloadmanually reloads supported user/trusted-project settings while the session is idle. Provider/model/effort, context reserve, automatic compaction, web search, codemode, and subagent settings can change without restarting. Explicit session choices and CLI/environment precedence are retained. Invalid or unreadable settings keep the active configuration; MCP, credentials, safety policy, storage, connection/retry settings, process waking, and keybindings remain restart-only. The shared RPC/SDKreloadcommand reportsrpc.settings.reloaded, including field-name change categories and public session state, without exposing raw settings or secrets. Sessions retain schema version 6; no code, instruction, or environment-file hot reload is added.RpcController.reload()exposes the same operation to Python clients. Reload reports the effective model when the setting uses a provider’s default, and refreshes the TUI’s codemode state when the side panel or/codemodepicker is open. An explicit codemode or subagent choice survives reload even when it equals the current file setting. (#1048, #1051)
Compaction
- A failed compaction summary keeps the provider’s error message and diagnostics instead of replacing them with a generic incomplete-summary error. Connection failures remain distinguishable from cancellation and other compaction failures. (#1049)
Terminal UI
- Clicking Recent turns while a run is active reports a recoverable busy notice instead of crashing the TUI, preserving the active command and draft. (#1050)
- Changed-file cards request the selected file’s diff directly, even when its transcript card is unavailable. Diff labels distinguish recorded edits from files with no recorded edits, instead of claiming that unrecorded changes came from outside the session. (#1050)
Documentation and verification
- The website shows real session screenshots, restores their surrounding context, and clarifies Python installation. Browser checks rebuild first; CI runs isolated browser tests across four workers. (#1044–#1047)
0.11.0 — 2026-11-16
0.11.0 is a minor release on 0.10.1 about codemode and the terminal UI’s view of background
processes. Codemode scripts read up to 512 KiB of each tool result, get an MCP tool’s structured
result as a typed dict, and keep the calls that succeeded with gather_settled. With codemode
unset, codemode is offered whenever a script may call one of the run’s MCP tools, sent directly
or found on demand. /mcp shows which tools are read-only and can mark those a server hints are
read-only. A strip under the composer lists running background processes, and the side panel
shows a process’s output in place. That adds three commands, get_processes,
get_process_output and mark_mcp_tools_read_only, two events, rpc.processes and
rpc.process_output, and required fields in rpc.codemode and the MCP server snapshots. Sessions
keep schema_version 6, so 0.10.1 opens sessions 0.11.0 wrote; no handshake, settings,
credential, or trust format changes. The backend and frontend must come from the same release.
Tools
- Automatic codemode is offered whenever a script may call one of a run’s MCP tools, sent
directly or found on demand. Before, it needed on-demand discovery, so a small catalog sent
directly, the default
autoexposure’s choice, never got it, though the evals showed the same accuracy gain for weaker models there (luna 15 → 24 of 25 orchestration runs). A run with only built-in tools still goes without, where the evals found no gain. A tool sent directly counts only when its name and parameters are Python identifiers. (HY-431) - An MCP tool that declares an output schema returns its structured result to a codemode script
as a typed dict instead of text, so a script no longer parses JSON, and one that reads a field
the schema lacks fails its type check before it runs. The codemode description names those
tools and their fields, and
mcp_describeshows a tool’s output schema and what a script receives. A schema that only wraps aresultfield, as the MCP Python SDK writes for every tool, returns that value, and one wrapping a string still returns text, so those tools behave as before. Direct calls and subagents still read the text, and the structured result reaches no event or session. A call whose structured result is missing, not JSON or over 512 KiB fails.ToolResultgains an optionalstructuredvalue for this. (HY-512) gather_settledhands back an error as a failed tool call only when its<tool> failed: …message names one of the run’s own tools. Before, any identifier counted, so a script’s ownRuntimeError("parse failed: …")came back as a result instead of ending the script. A script can still raise a real tool’s message itself; monty keeps only an error’s message, so nothing else can mark a failed call. (HY-545)- A
read_outputpage read withlimitis no longer marked truncated just because more lines follow, asreadalready did. A codemode script reading one page no longer gets[result incomplete]or an incomplete count for it. A page the output limit cut short still is. (HY-545) - Automatic codemode is no longer offered when none of a run’s MCP tools can be called from a
script. An MCP tool is read-only only where its server’s
tool_safetymarks it"read", so on a server with no such entries every call a script made to it was refused, and the model paid for the tool’s description and a failed script before falling back to direct calls. A run with a"read"MCP tool a script can call is offered codemode, and"codemode": truestill offers it for the built-in read tools alone. (HY-510) - Codemode scripts get
await gather_settled(...), which runs calls at once likeasyncio.gatherand returns every outcome in order, with a failed call’sRuntimeErrorin place of its result. Undergatherone failed call ended the script, the results of the calls that succeeded were lost, and the retry repeated them all; the sandbox’sgathertakes noreturn_exceptions. A bug in the script, or reaching a limit, still ends it. A failed call that a script returns among its results now reads asRuntimeError: …, not as a result. (HY-515) - A codemode script’s tool calls return up to 512 KiB of each result, where they were cut at the
model’s output limit (50 KB by default). A script that counted or searched a long listing or a
large file worked on its first 50 KB without knowing it. A result that is only part of the
answer, cut at 512 KiB or stopped early by the tool, now ends with the line
[result incomplete], and the script’s tool-call summary counts such results. That summary is now kept when the script’s own output is cut for the model, by size or by line count; before, it was cut off with the rest. What reaches the model is cut as before, and a subagent’s calls keep the model’s limit. Printing whole results reaches the 1 MiB print limit sooner, so the description now names that limit. (HY-511) - A
bashpoll of a background process the user stopped (/kill, or the TUI’s stop) now readsProcess <id> stopped by the user, as the exit notice already did, instead ofProcess <id> cancelled. An agent that did not ask to hear of the exit could not tell the user had stopped it, so it might start it again without asking. The agent’s own cancels read as before. (HY-542)
Python API
import wisp.imagesworks as the first Wisp import in a program. It failed with a circular import, becausewisp.imagesloadedwisp.events, which loads the file tools, which importwisp.images. A test now imports everywispmodule on its own in a fresh process. (HY-501)RpcController.get_processes()andget_process_output(process_id)list the session’s background processes and read one’s latest output. (HY-543)
TUI
/codemodeupdates when MCP servers connect or a prompt ends with the side panel hidden, so a picker opened during the startup MCP connect shows its count without being reopened. (HY-545)/mcpshows how many of each server’s tools are read-only, such asconnected · 12 tools, 3 read-only, and its details mark each read-only tool. Only those can be called from a codemode script, by a subagent or in plan mode, andtool_safetyis what marks them, so a server with no entries now shows0 read-onlyinstead of looking ready. (HY-510)/mcpmarks withhintthe tools a server says are read-only (itsreadOnlyHint) thattool_safetyleaves unset, andhoffers to mark them read-only, up to 8 at a time. The confirmation lists each tool and says what marking allows; confirming adds them to the server’stool_safetyin your user settings and reconnects it. The hint alone changes nothing: a hinted tool still needs approval and stays out of scripts, subagents and plan mode until it is marked, and a tool the server adds or re-hints later starts unmarked. (HY-510)/codemodesays how many of the next prompt’s MCP tools a script can call, such asScripts can call 0 of 12 MCP tools (tool_safety "read")., and flags it when the answer is none. With none, automatic mode leaves codemode off, and scripts fail against those servers underalways. The automatic choice now reads “with MCP tools marked read”. (HY-510)- While background processes run, a strip under the composer shows how many and their commands,
even when the side panel is hidden or the terminal is too narrow to dock it. Down from an empty
composer, a click on the strip, or
/psfocuses the side panel on the first process, where Enter opens its peek and Esc returns to the composer with the draft kept./psno longer prints the list as a notice. A newpanel.backgroundkey action, unbound by default, does the same with a draft in the composer. (HY-544) - The side panel’s background processes open a peek in place: Enter or a click on a process shows
its latest output under its row, read again each second while it runs, without moving the
transcript. In the peek, Enter opens the process’s card in the transcript,
xasks to stop it andyconfirms, and Esc closes the peek. Enter on a process no longer fills in/kill. Processes that ended stay listed with how they ended (finished, failed with its exit code, timed out, stopped) for as long as the backend keeps them, and their peek shows their last lines. Reading a process’s output this way does not change what the agent’s next poll returns. (HY-492)
Event contract
CodemodeState, inrpc.codemode, gainsmcp_tools, the MCP tools a run started now may use, andscriptable_mcp_tools, how many of them a script may call: those marked"read", less any a run that sends its MCP tools directly cannot call by name. Both are required, so the backend and every frontend must come from the same release.- New commands
get_processesandget_process_output(process_id) let a frontend list the session’s background processes, running or ended, and read one’s latest output. They reply with the new eventsrpc.processes(each process’s id, command, state, exit code, start and end times, and whether the user stopped it) andrpc.process_output(the process and up to 32 KiB of its latest output aschunks, both streams in the order they printed, withomitted_bytesfor what came before; what a foreground command printed before it moved there comes as its stdout, then its stderr). Both run beside an active run. Reading drains nothing: the agent’sbash pollreturned only what it had not read, so output it had read was gone, and the backend now keeps a separate tail of each process for frontends. An ended process stays listed until a new process needs its slot; before, the agent’s next shell command dropped every ended process whose final state it had read. Processes from a session that was left are not listed. (HY-543) RpcMcpServerSnapshot, inrpc.mcpandmcp.status.updated, gainsread_only_tool_names: the tools amongtool_names, in the same order, that the server’stool_safetymarked"read"when it last started, andread_only_hint_tool_names: those the server itself said were read-only andtool_safetyleft unset.mark_mcp_tools_read_only(RpcController.mark_mcp_tools_read_only) adds a server’s hinted tools to its user-leveltool_safetyas"read", then restarts MCP servers. It saves nothing unless every named tool is still hinted by the running server, none has atool_safetyentry, and the saved server is still the one that started.
0.10.1 — 2026-11-15
0.10.1 is a patch release on 0.10.0 with one fix in the terminal UI: pressing Ctrl+C again
while Wisp is quitting no longer ends the backend. It changes no command, event, handshake,
session, settings, credential, or trust format, so 0.10.0 and 0.10.1 read each other’s sessions.
The backend and frontend must come from the same release.
TUI
- Pressing
Ctrl+Cagain while Wisp is quitting no longer printsbackend exited unsuccessfully with signal: 2 (SIGINT)and exits with status 1. The terminal UI restored the terminal before the backend had finished shutting down, so the second press reached the backend as an interrupt and ended it before it had cleaned up.Ctrl+C,Ctrl+ZandCtrl+\now do nothing from the moment the terminal UI leaves the screen until the backend has exited, and what is typed in that time is discarded instead of reaching the shell.
0.10.0 — 2026-11-14
0.10.0 is a minor release on 0.9.2 about background processes. A process the agent starts in the
background can tell it when it stops, and wake it when the session is idle; in the terminal UI the
user can see the running processes, stop one, or move a running command to the background. Each
session also gets a private scratch folder, and on macOS commands run in Homebrew’s bash when it is
installed. That adds one event, process.ended, two commands, cancel_process and
background_tool_call, an optional background_processes list in the get_state reply, a
process_wake flag on message snapshots, an optional process_notices field on persisted user
messages, which 0.9.2 ignores, and one user setting, wake_on_process_exit. Sessions keep
schema_version 6, so 0.9.2 opens sessions 0.10.0 wrote; no handshake, credential, or trust format
changes. The backend and frontend must come from the same release. The TUI’s side panel key moves
from Ctrl+B to Ctrl+P.
TUI
- Wisp Braille, the startup logo, has a three-color gradient chosen for each of the nine themes. It used to reuse the theme’s heading colors, which made several themes’ logos look the same.
Tools
- Each session has a private scratch folder,
scratch/<session id>beside the session files, created readable only by its owner. The file and search tools reach it as well as the workspace,bashgets its path asWISP_SCRATCH_DIR, and the prompt names it, so the agent can write a pull request body or commit message there instead of/tmp, which the file tools refuse. A resumed session keeps its folder, and protected-path checks apply inside it. - On macOS,
bashruns commands with Homebrew’s bash when it is installed (/opt/homebrew/bin/bash, then/usr/local/bin/bash), before/bin/bash, which is bash 3.2. bash 3.2 misreads an apostrophe in a heredoc inside$(...), which brokegh pr create --body "$(cat <<'EOF' ...)", and lacksdeclare -A,mapfileand${var,,}. When that parse error still happens, the result suggests passing the text as a file, such as--body-fileorgit commit -F. - A
bashpoll can wait for a started process to finish:until=exit, onpollorstart, keeps waiting through output until the process stops or the wait ends. Before, any output ended the wait, so a watcher such asgh pr checks --watchmade the model poll again every few seconds. The default,until=output, is unchanged. - A process started with
bash operation=start notify_on_exit=truetells the agent when it stops: the exit is put in front of the next prompt, with the process id, state, exit code, and command, never its output, which the agent reads by polling. A poll that already returned the exit drops the notice, and so does switching session. The start result says whether a notice will come: an embedding that runs the bash tool outside the RPC host gets none. - New event
process.ended, published whenever a started process stops on its own (not when it is cancelled), with or without a run in progress:process_id,command(at most 500 characters),state(completed,failed, ortimed_out),exit_code,duration_ms, andnotify. - In the TUI, a background process’s card closes when the process stops, with its exit code and time, even when nothing polled it and the agent is idle. A reopened session’s card for a process that is still running closes the same way when the process ends.
- A reopened session no longer shows cards stuck on running for background processes that stopped with an earlier backend: once the backend lists what still runs, those cards read “no longer running”.
- The
get_statereply lists the session’s running background processes inbackground_processes:process_id,command(at most 500 characters),started_at_ms, andnotify. A session change stops them, so the list is empty after one. - The TUI side panel lists running background processes with how long each has run, and a process that stops on its own sends a desktop notification while the terminal is in the background.
- A background process started with
notify_on_exitthat stops while the session is idle wakes the agent: the backend starts a run by itself,rpc.command.startedwithcommand_typeprocess_wake, whose prompt is the notice alone. An exit nobody polled during a run wakes the agent once that run ends. At most three wake runs start between the user’s prompts. The run uses the session’s permission mode, and the TUI shows it like a prompt it sent, labelled “Background process stopped”, whichEsccancels. A prompt,/init, or/compactthe user sends while a wake run is going cancels the wake; its notices lead the next prompt. Message snapshots mark its prompt withprocess_wake, and its notice text never reaches a frontend. Thewake_on_process_exitsetting (WISP_WAKE_ON_PROCESS_EXIT) is on by default in the CLI, the TUI and the JSONL RPC backend, and off by default for in-process SDK hosts, so an embedding application is not billed for runs it did not start; set either way, it applies to both. Turned off, notices wait for the next prompt as before.WispConfig.wake_on_process_exitisNonewhen unset. A cancelled prompt, or one the run rolls back, now leaves its notices for the next prompt instead of dropping them. - Once the three wake runs are used up, a
warningevent says auto-wake has paused until the user’s next prompt, and the notices that waited tell the agent so when they reach it. - You can stop a background process the agent started without asking the agent:
/kill <number|process-id>, or select its row in the side panel’s Background list, which fills in/killwith its id for Enter to confirm./pslists them. New commandcancel_process(process_id), which runs beside an active run; the stop is published asprocess.endedwith the new statecancelled, and a process the agent asked to hear about is reported to it with the next prompt as stopped by the user, without waking it. The SDK hasRpcController.cancel_process. - Press
Ctrl+Bin the TUI to move the shell command the agent is waiting on to the background. The command keeps running, with no output lost, as a background process that tells the agent when it stops; the agent’s call ends at once with itsprocess_idand the output so far, and the turn goes on. A moved command may run for up to an hour from then. New commandbackground_tool_call(call_id), which runs beside the active run; the SDK hasRpcController.background_tool_call. The side panel moves fromCtrl+BtoCtrl+P. Atui_keybindingssetting that already usedCtrl+PorCtrl+Bfor another action keeps it, and the panel or the background key is left without its default instead.
0.9.2 — 2026-11-13
0.9.2 is a patch release on 0.9.1. The terminal UI reads a turn as one activity list, and compaction keeps more of long tool output in its checkpoint. It changes no command, event, handshake, session, settings, credential, or trust format, so 0.9.1 and 0.9.2 read each other’s sessions. The backend and frontend must come from the same release.
TUI
- A turn reads as one activity list. The
wisplabel appears only above text a reply writes; until then a reply is led by its thought or working note, which stacks with the tool cards around it instead of being set apart by a blank row. A finished reply that only called tools draws no rows of its own, so reopened sessions, which restore no thinking, no longer show a bare label before every tool step.
Compaction
- A compaction checkpoint now sees more of each long tool result. The cut grows with the summarizer’s budget, from 2,000 up to 20,000 characters, so with a typical context window the middle of a long test run or file read reaches the summary instead of being dropped. Small windows and an unknown window keep the 2,000-character cut.
0.9.1 — 2026-11-13
0.9.1 is a patch release on 0.9.0 that adds Gemini 4 Hydrogen to the model catalog. It changes no command, event, handshake, session, settings, credential, or trust format, so 0.9.0 and 0.9.1 read each other’s sessions. The backend and frontend must come from the same release.
Models
- Gemini 4 Hydrogen (
gemini-4-hydrogen) is in the model catalog, with its thinking levels, default thinking level, context window and prices, so/modeloffers it and its cost is counted.
0.9.0 — 2026-11-12
0.9.0 is a minor release on 0.8.1. It adds subagents, which are experimental and off by default:
with them on, the model can hand read-only tasks to subagents through a new spawn_agent tool,
and /subagents turns them on, chooses their model, and shows what each kind of subagent gets.
Gemini and Claude sessions also cost less, because a new prompt no longer re-reads or re-writes
the previous run in the provider’s prompt cache. Gemini 4 Carbon joins the model catalog, and the
terminal UI’s backend starts serving before its MCP servers have connected.
The wire contract grows, so the backend and frontend must come from the same release: there are
new commands and events, and new fields on tool results and rpc.subagents. 0.9.0 reads every
session 0.8.x wrote; 0.8.x cannot open a session that holds a subagent’s result. Gemini and Claude
sessions now save each tool-call turn as the provider sent it, so their session files are larger.
Subagents (experimental)
- A
spawn_agenttool hands a list of read-only tasks to subagents, one each, and returns their final messages. The subagents of one call run at the same time, four at once, and the result gives each report under a## Task Nheading. It is off unless"subagents": trueis set in~/.wisp/settings.jsonorWISP_SUBAGENTS=1. See Delegating to a subagent. spawn_agenttakescontext: "fork"to start each subagent from the conversation so far instead of from its task alone. A fork keeps the run’s prompt, tools and cache key, and is still read-only.- A subagent’s report is capped at 8,000 bytes, and subagents are asked for at most 500 words.
- A run cancelled or abandoned while subagents work keeps the responses they had completed in the session’s usage and cost totals.
/subagentsin the terminal UI shows and saves whether runs may use subagents. RPC and SDK clients useget_subagentsandset_subagents.- The
/subagentspanel also chooses the subagent model from the session provider’s models, and describes the two kinds of subagent, fresh and fork: the model, effort, tools, limits and instructions each would get in the next prompt./subagents model <name>sets the model and/subagents model -clears it. The panel’s1and2shortcuts are gone; highlight a row and press Enter. "subagent_model"(orWISP_SUBAGENT_MODEL) names a model on the session’s provider for subagents that start fresh. A forked subagent keeps the session’s model.- A run warns when its subagents will not use the configured
subagent_modelbecause the provider has no such model, naming the model they use instead. A conversation says it once for each such fallback. - A tool result that reaches a subagent or a codemode script without its image now says the image was left out, where before it read as a complete result.
Models
- Gemini 4 Carbon (
gemini-4-carbon) is in the model catalog, with its thinking levels, context window and prices, so/modeloffers it and its cost is counted.
Startup
- The terminal UI’s backend connects MCP servers after it starts serving instead of before, so a
resumed session’s transcript no longer waits for the slowest server. In one measurement with
three remote servers, that removed about a second before the first page of a session arrived. A
prompt or compaction sent while servers are still connecting waits for them, so a run is offered
the same tools as before. One-shot
--promptruns and the in-process SDK still connect first.
TUI
- The session panel shows
connecting…for MCP servers until they have connected. - The startup logo’s entrance is slower: its dots gather over 1 s instead of 0.75 s, and the light band then crosses it over 1 s instead of 0.5 s, moving in smaller steps.
Gemini
- A new prompt no longer re-reads the previous run at full price. Wisp now saves Gemini’s own model turn for each tool call with the session and sends finished tool exchanges to later prompts as their run sent them, so Gemini’s implicit cache keeps matching. In a live measurement the first request of the next prompt had 89% of its input cached, where before it had 12%. Tool exchanges from another model, and from sessions saved before this change, are still sent as a text summary.
Claude
- A new prompt no longer writes the previous run to Anthropic’s prompt cache a second time. As for Gemini, Wisp now saves Claude’s own turn for each tool use with the session and sends finished tool exchanges to later prompts as their run sent them. In a live measurement the first request of the next prompt read 32,064 tokens from cache and wrote 413, where before it read 13,144 and wrote 21,897. Tool exchanges from another model, and from sessions saved before this change, are still sent as a text summary.
Event contract
tool.execution.endedandtool.resultgainmodel_usage: the model responses a call’s subagents completed, up to 512, each with itsusageandcost. It is empty for every other tool. Session usage and cost totals count these responses.- New commands
get_subagentsandset_subagents, answered by a newrpc.subagentsevent that carries the setting, whether the next run would offer the tool, and the subagent model in use. - New command
set_subagent_modelchooses or clears the model fresh subagents use. It fails, changing nothing, when the model catalog lists the provider without that model. rpc.subagentsgainsenv_model,tools,refused_tools,kinds(each withname,model,effortandinstructions),max_tool_rounds,max_tasks,max_parallelandreport_max_bytes.tool.nested.started,tool.nested.endedand a result’snested_callsnow also describe the tool calls aspawn_agentcall’s subagents make, with that call asparent_call_id. Theircall_ids are numbered by Wisp, assubagent-N-M, and do not repeat within the call.- An MCP server’s
statusinrpc.mcpmay beconnecting, reported from the JSONL-RPC backend’s start until its servers have connected or failed. A newmcp.status.updatedevent then carries the settled status, without acommand_id. - New
warningevent with amessage: something the user should know that does not stop or fail the run. Text output prints it on stderr aswarning: …. Its first use is thesubagent_modelfallback.
0.8.1 — 2026-11-11
0.8.1 is a patch release on 0.8.0 for the terminal UI. It centres the welcome card and its tip, and draws footer key hints without a background, which some terminals stretched into blocks reaching the window’s bottom edge. It changes no command, event, handshake, session, settings, credential, or trust format, so 0.8.0 and 0.8.1 read each other’s sessions. The backend and frontend must come from the same release.
TUI
- Footer key hints draw each key in bold body text instead of on a raised surface. The footer sits on the terminal’s last row, and terminals that extend edge cells into their window padding stretched each key’s background into a block running to the window’s bottom edge. The other key hints, in the side panel and diff views, match.
- The welcome card and its tip are centred in the conversation column instead of pinned above the composer, and the tip is centred under the card. The menu’s rows, and so the selection band, are 38 columns wide under the centred name rather than spanning the frame, and the frame is drawn a step stronger so it holds the band.
0.8.0 — 2026-11-11
0.8.0 adds an experimental codemode tool: from the new codemode extra, the model writes a
Python script that calls the run’s read-only tools, offered by default when a run finds its MCP
tools on demand, and /codemode chooses when runs offer it. A session can move its working
directory, with change_directory and the TUI’s /cd, and a trusted project’s file tools reach
its whole root. Wisp now supports Python 3.11. Anthropic requests that offer bash work again.
The TUI gains a welcome card with a working menu, script cards, verb-first tool lines, and a
composer border that names the model and mode. Commands and events gain fields, so the backend and
every frontend must come from the same release. 0.8.0 reads sessions 0.7.x wrote; 0.7.x refuses a
0.8.0 session that holds a codemode script’s result and ignores its directory moves.
Packaging
- Wisp now supports Python 3.11 as well as 3.12 and newer. The native wheels, which carry the
Rust terminal UI, are tagged
cp311-abi3, so a 3.11 install gets the terminal UI too. Wisp now depends ontyping-extensionsdirectly. (HY-500) - The
codemodeextra installs on Python 3.11 too, so codemode is offered there. The 3.11 support above had limited it to 3.12 by mistake: monty supports Python 3.10 and newer. (HY-504)
Sessions
- A session can move its working directory to another folder: the new
change_directory {path}RPC command, andRpcController.change_directory()in Python. The path may be absolute,~, or relative to the current folder, and must exist and be a directory. The command waits for running work and replies withsession.directory_changedwhen it saved the move, thenrpc.workspace. File and shell tools, the prompt’s project context, Git status, and the file picker use the new folder from the next operation.CodingSession.change_directory()moves within the session’s project only. (HY-476) - A folder outside the project root enters the project that contains it, rerunning what startup
does for it. Its settings layer, skills, instruction files, saved permission mode, and file-tool
boundary replace the old project’s, and the old project’s settings, including a project
auth_pathand provider settings, never carry over; in-session/modeland similar choices do. A project trusted by a saved decision, an environment override, or an earlier decision in the same process applies at once; an undecided one is untrusted until the next prompt asks, as at startup. Temporary tool approvals are cleared; background processes keep running. A folder inside the project stays in it even when it holds a repository of its own. The reply also carriesproject.config.appliedwhen the configuration changed,skill.catalog.updated, andrpc.permissions. (HY-477) - A move is saved as a
session.directory_changedevent entry on the active branch, not as a message. The next user message the model sees starts with[The working directory has been changed to <folder>.]; the saved prompt stays as typed, and a later replay rebuilds the same text, so the prompt cache still matches after the first turn. A separate note message would have put two user messages in a row, which some chat templates reject. - Selecting, cloning, forking, navigating, or resuming a session restores the folder its active
path last recorded; a session that records none, including every session saved before this
release, works from the folder Wisp started in, as before. A recorded folder in another project
enters that project, as
change_directorywould; one that is gone or unreadable falls back to the launch folder with a notice. A new session started after a move records its starting folder, and a session continued from another folder (wisp -p --resume) records that move. Session files keepschema_version6, and 0.7 reads a session with moves; it ignores the event entries, so it works from its launch folder. - The Rust TUI has
/cd <path>. It completes folder names from the local file system as you type the path:Tabfills in the selected folder, andEntermoves once the path names one. Like other configuration,/cdis refused until the session is idle rather than queued behind a run. Each move draws a── Working in <folder> ──divider below the last reply, unless it ends where the moves before it started, in the live session and when a session is resumed; the footer, side panel, and permission badge follow the new folder and project. A move before any reply shows only in the footer. (HY-478)
Events
- A codemode script’s
tool.execution.endedandtool.resultcarrynested_calls: every call the script made, including refused ones and those it ended before they finished. Each record has the call’s arguments (left out when longer than 2,000 characters), outcome, failure code, the start of its error, summary and timing. Up to 200 are recorded, andnested_calls_omittedcounts the rest. Sessions save the list with the tool result. A run cancelled while a script is running records no calls for that script. While a script runs, two new transient events,tool.nested.started(ToolNestedCallStarted) andtool.nested.ended(ToolNestedCallEnded), reach RPC clients, the SDK’s live sink and--mode json; like tool progress they are never saved or sent to the model. The schema bundle and conformance fixture are regenerated; the same-release rule applies. (HY-505) rpc.messagestool-result snapshots carry a codemode script’snested_callsandnested_calls_omitted, so a reopened session shows what each script called. A page short of text budget drops the calls’ arguments and summaries first, then the list, counting every call innested_calls_omitted. The schema bundle is regenerated. (HY-499)session.directory_changed(SessionDirectoryChanged) is new:session_id,previous_cwd(nullfor the folder a new session started in), andcwd.change_directoryis a new command.rpc.workspaceis now also sent after a move and after a session becomes active. The schema bundle and conformance fixture are regenerated; the same-release rule applies.rpc.messagesmessage snapshots carrymoved_to: the folder the session moved to after that message and before the next one, where the moves in between ended, ornullwhen there were none or they ended where they started. A session’s starting-folder record is not a move. The TUI draws it as the divider. (HY-478)/cdis in theget_commandscatalog, with one requiredpathargument.get_codemodeandset_codemode {setting}are new commands, andRpcControllergainsget_codemode()andset_codemode(). Both reply withrpc.codemode(RpcCodemodeReported), whoseCodemodeStatehas thesetting(automatic,always, ornever), whether thecodemodeextra isavailable, whether a run started now would beofferedthe tool, andenv_setting, the settingWISP_CODEMODEgives at startup.set_codemodeapplies from the next run and saves the usercodemodesetting (automaticremoves the key); when saving fails, the setting still applies to the session and anerrorevent comes first./codemodeis in theget_commandscatalog. The schema bundle and conformance fixture are regenerated; the same-release rule applies. (HY-507)
Tools
- An experimental
codemodetool, offered by default when a run finds its MCP tools on demand (see below), or always with"codemode": trueorWISP_CODEMODE=1: the model writes a Python script that calls the run’s read-only tools, and only what the script prints and returns comes back. Scripts run in monty’s sandbox, from the newcodemodeextra, with no files, network or environment, and are type-checked before they run. Each call a script makes passes the same checks as a direct call; a call that would need an approval fails, so approving the script grants nothing. Limits: 200 calls, 2 minutes, 10 seconds of computing and 128 MiB per script. The tool-use evals gain--codemode python. (HY-495) - Codemode is offered by default whenever a run finds its MCP tools on demand, and the
codemodeextra is installed."codemode": true(orWISP_CODEMODE=1) still offers it in every run, and"codemode": false(orWISP_CODEMODE=0) never does. A confirmation run on the orchestration tasks, with tools found on demand, held the earlier result: luna passed 23 of 25 instead of 17, Sonnet and sol passed every run, and Sonnet cost $0.97 instead of $1.45. The tools guide now recommends on-demand discovery with codemode for a large MCP catalog. (HY-509) - With on-demand MCP discovery, a codemode script can call a read-only MCP tool
mcp_searchfinds by its full name, type-checked against the tool’s own schema, instead of throughmcp_call, when that name and its parameters are Python identifiers. The codemode description says so without listing the tools, so it stays short. Its guidance also notes that scripts have nomap()orfilter(). (HY-498) - A codemode script that reaches a limit fails as
limit, with the limit named in the tool’s own terms, instead of monty’sMemoryErrorfor the print cap or “suspension limit” for the call cap. A failed script’s message fits under the cap on errors a model is shown, keeping the list of calls it made whole, the start of its error and the end of what it printed. The codemode description names the builtins scripts lack, such asascii(),getattr()andformat(). Adversarial tests cover sandbox escapes, every limit, a tool’s huge result, and cancellation in the middle ofasyncio.gather. (HY-502) - The file and search tools’ boundary is the project root in a trusted project, instead of the
working directory, so a session started in a subfolder can read, edit and search the rest of its
project. Relative paths are still taken from the working directory, protected paths stay
protected wherever they are, and symbolic links must still resolve inside the boundary. An
untrusted session keeps the working directory as the boundary, as does one whose project root
does not contain the working directory or is a broad folder (the home folder, a folder above it,
a filesystem root, or a temporary folder), including a
project_context_rootan SDK caller supplies.grepandfindshow files above the working directory as../paths, which globs can match, and a search inside the working directory returns the same files whether or not the project is trusted. A refused path now readsPath is outside the workspace, and its hint names the boundary.ToolContextgainsworkspace_rootandboundary(). (HY-475)
Providers
- Anthropic requests that offer
bashwork again. Anthropic rejects a whole request when a tool’s input schema hasoneOf,anyOforallOfat its top level, andbashlists its operations under a top-leveloneOf, so every such request failed before the model answered. The Anthropic adapter now sends schemas without top-level combinators:allOfparts merge into the top level, andoneOfandanyOfvariants are dropped, since each tool still checks its own arguments. This also covers MCP and extension tools with such schemas. Other providers receive schemas unchanged; OpenAI, Codex, xAI and DeepSeek acceptbash’s. (HY-496)
TUI
- A codemode script has its own card. Its line names what the script does, from its new optional
titleargument or asPython script, N lines, then counts its calls as they finish:⠹ Scripting count TODOs per crate · 9 calls · read ×7, grep ×2. Opening it shows the script’s first lines, numbered and highlighted, one└row per call it made (a run of one tool on one row, a failed call with why), then what it returned. A failed script shows what stopped it. Scripts never joinExploredorRan Ngroups, and a reopened session draws the same card. The model can give each script atitle, which only the card shows. (HY-499) - A script card has a full-screen details view: select it with
F6and pressEnter. It shows the whole script as the card keeps it (up to 16 KiB), numbered and highlighted as Python; every recorded call, numbered, with its arguments, outcome, error, and duration, and how many calls the record leaves out; and the script’s complete retained output. It follows a running script as calls arrive and works the same in a reopened session. (HY-508) - A selected row is drawn as a full-width band in a new
selectedtheme tier, one step past the prompt’s band, with bold text in pickers and lists. It replaces the primary-colour fill, and the row picked in browse mode now shows the band too. Text on the band keeps its colour where it reads at 4.5:1 and moves toward the foreground where it would not. Monochrome, the Glass theme, and 16-colour terminals reverse the row as one bar instead. Selected text in the composer keeps the primary colour. - Changed lines in edit and write diffs are dark green and red bands in the dark themes and pastel ones in the light themes, from the sign to the right edge, on wrapped rows too; the line numbers stay on the plain background. In monochrome both bands stay at least ten gray levels from the background.
- At 256 colours, background tiers and diff bands that would land on the same gray, such as Vapor’s background and composer, move to the nearest free gray step, and the diff bands show as green and red rather than gray.
- Glass, which draws on the terminal’s own background, shows your prompt in bold instead of on a band. (HY-483)
- Reply headings take a colour per level, all bold: three of teal, blue and purple for the first
three levels, then grays stepping down to muted text. Each theme orders the three so the first
two levels sit away from its speaker label’s hue, so in truecolor and at 256 colours a reply’s
first heading no longer looks like the
wisplabel. Every theme sets the three heading colours and a newcodecolour. - Inline code in replies and the composer is bold in the theme’s code colour instead of sitting on a raised surface; monochrome keeps the surface.
- A thought’s row reads
◆ Thought for 2.0s: the label in bold muted text, its time beside it instead of in the right-hand column, then its first line as before. - A turn’s summary row opens with its mode in a colour of its own: the warning colour for Plan and the accent for other modes. (HY-484)
- Tool calls are verb-first lines: a status bullet (
•replaces✓for a finished call), a bold verb in the form the call’s state calls for (Running,Ran, orRun … · denied), what it acted on, then its duration, which moves next to the text from the far-right column. The per-tool label colours go; a failed call’s verb is red. Shell commands show as typed and syntax highlighted rather than as a summary such asRust tests, and background processes readBackground <task>. - Groups keep their kinds and read
Explored N actions(Exploringwhile a call runs),Ran N commands, orCalled <tool> · N calls. An open group’s calls hang under it on└rows, with no blank row after the header. - Consecutive collapsed calls stack with no blank row between them; a call showing rows below it
still keeps one, and so does a card that closes a turn. A collapsed failed command shows its
last output line, without the backend’s exit-status prefix, and
+ N more lines; the rows stay selectable text, and the action line still folds the card. An expanded shell card no longer repeats its command on a row of its own. - Tool and group lines no longer draw a
▸/▾fold arrow; clicking a line,→/←in browse, and the selected line’s hint still fold it. (HY-489) - The composer’s bottom border names the model, effort, and mode (
claude-opus-5-5 (high) · build), replacing the identity row inside it, so a one-line draft takes three rows instead of five. A narrow composer keeps the mode and drops the model, and the provider is no longer shown there. A draft now grows to half the conversation’s height instead of ten rows. - Plan mode turns the composer’s whole border amber (the warning colour itself at 16 colours),
with
planin the full warning colour. YOLO follows the mode in the label. A chosen effort is bold body text rather than amber, which is left to plan mode and YOLO. - During a run that takes input, the keys that follow up or steer sit in the composer’s top border.
- Footer key hints are set apart by
│instead of·, which now only joins the status and context. (HY-485) - The startup logo is shaded from its top-right tip, the Wisp flame, toward its far end, in about
a dozen steps: teal through blue to purple from the theme’s heading colours, or light to deep
pink for the Adal logos. The
Wispname under it takes the tip’s colour. The/logopreview matches, and the logo keeps one colour at 16 colours and without colour. (HY-503) - The startup logo makes an entrance on the first welcome screen of a launch: its dots gather into
place in a fixed scattered order over 0.75 s, then, in truecolor, a light band crosses it once
from the tip over 0.5 s. Any key, paste, or resize shows the finished logo at once, and so does
choosing a logo. 256 and 16 colours and
NO_COLORgather without the band;WISP_TUI_MOTION=offor a terminal in the background shows the finished logo. The screen stops redrawing once it ends. (HY-479) - The welcome screen is a card: a faint rounded frame around the logo, the name and version, the
tagline, and a menu with each shortcut right-aligned. While the draft is empty,
↑/↓andEnter, or a click, open a row:Resume a sessionandConnect a providerrun their command, andBrowse commandsandMention a project filetype/or@to open their picker. The selected row carries the selection band and a▸, and the footer shows↑↓ menu; typing hands the keys back to the draft and the menu steps back. A tip under the card, picked once per launch, names a key or command. Short terminals drop the logo size, then the tip and frame, and keep the menu. (HY-488) /codemodeopens a picker docked above the composer, like/permissions, to choose when runs offer codemode: automatic, always, or never;/codemode alwaysand the others apply one directly. It marks the current setting, says whether the next prompt offers the tool, and notes whenWISP_CODEMODEis set or thecodemodeextra is missing. The side panel names codemode as on or off for the next prompt, except while the automatic setting leaves it off. (HY-507)
0.7.0 — 2026-11-10
0.7.0 lets models see images: pasted or dragged into the TUI composer, attached through RPC or the
SDK, or returned by read for an image file. It also finds MCP tools on demand when a catalog is
large, shows edit diffs with the file’s real line numbers, previews long bash output as its start
and its end, and adds $EDITOR editing, clickable links, terminal title and notification signals,
and a colour fallback to the TUI. Commands and events gain fields, so the backend and every
frontend must come from the same release. 0.7.0 reads sessions 0.6.x wrote, but 0.6.x refuses a
0.7.0 session that holds a successful edit or a proxied MCP call, and drops the images of one that
holds images.
Images
- Sessions keep images in a content-addressed store, an
images/folder beside the session files keyed by SHA-256, and messages reference them asImageParts (media_type,sha256,byte_size,width,height) instead of holding base64. An image is stored before any message refers to it, and the bytes sent to a provider are the stored bytes, so a resumed request sends the same image. Wisp accepts PNG, JPEG, GIF and WebP, detected from the file’s content, up to 7.5 MB and 8,000 px a side; it reads the dimensions from the header and does not resize. A message with no images is written as before. (#937) - The
prompt,steerandfollow_upcommands, and the matchingRpcControllermethods, accept up to siximagesper message, each a base64 image file or theImagePartof an image already in the session. A model that does not take images, or images larger than one request can carry, is refused before anything is stored. (#938, #941) - Each adapter sends user-message images in its provider’s format: Anthropic image blocks,
Responses and Codex
input_imageparts, Chat Completionsimage_urlparts, and Gemini inline data. A request carries at most 24 MB of images (12 MB for Gemini), newest first; older images, images whose bytes are missing, and every image for a text-only model go as a short[image not sent: image/png, 640x480]note. The catalog’simage_input_modelslists the models that take images. (#939) readreturns an image file as an image: the model gets a line naming the file, its format, size and bytes, and the image itself. BMP, TIFF, HEIC and AVIF files are refused with a message that names the format. (#944)- Each adapter also sends tool-result images: inside Anthropic tool results and Responses and Codex
function_call_output, in one user message after the tool messages for Chat Completions (which accepts images only from the user), and inside Gemini 3’s function responses or alongside earlier Gemini models’ responses. Tool images share the run’s image budget with the prompt’s and with queued messages’; a queued message whose images no longer fit is refused. Providers that replay earlier tool calls as a summary (Anthropic, Gemini, DeepSeek) name the images in it rather than resending them. (#945) scripts/live_image_smoke.pychecks the formats against the live APIs. On 2026-11-10 they passed for the OpenAI Responses API, Codex, xAI (Responses and Chat Completions) and Anthropic, and DeepSeek got notes as a text-only model should. Gemini has not been checked live yet. (#947)
Events
-
ImagePartis new. User-messagerpc.messagessnapshots andqueue.message.injectedgainimages;queue.updatedandqueue.items.removedgainsteering_imagesandfollow_up_images;rpc.session.forkedgainsselected_imagesandrpc.session.tree.navigatededitor_images, so a message that returns to the composer brings its images; andtool.execution.endedandtool.resultgainimages(at most six). The model selection inrpc.model_cataloggainsimage_inputandmax_request_image_bytes. Sessions save message images (optional, so noschema_versionchange). The schema bundle and conformance fixture are regenerated; the same-release rule applies. (#937–#945) -
tool.execution.endedandtool.resultgainedit_locations: for a successfuledit, each edit’s first line in the file before the call and in the file it produced, in call order (empty for other tools). Sessions save them with the result (optional, so noschema_versionchange), andrpc.messagessnapshots carry them astool_result.edit_locations. The schema bundle and conformance fixture are regenerated; the same-release rule applies. -
tool.execution.started,tool.approval.requested,tool.approval.resolved,tool.execution.endedandtool.resultgain an optionaltarget: for a proxied MCP call (mcp_call, see MCP below) it names the MCP tool that runs, whilenamestaysmcp_call. It isnullfor every other call. The schema bundle and conformance fixture are regenerated; the same-release rule applies. Sessions save the target with a proxied call’s result (an optional field, so noschema_versionchange), andrpc.messagessnapshots carry it astool_result.target. -
agent.startedgains an optionalsetup(RunSetup): the names of the tools offered to the model, in offered order, and SHA-256 hashes of the tool specs and of the system messages the run starts with. It lets an eval or a log reader confirm which setup a run actually had. The system messages include project context and Git status, so their hash also changes with the repository.agent.startedis not saved in session files. The schema bundle and conformance fixture are regenerated; the same-release rule applies.
MCP
- New user-only setting
mcp_tool_exposureandWISP_MCP_TOOL_EXPOSURE:"auto"(the default),"direct"or"on_demand". On demand, the model getsmcp_search,mcp_describeandmcp_callinstead of every MCP tool’s definition.autofinds tools on demand when a run’s MCP definitions come to at least 2,000 estimated tokens, and sends them directly below that.mcp_callreaches only the MCP tools direct mode would offer that run, and each call goes through that tool’s own safety, approval and session grant. The TUI and CLI approval prompts name the tool that runs. In the tool-use evals, on demand cut tokens per run by 76–77% on a multi-step task with a 102-tool catalog and by 28–46% with 50 small tools, with every run still passing; with 6 tools it cost 20–34% more. A sweep from 6 to 50 tools found the break-even at about 1,800 estimated tokens of definitions, which setsauto’s threshold. A call missing a required parameter is refused before approval; types are left to the server. - In the TUI, an
mcp_callcard shows the MCP tool it runs and that tool’s own arguments, as a direct call’s card does, once the backend has resolved the call, in resumed sessions too. A call interrupted before its result, or split across two history pages, still showsmcp_call.
CLI
wisp -pgains--timeout SECONDS. At the deadline the run is asked to stop as a cancellation does: running tools and commands are stopped, and the run saves its session and still emitsagent.completedwith outcomecancelledand its totals. It reports why it stopped, and Wisp exits with status 124. A run already finishing after its last turn completes normally; one that neither stops nor finishes 10 seconds later is stopped outright, and if cleanup still holds it open 10 seconds after that, Wisp exits at once. No event or session format changes.CodingSession.cancel_run()is the new public way to ask an active run to stop like this; a run it stops between turns reportscancelled, not the last turn’scompleted.
TUI
- Ctrl+O (
prompt.external_editor) opens the draft in$VISUAL,$EDITORorviand makes the saved text the new draft, as one undoable edit. The editor runs as the terminal’s foreground job, so Ctrl+C cancels only the edit, and a running prompt’s events keep being handled meanwhile. A customtui_keybindingsthat already binds Ctrl+O to another action now conflicts with this default, which restores the default keymap with a warning; bindprompt.external_editorto another key, or to[], to keep yours. - While browsing cards, Ctrl+O opens the file the selected card names in the same editor, at the card’s line: a read’s start, a search’s first match, or the top of an edited or written file.
- Links in replies and the file path on read, edit and write cards are OSC 8 hyperlinks, so
terminals that support them make them clickable. Only
httpandhttpsreply links are linked. - While a run works, the indicator beside “Working” breathes, and a tool card whose call just
finished glows briefly. The breath blends colour on truecolor terminals and steps between bold and
dim at lower colour depths; the glow needs truecolor.
WISP_TUI_MOTION=off,NO_COLOR, and a terminal in the background keep everything still. - An edit card’s diff shows the file’s real line numbers, live and in resumed sessions, and each edit’s header names the line it starts at. Edits saved before this release keep numbering each fragment from 1.
- Paste a screenshot, or paste or drag an image file’s path, into the composer to attach it; each
shows as a chip such as
Image 1 · 640×480, Backspace in an empty draft removes the newest one, and the sent prompt shows a[image 640×480 png]line for each. Attaching is refused with a notice when the model does not take images or the images would not fit one request. A queued message popped back into the composer, or a prompt forked to edit, returns with its images. A tool card whose result returned images ends its action row with the same label, or[2 images]. (#942, #943, #948) - The TUI detects the terminal’s colour depth and converts each frame to 256 or 16 colours where
truecolor is missing, such as older macOS Terminal.app and the Linux console, moving text that
would become hard to read to the nearest readable colour.
WISP_TUI_COLORS(auto,truecolor,256or16) overrides the detection. (#925) - The terminal title follows the run (
Wisp · working · <folder>,needs approval,needs trust,error, orWisp · <folder>) and is restored on exit. When a run finishes, fails, or waits for approval or trust while the terminal is in the background, Wisp sends a notification (OSC 9);WISP_TUI_NOTIFY=bellrings the bell instead andoffsends nothing. A pending approval’s border breathes while it waits. (#927)
Prompt
- When neither the project root nor any folder down to the working directory has an
AGENTS.mdorCLAUDE.md, the project context now says so and tells the model not to search those folders or any above the project root; a subfolder below may still have its own. Without it, models went looking forAGENTS.mdin the parent folder, outside the working directory, and hit a tool error in about half of the tool-use eval runs.
Tools
- A finished
bashcommand’s long output is now shown as its first 64 lines (up to 4,000 bytes) and its last 192 lines (up to 8,000 bytes), with a[truncated: N bytes omitted after the first K lines]line between them, instead of its last 50,000 bytes. A build’s first error, often printed early, is now visible withoutread_output. In the tool-use evals this cut tokens per run by 46–75% on the two long-output tasks, with every run still passing. Wisp’s sessions save the full output forread_outputwhenever a result leaves anything out, which now happens from about 12 KB; an embedding that buildsBashToolwithout an output store has no saved copy. Polls of started processes and timeouts keep showing the end. The result’sstdoutandstderrdata fields and theToolResultReadyevent are unchanged. - An
editthat replaces the start of a file with a UTF-8 byte-order mark keeps the mark.readshows the mark as part of the first line, so anoldTextcopied from it matched the mark and anewTextwithout it removed it. Matching is unchanged, and a U+FEFF elsewhere is still text. (#946)
Build
- The Rust TUI moves to ratatui 0.30.2 and crossterm 0.29, and building it from source needs Rust 1.88 or later (was 1.85). Published wheels are unaffected. (#922)
Skills
- The bundled
wisp-developmentskill, now version 1.6, covers MCP servers (user-only settings, defaultcommandsafety, on-demand exposure, and confirmed proposals), theask/yolopermission modes and plan mode, the stale-write check, the full set of always-protected files, and where each layer’s code lives. It also namesProviderResponseLifecycleby its current name.
0.6.1 — 2026-11-08
0.6.1 is a patch release on 0.6.0 for the terminal UI. It shows the effort level a model uses by default, scrolls footer notices that do not fit, and gives each fact one place on screen instead of repeating it in the main column and the side panel. It adds one optional field to the model catalog report and changes no command, handshake, session, settings, credential, or trust format, so 0.6.0 and 0.6.1 read each other’s sessions. The backend and frontend must come from the same release.
Events
RpcModelCatalogEntry(in therpc.model_catalogevent) gains an optionaldefault_effort: the effort level the provider applies when a request names none, for models whose documentation states it. Wisp still sends no effort unless one is chosen. The schema bundle and conformance fixture are regenerated; the same-release rule applies, and a 0.6.0 reader rejects the new field. (#908)
Providers
- The provider catalog gains an optional per-model
[providers.default_effort]table, filled from each provider’s documentation and checked against the model’seffort_levelswhen the catalog loads. (#908)
Terminal UI
- With no effort chosen, the composer and footer show the model’s documented default effort,
muted, or
defaultwhen the model has effort levels but no documented default. (#908) - A footer notice wider than its row, such as the warning that YOLO and trust are not saved in the home folder, scrolls as a ticker instead of being cut off. (#908)
- The docked side panel no longer repeats what the main column shows: its “Now” section and
idle/running label are gone, and the run status line leaves out
ctxwhile the panel shows context, unless context is running low. The welcome screen drops two lines that repeated the composer placeholder and the command hint. (#909) - YOLO shows on the composer line, so it stays visible when the panel is hidden, and the panel’s key hints join the main footer’s single row. (#910)
- The side panel folds healthy MCP servers and skills to their heading. MCP opens by itself when a server disconnects or the list can’t be read, and skills open once one is used or the catalog reports diagnostics. Recent turns leaves out the latest prompt, which the transcript pins above its reply. (#911)
- A turn’s summary row names the mode, model, and effort only on the first turn and when they change, instead of repeating the composer line on every turn. (#912)
0.6.0 — 2026-11-07
0.6.0 is a minor release about long-running commands: bash now saves the output its result has
to cut, so the model can read an early error instead of running the command again, and the
terminal UI shows a command’s output while it runs. It adds one transient event,
tool.execution.progress, and one read-only tool, read_output. It changes no command,
handshake, session, settings, credential, or trust format, so 0.5.x and 0.6.0 read each other’s
sessions. The backend and frontend must come from the same release, which matters more than usual
here: a 0.5 terminal UI does not recognise the new event.
Events
- New transient event
tool.execution.progress(ToolExecutionProgress): a snapshot of a running call’s output, with a per-callsequence,elapsed_ms, the last 4 KiB and 20 lines of stdout and stderr, and byte totals. It arrives only between the call’stool.execution.startedandtool.execution.ended; each snapshot replaces the previous one, so consumers may skip any of them. It is not persisted. JSON output mode, RPC, and the SDK include it; text print mode does not show it.CodingSession.run()takes an optionallive_event_sinkto receive it. The schema bundle and conformance fixture are regenerated; the same-release rule applies.
Tools
- A one-shot
bashcommand that runs longer than half a second now reports its output while it runs. The TUI shows the latest line beside the running card and the last lines of both streams when it is expanded. Updates come at most four times a second and only when output changed; a frontend that falls behind skips to the newest output instead of slowing the command. Progress never reaches the model and is not saved in the session. (HY-432) - When a
bashresult has to cut output, the full stdout and stderr are saved and the result names anoutput_id. The new read-onlyread_outputtool pages through saved output, so the model no longer reruns a command to see an error printed early. A poll of a started process that dropped output, and a timed-out command, report saved output the same way; a timeout error also shows the last lines of output. Saved output is private to the user, bounded (8 MiB per stream, 64 MiB and 32 streams per runtime), and deleted when Wisp exits.read_outputis exposed wheneverbashis. No event, command, or session format changes. (HY-434)
Terminal UI
- When a reply gets shorter, for example when the final text replaces a longer streamed draft, the view no longer jumps to the reply’s first row; it stays on the last row. (#896)
Python API
CodingSession.run()gains an optionallive_event_sinkthat receivesToolExecutionProgressevents, andToolContextgains an optionalprogresshandle that tools report through.ProcessSupervisorgains anoutput_store(and an optionaloutput_store=argument), andbuiltin_tools()includesReadOutputTool. Existing calls keep working unchanged. (#905, #906)
0.5.0 — 2026-10-27
0.5.0 is a minor release that hardens the built-in tools: it closes two ways credentials or protected files could reach the model, stops commands Wisp starts from outliving it, and bounds searches and file operations on very large trees and files. It changes no command, event, handshake model, or session format, so 0.4.x and 0.5.0 read each other’s sessions; the backend and frontend must still come from the same release. It is a minor release because tool behavior changes in ways callers can observe; the most visible are listed under Tools.
Security
- Protected-path matching follows case-insensitive filesystems, which fold more than lowercasing
does: on APFS
credentialſ.jsonopenscredentials.json, andreadno longer reaches it. Composed and decomposed accents count as the same name, andlsnow hides protected names asgrepandfindalready did. (#849) bashcommands no longer inherit the environment variables Wisp reads provider API keys from, including a configured OpenAI-compatible endpoint’s variable, so a command cannot print them into the transcript. Your other exported variables still reach commands. (#850)
Tools
writeandeditrefuse an existing file the model has not read in this conversation, or one that changed since it did, so a hand edit or a regenerated file is no longer silently overwritten. The model is told to read the file first; new files need no read. (#856)- Leaving a session (a new session, or selecting, cloning, or forking another one) stops the
background processes started with
bash operation=start. (#864) grep,find, andlsstop after 30 seconds and return what they found, marked incomplete. Searches enter at most 100 directory levels and say how many deeper directories they skipped. (#858, #863)bashbounds its waits: a one-shottimeoutof at most an hour,lifetime_secondsof at most a day, andyield_secondsandwait_secondsof at most 10 minutes. When every process slot is taken, the error lists the processes holding them so the model can poll or cancel them. (#857)editrefuses files over 16 MiB and suggestsbashinstead.readno longer loads a whole long line before applying its output limit, so reading a huge single-line file stays small in memory. (#863)writerefuses a target that is not a regular file, such as a FIFO, instead of blocking or replacing it. A replacement for an existing file is created private (0600) until it takes the file’s mode, and the directory is synced after the rename so the write survives a crash. A path containing a NUL byte is an argument error in every file and search tool. (#859)grepskips files it cannot read, such as iCloud placeholders or files without read permission, and files with a line over 1,000,000 characters, listing them in a notice instead of failing the whole search. Searching such a file directly names it in the error. (#852, #860)grepandfindstarted in a subfolder of a repository apply the repository’s ignore files from its root down, as Git does. A repository at the home folder or above is never used. (#851)
Processes
- A command that daemonizes (double-forks, calls
setsid, and redirects its output) is stopped when the command ends, as other background processes already were, and no longer keepscancel, lifetime expiry, or shutdown waiting on its open pipes. (#853, #854) - The backend stops its background processes when it receives SIGHUP or SIGTERM, such as when the terminal closes. If it is killed outright or crashes, a watchdog process stops the commands it was running. (#855, #862)
Terminal UI
- The terminal UI and the SDK wait up to 30 seconds, instead of 5, for the backend to answer the handshake, so a slow first start no longer fails. (#848)
- A key pressed on a prompt-history choice is no longer ignored when the background reads that follow a prompt finish just before it. (#869)
Python API
ToolContextgainswithheld_environment, the variablesbashleaves out of a command’s environment, andseen_files, the record that guardswriteandedit. A bareToolContext(cwd=...)withholds the provider key variables but leavesseen_filesunset, so tools an embedding calls directly keep their earlier write behavior;ToolContext.from_configenables both. (#850, #856)
0.4.0 — 2026-10-25
0.4.0 is a minor release focused on the built-in tools: faster grep and find, file tools that
cope better with real files, and a more dependable bash. It changes no command, event, handshake
model, or session format, so 0.3.x and 0.4.0 read each other’s sessions; the backend and frontend
must still come from the same release. Code that sets ToolContext’s operation write fields must
migrate; see Python API below.
Tools
bashruns commands in bash (/bin/bash, thenbashonPATH, falling back to/bin/sh) instead of/bin/sh, so[[ ]], arrays, andpipefailwork on Debian and Ubuntu. (#827)- One-shot
bashkeeps the end of stdout and stderr separately instead of letting long stdout push out stderr, starts commands with stdin from/dev/null, returns shortly after the shell exits, and tells the model when it stopped background processes that still held the output. (#819, #822) - Process cleanup on a busy machine no longer gives up before killing the process group, which had ended runs as “Failed to terminate process tree” and could leave processes running. (#830)
editmatches LF edits in CRLF files, tolerates trailing whitespace the model did not copy, names the failing edit and whether it matched nothing or several places, reports indentation mismatches, and rejects edits that change nothing. (#821, #826)readends a cut-short read with the offset to continue from, rejects an offset past the end, and suggests how to get past a line longer than the output limit. (#819)read,grep,find, andlsfollow a symbolic link whose target stays inside the workspace and passes the protected-path check, which fixes monorepo and pnpm layouts; a symlink loop no longer crashes.writeandeditstill refuse links and name the target to write instead. Links found while walking a directory are still skipped. (#829)grepclips matched and context lines to 500 characters, andgrepandfindsay how to see more when they stop atmax_results. (#823)- An ignore-file line that cannot be translated, such as
foo\, no longer fails the whole search, and an invalid glob argument is reported as an argument error. (#839) - The MCP credential file stays protected even when
protected_pathsis emptied. The docs now state that protected paths bind only the file tools, notbash, MCP, or extension tools. (#825)
Performance
- With the native extension,
grepandfindwalk directories in Rust, including gitignore matching ported from pathspec, and run in parallel within a tool batch.findon Wisp’s own repository drops from about 114 ms to 29 ms. (#840, #841, #842) - Python
grep(regex, ignore-case, and literal without the native scanner) searches each block of lines once before its individual lines, splits lines withstr.splitlines, and calls the regex module more cheaply; the last two changes alone take a regex search with no match over Wisp’ssrc/from about 120 ms to 45 ms. Concurrent regex greps no longer slow each other down several times over. (#833, #842, #843, #844) - The walk checks protected paths once per directory,
findno longer resolves each file again, and the native literal scanner searches whole chunks instead of each line. (#834, #836, #837) - A
bashcall on macOS skips a final job sample that cannot find anything, about 16 ms per call. (#835)
Python API
ToolContext’sallowed_write_paths,conflicting_write_paths,require_create_only_writes,require_non_empty_writes, andcreate_only_write_receiptare replaced by onewrite_constraint, aWriteConstraintfromwisp.tools.contextwithallowed_paths,conflicting_paths,create_only,non_empty, andreceipt. The fields were undocumented and only/initset them, so they are removed without a deprecation period; see the 0.4 compatibility notes. AToolContextbuilt from a working directory, budgets, and protected paths is unaffected. (#845)wisp.agent.harness, which is not a supported namespace, renamesSimpleCancellationTokentoRunCancellationTokenandqueue_full_errortoqueue_full_message, movesToolResultProcessingErrortowisp.coding.tool_execution, and no longer re-exportsQueueKind; import it fromwisp.events. (#815)
Documentation
- Reorganized navigation and refreshed styling on the documentation site, and the README banner and homepage now show the terminal UI. (#820, #838)
0.3.1 — 2026-10-23
0.3.1 is a patch release on 0.3.0 with one terminal UI fix and the documentation site cutover. It changes no command, event, handshake model, or session format, so 0.3.0 and 0.3.1 read each other’s sessions; the backend and frontend must still come from the same release.
Terminal UI
- The run status line shows “Compacting context” while an automatic compaction runs, whether the
context reached the compaction threshold or overflowed. Previously it kept showing “Working” or
“Thinking” until compaction finished; manual
/compactalready showed it. (#810)
Documentation
- The documentation site now builds with Astro instead of mdBook, with Pagefind search, user-first
navigation, refreshed homepage and section entry pages, a published changelog, and an archive of
maintainer release records. The TUI guide is split into focused pages, and SDK task guides are
separate from the API reference. The
/Wisp/base path, print page, and older page URLs still work. (#803, #804, #805, #806, #807, #808, #809)
0.3.0 — 2026-10-22
0.3.0 is a feature release centered on reading, reviewing, and following work in the terminal. Native platforms remain macOS arm64 and Linux glibc 2.28+ x86_64, with a pure wheel for other platforms. Python 3.12+ remains required. The Python backend and Rust frontend must be upgraded together to exactly the same release.
Terminal UI
- A docked, resizable sidebar on wide terminals and a Ctrl+B overlay on smaller terminals show the workspace, context budget, recent turns, changed files, and visible MCP/skill inventories. Context details remain expandable; running and approval states have dedicated presentations. (#773, #776, #778, #779, #786, #790, #791, #797)
/diffreviews the working tree against HEAD, including staged and unstaged tracked changes, with untracked files listed separately. It identifies files edited by Wisp in the session. Retained edit/write previews use a full-width unified layout, a compact gutter, and explicit omission counts; the review overlay keeps its unified/split controls. (#769, #789, #795, #799)- Assistant prose has an 88-column reading width, paragraph and list spacing, and aligned wrapped list items. The composer, footer, turn rail, and streamed activity have clearer spacing and status. Shift+Enter is distinguished from Enter when the terminal supports the kitty keyboard protocol. (#771, #774, #775, #777, #781, #782, #798)
- Tool activity shows concise command/MCP subjects, grouped call counts, execution times, and named process outcomes. Shell and process output has a readable surface and independently expandable earlier lines. Hidden retained output and unavailable output have separate counts; previews keep normal contrast without fading. (#770, #772, #787, #788, #792, #795, #800)
- The default agent prompt leads with outcomes, keeps progress updates brief, and groups related check results while retaining failures and uncertainty. Requested detail remains available; there is no hard response-length limit. (#801)
RPC, SDK, and context
- Add
get_git_diff,RpcController.get_git_diff(), and therpc.git_diffevent for a bounded, backend-owned working-tree review. Addrpc.workspacefor the current folder and branch. External clients must use the matching 0.3.0 schema bundle. (#769, #773, #789) - Session stats expose a source-attributed context breakdown, including messages, tools,
instructions, per-turn contributions, and the largest items. Estimated splits remain identified
as estimates;
/contextand the sidebar show the same backend data. (#784, #786) - Tool and process timing and completed-run totals now survive reopening a session. RPC history snapshots expose the corresponding timing and run-completion metadata. (#772, #787, #788)
Compatibility and rollback
0.3.0 reads 0.2.4 sessions without rewriting them. Entry schema v6, event-envelope v1, and compaction v4 remain unchanged: the additions are defaulted metadata, not a migration. Backward readability is not guaranteed. 0.2.4 may reject sessions containing the new tool presentation fields, and its typed event reader rejects new event fields. Back up sessions before upgrading; use a pre-upgrade backup or new sessions if returning to 0.2.4. Keep sessions written by 0.3.0 for reopening with 0.3.0; do not remove fields from JSONL files to force a downgrade. Settings, credentials, and trust formats are unchanged. See the 0.3 upgrade guide for commands and compatibility details.
Development and documentation
- CI selects checks from the complete change set, runs independent jobs concurrently, and retains a required final gate. PTY checks handle incremental repainting and resize boundaries more reliably. (#785, #794, #796, #800)
- Astro documentation gains content/navigation foundations, responsive layouts, light/dark/system themes, accessible code/diagram presentation, and built-site browser checks. Production docs still deploy through mdBook; search and the final cutover are follow-up work. (#780, #783)
0.2.4 — 2026-10-20
0.2.4 is a patch release on 0.2.3 with Codex transport diagnostics and terminal UI improvements. It changes no command, event, handshake model, or session format. Sessions remain compatible; the backend and frontend must still come from the same release.
Terminal UI
- Retained edit/write review supports unified and side-by-side layouts, hunk navigation with
[/], edit navigation with Tab / Shift+Tab, and retained-context toggling withc. Presssfor split review; narrow terminals use unified review. This is review of one retained tool edit, not a cumulative working-tree diff against HEAD. (#767) - Inline diffs use old/new gutters, syntax colors, stronger changed-word highlights, and coherent preview folding. Edit line numbers are fragment-relative. Omission counts include changes beyond the retained-detail limit. (#767)
- Routine tool rows use quieter spacing, relative paths, and conservative command summaries. Expanded rows retain original arguments and process diagnostics. Process cards use task names where available, and the footer is shorter. All nine existing themes have coordinated diff colors and softer panels/chips; Paper remains the main light theme. (#767)
Codex provider
- Transport failures retain safe diagnostics: exception type, timeout phase and configured limit, attempt number, and current response ID when available. Session history preserves these diagnostics without transport exception text, request URLs, or headers. Started responses are not automatically replayed; completed tool results and partial replies remain available when resuming the session. (#766)
- Configure read inactivity with the user-only
codex_read_timeout_secondssetting,WISP_CODEX_READ_TIMEOUT_SECONDS, or SDK configuration. The default stays at 300 seconds; values must be positive and finite. This is an idle timeout, not a total response deadline. Caller-injected HTTP clients keep their own timeout policy. (#766)
0.2.3 — 2026-10-20
0.2.3 is a patch release on 0.2.2 with two terminal UI changes. It changes no command, event, or handshake model and no session format, so 0.2.2 and 0.2.3 read each other’s sessions; the backend and frontend must still come from the same release, which the handshake enforces.
Terminal UI
- Consecutive calls to the same MCP tool collapse into one row with a count, such as
linear/get_issue ×8 id=HY-270 … id=HY-278, showing the first and last call’s arguments. While a call in the run is open, the row shows that call with· 7 of 8 done, and a call awaiting approval keeps the?marker with· awaiting approval. Click,Right, orEnterexpands the row as forexplored N files. Bash, edit, and write cards never group. A blank column now separates every card’s status marker from its tool chip. (#763) - Streamed replies appear at an even pace, a word at a time and about a tenth of a second behind the
stream, instead of in the provider’s bursts. An unfinished
**bold**,`code`, or~~strike~~span, table row, or code fence line waits until it is complete, so raw markers do not flash. A pause in the stream, the end of the run, or a tool card or prompt that follows shows any waiting text, and more than 16 KiB waiting is shown at once. SetWISP_TUI_STREAM_PACING=0to show text as it arrives, orWISP_TUI_STREAM_TRACE=<path>to record when each text delta arrives. (#764)
0.2.2 — 2026-10-19
0.2.2 is a patch release on 0.2.1 with one terminal UI change. It changes no command, event, or handshake model and no session format, so 0.2.1 and 0.2.2 read each other’s sessions; the backend and frontend must still come from the same release, which the handshake enforces.
Terminal UI
- Back-to-back collapsed tool cards are separated by a thin rule instead of touching, so their chips no longer merge into one block in a run of one-line calls. A chip is now only as wide as its name, with plain padding keeping commands and paths in one column. A blank row separates your prompt’s highlighted surface from the reply or cards below it. A card showing its results keeps a blank row before the next card, as before. Each rule costs a row, so a run of five collapsed cards takes nine rows. (#761)
0.2.1 — 2026-10-19
0.2.1 is a patch release on 0.2.0. It changes no command, event, or handshake model and no session format, so 0.2.0 and 0.2.1 read each other’s sessions; the backend and frontend must still come from the same release, which the handshake enforces. Two fixes change which events a consumer sees in failure paths; they are listed under the event contract below.
Terminal UI
- Tool cards are easier to scan. Each card leads with a short tool name in a tinted chip (
Bash,Read,Search,List,Edit,Write,Process, orMCPwithserver/tool) in place of verb phrases such asRanorAwaiting approval to read. States the status marker can’t show, such asawaiting approvalordenied, end the row as a muted note. The first result row starts with a└connector, a selected card shows a muted(→ to expand)hint instead of a solid bar, a click on a card’s action line, anexplored N filesrow, or a thought header expands or collapses it, and back-to-back cards stack without blank rows. (#759)
Event contract
- When a provider raises an ordinary exception after its response started (for example a
connection reset), the open message now closes with
message.completed(finish_reason="error") carrying the partial text, beforeerrorand the turn’s terminal events. This matches what a typed provider failure already produced; the harness keeps the partial reply in the transcript. (#753, HY-190) context.overflowis published only while a turn is open. When Wisp’s own boundary check refuses to build the next request after a completed tool turn, onlyerroris published; it no longer names the completed turn. Provider rejections inside a turn are unchanged. (#758, HY-201)
Fixes
- A response that repeats a tool-call id now fails the turn with a provider protocol error, so a mutating tool can’t run twice and the next request can’t carry two results with one id. (#756, HY-191)
- Over JSONL-RPC, the 101st
steerorfollow_upsent before a prompt run is ready gets the sameAgent queue is full (maximum 100 pending messages)error as one sent after, instead of an RPC command-queue error that depended on timing.wisp.agent.harnessnow also exportsDEFAULT_MAX_PENDING_QUEUE_MESSAGESandqueue_full_error. (#751) - Development: TUI end-to-end tests reap failed PTY children with a deadline and no longer wait for footer redraws that never come, with narrower macOS timeouts (#750, #752, #754, #757); a loop test checks that every opened message closes once (#755, HY-195).
0.2.0 — 2026-10-19
0.2.0 is the second stable release. It promotes the 0.2 release candidates below (RC1 through RC13) and adds two small changes since RC13. It changes no command, event, handshake, or session format since RC13, so RC13 and 0.2.0 read each other’s sessions; the backend and frontend must still come from the same release, which the handshake enforces. Read the upgrade guide before upgrading Python integrations or external JSONL-RPC clients from 0.1.
Since 0.1.0
The RC sections below have the details and pull-request numbers.
- Rust terminal UI.
wispopens a Rust TUI, now the only interactive interface; the Textual renderers are gone (RC3). Native wheels for macOS arm64 and Linux glibc 2.28+ x86_64 include it. Other platforms, including Intel macOS, get a pure wheel that keeps print, JSON, RPC, and SDK use. - MCP servers. Manage them from
/mcp, withwisp mcp, or by asking Wisp, without editingsettings.json. Hosted servers can authenticate with headers or OAuth (RC8, RC9). - Web search. Wisp can use the providers’ own web search, which the TUI shows and
/searchtoggles (RC8, RC11). - Trust and YOLO are never saved for your home folder or a folder above it (RC10).
- Prompt caching for Codex, xAI, and Anthropic keeps more of each conversation cached between prompts (RC4).
- Faster tools. Native wheels use Rust for literal grep and for retaining managed-process output,
and bash,
grep, andfindhave less local overhead (RC3, RC11).
Breaking changes since 0.1.0
- Interactive use needs a native wheel or a source-built
wisp-tui. Thetextual,fullscreen, andlinerenderers,--line,--tui-renderer, andwisp tui --rendererare removed (RC3, RC4). - External JSONL-RPC clients must send
rpc.handshake.requestfirst and connect only to a backend from the same Wisp release. Events no longer carry a per-eventschema_version, and the Python SDK rejects a backend from a different release (RC4). - The deprecated
wisp.agent.messages.SessionEntry(...)factory and the remaining compatibility shims are removed (RC1, RC4), and several internal modules moved with no re-export, includingwisp.agent.prompttowisp.coding.promptandwisp.agent.messagestowisp.messages(RC13). - Session files load only in the current format (entry schema v6, compaction record v4), which is what 0.1.0 writes; files from earlier prereleases no longer load (RC4).
~/.wisp/catalog.tomloverlays must declareschema_version = 2(RC4).
Since RC13
- Wisp no longer bundles the
github-pr-deliveryskill;wisp skills,/skills, and the RPC skill catalog list onlywisp-development, now version 1.5. A user or project skill with that name is unaffected. (#748) - The TUI’s startup logo and the brand images use the refreshed glass mascot. (#740)
- Development: the book moved to
book/and its CI fails on mdBook errors such as a missing include (#742); benchmark evidence moved tobenchmarks/evidence/(#743); the native-wheel build hook moved topackaging/hatch_build.py, with a new “How Wisp is built” page (#744); duplicate images were removed and a test now rejects them (#745); and the repository gainedCONTRIBUTING.mdandSECURITY.md(#746) and a rewritten README (#747).
0.2.0rc13 — 2026-10-18
RC13 finishes a cleanup of the agent runtime’s Python packages, stops a reply from flickering when it finishes streaming, and loads long sessions a little faster. It changes no command, event, or handshake model. Sessions a trusted RC13 run writes save their Git status snapshot in a new field, which RC12 and earlier reject: they list such a session but report it as malformed when resuming it. Several internal Python modules moved with no compatibility re-export. As always, the backend and frontend must come from the same release, which the handshake enforces.
Rust TUI
- A reply no longer flickers when it finishes streaming: the transcript keeps its layout until the command finishes, instead of briefly bringing back the working row. (#726)
Sessions
- A trusted run saves the Git status snapshot its project context used with that system message
(
repository_statuson the message entry), and a resumed session reuses it from there instead of re-reading it from the prompt text. A resume now also keeps the cached prompt when Git was unavailable or the project context was cut short. Sessions saved before RC13 read Git once on their next resume. The entryschema_versionstays 6, since earlier files still load. (#732) - Loading a session parses each saved entry once instead of twice. On a 10,000-message session, parsing every entry took about 30% less time, and resuming it in the TUI reached a ready screen about 50 ms sooner (local macOS measurement). (#736)
Prompts
- A custom
prompt_messagespassed toCodingSessionnow also gets the web-search guidance when search is on, after the skill index and before the plan-mode instructions, as the default prompt does. Only code that buildsCodingSessiondirectly can set it; the CLI, RPC, and SDK never do. (#733)
Python API
These modules moved with no compatibility re-export. None is in the documented SDK surface.
wisp.agent.promptis nowwisp.coding.prompt. (#730) Itsrecover_repository_statusis removed. (#732)wisp.agent.modeis removed: importAgentModeandDEFAULT_AGENT_MODEfromwisp.eventsandPLAN_MODE_SYSTEM_PROMPTfromwisp.coding.prompt.is_agent_modeis removed. (#734)wisp.agent.messagesis nowwisp.messages(from wisp.messages import Message), andwisp.agent.historyis nowwisp.messages.history. (#737)- New:
wisp.sessions.RepositoryStatusSnapshot(#732), andPROJECT_CONTEXT_HEADER(#732) andextend_custom_prompt_messages(#733) inwisp.coding.prompt.
Development
- The agent harness names its cancellation phases (#727) and keeps its message queues in
harness/queues.py(#728).prompt/project_context.pyis split intogit.py,project_root.py, andrepository_status.py(#731). Behavior is unchanged. - The agent README defines the continuation terms and the request-boundary rules (#729).
- The Rust TUI benchmarks run again: they passed the removed
--rendererflag. CI now runs their PTY tests, which skip without a builtwisp-tui. (#735)
0.2.0rc12 — 2026-10-17
RC12 is a Rust TUI candidate. Scrolling back no longer loses prompts, dragging over the transcript copies it, the conversation scrolls while an approval or trust prompt waits, and a label above the composer jumps back to the latest output. It changes no command, event, or session format; as always, the backend and frontend must come from the same release, which the handshake enforces. RC11 resumes, lists, and reads RC12 sessions.
Rust TUI
- Scrolling back no longer blanks the view when an older history page loads just as the row above an earlier prompt reaches the top. (#722)
- The latest prompt stays pinned above its reply while you scroll back through that reply; before, the first wheel tick up dropped it from view. (#722)
- Dragging over transcript text highlights it, and releasing copies it to the clipboard (natively
and through OSC 52) with a “Copied N chars” notice. A plain click copies nothing; wheel scrolling,
a resize, or an approval or popup appearing ends the selection. Mouse capture now also requests
button-drag reports (
?1002h), never all-motion tracking. The terminal’s own selection still works with its bypass modifier, such as Shift-drag in Ghostty, or withWISP_TUI_MOUSE=0. (#722) - While an approval or trust prompt is docked, the wheel and the transcript scroll keys (
PgUp/PgDn,Ctrl+Up/Ctrl+Down,Ctrl+Home/Ctrl+End) move the conversation. Clicks are still ignored, and a custom binding never takes a key the prompt uses. (#722) - When scrolled back, a
↓ latest · Ctrl+Endlabel (↓ new outputonce output arrives) sits on the blank row above the composer; clicking it returns to the latest output. Terminals too short for that row keep the footer’sscrolled/new ↓marker. (#722) - The footer no longer shows the session name or path. (#722)
- Tool-call responses without text no longer show a standalone
cost unknownlabel, live or after reload; priced estimates and saved cost data are unchanged. (#721)
0.2.0rc11 — 2026-10-17
RC11 shows and controls the providers’ own web search in the TUI, and cuts local overhead from
tool calls: bash returns sooner after a command exits, large output decodes faster, and the Codex
provider keeps one connection across turns. It adds a command field and two event fields, so an
RC11 backend and frontend must be paired. Session files keep their format: RC10 resumes, lists, and
reads RC11 sessions, including with read_typed_events().
Rust TUI
/searchshows whether provider-native web search is on, and/search onor/search offchanges it for the running session. The toggle applies to later prompts; it saves no default and does not change MCP search tools. Theweb_searchsetting andWISP_WEB_SEARCHstill set the default. (HY-265, #710)- Replies show the searches, opened pages, within-page searches, and failures behind them, with
bounded source titles and hosts, also when a saved session is loaded. A reply whose cost excludes
provider search fees shows
cost ≥…as a lower bound; one without a token estimate showscost unknown. (HY-265, #710) - Scrolled-back prompts keep a blank row between the previous reply and their highlighted block; the reply’s last line no longer touches it. (#711)
Tool execution
- A bash command that exits cleanly with nothing left running returns in about 40 ms on macOS instead of about 360 ms: Wisp skips the post-exit process scans and the termination grace period when no process survived. Survivors are still found and killed as before. (#712)
- Bash output that is valid UTF-8 decodes several times faster; 1 MiB of short lines went from about 790 ms to 150 ms end to end. Invalid bytes are replaced exactly as before. (#716)
- The core instructions ask the model to request independent read-only lookups together in one response instead of one per turn. The prompt-cache prefix changes once. (#713)
grepandfindcalls in one batch now run one at a time: their scans contend for Python’s GIL, so running them together was up to 1.9× slower (3.5× for case-insensitive grep).readandlsbatches still run in parallel; a batch mixing them withgreporfindruns serially. (#718)- A call rejected before it runs (unknown tool, invalid arguments, policy denial, denied approval) no longer forces its batch to run serially. Results stay in call order. (#714)
- A
grepregex that exceeds its 50 ms per-line limit on a busy machine gets one retry from a 1-second budget per search before the pattern is reported as too slow, so a benign regex is no longer rejected because the thread was starved. Catastrophic patterns still fail, after about a second. (#719)
Providers
- The ChatGPT/Codex provider reuses one HTTP client for the life of the runtime and reads each response to its end (for at most 0.25 s after completion) so the connection is kept. Requests within httpx’s 5-second keep-alive window reuse it; later ones reconnect as before. (#717)
Event contract
ConfigureCommand.web_searchturns provider-native search on or off for later prompts;RpcController.configure(web_search=...)sends it.CodingSessionState.web_search(rpc.state, defaultfalse) reports the setting, andRpcMessageSnapshot.web_searches(rpc.messages, default empty) carries the bounded search evidence of an assistant message. Neither is written to session files, which already heldweb.searchevents. (HY-265, #710)
Development
benchmarks/builtin_tools.pymeasures tool batches against a serial baseline, searches a real tree with--root, compares withrg, and times bash end to end. (#715)
0.2.0rc10 — 2026-10-16
RC10 stops YOLO and trust from carrying to every project under your home folder, and fixes trackpad scrolling that did nothing with the pointer over the composer. It adds two event fields, so an RC10 backend and frontend must be paired.
Trust and permissions
- YOLO and project trust are never saved for your home folder, any folder above it (including
/), a drive root, or the system’s temporary folder. Wisp still starts there; trust is asked each session, and YOLO chosen there (approval choice 3 or/permissions yolo) lasts for the session.wisp trust allowandrevokeexit 1 for such a folder. Records an earlier release saved for one are ignored, not deleted, and a startup notice names the folder and how to remove them. (HY-252, #707) - The project folder is no longer found by walking up into your home folder: a Git repository or a
marker such as
package.jsonorAGENTS.mdthere no longer makes the home folder the project for everything below it. A folder below home with no repository or marker is now its own project, so~/AGENTS.mdno longer loads as its project context. (HY-252, #707)
Rust TUI
- Wheel and trackpad scrolling moves the conversation wherever the pointer is, including over the composer, and right after a resize; before, such gestures were dropped. (HY-246, #708)
- In a long session, scrolling into history that must be reloaded while a reply runs now shows “Earlier history loads when this reply finishes.” instead of stopping silently. (HY-246, #708)
Event contract
ToolApprovalRequested.session_only_yoloandPermissionState.session_only_yolo(defaultfalse) say that choosing YOLO lasts for the session only. Sessions keep approval requests, so RC9’sread_typed_events()rejects an RC10 session in which one was made; resuming, listing, and reading messages are unaffected. (#707)
0.2.0rc9 — 2026-10-16
RC9 fixes two problems found while dogfooding RC8 with Linear’s hosted MCP server. It changes no session, event, protocol, or settings format, so RC8 and RC9 read each other’s sessions and settings.
- Fixed MCP servers with more than 64 tools being rejected whole: Linear’s 68 tools showed as “the server returned an invalid tool catalog”. The per-server tool count is removed; the limits on definition size per server and overall, discovery pages, and 256 MCP tools overall remain. A rejected catalog now reports its real reason instead of the generic message. (#705)
- Asking Wisp to add a hosted MCP server now proposes its URL and Wisp’s own OAuth sign-in, preferred
over API keys. A proposal that wraps a Streamable HTTP URL in a local bridge such as
mcp-remote, which waits for its own sign-in and timed out at startup, is refused with the URL to propose instead; a bridge to a legacy SSE-only server is still allowed. After you confirm an HTTP server, Wisp tells you to presslin/mcpif it needs a sign-in. (#705) lin/mcpon a command-based server explains how to add the server by URL to sign in, and on a server with its ownAuthorizationheader why it cannot. (#705)
0.2.0rc8 — 2026-10-16
RC8 makes MCP servers manageable without editing settings.json, lets Wisp set one up on request,
adds header and OAuth authentication for hosted MCP servers, and offers the providers’ own web
search. It changes the live RPC contract (new commands, events, and fields), so an RC8 backend and
frontend must be paired.
MCP servers
wisp mcp list,add,import,remove,enable,disable,login, andlogouteditmcp_serversin~/.wisp/settings.jsonthrough a locked, validated writer that keeps every other setting. Adding or enabling a server shows exactly what it runs, or where it connects and which variables it sends there, and asks first. (#695)/mcpin the TUI adds (by pasting a server’s config snippet), enables, disables, removes, reconnects, signs in to, and signs out of servers without restarting Wisp. Values you enter are masked and never shown again. (#696, #697, #698, #703)- Ask Wisp to “set up the GitHub MCP server”: it proposes the change with
propose_mcp_serverorpropose_mcp_server_change, and you confirm it. Only Confirm or Deny is offered; no permission mode,--yes, or session grant approves a proposal, and one that seems to carry a secret, or a field the confirmation does not show, is refused. (#699) - HTTP servers can authenticate with
headers(stored values) andheaders_from(a header built from an environment variable, such as"Authorization": "Bearer ${LINEAR_API_KEY}"). Headers go only to the server’s own origin, and every confirmation names each variable and the host it is sent to. Pasted snippets may setheaders. (#701, #703) - OAuth sign-in for hosted servers such as Linear’s:
wisp mcp login NAMEorlin/mcpopens the sign-in page and waits for the browser. Tokens are saved in~/.wisp/mcp-auth.json(private, protected from file tools), bound to the server’s URL, refreshed automatically, and never shown or sent to the model. A server that needs a new sign-in shows “sign in required”. (#702, #703)
Web search
- New user-only
web_searchsetting (orWISP_WEB_SEARCH), off by default, offers the provider’s built-in web search to the model: Anthropic (at most 5 searches per reply), OpenAI, xAI, and the Codex login. Google, DeepSeek, and OpenAI-compatible endpoints are not supported yet; the model is told it cannot search. Providers bill searches on top of tokens, so a reply that searched shows its cost as a lower bound (cost ≥…). (#700) - Anthropic
pause_turnis now resumed inside the adapter as one response. (#700)
Event and protocol contract
- New commands:
add_mcp_server,remove_mcp_server,set_mcp_server_enabled,reconnect_mcp,preview_mcp_snippet,login_mcp_server, andlogout_mcp_server. - New events:
web.search(WebSearchPerformed, also saved in sessions),rpc.mcp.preview(RpcMcpSnippetPreviewed), andrpc.mcp.login(RpcMcpLoginStarted). rpc.mcpserver entries gainlaunch(what the server runs or connects to, values never included) andsign_in. Tool approval requests gaingrants_allowed.UsageCostgainsweb_searches, present only when a reply searched.- New
McpStartupDiagnosticcodes:invalid-headerandlogin-required.
Compatibility
- RC7 reads RC8 sessions in which no web search ran. A session where one did (which records
web_searchesand aweb.searchevent) is reported as malformed by RC7. - RC7 cannot load a
settings.jsonin which any MCP server usesheadersorheaders_from: it ignores the whole file. Remove those entries before rolling back.
0.2.0rc7 — 2026-10-15
RC7 fixes a dead end found while dogfooding RC6: a prompt that failed, for example because the selected provider had no credentials, locked the TUI’s composer until exit. It changes no session, event, or protocol format, so RC4 through RC7 read each other’s sessions.
- Fixed the Rust TUI locking the composer after a failed prompt, which left “The prompt failed.
Ctrl-C exits.” as the only way out and made
/connectunreachable without credentials. A failed prompt now returns to idle, and its reason stays as a red✗ Prompt failed: …row under the transcript until the next command starts or the session is replaced. The backend’s missing-credential messages name/connect. A closed backend connection still ends the session. (#693) - The
/connectAPI-key entry docks above the composer, shows a cursor after the masked key and a character count, and says when an environment variable already supplies the key, since that variable takes precedence over a saved one. (#693) - Refreshed the bundled
wisp-developmentandgithub-pr-deliveryskills’ runtime guidance and review-evidence rules. (#692)
0.2.0rc6 — 2026-10-14
RC6 refreshes how the Rust TUI presents approvals, diffs, tool progress, and work in progress, and fixes dropped trackpad scrolling found while dogfooding RC5. It changes no session, event, or protocol format, so RC4, RC5, and RC6 read each other’s sessions.
- Fixed trackpad and wheel scrolling being silently dropped while the agent was working: tool output queued ahead of the gesture invalidated it, so earlier turns looked unreachable. Scrolling while idle was unaffected. (#685)
- Tool approval and project-trust requests now dock as one panel above the footer in place of the
composer instead of a centered box, keeping the conversation visible and the draft intact.
Choices can be picked with
↑/↓andEnteras well as the existing keys; there is no default choice, so anEntermeant for the composer cannot answer a request. The built-inbashtool’s command shows as$ commandwith its other arguments; other tools show all arguments./permissionsdocks above the composer with the same selection rules. (#686) editandwritecards show a quieter diff: change counts on the action line,⋯between hunks, no “No newline” notes unless the final newline changed, a line-number gutter forwrite, and the changed words of a replaced line in bold and underline. The Enter-details view still shows the full unified diff. (#687)- Tool cards mark their state by shape (
✓done,✗failed,⊘denied or cancelled,?awaiting approval) and running cards show a braille spinner. A collapsed card keeps its action line to one row, ending in…. The browse hint moved from every card to the footer. (#689) - The working row reads like
⠹ Thinking · 12s · Esc to interrupt: the phase, how long the current command has run, and the interrupt key. (#690) - Refreshed the provider model catalog with current OpenAI, Codex, Claude 5.5, Gemini 4 Argon, DeepSeek V4.1 Flash, and Grok 4.7 models and prices. (#684)
- Redrew the Braille startup logo for terminal legibility. (#688)
0.2.0rc5 — 2026-10-14
RC5 fixes two problems found in the published RC4: stdio MCP servers failing to start in public
installs, and wisp update dropping the Rust TUI. It changes no session, event, or protocol format,
so RC4 and RC5 read each other’s sessions.
- Fixed stdio MCP servers failing to start in public installs (“MCP server … is unavailable”, with
a
coroutine '_get_executable_command' was never awaitedwarning). Wisp called a privatemcphelper that became async inmcp2.3.0; it now resolves the server command itself, using the SDK’s public Windows helper. Affects 0.2.0rc3 and 0.2.0rc4 installs that resolvedmcp2.3.0. - Fixed a stalled HTTP MCP session termination no longer being bounded with
mcp2.2+, which sends the DELETE through a different client path. The shutdown deadline now applies to every send path. - Fixed
wisp updateinstalling the pure wheel, and dropping the Rust TUI, when uv’s default Python is older than 3.12: it now passes the running Python version touv tool install. The 0.2 install and rollback instructions add--python 3.12for the same reason, and the installation guide explains how to recover an install that has nowisp-tui. - Added a scheduled CI workflow that runs the test suite against the newest dependency versions
pyproject.tomlallows, sinceuv.lockpins older versions than public installs receive.
0.2.0rc4 — 2026-10-14
RC4 collects the changes since RC3: the live event contract without per-event versions, removal of the remaining compatibility shims, prompt-cache improvements for Codex, xAI, and Anthropic, and fixes found while dogfooding RC3.
Rolling back to RC3: RC3 cannot open a session in which RC4 saved a response with a
prompt_cache_key (responses from providers that send cache keys, such as Codex and OpenAI); it
reports a malformed session entry. Back up sessions before trying RC4, and restore the backup rather
than opening RC4-touched sessions with RC3.
- Breaking: the live RPC handshake no longer carries a protocol version. Requests drop
min_protocol_version/max_protocol_version, accepted responses dropprotocol_versionand the range, and theprotocol_version_mismatchrejection code is gone; frontends rely on thebackend_package_versioncheck instead. The manifest no longer recordslive_protocol_versionorschema_format_version. - Breaking: removed the TUI renderer selector:
--tui-renderer,wisp tui --renderer,WISP_TUI_RENDERER, andwisp.cli.TuiFrontendKind. The TUI is always the Rust frontend. - Breaking:
~/.wisp/catalog.tomloverlays must declareschema_version = 2. - Breaking: removed remaining compatibility shims from the public Python API:
defer_context_overflow_errorsonAgentLoopConfigand the harnessprompt,prompt_message, andcontinue_methods (deprecated since #634); theTuiRendererKindalias (useTuiFrontendKind);persist_user_effort(usetry_persist_user_model_selection);SessionReplay.entry_ids(usecontext_entry_ids); andProjectSnapshot.paths(useentries).replay_session_entriesno longer chains tree entries that omitparent_id; link them explicitly. Runtime factories patched in forbuild_runtimemust accept every keyword argumentbuild_runtime_for_configpasses. These removals are a documented early-removal exception in the compatibility policy. - Breaking: session files are read only in the current format (entry schema v6, compaction
record v4). Unversioned and v1–v5 session files, and events stamped with a pre-v9
schema_version, now fail to load instead of being upgraded in memory. - Breaking:
WispEventpayloads no longer carry a per-eventschema_version. The currentschemas/live-rpc/bundle is the single event contract, and a backend and frontend must be the same Wisp release. - Breaking (SDK): the Python SDK now rejects a backend from a different Wisp release at connect
time with
RpcHandshakeError(code"backend_version_mismatch"), as the Rust TUI already did. Previously a mismatched backend failed mid-stream on the first event it could not decode. - The Anthropic adapter now requests prompt caching. Every Messages request sends top-level
cache_control, so tools, system prompt, and resent history are read from cache on the next request. Before, nothing was cached and every request was billed as uncached input. In a live check, follow-up prompts went from 0% to 88–98% of input read from cache. - Sessions hosted by
RpcHost(the TUI’s backend,wisp --mode rpc, and the in-process SDK) ask Anthropic for a 1-hour cache lifetime, so a pause of more than five minutes between prompts no longer re-writes the whole conversation to cache. One-off print and JSON runs keep the 5-minute default. Cache writes cost 2× input at 1 hour (1.25× at 5 minutes). - The Codex adapter sends Wisp’s prompt-cache key as a
session_idheader, which the Codex backend needs before it reliably reuses cached prompt prefixes. - The project-context git status is read once per session and reused when a session resumes, so the system prompt stays byte-identical across prompts and restarts and the provider’s prompt cache keeps matching.
- Each response’s
ContextObservationrecords theprompt_cache_keyits request carried (a new optional field; the schema bundle is regenerated in place). - The Rust TUI’s session picker searches and pages the full saved-session catalog (debounced
name/ID search, newest first, refresh and retry) instead of showing a fixed 50 sessions.
get_sessionsaccepts optionalqueryandcursorparameters over RPC and the SDK. - The Rust TUI adds
/queueand a configurablequeue.manageaction to review, restore, and clear queued steering and follow-up messages. Mutations are guarded against stale queue snapshots. - Fixed clone and fork failing with
Projected session validation failedfor any session that had run a prompt in the current process. - Fixed a caller’s own cancellation (an asyncio
task.cancel()or an anyio timeout) being swallowed while a tool batch ran and reported as an ordinary cancelled turn. It now propagates; only the run’s own cancellation token settles the batch. - The Rust event decoder fills omitted fields that have a schema default, exactly as the Python reader does, so both frontends accept the same live events.
- The Codex adapter resends each earlier response’s own output items (including encrypted
reasoning) when a new prompt rebuilds history, and sessions save those items on the response’s
row in a new optional
Message.native_outputfield. The prompt cache now reaches the end of the previous run, including after a restart or/resume. The field is not sent over RPC. - The xAI adapter does the same: fresh requests replay each earlier response’s output items and
request encrypted reasoning (
include: ["reasoning.encrypted_content"]). The OpenAI adapter keeps the portable rebuild until its backend has been checked. - Fixed the RPC backend aborting at shutdown (
Fatal Python error: _enter_buffered_busy, exit code -6) whenever the frontend kept stdin open, as the Rust TUI does. The handshake is now read from the stdin descriptor without buffering later commands, so POSIX backends read stdin without a thread and the Windows reader thread no longer holds the stdin buffer lock. - Fixed the Rust TUI on Linux occasionally ignoring a key pressed at the same moment the
terminal was resized until the next keypress. crossterm now reads input through its poll-based
/dev/ttysource (use-dev-tty) instead of edge-triggered mio. - Dropped live RPC version history: the historical
schemas/live-rpc/v1–v8bundles, their immutability checks, and the pre-v9 handshake rejection shape. The current bundle now lives directly inschemas/live-rpc/, and the release asset iswisp-live-rpc.tar.gz. - Removed the compatibility alias modules
wisp.tools.process,wisp.tools.file_ops,wisp.tools.paths,wisp.tools.process_manager,wisp.tools.secure_fs, andwisp.providers.retry. Import from the defining modules instead:wisp.tools.shell.process,wisp.tools.files.operations,wisp.tools.files.paths,wisp.tools.shell.supervisor,wisp.tools.files.secure_fs, andwisp.retryrespectively.
0.2.0rc3 — 2026-09-17
RC3 makes Rust the sole terminal interface. The Python runtime remains authoritative for agent behavior, providers, tools, permissions, and saved sessions.
- Removed the Textual and Python fullscreen renderers and their
prompt-toolkitdependency.wisp,wisp tui, andwisp --mode tuinow select Rust. Native wheels for macOS arm64 and Linux glibc 2.28+ x86_64 bundle the TUI; pure/source installs retain print, JSON, RPC, and SDK, while interactive startup explains how to obtain or build a matching binary. The legacytextual,fullscreen, andlinerenderer choices and--lineflag are no longer available. RC3 also drops RC2’s Intel macOS native wheel. - Moved native TUI launch and binary resolution into the Python CLI, retaining the
autoandrustselector spellings for compatibility and exact Python/Rust version checks. - Added selectable Rust startup logos and native Rust pending-text handling in packaged wheels.
- Improved Rust TUI full-history hydration without capping saved transcript content. The matched streaming and long-session benchmarks remain workload observations, not general performance guarantees.
- Replaced the VitePress documentation site with an mdBook, preserving the published guide, reference, architecture, and contributor routes while removing the Node and TypeScript toolchain.
- Added an optional Rust scanner for case-sensitive literal
grepsearches in native-wheel installations, while keeping repository traversal, filesystem policy, regex matching, and a pure-Python fallback in Python. - Avoided duplicate protected-path matching when a file resolves to its lexical path, reducing
post-scanner
findand literalgreptime while retaining symlink-target checks. - Reused authorized directory descriptors when opening files for
grep, avoiding a second component-by-component filesystem walk while preserving no-follow and replacement checks. - Coalesced adjacent compatible
message.deltaevents at the JSONL-RPC output boundary, reducing framing and parsing work for the Rust TUI while preserving bounded streaming latency and exact text, thinking, turn, content-index, and event-order boundaries. - Added a matched end-to-end PTY benchmark for the Rust and Textual frontends, covering source-CLI startup, fake-provider streaming, visible response progress, clean shutdown, and terminal restore.
- Extended matched TUI evidence to paced streaming and long saved sessions, with interactive input latency and sampled process-tree CPU and memory observations for both renderers.
0.2.0rc2 — 2026-09-16
RC2 trialed Rust as the default on native-wheel installations and was published with three native wheels, including Intel macOS. The notes below describe that candidate’s behavior; RC3 removes its Python TUI fallback.
-
Added automatic renderer selection shared by
wisp,wisp tui, andwisp --mode tui. macOS/Linux installations with a declared native binary prefer Rust; pure/source installations and other platforms use Textual. Explicit flags andWISP_TUI_RENDERERoverride this choice. -
Retained
wisp tui --renderer textualas a maintained fallback. Rust startup/runtime failures remain visible errors with recovery guidance, never a silent renderer switch. -
Integrated verified native wheels for macOS arm64/x86_64 and Linux glibc 2.28+ x86_64 with the release workflow, including installation, native/pure replacement, offline reinstall and cleanup.
-
Added Rust composer keyboard selection, word/line editing, undo/redo, clipboard actions, alongside backend-owned project initialization through
/init. -
Preserved package/native version lockstep at Python
0.2.0rc2/ Cargo0.2.0-rc.2. -
Added the shared Glass TUI theme, which exposes the terminal’s default background for real emulator-controlled opacity or blur while retaining readable graphite surfaces and luminous accents.
-
Refreshed both bundled Agent Skills with current dual-frontend, generated-catalog, verification, and post-merge follow-up guidance.
-
Restored visible working activity after the final tool result while the next model step is pending, including parallel tools, delayed stream paints, and still-running background processes.
-
Rust TUI: match the composer background to the transcript and provide a four-choice permission dialog.
/permissionsmanages project defaults saved outside the repository; once/session approvals remain temporary. -
Added bounded, theme-derived semantic coloring across the Rust composer and transcript: headings, lists, inline/fenced code, tool labels, statuses, commands, paths, and generic tool arguments now share a restrained palette while preserving exact editable, submitted, and restored text.
-
Rust TUI: load the complete saved transcript on session open and retain all conversation entries. History transfers preserve message text and tool arguments instead of exhausting a shared preview budget; transport batches load automatically. Large conversation messages remain readable as plain text, with bounded rendering caches and compact tool previews.
0.2.0rc1 — 2026-09-10
Release candidate for the 0.2 minor line; not a new stable release. Textual remains the default TUI. See the 0.2 upgrade guide before updating Python integrations or external JSONL-RPC clients. Stable installation instructions remain pinned to 0.1.0 until 0.2.0 is published.
Textual responsiveness and correctness
- Preserved streamed output order when scrolling away from and returning to the live tail.
- Prioritized pending input over Markdown drains and adopted capability-gated synchronized terminal output to reduce partial-frame flicker on supported terminals.
- Reused stable paragraph wrapping during streaming and lazily rebuilt file-picker presentations, avoiding hidden-tree work and repeated option construction for unchanged queries.
- Fixed bare
@reopening with stale filtered results and stale expansion markers for directories with no visible indexed children. - Used conservative full parsing when control characters or unusual line separators make incremental Markdown source mapping unsafe, preserving complete final output.
- Added reproducible responsiveness and rendering benchmarks. Results and measurement limitations
are recorded in
benchmarks/tui_responsiveness_evidence.md; these are not a universal latency claim.
Python API and runtime
- Hardened harness startup and cleanup so failures release run state and permit reuse. Detached message snapshots and completion projections prevent caller or event-observer mutations from changing retained transcripts, queues, or cached session messages.
- Fixed duplicate cancellation errors when cancelling immediately after a completed tool turn. Added deterministic interruption and recovery checks at every emitted boundary of six harness workflows, including tool settlement, queues, and transcript transitions.
- Breaking Python API cleanup: removed the deprecated
wisp.agent.messages.SessionEntry(...)factory as an explicit early-removal exception to the normal deprecation window. ConstructMessageSessionEntry,EventSessionEntry, orCompactionSessionEntryfromwisp.sessionsinstead; wrap raw event dictionaries inPersistedEventEnvelope(payload=...)forEventSessionEntry. Existing JSONL session files and supported event schemas remain readable without migration. - Reorganized agent internals into focused prompt and harness packages. Internal imports now use
wisp.agent.validation,context_budget,transcript_repair,tool_contracts, andrequest_boundary; history normalization helpers live inwisp.agent.history. The old flat module paths and history-helper re-exports fromwisp.agent.messageshave been removed. - Clarified harness/loop ownership, strengthened runtime invariant tests, hardened coding-agent instructions, and refreshed the provider model catalog.
External frontends and live RPC
- Added backend-owned connection-catalog, API-key, disconnect, and device-code RPC so Textual and external frontends never read or write credential files. The catalog advertises only available provider endpoints, and mutation completion remains authoritative if the secondary status refresh fails. Protocol v1–v3 artifacts remain immutable.
- Added the enforced live JSONL-RPC v4 handshake, bounded strict framing, immutable generated schemas, generated Rust Serde types, and Python/Rust conformance fixtures for every current command and event.
- Added an authoritative, bounded model-catalog RPC used by Textual and external clients for provider, model, availability, lifecycle, and effort discovery. Protocol v1 and v2 artifacts remain immutable.
- External JSONL-RPC clients must handshake before sending commands and support live RPC v6 with event schema v37. Persisted session compatibility is separate and is not reset by this release.
- Recorded the #470 renderer decision: Textual remains the default TUI; the Rust frontend stays experimental source-build opt-in on macOS and Linux. Explicit Rust selection does not fall back to Textual, and Python distributions still do not bundle the binary.
- Kept the experimental Rust frontend in exact package-version lockstep, translating Cargo’s
0.2.0-rc.1spelling to Python’s0.2.0rc1without accepting other release versions.
0.1.0 — 2026-08-23
- Added active-run steering and follow-up controls to the TUI, including queue previews, restoration, cancellation, and session-transition handling through the shared typed RPC runtime.
- Deferred provider construction until first use and tightened provider ownership across trusted configuration refreshes, substantially reducing startup time while preserving registration and cleanup behavior.
- Reduced tool-card update flicker by avoiding full-width separator repaints, coalescing lifecycle style changes, and limiting terminal writes to changed cells while retaining fail-open rendering.
- Made the bundled GitHub PR delivery workflow use structured, state-change-only monitoring for CI and review waits, reducing repeated tool output while preserving exact-head readiness and targeted failure diagnostics.
- Clarified how the bundled Wisp development skill composes with GitHub PR delivery while keeping local verification separate from remote merge-readiness evidence.
0.1.0rc6 — 2026-08-22
- Added bounded, structured TUI presentation for
read,grep, andfindresults, including path-aware summaries, line metadata, syntax highlighting, truncation indicators, and expandable detail while preserving literal fallback rendering for ambiguous or malformed tool output.
0.1.0rc5 — 2026-08-22
- Loaded provider and MCP SDKs only when selected or configured, reducing CLI and TUI startup time without changing the typed provider exports, registration order, or runtime behavior.
- Mounted a bounded history window when resuming long sessions and discarded unreachable scroll targets after transcript content shrinks, keeping complete retained history navigable while avoiding long mount stalls and frozen wheel input.
- Coalesced Textual presentation timers and settled display updates, and centralized tool and process card identity across live and historical views, reducing redundant transcript work.
- Reused completed Markdown blocks and closed code-fence highlighting while assistant responses stream, reducing repeated parsing and syntax-highlighting work without changing final rendering.
- Added privacy-safe, opt-in TUI hotpath diagnostics and reproducible benchmark probes for Markdown drain cost, display update shape, duplicate-cell suppression, fail-open repaint paths, history prepend suppression, pending tool-card pressure, and covered-history reveal.
- Added a capability audit pinned to Pi SDK v0.84.2, recording shipped Wisp behavior, intentional safety and protocol differences, and explicit ownership for remaining SDK roadmap gaps.
- Defined package, Python API, event-schema, session-migration, deprecation, and removal policies; completed the consumer-focused event history from the first versioned contract through v34.
- Recorded
wisp.agent.messages.SessionEntry(...)as deprecated. Migrate toMessageSessionEntry,EventSessionEntry, orCompactionSessionEntryfromwisp.sessions; the compatibility factory remains available and emitsDeprecationWarningwhen called. - Added a dedicated Python SDK guide and API reference covering startup, event consumption, command correlation, safety requests, live control, persisted sessions, subprocess RPC, and cleanup.
- Added deterministic, tested Python SDK examples for prompting, safety requests, live control, persisted-session workflows, and process-isolated JSONL RPC.
- Defined and wheel-verified the supported Python SDK import surface, including the typed project trust command used by external RPC clients.
- Limited routine Textual transcript scrolling to partial viewport updates, preventing unchanged composer and status rows from flickering during wheel and keyboard navigation.
- Kept complete resumed Textual histories covered until composer layout and tail positioning settle, preventing a transient viewport jump when the loading surface closes.
0.1.0rc4 — 2026-08-20
- Preserved accepted and pending TUI input across RPC handoff, startup, failure, and cancellation, keeping early drafts editable instead of silently queueing or losing them.
- Added an animated startup notice above the composer and hid provider-facing system prompts from TUI history while preserving persistence, RPC, provider context, and complete-history pagination.
- Excluded
cryptographyversions before 50.0.0 from runtime dependency resolution to avoid the PKCS#7 decryption vulnerability fixed in 50.0.0.
0.1.0rc3 — 2026-08-19
- Added bounded Markdown structure, inline-code, and fenced-code highlighting to the Textual prompt editor without changing submitted prompt text.
- Kept complete Textual conversation and tool history reachable through wheel, PageUp/PageDown, Home, and End navigation during long and tool-heavy turns without unbounded widget mounting.
- Added first-class DeepSeek support with streamed thinking, reasoning-preserving tool continuations, API-key authentication, automatic cache telemetry, and model catalog metadata.
- Added first-class xAI Grok support through the stateful Responses API, including streamed reasoning, native tool-call continuation, API-key authentication, and model catalog metadata.
- Preserved RPC command ordering when changing providers or models so configuration waits for active session work and takes effect before later prompts.
- Rejected ambiguous bare model selections when the active provider cannot disambiguate them, preventing cataloged models from being silently applied to an unrelated provider.
0.1.0rc2 — 2026-08-18
- Stabilized streamed TUI output and resumable process-card lifecycles across polling, replay, denial, interruption, concurrent calls, pagination, reload, and bounded retention.
- Added an asynchronous TUI update prompt that defaults to updating and restarting supported persistent installs while preserving explicit checks, skip/later choices, and safe relaunch state.
- Removed obsolete synchronous and CLI-owned RPC compatibility paths so queueing, cancellation, trust, approvals, and shutdown consistently use the shared async command host.
- Centralized context-budget construction in the shared accounting policy and strengthened CI with a required production fault-injection partition plus broader platform-sensitive coverage.
- Added a VitePress documentation site, reduced the README to a focused entry point, and added release, safety, provider, session, interface, and contributor references.
- Refined Vapor, Orchid, Ember, and Paper; added Grove, Wave, and Dawn; and made semantic transcript surfaces meet normal-text contrast requirements across every curated theme.
0.1.0rc1 — 2026-08-17
- Kept compaction, steering, follow-up, provider continuation, and overflow recovery inside one long-lived agent loop with typed request-boundary transitions.
- Separated provider thinking from assistant content, made provider failures terminal stream events, and improved context-budget accounting and actionable tool-failure feedback.
- Prevented truncated or inconsistent tool-call batches from reaching execution and added bounded concurrency for explicitly parallel-safe batches while preserving deterministic approvals, source-ordered results, sequential fallback, and complete cancellation.
- Preserved validated historical tool call/result pairs for native replay, with deterministic safe fallbacks for provider switches, opaque provider state, malformed history, and interrupted calls.
- Hardened filesystem tools and skill loading against races and path escapes, bounded read/search work, and fixed tool working-directory behavior for selected workspaces.
- Added richer diff layouts, transcript recovery, prompt highlighting, project-tree file selection, approval safety surfaces, and additional curated TUI themes.
- Fixed tool-heavy historical session replay repeatedly reloading its latest page, flickering the Textual screen and preventing normal interaction.
0.1.0b4 — 2026-08-12
- Added the package-owned
wisp-developmentskill with progressively loaded architecture, extension API, safety, authoring, and verification guidance, plus a deterministic static extension example for Python embedders. - Added named OpenAI-compatible providers with provider-scoped authentication, model metadata, reasoning effort, and private CA support, and improved Codex recovery from context overflow while preserving tool context.
- Added session-scoped prompt-cache keys, explicit stable-prefix cache boundaries for supported OpenAI models, and cache read/write telemetry in context usage views.
- Replaced TUI tool-card chrome with compact, expandable action and result trees that retain lifecycle state, bounded previews, structured diffs, and restored-session presentation.
0.1.0b3 — 2026-08-12
- Added configurable OpenAI-compatible endpoints for using provider APIs beyond the built-in OpenAI service.
- Added a project initialization command and refined TUI themes, permission prompts, transcript surfaces, streamed Markdown, diffs, and startup presentation.
- Fixed resumed and completed assistant response rendering, working-indicator visibility, truthful RPC command lifecycles, and recovery from incomplete session JSONL appends.
0.1.0b2 — 2026-08-11
- Added typed MCP status RPC snapshots and a TUI
/mcpcommand that reports configured servers, registered tools, live connection state, and sanitized startup failures without reconnecting servers.
0.1.0b1 — 2026-08-10
- Reduced the installed-build PyPI update cache from 24 hours to six hours so new releases are announced sooner without checking on every TUI launch.
- Added immediate manual update checks through
wisp update --checkand/update, with confirmed installation for persistentuv toolenvironments throughwisp updateor/update install. - Isolated self-updates from project-controlled uv configuration and indexes, kept provenance checks cancellable, and shielded active environment replacement from interruption.
- Added bounded, user-only configuration for multiple MCP stdio servers, including explicit arguments, environment forwarding, and exact per-tool safety overrides.
- Added MCP tool adaptation through the official SDK with deterministic namespacing, bounded schemas and text results, and command safety by default through Wisp’s existing approval policy.
- Added concurrent MCP startup, paginated tool discovery, atomic catalog registration, sanitized failure diagnostics, and runtime-owned connection cleanup across CLI, RPC, SDK, and TUI modes.
- Added pre-parse MCP frame limits and aggregate server, tool, definition, and discovery limits so malformed or oversized servers fail independently without exposing payloads or credentials.
0.1.0a3 — 2026-08-08
- Added
wisp --versionto print the installed package version without starting the TUI. - Added strict, trust-aware Agent Skills metadata discovery from user and project locations, with a
wisp skillscommand for inspecting the catalog and isolated diagnostics. - Added a bounded model-facing Agent Skills index and read-only
skilltool for progressively loading instructions and contained supporting resources without weakening tool policy. - Added explicit
/skill:<name>invocation with typed replay evidence for prompts, steering, and follow-ups. - Added typed skill-catalog RPC snapshots, deterministic
/skill:TUI completion, cached/skillsinspection, trust-refresh updates, and compact live and historical invocation presentation. - Added an opt-in
wisp-code-reviewexample skill with user/project installation instructions and a progressively loaded Wisp review checklist.
0.1.0a2 — 2026-08-07
- Replaced TUI
/loginwith an OpenCode-style/connectpanel for ChatGPT subscription access and masked OpenAI, Anthropic, and Google API-key entry;/disconnectremoves stored credentials. - Removed the standalone browser-based
wisp auth logincommand and its unusable localhost callback flow. ChatGPT subscription authentication now uses device-code OAuth exclusively. - Added request-time stored API-key resolution for OpenAI, Anthropic, and Google while preserving explicit and environment credential precedence.
- Added a cached, non-blocking TUI notice when a newer applicable Wisp release is available on PyPI.
0.1.0a1 — 2026-08-07
Initial PyPI alpha release of Wisp’s shared CLI, JSON, RPC, SDK, and Textual TUI runtime.
- Installs the
wispcommand through thewisp-aipackage. - Launches the fullscreen TUI from a bare interactive
wispinvocation. - Includes provider integrations, local tools, persistent sessions, compaction, project trust, protected paths, and explicit unsafe-tool approvals.
- Publishes provider-neutral lifecycle events at schema v27.
Live RPC protocol v9
-
Added Rust
/queueand the configurablequeue.manageaction for FIFO previews, drain modes, newest-item restoration, and scoped clear confirmations. Existing Alt+Up uses guarded restoration. -
Queue snapshots add optional
tokenandcommand_id; mode/pop/clear commands add optionalexpected_token. Stale requests and predictable oversized removal responses fail before mutation. Legacy unguarded callers remain supported; retained idle queues remain read-only. This additive change regenerates v9 in place without changing removal/snapshot/completion ordering. -
Events no longer carry a per-event
schema_version. The live RPC protocol bundle underschemas/live-rpc/is the single compatibility contract: additive event changes regenerate the current bundle in place, and breaking changes bump the protocol version. The handshake no longer exchangesevent_schema_version, and theevent_schema_version_mismatchrejection code is gone. -
Live JSONL-RPC now negotiates protocol v9. Published v1–v8 bundles remain immutable. Persisted sessions written by earlier releases still load: the session reader drops a legacy
schema_versionkey from event payloads before typed validation. -
Frontends speaking protocol v8 or earlier are rejected with
protocol_version_mismatch. The backend ignores the removedmin_event_schema_version/max_event_schema_versionrequest fields a conforming v8 client still sends, so the rejection names the real cause.
Schema v39
- Added nullable
message_entry_idtoagent.started,message.completed,queue.message.injected,tool.execution.ended, andtool.result. The coding session publishes assigned message IDs so frontends can reconcile live output with persisted history. An assigned ID does not guarantee a successful write; history reads verify availability. - Live JSONL-RPC now negotiates protocol v8 with event schema v39. Published v1–v7 bundles remain immutable, and persisted event schemas v5 through v39 remain readable.
- Rust TUI scrolling recovers evicted live entries through bounded history pages, preserving surviving rows, pending scroll movement, and composer drafts.
Schema v38
- Added
rpc.permissionswith effective mode, saved mode, and project path, plusget_permissionsandset_permissionscommands. - Added the explicit
all_projectapproval scope for saved project YOLO. Existingall_sessionremains temporary. - Live JSONL-RPC now negotiates protocol v7 with event schema v38. Published v1–v6 bundles remain immutable; durable sessions retain backward-compatible parsing.
Schema v37
- Added
get_project_files, returning non-persistedrpc.project_filessnapshots with relative file/directory metadata, request correlation, a policy generation, and explicit truncation. - Added
project_files.invalidatedto discard earlier snapshots during trust/configuration changes. Python owns guarded traversal, protected paths, bounded work, cancellation, and publication; clients can derive trees and rank the sanitized snapshot locally. - Live JSONL-RPC now negotiates protocol v6 with event schema v37. The v1–v5 schema bundles remain immutable; persisted event compatibility is unchanged.
Schema v36
Adds rpc.connection_catalog, rpc.device_code, and rpc.device_code.progress for correlated,
backend-owned provider connection workflows. Connection catalogs expose only sanitized status;
API keys and OAuth tokens are never returned or persisted in session JSONL. Device user codes and
verification URLs are intentionally frontend-visible login instructions and must not be logged or
persisted.
Schema v35
Adds rpc.model_catalog, a correlated snapshot of the current model selection and the ordered,
runtime-available provider/model catalog. Successful provider, model, and effort configuration emits
this authoritative result before command completion when the catalog fits the wire bounds; an
oversized catalog fails discovery explicitly without blocking typed configuration. Discovery never
constructs deferred providers.
Schema v34
Adds next_after_entry_id to rpc.messages results so clients can paginate forward from a known
transcript entry. Consumers using forward pagination must accept the cursor; older pagination logic
can continue using next_before_entry_id.
Schema v33
Adds optional failure_code, retryable, and recovery_hint metadata to failed tool results so
clients can present structured recovery guidance. Consumers that copy tool-result fields should
accept the new optional metadata.
Schema v32
Adds trailing_estimated_tokens, effective_tokens, and accounting_method to context budget
snapshots, plus the provider-derived context_observation on message.completed. Clients can use
these fields to distinguish provider usage from local estimates; context displays should prefer
effective_tokens when present instead of assuming the raw estimate is authoritative.
Schema v31
Adds package:wisp as a skill catalog source for package-owned skills and
utf8_bytes_div_4_v2 as a Unicode-aware ContextEstimate.method. Consumers that exhaustively
validate skill sources or context-estimation methods must accept the new values.
Schema v30
Adds the rpc.mcp event carrying configured server connection status, registered tool names, and
sanitized startup failures. RPC clients can issue get_mcp_status; consumers that exhaustively
match event types must handle or deliberately ignore rpc.mcp.
Schema v29
Adds rpc.skills and skill.catalog.updated events carrying typed skill descriptors, isolated
discovery diagnostics, and project-trust state. RPC clients can issue get_skills for the active
immutable catalog; clients should replace their cached snapshot when skill.catalog.updated
arrives.
Schema v28
Adds skill.invoked and typed skill-invocation evidence to queue updates and persisted RPC message
snapshots. Consumers can present the original directive and request without parsing the bounded
provider-visible expansion.
Schema v27
Adds mode ("plan" | "build", default "build") to CodingSessionState, so RPC get_state
reports the active agent mode. Consumers that model state exhaustively must accept both values; the
field is stripped when serializing an older schema.
Schema v26
Adds automatic-compaction policy to project-configuration and session-statistics events. Consumers that present configuration or statistics should accept the optional compaction policy fields.
Schema v25
Adds managed-process state, captured streams, truncation flags, dropped-byte counts, and process
errors to tool.execution.ended and tool.result. Tool consumers should use this metadata for
resumable process presentation and must not attach it to pre-v25 payloads.
Schema v24
Adds rpc.session.tree.unreverted for undoing the latest session-tree navigation. Also adds
output_has_exit_status to tool execution/result events and persisted tool-result snapshots so
consumers can distinguish Wisp’s synthetic completion envelope from genuine output. Exhaustive event
consumers must handle or deliberately ignore the new result event and accept the provenance flag.
Schema v23
Adds rpc.commands, a typed catalog of commands supported by the active RPC host. Clients can issue
get_commands instead of maintaining an interface-specific command list.
Schema v22
Adds optional tool-result presentation snapshots to messages returned by rpc.messages. Transcript
consumers should use the structured result metadata instead of reconstructing historical tool state
from text.
Schema v21
Adds durable session names to state, session summaries, selection and derivation results, plus the
rpc.session.name_changed event. Consumers that copy these snapshots should accept nullable name
fields and the new event.
Schema v20
Adds rpc.session.tree and rpc.session.tree.navigated events for inspecting and selecting the
active path through append-only session history. Consumers that expose branching should preserve
entry IDs and parent relationships from these events.
Schema v19
Adds rpc.session.cloned and rpc.session.forked results. Session clients should correlate these
results by command_id and use the returned source and destination identities.
Schema v18
Adds rpc.sessions and rpc.session.selected for cataloging and selecting persisted sessions.
Consumers should treat the selected session identity and path as authoritative host state.
Schema v17
Adds paginated rpc.messages transcript snapshots, including optional structured tool_calls on
message entries. Clients should consume the typed message entries and pagination metadata rather
than reading an active session file concurrently.
Schema v16
Adds rpc.state, reporting the active provider, model, session, run state, and pending queue counts.
Long-lived clients should refresh their local state from this snapshot after startup or uncertain
transitions.
Schema v15
Adds queue.items.removed, the result of removing pending steering or follow-up work. Queue clients
must handle the result separately from unsolicited queue snapshots.
Schema v14
Adds queue.message.injected when steering or a follow-up enters the active run. Consumers that show
live input should distinguish injected work from pending queue contents.
Schema v13
Adds queue.updated snapshots with steering and follow-up contents and drain modes. Queue-aware
clients should replace their cached queue state with each snapshot.
Schema v12
Adds list-price cost accounting to completed messages, compactions, and session statistics.
Consumers should treat cost as optional and retain the accompanying currency and model provenance.
Schema v11
Adds overflow-triggered compaction and retry metadata. Compaction consumers must accept overflow
as a reason and use will_retry and the completion explanation when deciding what happens next.
Schema v10
Adds threshold-triggered automatic compaction and its trigger budget. Compaction consumers must
accept threshold as a reason and preserve the budget snapshot that caused it.
Schema v9
Adds context.estimated and session.stats events with context budgets and aggregate usage.
Consumers that need these reports must not expect them on v8 or older payloads.
Schema v8
Adds manual compaction.started and compaction.completed lifecycle events. Consumers must handle
or deliberately ignore both event types and correlate completed compactions by session.
Schema v7
Adds context.pressure and context.overflow events. Consumers that surface context limits should
handle warning and terminal-overflow signals separately.
Schema v6
Adds optional provider-reported token usage to message.completed. Usage consumers must tolerate
missing values because not every provider response reports every token category.
Schema v5 — oldest readable
Adds model.provider_auto_switched so RPC clients can observe a model selection that also changes
the provider, and adds optional effort to project.config.applied. Consumers must update both
provider and model when the switch event is emitted and accept the effective effort after trusted
project configuration is applied.
Schema v4 — archival, unsupported
Adds bounded presentation metadata to tool.execution.ended and tool.result: exit_code,
before_text, created, summary, and truncated. Current typed parsers no longer accept v4
payloads.
Schema v3 — archival, unsupported
Adds provider.retrying before response streaming starts, carrying attempt, delay, reason, and
optional status code. Current typed parsers no longer accept v3 payloads.
Schema v2 — first versioned contract, archival, unsupported
Replaces the unversioned token.delta and assistant.message stream with explicit turn, message,
and agent lifecycle events; adds tool.call before execution. Current typed parsers no longer accept
v2 payloads. Events before this contract had no schema_version; there was no merged schema v1.
Sessions containing these events are no longer readable.
Adding an entry
When you change a command, event, or handshake model, regenerate schemas/live-rpc/ with
uv run python -m wisp.rpc.protocol_schema --write. Record every change under the current
release-preparation heading, or under ## Unreleased after that release is published. Say what a
consumer must do differently — new fields, changed meanings, dropped compatibility — not the
implementation detail.