feat(v11.20.0): sync with Claude Code v2.1.168#46
Merged
Conversation
Adds the fallbackModel settings key (2.1.166); 2.1.167/2.1.168 are
bug-fixes-only. Manifest bumped 2.1.165 -> 2.1.168.
Adopted:
- fallbackModel settings key (2.1.166): up to three fallback models tried in
order when the primary is overloaded/unavailable; persistent counterpart of
--fallback-model (now interactive too). Modeled as string | string[] (docs
don't yet pin the shape). Added to settings schema, manifest knownSettingsKeys,
emitted JSON schema, and settings-reference table.
Skips:
- Deny-rule glob support: permissions.ts validates keys, not rule strings; our
rules are all concrete Tool(pattern) form, so no schema change needed.
- SendMessage authority hardening, thinking-toggle behavior, fallback retry,
managed MCP ${VAR} predicate fix, ~17 CLI/TUI/bug fixes: no config surface.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this does
Keeps cc-settings current with Claude Code. The only upstream change in this window that touches anything cc-settings ships is a new setting,
fallbackModel— it lets you name backup models to fall back to when your primary is overloaded. This PR teaches our schema and docs about it so a config using it validates and is documented. The other two releases (2.1.167, 2.1.168) were bug-fixes-only.Summary
fallbackModel(2.1.166). Up to three fallback models tried in order when the primary is overloaded/unavailable; persistent counterpart of the--fallback-modelflag (now also applies to interactive sessions). Upstream docs don't yet pin the shape, so it's modeled asstring | string[]— a permissive superset mirroringforceLoginOrgUUID. Added to:src/schemas/settings.ts(GENERAL block)upstream/claude-code-manifest.jsonknownSettingsKeys+ a note; manifest version2.1.165→2.1.168schemas/settings.schema.json(regenerated viabun run schemas:emit)docs/settings-reference.mdtable11.19.0→11.20.0(minor, new settings key).permissions.tsvalidates rule keys, not rule strings, and our rules are all concreteTool(pattern)form — no schema work);SendMessageauthority hardening, thinking-toggle behavior, fallback retry, managed MCP${VAR}predicate fix, and ~17 CLI/TUI/bug fixes — no config surface.Test Plan
bun run typecheck— cleanbun test— 473 pass / 0 failbun run schemas:emit— regenerated;fallbackModelemitsanyOf: [string, string[]]bun run upstream:scan— no drift detected at 2.1.168