Skip to content

Releases: leeguooooo/agent-cli-to-api

v0.2.0 - Rich Logging & High Concurrency

18 Dec 06:14

Choose a tag to compare

🚀 What's New

✨ Features

  • Claude CLI auto-detection: Automatically uses ~/.claude/settings.json for API key authentication (supports custom endpoints like Xiaomi MiMo, Tencent Hunyuan, etc.)
  • High concurrency support: Increased max_concurrency to 100 for all agents (codex, cursor, claude, gemini)
  • Dynamic startup banner: Provider-specific configuration display with emojis

🎨 Logging Improvements

  • Rich Q+A panels: Beautiful markdown-rendered Question/Answer panels with colors and icons
  • Q+A grouping: Question and Answer now print together atomically (no interleaving in high concurrency)
  • Stats summary: Periodic statistics table showing request counts, durations, and token usage
  • Error panels: Errors displayed in red panels for visibility
  • Shorter request IDs: chatcmpl-xxx... shortened to [xxxxxxxx]
  • Timing info: Duration and token count displayed in Answer panel title
  • Concurrent request tracking: Shows active concurrent request count

🐛 Fixes

  • Fixed max_tokens attribute error in claude-oauth mode
  • Fixed truncated system message content in logs
  • Reduced log verbosity in Rich mode (hide redundant INFO lines)

📦 Dependencies

  • rich>=13.7.0 for terminal formatting