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