MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / trackedEnvFiles

Function trackedEnvFiles

scripts/web-env/shared.ts:436–450  ·  view source on GitHub ↗
(repoRoot: string)

Source from the content-addressed store, hash-verified

434): Map<string, string> {
435 const slugs = new Map<string, string>();
436 for (const id of new Set(configurationIds)) {
437 try {
438 const response = vercelApi(
439 context,
440 `/v1/integrations/configuration/${encodeURIComponent(id)}`,
441 'Read an integration configuration'
442 );
443 slugs.set(id, stringValue(response, 'slug') ?? id);
444 } catch (error) {
445 if (!(error instanceof VercelApiError && error.code === 'not_found')) throw error;
446 slugs.set(id, id);
447 }
448 }
449 return slugs;
450}
451
452export function customEnvironmentId(context: VercelContext, slug: string): string | undefined {
453 const response = vercelApi(

Callers 2

collectDefaultsFunction · 0.85

Calls 1

runFunction · 0.70

Tested by

no test coverage detected