Skip to content

v2.37.0

Choose a tag to compare

@github-actions github-actions released this 04 Jun 20:01
· 49 commits to main since this release

Pre-launch API-consistency cleanup (Batch 1, piece 3 + exposure hardening). Mirrors the gateway's account-addressing changes in the SDK/CLI/MCP. Lockstep release of run402-mcp, run402, and @run402/sdk at 2.37.0.

Coordinated rollout: these clients now expect the new gateway account routes. The matching gateway change must be deployed for 2.37.0 billing reads to resolve.

Billing — accounts addressed by billing_account_id (UUID)

  • Account reads are keyed by the canonical billing_account_id. billing.getAccount / checkBalance send a UUID straight to GET /billing/v1/accounts/:account_id, and resolve a wallet/email through the new GET /billing/v1/accounts?wallet=|?email= lookup.
  • billing.history / getHistory resolve a wallet/email to the account id first, then read /accounts/:account_id/history.
  • New billing.lookupAccount(identifier) resolves a wallet/email → account detail (including billing_account_id).
  • Response shape: dropped identifier_type, added billing_account_id. BillingBalance is now a deprecated alias of BillingAccountDetail; BillingHistoryResult is keyed by billing_account_id.
  • Auth: account reads require SIWX from a wallet linked to the account (or an admin key); email lookups are admin-only.

Security — GET /wallets/v1/:address/projects is now owner-only

  • projects.list now signs SIWX. The endpoint was previously public (anyone could enumerate any wallet's project ids/names/usage); it now requires a SIWX wallet matching the address, or an admin key.

Docs & surfaces

  • MCP tool descriptions (check_balance, list_projects, billing_history), CLI billing help, and the comprehensive references (llms-cli.txt, llms-sdk.txt, sdk/README.md, both SKILL.md) updated.

Closes #432.