mirror of
https://github.com/wirenboard/agent-vm.git
synced 2026-07-09 16:00:54 +00:00
The SDK's default `prebuilt` feature made `cargo build -p agent-vm` download the upstream msb+libkrunfw bundle from superradcompany. agent-vm ships its own from-source msb, so disable it (default-features = false, keep net + keyring). Builds now require a local build/agentd (`just build-agentd`), matching the release workflow; Cargo.lock loses the download-only deps. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0119b4kV63pJXm5rGeZbz8jf
40 lines
1.6 KiB
TOML
40 lines
1.6 KiB
TOML
[package]
|
|
name = "agent-vm"
|
|
description = "Sandboxed microVMs for AI coding agents, built on microsandbox."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[[bin]]
|
|
name = "agent-vm"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
# default-features = false drops the SDK's `prebuilt` feature, so building
|
|
# agent-vm never downloads the upstream msb+libkrunfw bundle — we ship our own
|
|
# from-source msb. Keep net + keyring (the SDK's other defaults).
|
|
microsandbox = { path = "../../vendor/microsandbox/sdk/rust", default-features = false, features = ["net", "keyring"] }
|
|
tokio = { version = "1.42", features = ["macros", "rt-multi-thread", "time"] }
|
|
# `wrap_help` makes clap detect the terminal width and wrap long help
|
|
# text to it; without it the multi-paragraph `--help` prose renders as
|
|
# unbroken one-line-per-paragraph walls.
|
|
clap = { version = "4.5", features = ["derive", "env", "wrap_help"] }
|
|
anyhow = "1.0"
|
|
base64 = "0.22"
|
|
sha2 = "0.10"
|
|
serde_json = { version = "1", features = ["preserve_order"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
indicatif = "0.18"
|
|
console = "0.16"
|
|
reqwest = { version = "0.13", default-features = false, features = ["rustls", "json"] }
|
|
libc = "0.2"
|
|
ipnetwork = "0.21"
|
|
|
|
# Integration tests that drive the actual secret-substitution layer
|
|
# end-to-end with the hook's anonymisation logic. Kept out of release
|
|
# deps so production builds don't pull in the entire network stack.
|
|
[dev-dependencies]
|
|
microsandbox-network = { path = "../../vendor/microsandbox/crates/network" }
|
|
tempfile = "3"
|