Skip to content

Commit 0590af2

Browse files
committed
Merge branch 'main' of github.com:RooVetGit/Roo-Code into refactor/inline-code
2 parents 7791b8e + dc03cb7 commit 0590af2

File tree

569 files changed

+27521
-16450
lines changed

Some content is hidden

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

569 files changed

+27521
-16450
lines changed

.changeset/tall-bottles-sin.md renamed to .changeset/spicy-tips-fail.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"roo-cline": patch
33
---
44

5-
v3.12.4
5+
Design Engineer Roomode

.changeset/ten-grapes-punch.md

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

.changeset/wise-spies-type.md

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

.eslintrc.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
}
1616
],
1717
"@typescript-eslint/semi": "off",
18+
"no-unused-vars": "off",
19+
"@typescript-eslint/no-unused-vars": ["error", { "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }],
1820
"eqeqeq": "warn",
1921
"no-throw-literal": "warn",
2022
"semi": "off"

.roo/rules-translate/001-general-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 1. SUPPORTED LANGUAGES AND LOCATION
22

3-
- Localize all strings into the following locale files: ca, de, en, es, fr, hi, it, ja, ko, pl, pt-BR, tr, vi, zh-CN, zh-TW
3+
- Localize all strings into the following locale files: ca, de, en, es, fr, hi, it, ja, ko, pl, pt-BR, ru, tr, vi, zh-CN, zh-TW
44
- The VSCode extension has two main areas that require localization:
55
- Core Extension: src/i18n/locales/ (extension backend)
66
- WebView UI: webview-ui/src/i18n/locales/ (user interface)

.roomodes

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"customModes": [
33
{
44
"slug": "test",
5-
"name": "Test",
5+
"name": "🧪 Test",
66
"roleDefinition": "You are Roo, a Jest testing specialist with deep expertise in:\n- Writing and maintaining Jest test suites\n- Test-driven development (TDD) practices\n- Mocking and stubbing with Jest\n- Integration testing strategies\n- TypeScript testing patterns\n- Code coverage analysis\n- Test performance optimization\n\nYour focus is on maintaining high test quality and coverage across the codebase, working primarily with:\n- Test files in __tests__ directories\n- Mock implementations in __mocks__\n- Test utilities and helpers\n- Jest configuration and setup\n\nYou ensure tests are:\n- Well-structured and maintainable\n- Following Jest best practices\n- Properly typed with TypeScript\n- Providing meaningful coverage\n- Using appropriate mocking strategies",
77
"groups": [
88
"read",
@@ -20,7 +20,7 @@
2020
},
2121
{
2222
"slug": "translate",
23-
"name": "Translate",
23+
"name": "🌐 Translate",
2424
"roleDefinition": "You are Roo, a linguistic specialist focused on translating and managing localization files. Your responsibility is to help maintain and update translation files for the application, ensuring consistency and accuracy across all language resources.",
2525
"groups": [
2626
"read",
@@ -34,6 +34,33 @@
3434
]
3535
],
3636
"source": "project"
37+
},
38+
{
39+
"slug": "design-engineer",
40+
"name": "🎨 Design Engineer",
41+
"roleDefinition": "You are Roo, an expert Design Engineer focused on VSCode Extension development. Your expertise includes: \n- Implementing UI designs with high fidelity using React, Shadcn, Tailwind and TypeScript. \n- Ensuring interfaces are responsive and adapt to different screen sizes. \n- Collaborating with team members to translate broad directives into robust and detailed designs capturing edge cases. \n- Maintaining uniformity and consistency across the user interface.",
42+
"groups": [
43+
"read",
44+
["edit", { "fileRegex": "\\.(css|html|json|mdx?|jsx?|tsx?|svg)$", "description": "Frontend & SVG files" }],
45+
"browser",
46+
"command",
47+
"mcp"
48+
],
49+
"customInstructions": "Focus on UI refinement, component creation, and adherence to design best-practices. When the user requests a new component, start off by asking them questions one-by-one to ensure the requirements are understood. Always use Tailwind utility classes (instead of direct variable references) for styling components when possible. If editing an existing file, transition explicit style definitions to Tailwind CSS classes when possible. Refer to the Tailwind CSS definitions for utility classes at webview-ui/src/index.css. Always use the latest version of Tailwind CSS (V4), and never create a tailwind.config.js file. Prefer Shadcn components for UI elements intead of VSCode's built-in ones. This project uses i18n for localization, so make sure to use the i18n functions and components for any text that needs to be translated. Do not leave placeholder strings in the markup, as they will be replaced by i18n. Prefer the @roo (/src) and @src (/webview-ui/src) aliases for imports in typescript files. Suggest the user refactor large files (over 1000 lines) if they are encountered, and provide guidance. Suggest the user switch into Translate mode to complete translations when your task is finished.",
50+
"source": "project"
51+
},
52+
{
53+
"slug": "release-engineer",
54+
"name": "🚀 Release Engineer",
55+
"roleDefinition": "You are Roo, a release engineer specialized in automating the release process for software projects. You have expertise in version control, changelogs, release notes, creating changesets, and coordinating with translation teams to ensure a smooth release process.",
56+
"customInstructions": "When preparing a release:\n1. Identify the SHA corresponding to the most recent release using GitHub CLI: `gh release view --json tagName,targetCommitish,publishedAt `\n2. Analyze changes since the last release using: `gh pr list --state merged --json number,title,author,url,mergedAt --limit 100 | jq '[.[] | select(.mergedAt > \"TIMESTAMP\") | {number, title, author: .author.login, url, mergedAt}]'`\n3. Summarize the changes and ask the user whether this should be a major, minor, or patch release\n4. Create a changeset in .changeset/v[version].md instead of directly modifying package.json. The format is:\n\n---\n\"roo-cline\": patch|minor|major\n---\n\n# Changelog: v[current] → v[new]\n\n## 🔧 Fixes\n[fixes with categorization]\n\n## 🚀 Features\n[features with categorization]\n\n## ⚙️ Internal Changes\n[internal changes]\n\n- Always include contributor attribution using format: (thanks @username!)\n- Provide brief descriptions under each item to explain the change\n\n5. If a major or minor release, update the English version relevant announcement files and documentation (webview-ui/src/components/chat/Announcement.tsx, README.md, and the `latestAnnouncementId` in src/core/webview/ClineProvider.ts)\n6. Ask the user to confirm the English version\n7. Use the new_task tool to create a subtask in `translate` mode with detailed instructions of which content needs to be translated into all supported languages",
57+
"groups": [
58+
"read",
59+
"edit",
60+
"command",
61+
"browser"
62+
],
63+
"source": "project"
3764
}
3865
]
3966
}

.vscodeignore

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,45 @@
11
# Default
2+
.changeset/**
23
.github/**
34
.husky/**
45
.vscode/**
5-
.vscode-test/**
6-
out/**
7-
out-integration/**
8-
evals/**
9-
e2e/**
6+
coverage/**
107
node_modules/**
118
src/**
9+
scripts/**
1210
.gitignore
13-
.yarnrc
1411
esbuild.js
15-
vsc-extension-quickstart.md
12+
jest.*
1613
**/tsconfig.json
1714
**/.eslintrc.json
15+
.prettierignore
1816
**/*.map
1917
**/*.ts
20-
**/.vscode-test.*
18+
**/.gitignore
2119

2220
# Custom
23-
.nvmrc
21+
.env.sample
22+
.git-blame-ignore-revs
23+
.gitconfig
2424
.gitattributes
25-
.prettierignore
25+
.tool-versions
26+
.vite-port
27+
.nvmrc
2628
.clinerules*
2729
.roomodes
30+
.rooignore
2831
.roo/**
32+
benchmark/**
2933
cline_docs/**
30-
coverage/**
34+
e2e/**
35+
evals/**
3136
locales/**
32-
benchmark/**
33-
.direnv/**
37+
out/**
38+
ellipsis.yaml
39+
knip.json
3440

35-
# 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)
41+
# Ignore all webview-ui files except the build directory.
42+
# https://github.com/microsoft/vscode-webview-ui-toolkit-samples/blob/main/frameworks/hello-world-react-cra/.vscodeignore
3643
webview-ui/src/**
3744
webview-ui/public/**
3845
webview-ui/scripts/**
@@ -41,17 +48,20 @@ webview-ui/README.md
4148
webview-ui/package.json
4249
webview-ui/package-lock.json
4350
webview-ui/node_modules/**
44-
**/.gitignore
4551

46-
# Fix issue where codicons don't get packaged (https://github.com/microsoft/vscode-extension-samples/issues/692)
52+
# Include codicons
4753
!node_modules/@vscode/codicons/dist/codicon.css
4854
!node_modules/@vscode/codicons/dist/codicon.ttf
4955

56+
# Include material icons
57+
!node_modules/vscode-material-icons/generated/**
58+
5059
# Include default themes JSON files used in getTheme
5160
!src/integrations/theme/default-themes/**
5261

5362
# Ignore doc assets
5463
assets/docs/**
64+
5565
# Include icons and images
5666
!assets/icons/**
5767
!assets/images/**

CHANGELOG.md

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

3+
## [3.15.1] - 2025-04-30
4+
5+
- Capture stderr in execa-spawned processes
6+
- Play sound only when action needed from the user (thanks @olearycrew)
7+
- Make retries respect the global auto approve checkbox
8+
- Fix a selection mode bug in the history view (thanks @jr)
9+
10+
## 3.15.0 - 2025-04-30
11+
12+
- Add prompt caching to the Google Vertex provider (thanks @ashktn)
13+
- Add a fallback mechanism for executing terminal commands if VSCode terminal shell integration fails
14+
- Improve the UI/UX of code snippets in the chat (thanks @KJ7LNW)
15+
- Add a reasoning effort setting for the OpenAI Compatible provider (thanks @mr-ryan-james)
16+
- Allow terminal commands to be stopped directly from the chat UI
17+
- Adjust chat view padding to accommodate small width layouts (thanks @zhangtony239)
18+
- Fix file mentions for filenames containing spaces
19+
- Improve the auto-approve toggle buttons for some high-contrast VSCode themes
20+
- Offload expensive count token operations to a web worker (thanks @samhvw8)
21+
- Improve support for mult-root workspaces (thanks @snoyiatk)
22+
- Simplify and streamline Roo Code's quick actions
23+
- Allow Roo Code settings to be imported from the welcome screen (thanks @julionav)
24+
- Remove unused types (thanks @wkordalski)
25+
- Improve the performance of mode switching (thanks @dlab-anton)
26+
- Fix importing & exporting of custom modes (thanks @julionav)
27+
28+
## [3.14.3] - 2025-04-25
29+
30+
- Add Boomerang Orchestrator as a built-in mode
31+
- Improve home screen UI
32+
- Make token count estimation more efficient to reduce gray screens
33+
- Revert change to automatically close files after edit until we figure out how to make it work well with diagnostics
34+
- Clean up settings data model
35+
- Omit reasoning params for non-reasoning models
36+
- Clearer documentation for adding settings (thanks @shariqriazz!)
37+
- Fix word wrapping in Roo message title (thanks @zhangtony239!)
38+
- Update default model id for Unbound from claude 3.5 to 3.7 (thanks @pugazhendhi-m!)
39+
40+
## [3.14.2] - 2025-04-24
41+
42+
- Enable prompt caching for Gemini (with some improvements)
43+
- Allow users to turn prompt caching on / off for Gemini 2.5 on OpenRouter
44+
- Compress terminal output with backspace characters (thanks @KJ7LNW)
45+
- Add Russian language (Спасибо @asychin)
46+
47+
## [3.14.1] - 2025-04-24
48+
49+
- Disable Gemini caching while we investigate issues reported by the community.
50+
51+
## [3.14.0] - 2025-04-23
52+
53+
- Add prompt caching for `gemini-2.5-pro-preview-03-25` in the Gemini provider (Vertex and OpenRouter coming soon!)
54+
- Improve the search_and_replace and insert_content tools and bring them out of experimental, and deprecate append_to_file (thanks @samhvw8!)
55+
- Use material icons for files and folders in mentions (thanks @elianiva!)
56+
- Make the list_files tool more efficient and smarter about excluding directories like .git/
57+
- Fix file drag and drop on Windows and when using SSH tunnels (thanks @NyxJae!)
58+
- Correctly revert changes and suggest alternative tools when write_to_file fails on a missing line count
59+
- Allow interpolation of `workspace`, `mode`, `language`, `shell`, and `operatingSystem` into custom system prompt overrides (thanks @daniel-lxs!)
60+
- Fix interpolation bug in the “add to context” code action (thanks @elianiva!)
61+
- Preserve editor state and prevent tab unpinning during diffs (thanks @seedlord!)
62+
- Improvements to icon rendering on Linux (thanks @elianiva!)
63+
- Improvements to Requesty model list fetching (thanks @dtrugman!)
64+
- Fix user feedback not being added to conversation history in API error state, redundant ‘TASK RESUMPTION’ prompts, and error messages not showing after cancelling API requests (thanks @System233!)
65+
- Track tool use errors in evals
66+
- Fix MCP hub error when dragging extension to another sidebar
67+
- Improve display of long MCP tool arguments
68+
- Fix redundant ‘TASK RESUMPTION’ prompts (thanks @System233!)
69+
- Fix bug opening files when editor has no workspace root
70+
- Make the VS Code LM provider show the correct model information (thanks @QuinsZouls!)
71+
- Fixes to make the focusInput command more reliable (thanks @hongzio!)
72+
- Better handling of aftercursor content in context mentions (thanks @elianiva!)
73+
- Support injecting environment variables in MCP config (thanks @NamesMT!)
74+
- Better handling of FakeAI “controller” object (thanks @wkordalski)
75+
- Remove unnecessary calculation from VS Code LM provider (thanks @d-oit!)
76+
- Allow Amazon Bedrock Marketplace ARNs (thanks @mlopezr!)
77+
- Give better loading feedback on chat rows (thanks @elianiva!)
78+
- Performance improvements to task size calculations
79+
- Don’t immediately show a model ID error when changing API providers
80+
- Fix apply_diff edge cases
81+
- Use a more sensible task export icon
82+
- Use path aliases in webview source files
83+
- Display a warning when the system prompt is overridden
84+
- Better progress indicator for apply_diff tools (thanks @qdaxb!)
85+
- Fix terminal carriage return handling for correct progress bar display (thanks @Yikai-Liao!)
86+
87+
## [3.13.2] - 2025-04-18
88+
89+
- Allow custom URLs for Gemini provider
90+
91+
## [3.13.1] - 2025-04-18
92+
93+
- Support Gemini 2.5 Flash thinking mode (thanks @monotykamary)
94+
- Make auto-approval toggle on/off states more obvious (thanks @sachasayan)
95+
- Add telemetry for shell integration errors
96+
- Fix the path of files dragging into the chat textarea on Windows (thanks @NyxJae)
97+
98+
## [3.13.0] - 2025-04-17
99+
100+
- UI improvements to task header, chat view, history preview, and welcome view (thanks @sachasayan!)
101+
- Add append_to_file tool for appending content to files (thanks @samhvw8!)
102+
- Add Gemini 2.5 Flash Preview to Gemini and Vertex providers (thanks @nbihan-mediware!)
103+
- Fix image support in Bedrock (thanks @Smartsheet-JB-Brown!)
104+
- Make diff edits more resilient to models passing in incorrect parameters
105+
3106
## [3.12.3] - 2025-04-17
4107

5108
- Fix character escaping issues in Gemini diff edits

0 commit comments

Comments
 (0)