[package]
edition = "2021"
name = "agent-commander"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library to control agents enclosed in CLI commands like Anthropic Claude Code CLI"
readme = "README.md"
keywords = [
"agent",
"cli",
"automation",
"process-management",
"ai",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "Unlicense"
repository = "https://github.com/link-assistant/agent-commander"
[lib]
name = "agent_commander"
path = "src/lib.rs"
[[bin]]
name = "start-agent"
path = "src/bin/start_agent.rs"
[[bin]]
name = "stop-agent"
path = "src/bin/stop_agent.rs"
[[test]]
name = "agent_tests"
path = "tests/agent_tests.rs"
[[test]]
name = "claude_tests"
path = "tests/claude_tests.rs"
[[test]]
name = "codex_tests"
path = "tests/codex_tests.rs"
[[test]]
name = "gemini_tests"
path = "tests/gemini_tests.rs"
[[test]]
name = "hive_mind_parity_tests"
path = "tests/hive_mind_parity_tests.rs"
[[test]]
name = "lib_tests"
path = "tests/lib_tests.rs"
[[test]]
name = "opencode_tests"
path = "tests/opencode_tests.rs"
[[test]]
name = "package_metadata_tests"
path = "tests/package_metadata_tests.rs"
[[test]]
name = "permissions_tests"
path = "tests/permissions_tests.rs"
[[test]]
name = "qwen_tests"
path = "tests/qwen_tests.rs"
[[test]]
name = "streaming_tests"
path = "tests/streaming_tests.rs"
[[test]]
name = "tools_tests"
path = "tests/tools_tests.rs"
[[test]]
name = "tui_tests"
path = "tests/tui_tests.rs"
[dependencies.command-stream]
version = "0.13.1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.0"
features = ["full"]
[dev-dependencies.tempfile]
version = "3.20"
[dev-dependencies.tokio-test]
version = "0.4"
[lints.clippy]
bool_to_int_with_if = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
format_push_string = "allow"
future_not_send = "allow"
if_not_else = "allow"
implicit_clone = "allow"
inherent_to_string_shadow_display = "allow"
manual_let_else = "allow"
map_unwrap_or = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
nonminimal_bool = "allow"
option_if_let_else = "allow"
redundant_clone = "allow"
redundant_closure = "allow"
redundant_closure_for_method_calls = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
type_complexity = "allow"
uninlined_format_args = "allow"
unnecessary_wraps = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[profile.release]
lto = true
codegen-units = 1
strip = true