Roo-Code/src
Roo Code bb8d44d26f feat: add automatic selection context to user messages
- Add selection context fields to WebviewMessage and ExtensionMessage types
- Implement selection capture in ChatView on component mount
- Add backend message handler to capture editor selection with line numbers
- Store selection context in Task instance for use in environment details
- Include selection context at start of environment details sent to LLM
- Automatically clear selection context after use to prevent persistence
- Add comprehensive tests for selection context functionality
- Convert VSCode 0-based line numbers to 1-based for user-friendly display
- Handle both workspace-relative and absolute file paths

This allows users to select text in the editor and ask questions like
"fix this" or "what does this do" without explicitly pasting code.
The selection is automatically included as hidden context for the LLM.
2025-11-13 02:25:33 +00:00
..
__mocks__ feature: add toggle for disable mcp server tool from prompt (#3551) 2025-06-20 19:14:59 -04:00
__tests__ Add checkpoint initialization timeout settings and fix checkpoint timeout warnings (#8019) 2025-10-23 22:18:58 -04:00
activate fix: create new Requesty profile during OAuth (#8699) 2025-11-02 01:07:16 -04:00
api Migrate conversation continuity to plugin-side encrypted reasoning items (Responses API) (#9203) 2025-11-12 19:50:24 -05:00
assets Show the Roo provider on the welcome screen (#8317) 2025-09-25 16:13:04 -04:00
core feat: add automatic selection context to user messages 2025-11-13 02:25:33 +00:00
extension IPC command for sending messages to the current task (#9149) 2025-11-10 11:44:04 -05:00
i18n feat: add OpenRouter embedding provider support (#8973) 2025-11-02 19:12:28 -05:00
integrations fix: preserve trailing newlines in stripLineNumbers for apply_diff (#8227) 2025-10-24 10:16:00 -04:00
services feat: add Qwen3 embedding models (0.6B and 4B) to OpenRouter support (#9060) 2025-11-05 15:35:25 -05:00
shared feat: add automatic selection context to user messages 2025-11-13 02:25:33 +00:00
utils Fix cost and token tracking between provider styles (#8954) 2025-10-31 15:14:29 -04:00
workers Count tokens worker (#3037) 2025-04-29 12:29:25 -07:00
.gitignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.prettierignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.vscodeignore debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
esbuild.mjs Revert "fix: optimize README for VS Code marketplace to prevent UI freezing" (#6303) 2025-07-28 14:31:01 -04:00
eslint.config.mjs Fix linter errors (#3821) 2025-05-21 23:16:43 -07:00
extension.ts fix: make code index initialization non-blocking at activation (#8933) 2025-10-30 16:01:40 -04:00
package.json Changeset version bump (#9154) 2025-11-11 20:32:50 -05:00
package.nls.ca.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.de.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.es.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.fr.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.hi.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.id.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.it.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.ja.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.ko.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.nl.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.pl.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.pt-BR.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.ru.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.tr.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.vi.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.zh-CN.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
package.nls.zh-TW.json feat: improve @ file search for large projects (#8805) 2025-10-30 22:16:42 -04:00
tsconfig.json Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vitest.config.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00
vitest.setup.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00