@yixiaoermail/cli 3.2.14 → 3.2.15
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/checksums.txt +6 -6
- package/package.json +1 -1
- package/references/cli/command-reference.md +1 -0
- package/references/platforms/video/shipinhao.md +11 -0
- package/references/platforms/video/toutiaohao.md +2 -2
- package/references/workflows/publish-video.md +2 -0
- package/skills/yixiaoer/SKILL.md +1 -1
- package/skills/yixiaoer/references/cli/command-reference.md +1 -0
- package/skills/yixiaoer/references/platforms/video/shipinhao.md +11 -0
- package/skills/yixiaoer/references/platforms/video/toutiaohao.md +2 -2
- package/skills/yixiaoer/references/workflows/publish-video.md +2 -0
package/checksums.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
b1a522d983398558604d5eecb495d7f41caee80e0da51eb7e09a039e0cfcef40 yxer-cli-3.2.15-windows-amd64.zip
|
|
2
|
+
8b55e6d450074980db2063123aaeea6a5954bb7a16b66c5f2c95158aefd957c8 yxer-cli-3.2.15-windows-arm64.zip
|
|
3
|
+
d1092bb67d2a6d8bfeb9b38e426a0179be73d5514c516e6b6112c3192da46194 yxer-cli-3.2.15-darwin-amd64.tar.gz
|
|
4
|
+
9943030d44f708d806d1bf56baab2fbfc54f0cfe689f88b0b6fda51716f84a56 yxer-cli-3.2.15-darwin-arm64.tar.gz
|
|
5
|
+
8a31bdb1611f6034b443df46d9315f7da73c6fa5d4251e62950cec72e879be53 yxer-cli-3.2.15-linux-amd64.tar.gz
|
|
6
|
+
d6c884cbf51d942277ea02d3ae6eb4c38042602f1653f4463251734bd73d6fe7 yxer-cli-3.2.15-linux-arm64.tar.gz
|
package/package.json
CHANGED
|
@@ -49,6 +49,7 @@ yxer publish delete preview <task_set_id>
|
|
|
49
49
|
yxer publish delete from-record <task_set_id> --index N [--dry-run]
|
|
50
50
|
yxer publish delete <task_id> [--dry-run]
|
|
51
51
|
yxer publish form start <platform> <type> [--output publish-form.json] [--dry-run]
|
|
52
|
+
yxer publish form account <session.json> [--id <online_account_id>|--index N] [--dry-run]
|
|
52
53
|
yxer publish form inspect <session.json>
|
|
53
54
|
yxer publish form set <session.json> <payload.path> --value '<json-value-or-text>' [--index N] [--source-command <cmd>] [--dry-run]
|
|
54
55
|
yxer publish form choose <session.json> <field> --value-file <query.json> [--id <candidate_id>|--index N] [--account-id <id>] --source-command "yxer query ... --json" [--dry-run]
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# 视频号视频发布参数 (WeiXin ShiPinHao Video)
|
|
2
2
|
|
|
3
|
+
## 账号优先
|
|
4
|
+
|
|
5
|
+
视频号视频必须先确认账号有效、由用户选择目标账号,再填写视频资料。新建会话时先执行:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
yxer publish form start 视频号 video --output publish-form.json
|
|
9
|
+
yxer publish form account publish-form.json --id <online_account_id>
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
`form account` 会查询视频号账号并且只接受 `status=1` 的候选;有多个在线账号时必须由用户明确选择 `--id` 或 `--index`。在选择完成前,CLI 拒绝填写表单字段、review 和 export。
|
|
13
|
+
|
|
3
14
|
> [!IMPORTANT]
|
|
4
15
|
> **前提条件 (Prerequisite)**:
|
|
5
16
|
> 在使用本平台的特定参数之前,你 **必须** 已经阅读并理解了 [视频发布首页 (Index)](./index.md) 中定义的 Payload 根结构。本页仅描述 `contentPublishForm` 内部的平台差异化字段。
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
- “设为头条私密视频”
|
|
14
14
|
|
|
15
15
|
## 执行逻辑 (Logic Flow)
|
|
16
|
-
1.
|
|
16
|
+
1. **标题优化**:头条视频标题限制为 1-30 个字符;CLI 与平台字段口径保持一致。
|
|
17
17
|
2. **标签装配**:识别用户提供的关键词,转换为 `tags` 字符串数组(限制 1-5 个)。
|
|
18
18
|
3. **申明校验**:根据内容来源注入 `declaration` 枚举;若涉及 AI 创作,必须标注为 `3-AI生成`。
|
|
19
19
|
4. **参数装配**:构造 `accountForms[i].contentPublishForm`。
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
| 字段名 | 类型 | 必填 | 说明 | 默认值 |
|
|
25
25
|
| :--- | :--- | :--- | :--- | :--- |
|
|
26
26
|
| `formType` | `string` | **是** | 固定值: `task` | `task` |
|
|
27
|
-
| `title` | `string` | **是** | 视频标题 (1-
|
|
27
|
+
| `title` | `string` | **是** | 视频标题 (1-30 字符) | - |
|
|
28
28
|
| `description` | `string` | **是** | 视频描述 (1-400 字符) | - |
|
|
29
29
|
| `tags` | `string[]` | **是** | 视频标签 (1-5 个,字符串数组) | - |
|
|
30
30
|
| `declaration` | `number` | 否 | 创作者申明:1-自行拍摄, 2-取自站外, 3-AI生成, 6-虚构演绎故事经历, 7-投资观点仅供参考, 8-健康医疗分享仅供参考 | - |
|
|
@@ -22,6 +22,8 @@ yxer schema get <platform> video
|
|
|
22
22
|
- [`payload-sourcing.md`](./payload-sourcing.md)
|
|
23
23
|
- 涉及话题/标签时:[`../topic-tags.md`](../topic-tags.md)
|
|
24
24
|
|
|
25
|
+
视频号视频有额外的账号门禁:必须先执行 `yxer publish form account <session.json> --id <online_account_id>` 从 `status=1` 账号中完成用户选择,再填写视频、封面和平台资料。未完成账号选择时,CLI 会拒绝继续写入表单。
|
|
26
|
+
|
|
25
27
|
## 执行顺序
|
|
26
28
|
|
|
27
29
|
1. 查询账号:`yxer accounts list [platform] [--status 1] [--json]`
|
package/skills/yixiaoer/SKILL.md
CHANGED
|
@@ -49,6 +49,7 @@ yxer publish delete preview <task_set_id>
|
|
|
49
49
|
yxer publish delete from-record <task_set_id> --index N [--dry-run]
|
|
50
50
|
yxer publish delete <task_id> [--dry-run]
|
|
51
51
|
yxer publish form start <platform> <type> [--output publish-form.json] [--dry-run]
|
|
52
|
+
yxer publish form account <session.json> [--id <online_account_id>|--index N] [--dry-run]
|
|
52
53
|
yxer publish form inspect <session.json>
|
|
53
54
|
yxer publish form set <session.json> <payload.path> --value '<json-value-or-text>' [--index N] [--source-command <cmd>] [--dry-run]
|
|
54
55
|
yxer publish form choose <session.json> <field> --value-file <query.json> [--id <candidate_id>|--index N] [--account-id <id>] --source-command "yxer query ... --json" [--dry-run]
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# 视频号视频发布参数 (WeiXin ShiPinHao Video)
|
|
2
2
|
|
|
3
|
+
## 账号优先
|
|
4
|
+
|
|
5
|
+
视频号视频必须先确认账号有效、由用户选择目标账号,再填写视频资料。新建会话时先执行:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
yxer publish form start 视频号 video --output publish-form.json
|
|
9
|
+
yxer publish form account publish-form.json --id <online_account_id>
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
`form account` 会查询视频号账号并且只接受 `status=1` 的候选;有多个在线账号时必须由用户明确选择 `--id` 或 `--index`。在选择完成前,CLI 拒绝填写表单字段、review 和 export。
|
|
13
|
+
|
|
3
14
|
> [!IMPORTANT]
|
|
4
15
|
> **前提条件 (Prerequisite)**:
|
|
5
16
|
> 在使用本平台的特定参数之前,你 **必须** 已经阅读并理解了 [视频发布首页 (Index)](./index.md) 中定义的 Payload 根结构。本页仅描述 `contentPublishForm` 内部的平台差异化字段。
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
- “设为头条私密视频”
|
|
14
14
|
|
|
15
15
|
## 执行逻辑 (Logic Flow)
|
|
16
|
-
1.
|
|
16
|
+
1. **标题优化**:头条视频标题限制为 1-30 个字符;CLI 与平台字段口径保持一致。
|
|
17
17
|
2. **标签装配**:识别用户提供的关键词,转换为 `tags` 字符串数组(限制 1-5 个)。
|
|
18
18
|
3. **申明校验**:根据内容来源注入 `declaration` 枚举;若涉及 AI 创作,必须标注为 `3-AI生成`。
|
|
19
19
|
4. **参数装配**:构造 `accountForms[i].contentPublishForm`。
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
| 字段名 | 类型 | 必填 | 说明 | 默认值 |
|
|
25
25
|
| :--- | :--- | :--- | :--- | :--- |
|
|
26
26
|
| `formType` | `string` | **是** | 固定值: `task` | `task` |
|
|
27
|
-
| `title` | `string` | **是** | 视频标题 (1-
|
|
27
|
+
| `title` | `string` | **是** | 视频标题 (1-30 字符) | - |
|
|
28
28
|
| `description` | `string` | **是** | 视频描述 (1-400 字符) | - |
|
|
29
29
|
| `tags` | `string[]` | **是** | 视频标签 (1-5 个,字符串数组) | - |
|
|
30
30
|
| `declaration` | `number` | 否 | 创作者申明:1-自行拍摄, 2-取自站外, 3-AI生成, 6-虚构演绎故事经历, 7-投资观点仅供参考, 8-健康医疗分享仅供参考 | - |
|
|
@@ -22,6 +22,8 @@ yxer schema get <platform> video
|
|
|
22
22
|
- [`payload-sourcing.md`](./payload-sourcing.md)
|
|
23
23
|
- 涉及话题/标签时:[`../topic-tags.md`](../topic-tags.md)
|
|
24
24
|
|
|
25
|
+
视频号视频有额外的账号门禁:必须先执行 `yxer publish form account <session.json> --id <online_account_id>` 从 `status=1` 账号中完成用户选择,再填写视频、封面和平台资料。未完成账号选择时,CLI 会拒绝继续写入表单。
|
|
26
|
+
|
|
25
27
|
## 执行顺序
|
|
26
28
|
|
|
27
29
|
1. 查询账号:`yxer accounts list [platform] [--status 1] [--json]`
|