mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
F1: Replace `split_whitespace()` with `shlex::split()` in `configured_mcp_server` so quoted paths with internal spaces (e.g. `uv run "/My Bot/jambot"`) survive the split. On unmatched quotes, fall back to verbatim command — D1 surfaces the spawn failure as a warning instead of a dead agent. Added `shlex` 1.x as a direct dep (already in Cargo.lock as a transitive dep). F2: Add focused regression tests for `create_session_and_apply_model` MCP fallback path — scripted AcpClient returns an MCP-flavored error on first session/new, success on retry with empty mcpServers. Also covers non-MCP AgentError propagation (no retry triggered).