@yixiaoermail/cli 3.2.6 → 3.2.7

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.
package/checksums.txt CHANGED
@@ -1,6 +1,6 @@
1
- 037276dc914524b60ac8e43be383ee145a2934c6e4a4c451a3ed41594e7a74fe yxer-cli-3.2.6-windows-amd64.zip
2
- eaa92317648534616ead48011c90fee0d22beb8db6fb8b9dbafc152eb71c1f40 yxer-cli-3.2.6-windows-arm64.zip
3
- de5cbc9759a9d6b659d1f35b4f5f337228b3ad76b01a0eb19c30ddfd646243b6 yxer-cli-3.2.6-darwin-amd64.tar.gz
4
- 636ebab7e934c8ec8f5ce951b18dd0d7e477f27c83e210051b860c4d02dfdf3e yxer-cli-3.2.6-darwin-arm64.tar.gz
5
- c334a3e1de833bc4e24cf6450d01fb7bbe676ef94376ba28bed81f64d407f8d8 yxer-cli-3.2.6-linux-amd64.tar.gz
6
- 8ddbcb70a16eb08362e2148a86246d51b2f428a08c00db043c42f361cefb10be yxer-cli-3.2.6-linux-arm64.tar.gz
1
+ 79c3eb4d076d3b0e7fb307f74dd5e2a1277777fd7a7d0fb21fe85db0504bd495 yxer-cli-3.2.7-windows-amd64.zip
2
+ 612550d100ba1bf2b913057ff5dce69398f5f621521ac0e99a486e68a8b4a217 yxer-cli-3.2.7-windows-arm64.zip
3
+ 93ea8664d3b26efc908c033cbaebf52bb170b852c17037c20d5b1098177017f1 yxer-cli-3.2.7-darwin-amd64.tar.gz
4
+ df053bb7a8731679777fa7808873f3208d242c3e6efc945dda2a3651d4c3bb42 yxer-cli-3.2.7-darwin-arm64.tar.gz
5
+ c347d5c564433d5428703c835e8bc75f0a4bd3be0fab42967e775016d74f9fcf yxer-cli-3.2.7-linux-amd64.tar.gz
6
+ 32291846694826d179823e4126fa92c7c4dc75fc78acf97cb477e046c7661cbd yxer-cli-3.2.7-linux-arm64.tar.gz
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yixiaoermail/cli",
3
- "version": "3.2.6",
3
+ "version": "3.2.7",
4
4
  "description": "Yixiaoer CLI packaged for npm global installation",
