MCPcopy
hub / github.com/CopilotKit/CopilotKit / instanceIdFor

Function instanceIdFor

showcase/scripts/railway-envs.ts:1828–1830  ·  view source on GitHub ↗
(serviceName: string, env: EnvName)

Source from the content-addressed store, hash-verified

1826}
1827
1828export function instanceIdFor(serviceName: string, env: EnvName): string {
1829 return getEnvCfg(serviceName, getEntry(serviceName), env).instanceId;
1830}
1831
1832export function listServiceNames(): string[] {
1833 return Object.keys(SERVICES).sort();

Callers 2

resolveServiceEnvFunction · 0.90

Calls 2

getEnvCfgFunction · 0.85
getEntryFunction · 0.70

Tested by 1

resolveServiceEnvFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…