fix: preserve run provider capability

This commit is contained in:
2026-07-11 15:00:34 +08:00
parent ebf870249f
commit 63c86322de
5 changed files with 8 additions and 17 deletions
+1 -4
View File
@@ -66,10 +66,7 @@ describe("agent subprocess security policy", () => {
allowRead: expect.arrayContaining([canonicalWorkspace, "/usr/bin"]),
},
credentials: {
envVars: expect.arrayContaining([
{ name: "ANTHROPIC_AUTH_TOKEN", mode: "deny" },
{ name: "ANTHROPIC_API_KEY", mode: "deny" },
]),
envVars: [],
},
});
});
+1 -4
View File
@@ -288,10 +288,7 @@ describe("runAgent", () => {
},
sandbox: {
credentials: {
envVars: expect.arrayContaining([
{ name: "ANTHROPIC_AUTH_TOKEN", mode: "deny" },
{ name: "ANTHROPIC_API_KEY", mode: "deny" },
]),
envVars: [],
},
},
},