@yixiaoermail/cli 3.2.33 → 3.2.34

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
- 62d74a2724e1e39b6535c2f8767e2050e1722297674c3bc5d9a9c7aa84dbdff7 yxer-cli-3.2.33-windows-amd64.zip
2
- 58e89c884b0c9cc91cd1c3c19e7d0b745b0b844d21a591c212a9cb9de5d338c0 yxer-cli-3.2.33-windows-arm64.zip
3
- 1043bb73d4362d1dc35c44e18f8cfba9cfba446ac3da72b31d3f47819e2011e7 yxer-cli-3.2.33-darwin-amd64.tar.gz
4
- d095c2070d4ec50ddada1f7dc68a444a49d4456938dc7d59ac5d86fddacf5914 yxer-cli-3.2.33-darwin-arm64.tar.gz
5
- c1f90b950221216403e7d8dd734a04f792a5bbc22cffed7f52cbfbdc091fbd29 yxer-cli-3.2.33-linux-amd64.tar.gz
6
- 7bd7f3bd84a8fa8414d1816321db8542c05f231efbf277a8d2b287b6c9c69b6e yxer-cli-3.2.33-linux-arm64.tar.gz
1
+ d0accb5242ad3715757c652323fbe791dd58d9464da7f444df672a2183309a06 yxer-cli-3.2.34-windows-amd64.zip
2
+ 27816d6fb02ba1991a97ee27e17dd979591d56e0b5c92dc5372355612c70a060 yxer-cli-3.2.34-windows-arm64.zip
3
+ 923db70b6a5f5ae9cffcf2ae9cf04501fc06fa163038d2315cd0660bbc2acf03 yxer-cli-3.2.34-darwin-amd64.tar.gz
4
+ 573af95491f651d1778dda216bd3d43bfdf533b657403946b607db7cc0c8bb44 yxer-cli-3.2.34-darwin-arm64.tar.gz
5
+ 484c18f866440072e70b83284440a2644ad123af67da272165a1afb242dc45f2 yxer-cli-3.2.34-linux-amd64.tar.gz
6
+ b38fb3abcba0ab4c00c159a47b2401f74ad4a3096fd1dc533287d83344a966c4 yxer-cli-3.2.34-linux-arm64.tar.gz
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yixiaoermail/cli",
3
- "version": "3.2.33",
3
+ "version": "3.2.34",
4
4
  "yxerDownloadRootUrl": "https://yixiaoer-lite-asserts.tos-cn-shanghai.volces.com/yxer/releases",
5
5
  "description": "Yixiaoer CLI packaged for npm global installation",
6
6
  "bin": {
@@ -115,3 +115,5 @@
115
115
  { "yixiaoerId": "1", "yixiaoerName": "国产动漫", "raw": {...} }
116
116
  ]
117
117
  ```
118
+
119
+ Instagram 图文支持云端和本机发布。详见 [Instagram 图文](./instagram.md)。
@@ -0,0 +1,14 @@
1
+ # Instagram 图文发布
2
+
3
+ 先运行 `yxer prepare Instagram imageText`,从 `yxer accounts list Instagram --status 1 --json` 选择账号。逐张执行 `yxer upload <文件或URL> --platform Instagram --usage image`。支持 JPEG、PNG、WebP、BMP,非 JPEG 转为白底 JPEG。单张最多 8 MB,宽高比为 4:5 至 1.91:1。
4
+
5
+ 每个账号的 `publishArgs.accountForms[].images` 按发布顺序填写上传结果的 key、format、size、width、height。支持 1–20 张,轮播可能按首图比例裁剪。可选纯文本正文放在 `contentPublishForm.description`,最多 2200 字符。
6
+
7
+ ```text
8
+ yxer validate Instagram imageText payload.json
9
+ yxer publish imageText Instagram payload.json --dry-run
10
+ yxer publish imageText Instagram payload.json
11
+ yxer query details <taskSetId> --json
12
+ ```
13
+
14
+ 本机发布在验参、预览和正式提交时均加 `--publish-channel local --client-id <clientId>`。任务 ID 表示提交成功,实际发帖结果以任务详情为准。提交结果不明时先执行 `yxer query records --limit 10 --json` 核实。
@@ -26,9 +26,21 @@
26
26
  | --- | --- | --- | --- | --- |
27
27
  | `formType` | string | 否 | 内容表单类型,固定为 `task` | `task` |
28
28
  | `title` | string | 否 | 图文标题,最多 20 个 Unicode 字符 | - |
29
- | `desc` | string | 否 | 图文正文/描述,支持 HTML | - |
29
+ | `desc` | string | 否 | 图文正文/描述,支持 HTML 和自定义话题,普通 `#话题` 自动转换为 `<topic>` HTML | - |
30
30
  | `images` | array | 是 | 写在 `accountForms[].images` 的已上传图片对象数组,可多选;至少 1 张 | - |
31
31
 
32
+ ## 描述话题
33
+
34
+ 与 Web 端描述编辑器一致,话题直接写在 `publishArgs.accountForms[].contentPublishForm.desc` 中。公众号使用自定义话题,无需查询话题,也不要新增 `topics` 数组。
35
+
36
+ 推荐写入 Web 相同的 HTML,保留话题在描述中的位置:
37
+
38
+ ```html
39
+ <p>春日记录 <topic text="生活">#生活</topic> <topic text="摄影">#摄影</topic></p>
40
+ ```
41
+
42
+ 也可填写 `春日记录 #生活 #摄影`,CLI 在 validate / dry-run / 发布准备阶段将普通话题转换为 `<topic>` HTML。已有 `<topic>` HTML 保持原样;使用表单会话时,通过 `publish form set` 写入上述 `desc` 路径。不要填到 `description` 或只填 payload 根级 `desc`,根级字段不能替代账号描述。
43
+
32
44
  ## 账号级发布设置
33
45
 
34
46
  以下字段填写在 `publishArgs.accountForms[].contentPublishForm`。`statement` 必须直接传数值,网关会将其转换为下游的 `{ "type": 值 }`。
@@ -100,3 +100,5 @@
100
100
  | `tags/topic`| `challenges` | [获取话题/挑战](../../get-challenges.md) |
101
101
  | `description.friend` | `friends` | [获取小红书用户/艾特对象](../../get-friends.md) |
102
102
  | `images.key`| `upload` | [资源上传](../../upload-resource.md) |
