Skip to content

Harden WeChat installation and diagnostics - #3

Merged
Backtthefuture merged 1 commit into
mainfrom
fix/wechat-install-and-diagnostics
Aug 30, 2026
Merged

Harden WeChat installation and diagnostics#3
Backtthefuture merged 1 commit into
mainfrom
fix/wechat-install-and-diagnostics

Conversation

@Backtthefuture

Copy link
Copy Markdown
Owner

问题

公开安装仍把 public-worker 写成默认视频号解析器,但该服务当前会返回 HTTP 401;原来的 --doctor 只验证依赖或登录态,容易把认证就绪误报成完整解析链路就绪。升级脚本还可能覆盖本地配置,并在多运行时环境中命中错误的 Skill 副本。

修改

  • 默认使用本机 yuanbao-login,不再自动把公开视频号链接发给公共 Worker
  • 为认证、解析、详情和媒体流阶段增加稳定错误码与机器可读探测结果
  • 新增 --doctor-live <视频号链接>,区分认证检查与真实端到端解析
  • 安装和升级保留 .envoutputs/ 与本地词表,移除用户名硬编码并增加路径护栏
  • 配套 video-download 默认与当前 Skill 同根安装,并使用当前 Python 解释器
  • 修正 Skill frontmatter 与联网/隐私说明
  • 增加 GitHub Actions、回归测试和非交互重装烟雾测试

验证

  • python3 -m unittest discover -s tests -v:12/12 通过
  • Skill quick validation:通过
  • bash -n install.sh bootstrap.sh:通过
  • Python entrypoint compile:通过
  • 干净 HOME:无登录态时返回 WECHAT_AUTH_REQUIRED,不启动浏览器
  • 非交互重装:保留原 .env,只迁移旧 Worker 默认值

验收边界

当前没有随 PR 提供可公开使用的视频号测试链接,因此尚未声称腾讯侧真实链接解析已端到端恢复。合并前可使用 --doctor-live 和一个公开视频号链接完成最后验收。

@Backtthefuture
Backtthefuture merged commit b02f1e1 into main Aug 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant