@yixiaoermail/cli 3.1.2 → 3.2.1

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.
Files changed (108) hide show
  1. package/README.md +25 -25
  2. package/bin/ensure-executable.js +25 -25
  3. package/bin/postinstall.js +18 -18
  4. package/bin/resolve-binary.js +36 -36
  5. package/bin/yxer.js +65 -65
  6. package/dist/yxer-darwin-amd64 +0 -0
  7. package/dist/yxer-darwin-arm64 +0 -0
  8. package/dist/yxer-linux-amd64 +0 -0
  9. package/dist/yxer-linux-arm64 +0 -0
  10. package/dist/yxer-windows-amd64.exe +0 -0
  11. package/dist/yxer-windows-arm64.exe +0 -0
  12. package/package.json +2 -2
  13. package/references/cli/command-design.md +305 -0
  14. package/references/cli/command-reference.md +35 -27
  15. package/references/cli/skill-install.md +24 -24
  16. package/references/legacy/capabilities.md +13 -8
  17. package/references/workflows/payload-sourcing.md +17 -10
  18. package/references/workflows/publish-troubleshooting.md +10 -4
  19. package/schemas/platforms/acfun.article.schema.json +117 -117
  20. package/schemas/platforms/acfun.video.schema.json +139 -139
  21. package/schemas/platforms/aiqiyi.article.schema.json +29 -29
  22. package/schemas/platforms/aiqiyi.video.schema.json +154 -154
  23. package/schemas/platforms/baijiahao.article.schema.json +103 -103
  24. package/schemas/platforms/baijiahao.imageText.schema.json +6 -5
  25. package/schemas/platforms/baijiahao.video.schema.json +180 -179
  26. package/schemas/platforms/bilibili.article.schema.json +109 -109
  27. package/schemas/platforms/bilibili.video.schema.json +175 -175
  28. package/schemas/platforms/chejiahao.article.schema.json +108 -108
  29. package/schemas/platforms/chejiahao.video.schema.json +111 -111
  30. package/schemas/platforms/csdn.article.schema.json +106 -106
  31. package/schemas/platforms/dayuhao.article.schema.json +106 -106
  32. package/schemas/platforms/dayuhao.video.schema.json +153 -153
  33. package/schemas/platforms/dewu.video.schema.json +134 -134
  34. package/schemas/platforms/douban.article.schema.json +48 -48
  35. package/schemas/platforms/douyin.article.schema.json +318 -318
  36. package/schemas/platforms/douyin.imageText.schema.json +287 -217
  37. package/schemas/platforms/douyin.video.schema.json +852 -744
  38. package/schemas/platforms/duoduoshipin.video.schema.json +108 -108
  39. package/schemas/platforms/facebook.video.schema.json +28 -0
  40. package/schemas/platforms/fengwang.video.schema.json +135 -135
  41. package/schemas/platforms/instagram.video.schema.json +28 -0
  42. package/schemas/platforms/jianshu.article.schema.json +33 -33
  43. package/schemas/platforms/kuaichuanhao.article.schema.json +83 -83
  44. package/schemas/platforms/kuaishou.imageText.schema.json +171 -170
  45. package/schemas/platforms/kuaishou.video.schema.json +243 -240
  46. package/schemas/platforms/meipai.video.schema.json +123 -123
  47. package/schemas/platforms/meiyou.video.schema.json +96 -96
  48. package/schemas/platforms/pipixia.video.schema.json +94 -94
  49. package/schemas/platforms/qiehao.article.schema.json +89 -89
  50. package/schemas/platforms/qiehao.video.schema.json +147 -147
  51. package/schemas/platforms/shipinhao.imageText.schema.json +139 -138
  52. package/schemas/platforms/shipinhao.video.schema.json +237 -236
  53. package/schemas/platforms/souhuhao.article.schema.json +73 -73
  54. package/schemas/platforms/souhushipin.video.schema.json +115 -115
  55. package/schemas/platforms/tengxunshipin.video.schema.json +114 -114
  56. package/schemas/platforms/tiktok.video.schema.json +72 -0
  57. package/schemas/platforms/toutiaohao.article.schema.json +114 -113
  58. package/schemas/platforms/toutiaohao.imageText.schema.json +83 -83
  59. package/schemas/platforms/toutiaohao.video.schema.json +134 -134
  60. package/schemas/platforms/wangyihao.article.schema.json +85 -85
  61. package/schemas/platforms/wangyihao.video.schema.json +151 -151
  62. package/schemas/platforms/weishi.video.schema.json +101 -101
  63. package/schemas/platforms/weixin.account.article.schema.json +148 -148
  64. package/schemas/platforms/xhs.imageText.schema.json +88 -76
  65. package/schemas/platforms/xiaohongshu.video.schema.json +225 -224
  66. package/schemas/platforms/xiaohongshushop.video.schema.json +142 -141
  67. package/schemas/platforms/xinlang.article.schema.json +69 -69
  68. package/schemas/platforms/xinlang.imageText.schema.json +86 -85
  69. package/schemas/platforms/xinlang.video.schema.json +152 -151
  70. package/schemas/platforms/xueqiuhao.article.schema.json +84 -84
  71. package/schemas/platforms/yichehao.article.schema.json +140 -140
  72. package/schemas/platforms/yichehao.video.schema.json +101 -101
  73. package/schemas/platforms/yidianhao.article.schema.json +77 -77
  74. package/schemas/platforms/yidianhao.video.schema.json +152 -152
  75. package/schemas/platforms/youtube.video.schema.json +92 -0
  76. package/schemas/platforms/zhihu.article.schema.json +104 -104
  77. package/schemas/platforms/zhihu.imageText.schema.json +61 -61
  78. package/schemas/platforms/zhihu.video.schema.json +144 -144
  79. package/skills/yixiaoer/QUICKSTART.md +4 -4
  80. package/skills/yixiaoer/SKILL.md +2 -1
  81. package/skills/yixiaoer/plugin.json +1 -1
  82. package/skills/yixiaoer/references/cli/command-reference.md +30 -22
  83. package/skills/yixiaoer/references/cli/skill-install.md +12 -12
  84. package/skills/yixiaoer/references/cli-install-uninstall.md +14 -14
  85. package/skills/yixiaoer/references/create-account-group.md +27 -0
  86. package/skills/yixiaoer/references/delete-account-group.md +20 -0
  87. package/skills/yixiaoer/references/domains/accounts-and-env.md +17 -15
  88. package/skills/yixiaoer/references/domains/install-and-sync.md +15 -15
  89. package/skills/yixiaoer/references/domains/publish.md +11 -9
  90. package/skills/yixiaoer/references/execution-standard.md +18 -18
  91. package/skills/yixiaoer/references/get-account-groups.md +14 -0
  92. package/skills/yixiaoer/references/get-members.md +28 -0
  93. package/skills/yixiaoer/references/material-resource.md +8 -9
  94. package/skills/yixiaoer/references/platforms/imageText/baijiahao.md +41 -41
  95. package/skills/yixiaoer/references/platforms/video/facebook.md +37 -0
  96. package/skills/yixiaoer/references/platforms/video/index.md +7 -3
  97. package/skills/yixiaoer/references/platforms/video/instagram.md +40 -0
  98. package/skills/yixiaoer/references/platforms/video/tiktok.md +50 -0
  99. package/skills/yixiaoer/references/platforms/video/youtube.md +53 -0
  100. package/skills/yixiaoer/references/proxy-management.md +9 -8
  101. package/skills/yixiaoer/references/topic-tags.md +31 -30
  102. package/skills/yixiaoer/references/troubleshooting-guide.md +2 -2
  103. package/skills/yixiaoer/references/update-account-group.md +28 -0
  104. package/skills/yixiaoer/references/upload-resource.md +6 -2
  105. package/skills/yixiaoer/references/workflows/common-rules.md +29 -22
  106. package/skills/yixiaoer/references/workflows/data-accuracy.md +83 -0
  107. package/skills/yixiaoer/references/workflows/payload-sourcing.md +24 -14
  108. package/skills/yixiaoer/references/workflows/publish-troubleshooting.md +10 -4
