kaitranntt
|
2b0717ed53
|
feat(hooks): add UX improvements for image analysis hook
Add comprehensive UX enhancements for the image analysis CLIProxy hook:
- Add `ccs config image-analysis` CLI command for managing settings
- Enable/disable toggle
- Timeout configuration (10-600s)
- Per-provider model configuration
- Status display with provider models
- Add specialized error handlers with actionable messages
- File too large (with compression hints)
- CLIProxy unavailable (with start instructions)
- Auth failure (with re-auth commands)
- Timeout (with increase timeout hint)
- Rate limit (with retry guidance)
- API error (with response body parsing)
- Add comprehensive debug output (CCS_DEBUG=1)
- Provider name and model
- File size and media type
- Timeout and endpoint
- Skip reasons with context
- Add help text updates
- `ccs --help` includes Image Analysis section
- `ccs config --help` lists image-analysis subcommand
- Add doctor integration
- Validates image_analysis config
- Checks enabled status, providers, timeout
- Warns if CLIProxy not running
- Add unit tests for new config command
|
2026-02-03 22:14:52 -05:00 |
|