mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-10-26 18:55:22 +00:00
feat: add pure ssh2 remote operations
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user