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.09 kB
JavaScript
/**
* vault — `r402s/v0` wire types (protocol rev 40).
*
* Every object here mirrors a frozen JSON Schema under the private repo's
* `docs/strategy/products/kygit/schemas/` (`key_envelope.json`,
* `vault_genesis.json`, `allocation.json`, `recovery_receipt.json`,
* `capture_receipt.json`, `head.json`, `common.json`). Field names are the
* wire names (snake_case); values are STRINGS everywhere — the `r402s/v0`
* profile forbids JSON numbers (sizes, generations, and epochs are fixed-width
* decimal / hex strings).
*
* Scalar grammars (from `common.json`): `hex16` = exactly 16 lowercase hex;
* `hex32` = 32; `sha256` = 64; base64url values are unpadded and canonical
* (32 bytes = 43 chars, 64 bytes = 86 chars, the HPKE-sealed K_repo = 64
* chars / 48 bytes); timestamps are RFC 3339 UTC with millisecond precision
* and a trailing `Z`.
*/
/** The `recipient_pin_manifest`'s zero-value sentinel `base_pin_manifest_sha256` when no predecessor manifest exists (D197). */
export const VAULT_ZERO_SHA256_SENTINEL = "0".repeat(64);
//# sourceMappingURL=vault.types.js.map