Uses of Class
io.agentscope.harness.agent.workspace.PathPolicy
Packages that use PathPolicy
Package
Description
-
Uses of PathPolicy in io.agentscope.harness.agent.filesystem.local
Methods in io.agentscope.harness.agent.filesystem.local that return PathPolicyModifier and TypeMethodDescriptionLocalFilesystem.getPathPolicy()Returns the configured path policy.Constructors in io.agentscope.harness.agent.filesystem.local with parameters of type PathPolicyModifierConstructorDescriptionLocalFilesystem(Path rootDir, LocalFsMode mode, PathPolicy pathPolicy, int maxFileSizeMb, NamespaceFactory namespaceFactory) Creates a filesystem with explicit mode and path policy.LocalFilesystemWithShell(Path rootDir, LocalFsMode mode, PathPolicy pathPolicy, int timeout, int maxOutputBytes, Map<String, String> env, boolean inheritEnv, NamespaceFactory namespaceFactory, Path shellCwd) Most-complete constructor: filesystem operations followmodeandpathPolicy(seeLocalFilesystem(Path, LocalFsMode, PathPolicy, int, NamespaceFactory)); shell commands run withpwd = shellCwdwhen set, otherwise the filesystem root. -
Uses of PathPolicy in io.agentscope.harness.agent.workspace
Methods in io.agentscope.harness.agent.workspace that return PathPolicyModifier and TypeMethodDescriptionstatic PathPolicyPathPolicy.empty()Returns a policy that allows no absolute paths.static PathPolicyBuilds a policy from one or more roots.static PathPolicyPathPolicy.of(Collection<Path> roots) Builds a policy from a collection of roots.