@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,6 +1,6 @@
1
- {
2
- "title": "百家号文章发布表单 (BaijiaHao Article)",
3
- "type": "object",
1
+ {
2
+ "title": "百家号文章发布表单 (BaijiaHao Article)",
3
+ "type": "object",
4
4
  "required": [
5
5
  "formType",
6
6
  "title",
@@ -8,95 +8,95 @@
8
8
  "covers",
9
9
  "pubType"
10
10
  ],
11
- "properties": {
12
- "formType": {
13
- "type": "string",
14
- "const": "task"
15
- },
16
- "title": {
17
- "type": "string",
18
- "minLength": 1,
19
- "maxLength": 64
20
- },
21
- "content": {
22
- "type": "string",
23
- "minLength": 1,
24
- "maxLength": 50000
25
- },
26
- "covers": {
27
- "type": "array",
28
- "minItems": 1,
29
- "maxItems": 3,
30
- "items": {
31
- "type": "object",
32
- "required": [
33
- "key",
34
- "size",
35
- "width",
36
- "height"
37
- ],
38
- "properties": {
39
- "key": {
40
- "type": "string"
41
- },
42
- "size": {
43
- "type": "integer",
44
- "minimum": 1
45
- },
46
- "width": {
47
- "type": "integer",
48
- "minimum": 1
49
- },
50
- "height": {
51
- "type": "integer",
52
- "minimum": 1
53
- }
54
- }
55
- }
56
- },
57
- "coverKey": {
58
- "type": "string"
59
- },
60
- "thumbMediaId": {
61
- "type": "string"
62
- },
63
- "category": {
64
- "type": "array",
65
- "minItems": 2,
66
- "maxItems": 2,
67
- "items": {
68
- "type": "object",
69
- "required": [
70
- "yixiaoerId",
71
- "yixiaoerName"
72
- ],
73
- "properties": {
74
- "yixiaoerId": {
75
- "type": "string"
76
- },
77
- "yixiaoerName": {
78
- "type": "string"
79
- }
80
- },
81
- "additionalProperties": false
82
- }
83
- },
84
- "original": {
85
- "type": "boolean",
86
- "default": false
87
- },
88
- "originalType": {
89
- "type": "number",
90
- "enum": [
91
- 0,
92
- 1,
93
- 2
94
- ]
95
- },
96
- "originalUrl": {
97
- "type": "string",
98
- "format": "uri"
99
- },
11
+ "properties": {
12
+ "formType": {
13
+ "type": "string",
14
+ "const": "task"
15
+ },
16
+ "title": {
17
+ "type": "string",
18
+ "minLength": 1,
19
+ "maxLength": 64
20
+ },
21
+ "content": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "maxLength": 50000
25
+ },
26
+ "covers": {
27
+ "type": "array",
28
+ "minItems": 1,
29
+ "maxItems": 3,
30
+ "items": {
31
+ "type": "object",
32
+ "required": [
33
+ "key",
34
+ "size",
35
+ "width",
36
+ "height"
37
+ ],
38
+ "properties": {
39
+ "key": {
40
+ "type": "string"
41
+ },
42
+ "size": {
43
+ "type": "integer",
44
+ "minimum": 1
45
+ },
46
+ "width": {
47
+ "type": "integer",
48
+ "minimum": 1
49
+ },
50
+ "height": {
51
+ "type": "integer",
52
+ "minimum": 1
53
+ }
54
+ }
55
+ }
56
+ },
57
+ "coverKey": {
58
+ "type": "string"
59
+ },
60
+ "thumbMediaId": {
61
+ "type": "string"
62
+ },
63
+ "category": {
64
+ "type": "array",
65
+ "minItems": 2,
66
+ "maxItems": 2,
67
+ "items": {
68
+ "type": "object",
69
+ "required": [
70
+ "yixiaoerId",
71
+ "yixiaoerName"
72
+ ],
73
+ "properties": {
74
+ "yixiaoerId": {
75
+ "type": "string"
76
+ },
77
+ "yixiaoerName": {
78
+ "type": "string"
79
+ }
80
+ },
81
+ "additionalProperties": false
82
+ }
83
+ },
84
+ "original": {
85
+ "type": "boolean",
86
+ "default": false
87
+ },
88
+ "originalType": {
89
+ "type": "number",
90
+ "enum": [
91
+ 0,
92
+ 1,
93
+ 2
94
+ ]
95
+ },
96
+ "originalUrl": {
97
+ "type": "string",
98
+ "format": "uri"
99
+ },
100
100
  "reprintType": {
101
101
  "type": "number",
102
102
  "enum": [
@@ -147,14 +147,14 @@
147
147
  "type": "string",
148
148
  "format": "date-time"
149
149
  },
150
- "statement": {
151
- "type": "number",
152
- "enum": [
153
- 1,
154
- 2,
155
- 3
156
- ]
157
- }
158
- },
159
- "additionalProperties": false
160
- }
150
+ "statement": {
151
+ "type": "number",
152
+ "enum": [
153
+ 1,
154
+ 2,
155
+ 3
156
+ ]
157
+ }
158
+ },
159
+ "additionalProperties": false
160
+ }
@@ -85,21 +85,22 @@
85
85
  "location": {
86
86
  "type": "object",
87
87
  "required": [
88
- "yixiaoerId",
89
- "yixiaoerName",
88
+ "id",
89
+ "text",
90
90
  "raw"
91
91
  ],
92
92
  "properties": {
93
- "yixiaoerId": {
93
+ "id": {
94
94
  "type": "string"
95
95
  },
96
- "yixiaoerName": {
96
+ "text": {
97
97
  "type": "string"
98
98
  },
99
99
  "raw": {
100
100
  "type": "object"
101
101
  }
102
- }
102
+ },
103
+ "additionalProperties": true
103
104
  },
104
105
  "scheduledTime": {
105
106
  "type": "number",
@@ -1,179 +1,180 @@
1
- {
2
- "title": "百家号视频发布表单 (BaiJiaHao Video)",
3
- "type": "object",
4
- "required": [
5
- "formType",
6
- "title",
7
- "description",
8
- "tags",
9
- "pubType"
10
- ],
11
- "properties": {
12
- "formType": {
13
- "type": "string",
14
- "const": "task"
15
- },
16
- "title": {
17
- "type": "string",
18
- "minLength": 1,
19
- "maxLength": 30
20
- },
21
- "description": {
22
- "type": "string",
23
- "minLength": 1,
24
- "maxLength": 100
25
- },
26
- "tags": {
27
- "type": "array",
28
- "minItems": 1,
29
- "maxItems": 6,
30
- "items": {
31
- "type": "string",
32
- "minLength": 1
33
- }
34
- },
35
- "pubType": {
36
- "type": "number",
37
- "enum": [
38
- 0,
39
- 1
40
- ],
41
- "default": 1
42
- },
43
- "declaration": {
44
- "type": "number",
45
- "enum": [
46
- 0,
47
- 1
48
- ],
49
- "default": 0
50
- },
51
- "location": {
52
- "type": "object",
53
- "required": [
54
- "yixiaoerId",
55
- "yixiaoerName",
56
- "raw"
57
- ],
58
- "properties": {
59
- "yixiaoerId": {
60
- "type": "string"
61
- },
62
- "yixiaoerName": {
63
- "type": "string"
64
- },
65
- "raw": {
66
- "type": "object"
67
- }
68
- }
69
- },
70
- "collection": {
71
- "type": "object",
72
- "required": [
73
- "yixiaoerId",
74
- "yixiaoerName",
75
- "raw"
76
- ],
77
- "properties": {
78
- "yixiaoerId": {
79
- "type": "string"
80
- },
81
- "yixiaoerName": {
82
- "type": "string"
83
- },
84
- "raw": {
85
- "type": "object"
86
- }
87
- }
88
- },
89
- "activity": {
90
- "type": "object",
91
- "required": [
92
- "yixiaoerId",
93
- "yixiaoerName",
94
- "raw"
95
- ],
96
- "properties": {
97
- "yixiaoerId": {
98
- "type": "string"
99
- },
100
- "yixiaoerName": {
101
- "type": "string"
102
- },
103
- "raw": {
104
- "type": "object"
105
- }
106
- }
107
- },
108
- "video": {
109
- "type": "object",
110
- "required": [
111
- "key",
112
- "size",
113
- "width",
114
- "height"
115
- ],
116
- "properties": {
117
- "key": {
118
- "type": "string"
119
- },
120
- "size": {
121
- "type": "integer",
122
- "minimum": 1
123
- },
124
- "width": {
125
- "type": "integer",
126
- "minimum": 1
127
- },
128
- "height": {
129
- "type": "integer",
130
- "minimum": 1
131
- },
132
- "duration": {
133
- "type": "number",
134
- "minimum": 1
135
- },
136
- "format": {
137
- "type": "string",
138
- "enum": [
139
- "mp4",
140
- "mov",
141
- "flv",
142
- "avi"
143
- ]
144
- }
145
- }
146
- },
147
- "cover": {
148
- "type": "object",
149
- "required": [
150
- "key",
151
- "size",
152
- "width",
153
- "height"
154
- ],
155
- "properties": {
156
- "key": {
157
- "type": "string"
158
- },
159
- "size": {
160
- "type": "integer"
161
- },
162
- "width": {
163
- "type": "integer"
164
- },
165
- "height": {
166
- "type": "integer"
167
- }
168
- }
169
- },
170
- "coverKey": {
171
- "type": "string"
172
- },
173
- "scheduledTime": {
174
- "type": "number",
175
- "minimum": 0
176
- }
177
- },
178
- "additionalProperties": false
179
- }
1
+ {
2
+ "title": "百家号视频发布表单 (BaiJiaHao Video)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "description",
8
+ "tags",
9
+ "pubType"
10
+ ],
11
+ "properties": {
12
+ "formType": {
13
+ "type": "string",
14
+ "const": "task"
15
+ },
16
+ "title": {
17
+ "type": "string",
18
+ "minLength": 1,
19
+ "maxLength": 30
20
+ },
21
+ "description": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "maxLength": 100
25
+ },
26
+ "tags": {
27
+ "type": "array",
28
+ "minItems": 1,
29
+ "maxItems": 6,
30
+ "items": {
31
+ "type": "string",
32
+ "minLength": 1
33
+ }
34
+ },
35
+ "pubType": {
36
+ "type": "number",
37
+ "enum": [
38
+ 0,
39
+ 1
40
+ ],
41
+ "default": 1
42
+ },
43
+ "declaration": {
44
+ "type": "number",
45
+ "enum": [
46
+ 0,
47
+ 1
48
+ ],
49
+ "default": 0
50
+ },
51
+ "location": {
52
+ "type": "object",
53
+ "required": [
54
+ "id",
55
+ "text",
56
+ "raw"
57
+ ],
58
+ "properties": {
59
+ "id": {
60
+ "type": "string"
61
+ },
62
+ "text": {
63
+ "type": "string"
64
+ },
65
+ "raw": {
66
+ "type": "object"
67
+ }
68
+ },
69
+ "additionalProperties": true
70
+ },
71
+ "collection": {
72
+ "type": "object",
73
+ "required": [
74
+ "yixiaoerId",
75
+ "yixiaoerName",
76
+ "raw"
77
+ ],
78
+ "properties": {
79
+ "yixiaoerId": {
80
+ "type": "string"
81
+ },
82
+ "yixiaoerName": {
83
+ "type": "string"
84
+ },
85
+ "raw": {
86
+ "type": "object"
87
+ }
88
+ }
89
+ },
90
+ "activity": {
91
+ "type": "object",
92
+ "required": [
93
+ "yixiaoerId",
94
+ "yixiaoerName",
95
+ "raw"
96
+ ],
97
+ "properties": {
98
+ "yixiaoerId": {
99
+ "type": "string"
100
+ },
101
+ "yixiaoerName": {
102
+ "type": "string"
103
+ },
104
+ "raw": {
105
+ "type": "object"
106
+ }
107
+ }
108
+ },
109
+ "video": {
110
+ "type": "object",
111
+ "required": [
112
+ "key",
113
+ "size",
114
+ "width",
115
+ "height"
116
+ ],
117
+ "properties": {
118
+ "key": {
119
+ "type": "string"
120
+ },
121
+ "size": {
122
+ "type": "integer",
123
+ "minimum": 1
124
+ },
125
+ "width": {
126
+ "type": "integer",
127
+ "minimum": 1
128
+ },
129
+ "height": {
130
+ "type": "integer",
131
+ "minimum": 1
132
+ },
133
+ "duration": {
134
+ "type": "number",
135
+ "minimum": 1
136
+ },
137
+ "format": {
138
+ "type": "string",
139
+ "enum": [
140
+ "mp4",
141
+ "mov",
142
+ "flv",
143
+ "avi"
144
+ ]
145
+ }
146
+ }
147
+ },
148
+ "cover": {
149
+ "type": "object",
150
+ "required": [
151
+ "key",
152
+ "size",
153
+ "width",
154
+ "height"
155
+ ],
156
+ "properties": {
157
+ "key": {
158
+ "type": "string"
159
+ },
160
+ "size": {
161
+ "type": "integer"
162
+ },
163
+ "width": {
164
+ "type": "integer"
165
+ },
166
+ "height": {
167
+ "type": "integer"
168
+ }
169
+ }
170
+ },
171
+ "coverKey": {
172
+ "type": "string"
173
+ },
174
+ "scheduledTime": {
175
+ "type": "number",
176
+ "minimum": 0
177
+ }
178
+ },
179
+ "additionalProperties": false
180
+ }