Commit Graph
2664 Commits
Author SHA1 Message Date
Adam-PAN bf12d4ba8b fix: force DeepSeek V4 to use tools, fix API key saving, fix base URL width 2026-08-01 03:59:14 +08:00
Adam-PAN ead52776ce feat: rebrand to Cline Multi - multi-model hot switching support 2026-07-24 01:20:50 +08:00
HybridTalentComputing a3b39d5f76 chore: update README for version 3.86.5, fix language settings to Simplified Chinese, and enhance auto-approve modal localization 2026-06-29 20:32:49 +08:00
HybridTalentComputing 4ac8a0ad95 feat: update DeepSeek and Hicap model configurations and improve button localization 2026-06-28 23:02:49 +08:00
HybridTalentComputing dce8946498 fix(auth): remove unnecessary 'from' parameter from auth URL 2026-06-16 22:04:59 +08:00
HybridTalentComputing a8496114b0 fix(hooks): resolve global hooks dir via localized documents path
钩子的"写入/界面"路径与"发现/执行"路径之前不一致:写入侧(createHook /
toggleHook / deleteHook / refreshHooks)硬编码 os.homedir()/"Documents"
"Cline"/"Hooks",而执行侧(disk.ts ensureHooksDirectoryExists →
getDocumentsPath)正确读取系统本地化的 Documents 路径。

在 Linux 中文系统(文档目录本地化为 ~/文档)上,这导致钩子被存进凭空
新建的 ~/Documents/Cline/Hooks,界面可见但无法执行;移到 ~/文档 后执行
得了但界面又识别不到。Rules/Workflows/MCP 不受影响,因为它们走的是
disk.ts 的 getDocumentsPath()。

修复:让 resolveHooksDirectory() 与 refreshHooks() 复用 getDocumentsPath()
(Linux 走 xdg-user-dir,Windows 走 MyDocuments 特殊文件夹),与执行管线
统一,消除两套路径实现的不一致。globalHooksDirOverride 优先级保持不变,
测试不受影响。

upstream v3.86.1→v3.89.2 范围内未修复此 bug,本补丁为独立修复。
2026-06-16 20:25:16 +08:00
HybridTalentComputing 3b5cb91322 fix(vscode): add timeout to shell integration stream to prevent indefinite hang
VSCode 终端模式下,命令执行完成但输出大量内容时,shell integration 的
]633;D 完成序列可能丢失(自定义 prompt、MSYS2、tmux 等场景尤其常见),
导致 VscodeTerminalProcess.run() 里的 `for await (data of stream)` 永不
退出,completed 事件不 emit,命令框一直显示"等待中/已跳过"。

此时用户被迫 cancel,又因 VscodeTerminalProcess 缺少 terminate() 无法真正
中断,状态进入死区(clineAsk=undefined 且 isTaskRunning=false),后续发送
的消息被消息路由三分支静默吞掉,只能 reload 窗口。

修复:
- 新增 SHELL_INTEGRATION_STREAM_TIMEOUT_MS = 30000 常量
- 把 for-await 循环改为手动迭代 + AbortController 超时竞速
  (Promise.race([iter.next(), abortPromise])),30 秒无完成序列则中断
- 超时后走兜底:emit 剩余 buffer + 抓取终端当前内容作为 fallback 输出 +
  emit completed/continue,解除卡死
- 流正常结束时取消超时定时器,行为与原来完全一致

移植自 upstream open PR cline/cline#11430 (rodboev)。
2026-06-16 19:57:42 +08:00
HybridTalentComputing 03128d4f65 fix(vscode): probe @vscode/ripgrep-universal layout for VS Code ≥1.122.0
VS Code 1.122.0 把打包的 ripgrep 从 @vscode/ripgrep 迁移到
@vscode/ripgrep-universal,二进制路径从扁平布局改为按平台/架构子目录
(node_modules/@vscode/ripgrep-universal/bin/<platform>-<arch>/)。

旧代码的 4 个探测路径全是 ≤1.121.x 的布局,在 1.122+ 上全部 miss,导致
getBinaryLocation("rg") 抛 "Could not find ripgrep binary",searchFiles
返回空结果,@ 添加文件/文件夹一直显示"未找到结果"。

在探测链最前面增加对新布局的探测,旧探测保留作为旧版 VS Code 的回退。

