MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / buildSurfaceKey

Function buildSurfaceKey

source code/utils/commitAttribution.ts:239–241  ·  view source on GitHub ↗
(surface: string, model: ModelName)

Source from the content-addressed store, hash-verified

237 * Format: "surface/model" (e.g., "cli/claude-sonnet")
238 */
239export function buildSurfaceKey(surface: string, model: ModelName): string {
240 return `${surface}/${getCanonicalName(model)}`
241}
242
243/**
244 * Compute SHA-256 hash of content.

Callers

nothing calls this directly

Calls 1

getCanonicalNameFunction · 0.85

Tested by

no test coverage detected