Skip to content

Commit 24f8d56

Browse files
committed
Merge branch 'main' into fix/prevent-empty-mode-names-issue-5766
2 parents 48b7d76 + 603c6c6 commit 24f8d56

File tree

640 files changed

+51769
-19013
lines changed

Some content is hidden

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

640 files changed

+51769
-19013
lines changed

.gitattributes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,17 @@ src/assets/docs/demo.gif filter=lfs diff=lfs merge=lfs -text
44

55
# Test snapshot files - mark as linguist-generated to exclude from GitHub language statistics
66
*.snap linguist-generated=true
7+
8+
# Non-English translation files - mark as linguist-generated to exclude from GitHub language statistics
9+
# Root locales directory (contains only non-English translations)
10+
locales/** linguist-generated=true
11+
12+
# Mark all locale directories as generated first
13+
src/i18n/locales/** linguist-generated=true
14+
webview-ui/src/i18n/locales/** linguist-generated=true
15+
16+
# Then explicitly mark English directories as NOT generated (override the above)
17+
src/i18n/locales/en/** linguist-generated=false
18+
webview-ui/src/i18n/locales/en/** linguist-generated=false
19+
20+
# This approach uses gitattributes' last-match-wins rule to exclude English while including all other locales

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ body:
3838
- OpenAI Compatible
3939
- OpenRouter
4040
- Requesty
41+
- SambaNova
4142
- Unbound
4243
- VS Code Language Model API
4344
- xAI (Grok)

.github/workflows/update-contributors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Update contributors and format
2525
run: |
2626
pnpm update-contributors
27-
npx prettier --write README.md
27+
npx prettier --write README.md locales/*/README.md
2828
if git diff --quiet; then echo "changes=false" >> $GITHUB_OUTPUT; else echo "changes=true" >> $GITHUB_OUTPUT; fi
2929
id: check-changes
3030
env:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ dist
33
out
44
out-*
55
node_modules
6+
package-lock.json
67
coverage/
78
mock/
89

.roo/commands/release.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
description: "Create a new release of the Roo Code extension"
3+
argument-hint: patch | minor | major
4+
---
5+
6+
1. Identify the SHA corresponding to the most recent release using GitHub CLI: `gh release view --json tagName,targetCommitish,publishedAt`
7+
2. Analyze changes since the last release using: `gh pr list --state merged --json number,title,author,url,mergedAt,closingIssuesReferences --limit 1000 -q '[.[] | select(.mergedAt > "TIMESTAMP") | {number, title, author: .author.login, url, mergedAt, issues: .closingIssuesReferences}] | sort_by(.number)'`
8+
3. For each PR with linked issues, fetch the issue details to get the issue reporter: `gh issue view ISSUE_NUMBER --json number,author -q '{number, reporter: .author.login}'`
9+
4. Summarize the changes. If the user did not specify, ask them whether this should be a major, minor, or patch release.
10+
5. Create a changeset in .changeset/v[version].md instead of directly modifying package.json. The format is:
11+
12+
```
13+
---
14+
"roo-cline": patch|minor|major
15+
---
16+
[list of changes]
17+
```
18+
19+
- Always include contributor attribution using format: (thanks @username!)
20+
- For PRs that close issues, also include the issue number and reporter: "- Fix: Description (#123 by @reporter, PR by @contributor)"
21+
- For PRs without linked issues, use the standard format: "- Add support for feature (thanks @contributor!)"
22+
- Provide brief descriptions of each item to explain the change
23+
- Order the list from most important to least important
24+
- Example formats:
25+
- With issue: "- Fix: Resolve memory leak in extension (#456 by @issueReporter, PR by @prAuthor)"
26+
- Without issue: "- Add support for Gemini 2.5 Pro caching (thanks @contributor!)"
27+
- CRITICAL: Include EVERY SINGLE PR in the changeset - don't assume you know which ones are important. Count the total PRs to verify completeness and cross-reference the list to ensure nothing is missed.
28+
29+
6. If a major or minor release:
30+
- Ask the user what the three most important areas to highlight are in the release
31+
- 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)
32+
- Ask the user to confirm that the English version looks good to them before proceeding
33+
- 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 (The READMEs as well as the translation strings)
34+
7. Create a new branch for the release preparation: `git checkout -b release/v[version]`
35+
8. Commit and push the changeset file and any documentation updates to the repository: `git add . && git commit -m "chore: add changeset for v[version]" && git push origin release/v[version]`
36+
9. Create a pull request for the release: `gh pr create --title "Release v[version]" --body "Release preparation for v[version]. This PR includes the changeset and any necessary documentation updates." --base main --head release/v[version]`
37+
10. The GitHub Actions workflow will automatically:
38+
- Create a version bump PR when changesets are merged to main
39+
- Update the CHANGELOG.md with proper formatting
40+
- Publish the release when the version bump PR is merged

.roo/roomotes.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
version: "1.0"
2+
3+
commands:
4+
- name: Pull latest changes
5+
run: git pull
6+
timeout: 60
7+
execution_phase: task_run
8+
- name: Install dependencies
9+
run: pnpm install
10+
timeout: 60
11+
execution_phase: task_run
12+
13+
github_events:
14+
- event: issues.opened
15+
action:
16+
name: github.issue.fix
17+
- event: issue_comment.created
18+
action:
19+
name: github.issue.comment.respond
20+
- event: pull_request.opened
21+
action:
22+
name: github.pr.review
23+
- event: pull_request.opened
24+
action:
25+
name: general.task
26+
prompt: |
27+
1. Run the script `node scripts/find-missing-translations.js` and carefully review its output for any missing translations.
28+
2. If the script reports missing translations, switch into `translate` mode and add them in all supported languages.
29+
3. If you've added new translations, commit and push them to the existing PR.
30+
4. If you get a permission error trying to push to the PR just give up (i.e don't create a new PR instead).
31+
- event: pull_request_review_comment.created
32+
action:
33+
name: github.pr.comment.respond

0 commit comments

Comments
 (0)