Commit Graph

110 Commits

Author SHA1 Message Date
eric
a6ede5619c fix: harden yt-long reclaim/quota/sync, monitor overdue backoff, X day-pause, TikTok cookie delay
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 11:21:18 -05:00
eric
0dcfdb263a feat(yt-long): add 100 English SEO titles and descriptions for street food
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 11:04:21 -05:00
eric
89e4c664a6 fix(yt-long): count pending in quota, reclaim orphan recordings, Chinese sample reasons
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:49:08 -05:00
eric
4bb424b73e ui(yt-long): clone Shorts ops layout for long-form page
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:37:10 -05:00
eric
161dc58b57 fix(yt-long): cap kick concurrency and expose status in health
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:22:49 -05:00
eric
9732647037 fix(yt-long): add independent live sampling so imported channels get jobs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 10:08:58 -05:00
eric
72ef4c62e0 feat(yt-long): independent channels board, jobs table, and logs UI
Own yt_long_channels (+ import from Shorts OAuth), filtered jobs/events APIs, Shorts-like page tabs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 09:56:15 -05:00
eric
7bfead371a feat: isolated YouTube long-form 16:9 module (default off)
Companion to Shorts: 3-8min landscape (9:16 centered), upload as watch?v= not Shorts.
Own yt_long_jobs table/settings; read-only Shorts channel OAuth; never writes shorts_*.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 09:35:33 -05:00
eric
565081678b fix(pwa): guide China users to Add to Home Screen (WebAPK needs Google)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 08:00:46 -05:00
eric
472cef16de fix(pwa): clearer Android install feedback + harden SW precache
Explain app-drawer vs home screen; show manual Chrome menu steps; avoid SW install fail on auth redirect.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 07:53:31 -05:00
eric
c9c3c8e1b4 chore: bump dylive-helper to 2.2.3 (X daily limit detect)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 06:57:07 -05:00
eric
f63dbb78b3 fix: detect X daily post limit and pause auto-post
Extension reads the 'You've hit the daily post limit' banner and fails the job instead of reporting success. Backend then disables x_clips_auto_post, skips remaining scheduled clips, and cancels queued engage.post jobs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 06:53:14 -05:00
eric
dd2931af86 fix(test1): X 切片无限重发 bug — reclaim 把已完成任务退回 scheduled
根因:postTweet 不返回 tweetId,sync 写空 tweet_id,reclaim 又退回。
修复:1) tweet_id 为空时用 x2:jobId 标记已完成 2) reclaim 排除 finished_at>0
3) attempts>=3 直接 failed 不再循环。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 08:40:38 -05:00
eric
b5a6907b85 feat(ops): 站点概览卡片点击弹窗查看访客详情
弹窗含 PV/访客/趋势及页面、来源、地区、城市、语言、设备、OS、浏览器等排行。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 03:07:58 -05:00
eric
7b3c926bfb fix(test1): X 活动流展示账号/文案/媒体,去掉「做完了」废话
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 01:01:37 -05:00
eric
04dc572df7 feat(test1): Shorts/TikTok/X 文案库 100+1 随机(英文 street food 存 DB)
各平台独立 100 条英文文案写入 caption_pool,上传时与自定义模板一并随机。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 00:48:48 -05:00
eric
993433d380 feat(ops): auto-poll server for live analytics/monitor updates
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 00:34:15 -05:00
eric
d8bf5658e6 feat(ops): show Umami visit analytics on /ops like GA overview
Keep monitor/DNS/ntfy as a separate tab; analytics is read-only via Umami API.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 23:58:40 -05:00
eric
d57a0e2acb fix(ops): keep webhook notify untouched; normalize Umami script
Ops/ntfy stays isolated from existing live/TikTok webhook paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 23:54:53 -05:00
eric
acbf167ebe feat(ops): Umami/ntfy/DNS 运维控制台页面与 API 2026-08-15 23:49:11 -05:00
eric
744a35fbbd feat(test1): 新增 /clash 页托管 Clash Verge 与 clash.yaml
从 GitHub 同步 Win x64 安装包到 S3,并提供配置下载与同步 API。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 09:31:01 -05:00
eric
0c3fc9f68e fix(test1): X立即取样提示区分「今日已取样」与真无候选
当前在播房同日去重后返回 all_deduped,不再误报 no_candidates。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 08:37:31 -05:00
eric
708b2148bb fix(test1): 恢复旧任务可见性,默认显示全部账号
未打账号标记的历史任务不再被过滤隐藏;默认进入「全部账号」。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 08:34:12 -05:00
eric
b0706b351b feat(test1): X 按账号隔离展示任务与切片数据
切换顶部账号后,任务流/结果/统计与切片列表按该账号过滤;新建任务写入 account。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 08:29:17 -05:00
eric
4d85eb6f8d fix(test1): 发帖文案严格使用用户模板,禁止擅自改成直播间文案
发帖时按当前模板重算;去掉强行追加「直播精彩瞬间」的逻辑。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 08:19:49 -05:00
eric
f226fb87ce fix(test1): 短文案重试时补后缀,避免覆盖自定义模板
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 08:14:21 -05:00
eric
e0d4a95c0c fix(test1): 放宽短中文文案校验,短主播名自动补后缀
「小夏妹妹」等短名不再被误判正文过短;默认模板改为带「直播精彩瞬间」。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 08:12:58 -05:00
eric
ba2ab0400a fix(test1): X发帖媒体改为后台下载,失败不再删S3
content script 在 x.com 上 fetch S3 会 Failed to fetch;改走 background host_permissions,且 failed 任务保留媒体以便重试。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 08:07:27 -05:00
eric
0e80a5faa1 feat(test1): X 直播切片自动文字+视频发帖(独立流水线)
取样录制 10-15s、S3 暂存、插件 engage.post;与 Shorts/TikTok 表与配额隔离。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 07:57:35 -05:00
eric
f3860cc3ee feat(test1): X发帖支持文字+视频,媒体经S3中转发完删除
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 07:29:44 -05:00
eric
ec3cfc2c27 feat(test1): 下载页 — Chrome与最新插件托管到S3
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 06:30:00 -05:00
eric
de9dc95413 fix(test1): 修复 UploadTimeline 回调隐式 any 导致 npm build 失败
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 05:02:16 -05:00
eric
b59c39d4b8 feat(test1): 时间轴/场次深链/按房时长/盯梢推荐/配额预演/X结果
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 04:59:15 -05:00
eric
e08db6aa74 feat(test1): 功能优化首批 — 配额可配、失败归因、成片质检、TikTok补量与跨平台标签
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 04:50:28 -05:00
eric
9fbf5ec04a fix: 从 TikTok @主页抓取完整头像与粉丝/视频数
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 03:19:18 -05:00
eric
60054cd188 feat: TikTok 账号拉取头像昵称粉丝等资料并落库/S3展示
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 03:15:49 -05:00
eric
35728c405e fix: 插件正确读取并填入 tt-target-idc,去掉假默认 useast2a
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 03:09:01 -05:00
eric
3b1c05246c fix: TikTok Cookie 从插件读取无法同步到页面表单
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 02:44:50 -05:00
eric
70fc686ddf feat: X 插件任务通道 poll 演进为 WebSocket
Web 下发即时推送;插件断线自动重连,HTTP poll 仅作兜底。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 01:32:13 -05:00
eric
9c63b2d0cc feat: 重做 Web /x 为完整 X2 Ops 控制台
三栏布局对齐 Electron;清理/采集/互动/监控能力对齐插件 popup。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 00:53:59 -05:00
eric
57690bd286 feat: Web /x 控制台下发任务,插件自动配对领取执行
插件 X popup 保持可独立运行;打开本站即可自动配对,无需手填 Token。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 00:14:25 -05:00
eric
9806ed3a0a feat: X2 推送接入 API 与 /x 实时看板
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 23:39:41 -05:00
eric
527caabf34 feat: H5 底栏用 X 替换 YouTube,新增 /x 占位页
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 22:28:43 -05:00
eric
abf37e9abd fix: 放行 PWA manifest/sw 免登录访问
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 22:21:33 -05:00
eric
60ea916a4d feat: 全站 H5 响应式导航与可选 PWA 安装
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 22:19:06 -05:00
eric
c258cb40af fix: TikTok 配额改为软目标,仅官方限流提示并每小时试传解除
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 22:00:33 -05:00
eric
952e90cc54 fix: TikTok 日上传配额按官方 Direct Post 约 15 条/账号
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 21:57:10 -05:00
eric
f76c5a326f fix: 修复抖音短录 ffmpeg reconnect 参数导致 Invalid argument
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 21:41:32 -05:00
eric
45c2437a0e feat: TikTok 上传支持按账号可选 SOCKS 静态住宅 IP
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 21:40:48 -05:00
eric
e2f03e4082 feat: 抖音取样录制对齐 DouyinLiveRecorder 多线探测与 ffmpeg 重连
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 21:33:22 -05:00