Class WorkspaceProjectionApplier
java.lang.Object
io.agentscope.harness.agent.sandbox.WorkspaceProjectionApplier
Builds a deterministic archive payload for workspace projection entries.
The payload contains:
- projected files as a tar archive (for sandbox hydration)
- a content hash used to skip unchanged projections across calls
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordProjection result used at sandbox start. -
Method Summary
Modifier and TypeMethodDescriptionbuild(WorkspaceSpec spec) Builds projection payload from allWorkspaceProjectionEntryitems in the spec.
-
Method Details
-
build
public static WorkspaceProjectionApplier.ProjectionPayload build(WorkspaceSpec spec) throws Exception Builds projection payload from allWorkspaceProjectionEntryitems in the spec.- Throws:
Exception
-