Commit graph

2581 commits

Author SHA1 Message Date
Tom X Nguyen
38cf054391 chore: add missing 3.7 sonnet modelid 2025-03-03 09:11:18 +07:00
Matt Rubens
9b91ab21b6 Default middle-out compression to on 2025-03-02 20:57:53 -05:00
Tom X Nguyen
d2b4a83605 fix: simplify logic and allow for multiple betas 2025-03-03 08:33:35 +07:00
Tom X Nguyen
aec03d71c3 feat: add virtual id for extended output capabilities 2025-03-03 07:47:12 +07:00
sam hoang
dd961d18a8 feat(mentions): improve path handling for Windows and escaped spaces
Enhance the mention regex to properly support:
- Windows paths with drive letters (C:\folder\file.txt)
- Windows network shares (\\server\share\file.txt)
- Windows relative paths (folder\file.txt)
- Paths with escaped spaces in both Unix and Windows formats
- Maintain compatibility with existing URL, git hash, and keyword patterns
- Add comprehensive test suite with 200+ test cases validating all path formats
and edge cases to ensure reliable pattern matching across platforms.
2025-03-02 23:56:35 +07:00
Matt Rubens
7e62d34570 PR cleanup 2025-03-02 02:12:21 -05:00
Matt Rubens
e8de7dea19 Merge remote-tracking branch 'origin/main' into count_tokens 2025-03-02 02:02:05 -05:00
Matt Rubens
8a1d66732a Infrastructure to support calling token count APIs, starting with Anthropic 2025-03-02 01:47:55 -05:00
cte
9b646eb2bc DRY up getModel 2025-03-01 21:51:17 -08:00
Matt Rubens
11387bdecd
Merge pull request #1304 from RooVetGit/support_read_only_modes_that_can_run_commands
Clearer instructions for read-only modes that can run commands
2025-03-02 00:15:19 -05:00
Matt Rubens
41b0ddecb4 Clearer instructions for read-only modes that can run commands 2025-03-02 00:13:14 -05:00
cte
62385ba4c7 Custom max tokens fix for non-thinking models 2025-03-01 21:05:03 -08:00
Matt Rubens
e6a49ddc5c Add type='module' to webview script 2025-03-01 20:42:10 -05:00
Matt Rubens
22c8a683d8
Merge pull request #1296 from RooVetGit/mermaids
Mermaids
2025-03-01 18:51:40 -05:00
Matt Rubens
8c8210ef50
Merge pull request #1282 from ashktn/feat/vertex-gemini
feat: Add support for Gemini models on Vertex AI
2025-03-01 18:48:54 -05:00
Matt Rubens
45eef8e37f Update snapshots 2025-03-01 18:46:35 -05:00
Matt Rubens
c8b72fa730 Update ask prompt 2025-03-01 18:19:16 -05:00
Matt Rubens
65a2a2cbd1 Update architect prompt 2025-03-01 18:10:33 -05:00
ShayBC
b7be8ba897 Merge remote-tracking branch 'upstream/main' into sbc_add_subtasks 2025-03-01 21:15:43 +02:00
ShayBC
44185198e6 added 500ms delay after modeSwitch to avoid a bug of running subtask before mode switch is actualy performed, also treated state of command execution where a call to finishSubtask was missing 2025-03-01 20:00:29 +02:00
Matt Rubens
a0684454a2 Add a dynamic token buffer 2025-03-01 10:10:24 -05:00
ShayBC
c8ec2b6b70 Merge remote-tracking branch 'upstream/main' into sbc_add_subtasks 2025-03-01 16:32:18 +02:00
ShayBC
997f7bbe8a Improve error handling and messaging in Cline class and ClineProvider, removed unnecessary resume_task ask, added abandond=true flag to the abort() call. no more error in log due to resume task 2025-03-01 16:30:46 +02:00
Matt Rubens
764d963c10 Add a 5k token buffer before the end of the context window 2025-03-01 08:49:10 -05:00
Chris Estreich
481d613bc8 Estimate the number of tokens in the last message for sliding window math 2025-02-28 21:34:53 -08:00
Chris Estreich
1d3f5380a8 Move integration tests into its own module 2025-02-28 21:23:11 -08:00
ashktn
4caa49228f feat: Add support for Gemini models on Vertex AI 2025-02-28 18:59:26 -05:00
ShayBC
41ddb7d583 Resolved merge conflicts 2025-03-01 01:10:27 +02:00
Chris Estreich
2773208d06
Merge pull request #1276 from RooVetGit/cte/re-enable-tests 2025-02-28 12:07:32 -08:00
Chris Estreich
55466c9d6a
Merge pull request #1268 from feifei325/optimize-task-id-init
Optimize Task ID Initialization Order
2025-02-28 11:15:07 -08:00
Chris Estreich
e49d886d63 Re-enable tests 2025-02-28 10:21:52 -08:00
Chris Estreich
21b883b59b
Merge pull request #1236 from RooVetGit/cte/fix-terminal-output-parsing
Fix TerminalProcess output parsing
2025-02-28 10:18:07 -08:00
Chris Estreich
4b66ce8255 Improve terminal command execution output parsing 2025-02-28 09:38:48 -08:00
yansheng3
0a81853d84 Optimize Task ID Initialization Order
Signed-off-by: yansheng3 <yansheng3@staff.weibo.com>
2025-02-28 19:28:45 +08:00
Felix NyxJae
8a5f16cbf2
Merge branch 'RooVetGit:main' into human-relay 2025-02-28 17:41:05 +08:00
Chris Estreich
31d2d17847 Fix maxTokens defaults for Claude 3.7 Sonnet models 2025-02-28 01:15:44 -08:00
ShayBC
c04adc6dcb added error message back to the parent task in cases user stops, cancel or delete the subtask, to allow the parent task to resume and think how to continue 2025-02-28 06:19:13 +02:00
Felix NyxJae
156fe0d9fb fix: Optimize panel management, support panel references for sidebar and tab types 2025-02-28 12:06:39 +08:00
ShayBC
2c813663f2 added connection between task to its parent and root parent + adjusted cline mock in the provider test 2025-02-28 05:43:27 +02:00
Felix NyxJae
1ae4eaa80e fix: Update comments to the human relay 2025-02-28 11:42:45 +08:00
Felix NyxJae
38c09d09d6 fix: Fix the human relay dialog function and optimize user interaction experience 2025-02-28 10:54:25 +08:00
ShayBC
b1dae213c5 removed cline instance type check to allow mocks 2025-02-28 04:54:14 +02:00
ShayBC
5651b35f89 added logs, error handling, and added console.log to the provider log method 2025-02-28 04:41:19 +02:00
ShayBC
03e0aa545b Resolved merge conflicts in Cline.ts and ClineProvider.ts 2025-02-28 03:33:13 +02:00
cte
8cbce2ded0 Add provider-agnostic modelMaxThinkingTokens setting 2025-02-27 16:06:47 -08:00
Chris Estreich
54c687485b
Merge pull request #1254 from lupuletic/added-new-thinking-support
Added support for Claude Sonnet 3.7 thinking via Vertex AI
2025-02-27 15:51:58 -08:00
Catalin Lupuleti
dd4fb6b309
Update src/shared/globalState.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-02-27 22:45:12 +00:00
Catalin Lupuleti
87b70cef83 Removed unnecessary comment 2025-02-27 22:20:35 +00:00
Catalin Lupuleti
2b3d23ebd7
Update src/shared/globalState.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-02-27 22:17:09 +00:00
Catalin Lupuleti
5eba1d53fb Added tests for Claude Sonnet Thinking 2025-02-27 22:15:17 +00:00