Skip to content

Commit 0d0798c

Browse files
committed
Merge main again
2 parents b42aec8 + 50cae9b commit 0d0798c

File tree

20 files changed

+2193
-525
lines changed

20 files changed

+2193
-525
lines changed

.changeset/eleven-papayas-fold.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"roo-cline": patch
3+
---
4+
5+
Experimental support for VS Code Language Models (thanks @RaySinner / @julesmons!)

README.md

Lines changed: 60 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -8,65 +8,68 @@ Hot off the heels of **v3.0** introducing Code, Architect, and Ask chat modes, o
88

99
You can now tailor the **role definition** and **custom instructions** for every chat mode to perfectly fit your workflow. Want to adjust Architect mode to focus more on system scalability? Or tweak Ask mode for deeper research queries? Done. Plus, you can define these via **mode-specific `.clinerules-[mode]` files**. You’ll find all of this in the new **Prompts** tab in the top menu.
1010

11-
The second big feature in this release is a complete revamp of **prompt enhancements**. This feature helps you craft messages to get even better results from Cline. Here’s what’s new:
12-
- Works with **any provider** and API configuration, not just OpenRouter.
13-
- Fully customizable prompts to match your unique needs.
14-
- Same simple workflow: just hit the ✨ **Enhance Prompt** button in the chat input to try it out.
11+
The second big feature in this release is a complete revamp of **prompt enhancements**. This feature helps you craft messages to get even better results from Cline. Here’s what’s new:
12+
13+
- Works with **any provider** and API configuration, not just OpenRouter.
14+
- Fully customizable prompts to match your unique needs.
15+
- Same simple workflow: just hit the ✨ **Enhance Prompt** button in the chat input to try it out.
1516

1617
Whether you’re using GPT-4, other APIs, or switching configurations, this gives you total control over how your prompts are optimized.
1718

18-
As always, we’d love to hear your thoughts and ideas! What features do you want to see in **v3.2**? Drop by https://www.reddit.com/r/roocline and join the discussion - we're building Roo Cline together. 🚀
19+
As always, we’d love to hear your thoughts and ideas! What features do you want to see in **v3.2**? Drop by https://www.reddit.com/r/roocline and join the discussion - we're building Roo Cline together. 🚀
1920

2021
## New in 3.0 - Chat Modes!
2122

2223
You can now choose between different prompts for Roo Cline to better suit your workflow. Here’s what’s available:
2324

24-
- **Code:** (existing behavior): The default mode where Cline helps you write code and execute tasks.
25+
- **Code:** (existing behavior): The default mode where Cline helps you write code and execute tasks.
2526

26-
- **Architect:** "You are Cline, a software architecture expert..." Ideal for thinking through high-level technical design and system architecture. Can’t write code or run commands.
27+
- **Architect:** "You are Cline, a software architecture expert..." Ideal for thinking through high-level technical design and system architecture. Can’t write code or run commands.
2728

28-
- **Ask:** "You are Cline, a knowledgeable technical assistant..." Perfect for asking questions about the codebase or digging into concepts. Also can’t write code or run commands.
29+
- **Ask:** "You are Cline, a knowledgeable technical assistant..." Perfect for asking questions about the codebase or digging into concepts. Also can’t write code or run commands.
2930

3031
**Switching Modes:**
3132
It’s super simple! There’s a dropdown in the bottom left of the chat input to switch modes. Right next to it, you’ll find a way to switch between the API configuration profiles associated with the current mode (configured on the settings screen).
3233

