MCPcopy
hub / github.com/claude-code-best/claude-code / resultToOutput

Function resultToOutput

packages/workflow-engine/src/engine/hooks.ts:298–300  ·  view source on GitHub ↗
(result: AgentRunResult)

Source from the content-addressed store, hash-verified

296}
297
298function resultToOutput(result: AgentRunResult): unknown {
299 return result.kind === 'ok' ? result.output : null
300}

Callers 1

agentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected