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

Function confirm

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

Source from the content-addressed store, hash-verified

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(
477 await vercelAsync(context, apiArgs(context, endpoint)),
478 operation
479 );
480 const value = stringValue(response, 'value');
481 if (response.decrypted === true && value !== undefined) values.set(id, value);
482 }
483 };
484 await Promise.all(Array.from({ length: 8 }, worker));
485 return values;

Callers 1

mainFunction · 0.70

Calls 2

questionFunction · 0.85
warnMethod · 0.65

Tested by

no test coverage detected