103
+
104
+ [小红书发布组件用法](../xiaohongshu-components.md)
@@ -148,3 +148,5 @@
148
148
  | `description.friend` | `friends` | [获取小红书用户/艾特对象](../../get-friends.md) |
149
149
  | `shopping_cart` | `goods` | [获取商品列表](../../get-goods.md) |
150
150
  | `video.key` | `upload` | [资源上传](../../upload-resource.md) |
151
+
152
+ [小红书发布组件用法](../xiaohongshu-components.md)
@@ -0,0 +1,9 @@
1
+ ## 小红书发布组件
2
+
3
+ 图文支持引用笔记、投票、地点或朋友标记、路线和附件。视频支持前四项。云端和本地发布使用同一套表单。指定本地客户端时传 `--publish-channel local --client-id <客户端ID>`。
4
+
5
+ - 使用 `query xhs-reference-notes <账号ID> --record` 查询本人笔记,或加 `--link <分享链接>` 解析。用 `publish form choose <会话> referenceNote --result-id <查询记录ID> --id <笔记ID>` 绑定。
6
+ - 投票直接写入 `vote`,包含 `question` 和 `options`。每个选项包含整数 `option_id` 和字符串 `option_name`。
7
+ - 使用 `query xhs-mark-targets <账号ID> --kind user|location --query <关键词> --record`。先填写标记的类型、坐标和素材。用 `publish form choose <会话> xhsMarkTarget --result-id <查询记录ID> --id <候选ID>` 填入对象。可用 `--path` 指定标记下标。视频标记的 `detail.id` 与候选 ID 一致,起止时间按毫秒填写。
8
+ - 使用 `query xhs-route-pois <账号ID> --query <关键词> --record` 查地点。路线文件形如 `{"title":"周末游","groups":[{"name":"DAY 1","pois":[{"resultId":"查询记录ID","id":"地点ID"},{"resultId":"查询记录ID","id":"另一地点ID"}]}]}`。用 `query xhs-route-plan <账号ID> --file <路线文件> --record` 规划。用 `publish xhs-route save <账号ID> --plan-id <规划记录ID> --request-id <操作ID>` 保存。用相同参数执行 `query xhs-route-status <账号ID> --plan-id <规划记录ID> --request-id <操作ID> --record` 确认,再用 `publish form choose <会话> route --result-id <状态记录ID>` 绑定。结果未知时继续查询原操作。
9
+ - 图文使用 `upload --file <路径> --bucket xiaohongshu-attachment --record` 上传文档,再用 `publish form set <会话> 'publishArgs.accountForms[0].contentPublishForm.attachmentSource' --result-id <上传记录ID>` 填入目标账号。支持 DOC、DOCX、PDF、PPT、PPTX,最大 100 MiB。
@@ -14,7 +14,7 @@
14
14
  - 字段中的话题/活动数据,如 `topics`、`tags`、`challenge`、`activity`,必须按各平台 schema 和平台文档定义的字段结构传入。
15
15
  - 只有当平台文档明确要求在 `description`、`desc` 或 `content` 中嵌入话题标签时,才使用 `<topic>` HTML。
16
16
  - `description` / `desc` / `content` 中的 `<topic>` 规则,不适用于 `topics`、`tags`、`challenge` 等字段对象。
17
- - CLI 内部兼容逻辑只处理 `description` 字段:将普通 `#话题` 归一化为 `<topic>` HTML;不会处理 `content`,也不会改变 `tags` / `topics` / `challenge` 字段结构。
17
+ - CLI 内部兼容逻辑处理 `description` 字段,以及微信公众号 `imageText` 的账号级 `desc` 字段:将普通 `#话题` 归一化为 `<topic>` HTML;微信公众号图文话题可直接自定义,无需查询;不会处理 `content`,也不会改变 `tags` / `topics` / `challenge` 字段结构。
18
18
 
19
19
  ## 字段类型对照
20
20
 
@@ -0,0 +1,9 @@
1
+ {
2
+ "title": "Instagram 图文发布",
3
+ "type": "object",
4
+ "properties": {
5
+ "formType": {"type": "string", "const": "task", "default": "task"},
6
+ "description": {"type": "string", "description": "纯文本正文,最多 2200 字符,可留空"}
7
+ },
8
+ "additionalProperties": false
9
+ }
@@ -36,7 +36,8 @@
36
36
  "maxLength": 20
37
37
  },
38
38
  "desc": {
39
- "type": "string"
39
+ "type": "string",
40
+ "description": "公众号图文描述,支持 HTML 和自定义话题;使用 <topic text=\"话题名\">#话题名</topic>,与 Web 描述编辑器一致。普通 #话题 会自动转换为话题 HTML,无需查询话题。"
40
41
  },
41
42
  "images": {
42
43
  "type": "array",
@@ -73,6 +73,10 @@
73
73
  "gif",
74
74
  "webp"
75
75
  ]
76
+ },
77
+ "imageId": {
78
+ "type": "string",
79
+ "minLength": 1
76
80
  }
77
81
  }
78
82
  }
@@ -127,6 +131,244 @@
127
131
  2
128
132
  ],
129
133
  "default": 0
