fabro/crates/agent-cli/Cargo.toml
Bryan Helmkamp b7883d6bef Add agent CLI with tool approval callback
Introduce `ToolApprovalFn` callback in `SessionConfig` to gate tool
execution by permission level. Create `agent-cli` crate as a thin CLI
binary wrapping `Session` with provider/model resolution, permission
model (read-only/read-write/full), interactive approval prompts,
real-time event rendering, debug middleware, and SIGINT handling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 10:50:40 -05:00

25 lines
558 B
TOML

[package]
name = "agent-cli"
edition.workspace = true
version.workspace = true
license.workspace = true
description = "CLI for the agent agentic loop"
repository = "https://github.com/brynary/attractor-rust"
keywords = ["llm", "ai", "agent", "cli"]
categories = ["command-line-utilities"]
[[bin]]
name = "agent"
path = "src/main.rs"
[dependencies]
agent = { path = "../agent" }
llm = { path = "../llm" }
clap.workspace = true
tokio.workspace = true
anyhow.workspace = true
serde_json.workspace = true
async-trait.workspace = true
[lints]
workspace = true