Skip to content

Function: probeVault()

probeVault(options?): Promise<VaultProbe>

Defined in: packages/aiui-util/src/vault.ts:312

Whether this platform's vault CLI is usable at all — the precondition an installed aiui must satisfy before it can resolve ANY key (the OS vault is its only source). Runs the backend's harmless probe purely to distinguish a missing binary from usage/exit-code noise; an unsupported platform (no backend) also reports unavailable, with the reason as help.

Parameters

options?

VaultOptions = {}

Returns

Promise<VaultProbe>