134
+ },
135
+ "componentAccountId": {
136
+ "type": "string",
137
+ "minLength": 1
138
+ },
139
+ "referenceNote": {
140
+ "type": "object",
141
+ "properties": {
142
+ "noteId": {
143
+ "type": "string",
144
+ "minLength": 1
145
+ }
146
+ },
147
+ "required": [
148
+ "noteId"
149
+ ],
150
+ "additionalProperties": false
151
+ },
152
+ "vote": {
153
+ "type": "object",
154
+ "properties": {
155
+ "question": {
156
+ "type": "string",
157
+ "minLength": 1,
158
+ "maxLength": 15
159
+ },
160
+ "options": {
161
+ "type": "array",
162
+ "items": {
163
+ "type": "object",
164
+ "properties": {
165
+ "option_id": {
166
+ "type": "integer"
167
+ },
168
+ "option_name": {
169
+ "type": "string",
170
+ "minLength": 1,
171
+ "maxLength": 14
172
+ }
173
+ },
174
+ "required": [
175
+ "option_id",
176
+ "option_name"
177
+ ],
178
+ "additionalProperties": false
179
+ },
180
+ "minItems": 2,
181
+ "maxItems": 5
182
+ }
183
+ },
184
+ "required": [
185
+ "question",
186
+ "options"
187
+ ],
188
+ "additionalProperties": false
189
+ },
190
+ "route": {
191
+ "type": "object",
192
+ "properties": {
193
+ "travelId": {
194
+ "type": "string",
195
+ "minLength": 1
196
+ },
197
+ "travelType": {
198
+ "enum": [
199
+ "singleRoute",
200
+ "multiRoute"
201
+ ]
202
+ },
203
+ "title": {
204
+ "type": "string",
205
+ "minLength": 1
206
+ },
207
+ "icon": {
208
+ "type": "string"
209
+ },
210
+ "link": {
211
+ "type": "string",
212
+ "minLength": 1
213
+ },
214
+ "mapTravels": {
215
+ "type": "array",
216
+ "items": {
217
+ "type": "object",
218
+ "properties": {
219
+ "travelId": {
220
+ "type": "string",
221
+ "minLength": 1
222
+ },
223
+ "travelType": {
224
+ "enum": [
225
+ "singleRoute",
226
+ "multiRoute"
227
+ ]
228
+ }
229
+ },
230
+ "required": [
231
+ "travelId",
232
+ "travelType"
233
+ ],
234
+ "additionalProperties": false
235
+ },
236
+ "minItems": 1,
237
+ "maxItems": 1
238
+ },
239
+ "capaPoiRich": {
240
+ "type": "number",
241
+ "const": 0
242
+ }
243
+ },
244
+ "required": [
245
+ "travelId",
246
+ "travelType",
247
+ "title",
248
+ "icon",
249
+ "link",
250
+ "mapTravels",
251
+ "capaPoiRich"
252
+ ],
253
+ "additionalProperties": false
254
+ },
255
+ "imageMarks": {
256
+ "type": "array",
257
+ "items": {
258
+ "type": "object",
259
+ "properties": {
260
+ "imageId": {
261
+ "type": "string",
262
+ "minLength": 1
263
+ },
264
+ "marks": {
265
+ "type": "array",
266
+ "items": {
267
+ "type": "object",
268
+ "properties": {
269
+ "style": {
270
+ "type": "number",
271
+ "const": 1
272
+ },
273
+ "type": {
274
+ "enum": [
275
+ "user",
276
+ "location"
277
+ ]
278
+ },
279
+ "event": {
280
+ "type": "object",
281
+ "properties": {
282
+ "value": {
283
+ "type": "object",
284
+ "properties": {
285
+ "id": {
286
+ "type": "string",
287
+ "minLength": 1
288
+ },
289
+ "name": {
290
+ "type": "string",
291
+ "minLength": 1
292
+ }
293
+ },
294
+ "required": [
295
+ "id",
296
+ "name"
297
+ ],
298
+ "additionalProperties": false
299
+ }
300
+ },
301
+ "required": [
302
+ "value"
303
+ ],
304
+ "additionalProperties": false
305
+ },
306
+ "container_size": {
307
+ "type": "string",
308
+ "minLength": 1
309
+ },
310
+ "unit_center": {
311
+ "type": "string",
312
+ "minLength": 1
313
+ },
314
+ "anchor_center": {
315
+ "type": "string",
316
+ "minLength": 1
317
+ },
318
+ "mark_y": {
319
+ "type": "number",
320
+ "minimum": 0,
321
+ "maximum": 1
322
+ }
323
+ },
324
+ "required": [
325
+ "style",
326
+ "type",
327
+ "event",
328
+ "container_size",
329
+ "unit_center",
330
+ "anchor_center",
331
+ "mark_y"
332
+ ],
333
+ "additionalProperties": false
334
+ },
335
+ "minItems": 1
336
+ }
337
+ },
338
+ "required": [
339
+ "imageId",
340
+ "marks"
341
+ ],
342
+ "additionalProperties": false
343
+ }
344
+ },
345
+ "attachmentSource": {
346
+ "type": "object",
347
+ "properties": {
348
+ "fileKey": {
349
+ "type": "string",
350
+ "minLength": 1
351
+ },
352
+ "fileName": {
353
+ "type": "string",
354
+ "minLength": 1
355
+ },
356
+ "size": {
357
+ "type": "integer",
358
+ "minimum": 1,
359
+ "maximum": 104857600
360
+ },
361
+ "url": {
362
+ "type": "string",
363
+ "minLength": 1
364
+ }
365
+ },
366
+ "required": [
367
+ "fileKey",
368
+ "fileName",
369
+ "size"
370
+ ],
371
+ "additionalProperties": false
130
372
  }
131
373
  },
132
374
  "additionalProperties": false
