parseCommandOutputResult
parseCommandOutputResult(
result): {body:string;tail:string; } |null
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/toolDisplay.ts:245
Parse the shared shell-result shape (Executing '…'…\n\n<COMMAND_OUTPUT>…</COMMAND_OUTPUT>\n\n <status line>). Returns the captured output body and the trailing status text, or null
when the result is not shell-shaped.
Parameters
Section titled “Parameters”result
Section titled “result”string | undefined
Returns
Section titled “Returns”{ body: string; tail: string; } | null