Find a file
2026-04-23 15:10:22 +00:00
.changeset Changeset version bump (#12110) 2026-04-13 16:57:35 -06:00
.cursor chore: add Cursor agent rules and MCP config 2026-02-18 17:16:58 +03:00
.github Merge d7b72338bb into c4547d25c5 2026-04-23 15:10:22 +00:00
.husky chore: update pre-commit hook configuration 2026-02-18 14:01:57 +03:00
.orchestration chore: commit .orchestration/active_intents.yaml 2026-02-21 13:51:04 +03:00
.roo chore: commit .roo/rules-mode-writer/8_global_modes.xml 2026-02-21 13:52:40 +03:00
.vscode chore: commit .vscode/launch.json 2026-02-21 13:52:59 +03:00
apps feat(web): redesign Roomote announcement banner with violet branding (#12161) 2026-04-21 11:40:35 -06:00
docs chore: commit docs/Architecture_.md 2026-02-21 13:53:33 +03:00
locales Release v3.52.0 (#12082) 2026-04-08 14:33:47 -06:00
packages Merge d7b72338bb into c4547d25c5 2026-04-23 15:10:22 +00:00
releases Revert to pre-AI-SDK state (January 29, 2026) (#11462) 2026-02-13 16:45:18 -05:00
schemas feat: add correct JSON schema for .roomodes configuration files (#11791) 2026-04-08 16:37:14 -06:00
scripts chore: add specs and generator script for active_intents.yaml 2026-02-18 14:01:19 +03:00
specs chore: add specs and generator script for active_intents.yaml 2026-02-18 14:01:19 +03:00
src Merge d7b72338bb into c4547d25c5 2026-04-23 15:10:22 +00:00
webview-ui feat(chat): add previous checkpoint navigation controls and i18n (#12139) 2026-04-20 16:12:10 -06:00
.dockerignore Add an option to use our cli for evals (#10456) 2026-01-05 11:33:19 -08:00
.env.sample Revert to pre-AI-SDK state (January 29, 2026) (#11462) 2026-02-13 16:45:18 -05:00
.git-blame-ignore-revs Moved repo to new org (#3756) 2025-05-20 16:42:18 -04:00
.gitattributes feat: mark non-English package.nls.*.json files as linguist-generated (#7271) 2025-08-21 02:56:55 -07:00
.gitconfig Set up ignoring revisions for git blame 2025-01-17 11:21:25 -08:00
.gitignore chore: add specs and generator script for active_intents.yaml 2026-02-18 14:01:19 +03:00
.nvmrc Upgrade Node.js to v20.19.2 for security enhancements (#4212) 2025-06-01 17:02:44 -04:00
.prettierrc.json Fix Posthog by correctly copying .env in the build process (#4049) 2025-05-27 11:19:21 -07:00
.rooignore Add telemetry and privacy policy 2025-03-07 03:03:44 -05:00
.roomodes chore: commit .roomodes 2026-02-21 13:52:49 +03:00
.tool-versions Add pnpm version 10.8.1 to .tool-versions 2026-02-20 22:15:16 -05:00
AGENTS.md fix: resolve race condition in context condensing prompt input (#10876) 2026-01-21 15:11:39 -07:00
ARCHITECTURE_NOTES.md docs: add intent-code traceability architecture and testing documentation 2026-02-18 13:45:33 +03:00
CHANGELOG.md Changeset version bump (#12110) 2026-04-13 16:57:35 -06:00
CODE_OF_CONDUCT.md Fix spelling/grammar and casing inconsistencies (#11485) 2026-02-24 14:22:22 -07:00
CONTRIBUTING.md CONTRIBUTING.md tweaks and issue template rewrite (#8014) 2025-09-16 00:29:45 -04:00
document.md chore: commit document.md 2026-02-21 13:53:50 +03:00
ellipsis.yaml Revert "Turn off ellipsis quiet mode" 2025-03-07 02:26:25 -05:00
knip.json Fix knip checks (#11819) 2026-03-01 23:21:13 -08:00
LICENSE Update LICENSE (#2275) 2025-04-03 23:54:26 -04:00
package.json chore: add specs and generator script for active_intents.yaml 2026-02-18 14:01:19 +03:00
pnpm-lock.yaml Merge d7b72338bb into c4547d25c5 2026-04-23 15:10:22 +00:00
pnpm-workspace.yaml Remove the "test" custom tools (#10255) 2025-12-21 14:19:25 -08:00
PRIVACY.md Make Posthog telemetry the default (#7909) 2025-09-11 15:50:40 -04:00
progress.txt Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
README.md Merge d7b72338bb into c4547d25c5 2026-04-23 15:10:22 +00:00
renovate.json Ignore @vscode/vsce in renovate (#4170) 2025-05-31 00:22:14 -04:00
SECURITY.md Create SECURITY.md 2025-06-05 10:22:15 -04:00
SELECT_ACTIVE_INTENT_DEBUG_FILES.md chore: commit SELECT_ACTIVE_INTENT_DEBUG_FILES.md 2026-02-21 13:54:23 +03:00
SPECS_SUMMARY.md docs: add intent-code traceability architecture and testing documentation 2026-02-18 13:45:33 +03:00
tsconfig.json Task metadata (#7092) 2025-08-14 03:14:17 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00

VS Code Marketplace X YouTube Join Discord Join r/RooCode

Get help fast → Join Discord • Prefer async? → Join r/RooCode

Roo Code

Your AI-Powered Dev Team, Right in Your Editor

What's New in v3.52.0

  • Add Poe as an AI provider so you can access Poe models directly in Roo Code.
  • Improve the xAI provider with a Responses API migration, reusable transform utilities, and updated Grok-4.20 defaults.
  • Fix MiniMax model listings and context window handling for more reliable setup.
🌐 Available languages

What Can Roo Code Do For YOU?

  • Generate Code from natural language descriptions and specs
  • Adapt with Modes: Code, Architect, Ask, Debug, and Custom Modes
  • Refactor & Debug existing code
  • Write & Update documentation
  • Answer Questions about your codebase
  • Automate repetitive tasks
  • Utilize MCP Servers

Modes

Roo Code adapts to how you work:

  • Code Mode: everyday coding, edits, and file ops
  • Architect Mode: plan systems, specs, and migrations
  • Ask Mode: fast answers, explanations, and docs
  • Debug Mode: trace issues, add logs, isolate root causes
  • Custom Modes: build specialized modes for your team or workflow

Learn more: Using ModesCustom Modes

Tutorial & Feature Videos


Installing Roo Code

Configuring Profiles

Codebase Indexing

Custom Modes

Checkpoints

Context Management

More quick tutorial and feature videos...

Resources


Local Setup & Development

  1. Clone the repo:
git clone https://github.com/RooCodeInc/Roo-Code.git
  1. Install dependencies:
pnpm install
  1. Run the extension:

There are several ways to run the Roo Code extension:

Development Mode (F5)

For active development, use VSCode's built-in debugging:

Press F5 (or go to RunStart Debugging) in VSCode. This will open a new VSCode window with the Roo Code extension running.

  • Changes to the webview will appear immediately.
  • Changes to the core extension will also hot reload automatically.

Automated VSIX Installation

To build and install the extension as a VSIX package directly into VSCode:

pnpm install:vsix [-y] [--editor=<command>]

This command will:

  • Ask which editor command to use (code/cursor/code-insiders) - defaults to 'code'
  • Uninstall any existing version of the extension.
  • Build the latest VSIX package.
  • Install the newly built VSIX.
  • Prompt you to restart VS Code for changes to take effect.

Options:

  • -y: Skip all confirmation prompts and use defaults
  • --editor=<command>: Specify the editor command (e.g., --editor=cursor or --editor=code-insiders)

Manual VSIX Installation

If you prefer to install the VSIX package manually:

  1. First, build the VSIX package:
    pnpm vsix
    
  2. A .vsix file will be generated in the bin/ directory (e.g., bin/roo-cline-<version>.vsix).
  3. Install it manually using the VSCode CLI:
    code --install-extension bin/roo-cline-<version>.vsix
    

We use changesets for versioning and publishing. Check our CHANGELOG.md for release notes.


TRP1 Challenge Intent-Code Traceability Hook System

This fork implements an AI-Native Intent-Code Traceability layer for the TRP1 Week 1 challenge, adding governance and semantic tracking to Roo Code's AI agent workflow.

Phase 0 Archaeological Dig

  • Documented extension architecture and tool execution flow in ARCHITECTURE_NOTES.md
  • Mapped tool routing (presentAssistantMessage) and system prompt builder (SYSTEM_PROMPT)
  • Identified hook injection points for middleware integration

Phase 1 Reasoning Loop & Context Loader

  • New Native Tool: select_active_intent(intent_id) enforces two-stage state machine (intent selection → contextualized action)
  • Hook Middleware: HookEngine wraps all destructive tools with pre/post-hooks for governance and traceability
  • Orchestration Sidecar: .orchestration/ directory implements AI-native Git layer:
    • active_intents.yaml Intent specifications with scope, constraints, acceptance criteria
    • agent_trace.jsonl Append-only ledger linking Intent → Code Hash
    • intent_map.md Spatial mapping of intents to files
    • AGENT.md Shared knowledge base
  • Context Loader: select_active_intent returns <intent_context> XML with intent specs + recent history from trace entries

Phase 2 Hook Middleware & Security (Partial)

  • Command Classification: Safe (read) vs Destructive (write/execute) tools
  • UI-Blocking Authorization: Modal approval required for intent evolution (Human-in-the-Loop)
  • Scope Enforcement: File paths validated against intent's owned_scope patterns
  • Post-Hook Trace Logging: Automatic logging to agent_trace.jsonl with content hashing

Documentation & Testing

Key Files

  • src/core/hooks/HookEngine.ts Hook middleware implementation
  • src/core/orchestration/OrchestrationDataModel.ts Data model for .orchestration/ directory
  • src/core/tools/SelectActiveIntentTool.ts Intent selection tool
  • src/core/tools/__tests__/selectActiveIntentTool.spec.ts Phase 1 test suite

Disclaimer

Please note that Roo Code, Inc does not make any representations or warranties regarding any code, models, or other tools provided or made available in connection with Roo Code, any associated third-party tools, or any resulting outputs. You assume all risks associated with the use of any such tools or outputs; such tools are provided on an "AS IS" and "AS AVAILABLE" basis. Such risks may include, without limitation, intellectual property infringement, cyber vulnerabilities or attacks, bias, inaccuracies, errors, defects, viruses, downtime, property loss or damage, and/or personal injury. You are solely responsible for your use of any such tools or outputs (including, without limitation, the legality, appropriateness, and results thereof).


Contributing

We love community contributions! Get started by reading our CONTRIBUTING.md.


License

Apache 2.0 © 2025 Roo Code, Inc.


Enjoy Roo Code! Whether you keep it on a short leash or let it roam autonomously, we cant wait to see what you build. If you have questions or feature ideas, drop by our Reddit community or Discord. Happy coding!