@cloud411716/fancy-webnovel 4.18.0 → 4.18.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud411716/fancy-webnovel",
3
- "version": "4.18.0",
3
+ "version": "4.18.1",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -296,7 +296,15 @@ id / kind / subkind / name / subject / tags / genres / tropes / narrative / trai
296
296
  {"id":"dy_{{WORK_ID}}_02","kind":"唇色","subkind":"红/气场系","name":"正红","subject":"","tags":["唇色","红/气场系","红","正红","气场系"],"genres":["都市","言情","古代"],"tropes":[],"narrative":[],"traits":[],"roles":[],"relations":[],"moods":["气场","强势"],"settings":["现代","古代"],"note":"适合正剧、强势角色或正式场合。","source":"other"}
297
297
  ```
298
298
 
299
- ## 七、跳过
299
+ ## 七、生成前查询(可选)
300
+
301
+ 写新素材之前,可以用 query.js 检查库里是否已有同名素材。这是查重/参考步骤,不是格式校验:
302
+
303
+ ```bash
304
+ node '{{QUERY_SCRIPT}}' --workspace '{{WORKSPACE}}' --kind <kind> --name '<候选名>' --json
305
+ ```
306
+
307
+ ## 八、跳过
300
308
 
301
309
  如果内容与网文创作无关,不要写任何素材行,只写:
302
310
 
@@ -304,14 +312,15 @@ id / kind / subkind / name / subject / tags / genres / tropes / narrative / trai
304
312
  {"skip": true, "reason": "与网文创作无关:<一句话原因>"}
305
313
  ```
306
314
 
307
- ## 八、写完校验
315
+ ## 九、写完校验(必须)
316
+
317
+ 只运行 validate.js 校验目标 JSONL:
308
318
 
309
319
  ```bash
310
- node '{{QUERY_SCRIPT}}' --workspace '{{WORKSPACE}}' --kind <kind> --name '<候选名>' --json
311
320
  node '{{VALIDATE_SCRIPT}}' '{{TARGET_FILE}}'
312
321
  ```
313
322
 
314
- 校验失败就按错误修正,直到通过。
323
+ `query.js` 只用于生成前查重,不参与写完校验。校验失败就按错误修正,直到通过。
315
324
 
316
325
  写完后只回复:
317
326