@yixiaoermail/cli 3.1.1 → 3.1.2

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 (86) hide show
  1. package/bin/ensure-executable.js +25 -0
  2. package/bin/postinstall.js +18 -0
  3. package/bin/resolve-binary.js +36 -0
  4. package/bin/yxer.js +8 -17
  5. package/dist/yxer-darwin-amd64 +0 -0
  6. package/dist/yxer-darwin-arm64 +0 -0
  7. package/dist/yxer-linux-amd64 +0 -0
  8. package/dist/yxer-linux-arm64 +0 -0
  9. package/dist/yxer-windows-amd64.exe +0 -0
  10. package/dist/yxer-windows-arm64.exe +0 -0
  11. package/package.json +7 -1
  12. package/references/cli/command-reference.md +234 -0
  13. package/references/cli/skill-install.md +76 -0
  14. package/references/legacy/capabilities.md +32 -0
  15. package/references/platforms/index.md +20 -0
  16. package/references/workflows/account-selection.md +38 -0
  17. package/references/workflows/common-rules.md +257 -0
  18. package/references/workflows/draft-workflow.md +44 -0
  19. package/references/workflows/local-vs-cloud.md +50 -0
  20. package/references/workflows/material-workflow.md +43 -0
  21. package/references/workflows/payload-sourcing.md +70 -0
  22. package/references/workflows/publish-article.md +66 -0
  23. package/references/workflows/publish-imageText.md +62 -0
  24. package/references/workflows/publish-troubleshooting.md +50 -0
  25. package/references/workflows/publish-video.md +63 -0
  26. package/schemas/account.schema.json +19 -0
  27. package/schemas/platforms/acfun.article.schema.json +117 -0
  28. package/schemas/platforms/acfun.video.schema.json +139 -0
  29. package/schemas/platforms/aiqiyi.article.schema.json +29 -0
  30. package/schemas/platforms/aiqiyi.video.schema.json +154 -0
  31. package/schemas/platforms/baijiahao.article.schema.json +160 -0
  32. package/schemas/platforms/baijiahao.imageText.schema.json +110 -0
  33. package/schemas/platforms/baijiahao.video.schema.json +179 -0
  34. package/schemas/platforms/bilibili.article.schema.json +109 -0
  35. package/schemas/platforms/bilibili.video.schema.json +175 -0
  36. package/schemas/platforms/chejiahao.article.schema.json +108 -0
  37. package/schemas/platforms/chejiahao.video.schema.json +111 -0
  38. package/schemas/platforms/csdn.article.schema.json +106 -0
  39. package/schemas/platforms/dayuhao.article.schema.json +106 -0
  40. package/schemas/platforms/dayuhao.video.schema.json +153 -0
  41. package/schemas/platforms/dewu.video.schema.json +134 -0
  42. package/schemas/platforms/douban.article.schema.json +48 -0
  43. package/schemas/platforms/douyin.article.schema.json +318 -0
  44. package/schemas/platforms/douyin.imageText.schema.json +217 -0
  45. package/schemas/platforms/douyin.video.schema.json +744 -0
  46. package/schemas/platforms/duoduoshipin.video.schema.json +108 -0
  47. package/schemas/platforms/fengwang.video.schema.json +135 -0
  48. package/schemas/platforms/jianshu.article.schema.json +33 -0
  49. package/schemas/platforms/kuaichuanhao.article.schema.json +83 -0
  50. package/schemas/platforms/kuaishou.imageText.schema.json +170 -0
  51. package/schemas/platforms/kuaishou.video.schema.json +240 -0
  52. package/schemas/platforms/meipai.video.schema.json +123 -0
  53. package/schemas/platforms/meiyou.video.schema.json +96 -0
  54. package/schemas/platforms/pipixia.video.schema.json +94 -0
  55. package/schemas/platforms/qiehao.article.schema.json +89 -0
  56. package/schemas/platforms/qiehao.video.schema.json +147 -0
  57. package/schemas/platforms/shipinhao.imageText.schema.json +138 -0
  58. package/schemas/platforms/shipinhao.video.schema.json +236 -0
  59. package/schemas/platforms/souhuhao.article.schema.json +73 -0
  60. package/schemas/platforms/souhuhao.video.schema.json +171 -0
  61. package/schemas/platforms/souhushipin.video.schema.json +115 -0
  62. package/schemas/platforms/tengxunshipin.video.schema.json +114 -0
  63. package/schemas/platforms/toutiaohao.article.schema.json +165 -0
  64. package/schemas/platforms/toutiaohao.imageText.schema.json +83 -0
  65. package/schemas/platforms/toutiaohao.video.schema.json +134 -0
  66. package/schemas/platforms/wangyihao.article.schema.json +85 -0
  67. package/schemas/platforms/wangyihao.video.schema.json +151 -0
  68. package/schemas/platforms/weishi.video.schema.json +101 -0
  69. package/schemas/platforms/weixin.account.article.schema.json +148 -0
  70. package/schemas/platforms/xhs.imageText.schema.json +119 -0
  71. package/schemas/platforms/xiaohongshu.video.schema.json +224 -0
  72. package/schemas/platforms/xiaohongshushop.video.schema.json +141 -0
  73. package/schemas/platforms/xinlang.article.schema.json +69 -0
  74. package/schemas/platforms/xinlang.imageText.schema.json +85 -0
  75. package/schemas/platforms/xinlang.video.schema.json +151 -0
  76. package/schemas/platforms/xueqiuhao.article.schema.json +84 -0
  77. package/schemas/platforms/yichehao.article.schema.json +140 -0
  78. package/schemas/platforms/yichehao.video.schema.json +101 -0
  79. package/schemas/platforms/yidianhao.article.schema.json +77 -0
  80. package/schemas/platforms/yidianhao.video.schema.json +152 -0
  81. package/schemas/platforms/zhihu.article.schema.json +104 -0
  82. package/schemas/platforms/zhihu.imageText.schema.json +61 -0
  83. package/schemas/platforms/zhihu.video.schema.json +144 -0
  84. package/schemas/publish.schema.json +26 -0
  85. package/skills/yixiaoer/SKILL.md +1 -1
  86. package/skills/yixiaoer/plugin.json +1 -1
