mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-10 03:30:59 +00:00
## Summary Implemented ACP support as a first-class Fabro backend alongside `api` and `cli`. This adds a new `fabro-acp` crate using the official ACP Rust crates, routes `backend=\"acp\"` for agent and prompt nodes, adds sandbox stdio support for local/Docker/test-support paths, emits ACP workflow events/projections, updates server steerability handling, validation, documentation, and black-box CLI coverage. ## Test Plan Passed strict non-live verification: - `ulimit -n 4096 && cargo nextest run -p fabro-workflow --run-ignored all --no-fail-fast` — 1162 passed, 0 skipped. - `ulimit -n 4096 && cargo nextest run -p fabro-acp -p fabro-sandbox -p fabro-workflow -p fabro-validate -p fabro-store -p fabro-server -p fabro-cli --run-ignored all --no-fail-fast -E 'not test(daytona_streaming_live_smoke)'` — 3125 passed. - `cargo build --workspace` — passed. - `ulimit -n 4096 && cargo nextest run --workspace --run-ignored all --no-fail-fast -E 'not test(daytona_streaming_live_smoke)'` — 5666 passed. - `cargo +nightly-2026-04-14 fmt --check --all` — passed. - `cargo +nightly-2026-04-14 clippy --workspace --all-targets -- -D warnings` — passed. Live-environment tests skipped/excluded under explicit user override: - `daytona_streaming_live_smoke` was excluded from final nextest runs because it requires live Daytona infrastructure and `DAYTONA_API_KEY`. - Confirmed with `env -u DAYTONA_API_KEY cargo test -p fabro-sandbox --features daytona --test daytona_streaming_live daytona_streaming_live::daytona_streaming_live_smoke -- --ignored --exact --nocapture`: failed fast with `DAYTONA_API_KEY must be set to run this live smoke test`.
72 lines
2.2 KiB
TOML
72 lines
2.2 KiB
TOML
[package]
|
|
name = "fabro-sandbox"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
publish = false
|
|
license.workspace = true
|
|
description = "Sandbox trait and implementations for Fabro agent execution environments"
|
|
|
|
[features]
|
|
default = ["local"]
|
|
local = []
|
|
docker = ["dep:bollard", "dep:tar", "dep:futures", "dep:fabro-github"]
|
|
daytona = ["dep:daytona-sdk", "dep:daytona-api-client", "dep:git2", "dep:fabro-github", "dep:fabro-config", "dep:fabro-http", "dep:reqwest-middleware", "dep:rand", "dep:tokio-tungstenite", "dep:futures-util", "dep:rustls"]
|
|
test-support = []
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
thiserror.workspace = true
|
|
tokio.workspace = true
|
|
tokio-util = { workspace = true, features = ["compat"] }
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
strum.workspace = true
|
|
tracing.workspace = true
|
|
base64.workspace = true
|
|
fabro-proc = { path = "../fabro-proc" }
|
|
fabro-static.workspace = true
|
|
fabro-util = { path = "../fabro-util" }
|
|
fabro-redact.workspace = true
|
|
shlex = "1"
|
|
|
|
# local
|
|
glob = { version = "0.3" }
|
|
|
|
# docker
|
|
bollard = { workspace = true, optional = true }
|
|
tar = { workspace = true, optional = true }
|
|
futures = { workspace = true, optional = true }
|
|
|
|
# daytona
|
|
fabro-config = { path = "../fabro-config", optional = true }
|
|
fabro-github = { path = "../fabro-github", optional = true }
|
|
fabro-types = { path = "../fabro-types" }
|
|
|
|
chrono = { workspace = true }
|
|
|
|
# daytona
|
|
rand = { workspace = true, optional = true }
|
|
daytona-sdk = { workspace = true, optional = true }
|
|
daytona-api-client = { workspace = true, optional = true }
|
|
git2 = { workspace = true, optional = true }
|
|
fabro-http = { workspace = true, optional = true }
|
|
reqwest-middleware = { version = "0.5", features = ["json", "multipart", "form", "query"], optional = true }
|
|
tokio-tungstenite = { workspace = true, optional = true }
|
|
futures-util = { workspace = true, optional = true }
|
|
rustls = { version = "0.23", default-features = false, features = ["std", "ring"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["test-util", "macros"] }
|
|
tempfile = "3"
|
|
uuid.workspace = true
|
|
serde_json.workspace = true
|
|
toml.workspace = true
|
|
httpmock = "0.8"
|
|
fabro-test.workspace = true
|