Commit Graph

202 Commits

Author SHA1 Message Date
Matt Rubens
be3d8a6166 Incorporate MCP changes (#93)
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2024-12-12 23:16:39 -05:00
Premshay
04259577ed Merge branch 'RooVetGit:main' into main 2024-12-12 09:23:19 +02:00
R00-B0T
af9df77c2c Changeset version bump (#80)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: ColemanRoo <michael.coleman@roo.vet>
2024-12-11 15:48:53 -06:00
Cline
140318cecd feat(api): unify Bedrock provider using Runtime API
Problem:
The current Bedrock implementation uses the Bedrock SDK, which requires separate handling for different model types and doesn't provide a unified streaming interface.

Solution:
Integrate the Bedrock Runtime API to provide a single, unified interface for all Bedrock models (Claude and Nova) using the ConverseStream API. This eliminates the need for separate handlers while maintaining all existing functionality.

Key Changes:
- Refactored AwsBedrockHandler to use @aws-sdk/client-bedrock-runtime
- Enhanced bedrock-converse-format.ts to handle all content types and properly transform between Anthropic and Bedrock formats
- Maintained cross-region inference support with proper region prefixing
- Added support for prompt caching configuration
- Improved AWS credentials handling to better support default providers
- Added proper error handling and token tracking for all response types

Dependencies:
- Added @aws-sdk/client-bedrock-runtime for unified API access
- Removed @anthropic-ai/bedrock-sdk dependency

Testing:
- Verified message format conversion for all content types
- Tested cross-region inference functionality
- Validated streaming responses for both Claude and Nova models

This change simplifies the codebase by providing a single, consistent interface for all Bedrock models while maintaining full compatibility with existing features.
2024-12-11 22:47:56 +02:00
Matt Rubens
38fe812995 Merge pull request #74 from RooVetGit/gemini_2
Add Gemini 2.0
2024-12-11 13:52:52 -05:00
Abel Trejo Pineda
2f2c0609ba Merge pull request #61 from RooVetGit/chores/changeset-releases
Changeset AI Releases and code guardrails
2024-12-11 10:38:43 -08:00
Matt Rubens
65bbefed55 Add Gemini 2.0 2024-12-11 13:36:46 -05:00
Matt Rubens
355dc822dd Better error handling when unable to apply diffs (#71) 2024-12-11 11:20:01 -05:00
Matt Rubens
ba8bed90d8 Handle Windows line endings (#62) 2024-12-10 20:24:51 -05:00
a8trejo
3ec7bbc5d3 Updating husky hook and adding lint-staged 2024-12-10 14:27:28 -08:00
a8trejo
0d00bc18a0 Adding changeset config 2024-12-10 13:53:45 -08:00
a8trejo
84c808a620 Adding husky hooks 2024-12-10 13:33:35 -08:00
Matt Rubens
6e1f6833b8 Add a search-and-replace diff strategy (#57) 2024-12-10 12:44:38 -05:00
Matt Rubens
da31a23499 Create a structure for different diff strategies, starting with unified (#55) 2024-12-09 11:04:40 -05:00
Matt Rubens
c0b070e6f0 Improvements to apply_diff (#52) 2024-12-08 10:51:40 -05:00
Matt Rubens
c78216af30 Fix issue where sound effects setting wasn't working (#51) 2024-12-07 22:54:38 -05:00
Matt Rubens
5d9d36c128 Checkbox to experiment with letting Cline edit through diffs (#48)
Co-authored-by: Jozi <jozigila@gmail.com>
2024-12-07 16:35:55 -05:00
John Stearns
423e2af520 Continuing work on support for OpenRouter compression (#43) 2024-12-07 09:38:13 -08:00
Matt Rubens
776b7822a4 Version 2.1.10 (#39) 2024-12-01 22:40:19 -05:00
Matt Rubens
4b74f290d4 Play sound effects for notifications and events (#38)
Co-authored-by: HeavenOSK <heavenosk@gmail.com>
2024-12-01 22:25:10 -05:00
Matt Rubens
adc438fb0d Add comment about .clinerules (#36) 2024-12-01 19:26:51 -05:00
Matt Rubens
987add3653 Update metadata (#29) 2024-11-30 23:32:51 -05:00
Matt Rubens
55e75f254e Relax vscode version targeting (#27) 2024-11-29 22:03:54 -05:00
Matt Rubens
6fed90805a Add a few more read-only operations (#25) 2024-11-29 12:35:33 -05:00
Matt Rubens
cafc2852ca Allow Roo-Cline to coexist with Cline (#23)
Co-authored-by: ColemanRoo <michael.coleman@roo.vet>
2024-11-28 14:25:41 -05:00
Matt Rubens
cc3186c88f Bump version to 2.1.3 (#22) 2024-11-28 13:52:58 -05:00
ColemanRoo
b1c0e9be41 fix package.json format (#20)
* fix package.json format
add code-qa.yml step to PRs

* fix package-lock.json to use npm instead of codeartifact

* removing test step as it requires vs code

* update code owner file
2024-11-27 16:00:53 -06:00
Matt Rubens
0346fdeecb Add a setAlwaysAllowBrowser checkbox to settings 2024-11-22 13:37:04 -05:00
ColemanRoo
e55696e247 Fix Package Publish Workflow (#11)
* fixing access to codeartifact login script

* adjust namespace to match other Roo packages

* addling line to install vsce to Github action

* removing namespace as it is not valid for extension name

* version bump

* updating package-lock and doing full install for publish action

* update workflow package install steps

* update package install steps
2024-11-19 21:27:58 -06:00
John Stearns
fb222587fb Merge remote-tracking branch 'upstream/main' 2024-11-14 19:34:12 -08:00
John Stearns
9153a962e5 Add 'git show' to auto-executable allow-list 2024-11-06 14:54:12 -08:00
Matt Rubens
0b3294df83 chore: update VSIX to version 1.0.2 2024-11-03 16:15:13 -05:00
John Stearns
8a240d8ee4 Build and installation instructions for VSIX package file 2024-11-01 20:21:18 -07:00
John Stearns
3c8a9c09dd Add options to always approve write and execute operations 2024-11-01 13:38:47 -07:00
Saoud Rizwan
dff81b9d09 Fix o1 on openai native 2024-10-16 09:59:30 -04:00
Saoud Rizwan
0b3b23320b Update URLs to github.com/cline/cline 2024-10-12 16:41:30 -04:00
Saoud Rizwan
540f5326b7 lock updates 2024-10-09 02:17:24 -04:00
Saoud Rizwan
68b87e6056 Clean up old pre-streaming code 2024-10-09 01:49:54 -04:00
Saoud Rizwan
1cc3546b7e Initial streaming refactor 2024-10-09 01:49:54 -04:00
Saoud Rizwan
69e681ebce Normalize all file paths to posix format when presenting to AI or user 2024-09-22 19:20:10 -04:00
Saoud Rizwan
b7617e5f2a use isbinaryfile to more safely read contents of folders and files 2024-09-18 22:32:38 -04:00
Saoud Rizwan
e3144996fb Add URL scraping with puppeteer 2024-09-18 17:28:25 -04:00
Saoud Rizwan
d29f4a174c Add diagnostics context to environment details 2024-09-14 13:45:41 -04:00
Saoud Rizwan
72dcf1f9a2 Fix o1 with new max_completion_tokens 2024-09-14 04:03:00 -04:00
Saoud Rizwan
fbb7620fa1 Add gemini support 2024-09-12 08:11:33 -04:00
Saoud Rizwan
d71cccc2a4 Revert vscode types to make compatible with older versions; fix terminal output parsing 2024-09-09 09:39:33 -04:00
Saoud Rizwan
4edffb0d6d Add shell integration warning; reuse terminals when possible 2024-09-09 07:40:03 -04:00
Saoud Rizwan
2c91bafe1e Add new vscode shell integration to run commands right in terminal 2024-09-08 10:30:50 -04:00
Saoud Rizwan
ea14481771 Replace react-syntax-highlighter with rehype-highlight to reduce memory footprint when scrolling code blocks 2024-09-06 21:06:36 -04:00
Saoud Rizwan
0a16aedf95 Remove isbinaryfile as this caused errors on some users computers 2024-09-06 12:26:13 -04:00