Fetching metadata from the HF Docker repository...
-
feat: 版本管理合并 + version-extractor 集成 + 人工审核 + GH Actions 废弃
zitons +1: Claude Opus 4.8 (1M context) - 版本管理合并进项目管理(删独立页,项目加"版本"弹窗)
- 项目列表:获取最新版本(走 version-extractor,带 productName + 弹窗人工审核批准/拒绝)
- extractor 配置页 + version-review API + extractor-config(DB 存 EXTRACTOR_URL)
- github/api.github.com 统一走 version-extractor
- 即时抓取 github 用 version-extractor;微任务只记录历史
- GH Actions 控制/派发废弃(API 410);workflow 精简为 TTL sweep
- Project 加 last_checked_at + VersionReview/AppSetting 表
- 修复 next build 失败(bench-extract 类型错误)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
-
feat: AI Provider 支持爬虫用途(scope),GH Actions 动态拉取配置
- AiProvider 增加 scope(translate|crawl|both) + router_role 字段
- /admin/ai 界面:用途选择器 + 爬虫路由角色(default/background/think/...)
- /api/translate 只使用 translate|both 用途的 provider
- 新增 /api/ops/crawl-config:返回爬虫 claude-code-router 配置(需鉴权,
含解密 key)
- workflow 的 Configure Claude Code Router 改为从后台动态拉取
scope=crawl 的 provider 生成 config.json;未配置时回退内置硬编码
- github-data-ops.yml / task-run.yml 都同步改造 -
feat: P6 GitHub Actions 后台控制(派发/状态/取消)
- lib/github-actions.ts:workflow_dispatch 派发 / 最近运行状态 / 取消
(GH_DISPATCH_TOKEN + GITHUB_REPO)
- /api/ops/gh-actions:GET 状态(主流水线+微任务最近运行)、POST 派发/取消
- /admin/ops 增加 GitHub Actions 控制区块:一键派发完整流水线或微任务、
实时运行状态徽章、取消按钮
- scripts/run-task.js:GH Actions 微任务执行器
(读任务→ccr 执行 AI 任务→结果回传站点 API)
- .github/workflows/task-run.yml:微任务 workflow(chrome-devtools MCP + ccr + postgres)
- /api/ops/task/[id]/result:任务结果回传端点(x-admin-key 鉴权) -
feat: P5 微任务系统(细粒度运营操作)
- lib/version-extract.ts:规则化版本提取(正则 > title/meta > JSON-LD > 正文关键词),
自动给出建议 version_regex,不依赖 LLM
- lib/tasks.ts:任务注册表 + 执行引擎
* 站内确定性任务:get-version/probe/verify-url/detect-feed/github-repo/
github-releases/github-trending/update-project
* AI 任务(write-regex/inspect-page/add-project)标记为派发 GH Actions
- /api/ops/task:POST 派发 + GET 列表
- /api/ops/task/[id]:GET 状态/结果(支持 SSE 实时)+ POST 取消
- /admin/tasks 微任务控制台:类型选择 + 动态表单 + 任务历史轮询
- next.config:got-scraping/header-generator/playwright 加入 serverExternalPackages -
feat: P4 运营控制平面(后台界面控制,不只 GH Actions)
- lib/ops.ts:OpRun 记录 + 站内阶段异步执行(不阻塞响应,UI 轮询进度)
+ getOpsStatus 聚合(最近运行/调度/代理/AI Provider/项目数)
- /api/ops/run:触发站内 GitHub/Trending 抓取(异步,返回 run id)
- /api/ops/status:全局状态(每 3s 轮询实时刷新)
- /api/ops/history:运营历史
- /admin/ops 运营控制界面:即时抓取按钮、状态卡片、最近运行表格
- admin 侧边栏增加运营控制入口