MCPcopy Index your code
hub / github.com/codeaashu/claude-code / computeToolHashes

Function computeToolHashes

src/services/api/promptCacheBreakDetection.ts:285–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

283 // Only compute per-tool hashes when the aggregate changed — common case
284 // (tools unchanged) skips N extra jsonStringify calls.
285 const computeToolHashes = () =>
286 computePerToolHashes(strippedTools, toolNames)
287 const systemCharCount = getSystemCharCount(system)
288 const lazyDiffableContent = () =>
289 buildDiffableContent(system, toolSchemas, model)

Callers 1

recordPromptStateFunction · 0.85

Calls 1

computePerToolHashesFunction · 0.85

Tested by

no test coverage detected