fix: per-agent sandbox overrides

This commit is contained in:
Peter Steinberger committed 2026-01-07 17:31:40 +01:00
1 parent e13225c9d1
commit 573fe74a9c
13 files changed
+138 -223

No files matched your search

+5
View File
@@ -29,9 +29,14 @@ export function resolveAgentConfig(
model?: string;
sandbox?: {
mode?: "off" | "non-main" | "all";
workspaceAccess?: "none" | "ro" | "rw";
scope?: "session" | "agent" | "shared";
perSession?: boolean;
workspaceRoot?: string;
tools?: {
allow?: string[];
deny?: string[];
};
};
tools?: {
allow?: string[];