@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,115 +1,115 @@
1
- {
2
- "title": "搜狐视频发布表单 (SouHu 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
- "description": {
18
- "type": "string"
19
- },
20
- "tags": {
21
- "type": "array",
22
- "items": {
23
- "type": "string"
24
- }
25
- },
26
- "declaration": {
27
- "type": "number",
28
- "enum": [
29
- 0,
30
- 3,
31
- 4,
32
- 5
33
- ],
34
- "default": 0
35
- },
36
- "video": {
37
- "type": "object",
38
- "required": [
39
- "key",
40
- "size",
41
- "width",
42
- "height"
43
- ],
44
- "properties": {
45
- "key": {
46
- "type": "string"
47
- },
48
- "size": {
49
- "type": "integer",
50
- "minimum": 1
51
- },
52
- "width": {
53
- "type": "integer",
54
- "minimum": 1
55
- },
56
- "height": {
57
- "type": "integer",
58
- "minimum": 1
59
- },
60
- "duration": {
61
- "type": "number",
62
- "minimum": 1
63
- },
64
- "format": {
65
- "type": "string",
66
- "enum": [
67
- "mp4",
68
- "mov",
69
- "flv",
70
- "avi"
71
- ]
72
- }
73
- }
74
- },
75
- "cover": {
76
- "type": "object",
77
- "required": [
78
- "key",
79
- "size",
80
- "width",
81
- "height"
82
- ],
83
- "properties": {
84
- "key": {
85
- "type": "string"
86
- },
87
- "size": {
88
- "type": "integer"
89
- },
90
- "width": {
91
- "type": "integer"
92
- },
93
- "height": {
94
- "type": "integer"
95
- }
96
- }
97
- },
98
- "coverKey": {
99
- "type": "string"
100
- },
101
- "scheduledTime": {
102
- "type": "number",
103
- "minimum": 0
104
- },
105
- "pubType": {
106
- "type": "number",
107
- "enum": [
108
- 0,
109
- 1
110
- ],
111
- "default": 1
112
- }
113
- },
114
- "additionalProperties": false
115
- }
1
+ {
2
+ "title": "搜狐视频发布表单 (SouHu 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
+ "description": {
18
+ "type": "string"
19
+ },
20
+ "tags": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "string"
24
+ }
25
+ },
26
+ "declaration": {
27
+ "type": "number",
28
+ "enum": [
29
+ 0,
30
+ 3,
31
+ 4,
32
+ 5
33
+ ],
34
+ "default": 0
35
+ },
36
+ "video": {
37
+ "type": "object",
38
+ "required": [
39
+ "key",
40
+ "size",
41
+ "width",
42
+ "height"
43
+ ],
44
+ "properties": {
45
+ "key": {
46
+ "type": "string"
47
+ },
48
+ "size": {
49
+ "type": "integer",
50
+ "minimum": 1
51
+ },
52
+ "width": {
53
+ "type": "integer",
54
+ "minimum": 1
55
+ },
56
+ "height": {
57
+ "type": "integer",
58
+ "minimum": 1
59
+ },
60
+ "duration": {
61
+ "type": "number",
62
+ "minimum": 1
63
+ },
64
+ "format": {
65
+ "type": "string",
66
+ "enum": [
67
+ "mp4",
68
+ "mov",
69
+ "flv",
70
+ "avi"
71
+ ]
72
+ }
73
+ }
74
+ },
75
+ "cover": {
76
+ "type": "object",
77
+ "required": [
78
+ "key",
79
+ "size",
80
+ "width",
81
+ "height"
82
+ ],
83
+ "properties": {
84
+ "key": {
85
+ "type": "string"
86
+ },
87
+ "size": {
88
+ "type": "integer"
89
+ },
90
+ "width": {
91
+ "type": "integer"
92
+ },
93
+ "height": {
94
+ "type": "integer"
95
+ }
96
+ }
97
+ },
98
+ "coverKey": {
99
+ "type": "string"
100
+ },
101
+ "scheduledTime": {
102
+ "type": "number",
103
+ "minimum": 0
104
+ },
105
+ "pubType": {
106
+ "type": "number",
107
+ "enum": [
108
+ 0,
109
+ 1
110
+ ],
111
+ "default": 1
112
+ }
113
+ },
114
+ "additionalProperties": false
115
+ }
@@ -1,114 +1,114 @@
1
- {
2
- "title": "腾讯视频视频发布表单 (TengxunShipin 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
- "tags": {
18
- "type": "array",
19
- "minItems": 1,
20
- "maxItems": 5,
21
- "items": {
22
- "type": "string",
23
- "minLength": 1
24
- }
25
- },
26
- "declaration": {
27
- "type": "number",
28
- "enum": [
29
- 1,
30
- 2,
31
- 3,
32
- 4
33
- ]
34
- },
35
- "video": {
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
- "duration": {
60
- "type": "number",
61
- "minimum": 1
62
- },
63
- "format": {
64
- "type": "string",
65
- "enum": [
66
- "mp4",
67
- "mov",
68
- "flv",
69
- "mkv"
70
- ]
71
- }
72
- }
73
- },
74
- "cover": {
75
- "type": "object",
76
- "required": [
77
- "key",
78
- "size",
79
- "width",
80
- "height"
81
- ],
82
- "properties": {
83
- "key": {
84
- "type": "string"
85
- },
86
- "size": {
87
- "type": "integer"
88
- },
89
- "width": {
90
- "type": "integer"
91
- },
92
- "height": {
93
- "type": "integer"
94
- }
95
- }
96
- },
97
- "coverKey": {
98
- "type": "string"
99
- },
100
- "scheduledTime": {
101
- "type": "number",
102
- "minimum": 0
103
- },
104
- "pubType": {
105
- "type": "number",
106
- "enum": [
107
- 0,
108
- 1
109
- ],
110
- "default": 1
111
- }
112
- },
113
- "additionalProperties": false
114
- }
1
+ {
2
+ "title": "腾讯视频视频发布表单 (TengxunShipin 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
+ "tags": {
18
+ "type": "array",
19
+ "minItems": 1,
20
+ "maxItems": 5,
21
+ "items": {
22
+ "type": "string",
23
+ "minLength": 1
24
+ }
25
+ },
26
+ "declaration": {
27
+ "type": "number",
28
+ "enum": [
29
+ 1,
30
+ 2,
31
+ 3,
32
+ 4
33
+ ]
34
+ },
35
+ "video": {
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
+ "duration": {
60
+ "type": "number",
61
+ "minimum": 1
62
+ },
63
+ "format": {
64
+ "type": "string",
65
+ "enum": [
66
+ "mp4",
67
+ "mov",
68
+ "flv",
69
+ "mkv"
70
+ ]
71
+ }
72
+ }
73
+ },
74
+ "cover": {
75
+ "type": "object",
76
+ "required": [
77
+ "key",
78
+ "size",
79
+ "width",
80
+ "height"
81
+ ],
82
+ "properties": {
83
+ "key": {
84
+ "type": "string"
85
+ },
86
+ "size": {
87
+ "type": "integer"
88
+ },
89
+ "width": {
90
+ "type": "integer"
91
+ },
92
+ "height": {
93
+ "type": "integer"
94
+ }
95
+ }
96
+ },
97
+ "coverKey": {
98
+ "type": "string"
99
+ },
100
+ "scheduledTime": {
101
+ "type": "number",
102
+ "minimum": 0
103
+ },
104
+ "pubType": {
105
+ "type": "number",
106
+ "enum": [
107
+ 0,
108
+ 1
109
+ ],
110
+ "default": 1
111
+ }
112
+ },
113
+ "additionalProperties": false
114
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "title": "TikTok Video Publish Form",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "description"
7
+ ],
8
+ "properties": {
9
+ "formType": {
10
+ "type": "string",
11
+ "const": "task"
12
+ },
13
+ "description": {
14
+ "type": "string",
15
+ "minLength": 1,
16
+ "maxLength": 2200
17
+ },
18
+ "visible": {
19
+ "type": "string",
20
+ "enum": [
21
+ "public",
22
+ "private",
23
+ "friends"
24
+ ],
25
+ "default": "public"
26
+ },
27
+ "comment": {
28
+ "type": "boolean",
29
+ "default": true
30
+ },
31
+ "stitch": {
32
+ "type": "boolean",
33
+ "default": true
34
+ },
35
+ "duet": {
36
+ "type": "boolean",
37
+ "default": true
38
+ },
39
+ "aigc": {
40
+ "type": "boolean",
41
+ "default": false
42
+ },
43
+ "business": {
44
+ "type": "boolean",
45
+ "default": false
46
+ },
47
+ "yourOwn": {
48
+ "type": "boolean",
49
+ "default": false
50
+ },
51
+ "collaborative": {
52
+ "type": "boolean",
53
+ "default": false
54
+ },
55
+ "fps": {
56
+ "type": "number",
57
+ "minimum": 0,
58
+ "default": 10
59
+ },
60
+ "thumbnail": {
61
+ "description": "Frontend cover picker state; CLI publish should also provide accountForms[].cover and coverKey after upload."
62
+ },
63
+ "videoKey": {
64
+ "description": "Frontend upload state; CLI publish should provide accountForms[].video.key after upload."
65
+ },
66
+ "isAdVideo": {
67
+ "type": "boolean",
68
+ "default": false
69
+ }
70
+ },
71
+ "additionalProperties": false
72
+ }