Skip to content

Latest commit

 

History

History
52 lines (44 loc) · 2.85 KB

File metadata and controls

52 lines (44 loc) · 2.85 KB

Doc Deploy Backlog

Tracked follow-ups after the x402 migration. None of these block end-to-end testing — they are quality, completeness, and polish items.

Items are roughly ordered by leverage / smallness. Strike through (~~item~~) when shipped.

Human dashboard

  • Wallet disconnectDELETE /api/wallet/link/[address] + button.
  • "$ spent this month" tilepayments/summary returns monthUsdc / monthCalls; rendered on Pricing tab and Settings → Usage card.
  • Document tagging UI — already shipped earlier; backend /api/documents/[id]/tags + inline chip editor on document rows.
  • More copy buttons<CopyButton> on memory IDs, payment tx hashes (with BaseScan link), plus IdentityCard for principal strings.
  • Settings page polish — currently has Identity + Organization. Still missing: API key rotation, default tags, danger zone (delete tenant).
  • Toast feedback — success/error toasts on upload, memory delete, memory view, wallet link/unlink. Currently uses alert() for failures.
  • Empty states — friendly "no documents yet / no memories yet / no payments yet" panels on the three list pages.
  • Memory viewer modal — wire memories list rows to open the existing viewer modal with decrypted content.
  • Keyboard shortcutsg d/u/m/c/p/a/s jumps between pages, ? shows a help overlay, Esc closes overlays.
  • Bulk select on documents/memories — checkbox column + select-all + bulk delete action bar. Substantial UI rebuild — own PR.
  • Dark mode — currently the dashboard is dark-only. A toggle would require auditing every hardcoded text-zinc-* / bg-zinc-* for contrast.

Agent / MCP surface

  • OpenAPI schema exportGET /api/openapi.json returns an OpenAPI 3.1 doc with x-x402-* extensions for every paid route. Built via buildOpenApi() in @docdeploy/x402.
  • MCP schema exportGET /schema.json on the MCP server returns the full tool inventory with input json-schema + per-tool USDC price. Built via buildMcpSchema() in packages/mcp-server/src/schema-export.ts.
  • Cost estimatorPOST /api/estimate accepts { calls: [{route, sizeBytes?, count?}] } and returns totalUsdc + per-line breakdown. Public, no auth.
  • Unattended OAuth (m2m / client_credentials)POST /token now accepts grant_type=client_credentials with the MCP API key as client_secret (or HTTP Basic). Returns the same Bearer used for /mcp.
  • /health echo polish — verify x402-api and MCP /health return all expected fields (commit, network, payee, version).

Explicitly NOT doing

  • Rate limiting / quotas — payment is the rate limit by design.