@yixiaoermail/cli 3.2.4 → 3.2.7
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-design.md +1 -1
- package/references/cli/command-reference.md +30 -39
- package/references/cli/publish-channels.md +77 -0
- package/references/create-account-group.md +27 -0
- package/references/delete-account-group.md +20 -0
- package/references/domains/accounts-and-env.md +43 -0
- package/references/domains/draft-and-material.md +34 -0
- package/references/domains/install-and-sync.md +63 -0
- package/references/domains/publish.md +84 -0
- package/references/domains/troubleshooting.md +34 -0
- package/references/execution-standard.md +144 -0
- package/references/get-account-groups.md +15 -0
- package/references/get-account-overviews.md +56 -0
- package/references/get-challenges.md +14 -0
- package/references/get-collections.md +34 -0
- package/references/get-content-overviews.md +59 -0
- package/references/get-friends.md +9 -0
- package/references/get-games.md +39 -0
- package/references/get-goods.md +42 -0
- package/references/get-groups.md +35 -0
- package/references/get-hot-events.md +14 -0
- package/references/get-locations.md +48 -0
- package/references/get-members.md +28 -0
- package/references/get-miniapps.md +38 -0
- package/references/get-music-categories.md +41 -0
- package/references/get-music.md +67 -0
- package/references/get-publish-activities.md +40 -0
- package/references/get-publish-categories.md +62 -0
- package/references/get-sync-apps.md +14 -0
- package/references/get-topics.md +13 -0
- package/references/go-live-process.md +160 -0
- package/references/keyword-reference.md +114 -0
- package/references/legacy/capabilities.md +1 -1
- package/references/material-resource.md +88 -0
- package/references/platform-doc-maintenance.md +33 -0
- package/references/platform.md +62 -0
- package/references/platforms/article/acfun.md +90 -0
- package/references/platforms/article/aiqiyi.md +56 -0
- package/references/platforms/article/baijiahao.md +94 -0
- package/references/platforms/article/bilibili.md +88 -0
- package/references/platforms/article/chejiahao.md +81 -0
- package/references/platforms/article/csdn.md +86 -0
- package/references/platforms/article/dayuhao.md +78 -0
- package/references/platforms/article/douban.md +62 -0
- package/references/platforms/article/douyin.md +106 -0
- package/references/platforms/article/index.md +157 -0
- package/references/platforms/article/jianshu.md +56 -0
- package/references/platforms/article/kuaichuanhao.md +78 -0
- package/references/platforms/article/qiehao.md +78 -0
- package/references/platforms/article/souhuhao.md +75 -0
- package/references/platforms/article/toutiaohao.md +78 -0
- package/references/platforms/article/wangyihao.md +79 -0
- package/references/platforms/article/weixingongzhonghao.md +135 -0
- package/references/platforms/article/xinlangweibo.md +75 -0
- package/references/platforms/article/xueqiuhao.md +73 -0
- package/references/platforms/article/yichehao.md +92 -0
- package/references/platforms/article/yidianhao.md +76 -0
- package/references/platforms/article/zhihu.md +75 -0
- package/references/platforms/imageText/baijiahao.md +102 -0
- package/references/platforms/imageText/douyin.md +111 -0
- package/references/platforms/imageText/index.md +113 -0
- package/references/platforms/imageText/kuaishou.md +106 -0
- package/references/platforms/imageText/shipinhao.md +112 -0
- package/references/platforms/imageText/toutiaohao.md +76 -0
- package/references/platforms/imageText/xiaohongshu.md +85 -0
- package/references/platforms/imageText/xinlangweibo.md +77 -0
- package/references/platforms/imageText/zhihu.md +92 -0
- package/references/platforms/index.md +6 -6
- package/references/platforms/video/acfun.md +82 -0
- package/references/platforms/video/aiqiyi.md +89 -0
- package/references/platforms/video/baijiahao.md +89 -0
- package/references/platforms/video/bilibili-open.md +59 -0
- package/references/platforms/video/bilibili.md +80 -0
- package/references/platforms/video/chejiahao.md +63 -0
- package/references/platforms/video/dayuhao.md +91 -0
- package/references/platforms/video/dewu.md +80 -0
- package/references/platforms/video/douyin.md +173 -0
- package/references/platforms/video/duoduoshipin.md +64 -0
- package/references/platforms/video/facebook.md +37 -0
- package/references/platforms/video/fengwang.md +81 -0
- package/references/platforms/video/index.md +173 -0
- package/references/platforms/video/instagram.md +40 -0
- package/references/platforms/video/kuaishou-open.md +44 -0
- package/references/platforms/video/kuaishou.md +77 -0
- package/references/platforms/video/meipai.md +79 -0
- package/references/platforms/video/meiyou.md +59 -0
- package/references/platforms/video/pipixia.md +58 -0
- package/references/platforms/video/qiehao.md +91 -0
- package/references/platforms/video/shipinhao.md +100 -0
- package/references/platforms/video/souhuhao.md +91 -0
- package/references/platforms/video/souhushipin.md +64 -0
- package/references/platforms/video/tengxunshipin.md +63 -0
- package/references/platforms/video/tiktok.md +50 -0
- package/references/platforms/video/toutiaohao.md +66 -0
- package/references/platforms/video/wangyihao.md +93 -0
- package/references/platforms/video/weishi.md +61 -0
- package/references/platforms/video/xiaohongshu.md +133 -0
- package/references/platforms/video/xiaohongshushop.md +92 -0
- package/references/platforms/video/xinlangweibo.md +79 -0
- package/references/platforms/video/yichehao.md +61 -0
- package/references/platforms/video/yidianhao.md +85 -0
- package/references/platforms/video/youtube.md +53 -0
- package/references/platforms/video/zhihu.md +85 -0
- package/references/protocols/confirmation.md +62 -0
- package/references/protocols/error-recovery.md +50 -0
- package/references/protocols/execution.md +65 -0
- package/references/protocols/provenance.md +61 -0
- package/references/proxy-management.md +69 -0
- package/references/query-accounts.md +85 -0
- package/references/save-draft.md +75 -0
- package/references/topic-tags.md +140 -0
- package/references/troubleshooting-guide.md +105 -0
- package/references/update-account-group.md +28 -0
- package/references/upload-resource.md +70 -0
- package/references/usage-workflow.md +207 -0
- package/references/workflows/common-rules.md +57 -27
- package/references/workflows/data-accuracy.md +83 -0
- package/references/workflows/local-vs-cloud.md +12 -5
- package/references/workflows/payload-sourcing.md +3 -0
- package/references/workflows/publish-article.md +5 -3
- package/references/workflows/publish-imageText.md +5 -3
- package/references/workflows/publish-troubleshooting.md +1 -1
- package/references/workflows/publish-video.md +6 -4
- package/references/yixiaoer-shared.md +106 -0
- package/schemas/platforms/acfun.article.schema.json +9 -9
- package/schemas/platforms/baijiahao.article.schema.json +13 -1
- package/schemas/platforms/baijiahao.imageText.schema.json +4 -4
- package/schemas/platforms/baijiahao.video.schema.json +23 -6
- package/schemas/platforms/bilibili-open.video.schema.json +188 -0
- package/schemas/platforms/chejiahao.article.schema.json +7 -7
- package/schemas/platforms/dayuhao.video.schema.json +26 -0
- package/schemas/platforms/dewu.video.schema.json +4 -4
- package/schemas/platforms/douyin.article.schema.json +8 -0
- package/schemas/platforms/douyin.imageText.schema.json +16 -2
- package/schemas/platforms/douyin.video.schema.json +88 -6
- package/schemas/platforms/fengwang.video.schema.json +4 -4
- package/schemas/platforms/kuaichuanhao.article.schema.json +20 -8
- package/schemas/platforms/kuaishou-open.video.schema.json +102 -0
- package/schemas/platforms/kuaishou.imageText.schema.json +16 -6
- package/schemas/platforms/kuaishou.video.schema.json +35 -4
- package/schemas/platforms/meipai.video.schema.json +4 -4
- package/schemas/platforms/shipinhao.imageText.schema.json +17 -5
- package/schemas/platforms/shipinhao.video.schema.json +35 -4
- package/schemas/platforms/souhuhao.video.schema.json +9 -9
- package/schemas/platforms/souhushipin.video.schema.json +3 -3
- package/schemas/platforms/tengxunshipin.video.schema.json +1 -0
- package/schemas/platforms/toutiaohao.article.schema.json +4 -4
- package/schemas/platforms/toutiaohao.imageText.schema.json +2 -1
- package/schemas/platforms/toutiaohao.video.schema.json +2 -1
- package/schemas/platforms/wangyihao.article.schema.json +6 -5
- package/schemas/platforms/wangyihao.video.schema.json +1 -0
- package/schemas/platforms/xhs.imageText.schema.json +29 -27
- package/schemas/platforms/xiaohongshu.video.schema.json +6 -5
- package/schemas/platforms/xiaohongshushop.video.schema.json +4 -4
- package/schemas/platforms/xinlang.imageText.schema.json +27 -6
- package/schemas/platforms/xinlang.video.schema.json +45 -14
- package/schemas/platforms/yidianhao.article.schema.json +1 -0
- package/schemas/platforms/yidianhao.video.schema.json +13 -12
- package/skills/yixiaoer/SKILL.md +30 -4
- package/skills/yixiaoer/references/cli/command-design.md +305 -0
- package/skills/yixiaoer/references/cli/command-reference.md +19 -6
- package/skills/yixiaoer/references/cli/publish-channels.md +77 -0
- package/skills/yixiaoer/references/domains/accounts-and-env.md +6 -2
- package/skills/yixiaoer/references/domains/draft-and-material.md +8 -3
- package/skills/yixiaoer/references/domains/publish.md +17 -10
- package/skills/yixiaoer/references/domains/troubleshooting.md +6 -2
- package/skills/yixiaoer/references/get-account-groups.md +2 -1
- package/skills/yixiaoer/references/go-live-process.md +2 -2
- package/skills/yixiaoer/references/keyword-reference.md +3 -2
- package/skills/yixiaoer/references/legacy/capabilities.md +37 -0
- package/skills/yixiaoer/references/platform.md +2 -1
- package/skills/yixiaoer/references/platforms/article/acfun.md +1 -1
- package/skills/yixiaoer/references/platforms/article/aiqiyi.md +1 -1
- package/skills/yixiaoer/references/platforms/article/baijiahao.md +1 -1
- package/skills/yixiaoer/references/platforms/article/bilibili.md +1 -1
- package/skills/yixiaoer/references/platforms/article/chejiahao.md +1 -1
- package/skills/yixiaoer/references/platforms/article/csdn.md +1 -1
- package/skills/yixiaoer/references/platforms/article/dayuhao.md +1 -1
- package/skills/yixiaoer/references/platforms/article/douban.md +1 -1
- package/skills/yixiaoer/references/platforms/article/douyin.md +1 -1
- package/skills/yixiaoer/references/platforms/article/index.md +2 -2
- package/skills/yixiaoer/references/platforms/article/jianshu.md +3 -5
- package/skills/yixiaoer/references/platforms/article/kuaichuanhao.md +1 -1
- package/skills/yixiaoer/references/platforms/article/qiehao.md +1 -1
- package/skills/yixiaoer/references/platforms/article/souhuhao.md +1 -1
- package/skills/yixiaoer/references/platforms/article/toutiaohao.md +1 -1
- package/skills/yixiaoer/references/platforms/article/wangyihao.md +1 -1
- package/skills/yixiaoer/references/platforms/article/weixingongzhonghao.md +1 -1
- package/skills/yixiaoer/references/platforms/article/xinlangweibo.md +1 -1
- package/skills/yixiaoer/references/platforms/article/xueqiuhao.md +1 -1
- package/skills/yixiaoer/references/platforms/article/yichehao.md +1 -1
- package/skills/yixiaoer/references/platforms/article/yidianhao.md +1 -1
- package/skills/yixiaoer/references/platforms/article/zhihu.md +1 -1
- package/skills/yixiaoer/references/platforms/imageText/baijiahao.md +1 -1
- package/skills/yixiaoer/references/platforms/imageText/douyin.md +1 -1
- package/skills/yixiaoer/references/platforms/imageText/index.md +5 -8
- package/skills/yixiaoer/references/platforms/imageText/kuaishou.md +1 -1
- package/skills/yixiaoer/references/platforms/imageText/shipinhao.md +4 -17
- package/skills/yixiaoer/references/platforms/imageText/toutiaohao.md +1 -1
- package/skills/yixiaoer/references/platforms/imageText/xiaohongshu.md +4 -7
- package/skills/yixiaoer/references/platforms/imageText/xinlangweibo.md +1 -1
- package/skills/yixiaoer/references/platforms/imageText/zhihu.md +1 -1
- package/skills/yixiaoer/references/platforms/video/acfun.md +1 -1
- package/skills/yixiaoer/references/platforms/video/aiqiyi.md +1 -1
- package/skills/yixiaoer/references/platforms/video/baijiahao.md +1 -1
- package/skills/yixiaoer/references/platforms/video/bilibili-open.md +33 -61
- package/skills/yixiaoer/references/platforms/video/bilibili.md +1 -1
- package/skills/yixiaoer/references/platforms/video/chejiahao.md +1 -1
- package/skills/yixiaoer/references/platforms/video/dayuhao.md +3 -1
- package/skills/yixiaoer/references/platforms/video/dewu.md +1 -1
- package/skills/yixiaoer/references/platforms/video/douyin.md +41 -11
- package/skills/yixiaoer/references/platforms/video/duoduoshipin.md +1 -1
- package/skills/yixiaoer/references/platforms/video/fengwang.md +1 -1
- package/skills/yixiaoer/references/platforms/video/index.md +6 -2
- package/skills/yixiaoer/references/platforms/video/kuaishou-open.md +20 -39
- package/skills/yixiaoer/references/platforms/video/kuaishou.md +1 -1
- package/skills/yixiaoer/references/platforms/video/meipai.md +1 -1
- package/skills/yixiaoer/references/platforms/video/meiyou.md +1 -1
- package/skills/yixiaoer/references/platforms/video/pipixia.md +1 -1
- package/skills/yixiaoer/references/platforms/video/qiehao.md +1 -1
- package/skills/yixiaoer/references/platforms/video/shipinhao.md +7 -2
- package/skills/yixiaoer/references/platforms/video/souhuhao.md +1 -1
- package/skills/yixiaoer/references/platforms/video/souhushipin.md +1 -1
- package/skills/yixiaoer/references/platforms/video/tengxunshipin.md +1 -1
- package/skills/yixiaoer/references/platforms/video/toutiaohao.md +1 -1
- package/skills/yixiaoer/references/platforms/video/wangyihao.md +1 -1
- package/skills/yixiaoer/references/platforms/video/weishi.md +1 -1
- package/skills/yixiaoer/references/platforms/video/xiaohongshu.md +1 -1
- package/skills/yixiaoer/references/platforms/video/xiaohongshushop.md +1 -1
- package/skills/yixiaoer/references/platforms/video/xinlangweibo.md +1 -1
- package/skills/yixiaoer/references/platforms/video/yichehao.md +1 -1
- package/skills/yixiaoer/references/platforms/video/yidianhao.md +1 -1
- package/skills/yixiaoer/references/platforms/video/zhihu.md +1 -1
- package/skills/yixiaoer/references/protocols/confirmation.md +62 -0
- package/skills/yixiaoer/references/protocols/error-recovery.md +50 -0
- package/skills/yixiaoer/references/protocols/execution.md +65 -0
- package/skills/yixiaoer/references/protocols/provenance.md +61 -0
- package/skills/yixiaoer/references/upload-resource.md +7 -0
- package/skills/yixiaoer/references/usage-workflow.md +1 -1
- package/skills/yixiaoer/references/workflows/common-rules.md +37 -16
- package/skills/yixiaoer/references/workflows/local-vs-cloud.md +12 -5
- package/skills/yixiaoer/references/workflows/publish-troubleshooting.md +1 -1
- package/skills/yixiaoer/references/workflows/publish-video.md +1 -1
- package/skills/yixiaoer/references/yixiaoer-shared.md +18 -7
- package/skills/yixiaoer/references/platforms/get-locations.md +0 -5
- package/skills/yixiaoer/references/platforms/imageText/weixinshipinhao.md +0 -7
|
@@ -62,23 +62,24 @@
|
|
|
62
62
|
"declaration": {
|
|
63
63
|
"type": "number",
|
|
64
64
|
"enum": [
|
|
65
|
+
0,
|
|
65
66
|
1,
|
|
66
67
|
2,
|
|
67
68
|
3,
|
|
68
69
|
4
|
|
69
70
|
]
|
|
70
71
|
},
|
|
71
|
-
"
|
|
72
|
+
"scheduledTime": {
|
|
73
|
+
"type": "number",
|
|
74
|
+
"minimum": 0
|
|
75
|
+
},
|
|
76
|
+
"createType": {
|
|
72
77
|
"type": "number",
|
|
73
78
|
"enum": [
|
|
74
79
|
0,
|
|
75
80
|
1
|
|
76
81
|
],
|
|
77
82
|
"default": 0
|
|
78
|
-
},
|
|
79
|
-
"scheduledTime": {
|
|
80
|
-
"type": "number",
|
|
81
|
-
"minimum": 0
|
|
82
83
|
}
|
|
83
84
|
},
|
|
84
85
|
"additionalProperties": false
|
|
@@ -30,6 +30,14 @@
|
|
|
30
30
|
],
|
|
31
31
|
"default": 0
|
|
32
32
|
},
|
|
33
|
+
"createType": {
|
|
34
|
+
"type": "number",
|
|
35
|
+
"enum": [
|
|
36
|
+
0,
|
|
37
|
+
1
|
|
38
|
+
],
|
|
39
|
+
"default": 0
|
|
40
|
+
},
|
|
33
41
|
"images": {
|
|
34
42
|
"type": "array",
|
|
35
43
|
"minItems": 1,
|
|
@@ -70,26 +78,6 @@
|
|
|
70
78
|
}
|
|
71
79
|
},
|
|
72
80
|
"location": {
|
|
73
|
-
"type": "object",
|
|
74
|
-
"required": [
|
|
75
|
-
"id",
|
|
76
|
-
"text",
|
|
77
|
-
"raw"
|
|
78
|
-
],
|
|
79
|
-
"properties": {
|
|
80
|
-
"id": {
|
|
81
|
-
"type": "string"
|
|
82
|
-
},
|
|
83
|
-
"text": {
|
|
84
|
-
"type": "string"
|
|
85
|
-
},
|
|
86
|
-
"raw": {
|
|
87
|
-
"type": "object"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"additionalProperties": true
|
|
91
|
-
},
|
|
92
|
-
"music": {
|
|
93
81
|
"type": "object",
|
|
94
82
|
"required": [
|
|
95
83
|
"yixiaoerId",
|
|
@@ -103,16 +91,11 @@
|
|
|
103
91
|
"yixiaoerName": {
|
|
104
92
|
"type": "string"
|
|
105
93
|
},
|
|
106
|
-
"duration": {
|
|
107
|
-
"type": "number"
|
|
108
|
-
},
|
|
109
|
-
"playUrl": {
|
|
110
|
-
"type": "string"
|
|
111
|
-
},
|
|
112
94
|
"raw": {
|
|
113
95
|
"type": "object"
|
|
114
96
|
}
|
|
115
|
-
}
|
|
97
|
+
},
|
|
98
|
+
"additionalProperties": true
|
|
116
99
|
},
|
|
117
100
|
"collection": {
|
|
118
101
|
"type": "object",
|
|
@@ -125,6 +108,25 @@
|
|
|
125
108
|
"scheduledTime": {
|
|
126
109
|
"type": "number",
|
|
127
110
|
"minimum": 0
|
|
111
|
+
},
|
|
112
|
+
"group": {
|
|
113
|
+
"type": "object"
|
|
114
|
+
},
|
|
115
|
+
"shopping_cart": {
|
|
116
|
+
"type": "array",
|
|
117
|
+
"minItems": 1,
|
|
118
|
+
"items": {
|
|
119
|
+
"type": "object"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"declaration": {
|
|
123
|
+
"type": "number",
|
|
124
|
+
"enum": [
|
|
125
|
+
0,
|
|
126
|
+
1,
|
|
127
|
+
2
|
|
128
|
+
],
|
|
129
|
+
"default": 0
|
|
128
130
|
}
|
|
129
131
|
},
|
|
130
132
|
"additionalProperties": false
|
|
@@ -23,13 +23,14 @@
|
|
|
23
23
|
"enum": [
|
|
24
24
|
0,
|
|
25
25
|
1,
|
|
26
|
-
|
|
26
|
+
2
|
|
27
27
|
],
|
|
28
28
|
"default": 0
|
|
29
29
|
},
|
|
30
30
|
"declaration": {
|
|
31
31
|
"type": "number",
|
|
32
32
|
"enum": [
|
|
33
|
+
0,
|
|
33
34
|
1,
|
|
34
35
|
2
|
|
35
36
|
]
|
|
@@ -45,15 +46,15 @@
|
|
|
45
46
|
"location": {
|
|
46
47
|
"type": "object",
|
|
47
48
|
"required": [
|
|
48
|
-
"
|
|
49
|
-
"
|
|
49
|
+
"yixiaoerId",
|
|
50
|
+
"yixiaoerName",
|
|
50
51
|
"raw"
|
|
51
52
|
],
|
|
52
53
|
"properties": {
|
|
53
|
-
"
|
|
54
|
+
"yixiaoerId": {
|
|
54
55
|
"type": "string"
|
|
55
56
|
},
|
|
56
|
-
"
|
|
57
|
+
"yixiaoerName": {
|
|
57
58
|
"type": "string"
|
|
58
59
|
},
|
|
59
60
|
"raw": {
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
"location": {
|
|
24
24
|
"type": "object",
|
|
25
25
|
"required": [
|
|
26
|
-
"
|
|
27
|
-
"
|
|
26
|
+
"yixiaoerId",
|
|
27
|
+
"yixiaoerName",
|
|
28
28
|
"raw"
|
|
29
29
|
],
|
|
30
30
|
"properties": {
|
|
31
|
-
"
|
|
31
|
+
"yixiaoerId": {
|
|
32
32
|
"type": "string"
|
|
33
33
|
},
|
|
34
|
-
"
|
|
34
|
+
"yixiaoerName": {
|
|
35
35
|
"type": "string"
|
|
36
36
|
},
|
|
37
37
|
"raw": {
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
"required": [
|
|
5
5
|
"formType",
|
|
6
6
|
"description",
|
|
7
|
-
"images"
|
|
7
|
+
"images",
|
|
8
|
+
"visibleType",
|
|
9
|
+
"declaration"
|
|
8
10
|
],
|
|
9
11
|
"properties": {
|
|
10
12
|
"formType": {
|
|
@@ -14,7 +16,7 @@
|
|
|
14
16
|
"description": {
|
|
15
17
|
"type": "string",
|
|
16
18
|
"minLength": 1,
|
|
17
|
-
"maxLength":
|
|
19
|
+
"maxLength": 5000
|
|
18
20
|
},
|
|
19
21
|
"images": {
|
|
20
22
|
"type": "array",
|
|
@@ -60,15 +62,15 @@
|
|
|
60
62
|
"location": {
|
|
61
63
|
"type": "object",
|
|
62
64
|
"required": [
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
+
"yixiaoerId",
|
|
66
|
+
"yixiaoerName",
|
|
65
67
|
"raw"
|
|
66
68
|
],
|
|
67
69
|
"properties": {
|
|
68
|
-
"
|
|
70
|
+
"yixiaoerId": {
|
|
69
71
|
"type": "string"
|
|
70
72
|
},
|
|
71
|
-
"
|
|
73
|
+
"yixiaoerName": {
|
|
72
74
|
"type": "string"
|
|
73
75
|
},
|
|
74
76
|
"raw": {
|
|
@@ -80,6 +82,25 @@
|
|
|
80
82
|
"scheduledTime": {
|
|
81
83
|
"type": "number",
|
|
82
84
|
"minimum": 0
|
|
85
|
+
},
|
|
86
|
+
"visibleType": {
|
|
87
|
+
"type": "number",
|
|
88
|
+
"enum": [
|
|
89
|
+
0,
|
|
90
|
+
1
|
|
91
|
+
],
|
|
92
|
+
"default": 0
|
|
93
|
+
},
|
|
94
|
+
"declaration": {
|
|
95
|
+
"type": "number",
|
|
96
|
+
"enum": [
|
|
97
|
+
0,
|
|
98
|
+
1,
|
|
99
|
+
2,
|
|
100
|
+
3,
|
|
101
|
+
4
|
|
102
|
+
],
|
|
103
|
+
"default": 0
|
|
83
104
|
}
|
|
84
105
|
},
|
|
85
106
|
"additionalProperties": false
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"formType",
|
|
6
6
|
"title",
|
|
7
7
|
"description",
|
|
8
|
-
"
|
|
8
|
+
"createType",
|
|
9
9
|
"video"
|
|
10
10
|
],
|
|
11
11
|
"properties": {
|
|
@@ -23,15 +23,6 @@
|
|
|
23
23
|
"minLength": 1,
|
|
24
24
|
"maxLength": 2000
|
|
25
25
|
},
|
|
26
|
-
"type": {
|
|
27
|
-
"type": "number",
|
|
28
|
-
"enum": [
|
|
29
|
-
1,
|
|
30
|
-
2,
|
|
31
|
-
3
|
|
32
|
-
],
|
|
33
|
-
"default": 1
|
|
34
|
-
},
|
|
35
26
|
"video": {
|
|
36
27
|
"type": "object",
|
|
37
28
|
"required": [
|
|
@@ -99,15 +90,15 @@
|
|
|
99
90
|
"location": {
|
|
100
91
|
"type": "object",
|
|
101
92
|
"required": [
|
|
102
|
-
"
|
|
103
|
-
"
|
|
93
|
+
"yixiaoerId",
|
|
94
|
+
"yixiaoerName",
|
|
104
95
|
"raw"
|
|
105
96
|
],
|
|
106
97
|
"properties": {
|
|
107
|
-
"
|
|
98
|
+
"yixiaoerId": {
|
|
108
99
|
"type": "string"
|
|
109
100
|
},
|
|
110
|
-
"
|
|
101
|
+
"yixiaoerName": {
|
|
111
102
|
"type": "string"
|
|
112
103
|
},
|
|
113
104
|
"raw": {
|
|
@@ -116,6 +107,29 @@
|
|
|
116
107
|
},
|
|
117
108
|
"additionalProperties": true
|
|
118
109
|
},
|
|
110
|
+
"category": {
|
|
111
|
+
"type": "array",
|
|
112
|
+
"items": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"required": [
|
|
115
|
+
"yixiaoerId",
|
|
116
|
+
"yixiaoerName",
|
|
117
|
+
"raw"
|
|
118
|
+
],
|
|
119
|
+
"properties": {
|
|
120
|
+
"yixiaoerId": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
"yixiaoerName": {
|
|
124
|
+
"type": "string"
|
|
125
|
+
},
|
|
126
|
+
"raw": {
|
|
127
|
+
"type": "object"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"additionalProperties": true
|
|
131
|
+
}
|
|
132
|
+
},
|
|
119
133
|
"collection": {
|
|
120
134
|
"type": "object",
|
|
121
135
|
"required": [
|
|
@@ -146,6 +160,23 @@
|
|
|
146
160
|
1
|
|
147
161
|
],
|
|
148
162
|
"default": 1
|
|
163
|
+
},
|
|
164
|
+
"visibleType": {
|
|
165
|
+
"type": "number",
|
|
166
|
+
"enum": [
|
|
167
|
+
0,
|
|
168
|
+
1
|
|
169
|
+
],
|
|
170
|
+
"default": 0
|
|
171
|
+
},
|
|
172
|
+
"createType": {
|
|
173
|
+
"type": "number",
|
|
174
|
+
"enum": [
|
|
175
|
+
1,
|
|
176
|
+
2,
|
|
177
|
+
3
|
|
178
|
+
],
|
|
179
|
+
"default": 1
|
|
149
180
|
}
|
|
150
181
|
},
|
|
151
182
|
"additionalProperties": false
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"items": {
|
|
38
38
|
"type": "object",
|
|
39
39
|
"required": [
|
|
40
|
-
"
|
|
41
|
-
"
|
|
40
|
+
"yixiaoerId",
|
|
41
|
+
"yixiaoerName",
|
|
42
42
|
"raw"
|
|
43
43
|
],
|
|
44
44
|
"properties": {
|
|
45
|
-
"
|
|
45
|
+
"yixiaoerId": {
|
|
46
46
|
"type": "string"
|
|
47
47
|
},
|
|
48
|
-
"
|
|
48
|
+
"yixiaoerName": {
|
|
49
49
|
"type": "string"
|
|
50
50
|
},
|
|
51
51
|
"raw": {
|
|
@@ -54,17 +54,10 @@
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
-
"type": {
|
|
58
|
-
"type": "number",
|
|
59
|
-
"enum": [
|
|
60
|
-
0,
|
|
61
|
-
1
|
|
62
|
-
],
|
|
63
|
-
"default": 1
|
|
64
|
-
},
|
|
65
57
|
"declaration": {
|
|
66
58
|
"type": "number",
|
|
67
59
|
"enum": [
|
|
60
|
+
0,
|
|
68
61
|
3,
|
|
69
62
|
4,
|
|
70
63
|
5
|
|
@@ -146,6 +139,14 @@
|
|
|
146
139
|
1
|
|
147
140
|
],
|
|
148
141
|
"default": 1
|
|
142
|
+
},
|
|
143
|
+
"createType": {
|
|
144
|
+
"type": "number",
|
|
145
|
+
"enum": [
|
|
146
|
+
1,
|
|
147
|
+
2
|
|
148
|
+
],
|
|
149
|
+
"default": 1
|
|
149
150
|
}
|
|
150
151
|
},
|
|
151
152
|
"additionalProperties": false
|
package/skills/yixiaoer/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: yixiaoer
|
|
3
|
-
version: 3.2.
|
|
3
|
+
version: 3.2.7
|
|
4
4
|
description: "通过 yxer CLI 操作蚁小二多平台内容分发:账号查询、资源上传、发布前准备、payload 校验、云发布/本机发布、草稿保存、素材登记、发布记录排查与技能同步。"
|
|
5
5
|
metadata:
|
|
6
6
|
category: "productivity"
|
|
@@ -16,12 +16,20 @@ metadata:
|
|
|
16
16
|
**🚀 首次使用?先读 [`./QUICKSTART.md`](./QUICKSTART.md) - 5 分钟完成首次发布**
|
|
17
17
|
|
|
18
18
|
**CRITICAL - 开始前 MUST 先读取 [`./references/yixiaoer-shared.md`](./references/yixiaoer-shared.md),其中包含环境检查、发布通道、同步和输出协议。**
|
|
19
|
+
**AI EXECUTION PROTOCOL - 涉及查询、payload 修订、草稿、素材或发布时,MUST 先读取 [`./references/protocols/execution.md`](./references/protocols/execution.md),并按状态机推进。**
|
|
19
20
|
**BLOCKING REQUIREMENT - 涉及正式写操作时,禁止凭记忆拼 payload、禁止跳过 workflow、禁止绕过 `yxer` CLI 直接执行旧脚本或隐式 API。**
|
|
20
21
|
|
|
21
22
|
## 能力索引
|
|
22
23
|
|
|
23
24
|
根据用户需求,必须先读取对应业务域文档,再进入具体 workflow 或 reference。不要直接凭记忆拼 payload 或执行正式发布。
|
|
24
25
|
|
|
26
|
+
- AI 执行协议
|
|
27
|
+
- 入口:[`./references/protocols/execution.md`](./references/protocols/execution.md)
|
|
28
|
+
- 候选确认:[`./references/protocols/confirmation.md`](./references/protocols/confirmation.md)
|
|
29
|
+
- 字段来源追踪:[`./references/protocols/provenance.md`](./references/protocols/provenance.md)
|
|
30
|
+
- 错误恢复:[`./references/protocols/error-recovery.md`](./references/protocols/error-recovery.md)
|
|
31
|
+
- 覆盖状态机、写操作门禁、多候选确认、payload 来源追踪和失败后的最小修复策略。
|
|
32
|
+
|
|
25
33
|
- 发布与 payload 修订
|
|
26
34
|
- 入口:[`./references/domains/publish.md`](./references/domains/publish.md)
|
|
27
35
|
- 覆盖视频、图文、文章发布,账号选择,云/本机通道判断,payload 来源纪律,动态字段查询,平台差异文档入口。
|
|
@@ -42,7 +50,7 @@ metadata:
|
|
|
42
50
|
|
|
43
51
|
| 用户意图 / 说法 | 先读入口 | 后续动作 |
|
|
44
52
|
| --- | --- | --- |
|
|
45
|
-
| “帮我发一下”“发个抖音/小红书”“发布视频/图文/文章” | [`./references/domains/publish.md`](./references/domains/publish.md) | 再按类型进入对应 workflow
|
|
53
|
+
| “帮我发一下”“发个抖音/小红书”“发布视频/图文/文章” | [`./references/domains/publish.md`](./references/domains/publish.md) | 再按类型进入对应 workflow;已有完整 payload 时走 `validate -> publish --dry-run -> publish`,缺账号/字段/资源时先补 `doctor -> accounts list -> prepare/form -> upload/query` |
|
|
46
54
|
| “先别发,只生成/修一下 payload” | [`./references/domains/publish.md`](./references/domains/publish.md) | 强制读取 payload 来源和类型 workflow,只做字段修订,不擅自正式发布 |
|
|
47
55
|
| “查下账号/环境”“怎么配置 clientId”“看看 skill 要不要同步” | [`./references/domains/accounts-and-env.md`](./references/domains/accounts-and-env.md) | 先做环境检查,再决定是否继续业务流程 |
|
|
48
56
|
| “存草稿”“传素材”“放到素材库里” | [`./references/domains/draft-and-material.md`](./references/domains/draft-and-material.md) | 先区分草稿和素材,再判断是否需要回切发布域 |
|
|
@@ -63,9 +71,27 @@ yxer schema get <platform> <type>
|
|
|
63
71
|
## 全局规则
|
|
64
72
|
|
|
65
73
|
- 发布、草稿、素材、排查都只允许通过 `yxer` CLI 执行。
|
|
74
|
+
- 任何涉及查询、候选选择、payload 修订或写操作的任务,必须先遵循 AI 执行协议中的状态机、确认协议和错误恢复协议。
|
|
66
75
|
- 涉及写操作或 payload 修订时,必须遵守 [`./references/workflows/data-accuracy.md`](./references/workflows/data-accuracy.md):先查询真实数据,再确认候选,最后 validate / dry-run / 写入。
|
|
67
|
-
- BLOCKING REQUIREMENT:
|
|
68
|
-
- `prepare`、`schema fields` / `schema get`、workflow、平台文档和 CLI 实际输出,是组装 payload 的唯一依据。
|
|
76
|
+
- BLOCKING REQUIREMENT: 正式发布前必须先用同一份 `payload.json`、同一套发布通道参数完成 `yxer validate -> yxer publish --dry-run`;缺账号、字段、资源或动态对象时,先补 `doctor -> accounts list -> prepare/form -> upload/query`。
|
|
77
|
+
- `prepare`/`publish form`、`schema fields` / `schema get`、workflow、平台文档和 CLI 实际输出,是组装 payload 的唯一依据。
|
|
78
|
+
- `prepare` 返回的 `data.form` 是可恢复的页面式表单契约;新建复杂 payload 时优先使用 `yxer publish form start/inspect/set/choose/verify/review/export`,不要自行发明字段或路径。form 会话不能直接发布,必须先 verify 并 export 成标准 `payload.json`。
|
|
69
79
|
- 图片、视频、封面等资源必须先上传,且只能复用 `yxer upload` 返回的真实字段。
|
|
70
80
|
- `category`、`location`、`music`、`collection`、`challenge`、`goods` 等动态字段必须先通过 `yxer query ...` 查询,不能手写对象。
|
|
71
81
|
- CRITICAL: `validate`、`publish --dry-run`、正式 `publish` 必须使用同一套发布通道参数。
|
|
82
|
+
|
|
83
|
+
## 页面式表单会话
|
|
84
|
+
|
|
85
|
+
当一次性编辑 `payload.json` 无法表达页面中的完整流程时,使用本地会话逐步推进:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
yxer publish form start <platform> <type> --output publish-form.json
|
|
89
|
+
yxer publish form inspect publish-form.json
|
|
90
|
+
yxer publish form set publish-form.json <payload.path> --value '<json-value>'
|
|
91
|
+
yxer publish form choose publish-form.json <field> --value-file query-result.json --id <candidate_id> --source-command "yxer query ... --json"
|
|
92
|
+
yxer publish form verify publish-form.json
|
|
93
|
+
yxer publish form review publish-form.json
|
|
94
|
+
yxer publish form export publish-form.json --output payload.json
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
`set` / `choose` / `verify` / `review` 只更新或检查本地会话,不会触发发布;动态字段必须用 `choose` 从 `query` 返回候选中选择,并用 `--source-command` 记录实际执行的 `yxer query ... --json` 命令。`set` 只能写 form contract 声明过的路径;`choose` 只写 `dynamicFieldExamples` 声明的字段,且 query 账号必须匹配目标账号。资源应直接使用 `upload` 返回的完整对象。文本字段可直接传文本,复杂对象使用 JSON。导出前 `verify` / `review` / `export` 会校验来源记录和当前 payload 是否一致;导出后仍必须按同一份 payload 和同一套发布通道参数执行 `validate payload.json -> publish payload.json --dry-run -> 用户授权 -> publish payload.json`。所有写本地文件的会话命令都支持 `--dry-run`。
|