@yixiaoermail/cli 3.2.1 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -1
- package/bin/install.js +256 -0
- package/bin/postinstall.js +4 -8
- package/bin/resolve-binary.js +5 -19
- package/bin/yxer.js +18 -12
- package/checksums.txt +6 -0
- package/package.json +29 -28
- package/references/cli/command-design.md +305 -305
- package/references/cli/command-reference.md +35 -35
- package/references/legacy/capabilities.md +13 -13
- package/references/workflows/payload-sourcing.md +17 -17
- package/references/workflows/publish-troubleshooting.md +10 -10
- package/schemas/platforms/acfun.article.schema.json +117 -117
- package/schemas/platforms/acfun.video.schema.json +139 -139
- package/schemas/platforms/aiqiyi.article.schema.json +29 -29
- package/schemas/platforms/aiqiyi.video.schema.json +154 -154
- package/schemas/platforms/baijiahao.article.schema.json +160 -160
- package/schemas/platforms/baijiahao.imageText.schema.json +111 -111
- package/schemas/platforms/baijiahao.video.schema.json +180 -180
- package/schemas/platforms/bilibili.article.schema.json +109 -109
- package/schemas/platforms/bilibili.video.schema.json +175 -175
- package/schemas/platforms/chejiahao.article.schema.json +108 -108
- package/schemas/platforms/chejiahao.video.schema.json +111 -111
- package/schemas/platforms/csdn.article.schema.json +106 -106
- package/schemas/platforms/dayuhao.article.schema.json +106 -106
- package/schemas/platforms/dayuhao.video.schema.json +153 -153
- package/schemas/platforms/dewu.video.schema.json +134 -134
- package/schemas/platforms/douban.article.schema.json +48 -48
- package/schemas/platforms/douyin.article.schema.json +318 -318
- package/schemas/platforms/douyin.imageText.schema.json +287 -287
- package/schemas/platforms/douyin.video.schema.json +852 -852
- package/schemas/platforms/duoduoshipin.video.schema.json +108 -108
- package/schemas/platforms/facebook.video.schema.json +28 -28
- package/schemas/platforms/fengwang.video.schema.json +135 -135
- package/schemas/platforms/instagram.video.schema.json +28 -28
- package/schemas/platforms/jianshu.article.schema.json +33 -33
- package/schemas/platforms/kuaichuanhao.article.schema.json +83 -83
- package/schemas/platforms/kuaishou.imageText.schema.json +171 -171
- package/schemas/platforms/kuaishou.video.schema.json +243 -243
- package/schemas/platforms/meipai.video.schema.json +123 -123
- package/schemas/platforms/meiyou.video.schema.json +96 -96
- package/schemas/platforms/pipixia.video.schema.json +94 -94
- package/schemas/platforms/qiehao.article.schema.json +89 -89
- package/schemas/platforms/qiehao.video.schema.json +147 -147
- package/schemas/platforms/shipinhao.imageText.schema.json +139 -139
- package/schemas/platforms/shipinhao.video.schema.json +237 -237
- package/schemas/platforms/souhuhao.article.schema.json +73 -73
- package/schemas/platforms/souhuhao.video.schema.json +171 -171
- package/schemas/platforms/souhushipin.video.schema.json +115 -115
- package/schemas/platforms/tengxunshipin.video.schema.json +114 -114
- package/schemas/platforms/tiktok.video.schema.json +72 -72
- package/schemas/platforms/toutiaohao.article.schema.json +166 -166
- package/schemas/platforms/toutiaohao.imageText.schema.json +83 -83
- package/schemas/platforms/toutiaohao.video.schema.json +134 -134
- package/schemas/platforms/wangyihao.article.schema.json +85 -85
- package/schemas/platforms/wangyihao.video.schema.json +151 -151
- package/schemas/platforms/weishi.video.schema.json +101 -101
- package/schemas/platforms/weixin.account.article.schema.json +148 -148
- package/schemas/platforms/xhs.imageText.schema.json +131 -131
- package/schemas/platforms/xiaohongshu.video.schema.json +225 -225
- package/schemas/platforms/xiaohongshushop.video.schema.json +142 -142
- package/schemas/platforms/xinlang.article.schema.json +69 -69
- package/schemas/platforms/xinlang.imageText.schema.json +86 -86
- package/schemas/platforms/xinlang.video.schema.json +152 -152
- package/schemas/platforms/xueqiuhao.article.schema.json +84 -84
- package/schemas/platforms/yichehao.article.schema.json +140 -140
- package/schemas/platforms/yichehao.video.schema.json +101 -101
- package/schemas/platforms/yidianhao.article.schema.json +77 -77
- package/schemas/platforms/yidianhao.video.schema.json +152 -152
- package/schemas/platforms/youtube.video.schema.json +92 -92
- package/schemas/platforms/zhihu.article.schema.json +104 -104
- package/schemas/platforms/zhihu.imageText.schema.json +61 -61
- package/schemas/platforms/zhihu.video.schema.json +144 -144
- package/skills/yixiaoer/QUICKSTART.md +4 -4
- package/skills/yixiaoer/SKILL.md +1 -1
- package/skills/yixiaoer/references/cli/command-reference.md +30 -30
- package/skills/yixiaoer/references/create-account-group.md +27 -27
- package/skills/yixiaoer/references/delete-account-group.md +20 -20
- package/skills/yixiaoer/references/domains/accounts-and-env.md +17 -17
- package/skills/yixiaoer/references/domains/install-and-sync.md +41 -13
- package/skills/yixiaoer/references/domains/publish.md +11 -11
- package/skills/yixiaoer/references/execution-standard.md +18 -18
- package/skills/yixiaoer/references/get-account-groups.md +14 -14
- package/skills/yixiaoer/references/get-members.md +28 -28
- package/skills/yixiaoer/references/go-live-process.md +11 -19
- package/skills/yixiaoer/references/keyword-reference.md +4 -4
- package/skills/yixiaoer/references/material-resource.md +8 -8
- package/skills/yixiaoer/references/platforms/article/toutiaohao.md +28 -28
- package/skills/yixiaoer/references/platforms/video/facebook.md +37 -37
- package/skills/yixiaoer/references/platforms/video/index.md +7 -7
- package/skills/yixiaoer/references/platforms/video/instagram.md +40 -40
- package/skills/yixiaoer/references/platforms/video/tiktok.md +50 -50
- package/skills/yixiaoer/references/platforms/video/youtube.md +53 -53
- package/skills/yixiaoer/references/proxy-management.md +9 -9
- package/skills/yixiaoer/references/topic-tags.md +31 -31
- package/skills/yixiaoer/references/troubleshooting-guide.md +2 -2
- package/skills/yixiaoer/references/update-account-group.md +28 -28
- package/skills/yixiaoer/references/upload-resource.md +6 -6
- package/skills/yixiaoer/references/usage-workflow.md +3 -5
- package/skills/yixiaoer/references/workflows/common-rules.md +29 -29
- package/skills/yixiaoer/references/workflows/data-accuracy.md +83 -83
- package/skills/yixiaoer/references/workflows/payload-sourcing.md +24 -24
- package/skills/yixiaoer/references/workflows/publish-troubleshooting.md +10 -10
- package/dist/yxer-darwin-amd64 +0 -0
- package/dist/yxer-darwin-arm64 +0 -0
- package/dist/yxer-linux-amd64 +0 -0
- package/dist/yxer-linux-arm64 +0 -0
- package/dist/yxer-windows-amd64.exe +0 -0
- package/dist/yxer-windows-arm64.exe +0 -0
- package/references/cli/skill-install.md +0 -76
- package/skills/yixiaoer/plugin.json +0 -21
- package/skills/yixiaoer/references/cli/skill-install.md +0 -65
- package/skills/yixiaoer/references/cli-install-uninstall.md +0 -196
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
> **前提条件 (Prerequisite)**:
|
|
5
5
|
> 在使用本平台的特定参数之前,你 **必须** 已经阅读并理解了 [文章发布首页 (Index)](./index.md) 中定义的 Payload 根结构。本页仅描述 `contentPublishForm` 内部的平台差异化字段。
|
|
6
6
|
|
|
7
|
-
## 触发场景 (Trigger)
|
|
8
|
-
- **意图辨析**:用户指定在“今日头条 (头条号)”发布长文章或新闻资讯,且需要配置如“广告收益 (Advertisement)”、“头条首发”、“地点挂载”或“创作者申明”等头条特有商业与分发逻辑时。
|
|
9
|
-
- **典型提示词**:
|
|
10
|
-
- “发一篇今日头条的文章,开启广告收益模式”
|
|
11
|
-
- “头条文章发布,声明是我的原创首发内容”
|
|
12
|
-
- “在头条文章里加上我所在的物理位置”
|
|
13
|
-
- “帮我同步这个图文到头条号并存为草稿”
|
|
7
|
+
## 触发场景 (Trigger)
|
|
8
|
+
- **意图辨析**:用户指定在“今日头条 (头条号)”发布长文章或新闻资讯,且需要配置如“广告收益 (Advertisement)”、“头条首发”、“地点挂载”或“创作者申明”等头条特有商业与分发逻辑时。
|
|
9
|
+
- **典型提示词**:
|
|
10
|
+
- “发一篇今日头条的文章,开启广告收益模式”
|
|
11
|
+
- “头条文章发布,声明是我的原创首发内容”
|
|
12
|
+
- “在头条文章里加上我所在的物理位置”
|
|
13
|
+
- “帮我同步这个图文到头条号并存为草稿”
|
|
14
14
|
|
|
15
|
-
## 执行逻辑 (Logic Flow)
|
|
16
|
-
1. **封面适配**:头条号对封面 (`covers`) 数量有严格要求(1 张或 3 张)。
|
|
17
|
-
2. **位置检索**:若需精准挂载位置,调用 `locations` 接口获取 DTO。
|
|
18
|
-
3. **收益装配**:根据意图注入 `advertisement: 3`(赚取收益)或 `2`(不投放广告)。
|
|
19
|
-
4. **参数装配**:构造 `accountForms[i].contentPublishForm`。
|
|
20
|
-
5. **指令执行**:先执行 `yxer validate <platform> <type> <payload.json>`,再执行 `yxer publish <type> <platform> <payload.json> [clientId]`。
|
|
15
|
+
## 执行逻辑 (Logic Flow)
|
|
16
|
+
1. **封面适配**:头条号对封面 (`covers`) 数量有严格要求(1 张或 3 张)。
|
|
17
|
+
2. **位置检索**:若需精准挂载位置,调用 `locations` 接口获取 DTO。
|
|
18
|
+
3. **收益装配**:根据意图注入 `advertisement: 3`(赚取收益)或 `2`(不投放广告)。
|
|
19
|
+
4. **参数装配**:构造 `accountForms[i].contentPublishForm`。
|
|
20
|
+
5. **指令执行**:先执行 `yxer validate <platform> <type> <payload.json>`,再执行 `yxer publish <type> <platform> <payload.json> [clientId]`。
|
|
21
21
|
|
|
22
22
|
## 1. contentPublishForm 参数定义
|
|
23
23
|
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
| `title` | `string` | **是** | 文章标题 (1-50 字符) | - |
|
|
28
28
|
| `content` | `string` | **是** | 文章内容 (HTML 字符串,最多 50000 字符) | - |
|
|
29
29
|
| `covers` | `Array` | **是** | 文章封面列表 (`OldCover[]`, 1-9 张) | - |
|
|
30
|
-
| `isFirst` | `boolean` | 否 | 是否头条首发 | `false` |
|
|
31
|
-
| `location` | `Object` | 否 | 位置对象 (`PlatformDataItem`) | - |
|
|
32
|
-
| `scheduledTime` | `number` | 否 | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
|
|
33
|
-
| `advertisement` | `number` | 否 | 广告投放收益: 2-无收益, 3-投放广告赚收益 | `3` |
|
|
34
|
-
| `declaration`| `number` | 否 | 创作类型 1:自行拍摄 2:取自站外 3:AI生成 6:虚构演绎 7:投资观点 8:健康医疗 | - |
|
|
35
|
-
| `pubType` | `number` | **是** | 发布类型: 0-草稿, 1-直接发布 | 1 |
|
|
30
|
+
| `isFirst` | `boolean` | 否 | 是否头条首发 | `false` |
|
|
31
|
+
| `location` | `Object` | 否 | 位置对象 (`PlatformDataItem`) | - |
|
|
32
|
+
| `scheduledTime` | `number` | 否 | 定时发布时间 (13 位 Unix 时间戳,单位: 毫秒) | - |
|
|
33
|
+
| `advertisement` | `number` | 否 | 广告投放收益: 2-无收益, 3-投放广告赚收益 | `3` |
|
|
34
|
+
| `declaration`| `number` | 否 | 创作类型 1:自行拍摄 2:取自站外 3:AI生成 6:虚构演绎 7:投资观点 8:健康医疗 | - |
|
|
35
|
+
| `pubType` | `number` | **是** | 发布类型: 0-草稿, 1-直接发布 | 1 |
|
|
36
36
|
|
|
37
37
|
## 2. Payload 完整示例
|
|
38
38
|
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"covers": [
|
|
53
53
|
{ "key": "cover_key_001", "width": 800, "height": 600, "size": 150000 }
|
|
54
54
|
],
|
|
55
|
-
"advertisement": 3,
|
|
56
|
-
"isFirst": true,
|
|
57
|
-
"pubType": 1
|
|
58
|
-
}
|
|
59
|
-
}
|
|
55
|
+
"advertisement": 3,
|
|
56
|
+
"isFirst": true,
|
|
57
|
+
"pubType": 1
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
60
|
]
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
### 3.1 OldCover
|
|
68
68
|
包含 `key`, `size`, `width`, `height`。
|
|
69
69
|
|
|
70
|
-
### 3.2 PlatformDataItem (位置信息)
|
|
71
|
-
包含 `yixiaoerId`, `yixiaoerName`, `raw` (必须完整透传)。
|
|
70
|
+
### 3.2 PlatformDataItem (位置信息)
|
|
71
|
+
包含 `yixiaoerId`, `yixiaoerName`, `raw` (必须完整透传)。
|
|
72
72
|
|
|
73
73
|
## 相关接口
|
|
74
74
|
|
|
75
75
|
| 目标字段 | 对应 Action | 文档参考 |
|
|
76
76
|
| :--- | :--- | :--- |
|
|
77
|
-
| `location` | `locations` | [获取位置信息](../../get-locations.md) |
|
|
78
|
-
| `covers.key`| `upload` | [资源上传](../../upload-resource.md) |
|
|
77
|
+
| `location` | `locations` | [获取位置信息](../../get-locations.md) |
|
|
78
|
+
| `covers.key`| `upload` | [资源上传](../../upload-resource.md) |
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
# Facebook 视频发布
|
|
2
|
-
|
|
3
|
-
> [!IMPORTANT]
|
|
4
|
-
> 先阅读 [视频发布首页](./index.md) 的标准 Payload 结构。本页仅说明 `contentPublishForm` 内的平台字段。
|
|
5
|
-
|
|
6
|
-
## contentPublishForm 字段
|
|
7
|
-
|
|
8
|
-
| 字段名 | 类型 | 必填 | 说明 | 默认值 |
|
|
9
|
-
| :--- | :--- | :--- | :--- | :--- |
|
|
10
|
-
| `formType` | string | 是 | 固定为 `task` | `task` |
|
|
11
|
-
| `title` | string | 否 | 视频标题,最多 128 字符 | - |
|
|
12
|
-
| `description` | string | 否 | 视频描述,最多 2048 字符 | - |
|
|
13
|
-
|
|
14
|
-
`thumbnail` 和 `videoKey` 是前端中间态字段;CLI 发布时应使用 `yxer upload` 后的 `accountForms[].video`、`accountForms[].cover` 和 `coverKey`。
|
|
15
|
-
|
|
16
|
-
## 示例
|
|
17
|
-
|
|
18
|
-
```json
|
|
19
|
-
{
|
|
20
|
-
"action": "publish",
|
|
21
|
-
"publishType": "video",
|
|
22
|
-
"platforms": ["Facebook"],
|
|
23
|
-
"publishArgs": {
|
|
24
|
-
"accountForms": [
|
|
25
|
-
{
|
|
26
|
-
"platformAccountId": "FACEBOOK_ACC_ID",
|
|
27
|
-
"video": { "key": "video_key", "size": 1024000, "width": 1920, "height": 1080 },
|
|
28
|
-
"contentPublishForm": {
|
|
29
|
-
"formType": "task",
|
|
30
|
-
"title": "Campaign video",
|
|
31
|
-
"description": "Campaign story"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
```
|
|
1
|
+
# Facebook 视频发布
|
|
2
|
+
|
|
3
|
+
> [!IMPORTANT]
|
|
4
|
+
> 先阅读 [视频发布首页](./index.md) 的标准 Payload 结构。本页仅说明 `contentPublishForm` 内的平台字段。
|
|
5
|
+
|
|
6
|
+
## contentPublishForm 字段
|
|
7
|
+
|
|
8
|
+
| 字段名 | 类型 | 必填 | 说明 | 默认值 |
|
|
9
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
10
|
+
| `formType` | string | 是 | 固定为 `task` | `task` |
|
|
11
|
+
| `title` | string | 否 | 视频标题,最多 128 字符 | - |
|
|
12
|
+
| `description` | string | 否 | 视频描述,最多 2048 字符 | - |
|
|
13
|
+
|
|
14
|
+
`thumbnail` 和 `videoKey` 是前端中间态字段;CLI 发布时应使用 `yxer upload` 后的 `accountForms[].video`、`accountForms[].cover` 和 `coverKey`。
|
|
15
|
+
|
|
16
|
+
## 示例
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
{
|
|
20
|
+
"action": "publish",
|
|
21
|
+
"publishType": "video",
|
|
22
|
+
"platforms": ["Facebook"],
|
|
23
|
+
"publishArgs": {
|
|
24
|
+
"accountForms": [
|
|
25
|
+
{
|
|
26
|
+
"platformAccountId": "FACEBOOK_ACC_ID",
|
|
27
|
+
"video": { "key": "video_key", "size": 1024000, "width": 1920, "height": 1080 },
|
|
28
|
+
"contentPublishForm": {
|
|
29
|
+
"formType": "task",
|
|
30
|
+
"title": "Campaign video",
|
|
31
|
+
"description": "Campaign story"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
```
|
|
@@ -140,13 +140,13 @@
|
|
|
140
140
|
| :--- | :--- | :--- |
|
|
141
141
|
| **头条号** | `Toutiaohao` | [toutiaohao.md](./toutiaohao.md) |
|
|
142
142
|
| **哔哩哔哩** | `Bilibili` | [bilibili.md](./bilibili.md) |
|
|
143
|
-
| **抖音** | `Douyin` | [douyin.md](./douyin.md) |
|
|
144
|
-
| **视频号** | `Shipinhao` | [shipinhao.md](./shipinhao.md) |
|
|
145
|
-
| **TikTok** | `Tiktok` | [tiktok.md](./tiktok.md) |
|
|
146
|
-
| **Youtube** | `Youtube` | [youtube.md](./youtube.md) |
|
|
147
|
-
| **Facebook** | `Facebook` | [facebook.md](./facebook.md) |
|
|
148
|
-
| **Instagram** | `Instagram` | [instagram.md](./instagram.md) |
|
|
149
|
-
| ... | ... | ... |
|
|
143
|
+
| **抖音** | `Douyin` | [douyin.md](./douyin.md) |
|
|
144
|
+
| **视频号** | `Shipinhao` | [shipinhao.md](./shipinhao.md) |
|
|
145
|
+
| **TikTok** | `Tiktok` | [tiktok.md](./tiktok.md) |
|
|
146
|
+
| **Youtube** | `Youtube` | [youtube.md](./youtube.md) |
|
|
147
|
+
| **Facebook** | `Facebook` | [facebook.md](./facebook.md) |
|
|
148
|
+
| **Instagram** | `Instagram` | [instagram.md](./instagram.md) |
|
|
149
|
+
| ... | ... | ... |
|
|
150
150
|
|
|
151
151
|
## 4. 通用规则 (Common DTO Rules)
|
|
152
152
|
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
# Instagram 视频发布
|
|
2
|
-
|
|
3
|
-
> [!IMPORTANT]
|
|
4
|
-
> 先阅读 [视频发布首页](./index.md) 的标准 Payload 结构。本页仅说明 `contentPublishForm` 内的平台字段。
|
|
5
|
-
|
|
6
|
-
## contentPublishForm 字段
|
|
7
|
-
|
|
8
|
-
| 字段名 | 类型 | 必填 | 说明 | 默认值 |
|
|
9
|
-
| :--- | :--- | :--- | :--- | :--- |
|
|
10
|
-
| `formType` | string | 是 | 固定为 `task` | `task` |
|
|
11
|
-
| `description` | string | 否 | 视频描述,最多 2200 字符 | - |
|
|
12
|
-
| `share_to_feed` | boolean | 否 | 是否分享到动态 | `false` |
|
|
13
|
-
|
|
14
|
-
`thumbnail` 和 `videoKey` 是前端中间态字段;CLI 发布时应使用 `yxer upload` 后的 `accountForms[].video`、`accountForms[].cover` 和 `coverKey`。
|
|
15
|
-
|
|
16
|
-
> [!CAUTION]
|
|
17
|
-
> Instagram 是 Meta 容器式发布。Meta 会在“创建发布容器”阶段主动下载 `accountForms[].video.key` 对应的媒体 URL。若上传资源的原文件名或最终 key 路径含中文等非 ASCII 字符,Meta 可能直接返回 HTTP 400,导致容器创建失败。处理方式是把原视频改成英文文件名后重新执行 `yxer upload`,再更新 payload 中的 `video.key`。
|
|
18
|
-
|
|
19
|
-
## 示例
|
|
20
|
-
|
|
21
|
-
```json
|
|
22
|
-
{
|
|
23
|
-
"action": "publish",
|
|
24
|
-
"publishType": "video",
|
|
25
|
-
"platforms": ["Instagram"],
|
|
26
|
-
"publishArgs": {
|
|
27
|
-
"accountForms": [
|
|
28
|
-
{
|
|
29
|
-
"platformAccountId": "INSTAGRAM_ACC_ID",
|
|
30
|
-
"video": { "key": "video_key", "size": 1024000, "width": 1080, "height": 1920 },
|
|
31
|
-
"contentPublishForm": {
|
|
32
|
-
"formType": "task",
|
|
33
|
-
"description": "New reel",
|
|
34
|
-
"share_to_feed": false
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
```
|
|
1
|
+
# Instagram 视频发布
|
|
2
|
+
|
|
3
|
+
> [!IMPORTANT]
|
|
4
|
+
> 先阅读 [视频发布首页](./index.md) 的标准 Payload 结构。本页仅说明 `contentPublishForm` 内的平台字段。
|
|
5
|
+
|
|
6
|
+
## contentPublishForm 字段
|
|
7
|
+
|
|
8
|
+
| 字段名 | 类型 | 必填 | 说明 | 默认值 |
|
|
9
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
10
|
+
| `formType` | string | 是 | 固定为 `task` | `task` |
|
|
11
|
+
| `description` | string | 否 | 视频描述,最多 2200 字符 | - |
|
|
12
|
+
| `share_to_feed` | boolean | 否 | 是否分享到动态 | `false` |
|
|
13
|
+
|
|
14
|
+
`thumbnail` 和 `videoKey` 是前端中间态字段;CLI 发布时应使用 `yxer upload` 后的 `accountForms[].video`、`accountForms[].cover` 和 `coverKey`。
|
|
15
|
+
|
|
16
|
+
> [!CAUTION]
|
|
17
|
+
> Instagram 是 Meta 容器式发布。Meta 会在“创建发布容器”阶段主动下载 `accountForms[].video.key` 对应的媒体 URL。若上传资源的原文件名或最终 key 路径含中文等非 ASCII 字符,Meta 可能直接返回 HTTP 400,导致容器创建失败。处理方式是把原视频改成英文文件名后重新执行 `yxer upload`,再更新 payload 中的 `video.key`。
|
|
18
|
+
|
|
19
|
+
## 示例
|
|
20
|
+
|
|
21
|
+
```json
|
|
22
|
+
{
|
|
23
|
+
"action": "publish",
|
|
24
|
+
"publishType": "video",
|
|
25
|
+
"platforms": ["Instagram"],
|
|
26
|
+
"publishArgs": {
|
|
27
|
+
"accountForms": [
|
|
28
|
+
{
|
|
29
|
+
"platformAccountId": "INSTAGRAM_ACC_ID",
|
|
30
|
+
"video": { "key": "video_key", "size": 1024000, "width": 1080, "height": 1920 },
|
|
31
|
+
"contentPublishForm": {
|
|
32
|
+
"formType": "task",
|
|
33
|
+
"description": "New reel",
|
|
34
|
+
"share_to_feed": false
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
# TikTok 视频发布
|
|
2
|
-
|
|
3
|
-
> [!IMPORTANT]
|
|
4
|
-
> 先阅读 [视频发布首页](./index.md) 的标准 Payload 结构。本页仅说明 `contentPublishForm` 内的平台字段。
|
|
5
|
-
|
|
6
|
-
## contentPublishForm 字段
|
|
7
|
-
|
|
8
|
-
| 字段名 | 类型 | 必填 | 说明 | 默认值 |
|
|
9
|
-
| :--- | :--- | :--- | :--- | :--- |
|
|
10
|
-
| `formType` | string | 是 | 固定为 `task` | `task` |
|
|
11
|
-
| `description` | string | 是 | 视频描述,最多 2200 字符 | - |
|
|
12
|
-
| `visible` | string | 否 | 可见性:`public`、`friends`、`private` | `public` |
|
|
13
|
-
| `comment` | boolean | 否 | 是否允许评论 | `true` |
|
|
14
|
-
| `stitch` | boolean | 否 | 是否允许 Stitch | `true` |
|
|
15
|
-
| `duet` | boolean | 否 | 是否允许 Duet | `true` |
|
|
16
|
-
| `aigc` | boolean | 否 | 是否 AI 生成内容 | `false` |
|
|
17
|
-
| `business` | boolean | 否 | 是否品牌与商业合作披露 | `false` |
|
|
18
|
-
| `yourOwn` | boolean | 否 | 是否你的品牌 | `false` |
|
|
19
|
-
| `collaborative` | boolean | 否 | 是否合作品牌 | `false` |
|
|
20
|
-
| `fps` | number | 否 | 封面帧毫秒偏移;也可在 `accountForms[]` 层填写 | `10` |
|
|
21
|
-
| `isAdVideo` | boolean | 否 | 是否广告视频 | `false` |
|
|
22
|
-
|
|
23
|
-
`thumbnail` 和 `videoKey` 是前端中间态字段;CLI 发布时应使用 `yxer upload` 后的 `accountForms[].video`、`accountForms[].cover` 和 `coverKey`。
|
|
24
|
-
|
|
25
|
-
## 示例
|
|
26
|
-
|
|
27
|
-
```json
|
|
28
|
-
{
|
|
29
|
-
"action": "publish",
|
|
30
|
-
"publishType": "video",
|
|
31
|
-
"platforms": ["TikTok"],
|
|
32
|
-
"publishArgs": {
|
|
33
|
-
"accountForms": [
|
|
34
|
-
{
|
|
35
|
-
"platformAccountId": "TIKTOK_ACC_ID",
|
|
36
|
-
"video": { "key": "video_key", "size": 1024000, "width": 1080, "height": 1920 },
|
|
37
|
-
"contentPublishForm": {
|
|
38
|
-
"formType": "task",
|
|
39
|
-
"description": "A short product demo",
|
|
40
|
-
"visible": "public",
|
|
41
|
-
"comment": true,
|
|
42
|
-
"stitch": true,
|
|
43
|
-
"duet": true,
|
|
44
|
-
"fps": 10
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
```
|
|
1
|
+
# TikTok 视频发布
|
|
2
|
+
|
|
3
|
+
> [!IMPORTANT]
|
|
4
|
+
> 先阅读 [视频发布首页](./index.md) 的标准 Payload 结构。本页仅说明 `contentPublishForm` 内的平台字段。
|
|
5
|
+
|
|
6
|
+
## contentPublishForm 字段
|
|
7
|
+
|
|
8
|
+
| 字段名 | 类型 | 必填 | 说明 | 默认值 |
|
|
9
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
10
|
+
| `formType` | string | 是 | 固定为 `task` | `task` |
|
|
11
|
+
| `description` | string | 是 | 视频描述,最多 2200 字符 | - |
|
|
12
|
+
| `visible` | string | 否 | 可见性:`public`、`friends`、`private` | `public` |
|
|
13
|
+
| `comment` | boolean | 否 | 是否允许评论 | `true` |
|
|
14
|
+
| `stitch` | boolean | 否 | 是否允许 Stitch | `true` |
|
|
15
|
+
| `duet` | boolean | 否 | 是否允许 Duet | `true` |
|
|
16
|
+
| `aigc` | boolean | 否 | 是否 AI 生成内容 | `false` |
|
|
17
|
+
| `business` | boolean | 否 | 是否品牌与商业合作披露 | `false` |
|
|
18
|
+
| `yourOwn` | boolean | 否 | 是否你的品牌 | `false` |
|
|
19
|
+
| `collaborative` | boolean | 否 | 是否合作品牌 | `false` |
|
|
20
|
+
| `fps` | number | 否 | 封面帧毫秒偏移;也可在 `accountForms[]` 层填写 | `10` |
|
|
21
|
+
| `isAdVideo` | boolean | 否 | 是否广告视频 | `false` |
|
|
22
|
+
|
|
23
|
+
`thumbnail` 和 `videoKey` 是前端中间态字段;CLI 发布时应使用 `yxer upload` 后的 `accountForms[].video`、`accountForms[].cover` 和 `coverKey`。
|
|
24
|
+
|
|
25
|
+
## 示例
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"action": "publish",
|
|
30
|
+
"publishType": "video",
|
|
31
|
+
"platforms": ["TikTok"],
|
|
32
|
+
"publishArgs": {
|
|
33
|
+
"accountForms": [
|
|
34
|
+
{
|
|
35
|
+
"platformAccountId": "TIKTOK_ACC_ID",
|
|
36
|
+
"video": { "key": "video_key", "size": 1024000, "width": 1080, "height": 1920 },
|
|
37
|
+
"contentPublishForm": {
|
|
38
|
+
"formType": "task",
|
|
39
|
+
"description": "A short product demo",
|
|
40
|
+
"visible": "public",
|
|
41
|
+
"comment": true,
|
|
42
|
+
"stitch": true,
|
|
43
|
+
"duet": true,
|
|
44
|
+
"fps": 10
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
```
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
# Youtube 视频发布
|
|
2
|
-
|
|
3
|
-
> [!IMPORTANT]
|
|
4
|
-
> 先阅读 [视频发布首页](./index.md) 的标准 Payload 结构。本页仅说明 `contentPublishForm` 内的平台字段。
|
|
5
|
-
|
|
6
|
-
## contentPublishForm 字段
|
|
7
|
-
|
|
8
|
-
| 字段名 | 类型 | 必填 | 说明 | 默认值 |
|
|
9
|
-
| :--- | :--- | :--- | :--- | :--- |
|
|
10
|
-
| `formType` | string | 是 | 固定为 `task` | `task` |
|
|
11
|
-
| `title` | string | 是 | 视频标题,最多 100 字符 | - |
|
|
12
|
-
| `description` | string | 否 | 视频简介,最多 5000 字符 | - |
|
|
13
|
-
| `tags` | string[] | 否 | 标签列表 | `[]` |
|
|
14
|
-
| `category` | string | 否 | 分类 ID:`1`,`2`,`10`,`15`,`17`,`19`,`20`,`22`,`23`,`24`,`25`,`26`,`27`,`28`,`29` | `22` |
|
|
15
|
-
| `license` | string | 否 | `youtube` 或 `creativeCommon` | `youtube` |
|
|
16
|
-
| `embeddable` | boolean | 否 | 是否允许嵌入 | `true` |
|
|
17
|
-
| `madeForKids` | boolean | 否 | 是否面向儿童 | `false` |
|
|
18
|
-
| `visible` | string | 否 | 公开范围:`public`、`unlisted`、`private` | `public` |
|
|
19
|
-
| `containsSyntheticMedia` | boolean | 否 | 是否包含逼真的加工或合成内容 | `false` |
|
|
20
|
-
| `fps` | number | 否 | 封面帧毫秒偏移;也可在 `accountForms[]` 层填写 | `10` |
|
|
21
|
-
|
|
22
|
-
`thumbnail` 和 `videoKey` 是前端中间态字段;CLI 发布时应使用 `yxer upload` 后的 `accountForms[].video`、`accountForms[].cover` 和 `coverKey`。
|
|
23
|
-
|
|
24
|
-
## 示例
|
|
25
|
-
|
|
26
|
-
```json
|
|
27
|
-
{
|
|
28
|
-
"action": "publish",
|
|
29
|
-
"publishType": "video",
|
|
30
|
-
"platforms": ["Youtube"],
|
|
31
|
-
"publishArgs": {
|
|
32
|
-
"accountForms": [
|
|
33
|
-
{
|
|
34
|
-
"platformAccountId": "YOUTUBE_ACC_ID",
|
|
35
|
-
"video": { "key": "video_key", "size": 1024000, "width": 1920, "height": 1080 },
|
|
36
|
-
"cover": { "key": "cover_key", "size": 204800, "width": 1280, "height": 720 },
|
|
37
|
-
"coverKey": "cover_key",
|
|
38
|
-
"contentPublishForm": {
|
|
39
|
-
"formType": "task",
|
|
40
|
-
"title": "Launch recap",
|
|
41
|
-
"description": "Highlights from the launch",
|
|
42
|
-
"category": "22",
|
|
43
|
-
"license": "youtube",
|
|
44
|
-
"visible": "public",
|
|
45
|
-
"embeddable": true,
|
|
46
|
-
"madeForKids": false,
|
|
47
|
-
"containsSyntheticMedia": false
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
```
|
|
1
|
+
# Youtube 视频发布
|
|
2
|
+
|
|
3
|
+
> [!IMPORTANT]
|
|
4
|
+
> 先阅读 [视频发布首页](./index.md) 的标准 Payload 结构。本页仅说明 `contentPublishForm` 内的平台字段。
|
|
5
|
+
|
|
6
|
+
## contentPublishForm 字段
|
|
7
|
+
|
|
8
|
+
| 字段名 | 类型 | 必填 | 说明 | 默认值 |
|
|
9
|
+
| :--- | :--- | :--- | :--- | :--- |
|
|
10
|
+
| `formType` | string | 是 | 固定为 `task` | `task` |
|
|
11
|
+
| `title` | string | 是 | 视频标题,最多 100 字符 | - |
|
|
12
|
+
| `description` | string | 否 | 视频简介,最多 5000 字符 | - |
|
|
13
|
+
| `tags` | string[] | 否 | 标签列表 | `[]` |
|
|
14
|
+
| `category` | string | 否 | 分类 ID:`1`,`2`,`10`,`15`,`17`,`19`,`20`,`22`,`23`,`24`,`25`,`26`,`27`,`28`,`29` | `22` |
|
|
15
|
+
| `license` | string | 否 | `youtube` 或 `creativeCommon` | `youtube` |
|
|
16
|
+
| `embeddable` | boolean | 否 | 是否允许嵌入 | `true` |
|
|
17
|
+
| `madeForKids` | boolean | 否 | 是否面向儿童 | `false` |
|
|
18
|
+
| `visible` | string | 否 | 公开范围:`public`、`unlisted`、`private` | `public` |
|
|
19
|
+
| `containsSyntheticMedia` | boolean | 否 | 是否包含逼真的加工或合成内容 | `false` |
|
|
20
|
+
| `fps` | number | 否 | 封面帧毫秒偏移;也可在 `accountForms[]` 层填写 | `10` |
|
|
21
|
+
|
|
22
|
+
`thumbnail` 和 `videoKey` 是前端中间态字段;CLI 发布时应使用 `yxer upload` 后的 `accountForms[].video`、`accountForms[].cover` 和 `coverKey`。
|
|
23
|
+
|
|
24
|
+
## 示例
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{
|
|
28
|
+
"action": "publish",
|
|
29
|
+
"publishType": "video",
|
|
30
|
+
"platforms": ["Youtube"],
|
|
31
|
+
"publishArgs": {
|
|
32
|
+
"accountForms": [
|
|
33
|
+
{
|
|
34
|
+
"platformAccountId": "YOUTUBE_ACC_ID",
|
|
35
|
+
"video": { "key": "video_key", "size": 1024000, "width": 1920, "height": 1080 },
|
|
36
|
+
"cover": { "key": "cover_key", "size": 204800, "width": 1280, "height": 720 },
|
|
37
|
+
"coverKey": "cover_key",
|
|
38
|
+
"contentPublishForm": {
|
|
39
|
+
"formType": "task",
|
|
40
|
+
"title": "Launch recap",
|
|
41
|
+
"description": "Highlights from the launch",
|
|
42
|
+
"category": "22",
|
|
43
|
+
"license": "youtube",
|
|
44
|
+
"visible": "public",
|
|
45
|
+
"embeddable": true,
|
|
46
|
+
"madeForKids": false,
|
|
47
|
+
"containsSyntheticMedia": false
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
```
|
|
@@ -49,20 +49,20 @@
|
|
|
49
49
|
为指定账号设置代理信息。
|
|
50
50
|
|
|
51
51
|
### 参数定义 (Parameters)
|
|
52
|
-
| 字段名 | 类型 | 是否必填 | 描述 |
|
|
53
|
-
| :--- | :--- | :--- | :--- |
|
|
54
|
-
| `action` | `string` | **是** | 固定值:`accounts.update` |
|
|
55
|
-
| `account_id` | `string` | **是** | 平台的账号 ID |
|
|
52
|
+
| 字段名 | 类型 | 是否必填 | 描述 |
|
|
53
|
+
| :--- | :--- | :--- | :--- |
|
|
54
|
+
| `action` | `string` | **是** | 固定值:`accounts.update` |
|
|
55
|
+
| `account_id` | `string` | **是** | 平台的账号 ID |
|
|
56
56
|
| `proxyId` | `string` | 否 | 团队代理 ID |
|
|
57
57
|
| `kuaidailiArea` | `string` | 否 | 内置代理地区编码。直辖市取一级 `code`,普通城市取 `cities` 下的 `code`。 |
|
|
58
58
|
| `remark` | `string` | 否 | 账号备注 |
|
|
59
59
|
| `groups` | `string[]` | 否 | 分组 ID 列表 |
|
|
60
60
|
|
|
61
|
-
### 执行逻辑 (Logic Flow)
|
|
62
|
-
1. **前置查询**:必须先获得目标 `account_id` 及代理 `id`/`code`。
|
|
63
|
-
2. **预览请求**:先执行 `yxer accounts update <account_id> ... --dry-run`,检查返回的 `action: "accounts.update.dry-run"` 和 `data.request`。
|
|
64
|
-
3. **更新执行**:确认无误后执行 `yxer accounts update <account_id> ...`,成功输出 `action: "accounts.update"`。
|
|
65
|
-
4. **验证反馈**:确认账号代理详情已变更。
|
|
61
|
+
### 执行逻辑 (Logic Flow)
|
|
62
|
+
1. **前置查询**:必须先获得目标 `account_id` 及代理 `id`/`code`。
|
|
63
|
+
2. **预览请求**:先执行 `yxer accounts update <account_id> ... --dry-run`,检查返回的 `action: "accounts.update.dry-run"` 和 `data.request`。
|
|
64
|
+
3. **更新执行**:确认无误后执行 `yxer accounts update <account_id> ...`,成功输出 `action: "accounts.update"`。
|
|
65
|
+
4. **验证反馈**:确认账号代理详情已变更。
|
|
66
66
|
|
|
67
67
|
## 注意事项
|
|
68
68
|
- 云发布环境下,未设置代理的账号可能会导致任务执行失败。
|
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
## 目的
|
|
6
6
|
|
|
7
|
-
- 统一 Agent 对“话题/标签”字段的装配方式
|
|
8
|
-
- 明确“描述类字段/正文中的话题标签结构”和“字段中的话题对象结构”是两套规则
|
|
9
|
-
- 明确 CLI 会兜底修复 `description` 中的普通 `#话题`;字段中的话题对象仍按各平台字段定义传入
|
|
10
|
-
|
|
11
|
-
## 总规则
|
|
12
|
-
|
|
13
|
-
- Agent 必须优先以目标平台 schema 和平台文档为准。
|
|
14
|
-
- 字段中的话题数据,如 `topics`、`tags`、`challenge`,必须按各平台 schema 和平台文档定义的字段结构传入。
|
|
15
|
-
- 只有当平台文档明确要求在 `description`、`desc` 或 `content` 中嵌入话题标签时,才使用 `<topic>` HTML。
|
|
16
|
-
- `description` / `desc` / `content` 中的 `<topic>` 规则,不适用于 `topics`、`tags`、`challenge` 等字段对象。
|
|
17
|
-
- CLI 内部兼容逻辑只处理 `description` 字段:将普通 `#话题` 归一化为 `<topic>` HTML;不会处理 `content`,也不会改变 `tags` / `topics` / `challenge` 字段结构。
|
|
7
|
+
- 统一 Agent 对“话题/标签”字段的装配方式
|
|
8
|
+
- 明确“描述类字段/正文中的话题标签结构”和“字段中的话题对象结构”是两套规则
|
|
9
|
+
- 明确 CLI 会兜底修复 `description` 中的普通 `#话题`;字段中的话题对象仍按各平台字段定义传入
|
|
10
|
+
|
|
11
|
+
## 总规则
|
|
12
|
+
|
|
13
|
+
- Agent 必须优先以目标平台 schema 和平台文档为准。
|
|
14
|
+
- 字段中的话题数据,如 `topics`、`tags`、`challenge`,必须按各平台 schema 和平台文档定义的字段结构传入。
|
|
15
|
+
- 只有当平台文档明确要求在 `description`、`desc` 或 `content` 中嵌入话题标签时,才使用 `<topic>` HTML。
|
|
16
|
+
- `description` / `desc` / `content` 中的 `<topic>` 规则,不适用于 `topics`、`tags`、`challenge` 等字段对象。
|
|
17
|
+
- CLI 内部兼容逻辑只处理 `description` 字段:将普通 `#话题` 归一化为 `<topic>` HTML;不会处理 `content`,也不会改变 `tags` / `topics` / `challenge` 字段结构。
|
|
18
18
|
|
|
19
19
|
## 字段类型对照
|
|
20
20
|
|
|
@@ -88,12 +88,12 @@
|
|
|
88
88
|
|
|
89
89
|
规则:
|
|
90
90
|
|
|
91
|
-
- Agent 必须直接写出最终 HTML
|
|
92
|
-
- 如 `description` 仍是普通文本加 `#话题`,CLI 会在 validate/dry-run/publish 流程中归一化为上述 HTML。
|
|
93
|
-
- `text` 属性应为不带 `#` 的标签文本
|
|
94
|
-
- 标签正文通常为 `#标签名`
|
|
95
|
-
- 不要把这种 HTML 结构误用于 `topics` / `challenge` / `tags` 字段
|
|
96
|
-
- 不要同时依赖 `tags` 再让 CLI 自动拼 `<topic>`;CLI 不从 `tags` 生成描述话题。
|
|
91
|
+
- Agent 必须直接写出最终 HTML
|
|
92
|
+
- 如 `description` 仍是普通文本加 `#话题`,CLI 会在 validate/dry-run/publish 流程中归一化为上述 HTML。
|
|
93
|
+
- `text` 属性应为不带 `#` 的标签文本
|
|
94
|
+
- 标签正文通常为 `#标签名`
|
|
95
|
+
- 不要把这种 HTML 结构误用于 `topics` / `challenge` / `tags` 字段
|
|
96
|
+
- 不要同时依赖 `tags` 再让 CLI 自动拼 `<topic>`;CLI 不从 `tags` 生成描述话题。
|
|
97
97
|
|
|
98
98
|
## 平台装配优先级
|
|
99
99
|
|
|
@@ -111,10 +111,10 @@
|
|
|
111
111
|
|
|
112
112
|
### 抖音图文
|
|
113
113
|
|
|
114
|
-
- 若文档要求 `description` 支持 `<topic>`,Agent 应直接传最终 HTML
|
|
115
|
-
- 这个规则只针对 `description`
|
|
116
|
-
- 不要把 `topics` / `challenge` 之类字段也按 `<topic>` HTML 处理
|
|
117
|
-
- 不要只传 `tags` 再期待 CLI 注入 `<topic>`
|
|
114
|
+
- 若文档要求 `description` 支持 `<topic>`,Agent 应直接传最终 HTML
|
|
115
|
+
- 这个规则只针对 `description`
|
|
116
|
+
- 不要把 `topics` / `challenge` 之类字段也按 `<topic>` HTML 处理
|
|
117
|
+
- 不要只传 `tags` 再期待 CLI 注入 `<topic>`
|
|
118
118
|
|
|
119
119
|
### 抖音文章
|
|
120
120
|
|
|
@@ -128,13 +128,13 @@
|
|
|
128
128
|
- 把 `topics` 写成字符串数组
|
|
129
129
|
- 把 `tags` 写成对象数组
|
|
130
130
|
- 把 `topics` / `challenge` / `tags` 按 `<topic>` HTML 结构传入字段本身
|
|
131
|
-
- 省略查询结果里的 `raw`
|
|
132
|
-
- 依赖 CLI 从 `tags`、`topics`、`challenge` 或 `content` 自动修复标签结构
|
|
133
|
-
|
|
134
|
-
## 推荐执行方式
|
|
135
|
-
|
|
136
|
-
1. 先查 schema:`yxer schema fields <platform> <type>`
|
|
137
|
-
2. 再查平台文档确认字段类型
|
|
138
|
-
3. 如需动态话题对象,先执行 `yxer query challenges` / `yxer query categories`
|
|
139
|
-
4. 由 Agent 直接生成最终 payload
|
|
140
|
-
5. 用 `yxer validate` 验证;`description` 中的普通 `#话题` 会被 CLI 归一化为 `<topic>` HTML
|
|
131
|
+
- 省略查询结果里的 `raw`
|
|
132
|
+
- 依赖 CLI 从 `tags`、`topics`、`challenge` 或 `content` 自动修复标签结构
|
|
133
|
+
|
|
134
|
+
## 推荐执行方式
|
|
135
|
+
|
|
136
|
+
1. 先查 schema:`yxer schema fields <platform> <type>`
|
|
137
|
+
2. 再查平台文档确认字段类型
|
|
138
|
+
3. 如需动态话题对象,先执行 `yxer query challenges` / `yxer query categories`
|
|
139
|
+
4. 由 Agent 直接生成最终 payload
|
|
140
|
+
5. 用 `yxer validate` 验证;`description` 中的普通 `#话题` 会被 CLI 归一化为 `<topic>` HTML
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
> [!IMPORTANT]
|
|
62
62
|
> **原因与对策:**
|
|
63
63
|
> * **原因:** 账号绑定的独立代理 (proxyId) 已被删除/过期,或该平台强制要求绑定代理才能进行云发布。
|
|
64
|
-
> * **方案 A:** 使用 `yxer query proxy-areas` 查询可用地区码,并使用 `yxer accounts update <account_id> --kuaidaili-area <code> --dry-run` 预览后正式更新。
|
|
65
|
-
> * **方案 B:** 检查 `yxer query proxies` 列表,重新为账号绑定一个有效的 `proxyId`。
|
|
64
|
+
> * **方案 A:** 使用 `yxer query proxy-areas` 查询可用地区码,并使用 `yxer accounts update <account_id> --kuaidaili-area <code> --dry-run` 预览后正式更新。
|
|
65
|
+
> * **方案 B:** 检查 `yxer query proxies` 列表,重新为账号绑定一个有效的 `proxyId`。
|
|
66
66
|
> * **方案 C:** 如果条件允许,切换回 `publishChannel: 'local'`(本机发布),此模式使用本地 IP,不依赖云端代理。
|
|
67
67
|
|
|
68
68
|
---
|