Skip to content

feat(v11.20.0): sync with Claude Code v2.1.168#46

Merged
arzafran merged 1 commit into
mainfrom
feat/sync-claude-code-2.1.168
Jun 8, 2026
Merged

feat(v11.20.0): sync with Claude Code v2.1.168#46
arzafran merged 1 commit into
mainfrom
feat/sync-claude-code-2.1.168

Conversation

@arzafran

@arzafran arzafran commented Jun 8, 2026

Copy link
Copy Markdown
Member

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

  • Adopt fallbackModel (2.1.166). Up to three fallback models tried in order when the primary is overloaded/unavailable; persistent counterpart of the --fallback-model flag (now also applies to interactive sessions). Upstream docs don't yet pin the shape, so it's modeled as string | string[] — a permissive superset mirroring forceLoginOrgUUID. Added to:
    • src/schemas/settings.ts (GENERAL block)
    • upstream/claude-code-manifest.json knownSettingsKeys + a note; manifest version 2.1.1652.1.168
    • schemas/settings.schema.json (regenerated via bun run schemas:emit)
    • docs/settings-reference.md table
  • Version bump 11.19.011.20.0 (minor, new settings key).
  • Skipped, with reasons (in CHANGELOG): deny-rule glob support (our permissions.ts validates rule keys, not rule strings, and our rules are all concrete Tool(pattern) form — no schema work); SendMessage authority 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 — clean
  • bun test — 473 pass / 0 fail
  • bun run schemas:emit — regenerated; fallbackModel emits anyOf: [string, string[]]
  • bun run upstream:scan — no drift detected at 2.1.168

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.
@arzafran arzafran merged commit 20f0ac0 into main Jun 8, 2026
13 checks passed
@arzafran arzafran deleted the feat/sync-claude-code-2.1.168 branch June 8, 2026 14: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.

1 participant