MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / unique

Function unique

e2e/scenarios/mcp-passthrough.test.ts:46–46  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

44const api = composePluginApi([openApiHttpPlugin()] as const);
45
46const unique = (prefix: string) => `${prefix}_${randomBytes(4).toString("hex")}`;
47
48/** A two-operation API: a read and a write, so the surface carries one tool
49 * per policy outcome. The write takes a JSON body with a shared `$ref`, so

Callers 1

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected