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

Function newSlug

e2e/cloud/integrations-api.test.ts:37–38  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

35/** Unique, JS-identifier-safe slug per run (tool addresses are dotted member
36 * expressions inside executed code, so no dashes). */
37const newSlug = (prefix: string) =>
38 IntegrationSlug.make(`${prefix}_${randomBytes(4).toString("hex")}`);
39
40const MAIN = ConnectionName.make("main");
41const PERSONAL = ConnectionName.make("personal");

Callers 1

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected