Commit Graph

9 Commits

Author SHA1 Message Date
musistudio
c7303775ad update document 2025-09-02 12:13:54 +08:00
zoyopei
7cc41d83cf fix(ui): add CUSTOM_ROUTER_PATH support in general settings
- Add CUSTOM_ROUTER_PATH field to UI configuration
  - Fix configuration preservation during save operations
2025-08-24 19:52:14 +08:00
musistudio
d6b11e1b60 feat: statusline support script 2025-08-17 00:25:22 +08:00
musistudio
d2969e4332 feat: update statusline config ui 2025-08-16 19:01:15 +08:00
musistudio
0e509528c2 add ccr statusline command 2025-08-15 23:50:57 +08:00
BigUncle
b8f52ba538 feat logging: Implement LOG_LEVEL configuration option and improve logging consistency
- Add LOG_LEVEL configuration option to control logging verbosity
- Update UI to include LOG_LEVEL dropdown in settings
- Fix logging inconsistency between environment variables and config file
- Unify logging configuration to use config file settings
- Maintain separate logging systems for different purposes:
  * Server-level logs (HTTP requests, API calls) using pino in ~/.claude-code-router/logs/
  * Application-level logs (routing decisions, business logic) in ~/.claude-code-router/claude-code-router.log
- Update documentation with accurate logging system information
- Add detailed information about dual logging systems in README.md and README_zh.md
- Improve type safety and validation in ConfigProvider

Co-authored-by: qwen-cli <https://github.com/QwenLM/qwen-code>
2025-08-14 21:17:27 +08:00
musistudio
9cd5587f52 feat: Implement temporary API key based on system UUID for UI access
This commit introduces a new authentication mechanism for the web UI.
Instead of requiring a pre-configured API key, a temporary API key is
generated based on the system's UUID. This key is passed to the UI
as a URL parameter and used for API requests.

Changes:
- Added a new utility to get the system UUID and generate a temporary API key.
- Modified the `ccr ui` command to generate and pass the temporary API key.
- Updated the authentication middleware to validate the temporary API key.
- Adjusted the frontend to use the temporary API key from the URL.
- Added a dedicated endpoint to test API access without modifying data.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-07 15:00:42 +08:00
musistudio
7bb816ad03 fix ui: custom transformer error 2025-08-04 13:18:57 +08:00
musistudio
996a05d1d6 feat ui: support import provider from template 2025-08-02 22:56:18 +08:00