fabro/crates/agent-cli
Bryan Helmkamp eaf934f355 Add tests for tool_approval and agent-cli
- 5 session tests exercising ToolApprovalFn callback (deny, allow,
  arg capture, None passthrough, error event emission)
- 18 unit tests for agent-cli pure functions (tool_category,
  is_auto_approved, default_model, validate_api_key,
  build_tool_approval, build_profile)
- 4 integration tests for the agent binary (usage, help, missing
  API key, invalid permissions)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 11:05:44 -05:00
..
src Add tests for tool_approval and agent-cli 2026-02-23 11:05:44 -05:00
tests Add tests for tool_approval and agent-cli 2026-02-23 11:05:44 -05:00
Cargo.toml Add agent CLI with tool approval callback 2026-02-23 10:50:40 -05:00