Commit Graph

2 Commits

Author SHA1 Message Date
localhost ffad3b05a9 feat(admin): email archive requests with AI triage, replace MCP
Poll the admin inbox over IMAP, extract YouTube IDs from any URL form
(plus verified bare IDs), classify with an LLM (Vercel ai, opencode
glm-5.3-flash) and queue archive requests in the admin dashboard with an
AI summary and collapsible full email.

Approve whitelists and archives with retries, then the LLM drafts the
reply (AI notice appended) and the request is marked solved. Reject asks
the requester for more context and merges their answer back. Auto-approve
senders are managed from the dashboard.

Remove the MCP server, router and SDK dependency.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-23 19:03:09 +02:00
localhost 0e4d966804 feat(admin): add Glacier restore tool and admin dashboard
Admin-only page to move videos from AWS Glacier cold storage back to
hot storage. Kicks off a scoped S3 restore, polls until ready, then
reuploads via the existing hot-storage path and emails the requester.
Poller is gated by IS_PRIMARY so multi-server deployments don't race.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-23 18:10:09 +02:00