Commit Graph

29 Commits

Author SHA1 Message Date
musistudio
1b3a8f8803 fix logviewer 2025-09-09 21:06:19 +08:00
musistudio
1a7e90df39 remove log util 2025-09-06 09:06:18 +08:00
musistudio
e5741ae470 add logger vireer 2025-09-05 21:36:21 +08:00
musistudio
f7058dcdb5 fix log file path 2025-09-04 22:04:03 +08:00
musistudio
8c4fec4f5f fix stream handler error 2025-09-02 21:23:21 +08:00
musistudio
5d53571fe6 release v1.0.45 2025-09-02 19:55:04 +08:00
musistudio
19522f496b add agents to support route image 2025-09-01 17:19:43 +08:00
musistudio
6ab608943e release v1.0.43 2025-08-20 12:43:57 +08:00
musistudio
915495553a fix some bugs 2025-08-19 22:33:59 +08:00
musistudio
95b2dadd40 feat: optimize ui 2025-08-17 18:02:09 +08:00
musistudio
19d0f3b8f5 release v1.0.39 2025-08-16 15:17:06 +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
709b49b0e8 release v1.0.35 to fix windows logfile name 2025-08-10 22:11:51 +08:00
musistudio
b856e1e11b relese v1.0.34 to optimize the log 2025-08-10 21:37:48 +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
112d7ef8f9 feat: add UI build to build process
- Created separate build script to handle both CLI and UI building
- Added automatic UI dependency installation
- Copy built UI artifacts to dist directory

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 11:15:05 +08:00
jinhui.li
d0de78eaf0 support configuring the port 2025-07-20 01:00:33 +08:00
jinhui.li
49502e1534 support authentication via APIKEY configuration 2025-07-17 12:49:14 +08:00
Hayaii
20e8a8f197 adapt path and commands for Windows environment 2025-07-13 15:36:59 +08:00
jinhui.li
3ef82991fb support json config 2025-07-03 17:19:26 +08:00
jinhui.li
30c764828a switch to llms 2025-07-02 13:24:37 +08:00
jinhui.li
ac51db990c save request errors to a log file 2025-06-17 12:37:52 +08:00
musi
a3ec2c223d fix not working without router 2025-06-15 20:45:32 +08:00
jinhui.li
5e70bc70c0 Support multiple plugins 2025-06-15 16:58:11 +08:00
jinhui.li
9a89250d79 use the router to dispatch different models: background,longcontext and think 2025-06-14 19:48:29 +08:00
jinhui.li
84e76f24b0 fix the issue of multiple calude using one server by claude code 2025-06-12 09:58:05 +08:00
jinhui.li
2cc91ada5c add cli 2025-06-10 12:55:25 +08:00
jinhui.li
089654871c support plugins 2025-03-31 22:28:02 +08:00
jinhui.li
93fcd77544 support deepseek-v3-20250324 2025-03-25 14:51:28 +08:00