2.1.92 untested · changelog-derived

Claude Code 2.1.92

**Interactive Bedrock setup wizard** — new 3rd-party LLM platform integration flow with guided AWS auth, region config, and model pinning. Enables agents to ingest non-Claude models into the Claude Code runtime without manual credential/region assembly.

6 new primitives 3 workflow recipes 15 fixes

New primitives

forceRemoteSettingsRefreshsetting

Blocks startup until remote managed settings are freshly fetched; exits if fetch fails (fail-closed policy)

Added `forceRemoteSettingsRefresh` policy setting: when set, the CLI blocks startup until remote managed settings are freshly fetched, and exits if the fetch fails (fail-closed)
Bedrock setup wizardcapability

Interactive flow for AWS Bedrock auth, region config, credential verification, and model pinning, accessible from login screen

Added interactive Bedrock setup wizard accessible from the login screen when selecting "3rd-party platform" — guides you through AWS authentication, region configuration, credential verification, and model pinning
/cost per-model breakdowncommand enhancement

Subscription users now see per-model and cache-hit breakdown in `/cost` output

Added per-model and cache-hit breakdown to `/cost` for subscription users
/release-notes version pickercommand enhancement

`/release-notes` is now an interactive version picker instead of static output

`/release-notes` is now an interactive version picker
--remote-control-session-name-prefixflag

Override hostname-based default prefix for Remote Control session names (default: `myhost-graceful-unicorn` format)

Remote Control session names now use your hostname as the default prefix (e.g. `myhost-graceful-unicorn`), overridable with `--remote-control-session-name-prefix`
Prompt cache expiry footer hint (Pro)capability

Pro users see footer hint when returning to session after prompt cache expires, showing roughly how many tokens next turn will send uncached

Pro users now see a footer hint when returning to a session after the prompt cache has expired, showing roughly how many tokens the next turn will send uncached

Workflow recipes

Policy-Gated Multi-Model Orchestration
forceRemoteSettingsRefresh + Bedrock setup wizard + /cost per-model breakdown

Remote managed settings enforce policy compliance on startup; Bedrock wizard enables seamless 3rd-party model onboarding; enhanced /cost visibility allows agents to route workloads by model economics and compliance posture in real time.

An agent fleet manager applies mandatory remote settings (e.g., "use only AWS Bedrock for sensitive data") via forceRemoteSettingsRefresh, which blocks all spawned agents until policy is synced. Agents then use the Bedrock wizard to auto-configure AWS credentials and region, and query /cost per-model to choose between Claude (fast, cached) and Bedrock (compliant, airgapped) based on data classification and budget constraints. Feedback loop: policy updates force re-sync; agents log model-choice decisions to optimize future routing.

Session Reliability in Long-Running Agent Batches
Subagent spawn fix + tmux window resilience + prompt cache expiry hint

The "Could not determine pane count" failure was blocking multi-hour batch jobs when tmux windows died; the fix restores spawn reliability. Cache expiry hint helps agents estimate token cost before next turn, enabling graceful degradation.

A long-running batch processor spawns child agents in tmux panes. Previously, if a pane was killed or renumbered mid-batch, spawn would fail permanently, orphaning the whole job. The fix allows spawn to recover. As agents run multi-turn workflows, the Pro footer hint shows cache state, allowing agents to decide whether to persist state to disk, summarize context, or request a fresh context window before expensive long-form generations. This turns what was a hard failure into an observed metric.

Cost-Aware Session Management with Interactive Introspection
/cost per-model breakdown + /release-notes version picker + improved Write diff speed

Agents can now see granular cost-per-model and cache-hit rates, and the version picker lets them inspect how changes in Claude Code releases affected their performance. Faster Write diff computation reduces per-artifact overhead.

An agent monitoring workflow queries /cost at session boundaries to understand which models and cache patterns were most efficient, then cross-references /release-notes to correlate cost improvements with Claude Code version upgrades (e.g., "Write tool got 60% faster in 2.1.92, which explains the cost dip"). Agents log this metadata to a performance dashboard, enabling data-driven model and release-upgrade planning for large fleets.

Agentic relevance

