Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit d3028c3

Browse files
committed
Merge origin/main into vk/6325-multi-question and resolve conflicts
2 parents 5521e0d + f97a5c2 commit d3028c3

740 files changed

Lines changed: 44069 additions & 35045 deletions

File tree

Some content is hidden

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

.github/workflows/website-deploy.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
- 'apps/web-roo-code/**'
99
workflow_dispatch:
1010

11+
concurrency:
12+
group: deploy-roocode-com
13+
cancel-in-progress: true
14+
1115
env:
1216
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
1317
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
@@ -36,8 +40,17 @@ jobs:
3640
uses: actions/checkout@v4
3741
- name: Setup Node.js and pnpm
3842
uses: ./.github/actions/setup-node-pnpm
43+
- name: Run lint
44+
run: pnpm lint
45+
working-directory: apps/web-roo-code
46+
- name: Run type check
47+
run: pnpm check-types
48+
working-directory: apps/web-roo-code
49+
- name: Run build
50+
run: pnpm build
51+
working-directory: apps/web-roo-code
3952
- name: Install Vercel CLI
40-
run: npm install --global vercel@canary
53+
run: npm install --global vercel@latest
4154
- name: Pull Vercel Environment Information
4255
run: npx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
4356
- name: Build Project Artifacts

.github/workflows/website-preview.yml

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- "apps/web-roo-code/**"
1212
workflow_dispatch:
1313

14+
concurrency:
15+
group: preview-roocode-com-${{ github.ref }}
16+
cancel-in-progress: true
17+
1418
env:
1519
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
1620
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
@@ -39,8 +43,17 @@ jobs:
3943
uses: actions/checkout@v4
4044
- name: Setup Node.js and pnpm
4145
uses: ./.github/actions/setup-node-pnpm
46+
- name: Run lint
47+
run: pnpm lint
48+
working-directory: apps/web-roo-code
49+
- name: Run type check
50+
run: pnpm check-types
51+
working-directory: apps/web-roo-code
52+
- name: Run build
53+
run: pnpm build
54+
working-directory: apps/web-roo-code
4255
- name: Install Vercel CLI
43-
run: npm install --global vercel@canary
56+
run: npm install --global vercel@latest
4457
- name: Pull Vercel Environment Information
4558
run: npx vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
4659
- name: Build Project Artifacts
@@ -70,15 +83,20 @@ jobs:
7083
comment.body.includes(commentIdentifier)
7184
);
7285
73-
if (existingComment) {
74-
return;
75-
}
76-
7786
const comment = commentIdentifier + '\n🚀 **Preview deployed!**\n\nYour changes have been deployed to Vercel:\n\n**Preview URL:** ' + deploymentUrl + '\n\nThis preview will be updated automatically when you push new commits to this PR.';
7887
79-
await github.rest.issues.createComment({
80-
owner: context.repo.owner,
81-
repo: context.repo.repo,
82-
issue_number: context.issue.number,
83-
body: comment
84-
});
88+
if (existingComment) {
89+
await github.rest.issues.updateComment({
90+
owner: context.repo.owner,
91+
repo: context.repo.repo,
92+
comment_id: existingComment.id,
93+
body: comment
94+
});
95+
} else {
96+
await github.rest.issues.createComment({
97+
owner: context.repo.owner,
98+
repo: context.repo.repo,
99+
issue_number: context.issue.number,
100+
body: comment
101+
});
102+
}

.roo/commands/cli-release.md

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,58 @@ mode: code
4848
- Include links to relevant source files where helpful
4949
- Describe changes from the user's perspective
5050

51-
5. Commit the version bump and changelog update:
51+
5. Create a release branch and commit the changes:
5252

5353
```bash
54+
# Ensure you're on main and up to date
55+
git checkout main
56+
git pull origin main
57+
58+
# Create a new branch for the release
59+
git checkout -b cli-release-v<version>
60+
61+
# Commit the version bump and changelog update
5462
git add apps/cli/package.json apps/cli/CHANGELOG.md
5563
git commit -m "chore(cli): prepare release v<version>"
64+
65+
# Push the branch to origin
66+
git push -u origin cli-release-v<version>
5667
```
5768