@@ -220,6 +220,222 @@
220
220
  "scheduledTime": {
221
221
  "type": "number",
222
222
  "minimum": 0
223
+ },
224
+ "componentAccountId": {
225
+ "type": "string",
226
+ "minLength": 1
227
+ },
228
+ "referenceNote": {
229
+ "type": "object",
230
+ "properties": {
231
+ "noteId": {
232
+ "type": "string",
233
+ "minLength": 1
234
+ }
235
+ },
236
+ "required": [
237
+ "noteId"
238
+ ],
239
+ "additionalProperties": false
240
+ },
241
+ "vote": {
242
+ "type": "object",
243
+ "properties": {
244
+ "question": {
245
+ "type": "string",
246
+ "minLength": 1,
247
+ "maxLength": 15
248
+ },
249
+ "options": {
250
+ "type": "array",
251
+ "items": {
252
+ "type": "object",
253
+ "properties": {
254
+ "option_id": {
255
+ "type": "integer"
256
+ },
257
+ "option_name": {
258
+ "type": "string",
259
+ "minLength": 1,
260
+ "maxLength": 14
261
+ }
262
+ },
263
+ "required": [
264
+ "option_id",
265
+ "option_name"
266
+ ],
267
+ "additionalProperties": false
268
+ },
269
+ "minItems": 2,
270
+ "maxItems": 5
271
+ }
272
+ },
273
+ "required": [
274
+ "question",
275
+ "options"
276
+ ],
277
+ "additionalProperties": false
278
+ },
279
+ "route": {
280
+ "type": "object",
281
+ "properties": {
282
+ "travelId": {
283
+ "type": "string",
284
+ "minLength": 1
285
+ },
286
+ "travelType": {
287
+ "enum": [
288
+ "singleRoute",
289
+ "multiRoute"
290
+ ]
291
+ },
292
+ "title": {
293
+ "type": "string",
294
+ "minLength": 1
295
+ },
296
+ "icon": {
297
+ "type": "string"
298
+ },
299
+ "link": {
300
+ "type": "string",
301
+ "minLength": 1
302
+ },
303
+ "mapTravels": {
304
+ "type": "array",
305
+ "items": {
306
+ "type": "object",
307
+ "properties": {
308
+ "travelId": {
309
+ "type": "string",
310
+ "minLength": 1
311
+ },
312
+ "travelType": {
313
+ "enum": [
314
+ "singleRoute",
315
+ "multiRoute"
316
+ ]
317
+ }
318
+ },
319
+ "required": [
320
+ "travelId",
321
+ "travelType"
322
+ ],
323
+ "additionalProperties": false
324
+ },
325
+ "minItems": 1,
326
+ "maxItems": 1
327
+ },
328
+ "capaPoiRich": {
329
+ "type": "number",
330
+ "const": 0
331
+ }
332
+ },
333
+ "required": [
334
+ "travelId",
335
+ "travelType",
336
+ "title",
337
+ "icon",
338
+ "link",
339
+ "mapTravels",
340
+ "capaPoiRich"
341
+ ],
342
+ "additionalProperties": false
343
+ },
344
+ "videoMarks": {
345
+ "type": "array",
346
+ "items": {
347
+ "type": "object",
348
+ "properties": {
349
+ "start": {
350
+ "type": "number",
351
+ "minimum": 0
352
+ },
353
+ "end": {
354
+ "type": "number",
355
+ "minimum": 0
356
+ },
357
+ "detail": {
358
+ "type": "object",
359
+ "properties": {
360
+ "style": {
361
+ "type": "number",
362
+ "const": 1
363
+ },
364
+ "type": {
365
+ "enum": [
366
+ "user",
367
+ "location"
368
+ ]
369
+ },
370
+ "event": {
371
+ "type": "object",
372
+ "properties": {
373
+ "value": {
374
+ "type": "object",
375
+ "properties": {
376
+ "id": {
377
+ "type": "string",
378
+ "minLength": 1
379
+ },
380
+ "name": {
381
+ "type": "string",
382
+ "minLength": 1
383
+ }
384
+ },
385
+ "required": [
386
+ "id",
387
+ "name"
388
+ ],
389
+ "additionalProperties": false
390
+ }
391
+ },
392
+ "required": [
393
+ "value"
394
+ ],
395
+ "additionalProperties": false
396
+ },
397
+ "container_size": {
398
+ "type": "string",
399
+ "minLength": 1
400
+ },
401
+ "unit_center": {
402
+ "type": "string",
403
+ "minLength": 1
404
+ },
405
+ "anchor_center": {
406
+ "type": "string",
407
+ "minLength": 1
408
+ },
409
+ "mark_y": {
410
+ "type": "number",
411
+ "minimum": 0,
412
+ "maximum": 1
413
+ },
414
+ "id": {
415
+ "type": "string",
416
+ "minLength": 1
417
+ }
418
+ },
419
+ "required": [
420
+ "style",
421
+ "type",
422
+ "event",
423
+ "container_size",
424
+ "unit_center",
425
+ "anchor_center",
426
+ "mark_y",
427
+ "id"
428
+ ],
429
+ "additionalProperties": false
430
+ }
431
+ },
432
+ "required": [
433
+ "start",
434
+ "end",
435
+ "detail"
436
+ ],
437
+ "additionalProperties": false
438
+ }
223
439
  }
224
440
  },
225
441
  "additionalProperties": false
