claw-code/openspec
zhaoyanchao c01ae72e30 refactor(main): extract api_client.rs — AnthropicRuntimeClient and API helpers
- 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
2026-05-26 21:31:12 +08:00
..
changes refactor(main): extract api_client.rs — AnthropicRuntimeClient and API helpers 2026-05-26 21:31:12 +08:00
config.yaml refactor(rusty-claude-cli): 拆分超大main.rs为职责单一的子模块 2026-05-26 17:08:29 +08:00