Skip to content

Commit 0455491

Browse files
authored
Merge branch 'RooCodeInc:main' into main
2 parents f2907ea + 347a292 commit 0455491

File tree

462 files changed

+16167
-21291
lines changed

Some content is hidden

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

462 files changed

+16167
-21291
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ __tests__
6161
# Ignore development config files
6262
.eslintrc*
6363
.prettierrc*
64-
jest.config*
6564

6665
# Ignore most directories except what we need for the build
6766
apps/

.github/actions/setup-node-pnpm/action.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,21 @@ runs:
2727
uses: pnpm/action-setup@v4
2828
with:
2929
version: ${{ inputs.pnpm-version }}
30+
- name: Get pnpm store directory
31+
shell: bash
32+
run: |
33+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
34+
- name: Setup pnpm cache
35+
uses: actions/cache@v4
36+
with:
37+
path: ${{ env.STORE_PATH }}
38+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
39+
restore-keys: |
40+
${{ runner.os }}-pnpm-store-
3041
- name: Setup Node.js
3142
uses: actions/setup-node@v4
3243
with:
3344
node-version: ${{ inputs.node-version }}
34-
cache: "pnpm"
3545
- name: Install dependencies
3646
if: ${{ inputs.skip-install != 'true' }}
3747
shell: bash

.github/workflows/evals.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
EOF
4242
4343
- name: Build image
44-
uses: docker/build-push-action@v5
44+
uses: docker/build-push-action@v6
4545
with:
4646
context: .
4747
file: packages/evals/Dockerfile.runner

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ docs/_site/
3232

3333
# Logging
3434
logs
35+
*.log
3536

3637
# Vite development
3738
.vite-port

.roo/rules-issue-writer/1_workflow.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,12 @@
8888
- read_file on specific files to understand implementation
8989
- search_files for specific error messages or patterns
9090

91+
Formulate an independent technical plan to solve the problem, disregarding any solution proposed by the issue author.
92+
9193
Document all relevant findings including:
9294
- File paths and line numbers
9395
- Current implementation details
96+
- Your proposed implementation plan
9497
- Related code that might be affected
9598
</instructions>
9699
</step>
@@ -134,12 +137,13 @@
134137
[paste any error messages or logs]
135138
```
136139

137-
## Technical Context (from codebase exploration)
140+
## Technical Analysis
138141

139142
Based on my investigation:
140143
- The issue appears to be in [file:line]
141144
- Related code: [brief description with file references]
142145
- Possible cause: [technical explanation]
146+
- **Proposed Fix:** [Detail the fix from your implementation plan.]
143147
```
144148

145149
For Feature Requests, format as:
@@ -156,7 +160,7 @@
156160

157161
## How should this be solved?
158162