@@ -1,100 +1,100 @@
1
- ---
2
- name: yixiaoer
3
- version: 3.2.33
4
- description: "通过 yxer CLI 操作蚁小二多平台内容分发:账号查询、资源上传、发布前准备、payload 校验、云发布/本机发布、草稿保存、素材登记、发布记录排查与技能同步。"
5
- metadata:
6
- category: "productivity"
7
- requires:
8
- bins: ["yxer"]
9
- cliHelp: "yxer --help; yxer doctor; yxer accounts list --help; yxer publish --help; yxer validate --help"
10
- ---
11
-
12
- # 蚁小二 Skill
13
-
14
- **新建发布任务必须先读取 [标准发布工作流](./references/workflows/publish-plan.md),使用默认严格会话、query/upload --record、form set/choose --result-id,导出 payload 后执行 validate、publish --dry-run 和正式 publish。下文外部 JSON 候选示例仅适用于明确的历史数据导入,不能用于默认新会话;不得为绕过来源检查启用兼容模式。**
15
-
16
- 你是 AI Agent,通过 `yxer` CLI 操作蚁小二资源。真正执行一律走 CLI,不要假设存在旧 Node 脚本入口、隐式 API 或手工脚本。
17
-
18
- **🚀 首次使用?先读 [`./QUICKSTART.md`](./QUICKSTART.md) - 5 分钟完成首次发布**
19
-
20
- **CRITICAL - 开始前 MUST 先读取 [`./references/yixiaoer-shared.md`](./references/yixiaoer-shared.md),其中包含环境检查、发布通道、同步和输出协议。**
21
- **AI EXECUTION PROTOCOL - 涉及查询、payload 修订、草稿、素材或发布时,MUST 先读取 [`./references/protocols/execution.md`](./references/protocols/execution.md),并按状态机推进。**
22
- **BLOCKING REQUIREMENT - 涉及正式写操作时,禁止凭记忆拼 payload、禁止跳过 workflow、禁止绕过 `yxer` CLI 直接执行旧脚本或隐式 API。**
23
-
24
- ## 能力索引
25
-
26
- 根据用户需求,必须先读取对应业务域文档,再进入具体 workflow 或 reference。不要直接凭记忆拼 payload 或执行正式发布。
27
-
28
- - AI 执行协议
29
- - 入口:[`./references/protocols/execution.md`](./references/protocols/execution.md)
30
- - 候选确认:[`./references/protocols/confirmation.md`](./references/protocols/confirmation.md)
31
- - 字段来源追踪:[`./references/protocols/provenance.md`](./references/protocols/provenance.md)
32
- - 错误恢复:[`./references/protocols/error-recovery.md`](./references/protocols/error-recovery.md)
33
- - 覆盖状态机、写操作门禁、多候选确认、payload 来源追踪和失败后的最小修复策略。
34
-
35
- - 发布与 payload 修订
36
- - 入口:[`./references/domains/publish.md`](./references/domains/publish.md)
37
- - 覆盖视频、图文、文章、音频发布,账号选择,云/本机通道判断,payload 来源纪律,动态字段查询,平台差异文档入口。
38
- - 账号、环境与 skill 同步
39
- - 入口:[`./references/domains/accounts-and-env.md`](./references/domains/accounts-and-env.md)
40
- - 覆盖 `doctor`、`config`、账号查询与技能同步。
41
- - 草稿与素材库
42
- - 入口:[`./references/domains/draft-and-material.md`](./references/domains/draft-and-material.md)
43
- - 覆盖蚁小二草稿、平台草稿判断、素材上传、素材登记与“上传后立即发布”的切换路径。
44
- - 发布记录与失败排查
45
- - 入口:[`./references/domains/troubleshooting.md`](./references/domains/troubleshooting.md)
46
- - 覆盖 `query records`、按作品信息删除已发布内容、校验失败修复、本机/云发布错误分流与回退策略。
47
- - 安装、升级与分发
48
- - 入口:[`./references/domains/install-and-sync.md`](./references/domains/install-and-sync.md)
49
- - 覆盖 skill 安装、同步、升级和宿主侧接入说明。
50
-
51
- ## 意图分流
52
-
53
- | 用户意图 / 说法 | 先读入口 | 后续动作 |
54
- | --- | --- | --- |
55
- | “帮我发一下”“发个抖音/小红书”“发布视频/图文/文章/音频” | [`./references/domains/publish.md`](./references/domains/publish.md) | 按类型进入 workflow,确认真实来源并导出 payload,执行 validate/dry-run/publish;已有 payload 也需确认字段来源 |
56
- | “先别发,只生成/修一下 payload” | [`./references/domains/publish.md`](./references/domains/publish.md) | 强制读取 payload 来源和类型 workflow,只做字段修订,不擅自正式发布 |
57
- | “查下账号/环境”“怎么配置 clientId”“看看 skill 要不要同步” | [`./references/domains/accounts-and-env.md`](./references/domains/accounts-and-env.md) | 先做环境检查,再决定是否继续业务流程 |
58
- | “存草稿”“传素材”“放到素材库里” | [`./references/domains/draft-and-material.md`](./references/domains/draft-and-material.md) | 先区分草稿和素材,再判断是否需要回切发布域 |
59
- | “为什么失败了”“查发布记录”“删除已发布作品”“解释 validate / publish 报错” | [`./references/domains/troubleshooting.md`](./references/domains/troubleshooting.md) | 先定位失败阶段;删除时预览作品信息、按序号 dry-run,再执行 |
60
- | “安装 skill”“升级后怎么同步”“怎么接入这个技能” | [`./references/domains/install-and-sync.md`](./references/domains/install-and-sync.md) | 优先走 skill 展示、同步和安装说明 |
61
-
62
- ## 命令探索
63
-
64
- ```bash
65
- yxer --help
66
- yxer doctor
67
- yxer <command> --help
68
- yxer prepare <platform> <type>
69
- yxer schema fields <platform> <type>
70
- yxer schema get <platform> <type>
71
- ```
72
-
73
- ## 全局规则
74
-
75
- - 发布、草稿、素材、排查都只允许通过 `yxer` CLI 执行。
76
- - 任何涉及查询、候选选择、payload 修订或写操作的任务,必须先遵循 AI 执行协议中的状态机、确认协议和错误恢复协议。
77
- - 涉及写操作或 payload 修订时,必须遵守 [`./references/workflows/data-accuracy.md`](./references/workflows/data-accuracy.md):先查询真实数据,再确认候选,最后 validate / dry-run / 写入。
78
- - BLOCKING REQUIREMENT: 正式发布前确认字段来源,必须以同一份 payload 和同一套通道参数完成 `validate -> publish --dry-run -> publish`。
79
- - `prepare`/`publish form`、`schema fields` / `schema get`、workflow、平台文档和 CLI 实际输出,是组装 payload 的唯一依据。
80
- - `prepare` 返回的 `data.form` 是可恢复的页面式表单契约;新建发布任务使用 `publish form` 维护字段与来源,不要自行发明字段或路径。通过 `export` 导出标准 payload,再执行校验、预览和发布。
81
- - 图片、视频、封面等资源必须先上传,且只能复用 `yxer upload` 返回的真实字段。
82
- - `category`、`location`、`music`、`collection`、`challenge`、`goods`、`drama` 等动态字段必须先通过 `yxer query ...` 查询,不能手写对象;视频号 `drama` 只保留查询结果中的 `yixiaoerId`、`yixiaoerImageUrl`、`yixiaoerName`,不添加 `raw`。多多视频例外:`shopping_cart.goods_id` 是用户手工提供的业务商品 ID,CLI 固定补充 `source=pdd`,不得从 `yxer query goods` 的 `yixiaoerId` 映射。
83
- - 淘宝光合 `shopping_cart` 必须先通过目标账号、相同发布类型的 `taobao-guanghe-goods-tabs` 查询可用来源,再使用显式 `--source` 执行 `yxer query taobao-guanghe-goods`;完整保留商品对象和 `raw`,每个账号最多 6 件;不得依赖省略来源时的服务端默认商品池。
84
- - CRITICAL: `validate`、`publish --dry-run`、正式 `publish` 必须使用同一套发布通道参数。
85
-
86
- ## 页面式表单会话
87
-
88
- 默认严格会话与来源记录的命令见 [标准发布工作流](./references/workflows/publish-plan.md)。以下是用户明确选择历史数据导入时的外部 JSON 示例;`--allow-unverified-sources` 会话不强制 CLI 回执,仍需确认真实字段来源:
89
-
90
- ```bash
91
- yxer publish form start <platform> <type> --output publish-form.json --allow-unverified-sources
92
- yxer publish form inspect publish-form.json
93
- yxer publish form set publish-form.json <payload.path> --value '<json-value>'
94
- yxer publish form choose publish-form.json <field> --value-file query-result.json --id <candidate_id> --source-command "yxer query ... --json"
95
- yxer publish form verify publish-form.json
96
- yxer publish form review publish-form.json
97
- yxer publish form export publish-form.json --output payload.json
98
- ```
99
-
100
- `set` / `choose` / `verify` / `review` 只更新或检查本地会话,不会触发发布;动态字段必须用 `choose` 从 `query` 返回候选中选择,并用 `--source-command` 记录实际执行的 `yxer query ... --json` 命令。多多视频 `shopping_cart.goods_id` 不属于动态查询字段,使用 `set` 手工填写,CLI 固定 `source=pdd`。`set` 只能写 form contract 声明过的路径;`choose` 只写 `dynamicFieldExamples` 声明的字段,且 query 账号必须匹配目标账号。资源应直接使用 `upload` 返回的完整对象。文本字段可直接传文本,复杂对象使用 JSON。导出前 `verify` / `review` / `export` 会检查来源信息是否完整,不会比较当前字段值与历史值;来源记录及其 hash 仅供追溯。字段可以修改、重新选择或移除可选项,修改后使用 `validate` 检查当前 payload 的必填、类型、长度等平台规则。导出后仍必须按同一份 payload 和同一套发布通道参数执行 `validate payload.json -> publish payload.json --dry-run -> 用户授权 -> publish payload.json`。所有写本地文件的会话命令都支持 `--dry-run`。
1
+ ---
2
+ name: yixiaoer
3
+ version: 3.2.34
4
+ description: "通过 yxer CLI 操作蚁小二多平台内容分发:账号查询、资源上传、发布前准备、payload 校验、云发布/本机发布、草稿保存、素材登记、发布记录排查与技能同步。"
5
+ metadata:
6
+ category: "productivity"
7
+ requires:
8
+ bins: ["yxer"]
9
+ cliHelp: "yxer --help; yxer doctor; yxer accounts list --help; yxer publish --help; yxer validate --help"
10
+ ---
11
+
12
+ # 蚁小二 Skill
13
+
14
+ **新建发布任务必须先读取 [标准发布工作流](./references/workflows/publish-plan.md),使用默认严格会话、query/upload --record、form set/choose --result-id,导出 payload 后执行 validate、publish --dry-run 和正式 publish。下文外部 JSON 候选示例仅适用于明确的历史数据导入,不能用于默认新会话;不得为绕过来源检查启用兼容模式。**
15
+
16
+ 你是 AI Agent,通过 `yxer` CLI 操作蚁小二资源。真正执行一律走 CLI,不要假设存在旧 Node 脚本入口、隐式 API 或手工脚本。
17
+
18
+ **🚀 首次使用?先读 [`./QUICKSTART.md`](./QUICKSTART.md) - 5 分钟完成首次发布**
19
+
20
+ **CRITICAL - 开始前 MUST 先读取 [`./references/yixiaoer-shared.md`](./references/yixiaoer-shared.md),其中包含环境检查、发布通道、同步和输出协议。**
21
+ **AI EXECUTION PROTOCOL - 涉及查询、payload 修订、草稿、素材或发布时,MUST 先读取 [`./references/protocols/execution.md`](./references/protocols/execution.md),并按状态机推进。**
22
+ **BLOCKING REQUIREMENT - 涉及正式写操作时,禁止凭记忆拼 payload、禁止跳过 workflow、禁止绕过 `yxer` CLI 直接执行旧脚本或隐式 API。**
23
+
24
+ ## 能力索引
25
+
26
+ 根据用户需求,必须先读取对应业务域文档,再进入具体 workflow 或 reference。不要直接凭记忆拼 payload 或执行正式发布。
27
+
28
+ - AI 执行协议
29
+ - 入口:[`./references/protocols/execution.md`](./references/protocols/execution.md)
30
+ - 候选确认:[`./references/protocols/confirmation.md`](./references/protocols/confirmation.md)
31
+ - 字段来源追踪:[`./references/protocols/provenance.md`](./references/protocols/provenance.md)
32
+ - 错误恢复:[`./references/protocols/error-recovery.md`](./references/protocols/error-recovery.md)
33
+ - 覆盖状态机、写操作门禁、多候选确认、payload 来源追踪和失败后的最小修复策略。
34
+
35
+ - 发布与 payload 修订
36
+ - 入口:[`./references/domains/publish.md`](./references/domains/publish.md)
37
+ - 覆盖视频、图文、文章、音频发布,账号选择,云/本机通道判断,payload 来源纪律,动态字段查询,平台差异文档入口。
38
+ - 账号、环境与 skill 同步
39
+ - 入口:[`./references/domains/accounts-and-env.md`](./references/domains/accounts-and-env.md)
40
+ - 覆盖 `doctor`、`config`、账号查询与技能同步。
41
+ - 草稿与素材库
42
+ - 入口:[`./references/domains/draft-and-material.md`](./references/domains/draft-and-material.md)
43
+ - 覆盖蚁小二草稿、平台草稿判断、素材上传、素材登记与“上传后立即发布”的切换路径。
44
+ - 发布记录与失败排查
45
+ - 入口:[`./references/domains/troubleshooting.md`](./references/domains/troubleshooting.md)
46
+ - 覆盖 `query records`、按作品信息删除已发布内容、校验失败修复、本机/云发布错误分流与回退策略。
47
+ - 安装、升级与分发
48
+ - 入口:[`./references/domains/install-and-sync.md`](./references/domains/install-and-sync.md)
49
+ - 覆盖 skill 安装、同步、升级和宿主侧接入说明。
50
+
51
+ ## 意图分流
52
+
53
+ | 用户意图 / 说法 | 先读入口 | 后续动作 |
54
+ | --- | --- | --- |
55
+ | “帮我发一下”“发个抖音/小红书”“发布视频/图文/文章/音频” | [`./references/domains/publish.md`](./references/domains/publish.md) | 按类型进入 workflow,确认真实来源并导出 payload,执行 validate/dry-run/publish;已有 payload 也需确认字段来源 |
56
+ | “先别发,只生成/修一下 payload” | [`./references/domains/publish.md`](./references/domains/publish.md) | 强制读取 payload 来源和类型 workflow,只做字段修订,不擅自正式发布 |
57
+ | “查下账号/环境”“怎么配置 clientId”“看看 skill 要不要同步” | [`./references/domains/accounts-and-env.md`](./references/domains/accounts-and-env.md) | 先做环境检查,再决定是否继续业务流程 |
58
+ | “存草稿”“传素材”“放到素材库里” | [`./references/domains/draft-and-material.md`](./references/domains/draft-and-material.md) | 先区分草稿和素材,再判断是否需要回切发布域 |
59
+ | “为什么失败了”“查发布记录”“删除已发布作品”“解释 validate / publish 报错” | [`./references/domains/troubleshooting.md`](./references/domains/troubleshooting.md) | 先定位失败阶段;删除时预览作品信息、按序号 dry-run,再执行 |
60
+ | “安装 skill”“升级后怎么同步”“怎么接入这个技能” | [`./references/domains/install-and-sync.md`](./references/domains/install-and-sync.md) | 优先走 skill 展示、同步和安装说明 |
61
+
62
+ ## 命令探索
63
+
64
+ ```bash
65
+ yxer --help
66
+ yxer doctor
67
+ yxer <command> --help
68
+ yxer prepare <platform> <type>
69
+ yxer schema fields <platform> <type>
70
+ yxer schema get <platform> <type>
71
+ ```
72
+
73
+ ## 全局规则
74
+
75
+ - 发布、草稿、素材、排查都只允许通过 `yxer` CLI 执行。
76
+ - 任何涉及查询、候选选择、payload 修订或写操作的任务,必须先遵循 AI 执行协议中的状态机、确认协议和错误恢复协议。
77
+ - 涉及写操作或 payload 修订时,必须遵守 [`./references/workflows/data-accuracy.md`](./references/workflows/data-accuracy.md):先查询真实数据,再确认候选,最后 validate / dry-run / 写入。
78
+ - BLOCKING REQUIREMENT: 正式发布前确认字段来源,必须以同一份 payload 和同一套通道参数完成 `validate -> publish --dry-run -> publish`。
79
+ - `prepare`/`publish form`、`schema fields` / `schema get`、workflow、平台文档和 CLI 实际输出,是组装 payload 的唯一依据。
80
+ - `prepare` 返回的 `data.form` 是可恢复的页面式表单契约;新建发布任务使用 `publish form` 维护字段与来源,不要自行发明字段或路径。通过 `export` 导出标准 payload,再执行校验、预览和发布。
81
+ - 图片、视频、封面等资源必须先上传,且只能复用 `yxer upload` 返回的真实字段。
82
+ - `category`、`location`、`music`、`collection`、`challenge`、`goods`、`drama` 等动态字段必须先通过 `yxer query ...` 查询,不能手写对象;视频号 `drama` 只保留查询结果中的 `yixiaoerId`、`yixiaoerImageUrl`、`yixiaoerName`,不添加 `raw`。多多视频例外:`shopping_cart.goods_id` 是用户手工提供的业务商品 ID,CLI 固定补充 `source=pdd`,不得从 `yxer query goods` 的 `yixiaoerId` 映射。
83
+ - 淘宝光合 `shopping_cart` 必须先通过目标账号、相同发布类型的 `taobao-guanghe-goods-tabs` 查询可用来源,再使用显式 `--source` 执行 `yxer query taobao-guanghe-goods`;完整保留商品对象和 `raw`,每个账号最多 6 件;不得依赖省略来源时的服务端默认商品池。
84
+ - CRITICAL: `validate`、`publish --dry-run`、正式 `publish` 必须使用同一套发布通道参数。
85
+
86
+ ## 页面式表单会话
87
+
88
+ 默认严格会话与来源记录的命令见 [标准发布工作流](./references/workflows/publish-plan.md)。以下是用户明确选择历史数据导入时的外部 JSON 示例;`--allow-unverified-sources` 会话不强制 CLI 回执,仍需确认真实字段来源:
89
+
90
+ ```bash
91
+ yxer publish form start <platform> <type> --output publish-form.json --allow-unverified-sources
92
+ yxer publish form inspect publish-form.json
93
+ yxer publish form set publish-form.json <payload.path> --value '<json-value>'
94
+ yxer publish form choose publish-form.json <field> --value-file query-result.json --id <candidate_id> --source-command "yxer query ... --json"
95
+ yxer publish form verify publish-form.json
96
+ yxer publish form review publish-form.json
97
+ yxer publish form export publish-form.json --output payload.json
98
+ ```
99
+
100
+ `set` / `choose` / `verify` / `review` 只更新或检查本地会话,不会触发发布;动态字段必须用 `choose` 从 `query` 返回候选中选择,并用 `--source-command` 记录实际执行的 `yxer query ... --json` 命令。多多视频 `shopping_cart.goods_id` 不属于动态查询字段,使用 `set` 手工填写,CLI 固定 `source=pdd`。`set` 只能写 form contract 声明过的路径;`choose` 只写 `dynamicFieldExamples` 声明的字段,且 query 账号必须匹配目标账号。资源应直接使用 `upload` 返回的完整对象。文本字段可直接传文本,复杂对象使用 JSON。导出前 `verify` / `review` / `export` 会检查来源信息是否完整,不会比较当前字段值与历史值;来源记录及其 hash 仅供追溯。字段可以修改、重新选择或移除可选项,修改后使用 `validate` 检查当前 payload 的必填、类型、长度等平台规则。导出后仍必须按同一份 payload 和同一套发布通道参数执行 `validate payload.json -> publish payload.json --dry-run -> 用户授权 -> publish payload.json`。所有写本地文件的会话命令都支持 `--dry-run`。
@@ -115,3 +115,5 @@
115
115
  { "yixiaoerId": "1", "yixiaoerName": "国产动漫", "raw": {...} }
