MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / resultText

Function resultText

__tests__/prompt-hook-daemon.test.ts:54–57  ·  view source on GitHub ↗
(result: ToolResult)

Source from the content-addressed store, hash-verified

52}
53
54function resultText(result: ToolResult): string {
55 const first = result.content[0];
56 return first?.type === 'text' ? first.text : '';
57}
58
59function fakeTransport(): JsonRpcTransport & {
60 deliver(message: JsonRpcRequest): Promise<void>;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected