Commit Graph
556 Commits
Author SHA1 Message Date
Adam-PAN d8bb3527ea feat: 通过 models.dev 在启动时自动更新各厂商最新模型与定价
E2E Tests / matrix_prep (push) Canceled after 0s
E2E Tests / e2e (push) Canceled after 0s
Tests / Quality Checks (push) Canceled after 0s
Tests / test (push) Canceled after 0s
Tests / test (windows-latest) (push) Canceled after 0s
Tests / test-platform-integration (push) Canceled after 0s
Tests / qlty (push) Canceled after 0s
- 设置 新增两个开关:通过 models.dev 更新模型(默认开)、通过 models.dev 更新定价(默认关)- 勾选时每次启动从 models.dev/models.json 与 api.json 拉取最新模型目录与价格,合并进各厂商模型列表(保留本地精调元数据)- 目录缓存至磁盘作为离线回退,并通过 gRPC 订阅 + 订阅后主动拉取推送至 webview,消除启动竞态- 新增 RPC:refreshModelsDevModelsRpc / subscribeToModelsDevModels- 版本升级至 4.4.0,更新 CHANGELOG
2026-09-29 15:13:59 +08:00
Adam-PAN 6965212ff7 fix: resolve Base URL input garbled text and collapsed width in API settings
- Fix scrambled text when typing in Base URL fields: debounced input hook now ignores echo round-trips of its own saves and defers unexpected external updates during an edit grace period

- Serialize API configuration saves through a queue so rapid successive updates are applied in order on the backend

- Fix Base URL input collapsing to tiny width: Radix TooltipTrigger now renders a full-width block wrapper instead of the default shrink-to-fit button

- Trim Base URL values only on commit instead of every keystroke to prevent cursor jumps

- Skip redundant save on mount and flush uncommitted edits on unmount

- Bump version to 4.3.1, update CHANGELOG and README
2026-09-17 02:53:43 +08:00
Adam-PAN ead52776ce feat: rebrand to Cline Multi - multi-model hot switching support 2026-07-24 01:20:50 +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 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 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 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 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 13542459c8 Refactor command identifiers and configuration keys to use 'cline-chinese' prefix 2026-05-19 11:25:09 +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
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
coohu ea6203cf55 添加胜算云认证。 2026-01-20 11:59:57 +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
shengsuan-cloud f6032d9c87 merge 2025-12-30 13:45:34 +08:00
Bee 45b79dc3d7 feat: add background edit mode setting (#7146)
Add backgroundEditEnabled setting to global state and settings infrastructure.
This includes:
- Proto definition for the update settings request
- State management in controller and state helpers
- Extension state interface updates
- Default value of false in webview context

Building block for ENG-1367. Setting is not yet used in the UI or anywhere in the app yet. It will be done in the follow-up PR where the feature is implemented.
2025-12-18 22:03:25 -08:00
Tomás Barreiro 4bf8feecac Remove the remote config auth listener (#8110) 2025-12-16 16:22:01 -08:00
Max 97d635d606 expose a getAvailableSlashCommands rpc endpoint in cline core (#8024) 2025-12-11 16:05:35 -08:00
Ara 8ce476ccaa Refactor Terminal Module (#7966)
* refactor: move terminal integration from core to vscode host

- Relocate terminal-related code from core/integrations to hosts/vscode/terminal
- Move TerminalManager, TerminalProcess, TerminalRegistry, and related utilities
- Update import paths across the codebase to reference new locations
- Remove unused shellIntegrationWarningTracker and shouldShowBackgroundTerminalSuggestion from Controller
- This change better separates VSCode-specific terminal handling from core logic

* Mistral change

* refactor: consolidate terminal types into types.ts

- Move ActiveBackgroundCommand, AskResponse, CommandExecutorCallbacks, CommandExecutorConfig from ICommandExecutor.ts to types.ts
- Move OrchestrationOptions, OrchestrationResult from CommandOrchestrator.ts to types.ts
- Delete ICommandExecutor.ts (all types now in types.ts)
- Update imports in CommandExecutor.ts, CommandOrchestrator.ts, index.ts, and src/core/task/index.ts
- types.ts is now the single source of truth for all terminal-related types

* refactor: consolidate ITerminalProcess into types.ts

- Move ITerminalProcess, TerminalProcessEvents from ITerminalProcess.ts to types.ts
- Delete ITerminalProcess.ts (all types now in types.ts)
- Update imports in VscodeTerminalProcess.ts, StandaloneTerminalProcess.ts
- Update exports in index.ts
- types.ts is now the single source of truth for ALL terminal-related types
2025-12-11 12:11:32 -08:00
Ara 1d8a9bf11e Change Stealth model (#8042)
* Mistral change

* Mistral change

* Mistral change
2025-12-11 11:25:31 -08:00
Saoud RizwanandRobin Newhouse 00e9d6f523 feat: add experimental parallel tool calling support (#8020)
* feat: add experimental parallel tool calling support

Add a new experimental setting that allows models to call multiple tools
in a single response. This is automatically enabled for GPT-5 models.

- Add enableParallelToolCalling setting (off by default)
- Conditionally enforce didAlreadyUseTool flag based on setting
- Move checkpoint from per-tool to per-response
- Add UI toggle in Feature Settings section

* feat: enable parallel tool calling for GPT-5 in prompts and API (#8028)

* feat: enable parallel tool calling for GPT-5 in prompts and API

Update system prompts for GPT-5 and next-gen variants to instruct
models they may use multiple tools in a single response for independent
operations.

Fix OpenAI API to send parallel_tool_calls: true for GPT-5 models,
which was previously hardcoded to false for all models.

Related: #8020

Changes:
- Updated 5 prompt variant files to allow parallel tool use
- Added enableParallelToolCalls param to getOpenAIToolParams()
- Updated openai-native.ts to enable for GPT-5 model family

* Update system test snapshots for parallel tool calling

* Revert changes to MCP prompts

---------

Co-authored-by: Robin Newhouse <robin@cline.bot>
2025-12-11 00:05:22 -08:00
CandiedUniverseandNightTrek dec215cd9c feat(hooks): Enable hooks in the CLI [ENG-1375] (#7948)
* feat(cli): Add hooks_enabled support to CLI settings

- Add hooks_enabled field to Settings proto message (field 134)
- Add hooks_enabled parsing to CLI settings parser
- Enables users to toggle hooks via -s hooks_enabled=true/false flag

Fixes missing CLI support for hooks that was available in the VSCode extension

* feat(hooks): Enable hooks in the CLI

* Add include back in after resolving merge conflict

* feat(hooks): Changes as per human code review feedback.

---------

Co-authored-by: NightTrek <Daniels@dual4t.com>
2025-12-09 10:32:18 -08:00
Toshii 6ab008b204 adding search models to usage tables in ui (#7996) 2025-12-08 19:18:31 -08:00
Toshii 0e3cdab82b adding webtools to the features menu (#7566)
* adding webtools to the features menu

* telemetry for toggling web tools

* adding feature flag for webtools
2025-12-07 22:34:43 -08:00
Ara e9136f60cc feat(terminal): Move Standalone terminal Code to Typescript (#7927)
* feat(terminal): add shared terminal types and interfaces

Add shared terminal module with types and interfaces that enable
terminal management across VSCode, CLI, and JetBrains environments.

- Define ITerminal, ITerminalManager, and TerminalInfo interfaces
- Add TerminalProcessResultPromise for async command execution
- Include StandaloneTerminalOptions for non-VSCode environments
- Prepare module structure for standalone implementations

* feat(terminal): export standalone terminal implementations

Enable exports for standalone terminal classes that were previously
commented out as placeholders:
- StandaloneTerminal
- StandaloneTerminalManager
- StandaloneTerminalProcess
- StandaloneTerminalRegistry

These implementations are now ready for use outside the terminal module.

* fix: resolve TerminalInfo type incompatibility in settings update

- Remove unused TerminalInfo import from both updateSettings files
- Use `as any` cast to handle type mismatch between VSCode and standalone TerminalInfo
- Replace busyTerminals array with busyTerminalsCount to avoid type issues
- Add null-safe access when getting busy terminals length

* feat: import StandaloneTerminalManager from bundled cline-core

Replace standalone enhanced-terminal.js with import from the bundled
TypeScript version in cline-core.js. This consolidates terminal
management code and removes the need to separately include the
runtime file in the VS Code extension package.

- Re-export StandaloneTerminalManager from cline-core.ts
- Update vscode-impls.js to import from cline-core.js
- Remove .vscodeignore exception for enhanced-terminal.js

* feat: simplify standalone terminal manager initialization

Replace global injection pattern with environment variable detection
for determining terminal execution mode. The Task class now directly
instantiates StandaloneTerminalManager when IS_STANDALONE=true instead
of relying on a globally injected instance.

- Remove StandaloneTerminalManager re-export from cline-core.ts
- Simplify vscode-impls.js createTerminal to return stub object
- Use IS_STANDALONE env var for terminal manager selection in Task
- Remove global.standaloneTerminalManager injection pattern

* Fix Standalone build

* Fix Standalone build

* fix: use subagentTerminalOutputLineLimit in StandaloneTerminalManager.processOutput

Match the VSCode TerminalManager logic to properly use subagentTerminalOutputLineLimit (2000) for subagent commands instead of always falling back to terminalOutputLineLimit (500).

* feat: add TerminalManager to HostProvider for dependency injection

- Add TerminalManagerCreator type and createTerminalManager to HostProvider
- Extract ITerminalManager interface to shared/terminal/types for abstraction
- Refactor TerminalManager to implement ITerminalManager interface
- Create StandaloneTerminalManager for non-VSCode environments
- Update TerminalRegistry to use ITerminalManager via HostProvider
- Enable terminal management to work across different host environments

* feat: refactor terminal manager to use ITerminalManager interface

- Replace concrete TerminalManager/StandaloneTerminalManager types with ITerminalManager interface
- Use HostProvider.createTerminalManager() for host-agnostic terminal creation
- Simplify terminal execution mode logic in Task constructor
- Add dynamic imports for StandaloneTerminalManager when backgroundExec mode is used
- Improve logging for terminal manager selection
2025-12-07 05:10:25 -08:00
Zhongying Qiao 2b63eed85e feat: remove mcp enable setting for individual users (#7879) 2025-12-04 09:36:44 -08:00
Saoud Rizwan b15c364a62 feat: add 'Explain Changes' feature for code review (#7765) 2025-12-01 22:02:33 -08:00
126d066893 Adding Stealth model (#7764)
* Revert "Remove old models (#7118)"

This reverts commit c7c4e43322.

* Adding stealth

* Adding stealth

* Adding stealth

* Adding minor fix

* Update webview-ui/src/components/settings/OpenRouterModelPicker.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply suggestion from @abeatrix

Co-authored-by: Bee <68532117+abeatrix@users.noreply.github.com>

* Update src/core/api/providers/cline.ts

Co-authored-by: Bee <68532117+abeatrix@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Bee <68532117+abeatrix@users.noreply.github.com>
2025-12-01 21:18:43 -08:00
Zhongying Qiao 5be7a1b3cf Add support for Banner dismissal, event logging (#7642)
* feat: add banners ui, dismissal state handling and event log

* feat: add cli as ide type, clean up some code

* feat: wire up controller and UI for banners

* audit every rule check to ensure it is doing correct filtering and working locally

* seperate out frontend code

* clean up

* fix proto file

* fix quality check errors

* fix banner service tests

* feat: use json polling approach for active banners

* fix: build error

* fix ci

* fix quality check

* use BannerService.isInitialized() instead

* do not log error when banner array is empty, only when missing or not defined

* do not hash instance id
2025-12-01 15:32:51 -06:00
celestial-vault 2a20523e16 View remote rules and workflows in the editor (#7702)
* allow the user to view remote rules and workflows in the editor by creating a temp file

* add await
2025-11-27 11:37:47 -06:00
celestial-vault 06585821d1 conditionally fetch litellm models based on presence of api key and baseUrl (#7713) 2025-11-27 11:37:13 -06:00
Saoud Rizwan 0a4811222f fix: unblock opening a task when using cline account (#7715) 2025-11-26 18:40:51 -08:00
Andrei EternalandAndrei Edell 81276fdf85 Add os/cline ver/host info to task metadata & change Task History -> EXPORT to just open the task directory (#7706)
Co-authored-by: Andrei Edell <andrei@nugbase.com>
2025-11-26 13:40:42 -08:00
canvrno a590200c64 Remove native tool calling feature flag (#7704) 2025-11-26 12:41:20 -08:00
celestial-vault 550428eabd LiteLLM provider dynamic model fetching (#7679)
* add dynamic model fetching for litellm provider and get rid of manual model config; also implement dynamic modelinfo lookup

* don't clear the models list when a fetch fails
2025-11-26 10:54:51 -08:00
Saoud Rizwan a017f3dfd3 Add Claude Opus 4.5 (#7648) 2025-11-24 13:33:31 -08:00
CandiedUniverse 3089233298 feat(hooks): Implement Hooks tab in Rules & Workflows modal [ENG-1325] (#7547)
* feat(hooks): Add hooks tab to Rules & Workflows modal

* feat(hooks): Implement hooks tab content in Rules & Workflows modal

* feat(hooks): Enable creating new hooks in modal from dropdown selection list

* feat(hooks): Change hook template scripts to use bash

* feat(hooks): Windows not yet supported for hooks, so grey-out toggle on windows

* feat(hooks): Improvements to PR as per Cline reviewing the changes before code review

* feat(hooks): Implement tests for hook management (what the UI does under the hood)

* feat(hooks): Changes as per code review feedback from humans
2025-11-20 19:47:39 -08:00
canvrno 0b56a45a65 Add thinking level setting for Gemini 3.0 Pro (#7539)
* Added thinking level setting for Gemini 3.0 Pro

* changset
2025-11-20 10:48:31 -08:00
celestial-vault bd1d6159fc automatically derive openrouter modelinfo based on modelId when calling getModel() (#7568) 2025-11-19 21:16:48 -08:00