Uses of Interface
io.agentscope.harness.agent.sandbox.Sandbox
Packages that use Sandbox
Package
Description
-
Uses of Sandbox in io.agentscope.harness.agent.filesystem.sandbox
Methods in io.agentscope.harness.agent.filesystem.sandbox that return SandboxMethods in io.agentscope.harness.agent.filesystem.sandbox with parameters of type SandboxModifier and TypeMethodDescriptionvoidPinnedSandboxFilesystem.clearSandboxIfCurrent(Sandbox expected) voidSandboxBackedFilesystem.clearSandboxIfCurrent(Sandbox expected) Clears the fallbacksandboxfield only if it still points atexpected.voidSandboxBackedFilesystem.setSandbox(Sandbox sandbox) Constructors in io.agentscope.harness.agent.filesystem.sandbox with parameters of type Sandbox -
Uses of Sandbox in io.agentscope.harness.agent.sandbox
Classes in io.agentscope.harness.agent.sandbox that implement SandboxModifier and TypeClassDescriptionclassAbstract base implementation ofSandboxwith the 4-branch workspace start logic.Methods in io.agentscope.harness.agent.sandbox that return SandboxModifier and TypeMethodDescriptionSandboxClient.create(WorkspaceSpec workspaceSpec, SandboxSnapshotSpec snapshotSpec, O options) Creates a new sandbox with the given workspace spec and snapshot spec.SandboxContext.getExternalSandbox()SandboxAcquireResult.getSandbox()SandboxAware.getSandbox()SandboxClient.resume(SandboxState state) Resumes a sandbox from previously serializedSandboxState.Methods in io.agentscope.harness.agent.sandbox with parameters of type SandboxModifier and TypeMethodDescriptionvoidSandboxContext.Builder.externalSandbox(Sandbox externalSandbox) static SandboxAcquireResultSandboxAcquireResult.selfManaged(Sandbox sandbox) Creates a self-managed result with no guard (SDK owns the full lifecycle).static SandboxAcquireResultSandboxAcquireResult.selfManaged(Sandbox sandbox, SandboxLease lease) Creates a self-managed result with a guard lease (SDK owns the full lifecycle).voidSandboxAware.setSandbox(Sandbox sandbox) static SandboxAcquireResultSandboxAcquireResult.userManaged(Sandbox sandbox) Creates a user-managed result (caller owns the lifecycle; SDK only calls stop). -
Uses of Sandbox in io.agentscope.harness.agent.sandbox.impl.docker
Classes in io.agentscope.harness.agent.sandbox.impl.docker that implement SandboxMethods in io.agentscope.harness.agent.sandbox.impl.docker that return SandboxModifier and TypeMethodDescriptionDockerSandboxClient.create(WorkspaceSpec workspaceSpec, SandboxSnapshotSpec snapshotSpec, DockerSandboxClientOptions options) DockerSandboxClient.resume(SandboxState state) Methods in io.agentscope.harness.agent.sandbox.impl.docker with parameters of type Sandbox