Roo-Code/src
Roo Code 16de6be4ea feat: add TaskContext and TaskPermissions for Phase 3a task isolation
Introduces the foundation for isolated task execution (Phase 3a of #12330):

- TaskContext: immutable snapshot of mode, API config, and workspace for
  each task, replacing runtime reads from shared ClineProvider state
- TaskPermissions: fine-grained permission boundaries (file patterns,
  command restrictions, read-only mode, tool allowlists) that the
  orchestrator can attach when spawning subtasks
- TaskContextBuilder: factory functions to build TaskContext from provider
  state and to derive child contexts with merged permissions
- Task constructor now accepts optional taskContext, using it for mode
  and API config initialization instead of provider.getState()
- delegateParentAndOpenChild builds and passes a TaskContext to child tasks
- Permission merging follows most-restrictive-wins semantics

This is a pure refactor with no behavioral change -- tasks still execute
sequentially, but they now carry their own isolated context. Enforcement
of permission boundaries is deferred to Phase 3b/3d.

Ref: #12330
2026-05-12 14:30:08 +00:00
..
__mocks__ Add timeout to OpenAI Compatible Provider Client (#9898) 2025-12-08 17:36:53 -08:00
__tests__ feat: add TaskContext and TaskPermissions for Phase 3a task isolation 2026-05-12 14:30:08 +00:00
activate Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
api Remove all telemetry (#12324) 2026-05-11 17:34:58 -04:00
assets Show the Roo provider on the welcome screen (#8317) 2025-09-25 16:13:04 -04:00
core feat: add TaskContext and TaskPermissions for Phase 3a task isolation 2026-05-12 14:30:08 +00:00
extension feat: add DeleteQueuedMessage IPC command (#11464) 2026-02-18 10:42:48 -07:00
i18n Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
integrations feat: add ROO_ACTIVE env variable to terminal env settings (#11862) 2026-03-04 17:23:52 -07:00
services Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
shared feat: implement sequential fan-out / fan-in for orchestrator (Phase 2 of #12330) 2026-05-12 14:29:28 +00:00
types Revert to pre-AI-SDK state (January 29, 2026) (#11462) 2026-02-13 16:45:18 -05:00
utils Remove all telemetry (#12324) 2026-05-11 17:34:58 -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 feat(chat): add previous checkpoint navigation controls and i18n (#12139) 2026-04-20 16:12:10 -06:00
eslint.config.mjs Fix linter errors (#3821) 2025-05-21 23:16:43 -07:00
extension.ts Remove all telemetry (#12324) 2026-05-11 17:34:58 -04:00
package.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.ca.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.de.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.es.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.fr.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.hi.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.id.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.it.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.ja.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.ko.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.nl.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.pl.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.pt-BR.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.ru.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.tr.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.vi.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.zh-CN.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -04:00
package.nls.zh-TW.json Remove the MCP marketplace (#12326) 2026-05-11 18:19:08 -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