diff --git a/agentscope-harness/src/main/java/io/agentscope/harness/agent/filesystem/sandbox/BaseSandboxFilesystem.java b/agentscope-harness/src/main/java/io/agentscope/harness/agent/filesystem/sandbox/BaseSandboxFilesystem.java index 9193cac80..a4634788d 100644 --- a/agentscope-harness/src/main/java/io/agentscope/harness/agent/filesystem/sandbox/BaseSandboxFilesystem.java +++ b/agentscope-harness/src/main/java/io/agentscope/harness/agent/filesystem/sandbox/BaseSandboxFilesystem.java @@ -30,8 +30,8 @@ import io.agentscope.harness.agent.filesystem.model.ReadResult; import io.agentscope.harness.agent.filesystem.model.WriteResult; import io.agentscope.harness.agent.filesystem.util.FilesystemUtils; +import java.nio.charset.StandardCharsets; import java.util.ArrayList; -import java.util.Base64; import java.util.List; import java.util.Map; @@ -41,8 +41,8 @@ *

This class provides default implementations for all {@link AbstractFilesystem} methods by * delegating * to shell commands via {@link #execute}. File listing, grep, and glob use standard Unix - * commands. Read uses server-side commands for paginated access. Write delegates content - * transfer to {@link #uploadFiles}. Edit uses server-side commands for string replacement. + * commands. Read uses server-side commands for paginated access. Write and edit delegate content + * transfer to {@link #uploadFiles} and {@link #downloadFiles}. * *

Subclasses must implement: *