MCPcopy Create free account
hub / github.com/codeaashu/claude-code / rollWithSeed

Function rollWithSeed

src/buddy/companion.ts:115–117  ·  view source on GitHub ↗
(seed: string)

Source from the content-addressed store, hash-verified

113}
114
115export function rollWithSeed(seed: string): Roll {
116 return rollFrom(mulberry32(hashString(seed)))
117}
118
119export function companionUserId(): string {
120 const config = getGlobalConfig()

Callers

nothing calls this directly

Calls 3

rollFromFunction · 0.85
mulberry32Function · 0.85
hashStringFunction · 0.70

Tested by

no test coverage detected