Files
buzz/desktop/src-tauri
npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 7c4c183165 feat(agents): enable Claude Code effort via CLAUDE_CODE_EFFORT_LEVEL
Claude Code exposes CLAUDE_CODE_EFFORT_LEVEL (low|medium|high|xhigh|max)
as a first-class env var that the claude-agent-acp adapter inherits from
its parent process and passes through to the SDK subprocess env. Adding
Claude to the catalog contract is therefore a pure catalog declaration —
no new UI logic, no per-harness special casing.

Changes:
- Add CLAUDE_EFFORT_NORMALIZATION static with 5-value vocabulary and no
  aliases (Claude accepts values natively; xhigh is canonical, not an
  alias as it is for Goose).
- Wire thinking_env_var and effort_normalization into the claude entry in
  KNOWN_ACP_RUNTIMES; import CLAUDE_EFFORT_NORMALIZATION in discovery.rs.
- Remove the Claude deferral branch (render: deferredUntilNativeOptions-
  Available) from agentConfigCore.ts — Claude now hits the existing
  harnessNative path just like Goose.
- Update runtimeModelProviderSelection.ts comment: buzz→claude now fires
  the else-if cleanup branch; claude→goose fires the if branch.
- Update AGENTS.md rule 3: Claude effort is no longer deferred.
- Rust pins: catalog vocabulary/no-alias contract, spawn native survival,
  invalid-value skip, foreign-key stripping, legacy alias at record tier
  (valid and invalid-for-Claude cases).
- TS pins: valid values pass through, Goose aliases absent from Claude
  vocab, empty alias array means no fallback table.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-08-04 17:58:25 -04:00
..
2026-08-03 21:51:17 -04:00
2026-08-03 21:51:17 -04:00