dsh-novel-writer 3.9.1 → 4.0.0
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/README.en.md +0 -9
- package/README.md +0 -9
- package/cordis.patch.yml +1 -1
- package/lib/analysis.js +451 -243
- package/lib/client.js +261 -120
- package/lib/embedding.js +203 -61
- package/lib/index.js +798 -372
- package/lib/lexicons/markers.js +2 -1
- package/lib/prompts.js +9 -2
- package/lib/style-metrics.js +33 -9
- package/lib/update-check.js +68 -21
- package/lib/vibe.js +128 -37
- package/package.json +62 -62
- package/skills/novel-writing/SKILL.md +5 -0
package/README.en.md
CHANGED
|
@@ -90,15 +90,6 @@ After installing, **restart the web app** to activate (host registers 16 tools +
|
|
|
90
90
|
|
|
91
91
|
Under `<library-root>/.novel-writer/`: `plots` / `settings` / `summaries` / `analysis` / `audits` / `embedding` / `style-reports`.
|
|
92
92
|
|
|
93
|
-
## Changelog
|
|
94
|
-
|
|
95
|
-
### v3.9.1 (2026-09-05)
|
|
96
|
-
|
|
97
|
-
- 🐛 Fix: per-chapter style analysis (semantic implicit emotion) previously searched the whole book and leaked hits from other chapters into the report; it is now scoped to the chapter, and stale out-of-scope caches are recomputed and written back automatically.
|
|
98
|
-
- 🐛 Fix: `brief=true` previously still returned the full report and anchor payload (token saving never worked); it now returns a single compact brief and omits `dimensions` / `semantic` / anchors / skeletons.
|
|
99
|
-
- 🔧 Tweak: the brief now follows `METRIC_ORDER` with Chinese dimension labels, consistent with the full report.
|
|
100
|
-
- 🧹 Chore: removed the BOM and normalized formatting in `package.json`; `description` bumped to v3.9.1.
|
|
101
|
-
|
|
102
93
|
---
|
|
103
94
|
|
|
104
95
|
## License
|
package/README.md
CHANGED
|
@@ -90,15 +90,6 @@ dsh plugin --profile web add github:siweina/dsh-novel-writer#main
|
|
|
90
90
|
|
|
91
91
|
`<书库根>/.novel-writer/`:`plots`(伏笔)/ `settings`(设定)/ `summaries`(摘要)/ `analysis`(分析报告)/ `audits`(审计)/ `embedding`(语义索引)/ `style-reports`(风格画像)。
|
|
92
92
|
|
|
93
|
-
## 更新日志
|
|
94
|
-
|
|
95
|
-
### v3.9.1(2026-09-05)
|
|
96
|
-
|
|
97
|
-
- 🐛 修复:单章风格分析(语义隐性情感)此前按整书检索,会把其他章节的意象命中混入本章报告;现改为按章节范围检测与检索,越界的旧缓存会自动重算并写回,不再重复触发。
|
|
98
|
-
- 🐛 修复:`brief=true` 精简模式此前仍返回完整报告与锚包,未达到省 token 的目的;现仅返回一行精简简报,并省略六维 `dimensions` / `semantic` / 锚点包等冗余字段。
|
|
99
|
-
- 🔧 优化:简报按 `METRIC_ORDER` 顺序输出并使用中文维度标签,与完整报告口径一致。
|
|
100
|
-
- 🧹 整理:`package.json` 去除 BOM、恢复规范排版,`description` 更新至 v3.9.1。
|
|
101
|
-
|
|
102
93
|
---
|
|
103
94
|
|
|
104
95
|
## 许可证
|
package/cordis.patch.yml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# dsh-novel-writer
|
|
1
|
+
# dsh-novel-writer v4.0.0 bundle patch: 16 tools (incl. novel_semantic_search) + local embedding engine.
|
|
2
2
|
# dsh-novel-writer bundle patch: mounts the novel-writing assistant plugin
|
|
3
3
|
# into the profile's loader tree. The entry's name is the plugin package
|
|
4
4
|
# itself, resolved from the profile's node_modules.
|