58-
6. Run the release script from the monorepo root:
69+
6. Create a pull request for the release:
5970

6071
```bash
72+
gh pr create --title "chore(cli): prepare release v<version>" \
73+
--body "## CLI Release v<version>
74+
75+
This PR prepares the CLI release v<version>.
76+
77+
### Changes
78+
- Version bump in package.json
79+
- Changelog update
80+
81+
### Checklist
82+
- [ ] Version number is correct
83+
- [ ] Changelog entry is complete and accurate
84+
- [ ] All CI checks pass" \
85+
--base main
86+
```
87+
88+
7. Wait for PR approval and merge:
89+
90+
- Request review if required by your workflow
91+
- Ensure CI checks pass
92+
- Merge the PR using: `gh pr merge --squash --delete-branch`
93+
- Or merge via the GitHub UI
94+
95+
8. Run the release script from the monorepo root:
96+
97+
```bash
98+
# Ensure you're on the updated main branch after the PR merge
99+
git checkout main
100+
git pull origin main
101+
102+
# Run the release script
61103
./apps/cli/scripts/release.sh
62104
```
63105

@@ -69,7 +111,7 @@ mode: code
69111
- Extract changelog content and include it in the GitHub release notes
70112
- Create the GitHub release with the tarball attached
71113

72-
7. After a successful release, verify:
114+
9. After a successful release, verify:
73115
- Check the release page: https://github.com/RooCodeInc/Roo-Code/releases
74116
- Verify the "What's New" section contains the changelog content
75117
- Test installation: `curl -fsSL https://raw.githubusercontent.com/RooCodeInc/Roo-Code/main/apps/cli/install.sh | sh`

AGENTS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# AGENTS.md
2+
3+
This file provides guidance to agents when working with code in this repository.
4+
5+
- Settings View Pattern: When working on `SettingsView`, inputs must bind to the local `cachedState`, NOT the live `useExtensionState()`. The `cachedState` acts as a buffer for user edits, isolating them from the `ContextProxy` source-of-truth until the user explicitly clicks "Save". Wiring inputs directly to the live state causes race conditions.

CHANGELOG.md

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

