Class WorkspaceProjectionEntry

java.lang.Object
io.agentscope.harness.agent.sandbox.layout.WorkspaceEntry
io.agentscope.harness.agent.sandbox.layout.WorkspaceProjectionEntry

public class WorkspaceProjectionEntry extends WorkspaceEntry
Layout entry that projects selected files/directories from host workspace into sandbox workspace when the Sandbox starts.

This entry is sandbox-specific and is ignored by WorkspaceSpecApplier's regular file materialization logic. Instead, projection is applied inside Sandbox.start() via archive hydration.

  • Constructor Details

    • WorkspaceProjectionEntry

      public WorkspaceProjectionEntry()
  • Method Details

    • getSourceRoot

      public String getSourceRoot()
      Absolute host-side workspace root used as source for projection.
    • setSourceRoot

      public void setSourceRoot(String sourceRoot)
    • getIncludeRoots

      public List<String> getIncludeRoots()
      Relative include roots under getSourceRoot().
    • setIncludeRoots

      public void setIncludeRoots(List<String> includeRoots)