mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Add local-only MCP server layering (global < definition < agent) for buzz-agent. Other runtimes manage their own MCP config and are unchanged. - McpServerConfig/McpServerTransport types with validate/merge/replace helpers - BUZZ_ACP_MCP_SERVERS reserved env key; desktop injects transport JSON only for buzz-agent children, explicitly removes it for all others - spawn_config_hash includes effective MCP layer so config drift triggers restart - build_deploy_payload forwards resolved Mcp transport to providers - agent_snapshot excludes mcp_servers (credentials in env vars) - GlobalAgentConfig.mcp_servers: inherits to every buzz-agent instance - AgentDefinition.mcp_servers: definition layer (not copied into record on mint) - ManagedAgentRecord.mcp_servers: per-agent override layer - buzz-acp: ConfiguredMcpServer deserialized from BUZZ_ACP_MCP_SERVERS; appended after built-in buzz-dev-mcp in build_mcp_servers - Max 15 user-defined servers (slot 16 is reserved for buzz-dev-mcp) - IPC validation at every save boundary: empty name, duplicate names, enabled with empty command, NUL bytes, per-field length cap, total payload cap, reserved env key guard 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