clipwright/cloud
victorcavero14 8f57560fa5 feat(autopilot): clip every new video on the connected YouTube channel
Most subscribers use OpenShorts on one day and cancel. Autopilot makes the
value recur: once switched on, every new upload on the user's YouTube channel
(listed through the existing Upload-Post connection, no scraping) is sent
through the normal /api/process pipeline, the user gets an email when the
clips are ready, and with autopublish on the best clips are scheduled on
their socials, one a day.

- cloud/autopilot.py: poller, in-process job submission as the user,
  completion hook, autopublish, and /api/autopilot{,/videos,/run}
- guard rails: only videos published after switching on, max 3 days old,
  1 automatic job per user per day, first N minutes per video, Shorts skipped,
  paid plans only, dedupe by (user, video) across the deploy handover
- dashboard: new Autopilot tab (sidebar + mobile menu, #app?tab=autopilot)
- connect page can return to the Autopilot tab
- analytics: ClipsDelivered/JobFailed now report source=url and the plan

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-22 21:36:19 +02:00
..
__init__.py feat(autopilot): clip every new video on the connected YouTube channel 2026-09-22 21:36:19 +02:00
account.py feat(autopilot): clip every new video on the connected YouTube channel 2026-09-22 21:36:19 +02:00
alerts.py fix(alerts): probe the static pool the way the download asks 2026-09-08 11:30:26 +02:00
analytics.py feat(billing): mirror paid invoices, top-ups and refunds into OpenPanel as revenue 2026-09-03 14:16:19 +02:00
api_keys.py feat(agents): the pipeline as a platform — API keys, MCP server, webhooks 2026-08-03 22:33:16 +02:00
auth.py fix(auth): harden MX verification after code review 2026-08-13 10:07:20 +02:00
autopilot.py feat(autopilot): clip every new video on the connected YouTube channel 2026-09-22 21:36:19 +02:00
billing.py fix(ci): keep the subscriber-alert rule importable without the stripe SDK 2026-09-16 23:20:21 +02:00
config.py fix(ci): keep the subscriber-alert rule importable without the stripe SDK 2026-09-16 23:20:21 +02:00
database.py feat(rgpd): legales, cookies, baja de marketing, marcado AI Act y alertas sin PII 2026-09-07 19:22:52 +02:00
digest.py fix(digest): harden daily digest after code review 2026-08-18 14:53:31 +02:00
disposable_domains.txt feat(auth): verify email domain MX before sending magic links 2026-08-13 01:03:05 +02:00
disposable_mx.txt fix(auth): harden MX verification after code review 2026-08-13 10:07:20 +02:00
email_policy.py fix(auth): harden MX verification after code review 2026-08-13 10:07:20 +02:00
emails.py feat(autopilot): clip every new video on the connected YouTube channel 2026-09-22 21:36:19 +02:00
LICENSE fix(cloud): harden paid-mode surface + source-available license for cloud/ 2026-07-16 17:30:12 +02:00
managed_keys.py feat: add hosted paid mode (managed keys, Stripe trial, metering) 2026-07-14 13:04:43 +02:00
marketing.py feat(rgpd): legales, cookies, baja de marketing, marcado AI Act y alertas sin PII 2026-09-07 19:22:52 +02:00
mcp_oauth.py feat(mcp): OAuth 2.1 for claude.ai/ChatGPT, and a "connect an agent" panel 2026-08-27 01:17:49 +02:00
metering.py fix(gpu,proxy): release ASR models in the API, probe one video not the playlist 2026-09-17 17:19:57 +02:00
models.py feat(autopilot): clip every new video on the connected YouTube channel 2026-09-22 21:36:19 +02:00
oauth.py feat(abuse): abrir free a email normal + bloquear dominios desechables 2026-07-21 00:45:54 +02:00
proxy_ledger.py fix(download): explicit default,mweb clients so account cookies stop yielding "Video unavailable" 2026-09-06 03:43:46 +02:00
social_profiles.py feat(autopilot): clip every new video on the connected YouTube channel 2026-09-22 21:36:19 +02:00
storage.py feat(delivery): serve clips from a custom R2 domain, and show download progress 2026-08-23 13:49:08 +02:00
videos.py feat(rgpd): legales, cookies, baja de marketing, marcado AI Act y alertas sin PII 2026-09-07 19:22:52 +02:00