Files
2026-05-08 01:59:04 +02:00

31 lines
1.0 KiB
TOML

[package]
name = "dirigent_acp_api"
version = "0.1.0"
edition = "2021"
[lib]
path = "src/lib.rs"
[dependencies]
anyhow = "1.0"
async-trait = "0.1"
# ACP (Agent-Client Protocol) dependencies
axum = "0.8"
# ACP Server dependencies (Phase 2)
chrono = { version = "0.4", features = ["serde"] }
# Workspace dependencies
# Note: dirigent_protocol is used for Event types
dirigent_protocol = { path = "../dirigent_protocol" }
# Note: dirigent_core is NOT a direct dependency to avoid circular dependency.
# CoreHandle is passed into the ACP server at runtime via generics or trait objects.
# The mode/model mapping logic is duplicated here for legacy mode support.
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1", features = ["full"] }
tokio-stream = { version = "0.1", features = ["sync"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors"] }
# ACP Server dependencies (Phase 1)
tracing = "0.1"
uuid = { version = "1.0", features = ["serde", "v4", "v7"] }