feat(publish): handle qiehao real-name auth via shared publisher errors

- Detect qiehao's real-name auth blocking response (code/message) in the
  desktop adapter, surface a Chinese-friendly summary, and propagate the
  detail through the failure result.
- Extract a shared publisher-errors module so the renderer can normalize
  these messages for the publish task table without duplicating regex.
- Pre-process article HTML for qiehao before upload via a new
  packages/publisher-platforms/src/qiehao.ts entry point.
- Update the manual self-test notes for jianshu and qiehao with the
  latest results.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-27 11:03:04 +08:00
parent dbce8515e7
commit 7ddd3d0c6c
8 changed files with 129 additions and 5 deletions
+3 -3
View File
@@ -22,14 +22,14 @@
头条号:toutiaohao.ts
知乎: zhihu.ts
百家号:baijiao.ts (表格官方渲染成了图片,不可以的,我们需要把表格降级处理)
百家号:baijiao.ts (表格官方渲染成了图片,表格降级处理)
哔哩哔哩:平台表格就不支持;降级了
掘金:图 表 ok
什么值得买: 图 表 ok
企鹅号:图片 ok 表格支持,但是会撑出去,目前是降级处理,后续再细调
简书:jianshu.ts (图片 ok,文字,表格 ok)
企鹅号:媒体资质未通过,另外要测
简书:jianshu.ts (图片未测,文字,表格 ok)
网易:媒体资质没下来
搜狐:没注册成功