feat(sandbox): add SSH agentbox provider for middleware and docker deployments

This commit is contained in:
Harry
2026-02-09 16:37:01 +08:00
parent b014e91740
commit 3c0b50ee77
19 changed files with 750 additions and 145 deletions

View File

@ -569,7 +569,7 @@
"sandboxProvider.configModal.apiKey": "API Key / Secret",
"sandboxProvider.configModal.apiKeyPlaceholder": "Enter your API key",
"sandboxProvider.configModal.baseWorkingPath": "Base Working Path",
"sandboxProvider.configModal.baseWorkingPathPlaceholder": "/tmp/sandbox",
"sandboxProvider.configModal.baseWorkingPathPlaceholder": "/workspace/sandboxes",
"sandboxProvider.configModal.bringYourOwnKey": "Bring Your Own E2B API Key",
"sandboxProvider.configModal.bringYourOwnKeyDesc": "Connect using your own E2B account. No usage limits from Dify, with full control over resources and billing.",
"sandboxProvider.configModal.cancel": "Cancel",
@ -591,6 +591,14 @@
"sandboxProvider.configModal.save": "Save",
"sandboxProvider.configModal.securityTip": "Your API Token will be encrypted and stored using",
"sandboxProvider.configModal.securityTipTechnology": "technology.",
"sandboxProvider.configModal.sshHost": "SSH Host",
"sandboxProvider.configModal.sshHostPlaceholder": "e.g. 127.0.0.1 or agentbox",
"sandboxProvider.configModal.sshPassword": "SSH Password",
"sandboxProvider.configModal.sshPasswordPlaceholder": "Enter SSH password",
"sandboxProvider.configModal.sshPort": "SSH Port",
"sandboxProvider.configModal.sshPortPlaceholder": "22",
"sandboxProvider.configModal.sshUsername": "SSH Username",
"sandboxProvider.configModal.sshUsernamePlaceholder": "agentbox",
"sandboxProvider.configModal.title": "Configure Sandbox Provider",
"sandboxProvider.connected": "CONNECTED",
"sandboxProvider.currentProvider": "CURRENT ACTIVE",
@ -608,6 +616,8 @@
"sandboxProvider.notConfigured": "Not Configured",
"sandboxProvider.otherProvider": "OTHER PROVIDERS",
"sandboxProvider.setAsActive": "Set as Active",
"sandboxProvider.ssh.description": "Run agent workloads in a remote SSH VM with file transfer support.",
"sandboxProvider.ssh.label": "SSH VM",
"sandboxProvider.switchModal.cancel": "Cancel",
"sandboxProvider.switchModal.confirm": "Switch",
"sandboxProvider.switchModal.confirmText": "You are about to switch the active sandbox provider to <bold>{{provider}}</bold>.",

View File

@ -569,7 +569,7 @@
"sandboxProvider.configModal.apiKey": "API Key / 密钥",
"sandboxProvider.configModal.apiKeyPlaceholder": "输入您的 API Key",
"sandboxProvider.configModal.baseWorkingPath": "基础工作路径",
"sandboxProvider.configModal.baseWorkingPathPlaceholder": "/tmp/sandbox",
"sandboxProvider.configModal.baseWorkingPathPlaceholder": "/workspace/sandboxes",
"sandboxProvider.configModal.bringYourOwnKey": "使用自己的 E2B API Key",
"sandboxProvider.configModal.bringYourOwnKeyDesc": "使用您自己的 E2B 账户连接。无 Dify 使用限制,完全控制资源和计费。",
"sandboxProvider.configModal.cancel": "取消",
@ -591,6 +591,14 @@
"sandboxProvider.configModal.save": "保存",
"sandboxProvider.configModal.securityTip": "您的 API Token 将使用",
"sandboxProvider.configModal.securityTipTechnology": "技术加密存储。",
"sandboxProvider.configModal.sshHost": "SSH 主机",
"sandboxProvider.configModal.sshHostPlaceholder": "例如 127.0.0.1 或 agentbox",
"sandboxProvider.configModal.sshPassword": "SSH 密码",
"sandboxProvider.configModal.sshPasswordPlaceholder": "请输入 SSH 密码",
"sandboxProvider.configModal.sshPort": "SSH 端口",
"sandboxProvider.configModal.sshPortPlaceholder": "22",
"sandboxProvider.configModal.sshUsername": "SSH 用户名",
"sandboxProvider.configModal.sshUsernamePlaceholder": "agentbox",
"sandboxProvider.configModal.title": "配置 Sandbox Provider",
"sandboxProvider.connected": "已连接",
"sandboxProvider.currentProvider": "当前激活",
@ -608,6 +616,8 @@
"sandboxProvider.notConfigured": "未配置",
"sandboxProvider.otherProvider": "其他供应商",
"sandboxProvider.setAsActive": "设为激活",
"sandboxProvider.ssh.description": "通过 SSH 连接远程虚拟机运行代理任务,并支持文件传输。",
"sandboxProvider.ssh.label": "SSH 虚拟机",
"sandboxProvider.switchModal.cancel": "取消",
"sandboxProvider.switchModal.confirm": "切换",
"sandboxProvider.switchModal.confirmText": "您即将将活动沙箱供应商切换为 <bold>{{provider}}</bold>。",