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

Function buildToolSignature

cli/src/opencode/opencodeLocalLauncher.ts:75–77  ·  view source on GitHub ↗
(name: string, input: unknown)

Source from the content-addressed store, hash-verified

73}
74
75function buildToolSignature(name: string, input: unknown): string {
76 return `${name}:${hashObject(input ?? null)}`;
77}
78
79function pushQueue(map: Map<string, string[]>, key: string, value: string): void {
80 const queue = map.get(key) ?? [];

Callers 1

handleHookEventFunction · 0.85

Calls 1

hashObjectFunction · 0.90

Tested by

no test coverage detected