@yixiaoermail/cli 3.1.3 → 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,240 +1,243 @@
1
- {
2
- "title": "快手视频发布表单 (Kuaishou Video)",
3
- "type": "object",
4
- "required": ["formType"],
5
- "properties": {
6
- "formType": {
7
- "type": "string",
8
- "const": "task"
9
- },
10
- "title": {
11
- "type": "string",
12
- "minLength": 1,
13
- "maxLength": 50
14
- },
15
- "description": {
16
- "type": "string",
17
- "minLength": 0,
18
- "maxLength": 1000
19
- },
20
- "video": {
21
- "type": "object",
22
- "required": [
23
- "key",
24
- "size",
25
- "width",
26
- "height"
27
- ],
28
- "properties": {
29
- "key": {
30
- "type": "string"
31
- },
32
- "size": {
33
- "type": "integer",
34
- "minimum": 1
35
- },
36
- "width": {
37
- "type": "integer",
38
- "minimum": 1
39
- },
40
- "height": {
41
- "type": "integer",
42
- "minimum": 1
43
- },
44
- "duration": {
45
- "type": "number",
46
- "minimum": 1
47
- },
48
- "format": {
49
- "type": "string",
50
- "enum": [
51
- "mp4",
52
- "mov"
53
- ]
54
- }
55
- }
56
- },
57
- "cover": {
58
- "type": "object",
59
- "required": [
60
- "key",
61
- "size",
62
- "width",
63
- "height"
64
- ],
65
- "properties": {
66
- "key": {
67
- "type": "string"
68
- },
69
- "size": {
70
- "type": "integer"
71
- },
72
- "width": {
73
- "type": "integer"
74
- },
75
- "height": {
76
- "type": "integer"
77
- }
78
- }
79
- },
80
- "coverKey": {
81
- "type": "string"
82
- },
83
- "location": {
84
- "type": "object",
85
- "required": [
86
- "yixiaoerId",
87
- "yixiaoerName",
88
- "raw"
89
- ],
90
- "properties": {
91
- "yixiaoerId": {
92
- "type": "string"
93
- },
94
- "yixiaoerName": {
95
- "type": "string"
96
- },
97
- "raw": {
98
- "type": "object"
99
- }
100
- }
101
- },
102
- "music": {
103
- "type": "object",
104
- "required": [
105
- "yixiaoerId",
106
- "yixiaoerName",
107
- "raw"
108
- ],
109
- "properties": {
110
- "yixiaoerId": {
111
- "type": "string"
112
- },
113
- "yixiaoerName": {
114
- "type": "string"
115
- },
116
- "duration": {
117
- "type": "number"
118
- },
119
- "playUrl": {
120
- "type": "string"
121
- },
122
- "raw": {
123
- "type": "object"
124
- }
125
- }
126
- },
127
- "challenge": {
128
- "type": "object",
129
- "required": [
130
- "yixiaoerId",
131
- "yixiaoerName",
132
- "raw"
133
- ],
134
- "properties": {
135
- "yixiaoerId": {
136
- "type": "string"
137
- },
138
- "yixiaoerName": {
139
- "type": "string"
140
- },
141
- "raw": {
142
- "type": "object"
143
- }
144
- }
145
- },
146
- "collection": {
147
- "type": "object",
148
- "required": [
149
- "yixiaoerId",
150
- "yixiaoerName",
151
- "raw"
152
- ],
153
- "properties": {
154
- "yixiaoerId": {
155
- "type": "string"
156
- },
157
- "yixiaoerName": {
158
- "type": "string"
159
- },
160
- "raw": {
161
- "type": "object"
162
- }
163
- }
164
- },
165
- "visibleType": {
166
- "type": "number",
167
- "enum": [
168
- 0,
169
- 1,
170
- 3
171
- ],
172
- "default": 0
173
- },
174
- "declaration": {
175
- "type": "number",
176
- "enum": [
177
- 0,
178
- 1,
179
- 2,
180
- 3
181
- ],
182
- "default": 0
183
- },
184
- "scheduledTime": {
185
- "type": "number",
186
- "minimum": 0
187
- },
188
- "shopping_cart": {
189
- "type": "object",
190
- "required": [
191
- "yixiaoerId",
192
- "yixiaoerName",
193
- "raw"
194
- ],
195
- "properties": {
196
- "yixiaoerId": {
197
- "type": "string"
198
- },
199
- "yixiaoerName": {
200
- "type": "string"
201
- },
202
- "raw": {
203
- "type": "object"
204
- }
205
- }
206
- },
207
- "mini_app": {
208
- "type": "object",
209
- "required": [
210
- "yixiaoerId",
211
- "yixiaoerName",
212
- "raw"
213
- ],
214
- "properties": {
215
- "yixiaoerId": {
216
- "type": "string"
217
- },
218
- "yixiaoerName": {
219
- "type": "string"
220
- },
221
- "raw": {
222
- "type": "object"
223
- }
224
- }
225
- },
226
- "nearby_show": {
227
- "type": "boolean",
228
- "default": true
229
- },
230
- "allow_same_frame": {
231
- "type": "boolean",
232
- "default": false
233
- },
234
- "allow_download": {
235
- "type": "boolean",
236
- "default": false
237
- }
238
- },
239
- "additionalProperties": false
240
- }
1
+ {
2
+ "title": "快手视频发布表单 (Kuaishou Video)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType"
6
+ ],
7
+ "properties": {
8
+ "formType": {
9
+ "type": "string",
10
+ "const": "task"
11
+ },
12
+ "title": {
13
+ "type": "string",
14
+ "minLength": 1,
15
+ "maxLength": 50
16
+ },
17
+ "description": {
18
+ "type": "string",
19
+ "minLength": 0,
20
+ "maxLength": 1000
21
+ },
22
+ "video": {
23
+ "type": "object",
24
+ "required": [
25
+ "key",
26
+ "size",
27
+ "width",
28
+ "height"
29
+ ],
30
+ "properties": {
31
+ "key": {
32
+ "type": "string"
33
+ },
34
+ "size": {
35
+ "type": "integer",
36
+ "minimum": 1
37
+ },
38
+ "width": {
39
+ "type": "integer",
40
+ "minimum": 1
41
+ },
42
+ "height": {
43
+ "type": "integer",
44
+ "minimum": 1
45
+ },
46
+ "duration": {
47
+ "type": "number",
48
+ "minimum": 1
49
+ },
50
+ "format": {
51
+ "type": "string",
52
+ "enum": [
53
+ "mp4",
54
+ "mov"
55
+ ]
56
+ }
57
+ }
58
+ },
59
+ "cover": {
60
+ "type": "object",
61
+ "required": [
62
+ "key",
63
+ "size",
64
+ "width",
65
+ "height"
66
+ ],
67
+ "properties": {
68
+ "key": {
69
+ "type": "string"
70
+ },
71
+ "size": {
72
+ "type": "integer"
73
+ },
74
+ "width": {
75
+ "type": "integer"
76
+ },
77
+ "height": {
78
+ "type": "integer"
79
+ }
80
+ }
81
+ },
82
+ "coverKey": {
83
+ "type": "string"
84
+ },
85
+ "location": {
86
+ "type": "object",
87
+ "required": [
88
+ "id",
89
+ "text",
90
+ "raw"
91
+ ],
92
+ "properties": {
93
+ "id": {
94
+ "type": "string"
95
+ },
96
+ "text": {
97
+ "type": "string"
98
+ },
99
+ "raw": {
100
+ "type": "object"
101
+ }
102
+ },
103
+ "additionalProperties": true
104
+ },
105
+ "music": {
106
+ "type": "object",
107
+ "required": [
108
+ "yixiaoerId",
109
+ "yixiaoerName",
110
+ "raw"
111
+ ],
112
+ "properties": {
113
+ "yixiaoerId": {
114
+ "type": "string"
115
+ },
116
+ "yixiaoerName": {
117
+ "type": "string"
118
+ },
119
+ "duration": {
120
+ "type": "number"
121
+ },
122
+ "playUrl": {
123
+ "type": "string"
124
+ },
125
+ "raw": {
126
+ "type": "object"
127
+ }
128
+ }
129
+ },
130
+ "challenge": {
131
+ "type": "object",
132
+ "required": [
133
+ "yixiaoerId",
134
+ "yixiaoerName",
135
+ "raw"
136
+ ],
137
+ "properties": {
138
+ "yixiaoerId": {
139
+ "type": "string"
140
+ },
141
+ "yixiaoerName": {
142
+ "type": "string"
143
+ },
144
+ "raw": {
145
+ "type": "object"
146
+ }
147
+ }
148
+ },
149
+ "collection": {
150
+ "type": "object",
151
+ "required": [
152
+ "yixiaoerId",
153
+ "yixiaoerName",
154
+ "raw"
155
+ ],
156
+ "properties": {
157
+ "yixiaoerId": {
158
+ "type": "string"
159
+ },
160
+ "yixiaoerName": {
161
+ "type": "string"
162
+ },
163
+ "raw": {
164
+ "type": "object"
165
+ }
166
+ }
167
+ },
168
+ "visibleType": {
169
+ "type": "number",
170
+ "enum": [
171
+ 0,
172
+ 1,
173
+ 3
174
+ ],
175
+ "default": 0
176
+ },
177
+ "declaration": {
178
+ "type": "number",
179
+ "enum": [
180
+ 0,
181
+ 1,
182
+ 2,
183
+ 3
184
+ ],
185
+ "default": 0
186
+ },
187
+ "scheduledTime": {
188
+ "type": "number",
189
+ "minimum": 0
190
+ },
191
+ "shopping_cart": {
192
+ "type": "object",
193
+ "required": [
194
+ "yixiaoerId",
195
+ "yixiaoerName",
196
+ "raw"
197
+ ],
198
+ "properties": {
199
+ "yixiaoerId": {
200
+ "type": "string"
201
+ },
202
+ "yixiaoerName": {
203
+ "type": "string"
204
+ },
205
+ "raw": {
206
+ "type": "object"
207
+ }
208
+ }
209
+ },
210
+ "mini_app": {
211
+ "type": "object",
212
+ "required": [
213
+ "yixiaoerId",
214
+ "yixiaoerName",
215
+ "raw"
216
+ ],
217
+ "properties": {
218
+ "yixiaoerId": {
219
+ "type": "string"
220
+ },
221
+ "yixiaoerName": {
222
+ "type": "string"
223
+ },
224
+ "raw": {
225
+ "type": "object"
226
+ }
227
+ }
228
+ },
229
+ "nearby_show": {
230
+ "type": "boolean",
231
+ "default": true
232
+ },
233
+ "allow_same_frame": {
234
+ "type": "boolean",
235
+ "default": false
236
+ },
237
+ "allow_download": {
238
+ "type": "boolean",
239
+ "default": false
240
+ }
241
+ },
242
+ "additionalProperties": false
243
+ }