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

Function setAuditNote

scripts/web-env/shared.ts:330–351  ·  view source on GitHub ↗
(item: JsonRecord, note: string)

Source from the content-addressed store, hash-verified

328 throw error;
329 }
330 return apiResponse(output, operation);
331}
332
333function projectExists(context: VercelContext): boolean {
334 try {
335 vercelApi(
336 context,
337 `/v9/projects/${encodeURIComponent(context.project)}`,
338 `Read ${context.project}`
339 );
340 return true;
341 } catch (error) {
342 if (error instanceof VercelApiError && error.code === 'not_found') return false;
343 throw error;
344 }
345}
346
347export function resolveVercelContexts(tempDirectory: string): VercelContexts {
348 let whoami: JsonRecord;
349 try {
350 whoami = parseJson(
351 vercel(undefined, ['whoami', '--format=json'], undefined, { includeFailureOutput: true }),
352 'Vercel login'
353 );
354 } catch (error) {

Callers 1

setVaultValueFunction · 0.85

Calls 4

recordsFunction · 0.85
stringValueFunction · 0.85
pushMethod · 0.80
joinMethod · 0.80

Tested by

no test coverage detected