Uses of Class
io.agentscope.harness.agent.filesystem.spec.LocalFilesystemSpec
Packages that use LocalFilesystemSpec
-
Uses of LocalFilesystemSpec in io.agentscope.harness.agent
Methods in io.agentscope.harness.agent with parameters of type LocalFilesystemSpecModifier and TypeMethodDescriptionHarnessAgent.Builder.filesystem(LocalFilesystemSpec spec) Configures Mode 3 — local filesystem with shell. -
Uses of LocalFilesystemSpec in io.agentscope.harness.agent.filesystem.spec
Methods in io.agentscope.harness.agent.filesystem.spec that return LocalFilesystemSpecModifier and TypeMethodDescriptionLocalFilesystemSpec.additionalRoots(Collection<Path> roots) Replaces the list of extra host directories.Adds an extra host directory the agent is allowed to access by absolute path underLocalFsMode.ROOTED.Adds an environment variable that will be set for every shell command.LocalFilesystemSpec.executeTimeoutSeconds(int seconds) Sets the default command execution timeout in seconds.LocalFilesystemSpec.inheritEnv(boolean inherit) Controls whether the parent process environment is inherited by shell commands.LocalFilesystemSpec.isolationScope(IsolationScope scope) Sets the isolation scope controlling how file paths are namespaced per user, session, or agent.LocalFilesystemSpec.maxOutputBytes(int bytes) Sets the maximum number of output bytes captured from any single shell command.LocalFilesystemSpec.mode(LocalFsMode mode) Sets the path-resolution policy for the upperLocalFilesystemWithShell.Sets the user project root used as the lower layer of the resultingOverlayFilesystem.LocalFilesystemSpec.projectWritable(boolean writable) Enables or disables project-writable mode.LocalFilesystemSpec.sharedLocalWorkspace(boolean shared) Enables or disables the shared workspace root for non-routed paths; see the field javadoc.LocalFilesystemSpec.virtualMode(boolean virtual) Deprecated.
mode(LocalFsMode)for the full three-way selection