clipwright/dashboard/src
juancarlos.cavero f10655fd1c feat(agents): the pipeline as a platform — API keys, MCP server, webhooks
Agents don't forget to come back; humans do. Make the whole pipeline
drivable without the dashboard:

- API keys (osk_...): sha256-stored tokens minted from the account page.
  get_current_user_optional resolves them like a session, so metering,
  entitlement, priority and job ownership apply to agents with zero
  endpoint changes. Key management refuses API-key auth (a leaked key
  cannot mint replacements).
- MCP server at /mcp: stateless Streamable-HTTP JSON-RPC, no SDK
  dependency. Six tools (process_video, get_job_status, list_clips,
  get_quota, add_subtitles, publish_clip) that call back into this same
  app in-process via ASGITransport with the caller's auth headers, so
  MCP can never drift from REST behavior. Cloud requires a key;
  self-host stays BYOK-open.
- Completion webhooks: webhook_url (+ optional HMAC webhook_secret) on
  /api/process, SSRF-checked at submit AND delivery, fired once after
  the R2 archive so payloads carry durable links, survives redeploys
  via the resume manifest.
- Dashboard: API keys card in the account page (create once-shown key,
  list, revoke).
- Tests pin BILLING_ENABLED=0 in conftest so the suite no longer
  depends on the developer's personal .env.
2026-08-03 22:33:16 +02:00
..
assets added front-end and backend 2025-12-19 17:59:03 +01:00
components feat(agents): the pipeline as a platform — API keys, MCP server, webhooks 2026-08-03 22:33:16 +02:00
contexts feat(attribution): record where each new account came from 2026-07-27 10:39:24 +02:00
lib feat(billing): measure the click-to-Stripe gap, and sell the outcome 2026-08-02 01:27:35 +02:00
remotion fix(ui): keep subtitle preview playable for karaoke presets 2026-07-17 21:26:04 +02:00
App.css added front-end and backend 2025-12-19 17:59:03 +01:00
App.jsx feat(conversion): vender también en los momentos buenos, no solo en el muro 2026-07-25 02:27:34 +02:00
config.js fix some things for deploy to pro 2025-12-19 21:20:10 +01:00
index.css feat(conversion): vender el plan (no top-ups) en el momento del muro de cuota 2026-07-25 02:14:58 +02:00
landing.css redesign: Lumen design system across landing, app and paywall 2026-07-17 02:41:22 +02:00
Landing.jsx feat(pricing): sell the GPU, the keys and the setup instead of the software 2026-07-27 10:21:58 +02:00
Legal.jsx feat(billing): free plan (20 min/mes sin tarjeta) + retirar trial + opt-in galería UGC 2026-07-20 00:26:21 +02:00
main.jsx feat(attribution): record where each new account came from 2026-07-27 10:39:24 +02:00
tokens.css redesign: Lumen design system across landing, app and paywall 2026-07-17 02:41:22 +02:00