116
116
  ]
117
117
  ```
118
+
119
+ Instagram 图文支持云端和本机发布。详见 [Instagram 图文](./instagram.md)。
@@ -0,0 +1,14 @@
1
+ # Instagram 图文发布
2
+
3
+ 先运行 `yxer prepare Instagram imageText`,从 `yxer accounts list Instagram --status 1 --json` 选择账号。逐张执行 `yxer upload <文件或URL> --platform Instagram --usage image`。支持 JPEG、PNG、WebP、BMP,非 JPEG 转为白底 JPEG。单张最多 8 MB,宽高比为 4:5 至 1.91:1。
4
+
5
+ 每个账号的 `publishArgs.accountForms[].images` 按发布顺序填写上传结果的 key、format、size、width、height。支持 1–20 张,轮播可能按首图比例裁剪。可选纯文本正文放在 `contentPublishForm.description`,最多 2200 字符。
6
+
7
+ ```text
8
+ yxer validate Instagram imageText payload.json
9
+ yxer publish imageText Instagram payload.json --dry-run
10
+ yxer publish imageText Instagram payload.json
11
+ yxer query details <taskSetId> --json
12
+ ```
13
+
14
+ 本机发布在验参、预览和正式提交时均加 `--publish-channel local --client-id <clientId>`。任务 ID 表示提交成功,实际发帖结果以任务详情为准。提交结果不明时先执行 `yxer query records --limit 10 --json` 核实。
@@ -26,9 +26,21 @@
26
26
  | --- | --- | --- | --- | --- |
27
27
  | `formType` | string | 否 | 内容表单类型,固定为 `task` | `task` |
28
28
  | `title` | string | 否 | 图文标题,最多 20 个 Unicode 字符 | - |
29
- | `desc` | string | 否 | 图文正文/描述,支持 HTML | - |
29
+ | `desc` | string | 否 | 图文正文/描述,支持 HTML 和自定义话题,普通 `#话题` 自动转换为 `<topic>` HTML | - |
30
30
  | `images` | array | 是 | 写在 `accountForms[].images` 的已上传图片对象数组,可多选;至少 1 张 | - |