移植自 upstream cline/cline#11178 (85be70bb2)。
2026-06-16 19:33:22 +08:00
HybridTalentComputing 72aab3d9ac docs: update download milestone in README and improve HTTP headers in OpenRouterHandler 2026-06-02 21:51:40 +08:00
HybridTalentComputing 724424a6bb feat: add ShengSuanYun login handling and callback processing 2026-06-02 21:40:12 +08:00
HybridTalentComputing 92b97fb580 refactor: remove redundant API provider updates in auth handling 2026-06-02 21:17:24 +08:00
HybridTalentComputingandClaude Opus 4.7 d5c19b88eb docs: add shengsuanyun sponsor intro to README and reorder provider to 4th
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-02 00:12:38 +08:00
HybridTalentComputingandClaude Opus 4.7 9056a0df32 feat: add shengsuanyun provider (synced from main branch)
Add 胜算云 (ShengSuanYun) as an independent API provider with API key
authentication and dynamic model selection. Core files copied from main
branch with minimal import path adaptations for v3.86.1 compatibility.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-01 23:59:45 +08:00
HybridTalentComputingandClaude Opus 4.7 8ee0490867 fix: restore biome.jsonc config and fix lint errors for v3.86.1 build
Restored biome.jsonc from main branch to fix 764 lint errors caused by
incorrect config (root:false, missing VCS section, wrong schema). Also
disabled useIterableCallbackReturn rule which is new in biome 2.3.x.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-01 21:16:50 +08:00
HybridTalentComputing ef4308a522 docs: align extension id references with cline-chinese fork 2026-06-01 19:51:20 +08:00
HybridTalentComputing 7d16bc806a feat: reapply prompt localization, branding, and MCP naming on v3.86.1 2026-06-01 19:47:40 +08:00
HybridTalentComputing 1144bab296 feat: restore cline-chinese extension identity on v3.86.1 2026-06-01 19:41:15 +08:00
HybridTalentComputing f17f13370c chore: reapply cline-chinese localization baseline on v3.86.1 2026-06-01 19:39:51 +08:00
HybridTalentComputing 1bd829e583 chore: sync upstream v3.86.1 baseline into root layout 2026-06-01 19:22:08 +08:00
HybridTalentComputing 00922d7cf9 feat: update MCP settings file references to 'cline_chinese_mcp_settings.json' across the codebase 2026-05-25 23:26:32 +08:00
HybridTalentComputing b675ac1b3e Add multilingual support for system prompt tools
- Enhanced tools to support English and Simplified Chinese descriptions and instructions.
- Updated `read_file`, `replace_in_file`, `search_files`, `subagent`, `use_mcp_tool`, `use_skill`, `web_fetch`, `web_search`, and `write_to_file` to include locale-based instruction handling.
- Improved user experience by providing localized messages for tool descriptions and parameter instructions.
2026-05-25 20:22:47 +08:00
HybridTalentComputing 704be7b32c feat: enhance tool completion instructions with localized support and detailed guidance 2026-05-25 20:12:15 +08:00
HybridTalentComputing cc4c66d5b1 feat: add Chinese localization support for tool use prompts and guidelines
- Implemented locale-based formatting for tool use sections, including guidelines and instructions, to support Chinese (zh-CN) language.
- Added new Chinese templates for tool use formatting, guidelines, user instructions, and task descriptions.
- Enhanced tool specifications to include locale-aware descriptions and instructions.
- Introduced utility functions for locale detection and text selection based on the user's language preference.
- Updated SystemPromptContext to include locale information for better context handling.
2026-05-25 20:11:16 +08:00
HybridTalentComputing 13542459c8 Refactor command identifiers and configuration keys to use 'cline-chinese' prefix 2026-05-19 11:25:09 +08:00
HybridTalentComputing 532575edaf v3.83.0 sync 2026-05-15 17:23:57 +08:00
HybridTalentComputing 8d519391b1 Sync with upstream v3.83.0
Replace all files with clean upstream Cline v3.83.0 content.
ShengSuanYun provider code automatically removed.
2026-05-15 13:02:01 +08:00
coohu e35bd61310 fix: X-Title 2026-02-11 10:11:04 +08:00
HybridTalentComputing eeceb74e77 Merge pull request #74 from shengsuan/fix_mpm
增加获取api_key 失败提醒
2026-02-03 18:12:05 +08:00
coohu b805d19819 fix:增加了获取api_key 失败提醒。 2026-02-03 16:56:44 +08:00
HybridTalentComputing de6c43fe61 更新 ShengSuanYunHandler 和 refreshShengSuanYunModels 以确保默认使用 chat completions API,修复 endPoints 处理逻辑 2026-01-31 16:00:53 +08:00
HybridTalentComputing 7990abd1f4 删除免费的小米模型,添加文档按钮 2026-01-31 00:18:11 +08:00
HybridTalentComputing c000e1cc1c 解决trae,cursor登录问题 2026-01-30 22:53:50 +08:00
HybridTalentComputing db3ceb2059 调整cline中文版为cline chinese 2026-01-30 22:16:13 +08:00
HybridTalentComputing 99af5b6cee 解决代理问题 2026-01-30 22:00:28 +08:00
HybridTalentComputing 0342d4c4a4 修复openai compatible执行效果不好的问题 2026-01-27 23:05:17 +08:00
HybridTalentComputing ac6b27bd02 feat: improve OpenAI Compatible stability by using XML tags for non-official providers 2026-01-27 22:11:41 +08:00
coohu 5aa3c9a9e6 fix: 模型选择bug. 2026-01-23 14:53:38 +08:00
coohu 8afaa62430 Merge branch 'dev1222' of https://github.com/HybridTalentComputing/cline-chinese into dev 2026-01-23 11:43:25 +08:00
coohu acd580ca14 fix: 模型推荐,用户登录bug. 2026-01-23 11:42:16 +08:00
HybridTalentComputing 114ac8b282 bugfix 2026-01-22 21:01:55 +08:00
HybridTalentComputing c3e756d394 bugfix 2026-01-22 20:30:16 +08:00
HybridTalentComputing 53da426551 bugfix 2026-01-22 20:25:07 +08:00
HybridTalentComputing d0ef205eda bugfix 2026-01-22 20:07:53 +08:00
HybridTalentComputing 8ee0f9fdc8 将cline键值换成cline chinese 2026-01-21 23:46:38 +08:00
coohu ea6203cf55 添加胜算云认证。 2026-01-20 11:59:57 +08:00
coohu f1dcec7ada merge SSYCloud/cline-chinese-ssy 2026-01-19 15:50:24 +08:00
shengsuan-cloud 4845331427 ... 2026-01-19 15:49:38 +08:00
shengsuan-cloud 55f0428243 延迟登操作,登录先刷新 acces token. 2026-01-13 11:11:48 +08:00
shengsuan-cloud 78d0988a33 add ssy model recommendations. 2026-01-07 10:49:57 +08:00
shengsuan-cloud 4f1dbe369a remove redundant modules. 2025-12-31 18:06:42 +08:00