Uses of Interface
io.agentscope.harness.agent.filesystem.remote.store.NamespaceFactory
Packages that use NamespaceFactory
Package
Description
-
Uses of NamespaceFactory in io.agentscope.harness.agent
Methods in io.agentscope.harness.agent that return NamespaceFactoryModifier and TypeMethodDescriptionIsolationScope.toNamespaceFactory()Creates aNamespaceFactorythat derives the filesystem namespace prefix from theRuntimeContextaccording to this scope. -
Uses of NamespaceFactory in io.agentscope.harness.agent.filesystem
Constructors in io.agentscope.harness.agent.filesystem with parameters of type NamespaceFactoryModifierConstructorDescriptionProjectAwareOverlay(AbstractSandboxFilesystem upper, AbstractFilesystem lower, LocalFilesystem projectFs, Path workspaceRoot, NamespaceFactory namespaceFactory) -
Uses of NamespaceFactory in io.agentscope.harness.agent.filesystem.local
Methods in io.agentscope.harness.agent.filesystem.local that return NamespaceFactoryModifier and TypeMethodDescriptionprotected NamespaceFactoryLocalFilesystem.getNamespaceFactory()Constructors in io.agentscope.harness.agent.filesystem.local with parameters of type NamespaceFactoryModifierConstructorDescriptionLocalFilesystem(String rootDir, boolean virtualMode, int maxFileSizeMb, NamespaceFactory namespaceFactory) Same asLocalFilesystem(Path, boolean, int, NamespaceFactory)with a path string; seeLocalFilesystem(String)fornull/ blank rules.LocalFilesystem(Path rootDir, boolean virtualMode, int maxFileSizeMb, NamespaceFactory namespaceFactory) Legacy constructor: mapsvirtualModetoLocalFsMode.SANDBOXEDorLocalFsMode.UNRESTRICTEDand uses an emptyPathPolicy.LocalFilesystem(Path rootDir, LocalFsMode mode, PathPolicy pathPolicy, int maxFileSizeMb, NamespaceFactory namespaceFactory) Creates a filesystem with explicit mode and path policy.LocalFilesystemWithShell(String rootDir, boolean virtualMode, int timeout, int maxOutputBytes, Map<String, String> env, boolean inheritEnv, NamespaceFactory namespaceFactory) Same asLocalFilesystemWithShell(Path, boolean, int, int, Map, boolean, NamespaceFactory)with a path string; seeLocalFilesystem(String)fornull/ blank rules.LocalFilesystemWithShell(String rootDir, NamespaceFactory namespaceFactory) Same asLocalFilesystemWithShell(Path, NamespaceFactory)with a path string; seeLocalFilesystem(String)fornull/ blank rules.LocalFilesystemWithShell(Path rootDir, boolean virtualMode, int timeout, int maxOutputBytes, Map<String, String> env, boolean inheritEnv, NamespaceFactory namespaceFactory) Creates a abstract filesystem with full configuration and namespace support.LocalFilesystemWithShell(Path rootDir, boolean virtualMode, int timeout, int maxOutputBytes, Map<String, String> env, boolean inheritEnv, NamespaceFactory namespaceFactory, Path shellCwd) Creates a abstract filesystem with full configuration, namespace support, and a custom shell working directory.LocalFilesystemWithShell(Path rootDir, NamespaceFactory namespaceFactory) Creates an abstract filesystem with default settings and namespace support.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 NamespaceFactory in io.agentscope.harness.agent.filesystem.remote
Constructors in io.agentscope.harness.agent.filesystem.remote with parameters of type NamespaceFactoryModifierConstructorDescriptionRemoteFilesystem(BaseStore store, NamespaceFactory namespaceFactory) Creates a RemoteFilesystem with aNamespaceFactorythat is called on every operation, allowing the namespace to vary based on runtime context. -
Uses of NamespaceFactory in io.agentscope.harness.agent.filesystem.spec
Methods in io.agentscope.harness.agent.filesystem.spec with parameters of type NamespaceFactoryModifier and TypeMethodDescriptionLocalFilesystemSpec.toFilesystem(Path workspace, NamespaceFactory localNamespaceFactory) RemoteFilesystemSpec.toFilesystem(Path workspace, String agentId, NamespaceFactory localNamespaceFactory) Builds the composite filesystem described by this spec. -
Uses of NamespaceFactory in io.agentscope.harness.agent.workspace
Methods in io.agentscope.harness.agent.workspace that return NamespaceFactoryMethods in io.agentscope.harness.agent.workspace with parameters of type NamespaceFactoryModifier and TypeMethodDescriptionstatic WorkspacePathNormalizerWorkspacePathNormalizer.of(String workspacePrefix, NamespaceFactory namespaceFactory) Creates a normalizer that also strips the runtime namespace beneath the workspace prefix.Constructors in io.agentscope.harness.agent.workspace with parameters of type NamespaceFactoryModifierConstructorDescriptionWorkspaceManager(Path workspace, AbstractFilesystem filesystem, WorkspaceIndex index, NamespaceFactory namespaceFactory)