Skip to content

Commit 4c6541d

Browse files
Merge branch 'main' of https://github.com/RooVetGit/Roo-Code into upstream-pull-26-feb-2025
2 parents 53065c4 + 12f0e42 commit 4c6541d

File tree

177 files changed

+13798
-6536
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+13798
-6536
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# These owners will be the default owners for everything in the repo
2-
* @stea9499 @ColemanRoo @mrubens @cte
2+
* @mrubens @cte

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ body:
3333
id: model
3434
attributes:
3535
label: Which Model are you using?
36-
description: Please specify the model you're using (e.g. Claude 3.5 Sonnet)
36+
description: Please specify the model you're using (e.g. Claude 3.7 Sonnet)
3737
validations:
3838
required: true
3939
- type: textarea

.github/workflows/code-qa.yml

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,37 @@ jobs:
2828
- name: Lint
2929
run: npm run lint
3030

31-
unit-test:
31+
knip:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: Checkout code
35+
uses: actions/checkout@v4
36+
- name: Setup Node.js
37+
uses: actions/setup-node@v4
38+
with:
39+
node-version: '18'
40+
cache: 'npm'
41+
- name: Install dependencies
42+
run: npm run install:all
43+
- name: Run knip checks
44+
run: npm run knip
45+
46+
test-extension:
47+
runs-on: ubuntu-latest
48+
steps:
49+
- name: Checkout code
50+
uses: actions/checkout@v4
51+
- name: Setup Node.js
52+
uses: actions/setup-node@v4
53+
with:
54+
node-version: '18'
55+
cache: 'npm'
56+
- name: Install dependencies
57+
run: npm run install:all
58+
- name: Run unit tests
59+
run: npx jest --silent
60+
61+
test-webview:
3262
runs-on: ubuntu-latest
3363
steps:
3464
- name: Checkout code
@@ -41,7 +71,15 @@ jobs:
4171
- name: Install dependencies
4272
run: npm run install:all
4373
- name: Run unit tests
44-
run: npm test
74+
working-directory: webview-ui
75+
run: npx jest --silent
76+
77+
unit-test:
78+
needs: [test-extension, test-webview]
79+
runs-on: ubuntu-latest
80+
steps:
81+
- name: NO-OP
82+
run: echo "All unit tests passed."
4583

4684
check-openrouter-api-key:
4785
runs-on: ubuntu-latest

.vscodeignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ demo.gif
2121
.nvmrc
2222
.gitattributes
2323
.prettierignore
24+
.clinerules*
25+
.roomodes
26+
cline_docs/**
27+
coverage/**
28+
out-integration/**
2429

2530
# Ignore all webview-ui files except the build directory (https://github.com/microsoft/vscode-webview-ui-toolkit-samples/blob/main/frameworks/hello-world-react-cra/.vscodeignore)
2631
webview-ui/src/**
@@ -41,4 +46,4 @@ webview-ui/node_modules/**
4146
!src/integrations/theme/default-themes/**
4247

4348
# Include icons
44-
!assets/icons/**
49+
!assets/icons/**

CHANGELOG.md

Lines changed: 73 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,80 @@
11
# Roo Code Changelog
22

3-
## 3.3.20
3+
## [3.7.5]
44

5-
### Patch Changes
5+
- Fix context window truncation math (see [#1173](https://github.com/RooVetGit/Roo-Code/issues/1173))
6+
- Fix various issues with the model picker (thanks @System233!)
7+
- Fix model input / output cost parsing (thanks @System233!)
8+
- Add drag-and-drop for files
9+
- Enable the "Thinking Budget" slider for Claude 3.7 Sonnet on OpenRouter
610

7-
- Disable writing in ask mode
8-
- v3.3.20
11+
## [3.7.4]
12+
13+
- Fix a bug that prevented the "Thinking" setting from properly updating when switching profiles.
14+
15+
## [3.7.3]
16+
17+
- Support for ["Thinking"](https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking) Sonnet 3.7 when using the Anthropic provider.
18+
19+
## [3.7.2]
20+
21+
- Fix computer use and prompt caching for OpenRouter's `anthropic/claude-3.7-sonnet:beta` (thanks @cte!)
22+
- Fix sliding window calculations for Sonnet 3.7 that were causing a context window overflow (thanks @cte!)
23+
- Encourage diff editing more strongly in the system prompt (thanks @hannesrudolph!)
24+
25+
## [3.7.1]
26+
27+
- Add AWS Bedrock support for Sonnet 3.7 and update some defaults to Sonnet 3.7 instead of 3.5
28+
29+
## [3.7.0]
30+
31+
- Introducing Roo Code 3.7, with support for the new Claude Sonnet 3.7. Because who cares about skipping version numbers anymore? Thanks @lupuletic and @cte for the PRs!
32+
33+
## [3.3.26]
34+
35+
- Adjust the default prompt for Debug mode to focus more on diagnosis and to require user confirmation before moving on to implementation
36+
37+
## [3.3.25]
38+
39+
- Add a "Debug" mode that specializes in debugging tricky problems (thanks [Ted Werbel](https://x.com/tedx_ai/status/1891514191179309457) and [Carlos E. Perez](https://x.com/IntuitMachine/status/1891516362486337739)!)
40+
- Add an experimental "Power Steering" option to significantly improve adherence to role definitions and custom instructions
41+
42+
## [3.3.24]
43+
44+
- Fixed a bug with region selection preventing AWS Bedrock profiles from being saved (thanks @oprstchn!)
45+
- Updated the price of gpt-4o (thanks @marvijo-code!)
46+
47+
## [3.3.23]
48+
49+
- Handle errors more gracefully when reading custom instructions from files (thanks @joemanley201!)
50+
- Bug fix to hitting "Done" on settings page with unsaved changes (thanks @System233!)
51+
52+
## [3.3.22]
53+
54+
- Improve the Provider Settings configuration with clear Save buttons and warnings about unsaved changes (thanks @System233!)
55+
- Correctly parse `<think>` reasoning tags from Ollama models (thanks @System233!)
56+
- Add support for setting custom preferred languages on the Prompts tab, as well as adding Catalan to the list of languages (thanks @alarno!)
57+
- Add a button to delete MCP servers (thanks @hannesrudolph!)
58+
- Fix a bug where the button to copy the system prompt preview always copied the Code mode version
59+
- Fix a bug where the .roomodes file was not automatically created when adding custom modes from the Prompts tab
60+
- Allow setting a wildcard (`*`) to auto-approve all command execution (use with caution!)
61+
62+
## [3.3.21]
63+
64+
- Fix input box revert issue and configuration loss during profile switch (thanks @System233!)
65+
- Fix default preferred language for zh-cn and zh-tw (thanks @System233!)
66+
- Fix Mistral integration (thanks @d-oit!)
67+
- Feature to mention `@terminal` to pull terminal output into context (thanks Cline!)
68+
- Fix system prompt to make sure Roo knows about all available modes
69+
- Enable streaming mode for OpenAI o1
70+
71+
## [3.3.20]
72+
73+
- Support project-specific custom modes in a .roomodes file
74+
- Add more Mistral models (thanks @d-oit and @bramburn!)
75+
- By popular request, make it so Ask mode can't write to Markdown files and is purely for chatting with
76+
- Add a setting to control the number of open editor tabs to tell the model about (665 is probably too many!)
77+
- Fix race condition bug with entering API key on the welcome screen
978

1079
## [3.3.19]
1180

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ module.exports = {
3737
roots: ["<rootDir>/src", "<rootDir>/webview-ui/src"],
3838
modulePathIgnorePatterns: [".vscode-test"],
3939
reporters: [["jest-simple-dot-reporter", {}]],
40-
setupFiles: [],
40+
setupFiles: ["<rootDir>/src/__mocks__/jest.setup.ts"],
4141
}

knip.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"$schema": "https://unpkg.com/knip@latest/schema.json",
3+
"entry": ["src/extension.ts", "src/activate/index.ts", "webview-ui/src/index.tsx"],
4+
"project": ["src/**/*.ts", "webview-ui/src/**/*.{ts,tsx}"],
5+
"ignore": [
6+
"**/__mocks__/**",
7+
"**/__tests__/**",
8+
"**/test/**",
9+
"**/*.test.ts",
10+
"**/*.test.tsx",
11+
"**/stories/**",
12+
"coverage/**",
13+
"dist/**",
14+
"out/**",
15+
"bin/**",
16+
"src/activate/**",
17+
"src/exports/**",
18+
"src/extension.ts",
19+
".vscode-test.mjs"
20+
],
21+
"workspaces": {
22+
"webview-ui": {
23+
"entry": ["src/index.tsx"],
24+
"project": ["src/**/*.{ts,tsx}"]
25+
}
26+
}
27+
}

0 commit comments

Comments
 (0)