You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replaced the old MCP adapter with the native client. Only ~/.atomic/agent/mcp.json and trusted .atomic/mcp.json are read, using the native configuration shape. Shared config layers, client imports, and old-field translations are no longer supported; old OAuth credentials are not imported.
MCP tools now use mcp__<server>__<tool> names and default to codemode exposure. The old gateway, configurable prefixes, lazy/idle lifecycle settings, metadata cache, SSE transport, MCP Apps rendering, and setup command are removed. Enabled servers connect in the background; /mcp reconnect without a name selects one server rather than reconnecting every server.
Replaced the old adapter with the native client. Only ~/.atomic/agent/mcp.json and trusted .atomic/mcp.json are read, using the native configuration shape. Shared config layers, client imports, and old-field translations are no longer supported; old OAuth credentials are not imported.
Tools now use mcp__<server>__<tool> names and default to codemode exposure. The old gateway, configurable prefixes, lazy/idle lifecycle settings, metadata cache, SSE transport, MCP Apps rendering, and setup command are removed. Enabled servers connect in the background; /mcp reconnect without a name selects one server rather than reconnecting all servers.
Added
MCP servers can set oauth.authServerMetadataUrl to a trusted authorization server metadata document when discovery advertises the wrong server or none. See MCP authentication (#10172).
Added /mcp login [server], command completion, and server selection for login, logout, and reconnect. The manager offers per-server action menus for enabled state and tool exposure, and OAuth sign-in accepts a pasted redirect URL when the browser is on another machine.
MCP servers support codemode, deferred, direct, and hidden exposure with per-tool pattern overrides, standard resource list/read tools, and per-server OAuth callback ports and URLs. See MCP servers.
Added shell commands atomic mcp add, remove, list, login, and logout to configure, check, and authenticate file-configured servers without starting a session.
SDK hosts can now manage the workflow runs their session owns through session.workflows: listRuns(), getRun(), getStages(), pause(), quit() and resume() return the workflow tool's structured results, and failures reject with typed WorkflowRunControlError subclasses (WorkflowRunNotFoundError, WorkflowRunOwnershipError, WorkflowRunNotResumableError, WorkflowRunDatabaseError, WorkflowStageNotFoundError, WorkflowStageAmbiguousError, WorkflowStageResumeUnsupportedError) instead of strings. A batch pause({ all: true }) or quit({ all: true }) returns a partial outcome whose failedRuns names the runs still active only when that call stopped at least one run, and rejects with WorkflowRunControlError carrying failedRuns when active runs could not be stopped and the call stopped none, even if other runs were already paused. Already-paused and already-ended runs are not failures. A database outage while checking who owns a run rejects pause() and quit() with WorkflowRunDatabaseError. It uses the same ownership and durable-resume rules as the workflow tool, so runs owned by another session or live process stay read-only (#3377).
Codemode scripts can retrieve namespace summaries, instructions, and callable tool names with describeNamespace(name). Tool search indexes namespace instructions without including them in inline tool listings, and codemode listings no longer include tool counts (#10212).
/reload enables tools newly added to defaultTools, while preserving session-disabled tools, tools removed from the setting, and explicit CLI tool restrictions (#10245).
Added Anthropic workload identity federation from the ANTHROPIC_FEDERATION_RULE_ID, ANTHROPIC_ORGANIZATION_ID, and ANTHROPIC_IDENTITY_TOKEN_FILE environment variables, with optional ANTHROPIC_SERVICE_ACCOUNT_ID and ANTHROPIC_WORKSPACE_ID. See Providers (#10177, #10242 by @philfreo).
MCP servers can set oauth.clientName for dynamic OAuth registration, or use "auth": { "provider": "<provider>" } to send the current provider login token. Provider-token authentication is restricted to global configuration and extension registrations, with HTTPS required except on loopback hosts. See MCP authentication (#10226).
/login anthropic now offers Copy code login (headless) when the browser is on another machine and cannot reach Atomic's local callback (#10194 by @lucasmeijer).
Added GPT-6.1 Sol and its first-party Fast variants for OpenAI API keys and ChatGPT Codex subscriptions.
Added Sign in with ChatGPT for the OpenAI provider, independently of Codex backend login.
Added Jev decision models on Vercel AI Gateway and OpenCode Zen.
Added configurable fullscreen mouse-wheel scrolling with terminal-aware automatic behavior or a fixed line count.
Extension tools can declare exposure, namespaces, annotations and output schemas, and invoke permitted nested tools through the ordinary validation and permission hooks.
Added a selectable system theme based on the terminal's palette and contrast, and OKHSL colors for custom themes.
Added opt-in codemode scripts for composing permitted tools, filtering output, branch-local JSON storage, and classifier calls, plus tool_search for activating deferred tools. Interactive and orchestration tools remain unavailable from scripts.
Added builtin:llama.cpp, builtin:codemode, and builtin:tool-search extension resources for explicit loading and settings-based enable/disable controls, with diagnostics when an extension replaces codemode or tool search.
Added Ultrafast for GPT-6 Astra as openai/gpt-6-astra-ultrafast and openai-codex/gpt-6-astra-ultrafast, priced at OpenAI's published Ultrafast rates. GPT-6 Astra is the only model with an Ultrafast choice. If the provider rejects an Ultrafast choice you selected, the request fails.
Added Anthropic workload identity federation from the Anthropic SDK environment variables ANTHROPIC_FEDERATION_RULE_ID, ANTHROPIC_ORGANIZATION_ID, and ANTHROPIC_IDENTITY_TOKEN_FILE (plus optional ANTHROPIC_SERVICE_ACCOUNT_ID and ANTHROPIC_WORKSPACE_ID). API keys and ANTHROPIC_AUTH_TOKEN take precedence (#10177, #10242 by @philfreo).
Anthropic subscription login now offers a copy-code method for remote or headless machines, alongside the default browser callback method (#10194 by @lucasmeijer).
Added GPT-6.1 Sol for OpenAI and Codex with supported reasoning efforts, prompt-cache and tool capabilities, and long-context pricing metadata.
Added GPT-6.1 Sol to the GitHub Copilot catalog with Copilot's Responses endpoint, supported reasoning efforts, and provider-published context and output limits. Availability remains subject to the account's model policy.
Added Sign in with ChatGPT for the OpenAI Responses API alongside API-key authentication, separate from Codex subscription login.
Added Jev classifiers on Vercel AI Gateway and OpenCode Zen, and provider-reported classifier usage and costs, including billed responses with invalid answers.
Added the lightweight @bastani/pi-ai/models entry point for model catalog consumers.
Added Model.serviceTiers and getServiceTierCost() for the Fast and Ultrafast tiers a model advertises and their published rates. The OpenAI catalog follows OpenAI's Fast and Ultrafast pricing tables. The Codex catalog follows Codex's per-model tiers: Fast for every model except GPT-5.3 Codex Spark, and Ultrafast for GPT-6 Astra.
The OpenAI Responses adapter can send GPT-6 Astra's ultrafast tier.
Set oauth.authServerMetadataUrl to use a trusted authorization server metadata document instead of discovery when an MCP server advertises the wrong authorization server or none (#10172).
Added /mcp login [server], completion and optional server selection for login/logout/reconnect, and a server manager with enabled-state and exposure menus. Sign-in accepts pasted remote-browser redirect URLs.
Added native tool exposure modes and per-tool patterns, standard resource list/read tools, and per-server OAuth callbackPort and callbackUrl.
Added shell commands atomic mcp add, remove, list, login, and logout to configure, check, and authenticate file-configured servers without starting a session.
Set oauth.clientName to choose the client name sent during dynamic OAuth registration. The default is atomic (#10226).
HTTP MCP servers can set "auth": { "provider": "<provider>" } to send the current /login token of a provider as the bearer token instead of using MCP OAuth. The token is read for every request and is never stored by MCP. It is accepted only from the global mcp.json and extension registrations, requires https except on localhost, 127.0.0.1, and [::1], and is sent only to the server's origin.
pause, quit and resume results from the workflow tool now carry a machine-readable code (run_not_found, not_resumable, owned_elsewhere, database_unavailable, stage_not_found, stage_ambiguous, stage_resume_unsupported or control_failed) when the request could not be carried out, so SDK hosts using session.workflows receive typed errors. Resuming a run that is executing in another live Atomic process now reports owned_elsewhere instead of not_resumable. Pausing or quitting, by full run id, a run owned by another session or executing in another live Atomic process now reports owned_elsewhere instead of Run not found. Pausing or resuming a stage that does not exist or matches several stages, and resuming a single stage of a durable run, now report stage_not_found, stage_ambiguous or stage_resume_unsupported instead of an uncoded no-op (#3377).
Added an official-source GPT-6.1 Sol reference to the prompt-engineering skill, with supported-effort migration guidance and selective use of shared templates whose behavior was observed on Astra.
Changed
MCP now uses pi's native client, tool exposure, resources, and server manager. Calls, including codemode calls, pass through Atomic's tool permission pipeline. Native OAuth credentials are stored in mcp-auth.json.
defaultTools now accepts +name and -name modifiers. Project modifier-only lists adjust the global selection instead of replacing it.
Automatic model routing now includes GPT-6.1 Sol results from Artificial Analysis, FrontierCode, and OpenAI's published external benchmarks, preserving measured efforts and independent reporters. Metadata-backed Fast variants use base-model evidence without inventing separate Fast scores; independently registered Fast IDs require their own evidence.
Completed bash commands now return bounded structured output for programmatic callers, including nonzero exits, without increasing model-facing output limits.
Codex's automatic provider default is now GPT-6.1 Sol. Explicit saved model selections remain unchanged.
Reduced transcript/footer and shell-preview rendering work in long sessions.
Tool previews without custom renderers now show their arguments in collapsed and expanded views.
-fast and -ultrafast choices for OpenAI and Codex models now follow the tiers each model advertises in Codex's catalog and on OpenAI's pricing page. Models without Fast, such as gpt-5.3-codex-spark, openai/gpt-5-nano, openai/gpt-5-pro, and openai/o1, no longer list a -fast choice. A tier the model doesn't advertise is left out of the request, which runs at standard processing.
OpenAI and Codex Fast usage is priced at each model's published Fast rates instead of a flat 2x, for example 1.7x for GPT-4o. A Fast request that OpenAI serves at Standard is priced at Standard.
The Codex Responses adapter sends service_tier only when the model advertises it, following Codex: flex always passes through, default sends no tier, and an unadvertised tier is left out instead of failing.
The OpenAI Responses adapter leaves out a Fast or Ultrafast tier the model doesn't advertise. It sends other tiers as requested.
Fast and Ultrafast usage is priced at the served tier's published rates. A model without tier metadata keeps the previous Fast multiplier.
Adopted pi's native MCP client, tool exposure, resources, and server manager. Calls, including codemode calls, use Atomic's permission pipeline. Native OAuth credentials are stored in mcp-auth.json.
MCP tool previews now show arguments in collapsed and expanded views while redacting sensitive argument fields.
Fixed
/session now shows current message counts, token totals, cost, and the correct session ID during an interactive run instead of displaying the previous turn's statistics or zero counts on the first run (#3383).
MCP OAuth rejects authorization responses from another issuer, including a missing iss when the server promises it under RFC 9207.
MCP OAuth sign-in and refresh now tolerate empty or null optional token and registration fields, and empty requested scopes use the next scope source (#10266).
MCP sign-out no longer lets an in-progress OAuth refresh restore deleted credentials.
Session shutdown now closes MCP connections that are still opening instead of leaving them running after the session ends.
Replacing an extension-contributed MCP server now retires pending connections, and reloading with active servers no longer fails during connection cleanup.
Malformed MCP configuration errors no longer quote file contents that may contain credentials.
MCP OAuth refreshes authorization-server discovery when a server advertises a changed metadata URL.
On a heavily loaded machine, a workflow run could fail with a bare Query read timeout while Atomic verified its managed PostgreSQL connection, even though the database was healthy. Health queries now get more time (3 s) on every path, and both the check of a borrowed connection and Atomic's periodic background health check repeat once after a timeout. If the timeout persists, the run fails with a resumable database-unavailable error instead of Query read timeout, and other running workflows' database connections are not closed and PostgreSQL is not restarted. A refused or terminated connection, a server shutdown, or a changed database identity is still treated as an outage.
Renderer examples now retain the built-in tools' prompt guidance and execution behavior when customizing their display (#10072).
Reduced model lookup overhead when merging large remote provider catalogs.
Invalid extension commands now fail registration with a clear error instead of crashing slash-command completion (#10054).
Codemode and tool-search descriptions now remain unchanged when deferred tools register, preserving prompt stability while discovery continues to find those tools (#10212).
Collapsed codemode scripts and results now limit wrapped screen lines, so long single-line JSON no longer fills the transcript. Bash previews use the same cached visual-line component.
In codemode.mode: "only", the system prompt's tool list no longer advertises tools whose direct declarations are hidden (#10192).
Fixed context overflow detection for Z.AI CN endpoint Prompt exceeds max length errors (#10208).
Anthropic tools with strict-schema constraints the provider rejects now fall back to non-strict mode when strict sampling is preferred (#9953).
Provider retries now use exponential backoff when Retry-After contains an unparseable date (#9571).
MCP sign-in URLs remain clickable when they wrap, including inside the /mcp panel (#10186).
MCP tool names now use JavaScript-safe identifiers with deterministic suffixes for collisions and long names, consistently across direct tools, gateway discovery, and codemode (#10239).
Codemode image() now rejects malformed base64 and unsupported image types before saving a tool result, and detects the MIME type from the image data instead of trusting the supplied type (#10215).
OpenAI's Sign in with ChatGPT login now shows a redirect-URL paste input, allowing authentication from remote machines without a reachable local browser callback.
SDK-created sessions now discover package-provided workflows from their resource loader, including after workflow reload, while preserving project trust and custom loaders without workflow resources (#3372).
SDK-created sessions now retain package-contributed MCP servers when adding the shipped MCP extension to a custom resource loader (#3372).
Structured decisions and schema-backed workflow results now accept strict-provider null placeholders for omitted optional fields instead of exhausting output repairs. Explicitly nullable fields keep their null values, and required fields still enforce the original schema.
Theme-colored notices now refresh after theme changes and late terminal color replies.
llama.cpp unloaded autoload presets now retain their cached effective context size instead of falling back to the model's training limit.
Native extension providers with stored credentials become available immediately after registration without exposing unrelated unauthenticated models.
Cancelled tools no longer start queued native or nested sequential calls after cancellation.
The interactive footer's context percentage, token, cost and cache-hit (CH) segments update after every message again, instead of only when a run ends. A new session no longer shows 0.0% with no token or cost segments for its whole first run, and steered or long runs keep the footer current. The footer totals now include cache-warming requests, which /session already counts, and RPC get_session_stats responses report the newest reply's usage as latestAssistantUsage (#3328; #3364 by @dairefagan).
Fixed context overflow detection for Z.AI CN endpoint Prompt exceeds max length errors (#10208).
Anthropic strict: "prefer" tools now fall back to non-strict mode for unsupported string formats and additional array/object constraints instead of rejecting the request. Supported string length and pattern constraints remain strict (#9953).
Provider retries now use exponential backoff when Retry-After or retry-after-ms cannot be parsed as a finite delay (#9571).
OAuth authorization codes are rejected before exchange when the response's iss names another issuer, or is missing when the authorization server promises it under RFC 9207.
Empty or null optional OAuth token and client registration fields now count as absent. Refresh responses retain the previous refresh token when the new one is empty, and expires_in: null no longer immediately expires a token (#10266).
Empty OAuth scopes fall through to the configured scope instead of overriding it.
Tool and resource listing now accepts an empty or null final pagination cursor (#10266).
Sign-out no longer lets an in-progress OAuth refresh restore deleted credentials.
Session shutdown now closes MCP connections that are still opening instead of leaving them running after the session ends.
Replacing or unregistering an extension-contributed server now retires its pending connection without leaving a detached transport running.
Reloading a session with active MCP servers no longer fails during cleanup of the old connections.
OAuth refreshes discovery when a server advertises a changed metadata URL instead of retaining the previous authorization server.
MCP sign-in now displays a clickable terminal hyperlink and a Cmd/Ctrl+click hint, including when the authorization URL wraps across lines (#10186).
MCP tool names now use JavaScript-safe identifiers. Tools whose names sanitize to the same identifier all receive deterministic hash suffixes, preventing codemode calls from reaching the wrong tool. Server names that differ only in - and _ conflict (#10239).
Cached MCP tools now reconnect after /login <provider> when a provider-authenticated server needs sign-in, without requiring /mcp reconnect.
Concurrent Atomic processes now coordinate rotating OAuth refresh tokens, reusing the refreshed credential rather than independently rotating the same token.
Stalled OAuth refresh requests now time out after 15 seconds, including response-body reads, so connection shutdown can finish and release the refresh lock.
Pausing a run whose only active stage is waiting for human input now marks the run paused instead of rejecting with no_active_stages. An already-open question stays open, questions not yet shown wait until resume, and hosts can hold answers until they resume the run (#3391).
pause and quit with all: true no longer report success when some runs could not be stopped. The result is partial only when that call stopped at least one run and others are still active, and a noop with control_failed when active runs could not be stopped and the call stopped none, even if other runs were already paused. Either result lists each failed run id and reason in the message and in a failedRuns list. Runs that are already paused or already ended are not failures, and a batch with nothing left to stop is a benign noop. /workflow pause --all now names runs that failed to pause instead of reporting them as paused or as "No in-flight runs to pause", and reports an error when it stopped no run. Any failure while inspecting the database to pause or quit an unknown full run id now returns a structured database_unavailable result instead of throwing or a generic control_failed (#3377).
On a heavily loaded machine, a workflow run could fail with a bare Query read timeout while Atomic verified its managed PostgreSQL connection, even though the database was healthy. Health queries now get more time (3 s) on every path, and both the check of a borrowed connection and Atomic's periodic background health check repeat once after a timeout. If the timeout persists, the run fails with a resumable database-unavailable error instead of Query read timeout, and other running workflows' database connections are not closed and PostgreSQL is not restarted. A refused or terminated connection, a server shutdown, or a changed database identity is still treated as an outage.
Fixed a workflow run resumed right after it was paused failing with Workflow database admission timed out. A pause or resume now waits for the control write already in flight instead of cancelling it mid-write, which could leave the run's database claim stuck and stall every later pause, resume, or quit on that run until the admission timeout (#3377).