run402-mcp
Version:
MCP server for Run402 — full-stack backend infrastructure for AI agents: Postgres, auth, storage, serverless functions and atomic deploys. Paid with x402/MPP. Includes $0.03 image generation.
20 lines • 1.23 kB
TypeScript
import type { VaultBucketProbeResult } from "./vault-mirror-backend.js";
import type { VaultMirrorCredential, VaultMirrorDestination } from "./vault-mirror-config.js";
/**
* The failing properties, named — never a bundled "the probe failed". Every
* entry maps 1:1 to one of {@link VaultBucketProbeResult}'s three
* booleans, so a caller (or a test) can assert on exactly what broke.
*/
export declare function vaultByoProbeFailingProperties(result: VaultBucketProbeResult): string[];
/**
* `repos create --byo`'s pre-allocation gate: open a root-scoped backend at
* `destination` (no `repo_id` — the probe never collides with any vault's
* own `source/<repo_id>/` prefix, since it writes under `_byo-probe/`
* instead) and run {@link VaultMirrorBackend.probeWritePolicy}. A failed
* property (or a thrown transport error) refuses with
* `VAULT_BYO_BUCKET_PROBE_FAILED`, naming exactly which propert(y/ies)
* failed and the underlying fact — the caller MUST NOT proceed to
* allocation on a failed probe.
*/
export declare function probeVaultByoDestination(destination: VaultMirrorDestination, credential?: VaultMirrorCredential): Promise<VaultBucketProbeResult>;
//# sourceMappingURL=vault-byo-probe.d.ts.map