@yixiaoermail/cli 3.1.0 → 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 (88) 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
  87. package/skills/yixiaoer/references/platforms/article/toutiaohao.md +28 -28
  88. package/skills/yixiaoer/references/platforms/imageText/baijiahao.md +41 -30
@@ -0,0 +1,744 @@
1
+ {
2
+ "title": "Douyin Video Publish Form (Strict Standards)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "description"
8
+ ],
9
+ "properties": {
10
+ "formType": {
11
+ "type": "string",
12
+ "const": "task"
13
+ },
14
+ "title": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "maxLength": 30
18
+ },
19
+ "description": {
20
+ "type": "string",
21
+ "minLength": 1,
22
+ "maxLength": 30
23
+ },
24
+ "horizontalCover": {
25
+ "type": "object",
26
+ "required": [
27
+ "key",
28
+ "size",
29
+ "width",
30
+ "height"
31
+ ],
32
+ "properties": {
33
+ "key": {
34
+ "type": "string"
35
+ },
36
+ "size": {
37
+ "type": "integer",
38
+ "minimum": 1
39
+ },
40
+ "width": {
41
+ "type": "integer",
42
+ "minimum": 1
43
+ },
44
+ "height": {
45
+ "type": "integer",
46
+ "minimum": 1
47
+ }
48
+ }
49
+ },
50
+ "tags": {
51
+ "type": "array",
52
+ "items": {
53
+ "type": "string"
54
+ },
55
+ "minItems": 1,
56
+ "maxItems": 10
57
+ },
58
+ "video": {
59
+ "type": "object",
60
+ "properties": {
61
+ "key": {
62
+ "type": "string"
63
+ },
64
+ "size": {
65
+ "type": "integer"
66
+ },
67
+ "width": {
68
+ "type": "integer"
69
+ },
70
+ "height": {
71
+ "type": "integer"
72
+ }
73
+ }
74
+ },
75
+ "visibleType": {
76
+ "type": "number",
77
+ "enum": [
78
+ 0,
79
+ 1,
80
+ 3
81
+ ],
82
+ "default": 0
83
+ },
84
+ "scheduledTime": {
85
+ "type": "number",
86
+ "minimum": 0
87
+ },
88
+ "location": {
89
+ "type": "object",
90
+ "required": [
91
+ "yixiaoerId",
92
+ "yixiaoerName",
93
+ "raw"
94
+ ],
95
+ "properties": {
96
+ "yixiaoerId": {
97
+ "type": "string"
98
+ },
99
+ "yixiaoerName": {
100
+ "type": "string"
101
+ },
102
+ "raw": {
103
+ "type": "object"
104
+ }
105
+ }
106
+ },
107
+ "music": {
108
+ "type": "object",
109
+ "required": [
110
+ "yixiaoerId",
111
+ "yixiaoerName",
112
+ "raw"
113
+ ],
114
+ "properties": {
115
+ "yixiaoerId": {
116
+ "type": "string"
117
+ },
118
+ "yixiaoerName": {
119
+ "type": "string"
120
+ },
121
+ "raw": {
122
+ "type": "object"
123
+ }
124
+ }
125
+ },
126
+ "challenge": {
127
+ "type": "object",
128
+ "required": [
129
+ "yixiaoerId",
130
+ "yixiaoerName",
131
+ "raw"
132
+ ],
133
+ "properties": {
134
+ "yixiaoerId": {
135
+ "type": "string"
136
+ },
137
+ "yixiaoerName": {
138
+ "type": "string"
139
+ },
140
+ "raw": {
141
+ "type": "object"
142
+ }
143
+ }
144
+ },
145
+ "declaration": {
146
+ "type": "number",
147
+ "enum": [
148
+ 3,
149
+ 4,
150
+ 5,
151
+ 6
152
+ ]
153
+ },
154
+ "allow_save": {
155
+ "type": "number",
156
+ "enum": [
157
+ 0,
158
+ 1
159
+ ],
160
+ "default": 0
161
+ },
162
+ "shopping_cart": {
163
+ "type": "array",
164
+ "minItems": 1,
165
+ "items": {
166
+ "type": "object",
167
+ "required": [
168
+ "sale_title",
169
+ "images",
170
+ "data"
171
+ ],
172
+ "properties": {
173
+ "sale_title": {
174
+ "type": "string",
175
+ "maxLength": 10
176
+ },
177
+ "images": {
178
+ "type": "array",
179
+ "minItems": 1,
180
+ "items": {
181
+ "type": "string"
182
+ }
183
+ },
184
+ "data": {
185
+ "type": "object",
186
+ "required": [
187
+ "yixiaoerId",
188
+ "yixiaoerName",
189
+ "raw"
190
+ ],
191
+ "properties": {
192
+ "yixiaoerId": {
193
+ "type": "string"
194
+ },
195
+ "yixiaoerName": {
196
+ "type": "string"
197
+ },
198
+ "raw": {
199
+ "type": "object"
200
+ }
201
+ },
202
+ "additionalProperties": true
203
+ }
204
+ },
205
+ "additionalProperties": false
206
+ }
207
+ },
208
+ "groupShopping": {
209
+ "type": "object",
210
+ "required": [
211
+ "sale_title",
212
+ "raw"
213
+ ],
214
+ "properties": {
215
+ "sale_title": {
216
+ "type": "string",
217
+ "maxLength": 10
218
+ },
219
+ "raw": {
220
+ "type": "object"
221
+ }
222
+ }
223
+ },
224
+ "collection": {
225
+ "type": "object",
226
+ "required": [
227
+ "yixiaoerId",
228
+ "yixiaoerName",
229
+ "raw"
230
+ ],
231
+ "properties": {
232
+ "yixiaoerId": {
233
+ "type": "string"
234
+ },
235
+ "yixiaoerName": {
236
+ "type": "string"
237
+ },
238
+ "raw": {
239
+ "type": "object"
240
+ }
241
+ }
242
+ },
243
+ "sub_collection": {
244
+ "type": "object",
245
+ "required": [
246
+ "yixiaoerId",
247
+ "yixiaoerName",
248
+ "raw"
249
+ ],
250
+ "properties": {
251
+ "yixiaoerId": {
252
+ "type": "string"
253
+ },
254
+ "yixiaoerName": {
255
+ "type": "string"
256
+ },
257
+ "raw": {
258
+ "type": "object"
259
+ }
260
+ }
261
+ },
262
+ "sync_apps": {
263
+ "type": "array",
264
+ "items": {
265
+ "type": "object",
266
+ "required": [
267
+ "yixiaoerId",
268
+ "yixiaoerName",
269
+ "raw"
270
+ ],
271
+ "properties": {
272
+ "yixiaoerId": {
273
+ "type": "string"
274
+ },
275
+ "yixiaoerName": {
276
+ "type": "string"
277
+ },
278
+ "raw": {
279
+ "type": "object"
280
+ }
281
+ }
282
+ }
283
+ },
284
+ "hot_event": {
285
+ "type": "object",
286
+ "required": [
287
+ "yixiaoerId",
288
+ "yixiaoerName",
289
+ "raw"
290
+ ],
291
+ "properties": {
292
+ "yixiaoerId": {
293
+ "type": "string"
294
+ },
295
+ "yixiaoerName": {
296
+ "type": "string"
297
+ },
298
+ "raw": {
299
+ "type": "object"
300
+ }
301
+ }
302
+ },
303
+ "mini_app": {
304
+ "type": "object",
305
+ "required": [
306
+ "yixiaoerId",
307
+ "yixiaoerName",
308
+ "raw"
309
+ ],
310
+ "properties": {
311
+ "yixiaoerId": {
312
+ "type": "string"
313
+ },
314
+ "yixiaoerName": {
315
+ "type": "string"
316
+ },
317
+ "raw": {
318
+ "type": "object"
319
+ }
320
+ }
321
+ },
322
+ "cooperation_info": {
323
+ "type": "object"
324
+ },
325
+ "game": {
326
+ "type": "object",
327
+ "required": [
328
+ "yixiaoerId",
329
+ "yixiaoerName",
330
+ "raw"
331
+ ],
332
+ "properties": {
333
+ "yixiaoerId": {
334
+ "type": "string"
335
+ },
336
+ "yixiaoerName": {
337
+ "type": "string"
338
+ },
339
+ "raw": {
340
+ "type": "object"
341
+ }
342
+ }
343
+ },
344
+ "accountForms": {
345
+ "type": "array",
346
+ "minItems": 1,
347
+ "items": {
348
+ "type": "object",
349
+ "required": [
350
+ "platformAccountId",
351
+ "contentPublishForm",
352
+ "video"
353
+ ],
354
+ "properties": {
355
+ "platformAccountId": {
356
+ "type": "string"
357
+ },
358
+ "contentPublishForm": {
359
+ "type": "object",
360
+ "required": [
361
+ "formType",
362
+ "title",
363
+ "description"
364
+ ],
365
+ "properties": {
366
+ "formType": {
367
+ "type": "string",
368
+ "const": "task"
369
+ },
370
+ "title": {
371
+ "type": "string",
372
+ "minLength": 1,
373
+ "maxLength": 30
374
+ },
375
+ "description": {
376
+ "type": "string",
377
+ "minLength": 1,
378
+ "maxLength": 30
379
+ },
380
+ "horizontalCover": {
381
+ "type": "object",
382
+ "required": [
383
+ "key",
384
+ "size",
385
+ "width",
386
+ "height"
387
+ ],
388
+ "properties": {
389
+ "key": {
390
+ "type": "string"
391
+ },
392
+ "size": {
393
+ "type": "integer",
394
+ "minimum": 1
395
+ },
396
+ "width": {
397
+ "type": "integer",
398
+ "minimum": 1
399
+ },
400
+ "height": {
401
+ "type": "integer",
402
+ "minimum": 1
403
+ }
404
+ }
405
+ },
406
+ "tags": {
407
+ "type": "array",
408
+ "items": {
409
+ "type": "string"
410
+ },
411
+ "minItems": 1,
412
+ "maxItems": 10
413
+ },
414
+ "visibleType": {
415
+ "type": "number",
416
+ "enum": [
417
+ 0,
418
+ 1,
419
+ 3
420
+ ],
421
+ "default": 0
422
+ },
423
+ "scheduledTime": {
424
+ "type": "number",
425
+ "minimum": 0
426
+ },
427
+ "location": {
428
+ "type": "object",
429
+ "required": [
430
+ "yixiaoerId",
431
+ "yixiaoerName",
432
+ "raw"
433
+ ],
434
+ "properties": {
435
+ "yixiaoerId": {
436
+ "type": "string"
437
+ },
438
+ "yixiaoerName": {
439
+ "type": "string"
440
+ },
441
+ "raw": {
442
+ "type": "object"
443
+ }
444
+ }
445
+ },
446
+ "music": {
447
+ "type": "object",
448
+ "required": [
449
+ "yixiaoerId",
450
+ "yixiaoerName",
451
+ "raw"
452
+ ],
453
+ "properties": {
454
+ "yixiaoerId": {
455
+ "type": "string"
456
+ },
457
+ "yixiaoerName": {
458
+ "type": "string"
459
+ },
460
+ "raw": {
461
+ "type": "object"
462
+ }
463
+ }
464
+ },
465
+ "challenge": {
466
+ "type": "object",
467
+ "required": [
468
+ "yixiaoerId",
469
+ "yixiaoerName",
470
+ "raw"
471
+ ],
472
+ "properties": {
473
+ "yixiaoerId": {
474
+ "type": "string"
475
+ },
476
+ "yixiaoerName": {
477
+ "type": "string"
478
+ },
479
+ "raw": {
480
+ "type": "object"
481
+ }
482
+ }
483
+ },
484
+ "declaration": {
485
+ "type": "number",
486
+ "enum": [
487
+ 3,
488
+ 4,
489
+ 5,
490
+ 6
491
+ ]
492
+ },
493
+ "allow_save": {
494
+ "type": "number",
495
+ "enum": [
496
+ 0,
497
+ 1
498
+ ],
499
+ "default": 0
500
+ },
501
+ "shopping_cart": {
502
+ "type": "array",
503
+ "minItems": 1,
504
+ "items": {
505
+ "type": "object",
506
+ "required": [
507
+ "sale_title",
508
+ "images",
509
+ "data"
510
+ ],
511
+ "properties": {
512
+ "sale_title": {
513
+ "type": "string",
514
+ "maxLength": 10
515
+ },
516
+ "images": {
517
+ "type": "array",
518
+ "minItems": 1,
519
+ "items": {
520
+ "type": "string"
521
+ }
522
+ },
523
+ "data": {
524
+ "type": "object",
525
+ "required": [
526
+ "yixiaoerId",
527
+ "yixiaoerName",
528
+ "raw"
529
+ ],
530
+ "properties": {
531
+ "yixiaoerId": {
532
+ "type": "string"
533
+ },
534
+ "yixiaoerName": {
535
+ "type": "string"
536
+ },
537
+ "raw": {
538
+ "type": "object"
539
+ }
540
+ },
541
+ "additionalProperties": true
542
+ }
543
+ },
544
+ "additionalProperties": false
545
+ }
546
+ },
547
+ "groupShopping": {
548
+ "type": "object",
549
+ "required": [
550
+ "sale_title",
551
+ "raw"
552
+ ],
553
+ "properties": {
554
+ "sale_title": {
555
+ "type": "string",
556
+ "maxLength": 10
557
+ },
558
+ "raw": {
559
+ "type": "object"
560
+ }
561
+ }
562
+ },
563
+ "collection": {
564
+ "type": "object",
565
+ "required": [
566
+ "yixiaoerId",
567
+ "yixiaoerName",
568
+ "raw"
569
+ ],
570
+ "properties": {
571
+ "yixiaoerId": {
572
+ "type": "string"
573
+ },
574
+ "yixiaoerName": {
575
+ "type": "string"
576
+ },
577
+ "raw": {
578
+ "type": "object"
579
+ }
580
+ }
581
+ },
582
+ "sub_collection": {
583
+ "type": "object",
584
+ "required": [
585
+ "yixiaoerId",
586
+ "yixiaoerName",
587
+ "raw"
588
+ ],
589
+ "properties": {
590
+ "yixiaoerId": {
591
+ "type": "string"
592
+ },
593
+ "yixiaoerName": {
594
+ "type": "string"
595
+ },
596
+ "raw": {
597
+ "type": "object"
598
+ }
599
+ }
600
+ },
601
+ "sync_apps": {
602
+ "type": "array",
603
+ "items": {
604
+ "type": "object",
605
+ "required": [
606
+ "yixiaoerId",
607
+ "yixiaoerName",
608
+ "raw"
609
+ ],
610
+ "properties": {
611
+ "yixiaoerId": {
612
+ "type": "string"
613
+ },
614
+ "yixiaoerName": {
615
+ "type": "string"
616
+ },
617
+ "raw": {
618
+ "type": "object"
619
+ }
620
+ }
621
+ }
622
+ },
623
+ "hot_event": {
624
+ "type": "object",
625
+ "required": [
626
+ "yixiaoerId",
627
+ "yixiaoerName",
628
+ "raw"
629
+ ],
630
+ "properties": {
631
+ "yixiaoerId": {
632
+ "type": "string"
633
+ },
634
+ "yixiaoerName": {
635
+ "type": "string"
636
+ },
637
+ "raw": {
638
+ "type": "object"
639
+ }
640
+ }
641
+ },
642
+ "mini_app": {
643
+ "type": "object",
644
+ "required": [
645
+ "yixiaoerId",
646
+ "yixiaoerName",
647
+ "raw"
648
+ ],
649
+ "properties": {
650
+ "yixiaoerId": {
651
+ "type": "string"
652
+ },
653
+ "yixiaoerName": {
654
+ "type": "string"
655
+ },
656
+ "raw": {
657
+ "type": "object"
658
+ }
659
+ }
660
+ },
661
+ "cooperation_info": {
662
+ "type": "object"
663
+ },
664
+ "game": {
665
+ "type": "object",
666
+ "required": [
667
+ "yixiaoerId",
668
+ "yixiaoerName",
669
+ "raw"
670
+ ],
671
+ "properties": {
672
+ "yixiaoerId": {
673
+ "type": "string"
674
+ },
675
+ "yixiaoerName": {
676
+ "type": "string"
677
+ },
678
+ "raw": {
679
+ "type": "object"
680
+ }
681
+ }
682
+ }
683
+ },
684
+ "additionalProperties": false
685
+ },
686
+ "video": {
687
+ "type": "object",
688
+ "required": [
689
+ "key",
690
+ "size",
691
+ "width",
692
+ "height"
693
+ ],
694
+ "properties": {
695
+ "key": {
696
+ "type": "string"
697
+ },
698
+ "size": {
699
+ "type": "integer",
700
+ "minimum": 1
701
+ },
702
+ "width": {
703
+ "type": "integer",
704
+ "minimum": 1
705
+ },
706
+ "height": {
707
+ "type": "integer",
708
+ "minimum": 1
709
+ }
710
+ }
711
+ },
712
+ "cover": {
713
+ "type": "object",
714
+ "required": [
715
+ "key",
716
+ "size",
717
+ "width",
718
+ "height"
719
+ ],
720
+ "properties": {
721
+ "key": {
722
+ "type": "string"
723
+ },
724
+ "size": {
725
+ "type": "integer"
726
+ },
727
+ "width": {
728
+ "type": "integer"
729
+ },
730
+ "height": {
731
+ "type": "integer"
732
+ }
733
+ }
734
+ },
735
+ "coverKey": {
736
+ "type": "string"
737
+ }
738
+ },
739
+ "additionalProperties": false
740
+ }
741
+ }
742
+ },
743
+ "additionalProperties": false
744
+ }