mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Add McpServerConfig/McpServerEnvVar FE types (camelCase mirror of the Rust McpServerConfig) and mcpServers fields on ManagedAgent, AgentPersona, GlobalAgentConfig, and the create/update managed-agent and persona IPC inputs. Threads mcpServers through fromRawManagedAgent/fromRawPersona and the invoke builders in tauri.ts/tauriPersonas.ts with the same absent-vs-present contract as envVars (create sends mcpServers ?? [], update sends it only when provided). Adds the buzzAgentMcpServers surface field (populated on the backend by 859b8bbbe) to RuntimeConfigSurface. Wires the e2eBridge.ts mock to match: mcp_servers on the local RawManagedAgent/RawPersona types, a cloneMcpServer helper mirroring the existing clone* helpers, mcp_servers handling in the create/update persona and managed-agent mock handlers, and buzzAgentMcpServers on every buildMockConfigSurface fixture (a sample entry on the buzz-agent fixture so the read-only display has something to render by default). Bumps two file-size overrides (tauri.ts, types.ts) to the gate's own split-count for this diff. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com> Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>