mirror of
https://github.com/block/buzz.git
synced 2026-11-28 20:22:39 +00:00
OSS Buzz must stay provider/model-agnostic; Block-internal defaults belong in buzz-releases via env vars, not baked into the OSS tree. This removes the implicit Databricks fallback and the hardcoded Block-specific contamination introduced by #1201, across three layers: - buzz-agent config: resolve_provider/resolve_model no longer auto-infer Databricks. BUZZ_AGENT_PROVIDER is required; BUZZ_AGENT_MODEL wins over provider-specific env vars. - desktop build/runtime: add a generic BUZZ_BUILD_AGENT_ENV passthrough (newline-delimited KEY=VALUE). build.rs validates and emits BUZZ_DESKTOP_BUILD_AGENT_ENV; runtime.rs parses it via parse_agent_env_lines() and injects each pair onto spawned agents (user env still wins). This lets internal builds bake DATABRICKS_HOST without naming Databricks in OSS; OSS builds leave it unset and inject nothing. - persona dialog UI: delete the hardcoded Block model registry (goose-claude-*, databricks-gpt-*, etc.) sourced from squareup/goose-releases. Models now come exclusively from live discovery (usePersonaModelDiscovery -> discoverAgentModels); the only static fallback is the generic 'Default model' + freeform custom input. Drops the Databricks-default behavior. databricks_v2 remains a selectable provider option (parallel to the Rust enum), not a default. 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