Pivot: agent-zed federates over ACP (Agent Client Protocol) to drive vendors'
own login-based CLIs (Claude Code with Pro/Max, Gemini), instead of editor-side
OAuth. The vendor's first-party client owns the token; sanctioned, no ToS risk.
Zed can't load VS Code .vsix extensions (own Rust/WASM ext API), so ACP is the
equivalent path — this is how upstream Zed shipped Claude Code support.
- Restore crates/acp_thread + crates/agent_servers from baseline (~6k LOC), wire
into workspace members + deps. Compile clean in isolation (cargo check -p both).
- Heavy native bloat (agent, agent_ui ~150k LOC) stays deleted; these two are the
client mechanism, not the bloat. Lean ACP UI to be built fresh.
- Add FEDERATION.md (architecture: ACP login-agents + vLLM provider + joule meter).
Co-Authored-By: Claude Opus 4.8 <[email protected]>