mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-08 03:10:26 +00:00
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>
25 lines
558 B
TOML
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
|