31
31
 
32
+ ## 描述话题
33
+
34
+ 与 Web 端描述编辑器一致,话题直接写在 `publishArgs.accountForms[].contentPublishForm.desc` 中。公众号使用自定义话题,无需查询话题,也不要新增 `topics` 数组。
35
+
36
+ 推荐写入 Web 相同的 HTML,保留话题在描述中的位置:
37
+
38
+ ```html
39
+ <p>春日记录 <topic text="生活">#生活</topic> <topic text="摄影">#摄影</topic></p>
40
+ ```
41
+
42
+ 也可填写 `春日记录 #生活 #摄影`,CLI 在 validate / dry-run / 发布准备阶段将普通话题转换为 `<topic>` HTML。已有 `<topic>` HTML 保持原样;使用表单会话时,通过 `publish form set` 写入上述 `desc` 路径。不要填到 `description` 或只填 payload 根级 `desc`,根级字段不能替代账号描述。
43
+
32
44
  ## 账号级发布设置
33
45
 
34
46
  以下字段填写在 `publishArgs.accountForms[].contentPublishForm`。`statement` 必须直接传数值,网关会将其转换为下游的 `{ "type": 值 }`。
@@ -100,3 +100,5 @@
100
100
  | `tags/topic`| `challenges` | [获取话题/挑战](../../get-challenges.md) |
