fix(runner): restore sandbox environment support

This commit is contained in:
Dotta committed 2026-09-03 06:13:40 -05:00
1 parent 82a739a580
commit da949fe78f
2 files changed
+10

No files matched your search

@@ -7,6 +7,15 @@ import {
} from "./environment-support.js";
describe("isSandboxProviderSupportedForAdapter", () => {
it("treats Paperclip Runner as a remote-managed adapter", () => {
expect(adapterSupportsRemoteManagedEnvironments("paperclip_runner")).toBe(true);
expect(supportedEnvironmentDriversForAdapter("paperclip_runner")).toEqual([
"local",
"ssh",
"sandbox",
]);
});
it("accepts additional sandbox providers for remote-managed adapters", () => {
expect(
isSandboxProviderSupportedForAdapter("codex_local", "fake-plugin", ["fake-plugin"]),
@@ -67,6 +67,7 @@ export interface EnvironmentCapabilities {
const REMOTE_MANAGED_ADAPTERS = new Set<AgentAdapterType>([
"claude_local",
"codex_local",
"paperclip_runner",
"cursor",
"gemini_local",
"grok_local",