/** * fingerprint.ts — Stable hash for a (tool, normalized args) pair. * * Used by the loop-guard to detect repeated identical tool calls. The * args are normalized (sorted keys, trimmed whitespace, lowercased * commands) so equivalent invocations hash the same way. * * Framework-agnostic — used by both the SDK MCP server and any Claude * Code hook scripts. */ /** * Compute a stable fingerprint for a (tool, args) pair. The hash is * over the canonical JSON of the normalized args (sorted keys, etc.) so * the same logical call always hashes the same way regardless of key * ordering or whitespace. */ export declare function fingerprint(tool: string, args: unknown, cwd?: string): string; //# sourceMappingURL=fingerprint.d.ts.map