@yixiaoermail/cli 3.1.3 → 3.2.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 (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,99 +1,99 @@
1
- {
2
- "title": "头条号文章发布表单 (ToutiaoHao Article)",
3
- "type": "object",
4
- "required": [
5
- "formType",
6
- "title",
7
- "content",
8
- "covers"
9
- ],
10
- "properties": {
11
- "formType": {
12
- "type": "string",
13
- "const": "task"
14
- },
15
- "title": {
16
- "type": "string",
17
- "minLength": 1,
18
- "maxLength": 50
19
- },
20
- "content": {
21
- "type": "string",
22
- "minLength": 1,
23
- "maxLength": 50000
24
- },
25
- "covers": {
26
- "type": "array",
27
- "minItems": 1,
28
- "maxItems": 9,
29
- "items": {
30
- "type": "object",
31
- "required": [
32
- "key",
33
- "size",
34
- "width",
35
- "height"
36
- ],
37
- "properties": {
38
- "key": {
39
- "type": "string"
40
- },
41
- "size": {
42
- "type": "integer",
43
- "minimum": 1
44
- },
45
- "width": {
46
- "type": "integer",
47
- "minimum": 1
48
- },
49
- "height": {
50
- "type": "integer",
51
- "minimum": 1
52
- }
53
- }
54
- }
55
- },
56
- "coverKey": {
57
- "type": "string"
58
- },
59
- "thumbMediaId": {
60
- "type": "string"
61
- },
62
- "category": {
63
- "type": "object",
64
- "required": [
65
- "yixiaoerId",
66
- "yixiaoerName",
67
- "raw"
68
- ],
69
- "properties": {
70
- "yixiaoerId": {
71
- "type": "string"
72
- },
73
- "yixiaoerName": {
74
- "type": "string"
75
- },
76
- "raw": {
77
- "type": "object"
78
- }
79
- }
80
- },
81
- "original": {
82
- "type": "boolean",
83
- "default": false
84
- },
85
- "originalType": {
86
- "type": "number",
87
- "enum": [
88
- 0,
89
- 1,
90
- 2
91
- ]
92
- },
93
- "originalUrl": {
94
- "type": "string",
95
- "format": "uri"
96
- },
1
+ {
2
+ "title": "头条号文章发布表单 (ToutiaoHao Article)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "content",
8
+ "covers"
9
+ ],
10
+ "properties": {
11
+ "formType": {
12
+ "type": "string",
13
+ "const": "task"
14
+ },
15
+ "title": {
16
+ "type": "string",
17
+ "minLength": 1,
18
+ "maxLength": 50
19
+ },
20
+ "content": {
21
+ "type": "string",
22
+ "minLength": 1,
23
+ "maxLength": 50000
24
+ },
25
+ "covers": {
26
+ "type": "array",
27
+ "minItems": 1,
28
+ "maxItems": 9,
29
+ "items": {
30
+ "type": "object",
31
+ "required": [
32
+ "key",
33
+ "size",
34
+ "width",
35
+ "height"
36
+ ],
37
+ "properties": {
38
+ "key": {
39
+ "type": "string"
40
+ },
41
+ "size": {
42
+ "type": "integer",
43
+ "minimum": 1
44
+ },
45
+ "width": {
46
+ "type": "integer",
47
+ "minimum": 1
48
+ },
49
+ "height": {
50
+ "type": "integer",
51
+ "minimum": 1
52
+ }
53
+ }
54
+ }
55
+ },
56
+ "coverKey": {
57
+ "type": "string"
58
+ },
59
+ "thumbMediaId": {
60
+ "type": "string"
61
+ },
62
+ "category": {
63
+ "type": "object",
64
+ "required": [
65
+ "yixiaoerId",
66
+ "yixiaoerName",
67
+ "raw"
68
+ ],
69
+ "properties": {
70
+ "yixiaoerId": {
71
+ "type": "string"
72
+ },
73
+ "yixiaoerName": {
74
+ "type": "string"
75
+ },
76
+ "raw": {
77
+ "type": "object"
78
+ }
79
+ }
80
+ },
81
+ "original": {
82
+ "type": "boolean",
83
+ "default": false
84
+ },
85
+ "originalType": {
86
+ "type": "number",
87
+ "enum": [
88
+ 0,
89
+ 1,
90
+ 2
91
+ ]
92
+ },
93
+ "originalUrl": {
94
+ "type": "string",
95
+ "format": "uri"
96
+ },
97
97
  "pubType": {
98
98
  "type": "number",
99
99
  "enum": [
@@ -109,21 +109,22 @@
109
109
  "location": {
110
110
  "type": "object",
111
111
  "required": [
112
- "yixiaoerId",
113
- "yixiaoerName",
112
+ "id",
113
+ "text",
114
114
  "raw"
115
115
  ],
116
116
  "properties": {
117
- "yixiaoerId": {
117
+ "id": {
118
118
  "type": "string"
119
119
  },
120
- "yixiaoerName": {
120
+ "text": {
121
121
  "type": "string"
122
122
  },
123
123
  "raw": {
124
124
  "type": "object"
125
125
  }
126
- }
126
+ },
127
+ "additionalProperties": true
127
128
  },
128
129
  "scheduledTime": {
129
130
  "type": "number",
@@ -151,15 +152,15 @@
151
152
  "statement": {
152
153
  "type": "number",
153
154
  "enum": [
154
- 1,
155
- 2,
156
- 3
157
- ]
158
- },
159
- "publishTime": {
160
- "type": "string",
161
- "format": "date-time"
162
- }
163
- },
164
- "additionalProperties": false
165
- }
155
+ 1,
156
+ 2,
157
+ 3
158
+ ]
159
+ },
160
+ "publishTime": {
161
+ "type": "string",
162
+ "format": "date-time"
163
+ }
164
+ },
165
+ "additionalProperties": false
166
+ }
@@ -1,83 +1,83 @@
1
- {
2
- "title": "头条号图文发布表单 (ToutiaoHao Image-Text)",
3
- "type": "object",
4
- "required": [
5
- "formType",
6
- "description",
7
- "images",
8
- "pubType"
9
- ],
10
- "properties": {
11
- "formType": {
12
- "type": "string",
13
- "const": "task"
14
- },
15
- "description": {
16
- "type": "string",
17
- "minLength": 1,
18
- "maxLength": 1000
19
- },
20
- "images": {
21
- "type": "array",
22
- "minItems": 1,
23
- "maxItems": 18,
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
- "minimum": 1
40
- },
41
- "width": {
42
- "type": "integer",
43
- "minimum": 1
44
- },
45
- "height": {
46
- "type": "integer",
47
- "minimum": 1
48
- },
49
- "format": {
50
- "type": "string",
51
- "enum": [
52
- "jpg",
53
- "jpeg",
54
- "png",
55
- "webp",
56
- "gif"
57
- ]
58
- }
59
- }
60
- }
61
- },
62
- "declaration": {
63
- "type": "number",
64
- "enum": [
65
- 1,
66
- 2,
67
- 3,
68
- 6,
69
- 7,
70
- 8
71
- ]
72
- },
73
- "pubType": {
74
- "type": "number",
75
- "enum": [
76
- 0,
77
- 1
78
- ],
79
- "default": 1
80
- }
81
- },
82
- "additionalProperties": false
83
- }
1
+ {
2
+ "title": "头条号图文发布表单 (ToutiaoHao Image-Text)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "description",
7
+ "images",
8
+ "pubType"
9
+ ],
10
+ "properties": {
11
+ "formType": {
12
+ "type": "string",
13
+ "const": "task"
14
+ },
15
+ "description": {
16
+ "type": "string",
17
+ "minLength": 1,
18
+ "maxLength": 1000
19
+ },
20
+ "images": {
21
+ "type": "array",
22
+ "minItems": 1,
23
+ "maxItems": 18,
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
+ "minimum": 1
40
+ },
41
+ "width": {
42
+ "type": "integer",
43
+ "minimum": 1
44
+ },
45
+ "height": {
46
+ "type": "integer",
47
+ "minimum": 1
48
+ },
49
+ "format": {
50
+ "type": "string",
51
+ "enum": [
52
+ "jpg",
53
+ "jpeg",
54
+ "png",
55
+ "webp",
56
+ "gif"
57
+ ]
58
+ }
59
+ }
60
+ }
61
+ },
62
+ "declaration": {
63
+ "type": "number",
64
+ "enum": [
65
+ 1,
66
+ 2,
67
+ 3,
68
+ 6,
69
+ 7,
70
+ 8
71
+ ]
72
+ },
73
+ "pubType": {
74
+ "type": "number",
75
+ "enum": [
76
+ 0,
77
+ 1
78
+ ],
79
+ "default": 1
80
+ }
81
+ },
82
+ "additionalProperties": false
83
+ }
@@ -1,134 +1,134 @@
1
- {
2
- "title": "头条号视频发布表单 (Toutiaohao Video)",
3
- "type": "object",
4
- "required": [
5
- "formType",
6
- "title",
7
- "description",
8
- "tags",
9
- "visibleType",
10
- "pubType"
11
- ],
12
- "properties": {
13
- "formType": {
14
- "type": "string",
15
- "const": "task"
16
- },
17
- "title": {
18
- "type": "string",
19
- "minLength": 1,
20
- "maxLength": 80
21
- },
22
- "description": {
23
- "type": "string",
24
- "minLength": 1,
25
- "maxLength": 400
26
- },
27
- "tags": {
28
- "type": "array",
29
- "minItems": 1,
30
- "maxItems": 5,
31
- "items": {
32
- "type": "string",
33
- "minLength": 1,
34
- "maxLength": 20
35
- }
36
- },
37
- "visibleType": {
38
- "type": "number",
39
- "enum": [
40
- 0,
41
- 1
42
- ],
43
- "default": 0
44
- },
45
- "pubType": {
46
- "type": "number",
47
- "enum": [
48
- 0,
49
- 1
50
- ],
51
- "default": 1
52
- },
53
- "declaration": {
54
- "type": "number",
55
- "enum": [
56
- 1,
57
- 2,
58
- 3,
59
- 6,
60
- 7,
61
- 8
62
- ]
63
- },
64
- "scheduledTime": {
65
- "type": "number",
66
- "minimum": 0
67
- },
68
- "video": {
69
- "type": "object",
70
- "required": [
71
- "key",
72
- "size",
73
- "width",
74
- "height"
75
- ],
76
- "properties": {
77
- "key": {
78
- "type": "string"
79
- },
80
- "size": {
81
- "type": "integer",
82
- "minimum": 1
83
- },
84
- "width": {
85
- "type": "integer",
86
- "minimum": 1
87
- },
88
- "height": {
89
- "type": "integer",
90
- "minimum": 1
91
- },
92
- "duration": {
93
- "type": "number",
94
- "minimum": 1
95
- },
96
- "format": {
97
- "type": "string",
98
- "enum": [
99
- "mp4",
100
- "mov",
101
- "flv"
102
- ]
103
- }
104
- }
105
- },
106
- "cover": {
107
- "type": "object",
108
- "required": [
109
- "key",
110
- "size",
111
- "width",
112
- "height"
113
- ],
114
- "properties": {
115
- "key": {
116
- "type": "string"
117
- },
118
- "size": {
119
- "type": "integer"
120
- },
121
- "width": {
122
- "type": "integer"
123
- },
124
- "height": {
125
- "type": "integer"
126
- }
127
- }
128
- },
129
- "coverKey": {
130
- "type": "string"
131
- }
132
- },
133
- "additionalProperties": false
134
- }
1
+ {
2
+ "title": "头条号视频发布表单 (Toutiaohao Video)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "description",
8
+ "tags",
9
+ "visibleType",
10
+ "pubType"
11
+ ],
12
+ "properties": {
13
+ "formType": {
14
+ "type": "string",
15
+ "const": "task"
16
+ },
17
+ "title": {
18
+ "type": "string",
19
+ "minLength": 1,
20
+ "maxLength": 80
21
+ },
22
+ "description": {
23
+ "type": "string",
24
+ "minLength": 1,
25
+ "maxLength": 400
26
+ },
27
+ "tags": {
28
+ "type": "array",
29
+ "minItems": 1,
30
+ "maxItems": 5,
31
+ "items": {
32
+ "type": "string",
33
+ "minLength": 1,
34
+ "maxLength": 20
35
+ }
36
+ },
37
+ "visibleType": {
38
+ "type": "number",
39
+ "enum": [
40
+ 0,
41
+ 1
42
+ ],
43
+ "default": 0
44
+ },
45
+ "pubType": {
46
+ "type": "number",
47
+ "enum": [
48
+ 0,
49
+ 1
50
+ ],
51
+ "default": 1
52
+ },
53
+ "declaration": {
54
+ "type": "number",
55
+ "enum": [
56
+ 1,
57
+ 2,
58
+ 3,
59
+ 6,
60
+ 7,
61
+ 8
62
+ ]
63
+ },
64
+ "scheduledTime": {
65
+ "type": "number",
66
+ "minimum": 0
67
+ },
68
+ "video": {
69
+ "type": "object",
70
+ "required": [
71
+ "key",
72
+ "size",
73
+ "width",
74
+ "height"
75
+ ],
76
+ "properties": {
77
+ "key": {
78
+ "type": "string"
79
+ },
80
+ "size": {
81
+ "type": "integer",
82
+ "minimum": 1
83
+ },
84
+ "width": {
85
+ "type": "integer",
86
+ "minimum": 1
87
+ },
88
+ "height": {
89
+ "type": "integer",
90
+ "minimum": 1
91
+ },
92
+ "duration": {
93
+ "type": "number",
94
+ "minimum": 1
95
+ },
96
+ "format": {
97
+ "type": "string",
98
+ "enum": [
99
+ "mp4",
100
+ "mov",
101
+ "flv"
102
+ ]
103
+ }
104
+ }
105
+ },
106
+ "cover": {
107
+ "type": "object",
108
+ "required": [
109
+ "key",
110
+ "size",
111
+ "width",
112
+ "height"
113
+ ],
114
+ "properties": {
115
+ "key": {
116
+ "type": "string"
117
+ },
118
+ "size": {
119
+ "type": "integer"
120
+ },
121
+ "width": {
122
+ "type": "integer"
123
+ },
124
+ "height": {
125
+ "type": "integer"
126
+ }
127
+ }
128
+ },
129
+ "coverKey": {
130
+ "type": "string"
131
+ }
132
+ },
133
+ "additionalProperties": false
134
+ }