Compatibility & versioning
Wisp versions the Python package and persisted session records separately. The live RPC protocol has no compatibility promise of its own: a backend and a frontend must come from the same Wisp release, and saved sessions use strict append-only schema versions that are never silently upgraded.
Live JSONL-RPC protocol
A backend and a frontend must be the same Wisp release. Both readers reject unknown fields, so
two releases can disagree about any event. The Rust TUI and the Python SDK transport compare the
handshake’s backend_package_version with their own release and refuse to connect on a mismatch.
The handshake carries no protocol version, and there are no historical bundles.
The external frontend protocol is generated from the Python models, which remain its source of
truth. schemas/live-rpc/ holds one deterministic bundle describing the current release: handshake
request and response messages, the complete typed-client command output union, the complete live
event output union, conformance fixtures, and validation-only projections consumed by Rust type
generation. Command schemas describe payloads produced by RpcCommandModel.to_json_line(); the
backend may continue accepting a documented superset. Event schemas describe the exact serialized
shape, including required defaulted and nullable fields. Stateful lifecycle invariants remain
model-level protocol requirements rather than JSON Schema constraints.
JSON Schema cannot compare two properties or express that one array is a subset of another. The
client handshake artifact therefore records the required-capability subset rule in
x-wisp-cross-field-invariants; every implementation must enforce it during decoding.
Regenerate or verify the artifacts from the repository root with:
uv run python -m wisp.rpc.protocol_schema --write
uv run python -m wisp.rpc.protocol_schema --check
Generated schema files must not be edited manually. CI rejects stale, missing, obsolete, and hash-mismatched artifacts.
The external JSONL adapter requires rpc.handshake.request as its first frame and emits
exactly one rpc.handshake.accepted or rpc.handshake.rejected response before ordinary events.
Capabilities and directional frame limits are negotiated before the RPC host is constructed. The
in-process Python SDK does not negotiate because it has no serialization boundary.
Handshake frames are limited to 64 KiB. Negotiated application frames are limited to the directional limits in the accepted response, currently 64 MiB. Frames are UTF-8 JSON objects terminated by LF; duplicate object fields, invalid UTF-8, oversized frames, and incomplete final lines are rejected. Clean EOF on a frame boundary closes input normally. Unknown commands receive the ordinary typed command error lifecycle, while unknown events are fatal to clients.
The schema bundle is a repository build input and a GitHub release asset named
wisp-live-rpc.tar.gz; it is not part of the Python wheel API.
Persisted session schemas
A session file contains several independently versioned layers:
| Layer | Current version |
|---|---|
| Session entry | v6 |
| Persisted event envelope | v1 |
| Event payload inside the envelope | unversioned (current event shape) |
| Compaction record | v4 |
The session reader accepts only these versions. Files written in an earlier entry schema, or
without a schema_version, fail to load with UnsupportedSessionEntryVersionError; they are not
upgraded. Loading a session never rewrites it.
Unchanged schema stamps do not promise downgrade compatibility across package releases: a newer
release may write optional fields that an older strict reader rejects as unknown. Keep a backup of
~/.wisp/sessions before upgrading if you may need to return to an earlier release.
Persisted event envelopes retain their payload as raw JSON. read_events() can therefore expose a
payload for inspection without claiming to understand it. Typed access through read_typed_events()
rejects unknown event types and fields. Malformed committed records remain errors rather than being
silently discarded.
Event schemas
WispEvent payloads carry no per-event version. The installed package emits only the shapes in
schemas/live-rpc/, and the typed parsers read exactly that shape.
from wisp.events import wisp_event_from_json
event = wisp_event_from_json(line)
wisp_event_from_json() and wisp_event_from_dict() reject unknown event types and unknown fields.
Consumers should:
- parse untrusted events with Wisp’s parser functions instead of dispatching on
typemanually; - handle every known event type they need and deliberately ignore known types they do not use; and
- upgrade the backend and frontend together, treating a
backend_version_mismatchhandshake error as a signal to do so.
Python package versions
wisp-ai is the only published Wisp distribution.
Package releases use semantic versioning expressed with Python’s PEP 440 spelling (for example,
0.16.0 for the first stable release in the 0.16 minor line, 0.16.13 for a patch release, and
rcN suffixes for release candidates).
- Patch releases preserve the documented public API. They may correct behavior that contradicts a documented contract; consumers that relied on the defect may observe the correction.
- While Wisp is below 1.0, a later minor release may make an announced breaking change. After 1.0, breaking changes require a major release.
- Alpha, beta, and release-candidate suffixes identify prereleases; changing only the prerelease suffix is not, by itself, a compatibility boundary for removing a public API.
- Persistence schemas advance only when their own contracts change. A package release does not reset them.
The supported Python API is the import surface documented in Python SDK. Imports not listed there, and modules or names marked internal, are not covered by this compatibility policy. Additive exports, optional parameters with defaults, and new event models are compatible changes. Removing or renaming a supported export, adding a required argument, narrowing an accepted value, or changing documented behavior is a breaking change.
Deprecation and removal
Except for an explicit exception documented below, a public API may be removed only when all of these conditions are met:
- The deprecation is recorded in the changelog and reference documentation with a supported replacement and required migration.
- Wisp emits
DeprecationWarningwhen use can be detected at runtime. - At least 90 days and one intervening minor release line have passed after the first released deprecation. Both conditions apply.
- Removal occurs at a breaking package boundary: a later minor release before 1.0, or a later major release after 1.0.
A security, data-loss, legal, or ecosystem failure that cannot be mitigated may require faster removal. Such an exception must be called out prominently in release notes with the safest available migration or containment advice.
WARNING0.2 agent API cleanup exception
The agent module reorganization removes the deprecated
wisp.agent.messages.SessionEntry(...)factory before the normal deprecation window, at the 0.2 minor-release boundary. This is a specific early-removal exception for the agent API cleanup; the normal policy continues to apply to other public APIs. The 0.2 upgrade guide lists the migration steps.Construct
MessageSessionEntry,EventSessionEntry, orCompactionSessionEntryfromwisp.sessionsinstead. For event entries, wrap raw event dictionaries inPersistedEventEnvelope(payload=...). The removal changes Python construction only.
WARNING0.2 compatibility-shim cleanup exception
The 0.2 minor-release boundary also removes these compatibility shims before the normal deprecation window:
defer_context_overflow_errorsonAgentLoopConfigand the harnessprompt,prompt_message, andcontinue_methods. ReturnContextOverflowFailurefrom the overflow hook to supply the error message; the loop publishes overflow terminals itself.wisp.cli.TuiRendererKindandwisp.cli.TuiFrontendKind, the--tui-rendererandwisp tui --rendereroptions, andWISP_TUI_RENDERER. The TUI is always the Rust frontend; drop the option.wisp.config.settings.persist_user_effort; usetry_persist_user_model_selection.SessionReplay.entry_ids; usecontext_entry_ids.ProjectSnapshot.paths; useentries.- Chaining of tree entries that omit
parent_idinreplay_session_entries; setparent_idexplicitly.This exception covers only the names listed here; the normal policy continues to apply to other public APIs.
WARNING0.4
ToolContextwrite-field exceptionThe 0.4 minor-release boundary replaces these
ToolContextfields before the normal deprecation window:allowed_write_paths,conflicting_write_paths,require_create_only_writes,require_non_empty_writes, andcreate_only_write_receipt. They were never documented and only the/initoperation set them. Passwrite_constraint=WriteConstraint(...)instead, withWriteConstraintfromwisp.tools.contextand its fieldsallowed_paths,conflicting_paths,create_only,non_empty, andreceipt. AToolContextthat sets none of the five is unaffected. This exception covers only these fields; the normal policy continues to apply to other public APIs.
Wisp 0.16.13 compatibility
Use matching 0.16.13 backend, TUI, and SDK transport versions. Prompt rewind extends two existing
RPC commands. Pass view="prompts" to get_session_tree to list user prompts on the active path,
newest first. Omitting view keeps the append-order tree. Pass expected_active_leaf_id to
fork_session to reject a fork if the active leaf has changed since selection. Both arguments are
optional in the Python RPC controller. Existing saved sessions open without migration.
Wisp 0.16.12 compatibility
Use the 0.16.12 backend and TUI together. No changes to the live RPC contract, Python SDK, or
saved-session format; existing sessions open without migration.
Wisp 0.16.11 compatibility
Use the 0.16.11 backend and TUI together. Live RPC adds rpc.startup.history_preview, an
optional event carrying read-only conversation excerpts. Clients must not treat it as an
interactive transcript or as a signal to submit a prompt. There is no saved-session format change;
existing sessions open without migration.
Wisp 0.16.10 compatibility
Use the 0.16.10 backend and TUI together. No changes to the live RPC contract, Python SDK, or
saved-session format were made since 0.16.9; existing saved sessions open without migration.
Wisp 0.16.9 compatibility
Use the 0.16.9 backend and TUI together. The browser optimization applies to the connection
between the TUI and Rex. Existing SDK and RPC clients can use the same commands and event
payloads, and saved sessions open without migration.
Wisp 0.16.8 compatibility
Use the 0.16.8 backend and TUI together. The Files sidebar uses the new optional directory and
progressive modes of project-file discovery. Existing SDK callers can still
use get_project_files without those options. External RPC clients should use the schema bundle
from their installed Wisp release. Existing saved sessions open without migration.
Wisp 0.16.7 compatibility
0.16.7 adds click-to-preview and edit-from-sidebar in Files, plus context usage and turn-growth
visualizations in Session and /context. The Python SDK API, live RPC payloads, saved sessions,
and supported platforms are unchanged. Use the 0.16.7 backend and TUI together; no migration is
needed.
Wisp 0.16.6 compatibility
0.16.6 refreshes the Rust TUI’s Files side panel and shows Material Design file and folder
icons when they fit. A Nerd Font v3 Mono terminal font is needed to display them correctly.
The Python SDK API, live RPC payloads, saved sessions, and supported platforms are unchanged.
Use the 0.16.6 backend and TUI together; no migration is needed.
Wisp 0.16.5 compatibility
0.16.5 adds the run_shell live RPC command for interactive ! composer shell runs, renames the
first side-panel tab from Work to Session, and adds the Files side-panel tab and Session
turn/subagent waterfall timeline in the Rust TUI. It does not rewrite saved sessions or change the
Python SDK API or supported platforms. Use the 0.16.5 backend and TUI together; no migration is
needed.
Wisp 0.16.4 compatibility
0.16.4 allows concurrent bash(operation="poll") calls, separates the Command exited with code N
header from command output with a newline (the TUI still accepts both formats for saved sessions),
and adds a runtime hint for Monty generator expressions in codemode. It does not rewrite saved
sessions or change the Python API, live RPC payloads, or supported platforms. Use the 0.16.4
backend and TUI together; no migration is needed.
Wisp 0.16.3 compatibility
0.16.3 changes how provider requests are assembled after an interrupted turn and how Codex replays anonymous output items. It does not rewrite saved sessions or change the Python API, live RPC payloads, or supported platforms. Use the 0.16.3 backend and TUI together; no migration is needed.
Wisp 0.16.2 compatibility
0.16.2 improves TUI transcript tool labels, clarifies tool schemas and continuation guidance, and
guides Wisp to preview HTML mockups in /browser. The supported Python API, live RPC payloads,
settings, and session format are unchanged from 0.16.1 and 0.16.0. Sessions work in either
direction across these patch versions. Install matching frontend and backend versions as usual.
See the 0.16.2 release checklist.
Wisp 0.16.1 compatibility
0.16.1 adds a close button to the Browser pane. The supported Python API, live RPC payloads, settings, and session format are unchanged from 0.16.0. Sessions work in either direction between these two patch versions. Install matching frontend and backend versions as usual. See the 0.16.1 release checklist.
Wisp 0.16 compatibility
0.16.0 reads existing 0.15.0 sessions. Session schema_version remains 6 and the event-envelope
format remains 1. Saved per-project command-prefix allow rules add command_prefix on
tool.approval.requested and rule_id: "command_allow_rule_v1" on tool.approval.resolved. Older
entries omit these fields and remain readable.
Downgrade limit: 0.15.0 rejects persisted sessions or wire frames containing
tool.approval.requested.command_prefix or rule_id: "command_allow_rule_v1" as unknown fields or
values. Keep a backup of sessions before upgrading if you may need to return to 0.15.0. Unchanged
schema stamps do not imply reverse compatibility.
Per-project ~/.wisp/permissions/ records gain an optional command_allow_rules list (never saved
or loaded for broad folders such as $HOME). Older 0.15.0 readers ignore unknown fields in
permission files. Credentials, settings, and trust formats are unchanged.
Commands and events gain members and fields:
- the
revoke_command_rulecommand; "command_prefix_project"onApprovalScope;command_prefixontool.approval.requested,"command_allow_rule_v1"ontool.approval.resolved.rule_id, andcommand_allow_rulesonPermissionState.
All of them are listed in the changelog. The backend and every frontend must be the same release, and external RPC clients should use the 0.16.0 schema bundle.
The supported Python API adds RevokeCommandRuleCommand in wisp.rpc and
RpcController.revoke_command_rule(). See the
0.16.0 release checklist.
Wisp 0.15 compatibility
0.15.0 reads existing 0.14.x sessions, and 0.14.x opens sessions written by 0.15.0. Session
schema_version remains 6, the event-envelope format remains 1, and no new persisted session
entry fields are introduced (browser.viewport.updated and rpc.browser_addresses are transient
live/RPC events).
User-level settings add tui_images, browser_search_engine, and browser_default (all
user-only, never configurable by projects). 0.14.x ignores unknown settings fields and falls back
to defaults. Live browser cookies, sign-ins, and the 20 most recent opened addresses live in
~/.wisp/browser-profile, which Wisp always protects from file and command writes (wisp browser clear removes them). Credentials and trust formats are unchanged.
Commands and events gain members and fields:
- the
browser_interactandget_browser_addressescommands, plus optionalsaved_session_idonpromptandread_onlyonget_sessions; - the
browser.viewport.updatedandrpc.browser_addressesevents; session_images_dironrpc.workspace.
All of them are listed in the changelog. The backend and every frontend must be the same release, and external RPC clients should use the 0.15.0 schema bundle.
The supported Python API adds optional saved_session_id on RpcController.prompt() and
read_only on RpcController.get_sessions(), auto_command_read_dir on InProcessOptions, and
browser_search_engine and browser_default on WispConfig. See the
0.15.0 release checklist.
Wisp 0.14 compatibility
0.14.0 reads existing 0.13.0 sessions. Session schema_version remains 6 and the event-envelope
format remains 1. Automatic approval adds the tool.approval.reviewed event, auto and
auto_commands permission modes, and optional/defaulted audit fields (source, rule_id,
auto_approved, approval_note) on approval resolutions, tool results, and nested call records.
Older entries omit these fields and remain readable.
Downgrade limit: 0.13.0 rejects sessions or frames containing tool.approval.reviewed or the
new permission/audit fields as unknown fields. Keep a backup of sessions before upgrading if you
may need to return to 0.13.0. Unchanged schema stamps do not imply reverse compatibility.
Saved project permission defaults live in ~/.wisp/permissions/ with explicit scopes
(workspace_edit_v1 for Auto edits, sandbox_commands_v1 for macOS Auto commands). Older
0.13.0 permission readers ignore unknown modes and fail closed to ask. The backend and every
frontend must be the same release; external RPC clients should use the 0.14.0 schema bundle.
Credentials and trust formats are unchanged. See the
0.14.0 release checklist.
Wisp 0.13 compatibility
0.13.0 reads existing 0.12.0 sessions. Session schema_version remains 6 and the event-envelope
format remains 1. Successful codemode scripts that change saved state persist an optional
codemode_state field with their tool result. Older entries omit it and remain readable.
Downgrade limit: 0.12.0 rejects entries containing codemode_state as an unknown field.
Keep a backup of sessions before upgrading if you may need to return to 0.12.0. Do not remove
state fields to force a downgrade: later script results may depend on that state. Unchanged
schema stamps do not imply reverse compatibility.
The set_codemode RPC command gains an optional presentation selection, and rpc.codemode
reports configured and effective presentation. The backend and every frontend must be the same
release; external RPC clients should use the 0.13.0 schema bundle. The new user-level
codemode_presentation setting defaults to direct_and_codemode; codemode_only is opt-in.
Credentials and trust formats are unchanged.
Saved JSON state survives restart, branching and compaction; output references only last for the process lifetime. A failed script does not commit staged state, but completed external effects are not rolled back. See the 0.13.0 release checklist.
Wisp 0.12 compatibility
0.12.0 keeps session schema_version 6 and the existing event-envelope format. Settings,
credentials and trust formats are unchanged. The new reload report is an RPC reply, not a new
durable session entry. There is no session-format migration in this release.
The RPC contract gains the reload command and rpc.settings.reloaded event; the Python API
gains RpcController.reload(). A 0.11 reader rejects the new command/event. The backend and
every frontend must be the same release, and external RPC clients should use the 0.12.0 schema
bundle.
/reload changes only supported settings while idle and retains explicit session, CLI and
environment overrides. It does not change settings-file syntax, credentials or trust policy.
Returning to 0.11.0 removes the command; restart that release to apply settings. See the
0.12.0 release checklist for rollback acceptance.
Wisp 0.11 compatibility
0.11.0 reads every session 0.10.x wrote, and 0.10.1 opens sessions 0.11.0 wrote. The session
schema_version stays 6, and nothing new is persisted: a codemode script’s structured results
reach no event or session.
Settings, credential, and trust formats are unchanged. Marking a server’s hinted tools read-only
in /mcp adds "read" entries to that server’s user-level tool_safety, which earlier releases
read as before. A tui_keybindings entry for the new panel.background action is rejected by
0.10.x as an unknown action.
Commands and events gain members and fields:
- the
get_processes,get_process_outputandmark_mcp_tools_read_onlycommands; - the
rpc.processesandrpc.process_outputevents; mcp_toolsandscriptable_mcp_toolsinrpc.codemode;read_only_tool_namesandread_only_hint_tool_namesin MCP server snapshots.
All of them are listed in the changelog. A 0.10 reader rejects them, so the backend and every frontend must be the same release, and external RPC clients should use the 0.11.0 schema bundle.
The supported Python API gains RpcController.get_processes(), get_process_output() and
mark_mcp_tools_read_only(), and ToolResult gains an optional structured value.
With WispConfig.codemode left at None, codemode is now offered whenever a script may call one
of the run’s MCP tools, not only when they are found on demand.
Wisp 0.10 compatibility
0.10.0 reads every session 0.9.x wrote, and 0.9.2 opens sessions 0.10.0 wrote. The session
schema_version stays 6. A user message that carried background-process notices records them in
an optional process_notices field, which 0.9.2 ignores; its content already holds the notice
text in front of the prompt, so 0.9.2 shows that text as part of the prompt, and a prompt Wisp
sent by itself to wake the agent as a prompt holding only the notices.
Each session’s scratch folder lives beside the session files, at scratch/<session id>. 0.9.2
leaves it alone.
Settings, credential, and trust formats are unchanged. wake_on_process_exit is a new user
setting; 0.9.2 ignores it. The terminal UI’s side panel moves from Ctrl+B to Ctrl+P, and
Ctrl+B now moves a running shell command to the background. A tui_keybindings setting that
already used either key for another action keeps it.
Commands and events gain members and fields: the cancel_process and background_tool_call
commands, the process.ended event, background_processes in the rpc.state reply, and
process_wake on message snapshots, all listed in the
changelog. A 0.9 reader rejects them,
so the backend and every frontend must be the same release, and external RPC clients should use the
0.10.0 schema bundle.
The supported Python API gains RpcController.cancel_process() and background_tool_call().
WispConfig.wake_on_process_exit is bool | None and defaults to None, which leaves waking to
the frontend: on in the CLI, the terminal UI and the JSONL RPC backend, off for an
InProcessWisp host.
0.10.1 changes no command, event, handshake, session, settings, credential, or trust format, so 0.10.0 and 0.10.1 read each other’s sessions, and the schema bundle is unchanged. The backend and every frontend must still be the same release. The supported Python API is unchanged.
Wisp 0.9 compatibility
0.9.0 reads every session 0.8.x wrote. The session schema_version stays 6, because each new
record is optional and is written only when it has a value. A 0.8.x reader still rejects one of
them:
- A session holding a
spawn_agentresult (its result recordsmodel_usage) fails to open in 0.8.x.
Gemini and Claude sessions now save each tool-call turn as the provider sent it, in the
native_output field that 0.8.x already wrote for OpenAI models. 0.8.x opens those sessions and
does not use the saved turns.
Settings, credential, and trust formats are unchanged. subagents and subagent_model are user
settings that /subagents, set_subagents and set_subagent_model now save; 0.8.x ignores them.
Commands and events gain members and fields: the get_subagents, set_subagents and
set_subagent_model commands; the rpc.subagents, warning and mcp.status.updated events; and
model_usage on tool results, all listed in the
changelog. A 0.8 reader rejects them,
so the backend and every frontend must be the same release, and external RPC clients should use the
0.9.0 schema bundle.
The supported Python API only gains methods and fields: RpcController.get_subagents(),
set_subagents() and set_subagent_model(), and WispConfig’s subagents and subagent_model.
0.9.2 changes no command, event, handshake, session, settings, credential, or trust format, so 0.9.1 and 0.9.2 read each other’s sessions, and the schema bundle is unchanged. The backend and every frontend must still be the same release. The supported Python API is unchanged.
0.9.1 changes no command, event, handshake, session, settings, credential, or trust format, so 0.9.0 and 0.9.1 read each other’s sessions, and the schema bundle is unchanged. The backend and every frontend must still be the same release. The supported Python API is unchanged.
Wisp 0.8 compatibility
0.8.0 reads every session 0.7.x wrote. The session schema_version stays 6, because each new
record is optional and is written only when it has a value. A 0.7.x reader still treats some of
them differently:
- A session holding a codemode script’s result (its result records
nested_calls) fails to open in 0.7.x. - A session whose working directory moved opens in 0.7.x, which ignores the
session.directory_changedentries and works from the folder it was launched in.
Settings, credential, and trust formats are unchanged. codemode is a user setting that
/codemode and set_codemode now save; 0.7.x ignores it.
Commands and events gain fields: the change_directory, get_codemode, and set_codemode
commands; the session.directory_changed, rpc.codemode, tool.nested.started, and
tool.nested.ended events; and nested_calls, nested_calls_omitted, and moved_to on tool
results and message snapshots, all listed in the
changelog. A 0.7 reader rejects them,
so the backend and every frontend must be the same release, and external RPC clients should use the
0.8.0 schema bundle.
The supported Python API only gains methods and fields: CodingSession.change_directory(),
RpcController.change_directory(), get_codemode(), and set_codemode(), and ToolContext’s
workspace_root and boundary(). Python 3.11 is now supported.
0.8.1 changes no command, event, handshake, session, settings, credential, or trust format, so 0.8.0 and 0.8.1 read each other’s sessions, and the schema bundle is unchanged. The backend and every frontend must still be the same release. The supported Python API is unchanged.
Wisp 0.7 compatibility
0.7.0 reads every session 0.6.x wrote. The session schema_version stays 6, because each new field
is optional and is written only when it has a value. A 0.6.x reader still rejects some of them:
- A session holding a successful
edit(its result recordsedit_locations) or a proxied MCP call (its result recordstarget) fails to open in 0.6.x. - A session holding images opens in 0.6.x without them: the messages keep their text, and the
images/folder beside the session files is left alone.
Settings, credential, and trust formats are unchanged; mcp_tool_exposure is a new optional
user-only setting.
Commands and events gain fields: images on prompt, steer, and follow_up, and image, edit
location, and MCP target fields on events, all listed in the
changelog. agent.started gains
setup. A 0.6 reader rejects them, so the backend and every frontend must be the same release, and
external RPC clients should use the 0.7.0 schema bundle.
The supported Python API only gains optional parameters and methods: CodingSession.run(),
steer(), and follow_up() accept images, RpcController does the same, and
CodingSession.cancel_run() asks an active run to stop as a cancellation does.
Wisp 0.6 compatibility
0.6.0 changes no command, handshake, session, settings, credential, or trust format, so 0.5.x and
0.6.0 read each other’s sessions. It adds one event, tool.execution.progress, which is never
persisted. The backend and every frontend must be the same release: a 0.5 frontend rejects the new
event. External RPC clients keep using the schema bundle of the installed release, and should
ignore or render tool.execution.progress; each one replaces the previous one, so skipping any is
safe.
The supported Python API only gains optional parameters and fields: CodingSession.run() adds
live_event_sink, and ToolContext adds progress. Tool behavior changes are listed in the
changelog: truncated bash results
name saved output that the new read-only read_output tool pages through, and a timed-out command’s
error names its saved output and shows its last lines.
0.6.1 changes no command, handshake, session, settings, credential, or trust format, so 0.6.0 and
0.6.1 read each other’s sessions. It adds one optional field, default_effort, to the model catalog
entries of the rpc.model_catalog event. A 0.6.0 reader rejects that field, so the backend and
every frontend must still be the same release, and external RPC clients should use the 0.6.1 schema
bundle. The supported Python API is unchanged.
Wisp 0.5 compatibility
0.5.0 changes no command, event, handshake, session, settings, credential, or trust format, so 0.4.x and 0.5.0 read each other’s sessions. The backend and every frontend must still be the same release, and external RPC clients keep using the schema bundle of the installed release.
The supported Python API only gains fields: ToolContext adds withheld_environment and
seen_files. Tool behavior changes are listed in the
changelog; the most visible are that
bash commands no longer inherit the provider API key variables, that write and edit refuse
an existing file the model has not read or that changed since it did, and that leaving a session
stops its background processes.
Wisp 0.4 compatibility
0.4.0 changes no command, event, handshake, session, settings, credential, or trust format, so 0.3.x and 0.4.0 read each other’s sessions. The backend and every frontend must still be the same release, and external RPC clients keep using the schema bundle of the installed release.
The supported Python API changes in one place: ToolContext replaces five operation write fields
with write_constraint, under the exception above. Tool behavior changes are listed in the
changelog; the most visible are that
bash runs commands in bash rather than /bin/sh, and that the read-only file tools follow
symbolic links whose targets stay inside the workspace.
Wisp 0.3 compatibility
0.3.0 adds RPC commands/events and defaulted tool, run, context, and history metadata. Existing documented Python entry points remain available; external RPC clients must upgrade in lockstep with the backend and use the 0.3.0 schema bundle.
0.3.0 reads 0.2.4 sessions using the existing entry v6, event-envelope v1, and compaction v4 formats. This does not guarantee that an older package can read newer records: 0.2.4 may reject the added tool presentation fields, while its typed event reader rejects new event fields. Keep a pre-upgrade session backup. See Upgrading to 0.3 for the supported rollback procedure. Settings, credentials, and trust formats are unchanged.
0.3.1 changes no command, event, handshake, session, or trust format, so 0.3.0 and 0.3.1 read each other’s sessions. The backend and every frontend must still be the same release.