The `forceRemoteSettingsRefresh` setting and Bedrock wizard enable policy-driven orchestration and 3rd-party LLM ingestion for multi-model agent fleets. The subagent spawn fix is critical for session-long delegated work in tmux environments. Enhanced `/cost` visibility supports cost-aware routing and budget introspection in multi-turn workflows.

Hardening & fixes (15)

  • Fixed subagent spawning permanently failing with "Could not determine pane count" after tmux windows are killed or renumbered during a long-running session
  • Fixed prompt-type Stop hooks incorrectly failing when the small fast model returns `ok:false`, and restored `preventContinuation:true` semantics for non-Stop prompt-type hooks
  • Fixed tool input validation failures when streaming emits array/object fields as JSON-encoded strings
  • Fixed an API 400 error that could occur when extended thinking produced a whitespace-only text block alongside real content
  • Fixed accidental feedback survey submissions from auto-pilot keypresses and consecutive-prompt digit collisions
  • Fixed misleading "esc to interrupt" hint appearing alongside "esc to clear" when a text selection exists in fullscreen mode during processing
  • Fixed Homebrew install update prompts to use the cask's release channel (`claude-code` → stable, `claude-code@latest` → latest)
  • Fixed `ctrl+e` jumping to the end of the next line when already at end of line in multiline prompts
  • Fixed an issue where the same message could appear at two positions when scrolling up in fullscreen mode (iTerm2, Ghostty, and other terminals with DEC 2026 support)
  • Fixed idle-return "/clear to save X tokens" hint showing cumulative session tokens instead of current context size
  • Fixed plugin MCP servers stuck "connecting" on session start when they duplicate a claude.ai connector that is unauthenticated
  • Improved Write tool diff computation speed for large files (60% faster on files with tabs/`&`/`$`)
  • Removed `/tag` command
  • Removed `/vim` command (toggle vim mode via `/config` → Editor mode)
  • Linux sandbox now ships the `apply-seccomp` helper in both npm and native builds, restoring unix-socket blocking for sandboxed commands

Raw changelog

## 2.1.92

- Added `forceRemoteSettingsRefresh` policy setting: when set, the CLI blocks startup until remote managed settings are freshly fetched, and exits if the fetch fails (fail-closed)
- Added interactive Bedrock setup wizard accessible from the login screen when selecting "3rd-party platform" — guides you through AWS authentication, region configuration, credential verification, and model pinning
- Added per-model and cache-hit breakdown to `/cost` for subscription users
- `/release-notes` is now an interactive version picker
- Remote Control session names now use your hostname as the default prefix (e.g. `myhost-graceful-unicorn`), overridable with `--remote-control-session-name-prefix`
- Pro users now see a footer hint when returning to a session after the prompt cache has expired, showing roughly how many tokens the next turn will send uncached
- Fixed subagent spawning permanently failing with "Could not determine pane count" after tmux windows are killed or renumbered during a long-running session
- Fixed prompt-type Stop hooks incorrectly failing when the small fast model returns `ok:false`, and restored `preventContinuation:true` semantics for non-Stop prompt-type hooks
- Fixed tool input validation failures when streaming emits array/object fields as JSON-encoded strings
- Fixed an API 400 error that could occur when extended thinking produced a whitespace-only text block alongside real content
- Fixed accidental feedback survey submissions from auto-pilot keypresses and consecutive-prompt digit collisions
- Fixed misleading "esc to interrupt" hint appearing alongside "esc to clear" when a text selection exists in fullscreen mode during processing
- Fixed Homebrew install update prompts to use the cask's release channel (`claude-code` → stable, `claude-code@latest` → latest)
- Fixed `ctrl+e` jumping to the end of the next line when already at end of line in multiline prompts
- Fixed an issue where the same message could appear at two positions when scrolling up in fullscreen mode (iTerm2, Ghostty, and other terminals with DEC 2026 support)
- Fixed idle-return "/clear to save X tokens" hint showing cumulative session tokens instead of current context size
- Fixed plugin MCP servers stuck "connecting" on session start when they duplicate a claude.ai connector that is unauthenticated
- Improved Write tool diff computation speed for large files (60% faster on files with tabs/`&`/`$`)
- Removed `/tag` command
- Removed `/vim` command (toggle vim mode via `/config` → Editor mode)
- Linux sandbox now ships the `apply-seccomp` helper in both npm and native builds, restoring unix-socket blocking for sandboxed commands