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

Function question

scripts/web-env/shared.ts:465–473  ·  view source on GitHub ↗
(prompt: string)

Source from the content-addressed store, hash-verified

463
464// Vercel decrypts encrypted values one record at a time (the list endpoint does
465// not), and never returns sensitive values.
466export async function decryptedEnvValues(
467 context: VercelContext,
468 recordIds: readonly string[]
469): Promise<Map<string, string>> {
470 const values = new Map<string, string>();
471 const pending = [...new Set(recordIds)];
472 const operation = `Read a ${context.project} environment variable`;
473 const worker = async () => {
474 for (let id = pending.pop(); id !== undefined; id = pending.pop()) {
475 const endpoint = `/v1/projects/${encodeURIComponent(context.project)}/env/${encodeURIComponent(id)}`;
476 const response = apiResponse(

Callers 3

askSensitivityFunction · 0.85
collectDefaultsFunction · 0.85
confirmFunction · 0.85

Calls 2

closeMethod · 0.65
resolveFunction · 0.50

Tested by

no test coverage detected