feat: add pure ssh2 remote operations

This commit is contained in:
云服务部-叶林立
2026-08-21 19:51:43 +08:00
parent d3bf562189
commit 0ac50eb581
62 changed files with 3701 additions and 47 deletions
@@ -31,6 +31,33 @@ export const BUNDLE_GROUP_DEFINITIONS: BundleGroupDefinition[] = [
keywords: ["files", "directory", "list", "multi grep", "目录", "文件", "多模式搜索"],
tools: ["ls", "multi_grep"],
},
{
id: "ssh-remote-files",
title: "SSH remote files",
summary: "Read, write, and edit files in the currently connected remote SSH workspace.",
useWhen: ["You need explicit file operations on an active SSH target rather than the local workspace"],
avoidWhen: ["A remote shell command is required, or the files are local"],
keywords: ["ssh", "remote", "read", "write", "edit", "远程", "文件", "SSH"],
tools: ["ssh_read", "ssh_write", "ssh_edit"],
},
{
id: "ssh-remote-search",
title: "SSH remote search",
summary: "Run bounded adaptive filename and content searches on the active SSH target.",
useWhen: ["You need to locate remote files or literals before reading or operating on them"],
avoidWhen: ["The search belongs to the local workspace, or a known remote path can be read directly"],
keywords: ["ssh", "remote", "find", "grep", "search", "远程搜索", "文件查找", "SSH"],
tools: ["ssh_find", "ssh_grep"],
},
{
id: "ssh-remote-shell",
title: "SSH remote shell",
summary: "Run a reviewed shell command in the currently connected remote SSH workspace.",
useWhen: ["You need builds, tests, Git, or other shell operations on an active SSH target"],
avoidWhen: ["Structured remote file tools are sufficient, or the command should run locally"],
keywords: ["ssh", "remote", "bash", "build", "test", "git", "远程命令", "SSH"],
tools: ["ssh_bash"],
},
{
id: "code-intelligence",
title: "Code intelligence",