@yixiaoermail/cli 3.1.0 → 3.1.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 (88) hide show
  1. package/bin/ensure-executable.js +25 -0
  2. package/bin/postinstall.js +18 -0
  3. package/bin/resolve-binary.js +36 -0
  4. package/bin/yxer.js +8 -17
  5. package/dist/yxer-darwin-amd64 +0 -0
  6. package/dist/yxer-darwin-arm64 +0 -0
  7. package/dist/yxer-linux-amd64 +0 -0
  8. package/dist/yxer-linux-arm64 +0 -0
  9. package/dist/yxer-windows-amd64.exe +0 -0
  10. package/dist/yxer-windows-arm64.exe +0 -0
  11. package/package.json +7 -1
  12. package/references/cli/command-reference.md +234 -0
  13. package/references/cli/skill-install.md +76 -0
  14. package/references/legacy/capabilities.md +32 -0
  15. package/references/platforms/index.md +20 -0
  16. package/references/workflows/account-selection.md +38 -0
  17. package/references/workflows/common-rules.md +257 -0
  18. package/references/workflows/draft-workflow.md +44 -0
  19. package/references/workflows/local-vs-cloud.md +50 -0
  20. package/references/workflows/material-workflow.md +43 -0
  21. package/references/workflows/payload-sourcing.md +70 -0
  22. package/references/workflows/publish-article.md +66 -0
  23. package/references/workflows/publish-imageText.md +62 -0
  24. package/references/workflows/publish-troubleshooting.md +50 -0
  25. package/references/workflows/publish-video.md +63 -0
  26. package/schemas/account.schema.json +19 -0
  27. package/schemas/platforms/acfun.article.schema.json +117 -0
  28. package/schemas/platforms/acfun.video.schema.json +139 -0
  29. package/schemas/platforms/aiqiyi.article.schema.json +29 -0
  30. package/schemas/platforms/aiqiyi.video.schema.json +154 -0
  31. package/schemas/platforms/baijiahao.article.schema.json +160 -0
  32. package/schemas/platforms/baijiahao.imageText.schema.json +110 -0
  33. package/schemas/platforms/baijiahao.video.schema.json +179 -0
  34. package/schemas/platforms/bilibili.article.schema.json +109 -0
  35. package/schemas/platforms/bilibili.video.schema.json +175 -0
  36. package/schemas/platforms/chejiahao.article.schema.json +108 -0
  37. package/schemas/platforms/chejiahao.video.schema.json +111 -0
  38. package/schemas/platforms/csdn.article.schema.json +106 -0
  39. package/schemas/platforms/dayuhao.article.schema.json +106 -0
  40. package/schemas/platforms/dayuhao.video.schema.json +153 -0
  41. package/schemas/platforms/dewu.video.schema.json +134 -0
  42. package/schemas/platforms/douban.article.schema.json +48 -0
  43. package/schemas/platforms/douyin.article.schema.json +318 -0
  44. package/schemas/platforms/douyin.imageText.schema.json +217 -0
  45. package/schemas/platforms/douyin.video.schema.json +744 -0
  46. package/schemas/platforms/duoduoshipin.video.schema.json +108 -0
  47. package/schemas/platforms/fengwang.video.schema.json +135 -0
  48. package/schemas/platforms/jianshu.article.schema.json +33 -0
  49. package/schemas/platforms/kuaichuanhao.article.schema.json +83 -0
  50. package/schemas/platforms/kuaishou.imageText.schema.json +170 -0
  51. package/schemas/platforms/kuaishou.video.schema.json +240 -0
  52. package/schemas/platforms/meipai.video.schema.json +123 -0
  53. package/schemas/platforms/meiyou.video.schema.json +96 -0
  54. package/schemas/platforms/pipixia.video.schema.json +94 -0
  55. package/schemas/platforms/qiehao.article.schema.json +89 -0
  56. package/schemas/platforms/qiehao.video.schema.json +147 -0
  57. package/schemas/platforms/shipinhao.imageText.schema.json +138 -0
  58. package/schemas/platforms/shipinhao.video.schema.json +236 -0
  59. package/schemas/platforms/souhuhao.article.schema.json +73 -0
  60. package/schemas/platforms/souhuhao.video.schema.json +171 -0
  61. package/schemas/platforms/souhushipin.video.schema.json +115 -0
  62. package/schemas/platforms/tengxunshipin.video.schema.json +114 -0
  63. package/schemas/platforms/toutiaohao.article.schema.json +165 -0
  64. package/schemas/platforms/toutiaohao.imageText.schema.json +83 -0
  65. package/schemas/platforms/toutiaohao.video.schema.json +134 -0
  66. package/schemas/platforms/wangyihao.article.schema.json +85 -0
  67. package/schemas/platforms/wangyihao.video.schema.json +151 -0
  68. package/schemas/platforms/weishi.video.schema.json +101 -0
  69. package/schemas/platforms/weixin.account.article.schema.json +148 -0
  70. package/schemas/platforms/xhs.imageText.schema.json +119 -0
  71. package/schemas/platforms/xiaohongshu.video.schema.json +224 -0
  72. package/schemas/platforms/xiaohongshushop.video.schema.json +141 -0
  73. package/schemas/platforms/xinlang.article.schema.json +69 -0
  74. package/schemas/platforms/xinlang.imageText.schema.json +85 -0
  75. package/schemas/platforms/xinlang.video.schema.json +151 -0
  76. package/schemas/platforms/xueqiuhao.article.schema.json +84 -0
  77. package/schemas/platforms/yichehao.article.schema.json +140 -0
  78. package/schemas/platforms/yichehao.video.schema.json +101 -0
  79. package/schemas/platforms/yidianhao.article.schema.json +77 -0
  80. package/schemas/platforms/yidianhao.video.schema.json +152 -0
  81. package/schemas/platforms/zhihu.article.schema.json +104 -0
  82. package/schemas/platforms/zhihu.imageText.schema.json +61 -0
  83. package/schemas/platforms/zhihu.video.schema.json +144 -0
  84. package/schemas/publish.schema.json +26 -0
  85. package/skills/yixiaoer/SKILL.md +1 -1
  86. package/skills/yixiaoer/plugin.json +1 -1
  87. package/skills/yixiaoer/references/platforms/article/toutiaohao.md +28 -28
  88. package/skills/yixiaoer/references/platforms/imageText/baijiahao.md +41 -30
