MCPcopy Create free account
hub / github.com/tiann/hapi / getTextDelta

Function getTextDelta

cli/src/opencode/opencodeLocalLauncher.ts:70–73  ·  view source on GitHub ↗
(payloadRecord: Record<string, unknown> | null)

Source from the content-addressed store, hash-verified

68}
69
70function getTextDelta(payloadRecord: Record<string, unknown> | null): string | null {
71 const delta = payloadRecord?.delta;
72 return typeof delta === 'string' && delta.length > 0 ? delta : null;
73}
74
75function buildToolSignature(name: string, input: unknown): string {
76 return `${name}:${hashObject(input ?? null)}`;

Callers 1

handleHookEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected