Файли
openidea/docs
l0ng-ai 8fd452c6e9 fix(agents): give agents every root of a multi-project workspace
A task's agent only learned its own directory, so in a workspace with
attached projects it missed the other projects and left their part of a
change undone.

- Sessions pass the workspace's other roots (the project and the trusted
  attached projects, minus the task's own directory and project) as ACP
  additionalDirectories to agents that advertise the capability.
- The Codex shim turns them into runtimeWorkspaceRoots on thread start,
  resume and fork, so workspace-write covers them and the model is told
  about them; the Claude Code shim passes each as --add-dir.
- New read-only MCP tool get_workspace_roots lists the roots, and the
  server instructions point to it for workspace questions and changes
  that span projects.

Fixes #5058
2026-11-22 02:15:25 +08:00
..