@@ -0,0 +1,151 @@
1
+ {
2
+ "title": "新浪微博视频发布表单 (Xinlang Video)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "description",
8
+ "type",
9
+ "video"
10
+ ],
11
+ "properties": {
12
+ "formType": {
13
+ "type": "string",
14
+ "const": "task"
15
+ },
16
+ "title": {
17
+ "type": "string",
18
+ "minLength": 1,
19
+ "maxLength": 80
20
+ },
21
+ "description": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "maxLength": 2000
25
+ },
26
+ "type": {
27
+ "type": "number",
28
+ "enum": [
29
+ 1,
30
+ 2,
31
+ 3
32
+ ],
33
+ "default": 1
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
+ ]
70
+ }
71
+ }
72
+ },
73
+ "cover": {
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
+ },
88
+ "width": {
89
+ "type": "integer"
90
+ },
91
+ "height": {
92
+ "type": "integer"
93
+ }
94
+ }
95
+ },
96
+ "coverKey": {
97
+ "type": "string"
98
+ },
99
+ "location": {
100
+ "type": "object",
101
+ "required": [
102
+ "yixiaoerId",
103
+ "yixiaoerName",
104
+ "raw"
105
+ ],
106
+ "properties": {
107
+ "yixiaoerId": {
108
+ "type": "string"
109
+ },
110
+ "yixiaoerName": {
111
+ "type": "string"
112
+ },
113
+ "raw": {
114
+ "type": "object"
115
+ }
116
+ }
117
+ },
118
+ "collection": {
119
+ "type": "object",
120
+ "required": [
121
+ "yixiaoerId",
122
+ "yixiaoerName",
123
+ "raw"
124
+ ],
125
+ "properties": {
126
+ "yixiaoerId": {
127
+ "type": "string"
128
+ },
129
+ "yixiaoerName": {
130
+ "type": "string"
131
+ },
132
+ "raw": {
133
+ "type": "object"
134
+ }
135
+ }
136
+ },
137
+ "scheduledTime": {
138
+ "type": "number",
139
+ "minimum": 0
140
+ },
141
+ "pubType": {
142
+ "type": "number",
143
+ "enum": [
144
+ 0,
145
+ 1
146
+ ],
147
+ "default": 1
148
+ }
149
+ },
150
+ "additionalProperties": false
151
+ }
@@ -0,0 +1,84 @@
1
+ {
2
+ "title": "雪球号文章发布表单 (XueQiuHao Article)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "content",
8
+ "pubType",
9
+ "visibleType"
10
+ ],
11
+ "properties": {
12
+ "formType": {
13
+ "type": "string",
14
+ "const": "task"
15
+ },
16
+ "title": {
17
+ "type": "string",
18
+ "minLength": 9,
19
+ "maxLength": 100
20
+ },
21
+ "content": {
22
+ "type": "string",
23
+ "minLength": 1
24
+ },
25
+ "pubType": {
26
+ "type": "number",
27
+ "enum": [
28
+ 0,
29
+ 1
30
+ ],
31
+ "default": 1
32
+ },
33
+ "visibleType": {
34
+ "type": "number",
35
+ "enum": [
36
+ 0,
37
+ 1
38
+ ],
39
+ "default": 0
40
+ },
41
+ "covers": {
42
+ "type": "array",
43
+ "items": {
44
+ "type": "object",
45
+ "required": [
46
+ "key",
47
+ "size",
48
+ "width",
49
+ "height"
50
+ ],
51
+ "properties": {
52
+ "key": {
53
+ "type": "string"
54
+ },
55
+ "size": {
56
+ "type": "integer",
57
+ "minimum": 1
58
+ },
59
+ "width": {
60
+ "type": "integer",
61
+ "minimum": 1
62
+ },
63
+ "height": {
64
+ "type": "integer",
65
+ "minimum": 1
66
+ }
67
+ }
68
+ }
69
+ },
70
+ "declaration": {
71
+ "type": "number",
72
+ "enum": [
73
+ 0,
74
+ 1
75
+ ],
76
+ "default": 0
77
+ },
78
+ "scheduledTime": {
79
+ "type": "number",
80
+ "minimum": 0
81
+ }
82
+ },
83
+ "additionalProperties": false
84
+ }
@@ -0,0 +1,140 @@
1
+ {
2
+ "title": "易车号文章发布表单 (YiCheHao Article)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "content",
8
+ "covers",
9
+ "verticalCovers",
10
+ "pubType"
11
+ ],
12
+ "properties": {
13
+ "formType": {
14
+ "type": "string",
15
+ "const": "task"
16
+ },
17
+ "title": {
18
+ "type": "string",
19
+ "minLength": 1,
20
+ "maxLength": 28
21
+ },
22
+ "content": {
23
+ "type": "string",
24
+ "minLength": 1
25
+ },
26
+ "covers": {
27
+ "type": "array",
28
+ "minItems": 1,
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
+ "verticalCovers": {
57
+ "type": "array",
58
+ "minItems": 1,
59
+ "items": {
60
+ "type": "object",
61
+ "required": [
62
+ "key",
63
+ "size",
64
+ "width",
65
+ "height"
66
+ ],
67
+ "properties": {
68
+ "key": {
69
+ "type": "string"
70
+ },
71
+ "size": {
72
+ "type": "integer",
73
+ "minimum": 1
74
+ },
75
+ "width": {
76
+ "type": "integer",
77
+ "minimum": 1
78
+ },
79
+ "height": {
80
+ "type": "integer",
81
+ "minimum": 1
82
+ }
83
+ }
84
+ }
85
+ },
86
+ "pubType": {
87
+ "type": "number",
88
+ "enum": [
89
+ 0,
90
+ 1
91
+ ],
92
+ "default": 1
93
+ },
94
+ "declaration": {
95
+ "type": "number",
96
+ "enum": [
97
+ 0,
98
+ 1,
99
+ 2,
100
+ 3,
101
+ 4
102
+ ]
103
+ },
104
+ "allowForward": {
105
+ "type": "boolean",
106
+ "default": false
107
+ },
108
+ "allowAbstract": {
109
+ "type": "boolean",
110
+ "default": false
111
+ },
112
+ "topics": {
113
+ "type": "array",
114
+ "items": {
115
+ "type": "object",
116
+ "required": [
117
+ "yixiaoerId",
118
+ "yixiaoerName",
119
+ "raw"
120
+ ],
121
+ "properties": {
122
+ "yixiaoerId": {
123
+ "type": "string"
124
+ },
125
+ "yixiaoerName": {
126
+ "type": "string"
127
+ },
128
+ "raw": {
129
+ "type": "object"
130
+ }
131
+ }
132
+ }
133
+ },
134
+ "scheduledTime": {
135
+ "type": "number",
136
+ "minimum": 0
137
+ }
138
+ },
139
+ "additionalProperties": false
140
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "title": "易车号视频发布表单 (YiCheHao Video)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "description"
8
+ ],
9
+ "properties": {
10
+ "formType": {
11
+ "type": "string",
12
+ "const": "task"
13
+ },
14
+ "title": {
15
+ "type": "string",
16
+ "minLength": 1
17
+ },
18
+ "description": {
19
+ "type": "string",
20
+ "minLength": 1
21
+ },
22
+ "video": {
23
+ "type": "object",
24
+ "required": [
25
+ "key",
26
+ "size",
27
+ "width",
28
+ "height"
29
+ ],
30
+ "properties": {
31
+ "key": {
32
+ "type": "string"
33
+ },
34
+ "size": {
35
+ "type": "integer",
36
+ "minimum": 1
37
+ },
38
+ "width": {
39
+ "type": "integer",
40
+ "minimum": 1
41
+ },
42
+ "height": {
43
+ "type": "integer",
44
+ "minimum": 1
45
+ },
46
+ "duration": {
47
+ "type": "number",
48
+ "minimum": 1
49
+ },
50
+ "format": {
51
+ "type": "string",
52
+ "enum": [
53
+ "mp4",
54
+ "mov",
55
+ "flv",
56
+ "avi"
57
+ ]
58
+ }
59
+ }
60
+ },
61
+ "cover": {
62
+ "type": "object",
63
+ "required": [
64
+ "key",
65
+ "size",
66
+ "width",
67
+ "height"
68
+ ],
69
+ "properties": {
70
+ "key": {
71
+ "type": "string"
72
+ },
73
+ "size": {
74
+ "type": "integer"
75
+ },
76
+ "width": {
77
+ "type": "integer"
78
+ },
79
+ "height": {
80
+ "type": "integer"
81
+ }
82
+ }
83
+ },
84
+ "coverKey": {
85
+ "type": "string"
86
+ },
87
+ "scheduledTime": {
88
+ "type": "number",
89
+ "minimum": 0
90
+ },
91
+ "pubType": {
92
+ "type": "number",
93
+ "enum": [
94
+ 0,
95
+ 1
96
+ ],
97
+ "default": 1
98
+ }
99
+ },
100
+ "additionalProperties": false
101
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "title": "一点号文章发布表单 (YiDianHao Article)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "content",
8
+ "covers",
9
+ "pubType"
10
+ ],
11
+ "properties": {
12
+ "formType": {
13
+ "type": "string",
14
+ "const": "task"
15
+ },
16
+ "title": {
17
+ "type": "string",
18
+ "minLength": 5,
19
+ "maxLength": 64
20
+ },
21
+ "content": {
22
+ "type": "string",
23
+ "minLength": 1
24
+ },
25
+ "covers": {
26
+ "type": "array",
27
+ "minItems": 1,
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
+ "pubType": {
56
+ "type": "number",
57
+ "enum": [
58
+ 0,
59
+ 1
60
+ ],
61
+ "default": 1
62
+ },
63
+ "declaration": {
64
+ "type": "number",
65
+ "enum": [
66
+ 3,
67
+ 4,
68
+ 5
69
+ ]
70
+ },
71
+ "scheduledTime": {
72
+ "type": "number",
73
+ "minimum": 0
74
+ }
75
+ },
76
+ "additionalProperties": false
77
+ }
@@ -0,0 +1,152 @@
1
+ {
2
+ "title": "一点号视频发布表单 (YiDianHao Video)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "description",
8
+ "tags",
9
+ "category",
10
+ "type"
11
+ ],
12
+ "properties": {
13
+ "formType": {
14
+ "type": "string",
15
+ "const": "task"
16
+ },
17
+ "title": {
18
+ "type": "string",
19
+ "minLength": 1
20
+ },
21
+ "description": {
22
+ "type": "string",
23
+ "minLength": 1
24
+ },
25
+ "tags": {
26
+ "type": "array",
27
+ "minItems": 1,
28
+ "maxItems": 10,
29
+ "items": {
30
+ "type": "string",
31
+ "minLength": 1
32
+ }
33
+ },
34
+ "category": {
35
+ "type": "array",
36
+ "minItems": 1,
37
+ "items": {
38
+ "type": "object",
39
+ "required": [
40
+ "id",
41
+ "text",
42
+ "raw"
43
+ ],
44
+ "properties": {
45
+ "id": {
46
+ "type": "string"
47
+ },
48
+ "text": {
49
+ "type": "string"
50
+ },
51
+ "raw": {
52
+ "type": "object"
53
+ }
54
+ }
55
+ }
56
+ },
57
+ "type": {
58
+ "type": "number",
59
+ "enum": [
60
+ 0,
61
+ 1
62
+ ],
63
+ "default": 1
64
+ },
65
+ "declaration": {
66
+ "type": "number",
67
+ "enum": [
68
+ 3,
69
+ 4,
70
+ 5
71
+ ]
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
+ "pubType": {
143
+ "type": "number",
144
+ "enum": [
145
+ 0,
146
+ 1
147
+ ],
148
+ "default": 1
149
+ }
150
+ },
151
+ "additionalProperties": false
152
+ }