@@ -1,217 +1,287 @@
1
- {
2
- "title": "抖音图文发布表单 (Douyin Image-Text)",
3
- "type": "object",
4
- "required": [
5
- "formType",
6
- "title",
7
- "description",
8
- "images"
9
- ],
10
- "properties": {
11
- "formType": {
12
- "type": "string",
13
- "const": "task"
14
- },
15
- "title": {
16
- "type": "string",
17
- "maxLength": 20
18
- },
19
- "description": {
20
- "type": "string",
21
- "maxLength": 5000
22
- },
23
- "tags": {
24
- "type": "array",
25
- "items": {
26
- "type": "string"
27
- },
28
- "minItems": 1,
29
- "maxItems": 10
30
- },
31
- "images": {
32
- "type": "array",
33
- "minItems": 1,
34
- "maxItems": 20,
35
- "items": {
36
- "type": "object",
37
- "required": [
38
- "key",
39
- "size",
40
- "width",
41
- "height"
42
- ],
43
- "properties": {
44
- "key": {
45
- "type": "string"
46
- },
47
- "size": {
48
- "type": "integer",
49
- "minimum": 1
50
- },
51
- "width": {
52
- "type": "integer",
53
- "minimum": 1
54
- },
55
- "height": {
56
- "type": "integer",
57
- "minimum": 1
58
- },
59
- "format": {
60
- "type": "string",
61
- "enum": [
62
- "jpg",
63
- "jpeg",
64
- "png",
65
- "webp"
66
- ]
67
- }
68
- }
69
- }
70
- },
71
- "cover": {
72
- "type": "object",
73
- "required": [
74
- "key",
75
- "size",
76
- "width",
77
- "height"
78
- ],
79
- "properties": {
80
- "key": {
81
- "type": "string"
82
- },
83
- "size": {
84
- "type": "integer"
85
- },
86
- "width": {
87
- "type": "integer"
88
- },
89
- "height": {
90
- "type": "integer"
91
- }
92
- }
93
- },
94
- "coverKey": {
95
- "type": "string"
96
- },
97
- "allowTake": {
98
- "type": "boolean",
99
- "default": true
100
- },
101
- "location": {
102
- "type": "object",
103
- "required": [
104
- "yixiaoerId",
105
- "yixiaoerName",
106
- "raw"
107
- ],
108
- "properties": {
109
- "yixiaoerId": {
110
- "type": "string"
111
- },
112
- "yixiaoerName": {
113
- "type": "string"
114
- },
115
- "raw": {
116
- "type": "object"
117
- }
118
- }
119
- },
120
- "music": {
121
- "type": "object",
122
- "required": [
123
- "yixiaoerId",
124
- "yixiaoerName",
125
- "raw"
126
- ],
127
- "properties": {
128
- "yixiaoerId": {
129
- "type": "string"
130
- },
131
- "yixiaoerName": {
132
- "type": "string"
133
- },
134
- "duration": {
135
- "type": "number"
136
- },
137
- "playUrl": {
138
- "type": "string"
139
- },
140
- "raw": {
141
- "type": "object"
142
- }
143
- }
144
- },
145
- "challenge": {
146
- "type": "object",
147
- "required": [
148
- "yixiaoerId",
149
- "yixiaoerName",
150
- "raw"
151
- ],
152
- "properties": {
153
- "yixiaoerId": {
154
- "type": "string"
155
- },
156
- "yixiaoerName": {
157
- "type": "string"
158
- },
159
- "raw": {
160
- "type": "object"
161
- }
162
- }
163
- },
164
- "collection": {
165
- "type": "object",
166
- "required": [
167
- "yixiaoerId",
168
- "yixiaoerName",
169
- "raw"
170
- ],
171
- "properties": {
172
- "yixiaoerId": {
173
- "type": "string"
174
- },
175
- "yixiaoerName": {
176
- "type": "string"
177
- },
178
- "raw": {
179
- "type": "object"
180
- }
181
- }
182
- },
183
- "sub_collection": {
184
- "type": "object",
185
- "required": [
186
- "yixiaoerId",
187
- "yixiaoerName",
188
- "raw"
189
- ],
190
- "properties": {
191
- "yixiaoerId": {
192
- "type": "string"
193
- },
194
- "yixiaoerName": {
195
- "type": "string"
196
- },
197
- "raw": {
198
- "type": "object"
199
- }
200
- }
201
- },
202
- "scheduledTime": {
203
- "type": "number",
204
- "minimum": 0
205
- },
206
- "declaration": {
207
- "type": "number",
208
- "enum": [
209
- 3,
210
- 4,
211
- 5,
212
- 6
213
- ]
214
- }
215
- },
216
- "additionalProperties": false
217
- }
1
+ {
2
+ "title": "抖音图文发布表单 (Douyin Image-Text)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "description",
8
+ "images"
9
+ ],
10
+ "properties": {
11
+ "formType": {
12
+ "type": "string",
13
+ "const": "task"
14
+ },
15
+ "title": {
16
+ "type": "string",
17
+ "maxLength": 20
18
+ },
19
+ "description": {
20
+ "type": "string",
21
+ "maxLength": 5000
22
+ },
23
+ "tags": {
24
+ "type": "array",
25
+ "items": {
26
+ "type": "string"
27
+ },
28
+ "minItems": 1,
29
+ "maxItems": 10
30
+ },
31
+ "images": {
32
+ "type": "array",
33
+ "minItems": 1,
34
+ "maxItems": 20,
35
+ "items": {
36
+ "type": "object",
37
+ "required": [
38
+ "key",
39
+ "size",
40
+ "width",
41
+ "height"
42
+ ],
43
+ "properties": {
44
+ "key": {
45
+ "type": "string"
46
+ },
47
+ "size": {
48
+ "type": "integer",
49
+ "minimum": 1
50
+ },
51
+ "width": {
52
+ "type": "integer",
53
+ "minimum": 1
54
+ },
55
+ "height": {
56
+ "type": "integer",
57
+ "minimum": 1
58
+ },
59
+ "format": {
60
+ "type": "string",
61
+ "enum": [
62
+ "jpg",
63
+ "jpeg",
64
+ "png",
65
+ "webp"
66
+ ]
67
+ }
68
+ }
69
+ }
70
+ },
71
+ "cover": {
72
+ "type": "object",
73
+ "required": [
74
+ "key",
75
+ "size",
76
+ "width",
77
+ "height"
78
+ ],
79
+ "properties": {
80
+ "key": {
81
+ "type": "string"
82
+ },
83
+ "size": {
84
+ "type": "integer"
85
+ },
86
+ "width": {
87
+ "type": "integer"
88
+ },
89
+ "height": {
90
+ "type": "integer"
91
+ }
92
+ }
93
+ },
94
+ "coverKey": {
95
+ "type": "string"
96
+ },
97
+ "allowTake": {
98
+ "type": "boolean",
99
+ "default": true
100
+ },
101
+ "location": {
102
+ "type": "object",
103
+ "required": [
104
+ "isScp",
105
+ "data"
106
+ ],
107
+ "properties": {
108
+ "isScp": {
109
+ "type": "boolean"
110
+ },
111
+ "data": {
112
+ "type": "object",
113
+ "required": [
114
+ "yixiaoerId",
115
+ "yixiaoerName",
116
+ "raw"
117
+ ],
118
+ "properties": {
119
+ "yixiaoerId": {
120
+ "type": "string"
121
+ },
122
+ "yixiaoerName": {
123
+ "type": "string"
124
+ },
125
+ "raw": {
126
+ "type": "object"
127
+ }
128
+ },
129
+ "additionalProperties": true
130
+ }
131
+ },
132
+ "additionalProperties": false
133
+ },
134
+ "music": {
135
+ "type": "object",
136
+ "required": [
137
+ "yixiaoerId",
138
+ "yixiaoerName",
139
+ "raw"
140
+ ],
141
+ "properties": {
142
+ "yixiaoerId": {
143
+ "type": "string"
144
+ },
145
+ "yixiaoerName": {
146
+ "type": "string"
147
+ },
148
+ "duration": {
149
+ "type": "number"
150
+ },
151
+ "playUrl": {
152
+ "type": "string"
153
+ },
154
+ "raw": {
155
+ "type": "object"
156
+ }
157
+ }
158
+ },
159
+ "challenge": {
160
+ "type": "object",
161
+ "required": [
162
+ "yixiaoerId",
163
+ "yixiaoerName",
164
+ "raw"
165
+ ],
166
+ "properties": {
167
+ "yixiaoerId": {
168
+ "type": "string"
169
+ },
170
+ "yixiaoerName": {
171
+ "type": "string"
172
+ },
173
+ "raw": {
174
+ "type": "object"
175
+ }
176
+ }
177
+ },
178
+ "collection": {
179
+ "type": "object",
180
+ "required": [
181
+ "yixiaoerId",
182
+ "yixiaoerName",
183
+ "raw"
184
+ ],
185
+ "properties": {
186
+ "yixiaoerId": {
187
+ "type": "string"
188
+ },
189
+ "yixiaoerName": {
190
+ "type": "string"
191
+ },
192
+ "raw": {
193
+ "type": "object"
194
+ }
195
+ }
196
+ },
197
+ "sub_collection": {
198
+ "type": "object",
199
+ "required": [
200
+ "yixiaoerId",
201
+ "yixiaoerName",
202
+ "raw"
203
+ ],
204
+ "properties": {
205
+ "yixiaoerId": {
206
+ "type": "string"
207
+ },
208
+ "yixiaoerName": {
209
+ "type": "string"
210
+ },
211
+ "raw": {
212
+ "type": "object"
213
+ }
214
+ }
215
+ },
216
+ "scheduledTime": {
217
+ "type": "number",
218
+ "minimum": 0
219
+ },
220
+ "declaration": {
221
+ "type": "number",
222
+ "enum": [
223
+ 0,
224
+ 3,
225
+ 4,
226
+ 5,
227
+ 6
228
+ ],
229
+ "default": 0
230
+ },
231
+ "shopping_cart": {
232
+ "type": "array",
233
+ "minItems": 1,
234
+ "items": {
235
+ "type": "object",
236
+ "required": [
237
+ "sale_title",
238
+ "images",
239
+ "data"
240
+ ],
241
+ "properties": {
242
+ "sale_title": {
243
+ "type": "string",
244
+ "maxLength": 10
245
+ },
246
+ "images": {
247
+ "type": "array",
248
+ "minItems": 1,
249
+ "items": {
250
+ "type": "string"
251
+ }
252
+ },
253
+ "data": {
254
+ "type": "object",
255
+ "required": [
256
+ "yixiaoerId",
257
+ "yixiaoerName",
258
+ "raw"
259
+ ],
260
+ "properties": {
261
+ "yixiaoerId": {
262
+ "type": "string"
263
+ },
264
+ "yixiaoerName": {
265
+ "type": "string"
266
+ },
267
+ "raw": {
268
+ "type": "object"
269
+ }
270
+ },
271
+ "additionalProperties": true
272
+ }
273
+ },
274
+ "additionalProperties": false
275
+ }
276
+ },
277
+ "tagType": {
278
+ "type": "string",
279
+ "enum": [
280
+ "位置",
281
+ "团购",
282
+ "购物车"
283
+ ]
284
+ }
285
+ },
286
+ "additionalProperties": false
287
+ }