diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts index 3d967c0fa7..6e3bd41b55 100644 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -1696,6 +1696,7 @@ export class Config implements McpContext, AgentLoopContext { { workspace: this.targetDir, forbiddenPaths: this.getSandboxForbiddenPaths.bind(this), + includeDirectories: this.pendingIncludeDirectories, policyManager: this._sandboxPolicyManager, }, this.getApprovalMode(),