@@ -0,0 +1,240 @@
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
+ }
@@ -0,0 +1,123 @@
1
+ {
2
+ "title": "美拍视频发布表单 (Meipai Video)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "category"
8
+ ],
9
+ "properties": {
10
+ "formType": {
11
+ "type": "string",
12
+ "const": "task"
13
+ },
14
+ "title": {
15
+ "type": "string",
16
+ "minLength": 1
17
+ },
18
+ "description": {
19
+ "type": "string"
20
+ },
21
+ "category": {
22
+ "type": "array",
23
+ "minItems": 1,
24
+ "items": {
25
+ "type": "object",
26
+ "required": [
27
+ "id",
28
+ "text",
29
+ "raw"
30
+ ],
31
+ "properties": {
32
+ "id": {
33
+ "type": "string"
34
+ },
35
+ "text": {
36
+ "type": "string"
37
+ },
38
+ "raw": {
39
+ "type": "object"
40
+ }
41
+ }
42
+ }
43
+ },
44
+ "video": {
45
+ "type": "object",
46
+ "required": [
47
+ "key",
48
+ "size",
49
+ "width",
50
+ "height"
51
+ ],
52
+ "properties": {
53
+ "key": {
54
+ "type": "string"
55
+ },
56
+ "size": {
57
+ "type": "integer",
58
+ "minimum": 1
59
+ },
60
+ "width": {
61
+ "type": "integer",
62
+ "minimum": 1
63
+ },
64
+ "height": {
65
+ "type": "integer",
66
+ "minimum": 1
67
+ },
68
+ "duration": {
69
+ "type": "number",
70
+ "minimum": 1
71
+ },
72
+ "format": {
73
+ "type": "string",
74
+ "enum": [
75
+ "mp4",
76
+ "mov",
77
+ "flv",
78
+ "avi"
79
+ ]
80
+ }
81
+ }
82
+ },
83
+ "cover": {
84
+ "type": "object",
85
+ "required": [
86
+ "key",
87
+ "size",
88
+ "width",
89
+ "height"
90
+ ],
91
+ "properties": {
92
+ "key": {
93
+ "type": "string"
94
+ },
95
+ "size": {
96
+ "type": "integer"
97
+ },
98
+ "width": {
99
+ "type": "integer"
100
+ },
101
+ "height": {
102
+ "type": "integer"
103
+ }
104
+ }
105
+ },
106
+ "coverKey": {
107
+ "type": "string"
108
+ },
109
+ "scheduledTime": {
110
+ "type": "number",
111
+ "minimum": 0
112
+ },
113
+ "pubType": {
114
+ "type": "number",
115
+ "enum": [
116
+ 0,
117
+ 1
118
+ ],
119
+ "default": 1
120
+ }
121
+ },
122
+ "additionalProperties": false
123
+ }
@@ -0,0 +1,96 @@
1
+ {
2
+ "title": "美柚视频发布表单 (Meiyou Video)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title"
7
+ ],
8
+ "properties": {
9
+ "formType": {
10
+ "type": "string",
11
+ "const": "task"
12
+ },
13
+ "title": {
14
+ "type": "string",
15
+ "minLength": 1
16
+ },
17
+ "video": {
18
+ "type": "object",
19
+ "required": [
20
+ "key",
21
+ "size",
22
+ "width",
23
+ "height"
24
+ ],
25
+ "properties": {
26
+ "key": {
27
+ "type": "string"
28
+ },
29
+ "size": {
30
+ "type": "integer",
31
+ "minimum": 1
32
+ },
33
+ "width": {
34
+ "type": "integer",
35
+ "minimum": 1
36
+ },
37
+ "height": {
38
+ "type": "integer",
39
+ "minimum": 1
40
+ },
41
+ "duration": {
42
+ "type": "number",
43
+ "minimum": 1
44
+ },
45
+ "format": {
46
+ "type": "string",
47
+ "enum": [
48
+ "mp4",
49
+ "mov",
50
+ "flv",
51
+ "avi"
52
+ ]
53
+ }
54
+ }
55
+ },
56
+ "cover": {
57
+ "type": "object",
58
+ "required": [
59
+ "key",
60
+ "size",
61
+ "width",
62
+ "height"
63
+ ],
64
+ "properties": {
65
+ "key": {
66
+ "type": "string"
67
+ },
68
+ "size": {
69
+ "type": "integer"
70
+ },
71
+ "width": {
72
+ "type": "integer"
73
+ },
74
+ "height": {
75
+ "type": "integer"
76
+ }
77
+ }
78
+ },
79
+ "coverKey": {
80
+ "type": "string"
81
+ },
82
+ "scheduledTime": {
83
+ "type": "number",
84
+ "minimum": 0
85
+ },
86
+ "pubType": {
87
+ "type": "number",
88
+ "enum": [
89
+ 0,
90
+ 1
91
+ ],
92
+ "default": 1
93
+ }
94
+ },
95
+ "additionalProperties": false
96
+ }
@@ -0,0 +1,94 @@
1
+ {
2
+ "title": "皮皮虾视频发布表单 (Pipixia Video)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType"
6
+ ],
7
+ "properties": {
8
+ "formType": {
9
+ "type": "string",
10
+ "const": "task"
11
+ },
12
+ "description": {
13
+ "type": "string"
14
+ },
15
+ "video": {
16
+ "type": "object",
17
+ "required": [
18
+ "key",
19
+ "size",
20
+ "width",
21
+ "height"
22
+ ],
23
+ "properties": {
24
+ "key": {
25
+ "type": "string"
26
+ },
27
+ "size": {
28
+ "type": "integer",
29
+ "minimum": 1
30
+ },
31
+ "width": {
32
+ "type": "integer",
33
+ "minimum": 1
34
+ },
35
+ "height": {
36
+ "type": "integer",
37
+ "minimum": 1
38
+ },
39
+ "duration": {
40
+ "type": "number",
41
+ "minimum": 1
42
+ },
43
+ "format": {
44
+ "type": "string",
45
+ "enum": [
46
+ "mp4",
47
+ "mov",
48
+ "flv",
49
+ "avi"
50
+ ]
51
+ }
52
+ }
53
+ },
54
+ "cover": {
55
+ "type": "object",
56
+ "required": [
57
+ "key",
58
+ "size",
59
+ "width",
60
+ "height"
61
+ ],
62
+ "properties": {
63
+ "key": {
64
+ "type": "string"
65
+ },
66
+ "size": {
67
+ "type": "integer"
68
+ },
69
+ "width": {
70
+ "type": "integer"
71
+ },
72
+ "height": {
73
+ "type": "integer"
74
+ }
75
+ }
76
+ },
77
+ "coverKey": {
78
+ "type": "string"
79
+ },
80
+ "scheduledTime": {
81
+ "type": "number",
82
+ "minimum": 0
83
+ },
84
+ "pubType": {
85
+ "type": "number",
86
+ "enum": [
87
+ 0,
88
+ 1
89
+ ],
90
+ "default": 1
91
+ }
92
+ },
93
+ "additionalProperties": false
94
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "title": "企鹅号文章发布表单 (QiEHao Article)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "content",
8
+ "covers",
9
+ "tags",
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
+ "covers": {
26
+ "type": "array",
27
+ "minItems": 1,
28
+ "items": {
29
+ "type": "object",
30
+ "required": [
31
+ "key",
32
+ "size",
33
+ "width",
34
+ "height"
35
+ ],
36
+ "properties": {
37
+ "key": {
38
+ "type": "string"
39
+ },
40
+ "size": {
41
+ "type": "integer",
42
+ "minimum": 1
43
+ },
44
+ "width": {
45
+ "type": "integer",
46
+ "minimum": 1
47
+ },
48
+ "height": {
49
+ "type": "integer",
50
+ "minimum": 1
51
+ }
52
+ }
53
+ }
54
+ },
55
+ "tags": {
56
+ "type": "array",
57
+ "minItems": 1,
58
+ "items": {
59
+ "type": "string",
60
+ "minLength": 1
61
+ }
62
+ },
63
+ "pubType": {
64
+ "type": "number",
65
+ "enum": [
66
+ 0,
67
+ 1
68
+ ],
69
+ "default": 1
70
+ },
71
+ "declaration": {
72
+ "type": "number",
73
+ "enum": [
74
+ 0,
75
+ 1,
76
+ 2,
77
+ 3,
78
+ 7,
79
+ 8,
80
+ 9
81
+ ]
82
+ },
83
+ "scheduledTime": {
84
+ "type": "number",
85
+ "minimum": 0
86
+ }
87
+ },
88
+ "additionalProperties": false
89
+ }