5
5
  "bin": {
6
6
  "yxer": "bin/yxer.js"
@@ -13,7 +13,7 @@
13
13
 
14
14
  ## 执行逻辑 (Logic Flow)
15
15
  1. **内容处理**:确保文章正文符合Jianshu要求的格式。
16
- 2. **参数装配**:提取标题、正文及封面信息至 `contentPublishForm`。
16
+ 2. **参数装配**:提取标题、正文至 `contentPublishForm`;简书文章不需要封面。
17
17
  3. **指令执行**:先执行 `yxer validate <platform> <type> <payload.json>`,再执行 `yxer publish <type> <platform> <payload.json> [--publish-channel local --client-id <clientId>]`。
18
18
 
19
19
 
@@ -53,6 +53,4 @@
53
53
 
54
54
  ## 相关接口
55
55
 
56
- | 目标数据 | 对应 Action | 相关文档 |
57
- | :--- | :--- | :--- |
58
- | `covers.key` | `upload` | [资源上传](../../upload-resource.md) |
56
+ 简书文章发布不需要上传或传入封面。
@@ -76,7 +76,8 @@
76
76
  "type": "object",
77
77
  "required": [
78
78
  "yixiaoerId",
79
- "yixiaoerName"
79
+ "yixiaoerName",
80
+ "raw"
80
81
  ],
81
82
  "properties": {
82
83
  "yixiaoerId": {
@@ -84,6 +85,9 @@
84
85
  },
85
86
  "yixiaoerName": {
86
87
  "type": "string"
88
+ },
89
+ "raw": {
90
+ "type": "object"
87
91
  }
88
92
  },
89
93
  "additionalProperties": false
@@ -85,15 +85,15 @@
85
85
  "location": {
86
86
  "type": "object",
87
87
  "required": [
88
- "id",
89
- "text",
88
+ "yixiaoerId",
89
+ "yixiaoerName",
90
90
  "raw"
91
91
  ],
92
92
  "properties": {
93
- "id": {
93
+ "yixiaoerId": {
94
94
  "type": "string"
95
95
  },
96
- "text": {
96
+ "yixiaoerName": {
97
97
  "type": "string"
98
98
  },
99
99
  "raw": {
@@ -68,15 +68,15 @@
68
68
  "location": {
69
69
  "type": "object",
70
70
  "required": [
71
- "id",
72
- "text",
71
+ "yixiaoerId",
72
+ "yixiaoerName",
73
73
  "raw"
74
74
  ],
75
75
  "properties": {
76
- "id": {
76
+ "yixiaoerId": {
77
77
  "type": "string"
78
78
  },
79
- "text": {
79
+ "yixiaoerName": {
80
80
  "type": "string"
81
81
  },
82
82
  "raw": {
@@ -35,15 +35,15 @@
35
35
  "items": {
36
36
  "type": "object",
37
37
  "required": [
38
- "id",
39
- "text",
38
+ "yixiaoerId",
39
+ "yixiaoerName",
40
40
  "raw"
41
41
  ],
42
42
  "properties": {
43
- "id": {
43
+ "yixiaoerId": {
44
44
  "type": "string"
45
45
  },
46
- "text": {
46
+ "yixiaoerName": {
47
47
  "type": "string"
48
48
  },
49
49
  "raw": {
@@ -36,15 +36,15 @@
36
36
  "items": {
37
37
  "type": "object",
38
38
  "required": [
39
- "id",
40
- "text",
39
+ "yixiaoerId",
40
+ "yixiaoerName",
41
41
  "raw"
42
42
  ],
43
43
  "properties": {
44
- "id": {
44
+ "yixiaoerId": {
45
45
  "type": "string"
46
46
  },
47
- "text": {
47
+ "yixiaoerName": {
48
48
  "type": "string"
49
49
  },
50
50
  "raw": {
@@ -98,15 +98,15 @@
98
98
  "location": {
99
99
  "type": "object",
100
100
  "required": [
101
- "id",
102
- "text",
101
+ "yixiaoerId",
102
+ "yixiaoerName",
103
103
  "raw"
104
104
  ],
105
105
  "properties": {
106
- "id": {
106
+ "yixiaoerId": {
107
107
  "type": "string"
108
108
  },
109
- "text": {
109
+ "yixiaoerName": {
110
110
  "type": "string"
111
111
  },
112
112
  "raw": {
@@ -85,15 +85,15 @@
85
85
  "location": {
86
86
  "type": "object",
87
87
  "required": [
88
- "id",
89
- "text",
88
+ "yixiaoerId",
89
+ "yixiaoerName",
90
90
  "raw"
91
91
  ],
92
92
  "properties": {
93
- "id": {
93
+ "yixiaoerId": {
94
94
  "type": "string"
95
95
  },
96
- "text": {
96
+ "yixiaoerName": {
97
97
  "type": "string"
98
98
  },
99
99
  "raw": {
@@ -24,15 +24,15 @@
24
24
  "items": {
25
25
  "type": "object",
26
26
  "required": [
27
- "id",
28
- "text",
27
+ "yixiaoerId",
28
+ "yixiaoerName",
29
29
  "raw"
30
30
  ],
31
31
  "properties": {
32
- "id": {
32
+ "yixiaoerId": {
33
33
  "type": "string"
34
34
  },
35
- "text": {
35
+ "yixiaoerName": {
36
36
  "type": "string"
37
37
  },
38
38
  "raw": {
@@ -61,15 +61,15 @@
61
61
  "location": {
62
62
  "type": "object",
63
63
  "required": [
64
- "id",
65
- "text",
64
+ "yixiaoerId",
65
+ "yixiaoerName",
66
66
  "raw"
67
67
  ],
68
68
  "properties": {
69
- "id": {
69
+ "yixiaoerId": {
70
70
  "type": "string"
71
71
  },
72
- "text": {
72
+ "yixiaoerName": {
73
73
  "type": "string"
74
74
  },
75
75
  "raw": {
@@ -166,15 +166,15 @@
166
166
  "location": {
167
167
  "type": "object",
168
168
  "required": [
169
- "id",
170
- "text",
169
+ "yixiaoerId",
170
+ "yixiaoerName",
171
171
  "raw"
172
172
  ],
173
173
  "properties": {
174
- "id": {
174
+ "yixiaoerId": {
175
175
  "type": "string"
176
176
  },
177
- "text": {
177
+ "yixiaoerName": {
178
178
  "type": "string"
179
179
  },
180
180
  "raw": {
@@ -39,31 +39,31 @@
39
39
  "items": {
40
40
  "type": "object",
41
41
  "required": [
42
- "id",
43
- "text",
42
+ "yixiaoerId",
43
+ "yixiaoerName",
44
44
  "raw"
45
45
  ],
46
46
  "properties": {
47
- "id": {
47
+ "yixiaoerId": {
48
48
  "type": "string"
49
49
  },
50
- "text": {
50
+ "yixiaoerName": {
51
51
  "type": "string"
52
52
  },
53
- "children": {
53
+ "child": {
54
54
  "type": "array",
55
55
  "items": {
56
56
  "type": "object",
57
57
  "required": [
58
- "id",
59
- "text",
58
+ "yixiaoerId",
59
+ "yixiaoerName",
60
60
  "raw"
61
61
  ],
62
62
  "properties": {
63
- "id": {
63
+ "yixiaoerId": {
64
64
  "type": "string"
65
65
  },
66
- "text": {
66
+ "yixiaoerName": {
67
67
  "type": "string"
68
68
  },
69
69
  "raw": {
@@ -109,15 +109,15 @@
109
109
  "location": {
110
110
  "type": "object",
111
111
  "required": [
112
- "id",
113
- "text",
112
+ "yixiaoerId",
113
+ "yixiaoerName",
114
114
  "raw"
115
115
  ],
116
116
  "properties": {
117
- "id": {
117
+ "yixiaoerId": {
118
118
  "type": "string"
119
119
  },
120
- "text": {
120
+ "yixiaoerName": {
121
121
  "type": "string"
122
122
  },
123
123
  "raw": {
@@ -80,15 +80,15 @@
80
80
  "location": {
81
81
  "type": "object",
82
82
  "required": [
83
- "id",
84
- "text",
83
+ "yixiaoerId",
84
+ "yixiaoerName",
85
85
  "raw"
86
86
  ],
87
87
  "properties": {
88
- "id": {
88
+ "yixiaoerId": {
89
89
  "type": "string"
90
90
  },
91
- "text": {
91
+ "yixiaoerName": {
92
92
  "type": "string"
93
93
  },
94
94
  "raw": {
@@ -46,15 +46,15 @@
46
46
  "location": {
47
47
  "type": "object",
48
48
  "required": [
49
- "id",
50
- "text",
49
+ "yixiaoerId",
50
+ "yixiaoerName",
51
51
  "raw"
52
52
  ],
53
53
  "properties": {
54
- "id": {
54
+ "yixiaoerId": {
55
55
  "type": "string"
56
56
  },
57
- "text": {
57
+ "yixiaoerName": {
58
58
  "type": "string"
59
59
  },
60
60
  "raw": {
@@ -23,15 +23,15 @@
23
23
  "location": {
24
24
  "type": "object",
25
25
  "required": [
26
- "id",
27
- "text",
26
+ "yixiaoerId",
27
+ "yixiaoerName",
28
28
  "raw"
29
29
  ],
30
30
  "properties": {
31
- "id": {
31
+ "yixiaoerId": {
32
32
  "type": "string"
33
33
  },
34
- "text": {
34
+ "yixiaoerName": {
35
35
  "type": "string"
36
36
  },
37
37
  "raw": {
@@ -62,15 +62,15 @@
62
62
  "location": {
63
63
  "type": "object",
64
64
  "required": [
65
- "id",
66
- "text",
65
+ "yixiaoerId",
66
+ "yixiaoerName",
67
67
  "raw"
68
68
  ],
69
69
  "properties": {
70
- "id": {
70
+ "yixiaoerId": {
71
71
  "type": "string"
72
72
  },
73
- "text": {
73
+ "yixiaoerName": {
74
74
  "type": "string"
75
75
  },
76
76
  "raw": {
@@ -90,15 +90,15 @@
90
90
  "location": {
91
91
  "type": "object",
92
92
  "required": [
93
- "id",
94
- "text",
93
+ "yixiaoerId",
94
+ "yixiaoerName",
95
95
  "raw"
96
96
  ],
97
97
  "properties": {
98
- "id": {
98
+ "yixiaoerId": {
99
99
  "type": "string"
100
100
  },
101
- "text": {
101
+ "yixiaoerName": {
102
102
  "type": "string"
103
103
  },
104
104
  "raw": {
@@ -113,7 +113,8 @@
113
113
  "type": "object",
114
114
  "required": [
115
115
  "yixiaoerId",
116
- "yixiaoerName"
116
+ "yixiaoerName",
117
+ "raw"
117
118
  ],
118
119
  "properties": {
119
120
  "yixiaoerId": {
@@ -37,15 +37,15 @@
37
37
  "items": {
38
38
  "type": "object",
39
39
  "required": [
40
- "id",
41
- "text",
40
+ "yixiaoerId",
41
+ "yixiaoerName",
42
42
  "raw"
43
43
  ],
44
44
  "properties": {
45
- "id": {
45
+ "yixiaoerId": {
46
46
  "type": "string"
47
47
  },
48
- "text": {
48
+ "yixiaoerName": {
49
49
  "type": "string"
50
50
  },
51
51
  "raw": {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: yixiaoer
3
- version: 3.2.6
3
+ version: 3.2.7
4
4
  description: "通过 yxer CLI 操作蚁小二多平台内容分发:账号查询、资源上传、发布前准备、payload 校验、云发布/本机发布、草稿保存、素材登记、发布记录排查与技能同步。"
5
5
  metadata:
6
6
  category: "productivity"
@@ -13,7 +13,7 @@
13
13
 
14
14
  ## 执行逻辑 (Logic Flow)
15
15
  1. **内容处理**:确保文章正文符合Jianshu要求的格式。
16
- 2. **参数装配**:提取标题、正文及封面信息至 `contentPublishForm`。
16
+ 2. **参数装配**:提取标题、正文至 `contentPublishForm`;简书文章不需要封面。
17
17
  3. **指令执行**:先执行 `yxer validate <platform> <type> <payload.json>`,再执行 `yxer publish <type> <platform> <payload.json> [--publish-channel local --client-id <clientId>]`。
18
18
 
19
19
 
@@ -53,6 +53,4 @@
53
53
 
54
54
  ## 相关接口
55
55
 
56
- | 目标数据 | 对应 Action | 相关文档 |
57
- | :--- | :--- | :--- |
58
- | `covers.key` | `upload` | [资源上传](../../upload-resource.md) |
56
+ 简书文章发布不需要上传或传入封面。