@yixiaoermail/cli 3.2.2 → 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,148 +1,148 @@
1
- {
2
- "title": "微信公众号文章平台表单 (Weixin Account Article Platform Form)",
3
- "type": "object",
4
- "required": [
5
- "articles",
6
- "notifySubscribers",
7
- "pubType"
8
- ],
9
- "properties": {
10
- "articles": {
11
- "type": "array",
12
- "minItems": 1,
13
- "maxItems": 8,
14
- "items": {
15
- "type": "object",
16
- "required": [
17
- "title",
18
- "content",
19
- "cover",
20
- "type"
21
- ],
22
- "properties": {
23
- "title": {
24
- "type": "string",
25
- "minLength": 1,
26
- "maxLength": 64
27
- },
28
- "content": {
29
- "type": "string",
30
- "minLength": 1
31
- },
32
- "authorName": {
33
- "type": "string",
34
- "maxLength": 8
35
- },
36
- "digest": {
37
- "type": "string",
38
- "maxLength": 129
39
- },
40
- "type": {
41
- "type": "number",
42
- "enum": [
43
- 0,
44
- 1
45
- ]
46
- },
47
- "cover": {
48
- "type": "object",
49
- "required": [
50
- "key",
51
- "raw"
52
- ],
53
- "properties": {
54
- "key": {
55
- "type": "string"
56
- },
57
- "pathOrUrl": {
58
- "type": "string"
59
- },
60
- "raw": {
61
- "type": "object"
62
- }
63
- }
64
- },
65
- "quickRepost": {
66
- "type": "number",
67
- "enum": [
68
- 0,
69
- 1
70
- ]
71
- },
72
- "quickPrivateMessage": {
73
- "type": "number",
74
- "enum": [
75
- 0,
76
- 1
77
- ]
78
- },
79
- "contentSourceUrl": {
80
- "type": "string",
81
- "format": "uri"
82
- },
83
- "categories": {
84
- "type": "array",
85
- "items": {
86
- "type": "object",
87
- "required": [
88
- "yixiaoerId",
89
- "yixiaoerName",
90
- "raw"
91
- ],
92
- "properties": {
93
- "yixiaoerId": {
94
- "type": "string"
95
- },
96
- "yixiaoerName": {
97
- "type": "string"
98
- },
99
- "raw": {
100
- "type": "object"
101
- }
102
- }
103
- }
104
- }
105
- },
106
- "additionalProperties": false
107
- }
108
- },
109
- "notifySubscribers": {
110
- "type": "number",
111
- "enum": [
112
- 0,
113
- 1
114
- ],
115
- "default": 0
116
- },
117
- "pubType": {
118
- "type": "number",
119
- "enum": [
120
- 0,
121
- 1
122
- ],
123
- "default": 1
124
- },
125
- "scheduledTime": {
126
- "type": "integer"
127
- },
128
- "sex": {
129
- "type": "number",
130
- "enum": [
131
- 0,
132
- 1,
133
- 2
134
- ],
135
- "default": 0
136
- },
137
- "country": {
138
- "type": "string"
139
- },
140
- "province": {
141
- "type": "string"
142
- },
143
- "city": {
144
- "type": "string"
145
- }
146
- },
147
- "additionalProperties": false
148
- }
1
+ {
2
+ "title": "微信公众号文章平台表单 (Weixin Account Article Platform Form)",
3
+ "type": "object",
4
+ "required": [
5
+ "articles",
6
+ "notifySubscribers",
7
+ "pubType"
8
+ ],
9
+ "properties": {
10
+ "articles": {
11
+ "type": "array",
12
+ "minItems": 1,
13
+ "maxItems": 8,
14
+ "items": {
15
+ "type": "object",
16
+ "required": [
17
+ "title",
18
+ "content",
19
+ "cover",
20
+ "type"
21
+ ],
22
+ "properties": {
23
+ "title": {
24
+ "type": "string",
25
+ "minLength": 1,
26
+ "maxLength": 64
27
+ },
28
+ "content": {
29
+ "type": "string",
30
+ "minLength": 1
31
+ },
32
+ "authorName": {
33
+ "type": "string",
34
+ "maxLength": 8
35
+ },
36
+ "digest": {
37
+ "type": "string",
38
+ "maxLength": 129
39
+ },
40
+ "type": {
41
+ "type": "number",
42
+ "enum": [
43
+ 0,
44
+ 1
45
+ ]
46
+ },
47
+ "cover": {
48
+ "type": "object",
49
+ "required": [
50
+ "key",
51
+ "raw"
52
+ ],
53
+ "properties": {
54
+ "key": {
55
+ "type": "string"
56
+ },
57
+ "pathOrUrl": {
58
+ "type": "string"
59
+ },
60
+ "raw": {
61
+ "type": "object"
62
+ }
63
+ }
64
+ },
65
+ "quickRepost": {
66
+ "type": "number",
67
+ "enum": [
68
+ 0,
69
+ 1
70
+ ]
71
+ },
72
+ "quickPrivateMessage": {
73
+ "type": "number",
74
+ "enum": [
75
+ 0,
76
+ 1
77
+ ]
78
+ },
79
+ "contentSourceUrl": {
80
+ "type": "string",
81
+ "format": "uri"
82
+ },
83
+ "categories": {
84
+ "type": "array",
85
+ "items": {
86
+ "type": "object",
87
+ "required": [
88
+ "yixiaoerId",
89
+ "yixiaoerName",
90
+ "raw"
91
+ ],
92
+ "properties": {
93
+ "yixiaoerId": {
94
+ "type": "string"
95
+ },
96
+ "yixiaoerName": {
97
+ "type": "string"
98
+ },
99
+ "raw": {
100
+ "type": "object"
101
+ }
102
+ }
103
+ }
104
+ }
105
+ },
106
+ "additionalProperties": false
107
+ }
108
+ },
109
+ "notifySubscribers": {
110
+ "type": "number",
111
+ "enum": [
112
+ 0,
113
+ 1
114
+ ],
115
+ "default": 0
116
+ },
117
+ "pubType": {
118
+ "type": "number",
119
+ "enum": [
120
+ 0,
121
+ 1
122
+ ],
123
+ "default": 1
124
+ },
125
+ "scheduledTime": {
126
+ "type": "integer"
127
+ },
128
+ "sex": {
129
+ "type": "number",
130
+ "enum": [
131
+ 0,
132
+ 1,
133
+ 2
134
+ ],
135
+ "default": 0
136
+ },
137
+ "country": {
138
+ "type": "string"
139
+ },
140
+ "province": {
141
+ "type": "string"
142
+ },
143
+ "city": {
144
+ "type": "string"
145
+ }
146
+ },
147
+ "additionalProperties": false
148
+ }
@@ -1,131 +1,131 @@
1
- {
2
- "title": "Xiaohongshu Image-Text Publish Form (Strict Standards)",
3
- "type": "object",
4
- "required": [
5
- "formType",
6
- "description",
7
- "images",
8
- "visibleType"
9
- ],
10
- "properties": {
11
- "formType": {
12
- "type": "string",
13
- "const": "task"
14
- },
15
- "title": {
16
- "type": "string",
17
- "maxLength": 20
18
- },
19
- "description": {
20
- "type": "string",
21
- "minLength": 1,
22
- "maxLength": 1000
23
- },
24
- "visibleType": {
25
- "type": "number",
26
- "enum": [
27
- 0,
28
- 1,
29
- 3
30
- ],
31
- "default": 0
32
- },
33
- "images": {
34
- "type": "array",
35
- "minItems": 1,
36
- "maxItems": 18,
37
- "items": {
38
- "type": "object",
39
- "required": [
40
- "key",
41
- "size",
42
- "width",
43
- "height",
44
- "format"
45
- ],
46
- "properties": {
47
- "key": {
48
- "type": "string"
49
- },
50
- "size": {
51
- "type": "integer"
52
- },
53
- "width": {
54
- "type": "integer"
55
- },
56
- "height": {
57
- "type": "integer"
58
- },
59
- "format": {
60
- "type": "string",
61
- "enum": [
62
- "jpg",
63
- "jpeg",
64
- "png",
65
- "gif",
66
- "webp"
67
- ]
68
- }
69
- }
70
- }
71
- },
72
- "location": {
73
- "type": "object",
74
- "required": [
75
- "id",
76
- "text",
77
- "raw"
78
- ],
79
- "properties": {
80
- "id": {
81
- "type": "string"
82
- },
83
- "text": {
84
- "type": "string"
85
- },
86
- "raw": {
87
- "type": "object"
88
- }
89
- },
90
- "additionalProperties": true
91
- },
92
- "music": {
93
- "type": "object",
94
- "required": [
95
- "yixiaoerId",
96
- "yixiaoerName",
97
- "raw"
98
- ],
99
- "properties": {
100
- "yixiaoerId": {
101
- "type": "string"
102
- },
103
- "yixiaoerName": {
104
- "type": "string"
105
- },
106
- "duration": {
107
- "type": "number"
108
- },
109
- "playUrl": {
110
- "type": "string"
111
- },
112
- "raw": {
113
- "type": "object"
114
- }
115
- }
116
- },
117
- "collection": {
118
- "type": "object",
119
- "required": [
120
- "yixiaoerId",
121
- "yixiaoerName",
122
- "raw"
123
- ]
124
- },
125
- "scheduledTime": {
126
- "type": "number",
127
- "minimum": 0
128
- }
129
- },
130
- "additionalProperties": false
131
- }
1
+ {
2
+ "title": "Xiaohongshu Image-Text Publish Form (Strict Standards)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "description",
7
+ "images",
8
+ "visibleType"
9
+ ],
10
+ "properties": {
11
+ "formType": {
12
+ "type": "string",
13
+ "const": "task"
14
+ },
15
+ "title": {
16
+ "type": "string",
17
+ "maxLength": 20
18
+ },
19
+ "description": {
20
+ "type": "string",
21
+ "minLength": 1,
22
+ "maxLength": 1000
23
+ },
24
+ "visibleType": {
25
+ "type": "number",
26
+ "enum": [
27
+ 0,
28
+ 1,
29
+ 3
30
+ ],
31
+ "default": 0
32
+ },
33
+ "images": {
34
+ "type": "array",
35
+ "minItems": 1,
36
+ "maxItems": 18,
37
+ "items": {
38
+ "type": "object",
39
+ "required": [
40
+ "key",
41
+ "size",
42
+ "width",
43
+ "height",
44
+ "format"
45
+ ],
46
+ "properties": {
47
+ "key": {
48
+ "type": "string"
49
+ },
50
+ "size": {
51
+ "type": "integer"
52
+ },
53
+ "width": {
54
+ "type": "integer"
55
+ },
56
+ "height": {
57
+ "type": "integer"
58
+ },
59
+ "format": {
60
+ "type": "string",
61
+ "enum": [
62
+ "jpg",
63
+ "jpeg",
64
+ "png",
65
+ "gif",
66
+ "webp"
67
+ ]
68
+ }
69
+ }
70
+ }
71
+ },
72
+ "location": {
73
+ "type": "object",
74
+ "required": [
75
+ "id",
76
+ "text",
77
+ "raw"
78
+ ],
79
+ "properties": {
80
+ "id": {
81
+ "type": "string"
82
+ },
83
+ "text": {
84
+ "type": "string"
85
+ },
86
+ "raw": {
87
+ "type": "object"
88
+ }
89
+ },
90
+ "additionalProperties": true
91
+ },
92
+ "music": {
93
+ "type": "object",
94
+ "required": [
95
+ "yixiaoerId",
96
+ "yixiaoerName",
97
+ "raw"
98
+ ],
99
+ "properties": {
100
+ "yixiaoerId": {
101
+ "type": "string"
102
+ },
103
+ "yixiaoerName": {
104
+ "type": "string"
105
+ },
106
+ "duration": {
107
+ "type": "number"
108
+ },
109
+ "playUrl": {
110
+ "type": "string"
111
+ },
112
+ "raw": {
113
+ "type": "object"
114
+ }
115
+ }
116
+ },
117
+ "collection": {
118
+ "type": "object",
119
+ "required": [
120
+ "yixiaoerId",
121
+ "yixiaoerName",
122
+ "raw"
123
+ ]
124
+ },
125
+ "scheduledTime": {
126
+ "type": "number",
127
+ "minimum": 0
128
+ }
129
+ },
130
+ "additionalProperties": false
131
+ }