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
+1 -1
View File
@@ -627,7 +627,7 @@ export function compactToolResult(
const { changed, mapped: nextContent } = mapTextContentBlocks(sourceContent, (contentBlock) => {
let transformed = { text: contentBlock.text, techniques: [] as string[] };
if (event.toolName === "bash") {
if (event.toolName === "bash" || event.toolName === "ssh_bash") {
transformed = compactBashText(contentBlock.text, normalizeCommand(input), config);
} else if (event.toolName === "read") {
const normalizedPath = normalizePath(input);