Improve user key management with editing capabilities and validation
Jimmy
9ab64b8
feat: add image thumbnails in manager and logs
duanfangqin
6d5abf1
feat: add image deletion and yyds mail provider
HouYunFei+1: Codex
f9a5860
Co-Authored-By: Codex <noreply@openai.com>
fix(image): persist image tasks across refreshes
Lyonle
477f5e6
Add an internal idempotent image task API that stores task results in data/image_tasks.json, update the image page to poll and restore task results after refresh or navigation, and cover the task service/API with tests.
Refs basketikun/chatgpt2api#65
- Add CLIProxyAPI (CPA) integration for automatic access_token fetching
- Support multiple CPA pools with add/edit/delete/enable/disable
- New settings page for managing CPA pools via web UI
- Fetch tokens via /v0/management/auth-files + /download endpoint
- Concurrent token fetching with 5-minute cache and round-robin selection
- Auto fallback to local account pool when no CPA is configured
Stability fixes:
- Add trailingSlash to Next.js config for reliable static page routing
- Protect _next/ static assets from HTML fallback (prevents chunk load errors)
- Fix 401 redirect crash during hydration (replace + guard + pending promise)