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

Function capture

scripts/web-env/shared.ts:270–278  ·  view source on GitHub ↗
(chunks: Buffer[], chunk: Buffer)

Source from the content-addressed store, hash-verified

268}
269
270function onePasswordAccessError(error: unknown): Error {
271 const details = error instanceof Error ? error.message.trim() : '';
272 return new Error(
273 [
274 `Could not verify 1Password access to the ${VAULT} vault.`,
275 ...onePasswordInstallInstructions(),
276 `Verify access with \`op account list --format=json\`, then \`op vault get "${VAULT}" --account ${ONE_PASSWORD_ACCOUNT_URL} --format=json\`.`,
277 'If verification says the vault is missing or forbidden, ask for access to that vault.',
278 details ? `1Password reported:\n${details}` : undefined,
279 ]
280 .filter(Boolean)
281 .join('\n')

Callers 1

runOpWithTemplateFunction · 0.85

Calls 2

pushMethod · 0.80
failFunction · 0.70

Tested by

no test coverage detected