@yixiaoermail/cli 3.2.1 → 3.2.3

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 (113) hide show
  1. package/README.md +19 -1
  2. package/bin/install.js +256 -0
  3. package/bin/postinstall.js +4 -8
  4. package/bin/resolve-binary.js +5 -19
  5. package/bin/yxer.js +18 -12
  6. package/checksums.txt +6 -0
  7. package/package.json +29 -28
  8. package/references/cli/command-design.md +305 -305
  9. package/references/cli/command-reference.md +35 -35
  10. package/references/legacy/capabilities.md +13 -13
  11. package/references/workflows/payload-sourcing.md +17 -17
  12. package/references/workflows/publish-troubleshooting.md +10 -10
  13. package/schemas/platforms/acfun.article.schema.json +117 -117
  14. package/schemas/platforms/acfun.video.schema.json +139 -139
  15. package/schemas/platforms/aiqiyi.article.schema.json +29 -29
  16. package/schemas/platforms/aiqiyi.video.schema.json +154 -154
  17. package/schemas/platforms/baijiahao.article.schema.json +160 -160
  18. package/schemas/platforms/baijiahao.imageText.schema.json +111 -111
  19. package/schemas/platforms/baijiahao.video.schema.json +180 -180
  20. package/schemas/platforms/bilibili.article.schema.json +109 -109
  21. package/schemas/platforms/bilibili.video.schema.json +175 -175
  22. package/schemas/platforms/chejiahao.article.schema.json +108 -108
  23. package/schemas/platforms/chejiahao.video.schema.json +111 -111
  24. package/schemas/platforms/csdn.article.schema.json +106 -106
  25. package/schemas/platforms/dayuhao.article.schema.json +106 -106
  26. package/schemas/platforms/dayuhao.video.schema.json +153 -153
  27. package/schemas/platforms/dewu.video.schema.json +134 -134
  28. package/schemas/platforms/douban.article.schema.json +48 -48
  29. package/schemas/platforms/douyin.article.schema.json +318 -318
  30. package/schemas/platforms/douyin.imageText.schema.json +287 -287
  31. package/schemas/platforms/douyin.video.schema.json +852 -852
  32. package/schemas/platforms/duoduoshipin.video.schema.json +108 -108
  33. package/schemas/platforms/facebook.video.schema.json +28 -28
  34. package/schemas/platforms/fengwang.video.schema.json +135 -135
  35. package/schemas/platforms/instagram.video.schema.json +28 -28
  36. package/schemas/platforms/jianshu.article.schema.json +33 -33
  37. package/schemas/platforms/kuaichuanhao.article.schema.json +83 -83
  38. package/schemas/platforms/kuaishou.imageText.schema.json +171 -171
  39. package/schemas/platforms/kuaishou.video.schema.json +243 -243
  40. package/schemas/platforms/meipai.video.schema.json +123 -123
  41. package/schemas/platforms/meiyou.video.schema.json +96 -96
  42. package/schemas/platforms/pipixia.video.schema.json +94 -94
  43. package/schemas/platforms/qiehao.article.schema.json +89 -89
  44. package/schemas/platforms/qiehao.video.schema.json +147 -147
  45. package/schemas/platforms/shipinhao.imageText.schema.json +139 -139
  46. package/schemas/platforms/shipinhao.video.schema.json +237 -237
  47. package/schemas/platforms/souhuhao.article.schema.json +73 -73
  48. package/schemas/platforms/souhuhao.video.schema.json +171 -171
  49. package/schemas/platforms/souhushipin.video.schema.json +115 -115
  50. package/schemas/platforms/tengxunshipin.video.schema.json +114 -114
  51. package/schemas/platforms/tiktok.video.schema.json +72 -72
  52. package/schemas/platforms/toutiaohao.article.schema.json +166 -166
  53. package/schemas/platforms/toutiaohao.imageText.schema.json +83 -83
  54. package/schemas/platforms/toutiaohao.video.schema.json +134 -134
  55. package/schemas/platforms/wangyihao.article.schema.json +85 -85
  56. package/schemas/platforms/wangyihao.video.schema.json +151 -151
  57. package/schemas/platforms/weishi.video.schema.json +101 -101
  58. package/schemas/platforms/weixin.account.article.schema.json +148 -148
  59. package/schemas/platforms/xhs.imageText.schema.json +131 -131
  60. package/schemas/platforms/xiaohongshu.video.schema.json +225 -225
  61. package/schemas/platforms/xiaohongshushop.video.schema.json +142 -142
  62. package/schemas/platforms/xinlang.article.schema.json +69 -69
  63. package/schemas/platforms/xinlang.imageText.schema.json +86 -86
  64. package/schemas/platforms/xinlang.video.schema.json +152 -152
  65. package/schemas/platforms/xueqiuhao.article.schema.json +84 -84
  66. package/schemas/platforms/yichehao.article.schema.json +140 -140
  67. package/schemas/platforms/yichehao.video.schema.json +101 -101
  68. package/schemas/platforms/yidianhao.article.schema.json +77 -77
  69. package/schemas/platforms/yidianhao.video.schema.json +152 -152
  70. package/schemas/platforms/youtube.video.schema.json +92 -92
  71. package/schemas/platforms/zhihu.article.schema.json +104 -104
  72. package/schemas/platforms/zhihu.imageText.schema.json +61 -61
  73. package/schemas/platforms/zhihu.video.schema.json +144 -144
  74. package/skills/yixiaoer/QUICKSTART.md +4 -4
  75. package/skills/yixiaoer/SKILL.md +1 -1
  76. package/skills/yixiaoer/references/cli/command-reference.md +30 -30
  77. package/skills/yixiaoer/references/create-account-group.md +27 -27
  78. package/skills/yixiaoer/references/delete-account-group.md +20 -20
  79. package/skills/yixiaoer/references/domains/accounts-and-env.md +17 -17
  80. package/skills/yixiaoer/references/domains/install-and-sync.md +41 -13
  81. package/skills/yixiaoer/references/domains/publish.md +11 -11
  82. package/skills/yixiaoer/references/execution-standard.md +18 -18
  83. package/skills/yixiaoer/references/get-account-groups.md +14 -14
  84. package/skills/yixiaoer/references/get-members.md +28 -28
  85. package/skills/yixiaoer/references/go-live-process.md +11 -19
  86. package/skills/yixiaoer/references/keyword-reference.md +4 -4
  87. package/skills/yixiaoer/references/material-resource.md +8 -8
  88. package/skills/yixiaoer/references/platforms/article/toutiaohao.md +28 -28
  89. package/skills/yixiaoer/references/platforms/video/facebook.md +37 -37
  90. package/skills/yixiaoer/references/platforms/video/index.md +7 -7
  91. package/skills/yixiaoer/references/platforms/video/instagram.md +40 -40
  92. package/skills/yixiaoer/references/platforms/video/tiktok.md +50 -50
  93. package/skills/yixiaoer/references/platforms/video/youtube.md +53 -53
  94. package/skills/yixiaoer/references/proxy-management.md +9 -9
  95. package/skills/yixiaoer/references/topic-tags.md +31 -31
  96. package/skills/yixiaoer/references/troubleshooting-guide.md +2 -2
  97. package/skills/yixiaoer/references/update-account-group.md +28 -28
  98. package/skills/yixiaoer/references/upload-resource.md +6 -6
  99. package/skills/yixiaoer/references/usage-workflow.md +3 -5
  100. package/skills/yixiaoer/references/workflows/common-rules.md +29 -29
  101. package/skills/yixiaoer/references/workflows/data-accuracy.md +83 -83
  102. package/skills/yixiaoer/references/workflows/payload-sourcing.md +24 -24
  103. package/skills/yixiaoer/references/workflows/publish-troubleshooting.md +10 -10
  104. package/dist/yxer-darwin-amd64 +0 -0
  105. package/dist/yxer-darwin-arm64 +0 -0
  106. package/dist/yxer-linux-amd64 +0 -0
  107. package/dist/yxer-linux-arm64 +0 -0
  108. package/dist/yxer-windows-amd64.exe +0 -0
  109. package/dist/yxer-windows-arm64.exe +0 -0
  110. package/references/cli/skill-install.md +0 -76
  111. package/skills/yixiaoer/plugin.json +0 -21
  112. package/skills/yixiaoer/references/cli/skill-install.md +0 -65
  113. package/skills/yixiaoer/references/cli-install-uninstall.md +0 -196
