Skip to content

Conversation

@Oanakiaja
Copy link

What type of PR is this?

feat: A new feature

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level.

(Optional) Translate the PR title into Chinese.

feat(commandline): 添加 aiosandbox 远程沙箱执行器

(Optional) More detailed description for this PR

Add AIOSandbox as a new commandline.Operator implementation that provides remote sandboxed command execution via AIO Sandbox.

Features:

  • Remote command execution in cloud-based sandbox environment
  • Session persistence for stateful shell execution (KeepSession option)
  • File operations: read, write, exists, isDirectory
  • Compatible with StrReplaceEditor and PyExecutor tools
  • Path traversal protection

zh:
新增 AIOSandbox 作为 commandline.Operator 接口的实现,支持通过 AIO Sandbox 服务进行远程沙箱命令执行。

特性:

  • 云端沙箱环境中的远程命令执行
  • 支持会话保持,实现有状态的 shell 执行(KeepSession 选项)
  • 文件操作:读取、写入、存在检查、目录判断
  • 兼容 StrReplaceEditorPyExecutor 工具
  • 路径遍历保护

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@Oanakiaja
Copy link
Author

Related PR: cloudwego/eino-examples#161: deep-aiosandbox example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant