Commit Graph

211 Commits

Author SHA1 Message Date
musi
668e855a2d Merge pull request #699 from geocine/numeric-input
Fix numeric input UX: allow complete deletion with smart defaults
2025-09-01 20:52:27 +08:00
musi
41108cea1d Merge pull request #706 from vitobotta/chutes-gllm
Add link to unofficial GLM 4.5 transformer for Chutes provider
2025-09-01 20:50:56 +08:00
musistudio
3b9e58a823 update readme 2025-08-26 22:14:40 +08:00
musistudio
615fe7629e update readme 2025-08-26 22:05:25 +08:00
Vito Botta
656a5f9a97 Add link to unofficial GLM 4.5 transformer for Chutes provider 2025-08-25 18:44:24 +03:00
Aivan Monceller
d2a0815cb7 enhance Input component to manage numeric values and improve onChange handling 2025-08-25 13:27:58 +08:00
musistudio
9a5ea191f8 update sponsors 2025-08-23 16:04:59 +08:00
musistudio
6ab608943e release v1.0.43 2025-08-20 12:43:57 +08:00
musistudio
50c8f6994f release v1.0.42 2025-08-19 22:36:12 +08:00
musistudio
915495553a fix some bugs 2025-08-19 22:33:59 +08:00
musistudio
5ac4e8955d release v1.0.41 2025-08-18 22:29:53 +08:00
musistudio
6b7d0926c4 fix windows error 2025-08-18 22:29:24 +08:00
musistudio
01cd5d03a3 update readme to add statusline 2025-08-18 22:25:12 +08:00
musistudio
0c14a5c053 update sponsors 2025-08-18 22:14:48 +08:00
musistudio
b72b05eb5c release v1.0.40 2025-08-18 22:10:46 +08:00
musistudio
21ab7c61ce feat: override settingsFlag 2025-08-18 22:10:27 +08:00
musi
9f82aa2797 Merge pull request #609 from semidark/fix/claude-path-from-config
Fix CLAUDE_PATH to also load from config
2025-08-18 06:50:15 +08:00
Nico Thomaier
ac0263b226 fix(utils): use || instead of ?? for CLAUDE_PATH
The previous null‑ish coalescing treated empty strings as a valid value, which could result in an invalid path. Switching to logical OR keeps the precedence (config > env) but now falls back to the default `claude`
2025-08-17 17:46:03 +02:00
Nico Thomaier
6a4c1f7591 fix(utils): update codeCommand to improve command handling
- use CLAUDE_PATH in Config file if it is not empty.
2025-08-17 17:30:56 +02:00
musistudio
95b2dadd40 feat: optimize ui 2025-08-17 18:02:09 +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
19d0f3b8f5 release v1.0.39 2025-08-16 15:17:06 +08:00
musistudio
e078127ac6 release v1.0.38 2025-08-15 23:54:41 +08:00
musistudio
0e509528c2 add ccr statusline command 2025-08-15 23:50:57 +08:00
musi
a265cbdce6 Merge pull request #557 from BigUncle/feature/logging-configuration-improvements
feat logging: Implement LOG_LEVEL configuration option and improve lo…
2025-08-15 21:38:13 +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
musi
a62a025368 Merge pull request #558 from SaseQ/main
Add experimental Atlassian Rovo Dev CLI transformer
2025-08-14 08:50:24 +08:00
SaseQ
9d332aa036 Add Rovo CLI Transformer info to README_zh.md 2025-08-13 18:19:54 +02:00
SaseQ
5d00f519cd Add Rovo CLI Transformer info to README.md 2025-08-13 18:19:22 +02:00
musistudio
4fca983e4f release v1.0.37 2025-08-13 21:34:27 +08:00
musistudio
bc08c4ab48 add update button 2025-08-13 21:32:57 +08:00
musistudio
bdf608fffc release v1.0.36 2025-08-12 22:49:06 +08:00
musistudio
d9b7667c93 Merge remote-tracking branch 'origin/main' 2025-08-12 22:47:13 +08:00
musi
c3ab30b0b9 Merge pull request #529 from semikolon/feature/env-var-interpolation
Add Environment Variable Interpolation for API Keys
2025-08-12 21:43:50 +08:00
musistudio
cce1625534 fix windows/linux get system uuid error 2025-08-12 21:41:42 +08:00
Fredrik Bränström
5c1a193f4d docs: add environment variable interpolation documentation
- Document  and  syntax in README
- Add example usage in config.json
- Explain security benefits and recursive interpolation support
2025-08-11 21:44:14 +02:00
Fredrik Bränström
3ad140d2f5 feat: add environment variable interpolation for API keys
- Add interpolateEnvVars function to support $VAR_NAME and ${VAR_NAME} syntax
- Apply interpolation to config after JSON5 parsing in readConfigFile()
- Enables secure API key management without hardcoding in config.json
- Supports nested objects and arrays for comprehensive interpolation
- Maintains backward compatibility with existing configurations

Example usage in config.json:
{
  "OPENAI_API_KEY": "$OPENAI_API_KEY",
  "Providers": [
    {
      "name": "openai",
      "api_key": "$OPENAI_API_KEY"
    }
  ]
}
2025-08-11 21:43:32 +02:00
musistudio
075ec76ec1 fix windows logs path error 2025-08-11 10:25:50 +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
musi
6510d3aac9 Merge pull request #506 from BigUncle/fix/ui-restart-authentication
fix ui: resolve 403 Forbidden error when restarting service via UI
2025-08-10 07:51:11 +08:00
BigUncle
1708c59434 fix ui: resolve 403 Forbidden error when restarting service via UI
- Include /api/restart endpoint in access control checks alongside /api/config endpoints
- Ensure restart endpoint properly validates API key authentication
- This fixes the issue where 'Save and Restart' fails with 403 error in UI
2025-08-09 20:44:28 +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
musi
4334f40926 Merge pull request #465 from HynoR/main
fix: check provider name to prevent duplicate name with different config param
2025-08-07 08:56:18 +08:00
HynoR
38bc747261 fix: check provider name to prevent duplicate name with different config 2025-08-07 00:56:30 +08:00
musistudio
adfae3263a update sponsors 2025-08-06 22:21:01 +08:00
musistudio
0794151eb5 release v1.0.33 2025-08-06 22:19:05 +08:00
musistudio
3e1963564a fix ui: add form validator 2025-08-06 21:11:44 +08:00
musistudio
023c045821 Merge remote-tracking branch 'origin/main' 2025-08-06 20:54:21 +08:00