MCPcopy Create free account
hub / github.com/Noumena-Network/code / isResultTruncated

Function isResultTruncated

src/tools/PowerShellTool/PowerShellTool.tsx:659–663  ·  view source on GitHub ↗
(output: Out)

Source from the content-addressed store, hash-verified

657 }
658 },
659 isResultTruncated(output: Out): boolean {
660 const stdout = typeof output?.stdout === 'string' ? output.stdout : '';
661 const stderr = typeof output?.stderr === 'string' ? output.stderr : '';
662 return isOutputLineTruncated(stdout) || isOutputLineTruncated(stderr);
663 }
664} satisfies ToolDef<InputSchema, Out>);
665async function* runPowerShellCommand({
666 input,

Callers

nothing calls this directly

Calls 1

isOutputLineTruncatedFunction · 0.85

Tested by

no test coverage detected