Commit Graph

458 Commits

Author SHA1 Message Date
Leonid Bugaev
43f9541385
chore: Add test coverage for Terminal code (#2070)
* Add tests for TerminalProcess.ts

* Add missing Sinon mocking

* Test fixes

* More fixes

* Use sinon sandbox

* Add more tests, including real integration ones

* Revert lock changes

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2025-03-05 15:23:16 -08:00
loupzeur
ccba2ed8f8
feat(ollama): use official ollama library (#1859)
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2025-03-04 14:46:26 -08:00
Dennis Bartlett
e231cfd3e5
Feature/eng 238 (#2074)
* Update linting to include webview.  Fix outstanding lint issues.

* Fix Format

* Add changeset
2025-03-03 20:01:53 -08:00
Saoud Rizwan
df65f5f5dd Prepare for release 2025-03-02 17:19:56 -08:00
Pao
3ca529dc62
feat: Vertex Gemini Flash 2.0 support (#1853)
* feat: Vertex Gemini Flash 2.0 support

* fix: Add changeset for PR

* Moved gemini model

* Resolve conflicts

* Prettier fix

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2025-03-01 17:55:43 -08:00
Saoud Rizwan
93b6c937a5 Improve thinking budget slider animation; revert budget when switching plan/act modes 2025-03-01 00:49:34 -08:00
Saoud Rizwan
f555b83c7c Revert "Sonnet: Make Separate Thinking Model (#2031)"
This reverts commit 29c01eb7d3.
2025-02-28 23:04:20 -08:00
Evan
29c01eb7d3
Sonnet: Make Separate Thinking Model (#2031)
* make thinking model separate and remove UI slider

* use constant for min budget tokens

* changeset
2025-02-28 22:36:02 -08:00
Saoud Rizwan
682fce458e Prepare for release 2025-02-28 22:31:44 -08:00
Evan
df7b458229
Sonnet, Give Me a Reason (#1961)
* wip

* added slider for setting reasoning budget tokens

* refactor out generic slider component; improve styling; add debounce

* added setting validation

* styling and adding reasoning level

* changeset

* make change to trigger test rerun

* revert useless comment
2025-02-28 18:16:56 -08:00
Dennis Bartlett
9232d752b2 Merge remote-tracking branch 'upstream/main' into dev 2025-02-28 14:05:27 -08:00
Evan
eedae086a3
Fix Merge Conflict resolutions
Fixes Merge conflict resolutions from Main to Dev that were incorrectly chosen.
2025-02-28 13:12:40 -08:00
Saoud Rizwan
3525592c61 Prepare for release 2025-02-27 18:51:15 -08:00
Dennis Bartlett
10cde3671e
Feature/privacy policy (#1994)
* Update Privacy to point to website. Add ToS to point to website.

* Lint Fix
2025-02-27 17:19:26 -08:00
pashpashpash
39980e9be7 Revert "Better Streaming Support (#1980)" (#1993)
This reverts commit 93856ab3b0.
2025-02-27 15:50:02 -08:00
brownrw8
9b5cefd69d Better Streaming Support (#1980)
* feat: enterprise support

* Update src/api/providers/enterprise.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* refactor + anthropic

* fix

* update chunking

* fix enterprise providers

* minor refactor for chunking

* comments

* defaults

* tests

* remove imports

* suggested fixes

* decouple message type

* upgrade libs, prompt caching no longer in beta for claude models

* updates for tests

* enterprise -> streaming provider

* update tests

* remove section from anthropic.ts

* handle specific GCP Vertex invalid_grant error

* finish comment

* add caching stats to chunking

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-02-27 15:46:01 -08:00
Trevor Hudson
e5d616b0bf add optional telemetry (#1939)
* add optional telemetry

* move capture

* add changeset

* implement suggestions
2025-02-27 15:40:47 -08:00
brownrw8
5d8172a25f feat: Set preferred language in settings and have it update system prompt (#1538)
* feat: set preferred language in settings and have it update system prompt

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

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* remove unnecessary useEffect

* tweak prompt

* formatting from main

* Update Cline.ts

* Revert "Update Cline.ts"

This reverts commit bee6f0fee0.

* Fixes

* Update Cline.ts

* move preferredLanguage to Advanced Settings

* remove unneccessary import

* remove more imports

* skip language prompt for default language `en`

* Update package.json

* lint

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2025-02-27 14:45:46 -08:00
Frostbourne
916660a390 [ENG-126] Migrate to Vite (#1876)
* Initial webview vite migration

* Make vite work

* Fix test running

* Enable HMR, disable vite chunking

* Silence type checking errors

* Vite doesn't use browserslist

* get rid of breaking css flag

* add doc to getHMRHtmlContent

* Make it work

* Changeset

* Add IS_DEV to env definitions

* Update tasks to include HMR

* Update CSP image rules

* prettier

* reintroduce IS_DEV in env

* add new deps to pkg lock

---------

Co-authored-by: Dennis Bartlett <bartlett.dc.1@gmail.com>
2025-02-27 14:45:46 -08:00
Andrei Edell
202e3a6d05 Hugelung/rich mcp response (#1941)
* showing images after mcp responses

* images now open in a webview tab

* Open Graph link metadata display for MCP responses

* almost totally working rich mcp response display with images and embeds

* closer

* header for response display

* updated styling of mcp responses

* default to plain text if rich response is loading

* formatting fix

* added changeset output

* remove some old code

* add the dashed border back

* avoid XSS attacks by sanitizing the preview image urls and embeds

* remove incorrect vendor prefix css

* delete old version of open image implementation

* undo some comment removals and cleanups to make PR easier to read

---------

Co-authored-by: Andrei Edell <andrei@nugbase.com>
2025-02-27 14:45:42 -08:00
Doug Daniels
a229b8ce9d
feat(vertex): Add prompt caching support for Claude on Vertex AI (#1885)
* feat(vertex): Add prompt caching support for Claude on Vertex AI

* Remove countTokens update claude 3.7

* claude-3-7-sonnet@20250219 support in Vertex AI as default model
2025-02-26 22:28:02 -08:00
Saoud Rizwan
e14fd78767 Use GUI telemetry toggle to more clearly show user if they're opted in or not 2025-02-25 17:34:36 -08:00
Saoud Rizwan
a13aba4bd4 Prepare for release 2025-02-25 15:25:08 -08:00
Saoud Rizwan
568932492b Add optional opt-in telemetry to help fix bugs and improve product 2025-02-25 15:23:38 -08:00
Saoud Rizwan
35a64a3666 Modify MCP marketplace installation instructions 2025-02-24 22:57:02 -08:00
Saoud Rizwan
4f6605ccdb Update version 2025-02-24 18:21:02 -08:00
Saoud Rizwan
131b245023 Revert "Anthropic: Bump it up! (#1938)"
This reverts commit c2809491b4.
2025-02-24 18:09:51 -08:00
Evan
c2809491b4
Anthropic: Bump it up! (#1938)
* Updated Anthropic SDK and fixed types

* adjust export markdown handling

* adjust export markdown handling

* added changeset
2025-02-24 17:02:21 -08:00
Saoud Rizwan
a2749782ff Prepare for release 2025-02-24 11:08:14 -08:00
Saoud Rizwan
00506c0fcf Update version 2025-02-19 23:41:16 -08:00
Shawn Smith
45e1f58bbc
Feat: MCP Marketplace Setting (#1877)
* feat-mc-marketplace-setting

* add changeset

* Fixes

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2025-02-19 23:40:22 -08:00
Saoud Rizwan
cd3f3e2150 Update version 2025-02-19 18:58:03 -08:00
Saoud Rizwan
ff7e5c8866 Update package 2025-02-19 18:03:11 -08:00
Saoud Rizwan
a925e672ed Update MCP servers icon 2025-02-19 15:30:02 -08:00
Saoud Rizwan
2491b469e7 Remove downloadCount temporarily 2025-02-19 15:05:33 -08:00
Saoud Rizwan
0a14f0bad5 Update version 2025-02-19 10:05:52 -08:00
Saoud Rizwan
3d64ab298d Update zod 2025-02-18 17:33:48 -08:00
Saoud Rizwan
5dea79c65f Fix Mistral provider server URL 2025-02-17 10:35:21 -08:00
Saoud Rizwan
217162ccba Prepare for release 2025-02-16 21:01:52 -08:00
dependabot[bot]
57ae7c05d6
Bump esbuild from 0.21.5 to 0.25.0 in the npm_and_yarn group (#1740)
Bumps the npm_and_yarn group with 1 update: [esbuild](https://github.com/evanw/esbuild).


Updates `esbuild` from 0.21.5 to 0.25.0
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.21.5...v0.25.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 20:04:47 -08:00
brownrw8
7b6a3d25e5
Advanced Setting to enable browser session (#1736)
* feat: add Advanced Setting to enable browser session

* ensure browser tool is removed from system prompt

* fix test

* Update BrowserSession.ts

* Update BrowserSession.ts

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2025-02-10 20:02:00 -08:00
supermomonga
82eba4d668
Add extension setting for chromium executable path (#1721)
* Add extension setting for chromium executable path

* apply changeset

* Update src/services/browser/BrowserSession.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* format code

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-02-10 00:13:48 -08:00
Saoud Rizwan
8938e02d8e Prepare for release 2025-02-09 03:25:13 -08:00
Saoud Rizwan
68ab0cff25 Fix copy for clineignored scenarios 2025-02-08 17:15:42 -08:00
Saoud Rizwan
c1a7276867 Prepare for release 2025-02-07 21:22:55 -08:00
Evan
4449b51e2c
Let's reason together (#1597)
* let's reason together

* typo

* changeset

* Fix type error

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2025-02-07 14:32:14 -08:00
Saoud Rizwan
0795b046e1 Prepare for release 2025-02-05 12:49:58 -08:00
Ocasta
36d40afb4e changelogs 2025-02-04 18:58:51 -08:00
Saoud Rizwan
162cd3b9c5 Prepare for release 2025-02-01 18:32:48 -08:00
Saoud Rizwan
5eb8086b42 Add o3-mini support to OpenAI 2025-01-31 15:21:42 -08:00
Evan Fannin
2a078fee77
Class Implemented (#1577)
* wip

* LLMFileAccessController and tests

* added class and tests

* cleaning up

* formatting

* removing some defaults

* package json and remove defaults list
2025-01-31 12:09:12 -08:00
Saoud Rizwan
50f3791b98 Prepare for release 2025-01-31 02:37:13 -08:00
Saoud Rizwan
3b5d39a21b Prepare for release 2025-01-30 18:57:18 -08:00
Saoud Rizwan
1cd2ff10c7 Prepare for release 2025-01-30 18:37:51 -08:00
Saoud Rizwan
cf8e259f69 Prepare release 2025-01-30 11:16:55 -08:00
Saoud Rizwan
df03ec8667 Use changesets 2025-01-29 10:24:47 -08:00
Saoud Rizwan
b2dd04cff3 chore: add changie 2025-01-29 00:31:34 -08:00
Saoud Rizwan
6da887754c Revert "chore: add changesets"
This reverts commit cb3e278695.
2025-01-29 00:15:36 -08:00
Saoud Rizwan
cb3e278695 chore: add changesets 2025-01-28 21:37:37 -08:00
Mark Percival
97b3764063 Chore: Add OVSX to the pre-release 2025-01-28 16:37:37 -05:00
Saoud Rizwan
e8c649a215 Prepare for release 2025-01-27 19:34:37 -08:00
Saoud Rizwan
bb967128b8 Fix copy for mcp settings 2025-01-27 19:14:05 -08:00
Evan Fannin
4f0e3a6f87
Add disable checkpoints setting (#1450)
* disable checkpoints

* reverse setting boolean
2025-01-25 16:40:19 -08:00
Evan
b1bcbfeadc changed mcp setting name, changes setting option name 2025-01-24 14:48:57 +08:00
Evan
4ba3cc87a2 wip 2025-01-23 12:54:34 +08:00
Evan
c204ad711b merge conflicts 2025-01-23 12:16:34 +08:00
pashpashpash
f4d655dfda
Merge pull request #1406 from cline/pashpashpash-accounts
Authentication & Accounts
2025-01-22 17:25:44 -08:00
Evan Fannin
ac428ef0be
Merge pull request #1378 from evan-fannin/add-advanced-settings-button
Add advanced settings button / Add setting to exclude MCP prompting
2025-01-23 09:24:54 +08:00
pashpashpash
a3b3533377 package lock 2025-01-22 16:45:48 -08:00
pashpashpash
fa5b8616cf removing account button for now so we can merge to build on top of this framework 2025-01-22 16:40:43 -08:00
Evan
884e56f0e5 duplicated configuration key due to improper merge 2025-01-22 21:01:14 +08:00
Evan
99cc41c328 merge conflicts 2025-01-22 20:38:17 +08:00
Evan
f193683de6 Merge branch 'add-advanced-settings-button' into add-disable-MCP-setting 2025-01-22 19:20:26 +08:00
pashpashpash
36aaa18291 e2e login flow working 2025-01-22 00:23:02 -08:00
Ocasta
73334cbe8d added browser automation testing 2025-01-21 23:38:54 -08:00
Saoud Rizwan
cc42f2f81c Prepare for release 2025-01-21 23:13:15 -08:00
Daniel Steigman
29725445cc
Create pre-commit hooks with husky to enforce linting and formating for all commits (#1374)
* updated the hooks to ensure code cleanliness

* updated package-lock for the CI/CD
2025-01-21 21:48:43 -08:00
pashpashpash
7e3a770a4c Add account button to top nav bar 2025-01-21 19:39:40 -08:00
Evan
991175d72e wip 2025-01-22 09:54:00 +08:00
Saoud Rizwan
a88d45d8b4 Fix provider dropdown z-index issues 2025-01-21 14:04:03 -08:00
Saoud Rizwan
d9af2acf5b Fix deepseek 2025-01-21 13:40:40 -08:00
Saoud Rizwan
3f35aabbf9 Fix announcement 2025-01-21 09:55:25 -08:00
Saoud Rizwan
39b0389b9d Add vscode LM API types 2025-01-20 16:12:11 -08:00
Saoud Rizwan
fed40d5963 Prepare for release 2025-01-20 16:12:11 -08:00
Saoud Rizwan
8ec0b2cf08 Add VS Code LM API 2025-01-20 16:12:10 -08:00
Evan
96005f0ad9 Changing MCP settings UI to reflect new toggle 2025-01-20 15:49:35 +08:00
Evan
1d97429e28 toggle MCP 2025-01-19 13:26:18 +08:00
Saoud Rizwan
3109fdb0f4 Fix codestral link 2025-01-17 10:25:18 -08:00
Saoud Rizwan
bbee587cfe New icon 2025-01-17 09:53:29 -08:00
Saoud Rizwan
52bb98fd90 Prepare for release 2025-01-16 19:43:03 -08:00
Saoud Rizwan
2b1e3f553b Add Mistral API provider 2025-01-16 19:40:27 -08:00
Saoud Rizwan
ed17085df9 Prepare for release 2025-01-15 22:28:50 -08:00
Saoud Rizwan
0bcfe0275e Prepare for release 2025-01-15 22:14:00 -08:00
Saoud Rizwan
ee9c865cd4 Prepare for release 2025-01-14 17:54:46 -08:00
Saoud Rizwan
e7a180e368 Prepare for release 2025-01-09 17:20:40 -08:00
Saoud Rizwan
af5ae9a5f0 Prepare for release 2025-01-09 13:31:44 -08:00
Saoud Rizwan
9720d0c610 Prepare for release 2025-01-07 09:16:56 -08:00
Saoud Rizwan
d542d751d7 Ignore LFS files when creating checkpoints 2025-01-06 22:26:13 -08:00
Saoud Rizwan
5c0aeb9671 Update announcement 2025-01-06 13:25:25 -08:00
Saoud Rizwan
9de7253998 refactor: code cleanup, formatting updates, improved workspace handling, checkpoints feature
Add instructions

Fix completion

Refactor

Rename reset to restore

add haschanges flag

Remove log

Better error handling

Better error handling

Fix wording

Fix

Fix

Fix

Comment

Add hash for only latest tool

Prepare for release

Fix

Fix delete

Format fix
2025-01-06 12:40:30 -08:00
Saoud Rizwan
5141bd9e6c Prepare for release 2024-12-31 17:53:02 -08:00
Saoud Rizwan
20effe4a89 Prepare for release 2024-12-31 16:08:46 -08:00
Saoud Rizwan
f4590ce50f Prepare for release 2024-12-31 13:18:00 -08:00
Saoud Rizwan
7c142410f2 Prepare for release 2024-12-28 13:23:31 -08:00
Saoud Rizwan
c0cea6d591 Prepare for release 2024-12-27 15:59:17 -08:00
Saoud Rizwan
d67832f5f3 Prepare for release 2024-12-27 10:25:33 -08:00
Saoud Rizwan
35b9e4c85c Prepare for release 2024-12-26 13:24:19 -08:00
Saoud Rizwan
ed99fb0a42 Prepare for release 2024-12-26 13:05:10 -08:00
Saoud Rizwan
06dab2c3df Use should for better test readability 2024-12-24 18:11:11 -08:00
Saoud Rizwan
d8080d7209 Fix test configuration and add basic tests 2024-12-24 17:34:18 -08:00
Saoud Rizwan
c94ee5ed74 Prepare for release 2024-12-21 21:20:21 -08:00
Saoud Rizwan
8a7ba91ac1 Prepare for release 2024-12-19 22:04:43 -08:00
Saoud Rizwan
114850e83b Prepare for release 2024-12-19 16:34:12 -08:00
Saoud Rizwan
b7b5d28bb1 Prepare for release 2024-12-18 14:59:14 -08:00
Saoud Rizwan
1f4d688d94 Prepare for release 2024-12-17 20:17:14 -08:00
Saoud Rizwan
cd54c501b4 Add auto-approve UI and notification integration 2024-12-16 20:02:23 -08:00
Saoud Rizwan
d49397bdb2 Prepare release 2024-12-12 14:52:53 -08:00
Saoud Rizwan
635aa12957 Prepare release 2024-12-12 12:00:10 -08:00
Saoud Rizwan
cb55360738 Remove unused package 2024-12-10 19:52:44 -08:00
Saoud Rizwan
dc2a9682f8 Prepare MCP release with new copy and announcement 2024-12-10 18:30:20 -08:00
Saoud Rizwan
1319105bb4 Add index.js monitoring and fix capturing server error output 2024-12-10 14:26:25 -08:00
Saoud Rizwan
17d481d4d1 Add McpHub and sync with McpView 2024-12-05 19:00:55 -08:00
Saoud Rizwan
5052944efe Add MCP Servers view 2024-12-01 12:13:16 -08:00
Mark Percival
93e70c62f1
Chore: Prettier for consistant formatting (#794)
* Chore: Pretier for consistant formatting

- TODO: This PR needs to be updated by Saoud after he runs `npm install` & `npm format:fix` and commits the results of the prettier changes.

* Revert prettier config

* Run npm install

* Fix prettier config and ignore package lock

* Run format

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2024-11-21 13:13:54 -08:00
Saoud Rizwan
0d256239f3 Prepare for release 2024-11-12 22:05:15 -05:00
Saoud Rizwan
bac0b1a0cb Add prompt caching for new model ids on openrouter 2024-11-12 18:35:51 -05:00
Saoud Rizwan
6a63c9f11b Prepare for release 2024-11-07 13:54:38 -05:00
Saoud Rizwan
d06b85b9fc Prepare for release 2024-11-04 16:48:38 -05:00
Saoud Rizwan
ac66cb89c0 Prepare for release 2024-10-31 23:17:56 -04:00
Saoud Rizwan
4658e5cead Add stricter prompt to prevent file edit during browser session 2024-10-28 15:10:49 -04:00
Saoud Rizwan
b981b3a552 Prepare for release 2024-10-28 04:23:04 -04:00
Saoud Rizwan
0fb9796d8b Prepare for release 2024-10-23 15:37:06 -04:00
Saoud Rizwan
fbd3a64123 Prepare for release 2024-10-22 18:27:05 -04:00
Saoud Rizwan
62688c261a Prepare for release 2024-10-22 16:22:37 -04:00
Saoud Rizwan
52f86b1887 Adjustments to system prompt 2024-10-20 18:38:15 -04:00
Saoud Rizwan
a803dd15ae Prepare for release 2024-10-18 08:23:25 -04:00
Saoud Rizwan
60b5a540de Prepare for release 2024-10-17 08:31:29 -04:00
Saoud Rizwan
e554cf7ae7 Prepare for release 2024-10-17 05:32:55 -04:00
Saoud Rizwan
15b105b6c9 Prepare for release 2024-10-17 04:15:29 -04:00
Saoud Rizwan
c38e079aa6 Prepare for release 2024-10-17 02:04:50 -04:00
Saoud Rizwan
68e29bab66 Prepare for release 2024-10-17 01:45:23 -04:00
Saoud Rizwan
c05f51fc4e Prepare for release 2024-10-16 18:25:22 -04:00
Saoud Rizwan
fb5a8ea524 Prepare for release 2024-10-16 10:48:53 -04:00
Saoud Rizwan
3761023b60 Prepare for release 2024-10-12 18:55:34 -04:00
Saoud Rizwan
0b3b23320b Update URLs to github.com/cline/cline 2024-10-12 16:41:30 -04:00
Saoud Rizwan
fe1f2a793a Fixes 2024-10-10 19:09:01 -04:00
Saoud Rizwan
df82c8bdbb Update version 2024-10-10 16:30:52 -04:00
Saoud Rizwan
cb47d2efc4 Fixes 2024-10-10 16:30:13 -04:00
Saoud Rizwan
86437940fa Update name 2024-10-10 16:22:39 -04:00
Saoud Rizwan
0c9ebb2d28 Fixes 2024-10-09 19:58:03 -04:00