@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,111 @@
1
+ {
2
+ "title": "车家号视频发布表单 (Chejiahao Video)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "description",
8
+ "type"
9
+ ],
10
+ "properties": {
11
+ "formType": {
12
+ "type": "string",
13
+ "const": "task"
14
+ },
15
+ "title": {
16
+ "type": "string",
17
+ "minLength": 1
18
+ },
19
+ "description": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ },
23
+ "type": {
24
+ "type": "number",
25
+ "enum": [
26
+ 1,
27
+ 3,
28
+ 13
29
+ ],
30
+ "default": 1
31
+ },
32
+ "video": {
33
+ "type": "object",
34
+ "required": [
35
+ "key",
36
+ "size",
37
+ "width",
38
+ "height"
39
+ ],
40
+ "properties": {
41
+ "key": {
42
+ "type": "string"
43
+ },
44
+ "size": {
45
+ "type": "integer",
46
+ "minimum": 1
47
+ },
48
+ "width": {
49
+ "type": "integer",
50
+ "minimum": 1
51
+ },
52
+ "height": {
53
+ "type": "integer",
54
+ "minimum": 1
55
+ },
56
+ "duration": {
57
+ "type": "number",
58
+ "minimum": 1
59
+ },
60
+ "format": {
61
+ "type": "string",
62
+ "enum": [
63
+ "mp4",
64
+ "mov",
65
+ "flv",
66
+ "avi"
67
+ ]
68
+ }
69
+ }
70
+ },
71
+ "cover": {
72
+ "type": "object",
73
+ "required": [
74
+ "key",
75
+ "size",
76
+ "width",
77
+ "height"
78
+ ],
79
+ "properties": {
80
+ "key": {
81
+ "type": "string"
82
+ },
83
+ "size": {
84
+ "type": "integer"
85
+ },
86
+ "width": {
87
+ "type": "integer"
88
+ },
89
+ "height": {
90
+ "type": "integer"
91
+ }
92
+ }
93
+ },
94
+ "coverKey": {
95
+ "type": "string"
96
+ },
97
+ "scheduledTime": {
98
+ "type": "number",
99
+ "minimum": 0
100
+ },
101
+ "pubType": {
102
+ "type": "number",
103
+ "enum": [
104
+ 0,
105
+ 1
106
+ ],
107
+ "default": 1
108
+ }
109
+ },
110
+ "additionalProperties": false
111
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "title": "CSDN 文章发布表单 (CSDN Article)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "content",
8
+ "desc",
9
+ "covers",
10
+ "tags",
11
+ "createType",
12
+ "pubType"
13
+ ],
14
+ "properties": {
15
+ "formType": {
16
+ "type": "string",
17
+ "const": "task"
18
+ },
19
+ "title": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ },
23
+ "content": {
24
+ "type": "string",
25
+ "minLength": 1
26
+ },
27
+ "desc": {
28
+ "type": "string",
29
+ "minLength": 1
30
+ },
31
+ "covers": {
32
+ "type": "array",
33
+ "minItems": 1,
34
+ "items": {
35
+ "type": "object",
36
+ "required": [
37
+ "key",
38
+ "size",
39
+ "width",
40
+ "height"
41
+ ],
42
+ "properties": {
43
+ "key": {
44
+ "type": "string"
45
+ },
46
+ "size": {
47
+ "type": "integer",
48
+ "minimum": 1
49
+ },
50
+ "width": {
51
+ "type": "integer",
52
+ "minimum": 1
53
+ },
54
+ "height": {
55
+ "type": "integer",
56
+ "minimum": 1
57
+ }
58
+ }
59
+ }
60
+ },
61
+ "tags": {
62
+ "type": "array",
63
+ "minItems": 1,
64
+ "items": {
65
+ "type": "string",
66
+ "minLength": 1
67
+ }
68
+ },
69
+ "createType": {
70
+ "type": "number",
71
+ "enum": [
72
+ 1,
73
+ 2,
74
+ 4
75
+ ],
76
+ "default": 1
77
+ },
78
+ "pubType": {
79
+ "type": "number",
80
+ "enum": [
81
+ 0,
82
+ 1
83
+ ],
84
+ "default": 1
85
+ },
86
+ "declaration": {
87
+ "type": "number",
88
+ "enum": [
89
+ 0,
90
+ 1,
91
+ 2,
92
+ 3
93
+ ],
94
+ "default": 0
95
+ },
96
+ "contentSourceUrl": {
97
+ "type": "string",
98
+ "format": "uri"
99
+ },
100
+ "scheduledTime": {
101
+ "type": "number",
102
+ "minimum": 0
103
+ }
104
+ },
105
+ "additionalProperties": false
106
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "title": "大鱼号文章发布表单 (DaYuHao 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": 1,
18
+ "maxLength": 50
19
+ },
20
+ "content": {
21
+ "type": "string",
22
+ "minLength": 1,
23
+ "maxLength": 50000
24
+ },
25
+ "pubType": {
26
+ "type": "number",
27
+ "enum": [
28
+ 0,
29
+ 1
30
+ ],
31
+ "default": 1
32
+ },
33
+ "covers": {
34
+ "type": "array",
35
+ "items": {
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
+ }
60
+ }
61
+ },
62
+ "verticalCovers": {
63
+ "type": "array",
64
+ "items": {
65
+ "type": "object",
66
+ "required": [
67
+ "key",
68
+ "size",
69
+ "width",
70
+ "height"
71
+ ],
72
+ "properties": {
73
+ "key": {
74
+ "type": "string"
75
+ },
76
+ "size": {
77
+ "type": "integer",
78
+ "minimum": 1
79
+ },
80
+ "width": {
81
+ "type": "integer",
82
+ "minimum": 1
83
+ },
84
+ "height": {
85
+ "type": "integer",
86
+ "minimum": 1
87
+ }
88
+ }
89
+ }
90
+ },
91
+ "declaration": {
92
+ "type": "number",
93
+ "enum": [
94
+ 0,
95
+ 3,
96
+ 4
97
+ ],
98
+ "default": 0
99
+ },
100
+ "scheduledTime": {
101
+ "type": "number",
102
+ "minimum": 0
103
+ }
104
+ },
105
+ "additionalProperties": false
106
+ }
@@ -0,0 +1,153 @@
1
+ {
2
+ "title": "大鱼号视频发布表单 (DaYuHao 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": 50
20
+ },
21
+ "description": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "maxLength": 1000
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
+ "category": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "object",
47
+ "required": [
48
+ "yixiaoerId",
49
+ "yixiaoerName",
50
+ "raw"
51
+ ],
52
+ "properties": {
53
+ "yixiaoerId": {
54
+ "type": "string"
55
+ },
56
+ "yixiaoerName": {
57
+ "type": "string"
58
+ },
59
+ "raw": {
60
+ "type": "object"
61
+ }
62
+ }
63
+ }
64
+ },
65
+ "createType": {
66
+ "type": "number",
67
+ "enum": [
68
+ 0,
69
+ 1
70
+ ],
71
+ "default": 0
72
+ },
73
+ "declaration": {
74
+ "type": "number",
75
+ "enum": [
76
+ 0,
77
+ 3,
78
+ 4
79
+ ],
80
+ "default": 0
81
+ },
82
+ "video": {
83
+ "type": "object",
84
+ "required": [
85
+ "key",
86
+ "size",
87
+ "width",
88
+ "height"
89
+ ],
90
+ "properties": {
91
+ "key": {
92
+ "type": "string"
93
+ },
94
+ "size": {
95
+ "type": "integer",
96
+ "minimum": 1
97
+ },
98
+ "width": {
99
+ "type": "integer",
100
+ "minimum": 1
101
+ },
102
+ "height": {
103
+ "type": "integer",
104
+ "minimum": 1
105
+ },
106
+ "duration": {
107
+ "type": "number",
108
+ "minimum": 1
109
+ },
110
+ "format": {
111
+ "type": "string",
112
+ "enum": [
113
+ "mp4",
114
+ "mov",
115
+ "flv",
116
+ "mkv"
117
+ ]
118
+ }
119
+ }
120
+ },
121
+ "cover": {
122
+ "type": "object",
123
+ "required": [
124
+ "key",
125
+ "size",
126
+ "width",
127
+ "height"
128
+ ],
129
+ "properties": {
130
+ "key": {
131
+ "type": "string"
132
+ },
133
+ "size": {
134
+ "type": "integer"
135
+ },
136
+ "width": {
137
+ "type": "integer"
138
+ },
139
+ "height": {
140
+ "type": "integer"
141
+ }
142
+ }
143
+ },
144
+ "coverKey": {
145
+ "type": "string"
146
+ },
147
+ "scheduledTime": {
148
+ "type": "number",
149
+ "minimum": 0
150
+ }
151
+ },
152
+ "additionalProperties": false
153
+ }
@@ -0,0 +1,134 @@
1
+ {
2
+ "title": "得物视频发布表单 (Dewu Video)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "description",
8
+ "declaration"
9
+ ],
10
+ "properties": {
11
+ "formType": {
12
+ "type": "string",
13
+ "const": "task"
14
+ },
15
+ "title": {
16
+ "type": "string",
17
+ "minLength": 1
18
+ },
19
+ "description": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ },
23
+ "declaration": {
24
+ "type": "number",
25
+ "enum": [
26
+ 0,
27
+ 1,
28
+ 2,
29
+ 3,
30
+ 4
31
+ ]
32
+ },
33
+ "category": {
34
+ "type": "array",
35
+ "items": {
36
+ "type": "object",
37
+ "required": [
38
+ "id",
39
+ "text",
40
+ "raw"
41
+ ],
42
+ "properties": {
43
+ "id": {
44
+ "type": "string"
45
+ },
46
+ "text": {
47
+ "type": "string"
48
+ },
49
+ "raw": {
50
+ "type": "object"
51
+ }
52
+ }
53
+ }
54
+ },
55
+ "video": {
56
+ "type": "object",
57
+ "required": [
58
+ "key",
59
+ "size",
60
+ "width",
61
+ "height"
62
+ ],
63
+ "properties": {
64
+ "key": {
65
+ "type": "string"
66
+ },
67
+ "size": {
68
+ "type": "integer",
69
+ "minimum": 1
70
+ },
71
+ "width": {
72
+ "type": "integer",
73
+ "minimum": 1
74
+ },
75
+ "height": {
76
+ "type": "integer",
77
+ "minimum": 1
78
+ },
79
+ "duration": {
80
+ "type": "number",
81
+ "minimum": 1
82
+ },
83
+ "format": {
84
+ "type": "string",
85
+ "enum": [
86
+ "mp4",
87
+ "mov",
88
+ "flv",
89
+ "avi"
90
+ ]
91
+ }
92
+ }
93
+ },
94
+ "cover": {
95
+ "type": "object",
96
+ "required": [
97
+ "key",
98
+ "size",
99
+ "width",
100
+ "height"
101
+ ],
102
+ "properties": {
103
+ "key": {
104
+ "type": "string"
105
+ },
106
+ "size": {
107
+ "type": "integer"
108
+ },
109
+ "width": {
110
+ "type": "integer"
111
+ },
112
+ "height": {
113
+ "type": "integer"
114
+ }
115
+ }
116
+ },
117
+ "coverKey": {
118
+ "type": "string"
119
+ },
120
+ "scheduledTime": {
121
+ "type": "number",
122
+ "minimum": 0
123
+ },
124
+ "pubType": {
125
+ "type": "number",
126
+ "enum": [
127
+ 0,
128
+ 1
129
+ ],
130
+ "default": 1
131
+ }
132
+ },
133
+ "additionalProperties": false
134
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "title": "豆瓣文章发布表单 (DouBan Article)",
3
+ "type": "object",
4
+ "required": [
5
+ "formType",
6
+ "title",
7
+ "content",
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
+ },
20
+ "content": {
21
+ "type": "string",
22
+ "minLength": 1
23
+ },
24
+ "createType": {
25
+ "type": "number",
26
+ "enum": [
27
+ 0,
28
+ 1
29
+ ],
30
+ "default": 1
31
+ },
32
+ "pubType": {
33
+ "type": "number",
34
+ "enum": [
35
+ 0,
36
+ 1
37
+ ],
38
+ "default": 1
39
+ },
40
+ "tags": {
41
+ "type": "array",
42
+ "items": {
43
+ "type": "string"
44
+ }
45
+ }
46
+ },
47
+ "additionalProperties": false
48
+ }