101
101
  | `description.friend` | `friends` | [获取小红书用户/艾特对象](../../get-friends.md) |
102
102
  | `images.key`| `upload` | [资源上传](../../upload-resource.md) |
103
+
104
+ [小红书发布组件用法](../xiaohongshu-components.md)
@@ -148,3 +148,5 @@
148
148
  | `description.friend` | `friends` | [获取小红书用户/艾特对象](../../get-friends.md) |
149
149
  | `shopping_cart` | `goods` | [获取商品列表](../../get-goods.md) |
150
150
  | `video.key` | `upload` | [资源上传](../../upload-resource.md) |
151
+
152
+ [小红书发布组件用法](../xiaohongshu-components.md)
@@ -0,0 +1,9 @@
1
+ ## 小红书发布组件
2
+
3
+ 图文支持引用笔记、投票、地点或朋友标记、路线和附件。视频支持前四项。云端和本地发布使用同一套表单。指定本地客户端时传 `--publish-channel local --client-id <客户端ID>`。
4
+
5
+ - 使用 `query xhs-reference-notes <账号ID> --record` 查询本人笔记,或加 `--link <分享链接>` 解析。用 `publish form choose <会话> referenceNote --result-id <查询记录ID> --id <笔记ID>` 绑定。
6
+ - 投票直接写入 `vote`,包含 `question` 和 `options`。每个选项包含整数 `option_id` 和字符串 `option_name`。
7
+ - 使用 `query xhs-mark-targets <账号ID> --kind user|location --query <关键词> --record`。先填写标记的类型、坐标和素材。用 `publish form choose <会话> xhsMarkTarget --result-id <查询记录ID> --id <候选ID>` 填入对象。可用 `--path` 指定标记下标。视频标记的 `detail.id` 与候选 ID 一致,起止时间按毫秒填写。
8
+ - 使用 `query xhs-route-pois <账号ID> --query <关键词> --record` 查地点。路线文件形如 `{"title":"周末游","groups":[{"name":"DAY 1","pois":[{"resultId":"查询记录ID","id":"地点ID"},{"resultId":"查询记录ID","id":"另一地点ID"}]}]}`。用 `query xhs-route-plan <账号ID> --file <路线文件> --record` 规划。用 `publish xhs-route save <账号ID> --plan-id <规划记录ID> --request-id <操作ID>` 保存。用相同参数执行 `query xhs-route-status <账号ID> --plan-id <规划记录ID> --request-id <操作ID> --record` 确认,再用 `publish form choose <会话> route --result-id <状态记录ID>` 绑定。结果未知时继续查询原操作。
9
+ - 图文使用 `upload --file <路径> --bucket xiaohongshu-attachment --record` 上传文档,再用 `publish form set <会话> 'publishArgs.accountForms[0].contentPublishForm.attachmentSource' --result-id <上传记录ID>` 填入目标账号。支持 DOC、DOCX、PDF、PPT、PPTX,最大 100 MiB。
@@ -14,7 +14,7 @@
14
14
  - 字段中的话题/活动数据,如 `topics`、`tags`、`challenge`、`activity`,必须按各平台 schema 和平台文档定义的字段结构传入。
15
15
  - 只有当平台文档明确要求在 `description`、`desc` 或 `content` 中嵌入话题标签时,才使用 `<topic>` HTML。
16
16
  - `description` / `desc` / `content` 中的 `<topic>` 规则,不适用于 `topics`、`tags`、`challenge` 等字段对象。
17
- - CLI 内部兼容逻辑只处理 `description` 字段:将普通 `#话题` 归一化为 `<topic>` HTML;不会处理 `content`,也不会改变 `tags` / `topics` / `challenge` 字段结构。
17
+ - CLI 内部兼容逻辑处理 `description` 字段,以及微信公众号 `imageText` 的账号级 `desc` 字段:将普通 `#话题` 归一化为 `<topic>` HTML;微信公众号图文话题可直接自定义,无需查询;不会处理 `content`,也不会改变 `tags` / `topics` / `challenge` 字段结构。
18
18
 
19
19
  ## 字段类型对照
20
20