workspaceRequired
{ readonly kind: "git" | "directory" | "ephemeral"; readonly binding?: FileWorkspaceBinding; }
Workspace kind (git, directory or ephemeral) and, for file workspaces, the binding its source needs: copy, ephemeral, mount-readonly or mount-write.
sandboxRequired
{ readonly provider: string; readonly placement: SandboxProvider["placement"]; readonly bindings: readonly FileWorkspaceBinding[]; }
Provider name, placement (host, mounted or remote) and the file workspace bindings the provider supports. Git options without a provider describe the default Docker provider with no bindings listed.
agentsRequired
readonly { readonly name: string; readonly kind: Agent["kind"]; readonly fileWorkspaces?: AgentFeatures["fileWorkspaces"]; }[]
Each agent that would run, fallback candidates included, with its name, kind and, for CLI agents, the file workspace features it has declared.
requirementsRequired
readonly ExecutionRequirement[]
What the execution needs: the workspace binding from the sandbox, then each capability every agent must have demonstrated. Empty for Git workspaces.
diagnosticsRequired
readonly ExecutionDiagnostic[]
Incompatibilities found before allocation, in the order execution checks them. Empty when createSandbox() and dispatch() would accept these options and settings.