Marketplace Playground ADR-015 · publish/fetch

Browser-based test harness for the marketplace publish/fetch API. Generates a local Ed25519 AS keypair, signs canonical (RFC 8785 JCS) bodies, and exercises every documented endpoint. Open me from http://localhost:3000/playground for same-origin access.

1. Connection & Probes

3. Manifest Editor

JCS-canonicalized (RFC 8785) before signing & CID. Identical to the server's lib/manifest/cid.ts.
Vault demo examples — populate the marketplace with the four hardcoded vault preview agents (meeting-notes, dating-coach, github-contributions, sleep-tracker). Each manifest reuses the fixture bundle and overrides identity + card. Signed with the saved Agent Service, or a fresh one minted on first publish.

4. Publish

5. Browse / Fetch

6. Vault — Wallet & Probes

End-to-end demo per prototype.md §End-to-end demo: connect wallet → claim vault → connect a marketplace-published agent → publish events. Wallet connects via the shared connectCereWallet helper (same path as the /agents/[agentId] Try-this-out flow); every authenticated vault call goes through @cef-ai/vault-sdk's VaultSDK, which signs each request with the wallet's ed25519 key.
presets:
No wallet connected.

7. Vault — Lifecycle

8. Vault — Connect Agent

Pulls the manifest from Marketplace by agentId, renders the settings form, signs a V2 GAR agreement with the connected wallet (vault.agreements.sign), then POSTs /api/v1/vaults/:id/agents with manifestCid + settings + the resulting agreementSignature.

9. Vault — Publish Event

HTTP logCtrl/⌘+K opens last JSON in fullscreen
null