Skip to content

chore: release v0.123.0 - #1022

Merged
stamp-build[bot] merged 1 commit into
mainfrom
chore/release-0.123.0
Nov 19, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
chore/release-0.123.0

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Cindy from open-agent-runtime opened this pull request through Stamp
View in Stamp →


What a host needs to run Claude through OAR: CLI failures kept out of the model's text, a model_refused failure class, startup diagnostics, Claude's credential declaration, and per-category user configuration exclusion. Also a per-installation contextUsage declaration, cache-write TTL usage, and a light @botiverse/oar/capabilities entry. Behavior changes for hosts: launchArgs refuses flags OAR owns, stateful observers deliver the current state once when subscribed without a cursor, launch validation is stricter, Claude's synthetic messages produce no events, a queue() made from inside a prompt request now runs first, and several public unions grew (below).

Behavior changes

  • launchArgs refuses more flags OAR manages, at open, with UnsupportedOptionError("launchArgs") (fix(security): centralize inherited credential redaction, launchArgs guards, and DSH goalSet refusal #1004). Use the matching SessionOptions fields (model, effort, systemPrompt, appendSystemPrompt, name) instead.
    • Claude: --model/-m, --effort, the system prompt and append system prompt flags and their -file forms, --name/-n, the partial and replayed message flags, and --.
    • Qoder: the same set, with --reasoning-effort.
    • Qwen: --model/-m, --system-prompt, --append-system-prompt and the partial message flags.
    • CodeBuddy: --model/-m, --append-system-prompt and --append-system-prompt-file.
    • Factory: --.
    • All five catch --flag=value and attached short flags (-mfoo); Qoder, Qwen and CodeBuddy also catch camelCase aliases.
  • Observers subscribed without a cursor: raw and flat event subscriptions deliver only new records. observeConversation and observeSessionView deliver one snapshot of the current state right away when the retained log is nonempty, then one state per new record; on an empty log they wait for the first record. Pass afterSeq: -1 for a full replay. events(), observeConversation and observeSessionView throw on a cursor from another session (fix(oar): preserve observation cursors and validate active form fields #1007).
  • Launch validation now matches configuration submission: a select value outside the declared options, a relative URL, and a required secret that resolves empty all fail. Two active fields supplying the same model or effort produce the new ConfigIssue code conflicting_fields (fix(oar): preserve observation cursors and validate active form fields #1007).
  • Claude: assistant frames the CLI writes itself (model: "<synthetic>" or is_api_error_message, such as API errors and "No response requested.") no longer produce events, including text_delta. They stay readable as native frames, and a failure's text goes to the failed turn's reason (fix(claude): separate native failures from model replies #1015).
  • Queue ordering on adapter-held sessions: a synchronous rawEvents observer that calls queue() from inside a prompt request now queues that input before prompt decides, so the prompt is refused as busy and the queued input runs. ACP controls are recorded synchronously at call time (fix(session): make queued inputs immediately withdrawable across runtimes #1003).
  • Public unions grew, so exhaustive switches or Records over them need the new members: FailureClass (model_refused), CredentialVariable.purpose (six values), RefusableSessionOption (partialUserConfiguration), ConfigIssue codes (conflicting_fields), and SessionOptions.userConfiguration (an object form).

Claude for hosts (#1015, #1017, #1018, #1019, #1020), feature

  • FailureClass gains model_refused. Claude's stop_reason: "refusal" and ACP's stopReason: "refusal" map to it, ahead of the CLI's generic invalid_request; Grok refusals map to it too, and more specific provider evidence on a CodeBuddy refusal still wins. failureAdvice gives it { retry: "no", userAction: false }. On Claude, a verification failure is auth, a usage_limit_reached error is quota even without a reset time, and overload is overloaded. A quota failure can carry rateLimitType.
  • A native process that exits during session startup keeps its stderr. On Claude, Qoder and Qwen the tail goes on the open rejection, or on exited.reason when the session was already returned before its first frame. At most 8 KiB is kept, a leading partial line is dropped, and session credentials and recognizable key or JWT shapes are redacted. Other process adapters apply the same redaction to the stderr they already report (fix(runtime): carry safe stderr through native startup exits #1018).
  • claudeRuntime.credentials declares the environment variables and stores Claude Code reads, grouped by direct API and OAuth, federation, cloud provider and model routing. CredentialVariable.purpose adds provider_selector, region, account_scope, model_route, credential_source and headers (headers are secret). Variables carried by stores[].directoryEnv are not repeated in env (feat(claude): declare provider and credential sources #1019).
  • SessionOptions.userConfiguration accepts { exclude: ("settings" | "mcp" | "instructions")[] }. On Claude, settings drops user settings and user-scope MCP; mcp keeps only host MCP; instructions drops user rules, home memory and automatic memory while project instructions stay. An empty list keeps the native configuration and all three equal "exclude". Cursor takes all or none and declares the new refusal key partialUserConfiguration; runtimes that refuse userConfiguration refuse any nonempty exclusion (feat(session): select user configuration categories #1020).
  • An explicitly selected macOS Claude Desktop cache executable reports Desktop as its update owner: checkUpdate is unavailable (package_manager) and upgrade is refused, before the binary runs. Automatic discovery still uses the standalone CLI (fix(claude): leave cached CLI updates to Desktop #1017).

Capabilities and usage (#1013, #1014, #1016), feature

  • SessionCapabilityDeclaration.contextUsage: { tokens, contextWindow } says whether contextUsage() reports each by the end of every normally completed root turn, fresh or resumed. Declared true for both on Antigravity, Claude, DSH, Factory, Kimi, Pi, Codex from 0.151.0, Qwen from 0.26.0 and OpenCode on readable versions; tokens only on Cursor and Grok; neither on CodeBuddy, Qoder and Pi Durable; absent on Devin. Factory now waits up to one second for droid.get_context_stats before ending a turn.
  • UsageReport.cacheWriteByTtl?: { "5m"?, "1h"? }, per report. Claude reads it from the latest root model frame of the turn; Pi reports "1h" only and never derives "5m".
  • @botiverse/oar/capabilities exports installedSessionCapabilities and its contract types without loading any runtime adapter or native SDK.

Fixes

Also

🤖 Generated with Claude Code

Co-authored-by: xxchan [email protected]

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@stamp-build
stamp-build Bot merged commit c684b8c into main Nov 19, 2026
41 of 43 checks passed
@stamp-build
stamp-build Bot deleted the chore/release-0.123.0 branch November 19, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants