fix(runner): restore sandbox environment support
This commit is contained in:
parent
82a739a580
commit
da949fe78f
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue