mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
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>
Buzz
Desktop chat shell with:
- Tauri + React + TypeScript + Vite
- Tailwind CSS
- shadcn/ui-ready shared components
- Biome (lint/format/check)
- Feature-driven frontend structure
Scripts
pnpm dev- run the web frontendpnpm tauri dev- run the desktop apppnpm build- typecheck and build frontendpnpm typecheck- TypeScript checkspnpm lint- Biome lintpnpm format- Biome format (write)pnpm check- Biome check
Structure
src/shared- reusable app-wide code (ui,lib,styles)src/features- feature modules (vertical slices)src/app- top-level app composition