- Created src/api_client.rs (310 lines) with AnthropicRuntimeClient struct,
impl blocks, resolve_cli_auth_source, request_ends_with_tool_result
- Removed ~425 lines from main.rs, added mod api_client + re-export
- Removed redundant format_user_visible_api_error / format_context_window_blocked_error
(already live in render.rs as pub(crate))
- Removed debug println!("args:") that broke --compact output
- All 214 tests pass
|
||
|---|---|---|
| .. | ||
| api | ||
| claw-cli | ||
| commands | ||
| compat-harness | ||
| lsp | ||
| mock-anthropic-service | ||
| plugins | ||
| runtime | ||
| rusty-claude-cli | ||
| server | ||
| telemetry | ||
| tools | ||