3334
**Why Add This?**
34-
- It keeps Cline from being overly eager to jump into solving problems when you just want to think or ask questions.
35-
- Each mode remembers the API configuration you last used with it. For example, you can use more thoughtful models like OpenAI o1 for Architect and Ask, while sticking with Sonnet or DeepSeek for coding tasks.
36-
- It builds on research suggesting better results when separating "thinking" from "coding," explained well in this very thoughtful [article](https://aider.chat/2024/09/26/architect.html) from aider.
35+
36+
- It keeps Cline from being overly eager to jump into solving problems when you just want to think or ask questions.
37+
- Each mode remembers the API configuration you last used with it. For example, you can use more thoughtful models like OpenAI o1 for Architect and Ask, while sticking with Sonnet or DeepSeek for coding tasks.
38+
- It builds on research suggesting better results when separating "thinking" from "coding," explained well in this very thoughtful [article](https://aider.chat/2024/09/26/architect.html) from aider.
3739

3840
Right now, switching modes is a manual process. In the future, we’d love to give Cline the ability to suggest mode switches based on context. For now, we’d really appreciate your feedback on this feature.
3941

4042
Give it a try and let us know what you think in the reddit: https://www.reddit.com/r/roocline 🚀
4143

4244
## Experimental Features
4345

44-
- Different chat modes for coding, architecting code, and asking questions about the codebase
45-
- Drag and drop images into chats
46-
- Delete messages from chats
47-
- @-mention Git commits to include their context in the chat
48-
- Save different API configurations to quickly switch between providers and settings
49-
- "Enhance prompt" button (OpenRouter models only for now)
50-
- Sound effects for feedback
51-
- Option to use browsers of different sizes and adjust screenshot quality
52-
- Quick prompt copying from history
53-
- Copy markdown from chat messages
54-
- OpenRouter compression support
55-
- Includes current time in the system prompt
56-
- Uses a file system watcher to more reliably watch for file system changes
57-
- Language selection for Cline's communication (English, Japanese, Spanish, French, German, and more)
58-
- Support for DeepSeek V3
59-
- Support for Amazon Nova and Meta 3, 3.1, and 3.2 models via AWS Bedrock
60-
- Support for Glama
61-
- Support for listing models from OpenAI-compatible providers
62-
- Support for adding OpenAI-compatible models with or without streaming
63-
- Per-tool MCP auto-approval
64-
- Enable/disable individual MCP servers
65-
- Enable/disable the MCP feature overall
66-
- Automatically retry failed API requests with a configurable delay
67-
- Configurable delay after auto-writes to allow diagnostics to detect potential problems
68-
- Control the number of terminal output lines to pass to the model when executing commands
69-
- Runs alongside the original Cline
46+
- Different chat modes for coding, architecting code, and asking questions about the codebase
47+
- Drag and drop images into chats
48+
- Delete messages from chats
49+
- @-mention Git commits to include their context in the chat
50+
- Save different API configurations to quickly switch between providers and settings
51+
- "Enhance prompt" button (OpenRouter models only for now)
52+
- Sound effects for feedback
53+
- Option to use browsers of different sizes and adjust screenshot quality
54+
- Quick prompt copying from history
55+
- Copy markdown from chat messages
56+
- OpenRouter compression support
57+
- Includes current time in the system prompt
58+
- Uses a file system watcher to more reliably watch for file system changes
59+
- Language selection for Cline's communication (English, Japanese, Spanish, French, German, and more)
60+
- Support for DeepSeek V3
61+
- Support for Amazon Nova and Meta 3, 3.1, and 3.2 models via AWS Bedrock
62+
- Support for Glama
63+
- Support for listing models from OpenAI-compatible providers
64+
- Support for adding OpenAI-compatible models with or without streaming
65+
- Experimental support for VS Code Language Models (e.g. Copilot)
66+
- Per-tool MCP auto-approval
67+
- Enable/disable individual MCP servers
68+
- Enable/disable the MCP feature overall
69+
- Automatically retry failed API requests with a configurable delay
70+
- Configurable delay after auto-writes to allow diagnostics to detect potential problems
71+
- Control the number of terminal output lines to pass to the model when executing commands
72+
- Runs alongside the original Cline
7073

7174
## Disclaimer
7275

@@ -79,26 +82,28 @@ Here's an example of Roo-Cline autonomously creating a snake game with "Always a
7982
https://github.com/user-attachments/assets/c2bb31dc-e9b2-4d73-885d-17f1471a4987
8083

8184
## Contributing
85+
8286
To contribute to the project, start by exploring [open issues](https://github.com/RooVetGit/Roo-Cline/issues) or checking our [feature request board](https://github.com/cline/cline/discussions/categories/feature-requests?discussions_q=is%3Aopen+category%3A%22Feature+Requests%22+sort%3Atop). We'd also love to have you join the [Roo Cline Reddit](https://www.reddit.com/r/roocline/) and the [Cline Discord](https://discord.gg/cline) to share ideas and connect with other contributors.
8387

8488
<details>
8589
<summary>Local Setup</summary>
8690

8791
1. Install dependencies:
88-
```bash
89-
npm run install:all
90-
```
92+
93+
```bash
94+
npm run install:all
95+
```
9196

9297
2. Build the VSIX file:
93-
```bash
94-
npm run build
95-
```
98+
```bash
99+
npm run build
100+
```
96101
3. The new VSIX file will be created in the `bin/` directory
97102
4. Install the extension from the VSIX file as described below:
98103

99-
- **Option 1:** Drag and drop the `.vsix` file into your VSCode-compatible editor's Extensions panel (Cmd/Ctrl+Shift+X).
104+
- **Option 1:** Drag and drop the `.vsix` file into your VSCode-compatible editor's Extensions panel (Cmd/Ctrl+Shift+X).
100105
101-
- **Option 2:** Install the plugin using the CLI, make sure you have your VSCode-compatible CLI installed and in your `PATH` variable. Cursor example: `export PATH="$PATH:/Applications/Cursor.app/Contents/MacOS"`
106+
- **Option 2:** Install the plugin using the CLI, make sure you have your VSCode-compatible CLI installed and in your `PATH` variable. Cursor example: `export PATH="$PATH:/Applications/Cursor.app/Contents/MacOS"`
102107
103108
```bash
104109
# Ex: cursor --install-extension bin/roo-cline-2.0.1.vsix
@@ -115,19 +120,20 @@ We use [changesets](https://github.com/changesets/changesets) for versioning and
115120
116121
1. Create a PR with your changes
117122
2. Create a new changeset by running `npm run changeset`
118-
- Select the appropriate kind of change - `patch` for bug fixes, `minor` for new features, or `major` for breaking changes
119-
- Write a clear description of your changes that will be included in the changelog
123+
- Select the appropriate kind of change - `patch` for bug fixes, `minor` for new features, or `major` for breaking changes
124+
- Write a clear description of your changes that will be included in the changelog
120125
3. Get the PR approved and pass all checks
121126
4. Merge it
122127
123128
Once your merge is successful:
124-
- The release workflow will automatically create a new "Changeset version bump" PR
125-
- This PR will:
126-
- Update the version based on your changeset
127-
- Update the `CHANGELOG.md` file
128-
- Create a git tag
129-
- The PR will be automatically approved and merged
130-
- A new version and git release will be published
129+
130+
- The release workflow will automatically create a new "Changeset version bump" PR
131+
- This PR will:
132+
- Update the version based on your changeset
133+
- Update the `CHANGELOG.md` file
134+
- Create a git tag
135+
- The PR will be automatically approved and merged
136+
- A new version and git release will be published
131137
132138
</details>
133139

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
],
265265
"src/**/*.{ts,tsx}": [
266266
"prettier --write",
267-
"npx eslint -c .eslintrc.json --fix"
267+
"npx eslint -c .eslintrc.json"
268268
]
269269
}
270270
}

src/api/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { LmStudioHandler } from "./providers/lmstudio"
1111
import { GeminiHandler } from "./providers/gemini"
1212
import { OpenAiNativeHandler } from "./providers/openai-native"
1313
import { DeepSeekHandler } from "./providers/deepseek"
14+
import { VsCodeLmHandler } from "./providers/vscode-lm"
1415
import { ApiStream } from "./transform/stream"
1516

1617
export interface SingleCompletionHandler {

0 commit comments

Comments
 (0)