jft0m
44c6be129b
Merge branch 'Wei-Shaw:main' into main
2025-10-12 09:28:12 +08:00
shaw
56fe7be8ec
fix: 优化claude code系统提示词判断
2025-10-11 17:34:17 +08:00
jft0m
1c80970aef
Merge branch 'Wei-Shaw:main' into main
2025-10-10 21:37:18 +08:00
shaw
42db271848
feat: droid平台账户数据统计及调度能力
2025-10-10 15:13:45 +08:00
於林涛
705bd7611c
Merge remote-tracking branch 'upstream/main'
...
# Conflicts:
# src/routes/api.js
2025-10-08 19:34:17 +08:00
shaw
52af60b3c9
fix: 适配Claude agent-sdk转发
2025-10-07 14:00:29 +08:00
jft0m
bb95c0b7d5
fix: 修复 ESLint 代码规范问题
...
- 移除正则表达式中不必要的转义字符
- 添加 if 语句的花括号
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-06 15:57:09 +00:00
jft0m
61e5cb4584
refactor: 重构 handleChatCompletions 函数模块化
...
- 使用策略模式处理不同后端(Claude/OpenAI/Gemini)
- 添加 OpenAI chat/completions 兼容支持
- 修复代码缩进符合 ESLint 规范
2025-10-06 14:00:46 +00:00
shaw
4ad1ccc22c
fix: 适配 claude-vscode 客户端
...
扩展正则表达式以支持 claude-cli/2.0.0 (external, claude-vscode)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-30 11:25:18 +08:00
千羽
3e69f17330
feat: 重构和更新 Claude Code 验证器组件
...
- 重构 src/utils/contents.js,添加完整的 prompt 定义和相似度检测功能
- 删除重复的 src/utils/text-similarity.js 文件
- 更新 claudeCodeValidator.js 中的验证逻辑和错误处理
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-29 14:39:29 +09:00
shaw
79fb5fb072
fix: 去除无用参数
2025-09-25 15:08:04 +08:00
shaw
69cf8646e9
fix: cc提示词检测暂时排除haiku模型2
2025-09-25 14:22:36 +08:00
shaw
749ebf0a82
fix: cc提示词检测暂时排除haiku模型
2025-09-25 14:18:16 +08:00
shaw
54bf1ce49b
fix: claude code兼容sdk-cli
2025-09-25 10:10:43 +08:00
shaw
e1a481af46
fix: 修复提示词检测引起的compact失败
2025-09-24 23:22:21 +08:00
shaw
ad443ea18a
fix: 调整Claude Code相似度检测并恢复401处理
2025-09-24 15:04:39 +08:00
千羽
9c3914bf79
feat: enhance Claude Code client detection with similarity matching
...
- Add string-similarity library for robust prompt comparison
- Extract Claude Code system prompts to separate contents module
- Implement similarity-based validation with configurable thresholds
- Support different validation logic for Haiku vs other Claude models
- Fix validation to properly handle array format system prompts
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-24 11:31:44 +09:00
shaw
303c0c4e15
feat: 增加claude code客户端识别
2025-09-23 16:41:26 +08:00
shaw
86668c3de9
fix:修复1.1.147版本启动问题
2025-09-22 13:53:56 +08:00