github 0xPlaygrounds/rig v0.47.0
rig-v0.47.0

51 minutes ago

Added

  • (rig-basics, rig-memory, rig-ecs, rig-core) [breaking] compaction has no undo: the Uncompact event, undo_summary, Uncompacted and UndoError are removed, and with them the /uncompact command built on them; the replaced messages stay visible in the transcript. Recovering is removed, and Summarizing::keep_from is replaced by replaces. apply_summary takes the messages the compaction read and replaces exactly those, only while unchanged. Summary calls are retried by the kernel as [retry] says and after the wait the provider asks for; a blank summary fails (SummaryFailure::Empty). StopTurn::plugin_done ends a plugin's own turn and lets queued messages carry it on. A provider error code listed as final (insufficient_quota and the like) is not retried, whatever the HTTP status (#3436) (by gold-silver-copper)
  • (rig-memory, rig-basics, rig-ecs) [breaking] compaction works as in the pi coding agent: it keeps about 20k tokens of the newest messages, never splitting a tool exchange, and updates the previous summary with pi's prompts (in rig-memory) in a separate call. It compacts and resends once after a context-overflow refusal or a reply the window cut short, and refuses an errored or cut-off summary with the reason. [compaction] takes enabled, reserve_tokens and keep_recent_tokens; keep_recent, keep_asked, clearing, near_window, prompts, limits and tracked are gone and refused as unknown. Old tool outputs are no longer cleared. rig-memory's compaction policy, summarizer and output-clearing API (CompactionPolicy, Summarizer, SummaryPrompts, SummaryLimits, ClearToolOutputs, TrackArgument, …) is replaced by pure functions (prepare_compaction, find_cut_point, summary_request, summarization_request, summary_text, …), and ErrorReport::context_overflow is removed (#3434) (by gold-silver-copper)
  • (rig-basics, rig-tui, rig-harness, rig-harness-protocol, rig-cli, rig-steel, rig-ecs) [breaking] forks and rewind (/fork, Alt+Up then Enter) are sessions::forks::ForksPlugin, renamed from sessions::agents::AgentsPlugin, and off by default; rig plugin enable rig_basics::sessions::forks::ForksPlugin turns them on. /agents is its own plugin, agent_picker::AgentPickerPlugin, off by default and added by forks and subagents; AgentColumn, ColumnOf and AgentColumns moved to rig_basics::agent_picker. The status line, the key hints, the terminal title with its OSC 133 marks, and the working animation are default plugins that can be turned off (rig_tui::status::StatusLinePlugin, rig_tui::hints::KeyHintsPlugin, rig_tui::title::TerminalTitlePlugin, rig_basics::activity::animation::WorkingAnimationPlugin); rig_tui::TuiPlugin is the bare view and the new rig_tui::TuiPlugins group adds the three parts to it, so an app that added TuiPlugin itself adds TuiPlugins to keep them; [tui] mark_nonce_env is now [title] mark_nonce_env, and [status] hide = [..] leaves status-line parts out by name. /plugins is a tree of crates, areas and plugins, with the status line's parts under it. Steel is a pure code mode: spawn-agent, send and reply work only with Subagents on. With nothing saved or named, the terminal view starts on the same automatic model pick as print mode and ACP, which takes the ChatGPT plan's default model first when you are signed in. PickItem gains parent. A command refused because a turn is running comes back in the input with the reason, and a plugin that panics while the agent starts shows its panic message in the rebuild error (#3425) (by gold-silver-copper)
  • (rig-harness-protocol, rig-cli, rig-basics) [plugins] off turns off branches of the plugin tree, a crate (rig-tui) or an area (rig-basics/sessions), keeping each plugin's own choice; an unknown branch refuses the start. A plugin's area is the module under its crate in its type path (config::area). rig plugin enable and disable take a branch name, and rig plugin list prints the tree of crates, areas and plugins (#3404) (by gold-silver-copper)
  • (rig-core, rig-basics) chatgpt::DEFAULT_MODEL is gpt-6.2-sol (was gpt-6.1-sol), so a fresh ChatGPT sign-in in the rig agent starts on GPT-6.2 Sol (#3409) (by gold-silver-copper)
  • (rig-core) Claude Fable 5.2 (anthropic/claude-fable-5-2 and its Bedrock, Vertex, Azure, Copilot, OpenRouter, OpenCode and Venice ids), GPT-6.2 Sol and GPT-6.2 Astra and Gemini 4 Carbon and Hydrogen are in the model catalog, with anthropic::CLAUDE_FABLE_5_2, openai::GPT_6_2_SOL and openai::GPT_6_2_ASTRA. The catalog is refreshed from models.dev as of 2026-11-17: 84 rows added, 35 retired rows removed, prices and limits updated. Gemini Effort::XHigh is sent as thinkingLevel: "xhigh" to models the catalog lists with it, except on the gRPC route (#3402) (by gold-silver-copper)
  • (rig-ecs) spawn_root(world, bundle) takes the root agent's bundle and adds it in one insert with Agent, so On<Add<Agent>> observers, and Insert observers of the bundle's components, see the whole agent with the caller's components, AgentId and ToolAccess (#3399) (by gold-silver-copper)
  • (rig-cli) rig plugin add <type> (--path <dir> | --git <url> [--branch <b> | --rev <r>] | --version <req>) [--crate <name>] adds another crate's plugin to RIG_HOME/settings.toml as a [[plugins.extra]] table, keeping the file's comments, and rig plugin remove <type> takes it out, with the type's enable/disable entries. The warning about a 0.46 RIG_HOME/plugins.toml prints rig plugin add commands instead of tables to paste (#3398) (by gold-silver-copper)
  • (rig-ecs) ToolAccess::only(names) builds an allow-list of exactly the tools named, each once, in order; unlike ToolAccess::all().narrow(..), its result does not depend on another access (#3400) (by gold-silver-copper)
  • (rig-basics) while the agent works, the status item starts with a moving wave of six bars, and rig's mark in the welcome pulses with it. [activity] animate = false in settings.toml keeps both still (#3379) (by gold-silver-copper)
  • (rig-basics, rig-tui, rig-harness) [breaking] in /plugins, Enter ticks or unticks the highlighted plugin (also while filtering), changed rows show + on / - off, and Esc with changes asks to reload now, apply at the next start, or keep editing; /plugins defaults asks the same about going back to rig's defaults. pick::Ticked, set by a front on a multi-select picker as the user ticks, lets a plugin show what changed before the picker closes (#3382) (by gold-silver-copper)
  • (rig-cli) rig --safe starts a separately cached build of rig's default plugins, ignoring [plugins] in settings.toml, with its own log; /reload or /plugins goes back to your own plugins (#3376) (by gold-silver-copper)
  • (rig-basics) the status line shows how long the agent has been thinking, writing, running tools or busy once a step passes 5 seconds (thinking… 1m12s), and docs/agent.md explains what to do when rig seems stuck (#3377) (by gold-silver-copper)
  • (rig-harness-protocol) fs::replace writes a file through a rename and creates a new file private (0600 on unix), so a first settings.toml, a session's name and working-directory files and a run's end record are the user's alone. An existing file keeps its mode and group (#3370) (by gold-silver-copper)
  • (rig-basics, rig-agent) [login] app_name in settings.toml names the app that the ChatGPT browser sign-in pages send the user back to. Without it they say "rig". An empty name is refused (#3317) (by gold-silver-copper)
  • (rig-agent) a streamed run reports each tool's accepted output as MultiTurnStreamItem::ToolResultItem { tool_result, index, count } as soon as the tool's outcome hooks accept it, without waiting for its siblings: a returned top-level JSON array is reported one element per item. Committed ToolResult items and history are unchanged (#3314) (by gold-silver-copper)
  • (rig-agent) a streamed run yields MultiTurnStreamItem::ToolExecutionStarted { tool_call } once for each tool call it dispatches, before the call's hooks and body run, so a consumer can show a running tool while the batch executes (#3313) (by gold-silver-copper)
  • (rig-core) providers::auth::loopback::Loopback is a public, native-only loopback listener for a browser OAuth sign-in: it reports the redirect address and returns the state-checked code, and its pages name the provider and the app. chatgpt::auth::Authenticator::with_app_name names the app the ChatGPT sign-in pages send the user back to (default rig). The ChatGPT listener refuses a callback with a repeated state or code, answers a callback with no authorization code with a 400 page and keeps waiting, and stops reading a stalled request at its deadline. rig-claude-cloak's login uses the same listener (#3308) (by gold-silver-copper)
  • (rig-core) [breaking] Responses::with_store sends store on every request from a Responses wire unless the request sets its own; false makes each request stateless. Responses has a new public field, store: Option<bool>, so a struct literal adds store: None (#3312) (by gold-silver-copper)
  • (rig-core) error::RateLimits::from_headers reads the request and token allowances in a reply's rate-limit headers (OpenAI, Groq, Anthropic, OpenRouter, IETF draft), with resets as seconds, Unix times, Go durations, RFC 3339 or HTTP dates. It takes the reply's time and builds for WASM. ErrorReport::retry_after also reads wait hints in us, µs and ns (#3304) (by gold-silver-copper)
  • (rig-ecs) [breaking] the kernel saves what a frame changed after every plugin's Last system ran, on the exit frame too: logs are written in the new Persist schedule (WriteLogs is a set there) and SaveSystems is removed. Once the session can no longer be saved, every effect whose Footprint says it may change something is refused before it starts, not only tool calls. Removing a saved resource is saved. rig-memory adds check_new_log_name, same_log_name and MAX_NEW_LOG_NAME, and rig-harness the host::session::MarkSaved set (#3268) (by gold-silver-copper)
  • (rig-ecs) [breaking] StreamDelta carries every model call's reply text: a reply whose text did not stream, such as one a plugin answered in place or a reviewer edited or took over, is written once just before the call settles. rig -p --json writes its text line and rig -p its narration, and rig-acp's own fallback is removed. Text that streamed is never written twice (#3264) (by gold-silver-copper)
  • (rig-cli, rig-harness) rig warns once per start when RIG_HOME still has rig 0.46's plugins.toml or defaults.json and settings.toml has no [plugins] or [model] table for it, saying what to add to settings.toml; the files are left untouched (#3239, #3245) (by gold-silver-copper)
  • (rig-cli, rig-basics, rig-harness-protocol) [breaking] rig update reinstalls the launcher with cargo install --force (from crates.io, or from the checkout it was installed from) into the directory it runs from, prints the command first, then builds the agent with the new launcher; a failed install leaves the installed rig unchanged and exits 1. /update runs it in the agent, shows its progress and restarts on the new rig like /reload. When the launcher's own file was replaced, a reload or a session switch (/new, /resume) restarts the launcher as the new file on the session the agent asked for; a -p or --json run says so (a warning on stderr, a notice line) and goes on with its build. /update is its own default plugin, rig_basics::reload::update::UpdatePlugin, and ReloadPlugin adds only /reload, so each can be turned off alone. ReloadStatus::ask takes a Rebuild (Build or Update) and ReloadStatus::Queued carries it. update is a launcher command, so no plugin command may take the name. New in rig-harness-protocol: Stamp, env::LAUNCHER_STAMP and UPDATE_SAYS (#3224, #3249, #3250, #3406) (by gold-silver-copper)
  • (rig-acp) session/load and session/resume of a session the client already has open re-attach to it instead of failing with "already open". A load replays the history first; a load is refused while a prompt runs, and a request naming other MCP servers is refused (#3228) (by gold-silver-copper)
  • (rig-fold, rig-tui) [breaking] new optional plugin rig_fold::FoldPlugin, off by default (rig plugin enable rig_fold::FoldPlugin): the terminal view folds a finished tool call to its header, first and last lines and a line counting the rest, and Ctrl+O ([fold] key) shows the selected call, or every call, whole. Failed and stopped calls are never folded, and nothing the model, the session log, --json or ACP see changes. ToolRender has a new field item: Option<CallItem>, the call as TranscriptView::selected names it (#3223, #3395) (by gold-silver-copper)
  • (rig-basics, rig-markdown) [breaking] rig -p on a terminal draws the answer's markdown and word-wraps it to the terminal width (COLUMNS, else the tty size), keeping code lines whole; stdout and stderr each wrap to their own terminal's width. Pipes and files get the same bytes as before. On a terminal, stderr shows a dim line per tool call started and the narration before it. Tool progress lines on stderr no longer start with rig: ; errors and warnings still do. New crate rig-markdown: markdown drawn as styled lines and word wrapping, shared by rig-tui and rig-basics (#3226, #3257) (by gold-silver-copper)
  • (rig-cli) a new home gets a writing-rig-plugins skill in RIG_HOME/skills (/skill:writing-rig-plugins), pointing at the plugin guide and plugin corpus. rig writes it once, when it sets up a new home and no file is there, so an edited or deleted skill stays that way and a user's own skill of that name is kept (#3218, #3247) (by gold-silver-copper)
  • (rig-typesafeai) JevConfig::with_token sets the credential, so a config loaded from storage (where the token is never kept) can send again (#3180) (by gold-silver-copper)
  • (rig-lancedb) LanceDbVectorIndex implements InsertDocuments, so documents can be inserted without building Arrow record batches (#3117) (by gold-silver-copper)
  • (rig-typesafeai) JevConfig::provider sends OpenRouter's routing preferences, such as zero data retention, with a Jev evaluation. OpenRouter's ProviderPreferences and the types inside it implement Deserialize (#3118) (by gold-silver-copper)
  • (copilot) [breaking] ModelInfo::supports_tool_calls, filled from Copilot's /models, so callers can select models that take tools without hardcoding ids. A ModelInfo { .. } literal needs the new field (#3116) (by gold-silver-copper)
  • (rig-core) ResponsesWebSocketSessionBuilder::cache_key pins the session id the OpenAI Responses WebSocket handshake sends, as a completion's cache key does on HTTP (#3049) (by gold-silver-copper)
  • (rig-tools, rig-basics) [breaking] the move tool (Move, MoveArgs), rig-tools' checkpoint module, rig_basics::checkpoint::CheckpointPlugin and its [checkpoints] settings are removed, with no replacement (#3048) (by gold-silver-copper)
  • (rig-cli, rig-harness, rig-harness-protocol, rig-mcp-client, rig-basics) [breaking] RIG_HOME/settings.toml is the one settings file. It says which plugins run ([plugins] enable/disable name rig's plugins, [[plugins.extra]] adds crates that are not rig's) and holds the model and reasoning a new session starts with ([model] default/effort); plugins.toml and defaults.json are no longer read, and a new default plugin reaches every home. A project has no settings: rig never reads <project>/.rig/settings.toml, and AppSettingsExt::add_project_setting, ProjectSetting, ProjectSettings and ProjectSettingsSystems are removed. The servers of a project's .rig/mcp.json start with no question; asking first is the opt-in rig_mcp_client::approval::McpApprovalPlugin, and McpState::NotApproved and Denied become McpState::Held. The launcher is its own crate, rig-cli. The generated agent adds its plugins as one PluginGroup of rig_harness::Loaded<P>; Home::plugins_toml, Home::defaults and ESSENTIAL_PLUGINS are removed (#3005) (by gold-silver-copper)
  • (rig-basics, rig-tools) [breaking] one agent tree's spend is counted: every agent's AgentUsage keeps what the agents below it spent (below), and spend is recorded through one event, Spent (AgentUsage::record is no longer public). rig --json and rig -p --json speak protocol version 3: a usage line for each recorded model call, a helper's included, and exit's usage is the session's total with usage_complete; a "v":1 or "v":2 request line is refused. New rig_basics::budget::BudgetPlugin (listed disabled): [budget] usd/tokens and /budget; at the limit running turns stop and new model calls are refused. [subagents] model and tools give a task that names none its subagent's model and tools. Spawn gains grace (#2994) (by gold-silver-copper)

Fixed

  • (rig-tui, rig-cli, rig-basics, rig-harness-protocol) a filter pasted into /plugins, or any tree picker, selects the row that typing it selects. The warning for a v0.46.0 plugins.toml with AgentsPlugin on prints rig plugin enable rig_basics::sessions::forks::ForksPlugin. The refusal of a plugin on another Bevy also lists the pins in the crates a path plugin depends on by path. /compact on a session that fits in [compaction] keep_recent_tokens says "Nothing to compact yet" as a plain notice, not an error. (#3438) (by gold-silver-copper)
  • (rig-core, rig-memory, rig-basics, rig-acp) [breaking] a compaction's only record is its summary entry: Compacted, COMPACTED and Summarized are removed, summarized_in_log returns the replaced entries by summary id and drops them at a reset, SummaryState::read reads a state back from an entry's text, and SummaryState no longer implements Serialize/Deserialize. A push, and a splice that reaches the end, clear a conversation's halt in the same change, with no separate Halt { halt: None } record. The compaction threshold and the output-limit fit use one count of the request as it is sent, so a large prompt near the limit is compacted for before it is sent. The messages a summary replaced are no longer shown or replayed once the session's conversation was reset (#3437) (by gold-silver-copper)
  • (rig-ecs, rig-basics, rig-harness, rig-harness-protocol, rig-cli, rig-tui) [breaking] Models::connect returns ConnectError instead of a String; Models::cannot_use words it, and the ConnectWording resource lets an app word refused models. /model, restored sessions and settings models say how to supply a missing key as --model does, naming /login when it applies. A branch in [plugins] enable or disable is told it goes in [plugins] off, and AgentsPlugin is refused naming ForksPlugin (#3432) (by gold-silver-copper)
  • (rig-cli) a plugin on a bevy_app or bevy_ecs other than the agent's stops the build before anything compiles, with what to write in its Cargo.toml instead of rustc's errors. cargo's redrawn progress frames no longer fill build.log (#3431) (by gold-silver-copper)
  • (rig-basics, rig-cli, rig-harness-protocol) /reload and /update show the cause rig build explains, such as a plugin's Bevy pin and the manifest line to change, instead of cargo's first error. rig build closes a failure it explains with one error: rig build: line, and blames a plugin's Bevy requirement only when cargo's first error is a version conflict over a Bevy crate (#3429) (by gold-silver-copper)
  • (rig-core) the built-in catalog, effect logs, OpenAI duration usage and OpenRouter thresholds read their floats when serde_json's arbitrary_precision is on anywhere in the build; Catalog::builtin() no longer panics there. Reads from a serde_json::Value keep integers beyond u64/i64 under it (effect logs, tool arguments, vector-store documents, saved sessions), through the new json_utils::from_value and json_utils::from_value_seed (#3414) (by gold-silver-copper)
  • (rig-tui, rig-fold) a plugin key binding refused because its key is taken is shown once as a warning in the terminal view, naming both bindings, not only logged (#3397) (by gold-silver-copper)
  • (rig-core, rig-markdown, rig-tui, rig-steel) token labels round before choosing the unit: 9,999 reads 10k, 999,999 reads 1.0M. A tab in an assistant reply, inline code or a queued message is drawn as four spaces instead of vanishing. Private-use characters in a reply are no longer mistaken for plugin text marks. Steel's printed output cut inside a multibyte character ends at the last whole character (#3394) (by gold-silver-copper)
  • (rig-basics, rig-tui) rig -p refuses the run with an error, instead of panicking, when the thread that reads piped input cannot start; /reload and rig update say "Could not start the rebuild"; the terminal no longer panics at startup when the grammar warm-up thread cannot start (#3387) (by gold-silver-copper)
  • (rig-ecs, rig-harness) a restored turn that fails keeps the result of a call that finished before the restart, and says a call that was running may have partly run. Choosing a model for an agent with no connection connects it once. A plugin loaded inside another plugin's build owns its entities and systems. An app without RigHome finishes interrupted session deletes in the home the environment names (#3393) (by gold-silver-copper)
  • (rig-gemini-grpc) an embedding width that does not fit the gRPC request's i32 field is refused before any request is sent, instead of wrapping (#3392) (by gold-silver-copper)
  • (rig-core) BeforeServe::deny marks its report as a refusal, so a denied tool call ends refused instead of failed. EmbeddingsBuilder::build rejects a document with no text before it sends any request, and an embedding model of unknown width is described with no dims. ErasedHandler::map_stream keeps the wrapped handler's footprint. On wasm, EmbedError::new accepts errors that are not Send/Sync (#3390) (by gold-silver-copper)
  • (rig-core) Hugging Face: with_sub_route selects the sub-provider by sending the model as model:provider, and a model that already selects another provider is refused; transcription and image generation post to /hf-inference/models/<model>. OpenAI Responses WebSocket: a response.done without a response id ends the turn instead of stalling. Gemini: creating a cache and updating its expiry send Content-Type: application/json. Azure OpenAI: transcription posts to /audio/transcriptions and keeps the spoken language, instead of translating to English (#3391) (by gold-silver-copper)
  • (rig-tools, rig-tui) Ctrl+V pastes a JPEG or WebP image from a Wayland or X11 clipboard that offers no PNG. Dropping several image files at once types one @path per image, and a dropped file:// URL is percent-decoded and may name the host localhost (#3383) (by gold-silver-copper)
  • (rig, rig-cli) the launcher is the new library crate rig-cli. cargo install rig installs the rig binary as before, now through the root package's new default cli feature; a library user who wants no launcher dependencies sets default-features = false (#3385, #3389) (by gold-silver-copper)
  • (rig-tools, rig-tui) [breaking] Ctrl+V names the clipboard program that is not installed (wl-paste, xclip) instead of saying there is no image, gives up after 5 s on one that does not answer, says when no clipboard is reachable from this machine, and pastes the clipboard's text when it holds no image. A drag that copies text says Copied N lines. clipboard::read_text returns Option<String>, None for no text; clipboard reads and writes fail with NotFound naming the programs when none is installed (#3378) (by gold-silver-copper)
  • (rig-basics, rig-steel) the task, helper and run_steel descriptions say what each tool suits and what is quicker done directly, and no longer name broad searches as a use for subagents (#3375) (by gold-silver-copper)
  • (rig-tui) Enter after a paste sends it: a paste no longer opens a command, path or argument list on its last word (ping @lib, /comp), so the first Enter is not taken by the list (#3373) (by gold-silver-copper)
  • (rig-cli, rig-tools, rig-mcp-client, rig-memory) [breaking] the default listing (search, list, watch) leaves out only target directories, so a file named target is listed, and Listing::keeps takes whether the path is a directory. A new mcp.json is created private (0600), and a ${VAR:-default} in it ends at the brace that pairs with ${. A command-line word that is not UTF-8 is refused with exit 2, a RIG_HOME with a line break is refused before the agent build, and a leftover run or session directory that cannot be removed no longer refuses every start. Saving refuses a session log with a second header, and a session's name, working directory and end record are written durably (#3365) (by gold-silver-copper)
  • (rig-ecs, rig-harness, rig-basics, rig-memory, rig-tui) [breaking] build_failure_message takes the home whose build log it names. rig -p at a terminal draws a tab as four spaces (rig_markdown::code::untabbed). A [model] effort in settings.toml with no default is applied, with and without --model. A helper call works when the caller's directory is reached through a symlink. A refused run that waits for its start writes one AppExit (#3361) (by gold-silver-copper)
  • (rig-core) [breaking] OpenAI transcription: TranscriptionUsage::Tokens::total_tokens is Option<u64>. ChatGPT and Copilot device sign-in through auth_context no longer hold the credential store's cross-process lock while the user enters the code, and a spent ChatGPT refresh token asks for a sign-in. The Copilot bootstrap-token fingerprint is a SHA-256 prefix, stable across Rust releases; a credential saved by an older build is exchanged once more. Gemini: replies without responseId report response_id: None, InteractionResume refuses an interaction id that would retarget the request path, CacheBook::restore reports a lease not named cachedContents/<id> lost, and GeminiExtras reads an empty list as None. A Responses WebSocket request whose additional_params is null keeps the session's previous_response_id chain (#3363) (by gold-silver-copper)
  • (rig-agent, rig-core) [breaking] ChatBot::run ends cleanly at end of input (Ctrl+D or a closed pipe) and returns Result<(), StreamToStdoutError>. A tool call denied by an ErrorKind::Denied report (a hook's DispatchAction::Deny or a layer's BeforeServe::deny) is a refusal (is_refused, status denied), not a skip. tool::feedback::invalid_call_feedback takes the invalid call's position (usize) instead of its &CallId. A HookStack member whose observes returns false for run-start, run-settled or a delta event is no longer called for it. A call to a tool that is not registered at dispatch tells the model which tools it has. prepare_request fails when provider tools are set and additional_params is a string, array or number (#3364) (by gold-silver-copper)
  • (rig-core, rig-http) a streamed reply with any 2xx status is read as a stream (before, only 200 was). MultipartForm::encode escapes ", CR and LF in part names and filenames as %22, %0D and %0A. StreamRecord::push refuses a second start of a part without reopening it. Invalid-tool-argument feedback counts the arguments it did not echo in characters, not bytes (#3360) (by gold-silver-copper)
  • (rig-tools, rig-tui, rig-ecs, rig-basics, rig-cli) a shell call whose background job still wrote to its output says that the job was ended with the call, and how to keep one running (process::Ended::EndedJobs). A refused slash command that is cleared or changed and typed again is refused again. Text that starts with a path or //, or with / and a space, is a message for the model, not a slash command, in every front: rig -p "/etc/hosts: what is this?" works. The model's message says which @ paths were not attached and why. A Bevy-pin build error no longer repeats cargo's message after rig's (#3332) (by gold-silver-copper)
  • (rig-tools, rig-harness, rig-basics) [breaking] write replaces an existing file only if it was read (or written) in this session and has not changed on disk since; otherwise it writes nothing and asks the model to read the file again. Workspace::write_if takes held: Option<&ContentHash> (None writes only while there is no file) and Workspace::replace is removed. What the file tools saw is each agent's own FilesSeen component, which CallPlace::seen hands to read, edit and write; rig-basics' SeenFiles is removed. CallPlace gains seen and overlaid (#3331) (by gold-silver-copper)
  • (rig-cli, rig-ecs, rig-harness, rig-mcp-client) rig plugin new writes Bevy's major and minor (bevy_ecs = { version = "0.20", ... }) instead of an exact pin, and when cargo cannot resolve the agent project rig names each plugin Cargo.toml line whose Bevy requirement the agent's Bevy does not meet. Every rig plugin command warns of a v0.46.0 plugins.toml or defaults.json that settings.toml does not cover yet, and prints the rig plugin commands and [model] lines that rebuild the old setup. A plugin scaffolded by v0.46.0 also needs its rig-harness = "0.46.0" raised to "0.47.0". A refused /mcp approve <name> comes back in the input as typed. A fork of an agent's whole conversation keeps its context figure. A saved value whose type no plugin of the build saves is kept in the session and logged to agent.log, not shown as a "Skipped saved" error (#3330) (by gold-silver-copper)
  • (rig-agent) AgentRunner::ordered_by_footprint(true) runs the tool calls of one reply that touch the same thing in order, by what each tool says it touches (Tool::footprint). Calls that touch different things still run side by side up to tool_concurrency. Off by default (#3309) (by gold-silver-copper)
  • (rig-agent) [breaking] a tool call that a streamed reply was cut off in the middle of by the output limit is answered "your reply reached the output limit, send less" and never run; it is not offered to on_invalid_tool_call, and a cut call to the structured-output tool is never taken as the run's answer. StreamedTurn gains the public field cut_off (positions in choice). Persisted runs of earlier versions are refused on resume (RUN_FORMAT, 7 by the end of this release) (#3300) (by gold-silver-copper)
  • (rig-core) a tool call that a provider's stream closed unfinished (cut by the output limit) is listed in CompletionResponse::unfinished_calls(), so on OpenAI Chat Completions and Responses providers the coding agent answers that the reply reached the output limit and the tool does not run. Before, it answered with a JSON error, or ran the call with {}. Under a length finish a Chat Completions call with blank argument text is unfinished, a Responses function call stated "status":"incomplete" is unfinished, and an Anthropic tool_use block never closed in a reply cut at max_tokens is unfinished whatever its input (#3298) (by gold-silver-copper)
  • (rig-memory) request_estimate(&CompletionRequest) estimates the tokens a request built to send costs, its tool definitions included (#3295) (by gold-silver-copper)
  • (rig-claude-cloak) every tool whose schema can be checked strictly is sent with strict: true, within Anthropic's request-wide limits, instead of only tools with four fixed names. A tool that would push the request past 24 optional parameters is sent without strict and keeps its optional parameters optional. The tools block changes, so the first request after upgrading misses the prompt cache once (#3293) (by gold-silver-copper)
  • (rig-core) a reply restated as stream events (Reply::into_stream) carries a malformed tool call's arguments as the model sent them, matching a real stream, instead of the repaired object; a call with no argument text restates no Arguments event (#3288) (by gold-silver-copper)
  • (rig-cli) a staged build that cannot be started (no execute permission, or not a program) no longer stops the launch: the launcher warns and starts the previous build. A staged build that is not a program (no #! and not the platform's executable format) is passed over on macOS too, and is never run through /bin/sh (#3297, #3307) (by gold-silver-copper)
  • (rig-core, rig-ecs, rig-basics) [breaking] ReasoningSupport::parse, name_of and reads are one model-aware reader and printer for a reasoning setting written as text (high, off, 4096 tokens), and UnknownReasoning gains a budget field. impl Display for ReasoningSetting is removed; print with spec.reasoning.name_of(setting.0). [model] effort = "high" is read by the model it starts on, so it works on a model that takes a budget and no levels; /effort takes <n> tokens, and /model keeps the reasoning setting by its name (#3291) (by gold-silver-copper)
  • (rig-core, rig-agent) calls that share an id stay distinct through a streamed reply: Reply::into_stream states each tool call with the id the reply holds, and a streamed run settles each invalid tool call alone (repair, ignore, skip or retry) when another call in the turn shares its id (#3285) (by gold-silver-copper)
  • (rig-core, rig-basics) FileTokenStore::load refuses a credential file that is a symlink, not a regular file, or over 64 KiB, with a new FileStoreError naming the path. On Unix it narrows a file that group or others can access to 0600 before reading it, and refuses the file (FileStoreError::NotNarrowed) when that fails. Saved API keys of the coding agent are read the same way (#3284) (by gold-silver-copper)
  • (rig-core) ErrorReport::retry_after reads a body wait hint in minutes or hours, as Go writes it (try again in 6m0s, 1h2m3.5s); before, such a hint was ignored (#3287) (by gold-silver-copper)
  • (rig-rmcp) [breaking] a server whose handshake declared no tools is no longer asked for them: McpConnection::tools, the new public McpConnection::list_tools(timeout) and McpClientHandler::connect give no tools instead of failing on a resources-only server, and McpConnection::resources gives none for a server that declared no resources (#3296) (by gold-silver-copper)
  • (rig-cli) a SIGTERM or SIGHUP while the launcher asks for a plugin secret, a closed terminal tab included, puts the terminal back (echo, line editing, Ctrl+C) before the launcher ends by that signal (#3281) (by gold-silver-copper)
  • (rig-claude-cloak) HTTP wrappers such as --traffic-log see the request the plugin actually sends: its real URL, headers (authorization redacted in the log) and JSON body, instead of the request before the plugin rewrote it (#3280) (by gold-silver-copper)
  • (rig-rmcp) new client_config(name, version) builds a client config that offers the newest released MCP protocol version (2025-11-25 with rmcp 3.9) instead of rmcp's draft default, which some servers, such as GitHub's remote MCP server, accept and then refuse the session for. The examples and docs use it (#3289) (by gold-silver-copper)
  • (rig-tools) a local watch whose system watch can't start (an unreadable folder under the root, or the system's watch limit) lists the files every second and tries to start the system watch again after a wait that doubles up to a minute (#3282) (by gold-silver-copper)
  • (rig-harness-protocol) a settings edit (such as rig plugin enable) is synced to disk before it replaces settings.toml, and the folder is synced after, so a power loss right after an edit no longer leaves the file empty (#3278) (by gold-silver-copper)
  • (rig-agent) a tool that panics fails its own call with an internal error reading panicked: <message>; the model sees it as the tool's failed result and the run continues. A model handler that panics during a unary dispatch ends the run with an Internal error instead of unwinding (#3279) (by gold-silver-copper)
  • (rig-ecs, rig-basics) a reasoning effort the model's route refuses, such as a token budget for an Ollama model, is reset at start with a warning, and /effort refuses it; before, every turn failed. The "Reasoning reset to default" notice is a warning, so plain rig -p shows it on stderr and --json reports it with "level":"warn" (#3277) (by gold-silver-copper)
  • (rig-harness) an agent restarted by /reload that cannot read the process-group list no longer overwrites it: it moves the list aside (RunDir::set_groups_aside), starts a new one and warns, and the launcher ends the jobs of the list set aside when rig exits (#3263) (by gold-silver-copper)
  • (rig-harness) [breaking] a plugin settings table registered once the run's front is chosen (add_setting in finish) refuses the run, so rig plugin check --build checks every table a start reads. Register settings in build (#3273) (by gold-silver-copper)
  • (rig-mcp-client) MCP tools are attributed (ProvidedBy) to the plugin that added McpCorePlugin, not only to McpPlugin, so tool search's plugins = ["rig-mcp-client"] defers them when McpCorePlugin runs without McpPlugin (#3272) (by gold-silver-copper)
  • (rig-harness) [breaking] a shell tool registered per call always starts its commands as the app's Processes say, without secrets and under any sandbox wrapper. Shell is no longer a PerCallTool; register PerCallShell::new(shell, app.world_mut()) instead (#3269) (by gold-silver-copper)
  • (rig-cli, rig-harness-protocol) [breaking] a launcher starts exactly the build it read its command line and secrets against, even when another rig on the same home claims the staged build or makes another build good in between. A /reload whose new build crashes during startup rolls back to the build that session ran before, and a trial that becomes ready after another launcher made a newer build good no longer replaces it. Home::trial_for is removed; a launcher holds its trial and rollback builds in its run directory (#3266) (by gold-silver-copper)
  • (rig-cli) rig update installs from crates.io with --locked, so it builds against the dependency versions the release was tested with instead of the newest compatible ones (#3267) (by gold-silver-copper)
  • (rig-cli) the 10 s limit on a build describing itself also covers reading its stderr. On unix, processes the describing build started are killed when it ends, so a background child no longer keeps the launcher, and every launcher waiting on the build lock, blocked (#3262) (by gold-silver-copper)
  • (deps) bump zip (through candle 0.11.1 and epub 2.1.6), rustls, hickory-resolver and xxhash-rust past their published security advisories; tokenizers moves to 0.23 with candle (#3261) (by gold-silver-copper)
  • (rig-cli) rig update and /update work in a project whose rust-toolchain.toml pins an older Rust: the install runs in the rig checkout, or for crates.io in the install root, and the command rig prints starts with that cd (#3260) (by gold-silver-copper)
  • (rig-tools) a local watch reports the files an edited .gitignore or .ignore hides or shows, so the @ file picker follows an edit of the ignore rules alone (#3256) (by gold-silver-copper)
  • (rig-harness-protocol) a launcher command given after options, such as rig -m x update, is refused with the exact command line to run instead of "put it first" (#3259) (by gold-silver-copper)
  • (rig-cli) a relative RIG_HOME or RIG_SOURCE keeps naming the same place when rig restarts on a replaced launcher and when /reload builds: the launcher passes both on as absolute paths (#3254) (by gold-silver-copper)
  • (rig-acp) re-attaching to an open session accepts the same MCP servers in any order, and a server's env vars or headers in any order (#3252) (by gold-silver-copper)
  • (rig-fold) a result that folding would shorten by only one row is drawn whole (#3251) (by gold-silver-copper)
  • (rig-cli) rig plugin check --build fails on a settings table the built plugins would refuse at start, such as a key a newer rig removed, instead of saying "all valid … Type /reload" (#3253) (by gold-silver-copper)
  • (rig-core) Anthropic accepts a non-strict tool whose input schema has a root anyOf, oneOf or allOf (as args_schema gives an enum of structs or a flattened tagged enum): the combinators are sent under not: {not: ...}, which accepts the same inputs, and the root is typed object. References into them from dependencies and contentSchema subschemas follow (#3241, #3246) (by gold-silver-copper)
  • (rig-memory) DirFiles and DirStore list files kept in a folder whose name ends in .rig-part, so rewrite() reaches them too. Part files themselves stay hidden (#3244) (by gold-silver-copper)
  • (rig-tools) a recursive Local watch reports the files of a directory moved into the watched tree, as it does for a directory created there, and filters them by that directory's own ignore rules, so the @ file picker lists them (#3240, #3248) (by gold-silver-copper)
  • (rig-core) tool argument validation enforces minLength, maxLength, minItems and maxItems written as a whole float such as 2.0, the same as 2 (#3238) (by gold-silver-copper)
  • (rig-typesafeai) a Choice over a string newtype such as struct Team(String) decodes its answer instead of failing with "expected tuple struct" (#3237) (by gold-silver-copper)
  • (rig-cli, rig-harness-protocol) rig --version, the welcome screen and ACP's agent info show the git commit when rig was built from a checkout, such as 0.47.0 (eb7374fef). The agent project's Cargo.lock is copied from the checkout again whenever the checkout's lock changes, so switching versions no longer re-resolves dependencies. A launcher built from a commit whose checkout is gone or in cargo's cache (cargo install --git) says how to install it properly, instead of failing in generated code. rig_harness_protocol::env::VERSION (RIG_VERSION) and long_version() give the version string the launcher passes to the agent (#3221) (by gold-silver-copper)
  • (rig-tui, rig-markdown, rig-tools) the input box wraps a long prompt at spaces instead of mid-word, keeps the caret inside the input, counts a tab as the column it draws, and moves and deletes whole emoji and accented letters. The key-hint row drops its least important hints first and ends in … when it dropped any, so Esc stops stays visible on narrow terminals. Numbered read rows and /help descriptions keep their column when they wrap. rig_tools::shorten cuts between graphemes (#3231) (by gold-silver-copper)
  • (rig-mcp-client) the notice for an MCP server that wants an OAuth sign-in says so in plain words and points at the README's header-token setup. A server that refuses the token in headers says so (HTTP 401, or 403 for a missing scope), and connection errors no longer show rmcp's Rust transport type names (#3229) (by gold-silver-copper)
  • (rig-mcp-client) rig offers MCP protocol version 2025-11-25, the newest released one, instead of rmcp's draft 2026-07-28. Servers that accept the draft offer and then refuse the session, such as GitHub's remote MCP server, now connect (#3227) (by gold-silver-copper)
  • (rig-harness-protocol) editing settings through a settings.toml symlink whose target does not exist yet creates the target and keeps the link, instead of replacing the link with a plain file. A link into a missing folder or a loop of links is refused with an error naming where it fails (#3225) (by gold-silver-copper)
  • (rig-basics, rig-ecs) rig --json writes ready as its first line even when a request is already waiting on stdin or a resumed session carries on a turn it was cut off in. StartupSystems::{FirstAgent, Reconcile} names the kernel's Startup steps, so a plugin can run between the first agent existing and restored turns resuming (#3216) (by gold-silver-copper)
  • (rig-cli) rig plugin check, a start and rig build say why a plugin crate's Cargo.toml cannot be read (the operating system's error, or the TOML error) instead of only cannot read … as TOML (#3214) (by gold-silver-copper)
  • (rig-core) [breaking] voyageai::VOYAGE_3_5_LITE is "voyage-3.5-lite", the id Voyage AI serves. It was "voyage.3-5.lite" (#3204) (by gold-silver-copper)
  • (rig-core) on wasm32-unknown-unknown, Gemini's CacheBook reads the browser's clock by default. It read a constant zero, so caches never expired before Gemini refused them (#3205) (by gold-silver-copper)
  • (rig-core) [breaking] DialectHooks has a new field, model_listing: Option<ModelCatalogue>, that reads a dialect's model catalogue from the listing reply's body; None keeps the shared { "data": [...] } reading. OpenAI::list_models on a Copilot configuration reports each model's supports_tool_calls, type and owned_by instead of None (#3178) (by gold-silver-copper)
  • (rig-lancedb) insert_documents refuses an embedding whose squared length is not finite, such as 1e300 in a Float64 column, naming the value. top_n and top_n_ids return an error naming the row when its distance is not finite, instead of scoring it 0.0 (#3179) (by gold-silver-copper)
  • (rig-harness) a session whose saved marker could not be written is no longer deleted with its conversation by the agent's exit, the launcher's leave or its startup sweep; the marker write is retried until it succeeds. A session whose agent log holds no conversation (only a changed setting, or a first message a failed turn gave back) is kept on disk, unlisted. Adds SessionDir::holds_logs (#3143) (by gold-silver-copper)
  • (rig-basics) a helper timeout, or [helpers] timeout_secs, over 4294967295 s is refused naming the value instead of possibly meaning no time limit (#3141) (by gold-silver-copper)
  • (rig-cli) a trial build interrupted by Ctrl-C before it started is no longer rejected, and a start that runs the previous build because the new one was rejected says so on stderr (#3139) (by gold-silver-copper)
  • (rig-acp) a model reply that a plugin answers without streaming, such as a replay or cache plugin answering the call in place, reaches the editor, as it already did in the TUI and -p (#3138) (by gold-silver-copper)
  • (rig-basics) a saved /login API key file that exists but can't be read or parsed, or a key directory that can't be listed, refuses the provider's models with an error naming the file instead of falling back to the environment's key. With no -m, the "no model can be reached" error names the file, and rig says once when it starts on another provider's model because of it (#3136, #3168) (by gold-silver-copper)
  • (rig-acp) rig acp refuses any word after acp, such as rig acp --tools=read, saying to put options before acp, instead of ignoring it (#3142) (by gold-silver-copper)
  • (rig-harness, rig-basics, rig-acp) Ask::check and AnswerRefused are the one rule for whether an Answer answers an Ask, used by every front. rig --json refuses several choices for a question that takes one (an approval answered ["deny","allow"] used to run the gated call), accepts no choice for a question that takes several, and refuses an answer to a question already answered (#3140) (by gold-silver-copper)
  • (rig-claude-cloak, chatgpt) in the coding agent, the browser opened for OAuth login or ChatGPT sign-in no longer inherits rig's RIG_SECRET_* variables (#3135, #3171) (by gold-silver-copper)
  • (rig-harness) on unix, sessions/, projects/, data/ and run/ under RIG_HOME and every session directory are private to the user (mode 0700), and an existing wider directory is tightened when a session starts, so another local user cannot read conversations, prompt history or failed-run logs. Adds Home::keep_private (#3137, #3164) (by gold-silver-copper)
  • (rig-mcp-client) a ${RIG_SECRET_*} in an mcp.json is refused, naming the field and the variable, in any letter case, instead of being expanded and sent to the server (#3133) (by gold-silver-copper)
  • (rig-typesafeai) [breaking] a stored JevConfig with an unknown top-level key, such as provider misspelled as provder, fails to load with an error naming the key, instead of loading without the restrictions it meant to set (#3130) (by gold-silver-copper)
  • (rig-helixdb) with an API key, HelixDB::new's client follows redirects only within the endpoint's origin, so the key no longer reaches another host; a redirect to another origin fails the query (#3129) (by gold-silver-copper)
  • (providers) a built Anthropic, OpenAI, Copilot, native Cohere embeddings, native Ollama or VoyageAI request's Debug output no longer shows the API key: the x-api-key, bearer, Azure api-key and authorization headers are marked sensitive and still sent unchanged (#3128, #3132) (by gold-silver-copper)
  • (openrouter) a stored ProviderPreferences with an unknown key directly under it or under its max_price, such as a misspelled data_colection, fails to load with an error naming the key, instead of loading without that restriction (#3127) (by gold-silver-copper)
  • (rig-tools) Local::watch given a relative path reports its events instead of silently dropping them. When the root exists, the paths it reports are absolute (#3120) (by gold-silver-copper)
  • (rig-reqwest) the default client no longer sends provider key headers such as x-api-key, api-key or x-goog-api-key on a redirect to another scheme, host or port. Only accept, content-encoding, content-type, range and user-agent go on (#3113) (by gold-silver-copper)
  • (gemini) the API key is sent in the x-goog-api-key header on every wire and never in the URL, where proxies, traces and errors could keep it. The header is marked sensitive, so it no longer appears in a debug-printed request (#3111, #3112) (by gold-silver-copper)
  • (core) Usage::tokens_complete() says whether a sum misses an input, output or total figure from any call, including a call that reported nothing. Summed values are unchanged, but a marked sum no longer equals the same counters unmarked and serializes incomplete_tokens (#3110) (by gold-silver-copper)
  • (deepseek) Chat Completions sends user images as image_url parts to the models the catalog says read them, instead of a placeholder (#3107) (by gold-silver-copper)
  • (bedrock) a message cache checkpoint after a reasoning turn is placed on Claude models the catalog lists, so an agent that thinks caches its whole conversation; other models keep the refusal (#3103) (by gold-silver-copper)
  • (rig-tui) the mouse wheel and touch scrolling scroll the transcript instead of browsing prompt history, and move the choice in a picker. A drag selects and copies text in rig itself. Shift+drag keeps the terminal's own selection, and middle-click paste needs Shift (#3104) (by gold-silver-copper)
  • (rig-core) Gemini automatic caching replaces an expired shared-prefix cache instead of sending every later call inline, and a late 403, retire or extend for an old cache no longer changes its replacement; CacheBook::close waits for a create in flight and keeps what it could not delete for the next close. Gemini embedding models advertise max_documents 100, so EmbeddingsBuilder splits large inputs. Gemini transcription sends the request's prompt and language instead of dropping them (#3096) (by gold-silver-copper)
  • (stores) rig-sqlite's top_n and top_n_ids size candidates and search on one snapshot, so a concurrent upsert no longer hides unchanged documents. VectorizeFilter::and keeps every operator on a shared field, and a repeated operator with another value fails validate(). HelixDB's top_n_ids applies the metadata filter and keeps negative-similarity hits when no threshold is set. MongoDbVectorIndex::new accepts indexes with filter fields. LanceDB map, FixedSizeBinary, null and dictionary columns yield one value per row: a dictionary column decodes to its plain value, and a null cell of any type decodes to JSON null (#3093) (by gold-silver-copper)
  • (core) vector store JSON filters and tool argument validation (minimum, maximum, exclusiveMinimum, exclusiveMaximum, enum, const) compare an integer with a float exactly. args_schema keeps null in collection items, map values and tuple elements. Conversation::normalize and repair merge two assistant turns in a row only when they can share an origin, and pairing::validate no longer reports ConsecutiveAssistant for turns that stay apart (#3092) (by gold-silver-copper)
  • (rig-agent) [breaking] an on_dispatch completion patch that changes the tool choice, the tool names, the provider-hosted tools or the output schema is refused before the provider is called; make that change in on_completion_call with a RequestPatch. AgentRun::answer_all checks every answer in a batch before a malformed call's Stop, Fail or Repair ends the run (#3097) (by gold-silver-copper)
  • (rig-cli) rig -p refuses a run whose agent build fails to compile, exiting 1 with the compiler's errors on stderr, instead of answering with the previous build. rig plugin disable <name> takes a plugin name rig does not know out of settings.toml (#3094) (by gold-silver-copper)
  • (rig-agent, rig-core) [breaking] a run with an output schema fails when its final answer, as text or as output-tool arguments, does not fit the schema, in every output mode, instead of returning unchecked text; the model is reprompted while the output-retry budget lasts. The failure is PromptError::OutputSchemaMismatch, which carries the answer, the validator's Problems and the history. A text answer whose JSON is wrapped in prose or a markdown fence passes. structured_output::text_satisfies_schema is replaced by structured_output::validate_text. The Claude wire reads a gateway's anthropic/ spelling of a listed model id as that model (#3050) (by gold-silver-copper)
  • (rig-cli, rig-harness-protocol) a start whose settings.toml names an unknown plugin or a [[plugins.extra]] path that holds no crate, or whose RIG_SOURCE is not a rig checkout, refuses with the mistake instead of starting the previous build; the error names the list the plugin is in and how to fix it (#3057) (by gold-silver-copper)
  • (rig-bedrock, rig-core) a Bedrock Converse tool call typed "tool_use" (Claude models) is a client call again instead of an opaque hosted-tool block the agent loop never ran. Copilot routes by the model catalogue before the codex name check, so gpt-5.5, gpt-5.4 and the GPT-6.1 family go to /responses. OpenAI Chat Completions keeps the thinking_blocks a LiteLLM proxy returns for Anthropic models and sends them back. codestral-embed reports a 1536 default width, and an embedding width the caller names is sent even when it equals the model's native width (#3047) (by gold-silver-copper)
  • (rig-memory) concurrent DirFiles replacements of one file each write their own part file, so writes never mix or fail with NotFound. A missing image blob no longer hides a later image's failed read in load and load_async. A failed Session::save keeps the unsaved changes of every log it did not write, so a retry stores each change once (#3046) (by gold-silver-copper)
  • (rig-memory) read_conversation returns the error when an image blob cannot be read for a reason other than a missing blob, as load does, instead of returning a placeholder (#3095) (by gold-silver-copper)
  • (rig-cassette) recordings scrub account team ids that providers quote, and the fixture safety check rejects one left in place (#3045) (by gold-silver-copper)
  • (rig-tools) a remote Write or Edit of a symlink is refused, naming the link's target, instead of replacing the link with a regular file. A failed remote write says the write may or may not have happened and asks for a read. Remote file listings in a git work tree no longer include tracked files deleted from disk, or links (#3041) (by gold-silver-copper)
  • (rig-sqlite, rig-lancedb) SQLite filters on an indexed column that declares a collation (such as TEXT COLLATE NOCASE) follow that collation, a failed vector-store initialization rolls back, and inserting removes the embeddings of every document a unique-key replacement deletes. LanceDB's top_n_ids returns the distance instead of 0.0 (#3042) (by gold-silver-copper)
  • (rig-basics, rig-core, rig-ecs) [breaking] a model call stopped, superseded or failed mid-stream counts what its provider reported before the end, else an estimate (which /usage says); one stopped before anything came is shown as not known. Under a budget, spend that is not known refuses the next model call until /budget is set again. rig_core::streaming::Relayed gains Usage, the usage a provider reported before the reply's end; rig-ecs's ReportedUsage holds the latest such report (#3003) (by gold-silver-copper)
  • (rig-tools, rig-memory) [breaking] a confined file tool follows dangling symlinks before checking its base, so a confined Write can no longer create or overwrite a file outside its base through a link. Session::save refuses a session read before another save or a rewrite with SessionError::Changed, before writing; Session has a private field, so it is built from Session::default() or Session::read (#2999) (by gold-silver-copper)
  • (rig-tui, rig-tools) the status line stays under the input while something is typed. A process output pipe whose read fails ends with a line saying so and why, instead of looking like the end of the output (#2998) (by gold-silver-copper)
  • (rig-basics, rig-tools, rig-ecs, rig-harness, rig-steel, rig-mcp-client, rig-tui) [breaking] every limit on asked work is a settings.toml key with a default. [helpers] at_once (4) and timeout_secs (600) replace AT_ONCE; [retry] max_retries and max_wait_secs and [tools] max_unavailable_calls are new, with the retry policy in the RetryPolicy resource (was turn::RETRY_POLICY); [steel] max_seconds (60), max_calls (1000) and max_output_bytes (64 KiB); [mcp] connect_timeout_secs and first_retry_secs refuse 0. A RIG_HOME/settings.toml table that does not read refuses the start (exit 2), naming file, table and key. shell no longer kills a command after 10 MB of output; timeout_secs: 0, read's offset: 0 and list's depth: 0 are refused. rig -p reads piped stdin until it closes and refuses input that is not UTF-8. rig-tui tool results show JSON blocks and count images (ToolRender::result_lines() includes JSON, so a look that draws JSON itself drops the JSON content first), and prompt history keeps every distinct prompt (PromptHistory::KEPT is gone) (#2995) (by gold-silver-copper)
  • (rig-basics, rig-ecs) with RedactPlugin on, a notice is redacted before any front reads it, including one rig -p --json writes as a turn starts. New BetweenStages schedule: the kernel runs it between each two stages of an agent pass, so a system there may rewrite what earlier stages wrote before a later stage, an observer or a front reads it (#2993) (by gold-silver-copper)
  • (rig-ecs, rig-basics) [breaking] every agent is made through one Spawner (rig_ecs::spawn, with Origin and AgentSpec); Agent and SpawnedBy cannot be built outside rig-ecs. Subagents have no depth limit: [subagents] max_depth, SubagentPolicy and SubagentSystems are removed. Requests are owned by what made them (RequestOf/Requests); a fork is asked for by spawning ForkAgent::new(agent, through) and answers with a ForkResult. A subagent's owed report reaches the agent waiting for it exactly once across a crash and restore (#2991) (by gold-silver-copper)
  • (rig-basics, rig-acp) [breaking] on a --json tool_call or tool_result line, id is the call's place in its reply, such as m4/1, not the provider's call id; a plugin's own call has null. ACP shows a tool result of several parts the same live and after session/load (#2988) (by gold-silver-copper)
  • (rig-ecs, rig-core, rig-tui) [breaking] each tool call is known by its reply and its place in it (CallRef), so two calls that share a provider id each keep their own result. A stop's cause is typed and saved with the turn: TurnOutcome::Stopped holds a Stop with a StopCause, TurnEnd::Stopped has by: Option<StopCause>, and rig_ecs::restore::RESTARTED is removed. Stops are made with StopTurn::new, StopTurn::plugin or StopTurn::plugin_alone, and every agent a stop reaches gets StopReached. ForkedFrom holds Vec<Ancestor>, Conversation::pending_calls() returns (CallRef, ToolCall) pairs, and rig-tui's TranscriptItem::Call and Decoration take a CallItem (#2985) (by gold-silver-copper)
  • (rig-basics, rig-core) [breaking] /model, its completion and an editor's model list offer only the models usable now: a provider whose key is exported or saved with /login, a sign-in that is logged in, or a local Ollama or llama.cpp server that OLLAMA_API_BASE_URL / LLAMACPP_API_BASE_URL names. /model vendor/model for a model that does not connect is refused and the agent stays on its current model; -m with such a model exits 2 in a headless run. ollama/* models read OLLAMA_API_BASE_URL (the daemon's address; /v1 is appended). ModelStatus gains Unconfigured, and openai::wire::Quirks gains base_url_env_path (#2983) (by gold-silver-copper)
  • (rig-ecs, rig-basics) [breaking] --tools limits only the run it is given to: a later run without it has every tool the session had. ToolAccess is a struct: ToolAccess::All is ToolAccess::all(), allows answers for this run, and keeps and names answer what the agent keeps. The new resource RunTools holds this run's tools, which the session never saves. A task child with no tools gets its parent's own access (#2984) (by gold-silver-copper)
  • (rig-core) [breaking] a streamed model reply that sends no frame for 5 minutes fails as ProviderError::Stalled (retryable) even while keep-alive bytes such as SSE comments arrive. The OpenAI Responses websocket session times each turn the same way by default (STREAM_IDLE_TIMEOUT), ignores pings, and fails as ProviderError::Stalled; .without_event_timeout() waits indefinitely (#2982) (by gold-silver-copper)
  • (rig-http, rig-core, rig-basics, rig-acp, rig-cli) [breaking] every byte stream rig reads has a 64 MiB limit per frame, line or input, refused naming the limit: provider SSE and NDJSON frames, -p stdin, --json request lines, ACP and MCP stdio. SseFramer::push, NdjsonFramer::push and Framer::push yield Result<_, TooLarge>. A signal stops a headless run within about a second whatever its stdout reader does, and the launcher passes SIGTERM, SIGINT and SIGHUP on to its agent and exits only after it (#2974) (by gold-silver-copper)
  • (rig-basics, rig-core, rig-ecs) [breaking] only a model and reasoning setting picked with /model or /effort becomes the default for new sessions, and only once that model has answered; -m, a helper's model, an editor's choice, /login's switch, a resume and /fork no longer change it. The ChatGPT plan's models are those ChatGPT lists for the account; models it does not offer are left out of /model and refused before a request is sent. The ChatGPT rows no account offers (gpt-5.3-chat-latest, gpt-5.3-codex, gpt-5.3-codex-spark, gpt-5.3-instant, gpt-5.4, gpt-5.4-pro, gpt-5.5) are removed with their chatgpt::GPT_5_* constants. SetModel and SetReasoning carry kind: ChoiceKind; ModelStatus gains Checking and NotOffered (#2973) (by gold-silver-copper)
  • (rig-tools, rig-cli, rig-harness) [breaking] every process the agent starts has one owner: it goes through rig_tools::process::Process::start or start_with_stdio, is listed until its group is empty and is tied to its call, so a stopped call stops its processes. OutputLine holds bytes, record_groups takes the groups to adopt, Remote::new takes a closure for the process policy, and list_group/unlist_group are removed. Commands find no editor and no pager: git commit without -m fails at once. A SIGTERM, SIGINT or SIGHUP during a build kills cargo and rustc too (#2970) (by gold-silver-copper)
  • (rig-harness, rig-basics, rig-cli) [breaking] one run contract for every front. --tools is checked the same way in a terminal run, -p and rig acp. A command that opens a list, run where none can be shown (rig -p /model, /effort, /resume, /login), is refused with exit 2 and the commands to type instead; text after a command that takes none (/new hello) is refused. A settings.toml table no enabled plugin reads gets a notice at startup, and a likely misspelling ([trafic]) is an error naming the table it means. rig_basics::print::{Starting, KeepRunning, Work, TOOLS} move to rig_harness::run; SlashCommand gains args; a front that shows pickers says so with Front::shows_pickers() (#2972) (by gold-silver-copper)
  • (rig-tools, rig-basics) [breaking] an @ reference attaches exactly the file that was picked. The completion list, Ctrl+V and dropped images insert @"my file.txt" for a name with spaces; @HOST:PATH attaches a host's file, read off the main thread; a path that cannot be read is reported as could not read <path>: <error>. rig_tools::attach::Attached::missing is replaced by warnings, and references are parsed by attach::Reference::parse (#2962) (by gold-silver-copper)
  • (rig-core, rig-memory, rig-harness-protocol) [breaking] a resumed session draws its tool calls as they were drawn live: each tool result's entry keeps what its call published (an edit's diff, a read's line numbers, a command's exit status). conversation::Entry and EntryRef gain a facts field (ResultFacts), and rig-memory's Rewrite gains a facts hook. A session whose only message failed is no longer kept: no rig --resume line and no blank /resume row; its folder stays on disk, unlisted (#2964) (by gold-silver-copper)
  • (rig-harness, rig-ecs, rig-basics) [breaking] a session has one current agent, saved with it (CurrentAgent, replacing rig-basics' ShownId): the top-level agent shown last, which rig -r <id> -p, -m, ACP, /resume and the welcome line all continue. A saved component says what a fork gets of it with #[reflect(Component, Saved(Reset))] or Saved(Never); a fork's usage starts afresh, and a fork cut before its source's end shows ctx ? until its first reply. MainAgentQuery is a SystemParam, and rig_memory::main_order is removed (#2967) (by gold-silver-copper)
  • (rig-http, rig-core, rig-reqwest, rig-tungstenite) [breaking] an HTTP error keeps its retry class from where it was made. http_client::Error::Instance and Unbuilt are replaced by Transient and Permanent, built by Error::transient and Error::permanent, and only Transient failures are retried; rig_core::error::transient_transport becomes the method Error::is_transient(). reqwest builder and redirect errors are no longer retried, and websocket failures are classified. A ChatGPT or Copilot token refresh the server refuses is AuthError::Reply, which keeps the reply; a 429 or 503 on refresh is retried with its Retry-After (#2969) (by gold-silver-copper)
  • (rig-tools, rig-core) [breaking] tool results show what they found. A long line cut before the part a tool picked it for (a shell failure word, an edit change, a search match) says where that part is; rig_tools::excerpt replaces clip. Workspace::read_files returns Observations and Workspace::files returns Listed, so search and list name what they could not read instead of reporting nothing there. read says when a file's lines end in CRLF. A whole number sent as a float (30.0) decodes as that integer on every tool path (rig_core::tool::decode_args) (#2965) (by gold-silver-copper)
  • (rig-ecs, rig-core, rig-tui, rig-harness-protocol) [breaking] a stopped turn keeps what streamed. Partial holds the reply's tool calls too (calls: Vec<PartialCall>, folded by Partial::follow); a call a stop cut while it streamed is kept, never run, and named in the turn's stop record, and the model is told it never ran (tool::feedback::stopped_call_note). A stop (Esc, /compact, an exit) is not an error: the title reads rig · error and the OSC 133 mark is D;1 only after a failed turn. REFUSED_EXIT_CODE and SIGNAL_EXIT_CODE live in rig-harness-protocol; rig_harness::host::exit::SIGNAL_EXIT_CODE is gone (#2966) (by gold-silver-copper)

Other

  • (rig-agent) [breaking] AgentRunner::{without_max_tokens, replace_additional_params, without_additional_params, without_tool_choice} are removed; configure the agent without those settings instead (#3386) (by gold-silver-copper)
  • (rig-core) [breaking] OpenAIConfig::with_alternate_key is removed; use OpenAIConfig::with_key(..).with_auth(..) with the dialect's alternate header policy (Auth::Bearer for an Azure Entra token). OpenAIConfig::with_audio_api_version is removed; set the public audio_api_version field. The Voyage AI Rerank::with_top_k and Rerank::with_return_documents are removed; set the public top_k and return_documents fields (#3388) (by gold-silver-copper)
  • (rig-cli) the agent's dependencies build without debug info, which shrinks RIG_HOME/target and link time; the crates /reload rebuilds keep line tables. The first build after upgrading rebuilds every dependency once. A "Faster builds" section in the docs shows how RIG_HOME/.cargo/config.toml, rust-toolchain.toml and cargo's environment variables apply to agent builds (#3372) (by gold-silver-copper)
  • (rig-tui, rig-basics, rig-core) [breaking] DrawnTranscript::item, ShownNotice::drawn_in, Notices::all, PickerInput::filter, PickerInput::ticked and KeyPress::shift are removed, and Notices, ShownNotice and TranscriptSlot are no longer public; take an item's rows with DrawnTranscript::rows_of. UserContent::as_tool_result and Message::results borrow the tool results a user message carries (#3366) (by gold-silver-copper)
  • (rig-agent) [breaking] RUN_FORMAT is 7 (v0.46.0 wrote 5): runs persisted by earlier versions are refused on resume. run::PrepareError is gone: prepare_request and TurnPolicy::new return ProviderError (ProviderError::Request). ModelTurn and CompletionCall carry one identity: ResponseIdentity instead of response_id and provider_request_id fields (the JSON keys are unchanged). PartialStreamedTurn::rollback_messages returns [Message; 2]. Removed: Extractor::{with_model_label, with_model, agent}, TurnTools::contains, AgentRun::response, TurnPolicy::allowed, HookContext::agent_name, HookStack::{with, len}, Agent::{model_descriptor, model_label}, AgentBuilder::retrieved_tools_handler, StepEventKind::{CompletionCall, ModelTurnFinished, InvalidToolCall}, ModelTurn::{with_identity, with_finish_reason}, CompletionCall::{with_identity, with_finish_reason, identity} and PromptResponse::{empty, with_messages, with_completion_calls}. ChatBot::run returns StreamToStdoutError::Incomplete when a stream ends with no final response (#3367) (by gold-silver-copper)
  • (rig-cassette) [breaking] remove EffectLogReplayer::check, RecordedAnswers::scopes and AccountFailure::ALL, which nothing outside their own tests used (#3362) (by gold-silver-copper)
  • (rig-ecs, rig-harness, rig-basics, rig-tools, rig-cli) [breaking] ShellOutput moves from rig_basics::coding_tools to rig_harness::per_call (and the prelude); every PerCallShell cuts its output as the app's ShellOutput says, not by its own shell.cut. Picker::checked and PerCall::build are removed: set PickItem::checked, and use PerCallTools::build. A session delete holds the session's launcher lock until the session is gone, so a rig resuming it at that moment can no longer have it deleted underneath it (#3369) (by gold-silver-copper)
  • (rig-core, rig-vertexai, rig-bedrock) [breaking] gemini::extension::HarmCategory::as_str and HarmBlockThreshold::as_str are removed: both enums derive Serialize to the same strings. gemini::audio_generation::SpeechDecoder is removed. completion::options::Mapping::does_not_reason is new. The Anthropic cache-marker checks run once, on the body sent, and report the first problem in walk order. providers::registry::Format deserializes through a derive, so an unknown family reports serde's "unknown variant" error. Provider reply types no longer read a short JSON array by filling missing trailing Option fields with None (#3368) (by gold-silver-copper)
  • (rig-core) [breaking] remove openai::embedding::EncodingFormat, Embeddings::with_encoding_format, Embeddings::with_user, the encoding_format and user fields of Embeddings, and EmbeddingQuirks::supports_encoding_format / supports_user. openai::wire::Models reads the dialect's model_listing hook itself, through the new ModelsDecoder; its Wire::Event is ModelList. rig-http adds WireFrame::into_bytes (#3359) (by gold-silver-copper)
  • (rig-core) [breaking] remove conversation::pairing::answers and AnswerError, Conversation::reread, Conversation::aside_position and message::MediaType. RunId is a plain newtype: from_raw, to_raw, FromStr, both NonZeroU64 conversions and id::ParseIdError are removed; Display, Debug, ordering and serde stay. effect::family::Custom<E> keeps only Clone and Copy. ToolEmbedding drops InitError, State and init; Context needs only Serialize (#3358) (by gold-silver-copper)
  • (rig-core, rig-http) [breaking] remove the websocket cargo feature from rig-core and rig-http. It added no dependency; ws_client and the OpenAI Responses websocket session now always compile. The facade's websocket feature is unchanged. Remove the unused wire::Event<W> alias. Add json_utils::json_len (#3357) (by gold-silver-copper)
  • (rig-core) [breaking] the shared sign-in types (TokenStore, FileTokenStore, MemoryTokenStore, StoreLock, FileStoreError, DeviceCodeHandler, DeviceCodePrompt, AuthContext, AuthError) have one public path, providers::auth, instead of being re-exported from both providers::chatgpt::auth and providers::copilot::auth (#3356) (by gold-silver-copper)
  • (rig-basics, rig-harness, rig-core) [breaking] AppPerCallExt::add_live_tool_per_call is removed: a per-call tool declares const LIVE: bool = true on PerCallTool, and add_tool_per_call reads it. New: PickItem::new(label, command) and PickItem::detail(text), secrets::browser_opener(url), default bodies for Intercept::before and Intercept::after, and public json_utils::deep_merge and json_utils::struct_fields. On macOS the browser for a ChatGPT sign-in opens through /usr/bin/open (#3347) (by gold-silver-copper)
  • (rig, rig-core, rig-agent) [breaking] remove the audio and image cargo features from rig, rig-core and rig-agent. They added no dependency; audio_generation, image_generation and the provider audio and image models now always compile (#3351) (by gold-silver-copper)
  • (rig-core) [breaking] Cohere chat is two explicit wires: Cohere::completion returns the Compatibility API's openai::wire::Chat, and the new Cohere::native_completion returns the native NativeChat. CohereChat and ChatRoute (with Auto) are removed, as is ReplayTarget::route. Cohere's 200-status error body on the Compatibility wire fails the turn as a truncated reply, without Cohere's message text. CohereExtras reads an empty list in any field as absent (#3348) (by gold-silver-copper)
  • (rig-tools, rig-rmcp, rig-harness-protocol, rig-mcp-client, rig-cli) [breaking] remove rig-tools' ReadArgs::shown (use ReadArgs::show), fs::read_text (use <dyn Workspace>::read_text(&Local, path)) and Listing::for_glob, and rig-rmcp's McpTool::timeout() and From<RunningService> for McpConnection (use McpConnection::new). rig-harness-protocol adds fs::replace, which replaces a file whole keeping its permissions and group, and makes config::linked public; the settings file keeps its group when edited. A private mcp.json is never staged readable by others, and a loop of links on the user's mcp.json is refused. The launcher treats a RIG_SECRET_* variable with a non-UTF-8 name as a secret (#3346) (by gold-silver-copper)
  • (rig-tui) [breaking] one type per render input: ToolRender, EntryRender, ContentRender and AsideRender carry the look helpers, and RenderContent the block kind. The borrowed ToolCallView, EntryView, ContentView, AsideView and ContentBlock and their view() / block() accessors are removed (#3345) (by gold-silver-copper)
  • (rig-ecs, rig-tui, rig-basics) [breaking] DroppedOptions is removed; use Adapted::dropped in Prepare. SavedKeys::iter is removed; use SavedKeys::path and SavedKeys::key. NoticeLevel derives Serialize, Deserialize and Hash (info / warn / error), and its variants are now ordered Warn, Error, Info. NotYours, SpawnRefused, ForkError and AnswerRefused derive thiserror::Error (#3336) (by gold-silver-copper)
  • (rig-core) [breaking] remove openai::Usage, its PromptTokensDetails / CompletionTokensDetails copies in openai::embedding, and the strict openai::EmbeddingResponse; CompatibleEmbeddingResponse.usage is now Option<EmbeddingUsage>. Remove transcription::DurationTag, transcription::TokensTag and the r#type fields of TranscriptionUsage::{Duration, Tokens} (same JSON in and out). The Responses wire reads a provider-reported cost with the same rule as Chat. The workspace requires serde >= 1.0.181 (#3338) (by gold-silver-copper)
  • (rig-harness, rig-memory, rig-cassette, rig-basics) [breaking] remove rig-harness' Timing, SystemTimings::systems, SystemTimings::clear, PluginTimings::totals, PluginSystems::iter and SessionDeleteFailed (PluginTimings::last_frame() keeps the per-run timings; a failed delete is still reported by its notice); rig-memory's TokenCounter trait (HeuristicTokenCounter::count is inherent); rig-cassette's effect_log::EffectFilter and http::owned_headers; rig-basics' telemetry::effect_log::EffectLog::read_matching (filter EffectLog::read()) (#3337) (by gold-silver-copper)
  • (rig-agent) [breaking] integrations::cli_chatbot is one ChatBot::new(agent) with max_turns, show_usage and run; Chat, ChatImpl, AgentImpl and the typestate ChatBotBuilder are removed. prepare_request takes the prompt and returns PreparedRequest { request, output_mode, policy }; the fields that mirrored CompletionRequest and PreparedRequest::apply are removed. ToolServerError is removed: ToolServerHandle::tool_defs and Agent::tool_definitions return ProviderError. Removed test-only conveniences: ModelSelection::new, Scratchpad::contains, DispatchEvent::completion_request, MultiTurnStreamItem::final_response, TypedPromptResponse::{new, with_completion_calls}, Agent::{with_model_label, with_model}, HookContext::{index, model, tool}, ToolCatalog::key, AgentRun::{entries_of, last_entry_of, with_validated_history}, ModelTurn::from_response and the StreamedTurn::finish_reason field (#3344) (by gold-silver-copper)
  • (rig-core) [breaking] remove providers::copilot::model_listing (use list_models() on the Copilot dialect), gemini::InteractionsModels (use gemini::Models), gemini::VerifyKeyDecoder (use operation::VerifyDecoder) and the doc-hidden GenerateContentResponse::chunk and ::document (use Reassemble::absorb and finish). gemini::completion::{accepts, encodes, normalize_tool_call_id, declares_tools, CALL_ID_SLOT, BLOB_SLOTS} are no longer public: the Gemini, Vertex AI and gRPC GenerateContent wires share one ReplayTarget impl. Gemini::verify accepts a 2xx reply whose body is not JSON (#3339) (by gold-silver-copper)
  • (rig-core) [breaking] remove serve::Observe and Dispatch::with_observer (a dispatch is observed by the Recorder that Dispatch::recorded_by installs), tool::feedback::tool_result_output (use ToolCall::answer), message::MessageError and test_utils::raw_parity::assert_raw_parity (compare raw_pair through comparable) (#3340) (by gold-silver-copper)
  • (rig-agent) the Internal error for a handler that answers with another family's outcome uses rig-core's one sentence, expected a <family> outcome, the handler answered <family>; a wrong-family failed tool result has retryable: false (#3342) (by gold-silver-copper)
  • (rig-http, rig-core) [breaking] HttpClientExt::{send, send_multipart, send_streaming} take Request<Bytes> and return Response<LazyBody>; the <T, U> type parameters go, LazyBody is no longer generic, and http_client::text takes Response<LazyBody>. Removed: http_client::Error::NoHeaders and Error::InvalidHeaderValue, test_utils::RecordingHttpClient::with_error_response, json_utils::Lenient::i64 and the forwarding loaders::{file,pdf,epub}::IntoIter structs (#3341) (by gold-silver-copper)
  • (rig-core) add AssistantContent::as_text, AssistantContent::as_tool_call, AssistantContent::concat_text, UserContent::as_text, ToolResultContent::to_text (text, with the caller's placeholder for an image), structured_output::json_in_text (a T from JSON in a model's text) and conversation::Aside::read (#3335) (by gold-silver-copper)
  • (rig-core) [breaking] remove anthropic::completion::ANTHROPIC_VERSION_2023_01_01, Default for anthropic::streaming::MessagesDecoder and anthropic::Messages::with_default_max_tokens, which nothing used. An Anthropic Messages request naming a model with no dialect default max_tokens checks a thinking budget against the default max_tokens the body sends, and refuses a budget at or above it locally (#3334) (by gold-silver-copper)
  • (rig-core) [breaking] remove completion::{CacheCost, CacheRates} and the completion::cache_cost module, with impl From<&gemini::CacheReport> for CacheCost; price usage from Usage's counters with your own rates (#3333) (by gold-silver-copper)
  • (rig-core, rig-harness) catalog::closest_name: the name closest to a word by edit distance, within a quarter of its length, as the catalog uses for its "did you mean" suggestions (#3311) (by gold-silver-copper)
  • (rig-core, rig-memory) [breaking] ModelSpec::output_limit() returns a model's output limit held to its context window, beside input_limit(). rig_memory::OUTPUT_MARGIN is no longer exported (#3306) (by gold-silver-copper)
  • (rig-claude-cloak) credentials are kept through rig-core's FileTokenStore, in the same file, so no new login is needed. A login waiting in the browser no longer makes requests in another rig fail as busy. A credentials file others can read is narrowed to 0600 instead of refused. The lock file is now credentials.lock, waited for up to two minutes. In rig-core, FileTokenStore::lock refuses a lock held past its wait with FileStoreError::Busy, FileTokenStore::with_lock_wait sets that wait, and saves and deletes sync the directory on Unix (#3305) (by gold-silver-copper)
  • (rig-core, rig-ecs) StreamEvent::whole gives the events a stream writes for one part that arrives whole; Reply::into_stream and the kernel both use it. A streamed tool call that carried no argument text ends with the text the model sent, as a restated call does, instead of the parsed object (#3303) (by gold-silver-copper)
  • (rig-core) [breaking] remove rig_core::observe and provider observations: Model::call_observed / stream_observed and DynModel's twins, Dispatch::with_adapter_context, Encoded's route, project and analysis_only with their builders, wire::Projector and Operation::observed_usage. Nothing in Rig produced or read them; call and stream are unchanged (#3302) (by gold-silver-copper)
  • (rig-core, rig-basics) the ChatGPT browser sign-in takes the caller's opener (Authenticator::with_browser_opener), and the platform command is public (chatgpt::auth::browser_command). The default opener no longer removes RIG_SECRET_* variables from the browser's environment; the coding agent does that itself (#3294) (by gold-silver-copper)
  • (rig-core) CompletionResponse::cut_off_calls lists the calls a reply cut at the output limit or by a content filter ended in the middle of, which a host answers and never runs. Touches::must_wait says whether a call waits for earlier unsettled calls of its reply, and Touches::default() is Writes(Anything) (#3286) (by gold-silver-copper)
  • (rig-harness-protocol) [breaking] new fs module: file functions whose errors name the step and the path, and fs::optional, which reads only a missing file as absent. SessionDir::name and working_directory return io::Result. A session whose saved directory file cannot be read is refused, not moved to the current directory and overwritten. An unreadable bin/staged or bin/good fails the build naming the file, and an interactive start skips a bin/staged that is no build, with a warning, and starts the previous build (#3275) (by gold-silver-copper)
  • (rig-cli) an error in the launcher after the terminal view took the screen (for example after /new) puts the terminal back before the error is shown, instead of leaving it in the alternate screen (#3276) (by gold-silver-copper)
  • (rig-harness-protocol, rig-harness) [breaking] the agent ends with one record, end::AgentEnd, in the launcher's run directory, read with its exit status. RunDir::say_ready, heard_ready, say_screen, unsay_screen, took_screen and clear_messages replace the public file paths; SessionDir::switch, RunDir::ready, RunDir::refusal and RunDir::screen are removed. ExitReason::Failed takes a FailCode, which is never 0, 75 or 130, and a refused run ends with the new ExitReason::Refused(String). An exit code of 75 without the end record is a failure, not a reload, and an agent killed after it asked to switch sessions no longer switches. The test-utils feature adds fake_agent (#3274) (by gold-silver-copper)
  • (rig-tools, rig-harness) [breaking] Watch yields WatchEvent (Snapshot, Changed, Unavailable, Closed) instead of Vec<PathBuf>, and FileChanges carries it as event instead of paths. Both watch backends decide what is listed with the same walk as Workspace::files, so the local watch follows an edited .git/info/exclude, global excludes, an ignore file above a watched subdirectory, a directory swapped in under the same name and a root removed and made again. A failed listing no longer reports every file removed and re-added, and the @ file picker keeps its paths through one (#3270) (by gold-silver-copper)
  • (rig-harness-protocol) [breaking] every process the launcher starts is built by the new launch module (Launch, Carry, Agent, Purpose, AbsPath, LaunchError). rig update's cargo install and rig build, cargo, stty and the describing build no longer inherit exported secrets or the launcher's RIG_* variables. After /update, or a reload once the rig file was replaced, the new launcher's agent is told it reloaded, not resumed, and keeps the secrets typed at the prompt. The launcher's warnings show once under rig acp, in the first session it opens (#3271, #3265) (by gold-silver-copper)
  • (rig-core) [breaking] message::Document, the document content block in a user message, is renamed message::DocumentContent, so it no longer shares a name with the RAG completion::Document. Fields and the UserContent::Document variant are unchanged (#3242) (by gold-silver-copper)
  • (rig-core, rig-memory, rig-tools, rig-agent, rig-harness, rig-basics, rig-tui, rig-http, rig-ecs, rig) [breaking] unused public items are removed. rig-memory: the migration module, TokenBudget's counter type parameter (TokenBudget::new(max_tokens)), HeuristicTokenCounter::new and ::anthropic, the Arc/Box/&dyn TokenCounter impls, store_images, load_images and rewrite_value. rig-tools: the file tools (Read, Write, Edit, Search, List, Delete) hold one workspace::Root instead of workspace, base and confine fields, and fs::resolve and fs::place are removed. rig-core: json_utils::string_or_vec and json_utils::merge_inplace, azure's GPT_4_TURBO and GPT_4_32K_0613 aliases, and the streaming conformance suite's xfail list and ScenarioReport. rig-agent: test_utils::HookTestHarness, HookContext::set_streaming and set_agent_name, and AgentRunner::without_memory. rig-harness: edit_stopped and PLUGIN_GUIDE. rig-ecs: restore::check_saved. rig-basics: activity::MessageFeed, FedMessage, FEED_LEN and FEED_CHARS. rig-tui: the message decoration render path (DecoratedMessage, MessageRender, RenderInput::Message, RenderKey::Message, RenderBatch::messages_mut, TranscriptItem::MessageDecoration), MessageView and Role. rig: the second path rig::agent::tool (use rig::tool). rig-http: WasmCompatSendStream (BoxedStream is a WasmBoxedStream). rig-vectorize: ApiResponse::messages and ApiMessage. rig_harness_protocol::without_secrets(&mut Command) is new (#3202) (by gold-silver-copper)
  • (rig-lancedb, rig-postgres, rig-mongodb) [breaking] rig-lancedb's top_n and top_n_ids return MissingIdError for a row whose id is missing or neither text nor a number, instead of inventing one, and a number id reads as its decimal text. rig-postgres's top_n returns the deserialization error for a row it cannot read, where it dropped the row. In rig-mongodb, a filter value BSON cannot represent is FilterError::Serialization, where it became null (#3202) (by gold-silver-copper)
  • (deps) bump qdrant-client from 1.17.0 to 1.20.0 (#2828) (by dependabot[bot])
  • (deps) bump mongodb from 3.7.0 to 3.9.1, which carries the driver's security fixes for CVE-2026-81526 and CVE-2026-88024 (#2830) (by dependabot[bot])
  • (deps) the agent is built on Bevy 0.20.1 (BEVY_VERSION, was 0.20.0), so a plugin that pins =0.20.0 no longer resolves: write "0.20". rmcp is raised to 3.9 and surrealdb to 3.3.5 (#3089) (by gold-silver-copper)
  • (rig-harness, rig-mcp-client, rig-basics) [breaking] rig finds one project root (the nearest directory holding .git or .rig, below your home) and reads .rig/mcp.json, AGENTS.md, skills and per-project plugin data from it, wherever inside the project it starts. The new Project resource holds it; ProjectRoot stays the working directory. A project server's relative cwd resolves from the project root. agents_md::instruction_files and skills::roots take the Project first (#3000) (by gold-silver-copper)
  • (rig-basics, rig-core, rig-tools, rig-ecs) [breaking] redaction is one optional plugin, rig_basics::redact::RedactPlugin, listed disabled: rig redacts nothing unless it is enabled (rig plugin enable rig_basics::redact::RedactPlugin). Enabled, each distinct secret becomes a placeholder, ‹SECRET_n›, in what the model, the logs and every front see (it was [REDACTED]), and a tool call naming a placeholder runs with the real value. rig_core::redact gains Streamed and text_with and loses tool_result and json_text; json returns whether it changed anything. New: rig_tools::LineFilter, Shell::filter, rig_ecs::tools::ResultFilter (#2990) (by gold-silver-copper)

Contributors

Don't miss a new rig release

NewReleases is sending notifications on new releases.