3+
## [3.46.1] - 2026-01-30
4+
5+
- Fix: Sanitize tool_use_id in tool_result blocks to match API history, preventing message format errors (PR #11131 by @daniel-lxs)
6+
- Add: Mode dropdown to change skill mode dynamically, allowing more flexible skill configuration (PR #11102 by @SannidhyaSah)
7+
- Add: Import settings option in the initial welcome screen for easier onboarding (#10992 by @emeraldcheshire, PR #10994 by @roomote)
8+
- Chore: Treat extension .env as optional to simplify development setup (PR #11116 by @hannesrudolph)
9+
10+
## [3.46.0] - 2026-01-30
11+
12+
![3.46.0 Release - Parallel Processing Power](/releases/3.46.0-release.png)
13+
14+
- Parallel tool calls enabled by default for improved performance (PR #11031 by @daniel-lxs)
15+
- Codex-inspired read_file refactor introduces indentation mode for extracting complete semantic code blocks without mid-function truncation, ideal when targeting specific lines from search results or errors (#10239 by @pwilkin, PR #10981 by @hannesrudolph)
16+
- Lossless terminal output with new read_command_output tool allows retrieving full command output from truncated executions with pagination and regex filtering (#10941 by @hannesrudolph, PR #10944 by @hannesrudolph)
17+
- New skill system replaces fetch_instructions with a dedicated skill tool and built-in skills for create-mcp-server and create-mode, with configurable skill locations and mandatory skill checks (#11062 by @hannesrudolph, PR #11084 by @hannesrudolph)
18+
- Skills management UI added to settings panel for managing workspace and global skills (#10513 by @SannidhyaSah, PR #10844 by @SannidhyaSah)
19+
- AI SDK provider migrations: Moonshot (PR #11063 by @daniel-lxs), DeepSeek (PR #11079 by @daniel-lxs), Cerebras (PR #11086 by @daniel-lxs), Groq (PR #11088 by @daniel-lxs), and Fireworks (PR #11118 by @daniel-lxs) now use the AI SDK for better streaming and tool support
20+
- Add OpenAI-compatible base provider infrastructure for AI SDK migrations (PR #11063 by @daniel-lxs)
21+
- Add AI SDK dependencies and message conversion utilities (PR #11047 by @daniel-lxs)
22+
- React Compiler integration added to webview-ui for automatic memoization and performance improvements (#9916 by @In-line, PR #9565 by @In-line)
23+
- Fix: Include reserved output tokens in task header percentage calculation (PR #11034 by @app/roomote)
24+
- Fix: Calculate header percentage based on available input space (PR #11054 by @app/roomote)
25+
- Fix: Prevent time-travel bug in parallel tool calling (PR #11046 by @daniel-lxs)
26+
- Docs: Clarify read_command_output search param should be omitted when not filtering (PR #11056 by @hannesrudolph)
27+
- Add pnpm serve command for code-server development (PR #10964 by @mrubens)
28+
- Update Next.js to latest version (PR #11108 by @cte)
29+
- Replace bespoke navigation menu with shadcn navigation menu on website (PR #11117 by @app/roomote)
30+
- Add Linear integration marketing page to website (PR #11028 by @app/roomote)
31+
32+
## [3.45.0] - 2026-01-27
33+
34+
![3.45.0 Release - Smart Code Folding](/releases/3.45.0-release.png)
35+
36+
- Smart Code Folding: Context condensation now intelligently preserves a lightweight map of files you worked on—function signatures, class declarations, and type definitions—so Roo can continue referencing them accurately after condensing. Files are prioritized by most recent access, with a ~50k character budget ensuring your latest work is always preserved. (Idea by @shariqriazz, PR #10942 by @hannesrudolph)
37+
38+
## [3.44.2] - 2026-01-27
39+
40+
- Re-enable parallel tool calling with new_task isolation safeguards (PR #11006 by @mrubens)
41+
- Fix worktree indexing by using relative paths in isPathInIgnoredDirectory (PR #11009 by @daniel-lxs)
42+
- Fix local model validation error for Ollama models (PR #10893 by @roomote)
43+
- Fix duplicate tool_call emission from Responses API providers (PR #11008 by @daniel-lxs)
44+
45+
## [3.44.1] - 2026-01-27
46+
47+
- Fix LiteLLM tool ID validation errors for Bedrock proxy (PR #10990 by @daniel-lxs)
48+
- Add temperature=0.9 and top_p=0.95 to zai-glm-4.7 model for better generation quality (PR #10945 by @sebastiand-cerebras)
49+
- Add quality checks to marketing site deployment workflows (PR #10959 by @mp-roocode)
50+
51+
## [3.44.0] - 2026-01-26
52+
53+
![3.44.0 Release - Worktrees](/releases/3.44.0-release.png)
54+
55+
- Add worktree selector and creation UX (PR #10940 by @brunobergher, thanks Cline!)
56+
- Improve subtask visibility and navigation in history and chat views (PR #10864 by @brunobergher)
57+
- Add wildcard support for MCP alwaysAllow configuration (PR #10948 by @app/roomote)
58+
- Fix: Prevent nested condensing from including previously-condensed content (PR #10985 by @hannesrudolph)
59+
- Fix: VS Code LM token counting returns 0 outside requests, breaking context condensing (#10968 by @srulyt, PR #10983 by @daniel-lxs)
60+
- Fix: Record truncation event when condensation fails but truncation succeeds (PR #10984 by @hannesrudolph)
61+
- Replace hyphen encoding with fuzzy matching for MCP tool names (PR #10775 by @daniel-lxs)
62+
- Remove MCP SERVERS section from system prompt for cleaner prompts (PR #10895 by @daniel-lxs)
63+
- new_task tool creates checkpoint the same way write_to_file does (PR #10982 by @daniel-lxs)
64+
- Update Fireworks provider with new models (#10674 by @hannesrudolph, PR #10679 by @ThanhNguyxn)
65+
- Fix: Truncate AWS Bedrock toolUseId to 64 characters (PR #10902 by @daniel-lxs)
66+
- Fix: Restore opaque background to settings section headers (PR #10951 by @app/roomote)
67+
- Fix: Remove unsupported Fireworks model tool fields (PR #10937 by @app/roomote)
68+
- Update and improve zh-TW Traditional Chinese locale and docs (PR #10953 by @PeterDaveHello)
69+
- Chore: Remove POWER_STEERING experiment remnants (PR #10980 by @hannesrudolph)
70+
71+
## [3.43.0] - 2026-01-23
72+
73+
![3.43.0 Release - Intelligent Context Condensation](/releases/3.43.0-release.png)
74+
75+
- Intelligent Context Condensation v2: New context condensation system that intelligently summarizes conversation history when approaching context limits, preserving important information while reducing token usage (PR #10873 by @hannesrudolph)
76+
- Improved context condensation with environment details, accurate token counts, and lazy evaluation for better performance (PR #10920 by @hannesrudolph)
77+
- Move condense prompt editor to Context Management tab for better discoverability and organization (PR #10909 by @hannesrudolph)
78+
- Update Z.AI models with new variants and pricing (#10859 by @ErdemGKSL, PR #10860 by @ErdemGKSL)
79+
- Add pnpm install:vsix:nightly command for easier nightly build installation (PR #10912 by @hannesrudolph)
80+
- Fix: Convert orphaned tool_results to text blocks after condensing to prevent API errors (PR #10927 by @daniel-lxs)
81+
- Fix: Auto-migrate v1 condensing prompt and handle invalid providers on import (PR #10931 by @hannesrudolph)
82+
- Fix: Use json-stream-stringify for pretty-printing MCP config files to prevent memory issues with large configs (#9862 by @Michaelzag, PR #9864 by @Michaelzag)
83+
- Fix: Correct Gemini 3 pricing for Flash and Pro models (#10432 by @rossdonald, PR #10487 by @roomote)
84+
- Fix: Skip thoughtSignature blocks during markdown export for cleaner output (#10199 by @rossdonald, PR #10932 by @rossdonald)
85+
- Fix: Duplicate model display for OpenAI Codex provider (PR #10930 by @roomote)
86+
- Remove diffEnabled and fuzzyMatchThreshold settings as they are no longer needed (#10648 by @hannesrudolph, PR #10298 by @hannesrudolph)
87+
- Remove MULTI_FILE_APPLY_DIFF experiment (PR #10925 by @hannesrudolph)
88+
- Remove POWER_STEERING experimental feature (PR #10926 by @hannesrudolph)
89+
- Remove legacy XML tool calling code (getToolDescription) for cleaner codebase (PR #10929 by @hannesrudolph)
90+
91+
## [3.42.0] - 2026-01-22
92+
93+
![3.42.0 Release - ChatGPT Usage Tracking](/releases/3.42.0-release.png)
94+
95+
- Added UI to track your ChatGPT usage limits in the OpenAI Codex provider (PR #10813 by @hannesrudolph)
96+
- Removed deprecated Claude Code provider (PR #10883 by @daniel-lxs)
97+
- Streamlined codebase by removing legacy XML tool calling functionality (#10848 by @hannesrudolph, PR #10841 by @hannesrudolph)
98+
- Standardize model selectors across all providers: Improved consistency of model selection UI (#10650 by @hannesrudolph, PR #10294 by @hannesrudolph)
99+
- Enable prompt caching for Cerebras zai-glm-4.7 model (#10601 by @jahanson, PR #10670 by @app/roomote)
100+
- Add Kimi K2 thinking model to VertexAI provider (#9268 by @diwakar-s-maurya, PR #9269 by @app/roomote)
101+
- Warn users when too many MCP tools are enabled (PR #10772 by @app/roomote)
102+
- Migrate context condensing prompt to customSupportPrompts (PR #10881 by @hannesrudolph)
103+
- Unify export path logic and default to Downloads folder (PR #10882 by @hannesrudolph)
104+
- Performance improvements for webview state synchronization (PR #10842 by @hannesrudolph)
105+
- Fix: Handle mode selector empty state on workspace switch (#10660 by @hannesrudolph, PR #9674 by @app/roomote)
106+
- Fix: Resolve race condition in context condensing prompt input (PR #10876 by @hannesrudolph)
107+
- Fix: Prevent double emission of text/reasoning in OpenAI native and codex handlers (PR #10888 by @hannesrudolph)
108+
- Fix: Prevent task abortion when resuming via IPC/bridge (PR #10892 by @cte)
109+
- Fix: Enforce file restrictions for all editing tools (PR #10896 by @app/roomote)
110+
- Fix: Remove custom condensing model option (PR #10901 by @hannesrudolph)
111+
- Unify user content tags to <user_message> for consistent prompt formatting (#10658 by @hannesrudolph, PR #10723 by @app/roomote)
112+
- Clarify linked SKILL.md file handling in prompts (PR #10907 by @hannesrudolph)
113+
- Fix: Padding on Roo Code Cloud teaser (PR #10889 by @app/roomote)
114+
115+
## [3.41.3] - 2026-01-18
116+
117+
- Fix: Thinking block word-breaking to prevent horizontal scroll in the chat UI (PR #10806 by @roomote)
118+
- Add Claude-like CLI flags and authentication fixes for the Roo Code CLI (PR #10797 by @cte)
119+
- Improve CLI authentication by using a redirect instead of a fetch (PR #10799 by @cte)
120+
- Fix: Roo Code Router fixes for the CLI (PR #10789 by @cte)
121+
- Release CLI v0.0.48 with latest improvements (PR #10800 by @cte)
122+
- Release CLI v0.0.47 (PR #10798 by @cte)
123+
- Revert E2E tests enablement to address stability issues (PR #10794 by @cte)
124+
125+
## [3.41.2] - 2026-01-16
126+
127+
- Add button to open markdown in VSCode preview for easier reading of formatted content (PR #10773 by @brunobergher)
128+
- Fix: Reset invalid model selection when using OpenAI Codex provider (PR #10777 by @hannesrudolph)
129+
- Fix: Add openai-codex to providers that don't require an API key (PR #10786 by @roomote)
130+
- Fix: Detect Gemini models with space-separated names for proper thought signature injection in LiteLLM (PR #10787 by @daniel-lxs)
131+
3132
## [3.41.1] - 2026-01-16
4133

5134
![3.41.1 Release - Aggregated Subtask Costs](/releases/3.41.1-release.png)

apps/cli/CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,41 @@ All notable changes to the `@roo-code/cli` package will be documented in this fi
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.0.49] - 2026-01-18
9+
10+
### Added
11+
12+
- **Output Format Options**: New `--output-format` flag to control CLI output format for scripting and automation:
13+
- `text` (default) - Human-readable interactive output
14+
- `json` - Single JSON object with all events and final result at task completion
15+
- `stream-json` - NDJSON (newline-delimited JSON) for real-time streaming of events
16+
- See [`json-events.ts`](src/types/json-events.ts) for the complete event schema
17+
- New [`JsonEventEmitter`](src/agent/json-event-emitter.ts) for structured output generation
18+
19+
## [0.0.48] - 2026-01-17
20+
21+
### Changed
22+
23+
- Simplified authentication callback flow by using HTTP redirects instead of POST requests with CORS headers for improved browser compatibility
24+
25+
## [0.0.47] - 2026-01-17
26+
27+
### Added
28+
29+
- **Workspace flag**: New `-w, --workspace <path>` option to specify a custom workspace directory instead of using the current working directory
30+
- **Oneshot mode**: New `--oneshot` flag to exit upon task completion, useful for scripting and automation (can also be saved in settings via [`CliSettings.oneshot`](src/types/types.ts))
31+
32+
### Changed
33+
34+
- Skip onboarding flow when a provider is explicitly specified via `--provider` flag or saved in settings
35+
- Unified permission flags: Combined `-y`, `--yes`, and `--dangerously-skip-permissions` into a single option for Claude Code-like CLI compatibility
36+
- Improved Roo Code Router authentication flow and error messaging
37+
38+
### Fixed
39+
40+
- Removed unnecessary timeout that could cause issues with long-running tasks
41+
- Fixed authentication token validation for Roo Code Router provider
42+
843
## [0.0.45] - 2026-01-08
944

1045
### Changed

0 commit comments

Comments
 (0)