Class NoopSnapshotSpec
java.lang.Object
io.agentscope.harness.agent.sandbox.snapshot.NoopSnapshotSpec
- All Implemented Interfaces:
SandboxSnapshotSpec
Snapshot spec that creates
NoopSandboxSnapshot instances.
Using this spec means workspace state is never persisted between session stops. Every session start begins with a fresh workspace initialized from the full manifest.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoopSnapshotSpec
public NoopSnapshotSpec()Creates a noop snapshot spec.
-
-
Method Details
-
build
Creates aSandboxSnapshotfor the given session ID.- Specified by:
buildin interfaceSandboxSnapshotSpec- Parameters:
snapshotId- unique identifier for the snapshot (typically the session UUID)- Returns:
- a new
NoopSandboxSnapshot(ignoressnapshotId)
-