159-
[Detailed solution description]
163+
[Based on your independent analysis, describe your proposed solution here. Disregard the author's proposal.]
160164

161165
**What will change:**
162166
- [Specific change 1]
@@ -185,13 +189,14 @@
185189
**Main challenges:** [technical difficulties]
186190
**Dependencies:** [what's needed]
187191

188-
## Technical Implementation Details (from codebase exploration)
192+
## Technical Implementation Plan
189193

190-
Based on my analysis:
194+
Based on my analysis from the previous step:
191195
- Key files to modify: [list with paths]
192196
- Current architecture: [brief description]
193197
- Integration points: [where this fits]
194198
- Similar patterns in codebase: [examples]
199+
- Implementation Steps: [Provide a detailed, step-by-step guide for your proposed solution.]
195200

196201
## Technical Considerations
197202

.roo/rules-issue-writer/5_github_mcp_tool_usage.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@
221221
<post_creation_tools>
222222
<tool name="add_issue_comment">
223223
<when_to_use>
224-
Use if user wants to add additional information after creation.
225-
Also use to link related issues.
224+
ONLY Use if user wants to add additional information after creation.
225+
226226
</when_to_use>
227227
<example>
228228
<use_mcp_tool>
@@ -233,7 +233,7 @@
233233
"owner": "RooCodeInc",
234234
"repo": "Roo-Code",
235235
"issue_number": 456,
236-
"body": "Related to #123 - both issues affect dark theme visibility"
236+
"body": "Blah blah blah, additional context or comments."
237237
}
238238
</arguments>
239239
</use_mcp_tool>

.roo/rules/rules.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
- Before attempting completion, always make sure that any code changes have test coverage
66
- Ensure all tests pass before submitting changes
7+
- The vitest framework is used for testing; the `describe`, `test`, `it`, etc functions are defined by default in `tsconfig.json` and therefore don't need to be imported
8+
- Tests must be run from the same directory as the `package.json` file that specifies `vitest` in `devDependencies`
79

810
2. Lint Rules:
911

.roomodes

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ customModes:
2828
- slug: test
2929
name: 🧪 Test
3030
roleDefinition: >-
31-
You are Roo, a Jest testing specialist with deep expertise in:
32-
- Writing and maintaining Jest test suites
31+
You are Roo, a Vitest testing specialist with deep expertise in:
32+
- Writing and maintaining Vitest test suites
3333
- Test-driven development (TDD) practices
34-
- Mocking and stubbing with Jest
34+
- Mocking and stubbing with Vitest
3535
- Integration testing strategies
3636
- TypeScript testing patterns
3737
- Code coverage analysis
@@ -41,21 +41,23 @@ customModes:
4141
- Test files in __tests__ directories
4242
- Mock implementations in __mocks__
4343
- Test utilities and helpers
44-
- Jest configuration and setup
44+
- Vitest configuration and setup
4545

4646
You ensure tests are:
4747
- Well-structured and maintainable
48-
- Following Jest best practices
48+
- Following Vitest best practices
4949
- Properly typed with TypeScript
5050
- Providing meaningful coverage
5151
- Using appropriate mocking strategies
52+
whenToUse: >-
53+
Use this mode when you need to write, modify, or maintain tests for the codebase.
5254
groups:
5355
- read
5456
- browser
5557
- command
5658
- - edit
57-
- fileRegex: (__tests__/.*|__mocks__/.*|\.test\.(ts|tsx|js|jsx)$|/test/.*|jest\.config\.(js|ts)$)
58-
description: Test files, mocks, and Jest configuration
59+
- fileRegex: (__tests__/.*|__mocks__/.*|\.test\.(ts|tsx|js|jsx)$|\.spec\.(ts|tsx|js|jsx)$|/test/.*|vitest\.config\.(js|ts)$|vitest\.setup\.(js|ts)$)
60+
description: Test files, mocks, and Vitest configuration
5961
customInstructions: |-
6062
When writing tests:
6163
- Always use describe/it blocks for clear test organization
@@ -66,6 +68,8 @@ customModes:
6668
- Ensure mocks are properly typed
6769
- Verify both positive and negative test cases
6870
- Always use data-testid attributes when testing webview-ui
71+
- The vitest framework is used for testing; the `describe`, `test`, `it`, etc functions are defined by default in `tsconfig.json` and therefore don't need to be imported
72+
- Tests must be run from the same directory as the `package.json` file that specifies `vitest` in `devDependencies`
6973
- slug: design-engineer
7074
name: 🎨 Design Engineer
7175
roleDefinition: >-

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Roo Code Changelog
22

3+
## [3.21.0] - 2025-06-17
4+
5+
- Add Roo Marketplace to make it easy to discover and install great MCPs and modes!
6+
- Add Gemini 2.5 models (Pro, Flash and Flash Lite) (thanks @daniel-lxs!)
7+
- Add support for Excel (.xlsx) files in tools (thanks @chrarnoldus!)
8+
- Add max tokens checkbox option for OpenAI compatible provider (thanks @AlexandruSmirnov!)
9+
- Update provider models and prices for Groq & Mistral (thanks @KanTakahiro!)
10+
- Add proper error handling for API conversation history issues (thanks @KJ7LNW!)
11+
- Fix ambiguous model id error (thanks @elianiva!)
12+
- Fix save/discard/revert flow for Prompt Settings (thanks @hassoncs!)
13+
- Fix codebase indexing alignment with list-files hidden directory filtering (thanks @daniel-lxs!)
14+
- Fix subtask completion mismatch (thanks @feifei325!)
15+
- Fix Windows path normalization in MCP variable injection (thanks @daniel-lxs!)
16+
- Update marketplace branding to 'Roo Marketplace' (thanks @SannidhyaSah!)
17+
- Refactor to more consistent history UI (thanks @elianiva!)
18+
- Adjust context menu positioning to be near Copilot
19+
- Update evals Docker setup to work on Windows (thanks @StevenTCramer!)
20+
- Include current working directory in terminal details
21+
- Encourage use of start_line in multi-file diff to match legacy diff
22+
- Always focus the panel when clicked to ensure menu buttons are visible (thanks @hassoncs!)
23+
324
## [3.20.3] - 2025-06-13
425

526
- Resolve diff editor race condition in multi-monitor setups (thanks @daniel-lxs!)

MONOREPO.md

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)