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]>
64 lines
1.5 KiB
TOML
64 lines
1.5 KiB
TOML
[package]
|
|
name = "acp_thread"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/acp_thread.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
test-support = ["gpui/test-support", "project/test-support", "dep:parking_lot"]
|
|
|
|
[dependencies]
|
|
action_log.workspace = true
|
|
agent-client-protocol.workspace = true
|
|
async-channel.workspace = true
|
|
base64.workspace = true
|
|
anyhow.workspace = true
|
|
buffer_diff.workspace = true
|
|
chrono.workspace = true
|
|
collections.workspace = true
|
|
feature_flags.workspace = true
|
|
multi_buffer.workspace = true
|
|
file_icons.workspace = true
|
|
futures.workspace = true
|
|
gpui.workspace = true
|
|
itertools.workspace = true
|
|
language.workspace = true
|
|
language_model.workspace = true
|
|
log.workspace = true
|
|
markdown.workspace = true
|
|
parking_lot = { workspace = true, optional = true }
|
|
image.workspace = true
|
|
portable-pty.workspace = true
|
|
project.workspace = true
|
|
sandbox.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
settings.workspace = true
|
|
task.workspace = true
|
|
telemetry.workspace = true
|
|
terminal.workspace = true
|
|
text.workspace = true
|
|
ui.workspace = true
|
|
url.workspace = true
|
|
util.workspace = true
|
|
uuid.workspace = true
|
|
watch.workspace = true
|
|
urlencoding.workspace = true
|
|
|
|
[dev-dependencies]
|
|
env_logger.workspace = true
|
|
gpui = { workspace = true, "features" = ["test-support"] }
|
|
indoc.workspace = true
|
|
parking_lot.workspace = true
|
|
project = { workspace = true, "features" = ["test-support"] }
|
|
rand.workspace = true
|
|
util.workspace = true
|
|
settings.workspace = true
|