@@ -1,104 +1,104 @@
1
- {
2
- "title": "知乎文章发布表单 (Zhihu Article)",
3
- "type": "object",
4
- "required": [
5
- "formType",
6
- "title",
7
- "content",
8
- "pubType"
9
- ],
10
- "properties": {
11
- "formType": {
12
- "type": "string",
13
- "const": "task"
14
- },
15
- "title": {
16
- "type": "string",
17
- "minLength": 9,
18
- "maxLength": 100
19
- },
20
- "content": {
21
- "type": "string",
22
- "minLength": 9,
23
- "maxLength": 10000
24
- },
25
- "covers": {
26
- "type": "array",
27
- "maxItems": 20,
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
- "topics": {
56
- "type": "array",
57
- "maxItems": 3,
58
- "items": {
59
- "type": "object",
60
- "required": [
61
- "yixiaoerId",
62
- "yixiaoerName",
63
- "raw"
64
- ],
65
- "properties": {
66
- "yixiaoerId": {
67
- "type": "string"
68
- },
69
- "yixiaoerName": {
70
- "type": "string"
71
- },
72
- "raw": {
73
- "type": "object"
74
- }
75
- }
76
- }
77
- },
78
- "declaration": {
79
- "type": "number",
80
- "enum": [
81
- 0,
82
- 1,
83
- 2,
84
- 3,
85
- 4,
86
- 5
87
- ],
88
- "default": 0
89
- },
90
- "pubType": {
91
- "type": "number",
92
- "enum": [
93
- 0,
94
- 1
95
- ],
96
- "default": 1
97
- },
98
- "scheduledTime": {
99
- "type": "number",
100
- "minimum": 0
101
- }
102
- },
103
- "additionalProperties": false
104
- }
1
+ {
2
+ "title": "知乎文章发布表单 (Zhihu Article)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "content",
8
+ "pubType"
9
+ ],
10
+ "properties": {
11
+ "formType": {
12
+ "type": "string",
13
+ "const": "task"
14
+ },
15
+ "title": {
16
+ "type": "string",
17
+ "minLength": 9,
18
+ "maxLength": 100
19
+ },
20
+ "content": {
21
+ "type": "string",
22
+ "minLength": 9,
23
+ "maxLength": 10000
24
+ },
25
+ "covers": {
26
+ "type": "array",
27
+ "maxItems": 20,
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
+ "topics": {
56
+ "type": "array",
57
+ "maxItems": 3,
58
+ "items": {
59
+ "type": "object",
60
+ "required": [
61
+ "yixiaoerId",
62
+ "yixiaoerName",
63
+ "raw"
64
+ ],
65
+ "properties": {
66
+ "yixiaoerId": {
67
+ "type": "string"
68
+ },
69
+ "yixiaoerName": {
70
+ "type": "string"
71
+ },
72
+ "raw": {
73
+ "type": "object"
74
+ }
75
+ }
76
+ }
77
+ },
78
+ "declaration": {
79
+ "type": "number",
80
+ "enum": [
81
+ 0,
82
+ 1,
83
+ 2,
84
+ 3,
85
+ 4,
86
+ 5
87
+ ],
88
+ "default": 0
89
+ },
90
+ "pubType": {
91
+ "type": "number",
92
+ "enum": [
93
+ 0,
94
+ 1
95
+ ],
96
+ "default": 1
97
+ },
98
+ "scheduledTime": {
99
+ "type": "number",
100
+ "minimum": 0
101
+ }
102
+ },
103
+ "additionalProperties": false
104
+ }
@@ -1,61 +1,61 @@
1
- {
2
- "title": "Zhihu Image-Text Publish Form (Strict Standards)",
3
- "type": "object",
4
- "required": [
5
- "formType",
6
- "description"
7
- ],
8
- "properties": {
9
- "formType": {
10
- "type": "string",
11
- "const": "task"
12
- },
13
- "title": {
14
- "type": "string",
15
- "maxLength": 50
16
- },
17
- "description": {
18
- "type": "string",
19
- "minLength": 2
20
- },
21
- "images": {
22
- "type": "array",
23
- "maxItems": 9,
24
- "items": {
25
- "type": "object",
26
- "required": [
27
- "key",
28
- "size",
29
- "width",
30
- "height",
31
- "format"
32
- ],
33
- "properties": {
34
- "key": {
35
- "type": "string"
36
- },
37
- "size": {
38
- "type": "integer"
39
- },
40
- "width": {
41
- "type": "integer"
42
- },
43
- "height": {
44
- "type": "integer"
45
- },
46
- "format": {
47
- "type": "string",
48
- "enum": [
49
- "jpg",
50
- "jpeg",
51
- "png",
52
- "gif",
53
- "webp"
54
- ]
55
- }
56
- }
57
- }
58
- }
59
- },
60
- "additionalProperties": false
61
- }
1
+ {
2
+ "title": "Zhihu Image-Text Publish Form (Strict Standards)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "description"
7
+ ],
8
+ "properties": {
9
+ "formType": {
10
+ "type": "string",
11
+ "const": "task"
12
+ },
13
+ "title": {
14
+ "type": "string",
15
+ "maxLength": 50
16
+ },
17
+ "description": {
18
+ "type": "string",
19
+ "minLength": 2
20
+ },
21
+ "images": {
22
+ "type": "array",
23
+ "maxItems": 9,
24
+ "items": {
25
+ "type": "object",
26
+ "required": [
27
+ "key",
28
+ "size",
29
+ "width",
30
+ "height",
31
+ "format"
32
+ ],
33
+ "properties": {
34
+ "key": {
35
+ "type": "string"
36
+ },
37
+ "size": {
38
+ "type": "integer"
39
+ },
40
+ "width": {
41
+ "type": "integer"
42
+ },
43
+ "height": {
44
+ "type": "integer"
45
+ },
46
+ "format": {
47
+ "type": "string",
48
+ "enum": [
49
+ "jpg",
50
+ "jpeg",
51
+ "png",
52
+ "gif",
53
+ "webp"
54
+ ]
55
+ }
56
+ }
57
+ }
58
+ }
59
+ },
60
+ "additionalProperties": false
61
+ }
@@ -1,144 +1,144 @@
1
- {
2
- "title": "知乎视频发布表单 (Zhihu Video)",
3
- "type": "object",
4
- "required": [
5
- "formType",
6
- "description",
7
- "category",
8
- "createType",
9
- "pubType"
10
- ],
11
- "properties": {
12
- "formType": {
13
- "type": "string",
14
- "const": "task"
15
- },
16
- "title": {
17
- "type": "string",
18
- "minLength": 1,
19
- "maxLength": 50
20
- },
21
- "description": {
22
- "type": "string",
23
- "minLength": 1,
24
- "maxLength": 500
25
- },
26
- "category": {
27
- "type": "array",
28
- "minItems": 1,
29
- "items": {
30
- "type": "object",
31
- "required": [
32
- "yixiaoerId",
33
- "yixiaoerName",
34
- "raw"
35
- ],
36
- "properties": {
37
- "yixiaoerId": {
38
- "type": "string"
39
- },
40
- "yixiaoerName": {
41
- "type": "string"
42
- },
43
- "raw": {
44
- "type": "object"
45
- }
46
- }
47
- }
48
- },
49
- "createType": {
50
- "type": "number",
51
- "enum": [
52
- 1,
53
- 2
54
- ],
55
- "default": 1
56
- },
57
- "pubType": {
58
- "type": "number",
59
- "enum": [
60
- 0,
61
- 1
62
- ],
63
- "default": 1
64
- },
65
- "declaration": {
66
- "type": "number",
67
- "enum": [
68
- 0,
69
- 2
70
- ],
71
- "default": 0
72
- },
73
- "video": {
74
- "type": "object",
75
- "required": [
76
- "key",
77
- "size",
78
- "width",
79
- "height"
80
- ],
81
- "properties": {
82
- "key": {
83
- "type": "string"
84
- },
85
- "size": {
86
- "type": "integer",
87
- "minimum": 1
88
- },
89
- "width": {
90
- "type": "integer",
91
- "minimum": 1
92
- },
93
- "height": {
94
- "type": "integer",
95
- "minimum": 1
96
- },
97
- "duration": {
98
- "type": "number",
99
- "minimum": 1
100
- },
101
- "format": {
102
- "type": "string",
103
- "enum": [
104
- "mp4",
105
- "mov",
106
- "flv",
107
- "avi"
108
- ]
109
- }
110
- }
111
- },
112
- "cover": {
113
- "type": "object",
114
- "required": [
115
- "key",
116
- "size",
117
- "width",
118
- "height"
119
- ],
120
- "properties": {
121
- "key": {
122
- "type": "string"
123
- },
124
- "size": {
125
- "type": "integer"
126
- },
127
- "width": {
128
- "type": "integer"
129
- },
130
- "height": {
131
- "type": "integer"
132
- }
133
- }
134
- },
135
- "coverKey": {
136
- "type": "string"
137
- },
138
- "scheduledTime": {
139
- "type": "number",
140
- "minimum": 0
141
- }
142
- },
143
- "additionalProperties": false
144
- }
1
+ {
2
+ "title": "知乎视频发布表单 (Zhihu Video)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "description",
7
+ "category",
8
+ "createType",
9
+ "pubType"
10
+ ],
11
+ "properties": {
12
+ "formType": {
13
+ "type": "string",
14
+ "const": "task"
15
+ },
16
+ "title": {
17
+ "type": "string",
18
+ "minLength": 1,
19
+ "maxLength": 50
20
+ },
21
+ "description": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "maxLength": 500
25
+ },
26
+ "category": {
27
+ "type": "array",
28
+ "minItems": 1,
29
+ "items": {
30
+ "type": "object",
31
+ "required": [
32
+ "yixiaoerId",
33
+ "yixiaoerName",
34
+ "raw"
35
+ ],
36
+ "properties": {
37
+ "yixiaoerId": {
38
+ "type": "string"
39
+ },
40
+ "yixiaoerName": {
41
+ "type": "string"
42
+ },
43
+ "raw": {
44
+ "type": "object"
45
+ }
46
+ }
47
+ }
48
+ },
49
+ "createType": {
50
+ "type": "number",
51
+ "enum": [
52
+ 1,
53
+ 2
54
+ ],
55
+ "default": 1
56
+ },
57
+ "pubType": {
58
+ "type": "number",
59
+ "enum": [
60
+ 0,
61
+ 1
62
+ ],
63
+ "default": 1
64
+ },
65
+ "declaration": {
66
+ "type": "number",
67
+ "enum": [
68
+ 0,
69
+ 2
70
+ ],
71
+ "default": 0
72
+ },
73
+ "video": {
74
+ "type": "object",
75
+ "required": [
76
+ "key",
77
+ "size",
78
+ "width",
79
+ "height"
80
+ ],
81
+ "properties": {
82
+ "key": {
83
+ "type": "string"
84
+ },
85
+ "size": {
86
+ "type": "integer",
87
+ "minimum": 1
88
+ },
89
+ "width": {
90
+ "type": "integer",
91
+ "minimum": 1
92
+ },
93
+ "height": {
94
+ "type": "integer",
95
+ "minimum": 1
96
+ },
97
+ "duration": {
98
+ "type": "number",
99
+ "minimum": 1
100
+ },
101
+ "format": {
102
+ "type": "string",
103
+ "enum": [
104
+ "mp4",
105
+ "mov",
106
+ "flv",
107
+ "avi"
108
+ ]
109
+ }
110
+ }
111
+ },
112
+ "cover": {
113
+ "type": "object",
114
+ "required": [
115
+ "key",
116
+ "size",
117
+ "width",
118
+ "height"
119
+ ],
120
+ "properties": {
121
+ "key": {
122
+ "type": "string"
123
+ },
124
+ "size": {
125
+ "type": "integer"
126
+ },
127
+ "width": {
128
+ "type": "integer"
129
+ },
130
+ "height": {
131
+ "type": "integer"
132
+ }
133
+ }
134
+ },
135
+ "coverKey": {
136
+ "type": "string"
137
+ },
138
+ "scheduledTime": {
139
+ "type": "number",
140
+ "minimum": 0
141
+ }
142
+ },
143
+ "additionalProperties": false
144
+ }
@@ -138,8 +138,8 @@ yxer publish video 抖音 payload.json
138
138
  ### 场景 1:添加地理位置
139
139
 
140
140
  ```bash
141
- # 1. 查询位置
142
- yxer query locations <account_id> --query 北京
141
+ # 1. 查询位置
142
+ yxer query locations <account_id> --query 北京
143
143
 
144
144
  # 2. 在 contentPublishForm 中添加
145
145
  {
@@ -154,8 +154,8 @@ yxer query locations <account_id> --query 北京
154
154
  ### 场景 2:添加背景音乐
155
155
 
156
156
  ```bash
157
- # 1. 查询音乐
158
- yxer query music <account_id> --query 歌曲名
157
+ # 1. 查询音乐
158
+ yxer query music <account_id> --query 歌曲名
159
159
 
160
160
  # 2. 在 contentPublishForm 中添加
161
161
  {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: yixiaoer
3
- version: 3.2.1
3
+ version: 3.2.3
4
4
  description: "通过 yxer CLI 操作蚁小二多平台内容分发:账号查询、资源上传、发布前准备、payload 校验、云发布/本机发布、草稿保存、素材登记、发布记录排查与技能同步。"
5
5
  metadata:
6
6
  category: "productivity"