novelws 4.0.0 → 5.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/CHANGELOG.md +100 -623
- package/README.md +79 -594
- package/dist/cli.js +1 -3
- package/dist/cli.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +12 -99
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/upgrade.d.ts.map +1 -1
- package/dist/commands/upgrade.js +17 -108
- package/dist/commands/upgrade.js.map +1 -1
- package/dist/core/config.d.ts +1 -37
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +6 -45
- package/dist/core/config.js.map +1 -1
- package/dist/core/errors.d.ts +0 -31
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/errors.js +0 -58
- package/dist/core/errors.js.map +1 -1
- package/dist/utils/diagnostics.d.ts +2 -16
- package/dist/utils/diagnostics.d.ts.map +1 -1
- package/dist/utils/diagnostics.js +5 -72
- package/dist/utils/diagnostics.js.map +1 -1
- package/dist/utils/project.d.ts +1 -1
- package/dist/utils/project.d.ts.map +1 -1
- package/dist/utils/project.js +3 -3
- package/dist/utils/project.js.map +1 -1
- package/package.json +1 -2
- package/templates/commands/analyze.md +65 -265
- package/templates/commands/expand.md +70 -0
- package/templates/commands/plan.md +47 -452
- package/templates/commands/specify.md +43 -869
- package/templates/commands/write.md +49 -643
- package/templates/dot-claude/CLAUDE.md +38 -202
- package/templates/resources/anti-ai.md +16 -0
- package/templates/resources/style-reference.md +19 -0
- package/templates/tracking/character-state.json +1 -76
- package/templates/tracking/plot-tracker.json +3 -60
- package/templates/tracking/relationships.json +1 -68
- package/templates/tracking/timeline.json +1 -47
- package/dist/commands/plugin.d.ts +0 -6
- package/dist/commands/plugin.d.ts.map +0 -1
- package/dist/commands/plugin.js +0 -135
- package/dist/commands/plugin.js.map +0 -1
- package/dist/plugins/identifier.d.ts +0 -13
- package/dist/plugins/identifier.d.ts.map +0 -1
- package/dist/plugins/identifier.js +0 -72
- package/dist/plugins/identifier.js.map +0 -1
- package/dist/plugins/installers/base.d.ts +0 -27
- package/dist/plugins/installers/base.d.ts.map +0 -1
- package/dist/plugins/installers/base.js +0 -30
- package/dist/plugins/installers/base.js.map +0 -1
- package/dist/plugins/installers/github.d.ts +0 -22
- package/dist/plugins/installers/github.d.ts.map +0 -1
- package/dist/plugins/installers/github.js +0 -133
- package/dist/plugins/installers/github.js.map +0 -1
- package/dist/plugins/installers/local.d.ts +0 -16
- package/dist/plugins/installers/local.d.ts.map +0 -1
- package/dist/plugins/installers/local.js +0 -69
- package/dist/plugins/installers/local.js.map +0 -1
- package/dist/plugins/installers/npm.d.ts +0 -20
- package/dist/plugins/installers/npm.d.ts.map +0 -1
- package/dist/plugins/installers/npm.js +0 -99
- package/dist/plugins/installers/npm.js.map +0 -1
- package/dist/plugins/manager.d.ts +0 -77
- package/dist/plugins/manager.d.ts.map +0 -1
- package/dist/plugins/manager.js +0 -349
- package/dist/plugins/manager.js.map +0 -1
- package/dist/plugins/registry.d.ts +0 -48
- package/dist/plugins/registry.d.ts.map +0 -1
- package/dist/plugins/registry.js +0 -111
- package/dist/plugins/registry.js.map +0 -1
- package/dist/plugins/types.d.ts +0 -66
- package/dist/plugins/types.d.ts.map +0 -1
- package/dist/plugins/types.js +0 -2
- package/dist/plugins/types.js.map +0 -1
- package/dist/plugins/validator.d.ts +0 -19
- package/dist/plugins/validator.d.ts.map +0 -1
- package/dist/plugins/validator.js +0 -164
- package/dist/plugins/validator.js.map +0 -1
- package/dist/utils/logger.d.ts +0 -13
- package/dist/utils/logger.d.ts.map +0 -1
- package/dist/utils/logger.js +0 -48
- package/dist/utils/logger.js.map +0 -1
- package/plugins/authentic-voice/README.md +0 -31
- package/plugins/authentic-voice/commands/authentic-voice.md +0 -73
- package/plugins/authentic-voice/commands/authenticity-audit.md +0 -37
- package/plugins/authentic-voice/config.yaml +0 -30
- package/plugins/authentic-voice/experts/authentic-editor.md +0 -27
- package/plugins/export/README.md +0 -319
- package/plugins/export/commands/export.md +0 -460
- package/plugins/export/commands/generate-cover.md +0 -256
- package/plugins/export/commands/metadata.md +0 -309
- package/plugins/export/config.yaml +0 -47
- package/plugins/export/experts/publishing-expert.md +0 -171
- package/plugins/export/templates/epub/chapter-template.html +0 -13
- package/plugins/export/templates/epub/cover-template.html +0 -14
- package/plugins/export/templates/epub/stylesheet.css +0 -200
- package/plugins/export/templates/pdf/ebook-style.css +0 -137
- package/plugins/export/templates/pdf/print-style.css +0 -179
- package/plugins/export/templates/platforms/jinjiang-format.md +0 -101
- package/plugins/export/templates/platforms/qidian-format.md +0 -108
- package/plugins/export/templates/platforms/tomato-format.md +0 -95
- package/plugins/translate/README.md +0 -265
- package/plugins/translate/commands/glossary.md +0 -731
- package/plugins/translate/commands/translate-preview.md +0 -543
- package/plugins/translate/commands/translate.md +0 -649
- package/plugins/translate/config.yaml +0 -43
- package/plugins/translate/experts/literary-translator.md +0 -605
- package/templates/commands/character.md +0 -287
- package/templates/commands/checklist.md +0 -744
- package/templates/commands/clarify.md +0 -269
- package/templates/commands/constitution.md +0 -269
- package/templates/commands/expert.md +0 -188
- package/templates/commands/facts.md +0 -552
- package/templates/commands/guide.md +0 -900
- package/templates/commands/help-me.md +0 -221
- package/templates/commands/recap.md +0 -748
- package/templates/commands/relations.md +0 -385
- package/templates/commands/revise.md +0 -450
- package/templates/commands/search.md +0 -531
- package/templates/commands/tasks.md +0 -396
- package/templates/commands/timeline.md +0 -309
- package/templates/commands/track-init.md +0 -149
- package/templates/commands/track.md +0 -704
- package/templates/commands/volume-summary.md +0 -471
- package/templates/knowledge/audit-config.json +0 -26
- package/templates/knowledge/character-profiles.md +0 -152
- package/templates/knowledge/character-voices.md +0 -137
- package/templates/knowledge/locations.md +0 -184
- package/templates/knowledge/world-setting.md +0 -121
- package/templates/resources/character-archetypes/01-hero.md +0 -233
- package/templates/resources/character-archetypes/02-mentor.md +0 -177
- package/templates/resources/character-archetypes/03-shadow.md +0 -221
- package/templates/resources/character-archetypes/04-ally.md +0 -178
- package/templates/resources/character-archetypes/05-shapeshifter.md +0 -177
- package/templates/resources/character-archetypes/06-trickster.md +0 -181
- package/templates/resources/character-archetypes/07-threshold-guardian.md +0 -177
- package/templates/resources/character-archetypes/08-herald.md +0 -180
- package/templates/resources/character-archetypes/09-father.md +0 -249
- package/templates/resources/character-archetypes/10-mother.md +0 -202
- package/templates/resources/character-archetypes/11-child.md +0 -183
- package/templates/resources/character-archetypes/12-sage.md +0 -202
- package/templates/resources/character-archetypes/README.md +0 -60
- package/templates/resources/character-archetypes/application-guide.md +0 -222
- package/templates/resources/character-archetypes/archetype-combinations.md +0 -242
- package/templates/resources/character-archetypes/config.yaml +0 -28
- package/templates/resources/character-archetypes/examples-analysis.md +0 -223
- package/templates/resources/config/keyword-mappings.json +0 -226
- package/templates/resources/config/specification-example.md +0 -146
- package/templates/resources/craft/character-arc.md +0 -1153
- package/templates/resources/craft/dialogue.md +0 -1170
- package/templates/resources/craft/hook-design.md +0 -345
- package/templates/resources/craft/pacing.md +0 -1200
- package/templates/resources/craft/power-system.md +0 -254
- package/templates/resources/craft/scene-structure.md +0 -1136
- package/templates/resources/craft/show-not-tell.md +0 -1012
- package/templates/resources/craft/story-structures.md +0 -134
- package/templates/resources/craft/tension-management.md +0 -168
- package/templates/resources/emotional-beats/01-first-meeting.md +0 -145
- package/templates/resources/emotional-beats/02-bonding-moment.md +0 -226
- package/templates/resources/emotional-beats/03-declaration.md +0 -284
- package/templates/resources/emotional-beats/04-triumph.md +0 -240
- package/templates/resources/emotional-beats/05-reunion.md +0 -396
- package/templates/resources/emotional-beats/06-forgiveness.md +0 -204
- package/templates/resources/emotional-beats/07-betrayal.md +0 -204
- package/templates/resources/emotional-beats/08-loss.md +0 -214
- package/templates/resources/emotional-beats/09-rejection.md +0 -254
- package/templates/resources/emotional-beats/10-failure.md +0 -244
- package/templates/resources/emotional-beats/11-misunderstanding.md +0 -205
- package/templates/resources/emotional-beats/12-farewell.md +0 -283
- package/templates/resources/emotional-beats/13-revelation.md +0 -242
- package/templates/resources/emotional-beats/14-point-of-no-return.md +0 -215
- package/templates/resources/emotional-beats/15-dark-night.md +0 -244
- package/templates/resources/emotional-beats/16-sacrifice.md +0 -246
- package/templates/resources/emotional-beats/17-awakening.md +0 -246
- package/templates/resources/emotional-beats/18-confrontation.md +0 -217
- package/templates/resources/emotional-beats/19-bittersweet-goodbye.md +0 -368
- package/templates/resources/emotional-beats/20-moral-dilemma.md +0 -248
- package/templates/resources/emotional-beats/21-temptation.md +0 -240
- package/templates/resources/emotional-beats/22-redemption.md +0 -210
- package/templates/resources/emotional-beats/README.md +0 -104
- package/templates/resources/emotional-beats/beat-sequences.md +0 -276
- package/templates/resources/emotional-beats/config.yaml +0 -30
- package/templates/resources/emotional-beats/pacing-guide.md +0 -390
- package/templates/resources/genres/game-lit.md +0 -174
- package/templates/resources/genres/historical.md +0 -1127
- package/templates/resources/genres/horror.md +0 -211
- package/templates/resources/genres/military.md +0 -209
- package/templates/resources/genres/mystery.md +0 -1123
- package/templates/resources/genres/rebirth.md +0 -177
- package/templates/resources/genres/revenge.md +0 -846
- package/templates/resources/genres/romance.md +0 -948
- package/templates/resources/genres/sci-fi.md +0 -156
- package/templates/resources/genres/sports.md +0 -216
- package/templates/resources/genres/thriller.md +0 -166
- package/templates/resources/genres/urban.md +0 -170
- package/templates/resources/genres/workplace.md +0 -214
- package/templates/resources/genres/wuxia.md +0 -143
- package/templates/resources/genres/xuanhuan.md +0 -234
- package/templates/resources/genres/youth.md +0 -219
- package/templates/resources/memory/personal-voice.md +0 -113
- package/templates/resources/references/README.md +0 -96
- package/templates/resources/references/china-1920s/culture.md +0 -423
- package/templates/resources/references/china-1920s/daily-life.md +0 -616
- package/templates/resources/references/china-1920s/overview.md +0 -298
- package/templates/resources/references/china-1920s/society.md +0 -703
- package/templates/resources/references/china-1920s/warlords.md +0 -427
- package/templates/resources/references/cultivation-world/daily-life.md +0 -108
- package/templates/resources/references/cultivation-world/overview.md +0 -64
- package/templates/resources/references/cultivation-world/power-system.md +0 -108
- package/templates/resources/references/cultivation-world/sects.md +0 -104
- package/templates/resources/references/cultivation-world/world-setting.md +0 -108
- package/templates/resources/references/modern-workplace/corporate.md +0 -115
- package/templates/resources/references/modern-workplace/daily-life.md +0 -129
- package/templates/resources/references/modern-workplace/overview.md +0 -73
- package/templates/resources/references/modern-workplace/relationships.md +0 -107
- package/templates/resources/references/modern-workplace/tech-industry.md +0 -131
- package/templates/resources/references/tang-dynasty/culture.md +0 -135
- package/templates/resources/references/tang-dynasty/daily-life.md +0 -139
- package/templates/resources/references/tang-dynasty/overview.md +0 -76
- package/templates/resources/references/tang-dynasty/politics.md +0 -121
- package/templates/resources/references/tang-dynasty/society.md +0 -126
- package/templates/resources/requirements/README.md +0 -240
- package/templates/resources/requirements/anti-ai-v3.md +0 -46
- package/templates/resources/requirements/anti-ai-v4-deprecated.md +0 -442
- package/templates/resources/requirements/anti-ai-v5-balanced.md +0 -203
- package/templates/resources/requirements/concretization.md +0 -90
- package/templates/resources/requirements/fast-paced.md +0 -552
- package/templates/resources/requirements/no-poison.md +0 -60
- package/templates/resources/requirements/romance-angst.md +0 -102
- package/templates/resources/requirements/romance-sweet.md +0 -63
- package/templates/resources/requirements/serious-literature.md +0 -45
- package/templates/resources/requirements/strong-emotion.md +0 -60
- package/templates/resources/scripts/README.md +0 -187
- package/templates/resources/scripts/bash/analyze-story.sh +0 -170
- package/templates/resources/scripts/bash/check-analyze-stage.sh +0 -108
- package/templates/resources/scripts/bash/check-consistency.sh +0 -463
- package/templates/resources/scripts/bash/check-facts.sh +0 -214
- package/templates/resources/scripts/bash/check-plot.sh +0 -374
- package/templates/resources/scripts/bash/check-timeline.sh +0 -346
- package/templates/resources/scripts/bash/check-world.sh +0 -395
- package/templates/resources/scripts/bash/check-writing-state.sh +0 -854
- package/templates/resources/scripts/bash/clarify-story.sh +0 -117
- package/templates/resources/scripts/bash/common.sh +0 -151
- package/templates/resources/scripts/bash/constitution.sh +0 -114
- package/templates/resources/scripts/bash/generate-tasks.sh +0 -65
- package/templates/resources/scripts/bash/init-tracking.sh +0 -183
- package/templates/resources/scripts/bash/manage-relations.sh +0 -174
- package/templates/resources/scripts/bash/migrate-tracking.sh +0 -183
- package/templates/resources/scripts/bash/plan-story.sh +0 -100
- package/templates/resources/scripts/bash/specify-story.sh +0 -93
- package/templates/resources/scripts/bash/tasks-story.sh +0 -96
- package/templates/resources/scripts/bash/test-word-count.sh +0 -182
- package/templates/resources/scripts/bash/tests/bench-preload-cache.sh +0 -100
- package/templates/resources/scripts/bash/tests/run-all-benchmarks.sh +0 -16
- package/templates/resources/scripts/bash/tests/test-cache-semantics.sh +0 -199
- package/templates/resources/scripts/bash/tests/test-cross-platform.sh +0 -35
- package/templates/resources/scripts/bash/tests/test-edge-cases-bash.sh +0 -60
- package/templates/resources/scripts/bash/tests/test-phase1-bash.sh +0 -28
- package/templates/resources/scripts/bash/tests/test-preload-cache.sh +0 -123
- package/templates/resources/scripts/bash/tests/test-regex-precompile.sh +0 -89
- package/templates/resources/scripts/bash/tests/test-regression-bash.sh +0 -42
- package/templates/resources/scripts/bash/tests/test-task6-verification.sh +0 -200
- package/templates/resources/scripts/bash/text-audit.sh +0 -144
- package/templates/resources/scripts/bash/track-progress.sh +0 -194
- package/templates/resources/scripts/powershell/analyze-story.ps1 +0 -174
- package/templates/resources/scripts/powershell/check-analyze-stage.ps1 +0 -110
- package/templates/resources/scripts/powershell/check-consistency.ps1 +0 -138
- package/templates/resources/scripts/powershell/check-facts.ps1 +0 -195
- package/templates/resources/scripts/powershell/check-plot.ps1 +0 -139
- package/templates/resources/scripts/powershell/check-timeline.ps1 +0 -112
- package/templates/resources/scripts/powershell/check-writing-state.ps1 +0 -486
- package/templates/resources/scripts/powershell/clarify-story.ps1 +0 -107
- package/templates/resources/scripts/powershell/common.ps1 +0 -36
- package/templates/resources/scripts/powershell/constitution.ps1 +0 -145
- package/templates/resources/scripts/powershell/generate-tasks.ps1 +0 -70
- package/templates/resources/scripts/powershell/init-tracking.ps1 +0 -98
- package/templates/resources/scripts/powershell/manage-relations.ps1 +0 -134
- package/templates/resources/scripts/powershell/migrate-tracking.ps1 +0 -145
- package/templates/resources/scripts/powershell/plan-story.ps1 +0 -99
- package/templates/resources/scripts/powershell/specify-story.ps1 +0 -85
- package/templates/resources/scripts/powershell/tests/bench-ps-cache.ps1 +0 -80
- package/templates/resources/scripts/powershell/tests/test-cross-platform.ps1 +0 -27
- package/templates/resources/scripts/powershell/tests/test-edge-cases-ps.ps1 +0 -29
- package/templates/resources/scripts/powershell/tests/test-phase1-ps.ps1 +0 -28
- package/templates/resources/scripts/powershell/tests/test-ps-cache.ps1 +0 -73
- package/templates/resources/scripts/powershell/tests/test-regression-ps.ps1 +0 -40
- package/templates/resources/scripts/powershell/text-audit.ps1 +0 -102
- package/templates/resources/scripts/powershell/track-progress.ps1 +0 -105
- package/templates/resources/styles/README.md +0 -302
- package/templates/resources/styles/ancient-style.md +0 -579
- package/templates/resources/styles/literary.md +0 -439
- package/templates/resources/styles/minimal.md +0 -472
- package/templates/resources/styles/natural-voice.md +0 -930
- package/templates/resources/styles/web-novel.md +0 -525
- package/templates/skills/analysis/character-analysis/SKILL.md +0 -71
- package/templates/skills/analysis/foreshadow-analysis/SKILL.md +0 -45
- package/templates/skills/analysis/hook-analysis/SKILL.md +0 -111
- package/templates/skills/analysis/logic-analysis/SKILL.md +0 -58
- package/templates/skills/analysis/opening-analysis/SKILL.md +0 -59
- package/templates/skills/analysis/pacing-analysis/SKILL.md +0 -55
- package/templates/skills/analysis/power-analysis/SKILL.md +0 -148
- package/templates/skills/analysis/reader-analysis/SKILL.md +0 -117
- package/templates/skills/analysis/style-analysis/SKILL.md +0 -60
- package/templates/skills/analysis/voice-analysis/SKILL.md +0 -42
- package/templates/skills/auto-tracking/SKILL.md +0 -280
- package/templates/skills/genre-knowledge/fantasy/SKILL.md +0 -355
- package/templates/skills/genre-knowledge/mystery/SKILL.md +0 -337
- package/templates/skills/genre-knowledge/romance/SKILL.md +0 -228
- package/templates/skills/genre-knowledge/sci-fi/SKILL.md +0 -65
- package/templates/skills/genre-knowledge/thriller/SKILL.md +0 -95
- package/templates/skills/planning/volume-detail/SKILL.md +0 -219
- package/templates/skills/quality-assurance/consistency-checker/SKILL.md +0 -412
- package/templates/skills/quality-assurance/continuity-tracker/SKILL.md +0 -157
- package/templates/skills/quality-assurance/facts-checker/SKILL.md +0 -405
- package/templates/skills/quality-assurance/forgotten-elements/SKILL.md +0 -147
- package/templates/skills/quality-assurance/getting-started/SKILL.md +0 -224
- package/templates/skills/quality-assurance/hook-checker/SKILL.md +0 -164
- package/templates/skills/quality-assurance/hook-checker/experts/hook-analyst.md +0 -33
- package/templates/skills/quality-assurance/long-series-continuity/SKILL.md +0 -570
- package/templates/skills/quality-assurance/pacing-monitor/SKILL.md +0 -143
- package/templates/skills/quality-assurance/pov-validator/SKILL.md +0 -135
- package/templates/skills/quality-assurance/pre-write-checklist/SKILL.md +0 -583
- package/templates/skills/quality-assurance/requirement-detector/CONFLICT_RESOLUTION.md +0 -119
- package/templates/skills/quality-assurance/requirement-detector/EXAMPLES.md +0 -146
- package/templates/skills/quality-assurance/requirement-detector/KEYWORDS.md +0 -160
- package/templates/skills/quality-assurance/requirement-detector/SKILL.md +0 -149
- package/templates/skills/quality-assurance/setting-detector/SKILL.md +0 -611
- package/templates/skills/quality-assurance/style-detector/CONFLICT_RESOLUTION.md +0 -126
- package/templates/skills/quality-assurance/style-detector/EXAMPLES.md +0 -206
- package/templates/skills/quality-assurance/style-detector/KEYWORDS.md +0 -207
- package/templates/skills/quality-assurance/style-detector/SKILL.md +0 -264
- package/templates/skills/quality-assurance/voice-consistency-checker/SKILL.md +0 -103
- package/templates/skills/quality-assurance/voice-consistency-checker/experts/voice-analyst.md +0 -21
- package/templates/skills/quality-assurance/workflow-guide/SKILL.md +0 -381
- package/templates/skills/writing-techniques/character-arc/SKILL.md +0 -267
- package/templates/skills/writing-techniques/dialogue-techniques/SKILL.md +0 -366
- package/templates/skills/writing-techniques/multi-thread-narrative/SKILL.md +0 -708
- package/templates/skills/writing-techniques/multi-thread-narrative/experts/thread-analyst.md +0 -226
- package/templates/skills/writing-techniques/pacing-control/SKILL.md +0 -480
- package/templates/skills/writing-techniques/reader-expectation/SKILL.md +0 -1026
- package/templates/skills/writing-techniques/reader-expectation/experts/expectation-analyst.md +0 -209
- package/templates/skills/writing-techniques/revision-polish/SKILL.md +0 -496
- package/templates/skills/writing-techniques/revision-polish/experts/revision-editor.md +0 -221
- package/templates/skills/writing-techniques/scene-structure/SKILL.md +0 -361
- package/templates/skills/writing-techniques/style-learning/SKILL.md +0 -436
- package/templates/skills/writing-techniques/writing-balance/.gitkeep +0 -0
- package/templates/skills/writing-techniques/writing-balance/SKILL.md +0 -460
- package/templates/skills/writing-techniques/writing-techniques/SKILL.md +0 -727
- package/templates/tracking/story-facts.json +0 -5
- package/templates/tracking/summary/characters-summary.json +0 -7
- package/templates/tracking/summary/plot-summary.json +0 -13
- package/templates/tracking/summary/timeline-summary.json +0 -8
- package/templates/tracking/summary/volume-summaries.json +0 -5
- package/templates/tracking/tracking-log.md +0 -110
- package/templates/tracking/validation-rules.json +0 -128
- /package/templates/resources/{memory/constitution.md → constitution.md} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,65 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [5.0.0] - 2026-02-20
|
|
9
|
+
|
|
10
|
+
### Breaking Changes
|
|
11
|
+
|
|
12
|
+
- **架构全面重设计** — 从七步方法论(21 命令、55+ Skills、100+ 资源文件)重构为五命令流水线
|
|
13
|
+
- **概要先行架构** — 新增 `/write`(概要生成)+ `/expand`(正文扩写)两阶段写作流程
|
|
14
|
+
- **零 Skills 架构** — 移除全部 Agent Skills,所有逻辑内嵌于 5 个命令模板
|
|
15
|
+
- **移除插件系统** — 删除 `plugins/`、`packages/novelws-mcp/`、插件命令及相关源码
|
|
16
|
+
- **移除脚本系统** — 删除 `scripts/` 目录及所有 bash/powershell 脚本
|
|
17
|
+
- **资源文件精简** — 从 100+ 文件(craft/genres/styles/requirements/...)精简为 3 个核心文件
|
|
18
|
+
- **Tracking 精简** — 从 6+ 文件精简为 4 个核心 JSON 文件
|
|
19
|
+
- **旧项目不兼容** — v4 项目需重新 `novelws init`,无自动迁移路径
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- **`/expand` 命令** — 将 200-500 字概要扩写为 3000-5000 字正文
|
|
24
|
+
- 精准最小上下文加载(当前概要 + 前章末尾 + 出场角色 + 活跃伏笔 + 风格 + 反AI)
|
|
25
|
+
- 总上下文控制在 2000-3000 字
|
|
26
|
+
- 支持 `--batch N` 批量扩写
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- **`/specify`** — 重写为交互式故事定义(类型、概要、设定、角色、冲突、规模、风格)
|
|
31
|
+
- **`/plan`** — 重写为卷级大纲生成器(冲突、转折、高潮、钩子、角色变动、伏笔规划)
|
|
32
|
+
- **`/write`** — 重写为概要生成器(200-500 字剧情概要 + tracking 骨架更新)
|
|
33
|
+
- 极简上下文:specification 摘要 + 当前卷大纲 + 前序标题列表 + 前一章概要
|
|
34
|
+
- 支持 `--batch N` 批量生成(最大 20 章)
|
|
35
|
+
- **`/analyze`** — 重写为 5 项质量检查(概要符合度、角色一致性、伏笔完整性、连贯性、AI味检测)
|
|
36
|
+
- **CLAUDE.md** — 重写为五命令流水线规范
|
|
37
|
+
- **资源文件** — 精简为 3 个:`constitution.md`(创作宪法)、`style-reference.md`(风格参考)、`anti-ai.md`(反AI规范)
|
|
38
|
+
- **Tracking** — 精简为 4 个:`character-state.json`、`relationships.json`、`plot-tracker.json`、`timeline.json`
|
|
39
|
+
- **`config.ts`** — 移除 SPECIFY/SPEC/KNOWLEDGE_BASE/PLUGINS/MEMORY 等废弃常量
|
|
40
|
+
- **`init.ts`** — 移除 --plugins/--scale/--with-mcp 选项,简化为五命令结构
|
|
41
|
+
- **`upgrade.ts`** — 移除 skills/scripts/legacy 路径处理
|
|
42
|
+
- **`diagnostics.ts`** — 简化为 3 项检查(项目结构、tracking 文件、JSON 完整性)
|
|
43
|
+
- **`errors.ts`** — 移除 PluginNotFoundError 等 4 个插件相关错误类
|
|
44
|
+
- **`package.json`** — 移除 `files` 中的 `plugins` 条目,更新描述
|
|
45
|
+
|
|
46
|
+
### Removed
|
|
47
|
+
|
|
48
|
+
- **21 个命令模板** — constitution、clarify、tasks、track-init、track、recap、timeline、relations、revise、checklist、expert、facts、guide、help-me、character、search、volume-summary 等
|
|
49
|
+
- **55+ Agent Skills** — 全部 skills/ 目录(genre knowledge、writing techniques、quality assurance、analysis 等)
|
|
50
|
+
- **插件系统** — `src/plugins/`(manager、identifier、registry、validator、installers)、`src/commands/plugin.ts`、`plugins/` 目录
|
|
51
|
+
- **MCP 包** — `packages/novelws-mcp/` 整个目录
|
|
52
|
+
- **脚本系统** — `scripts/` 目录、`templates/resources/scripts/`
|
|
53
|
+
- **知识库** — `templates/knowledge/`、`templates/resources/craft/`、`genres/`、`styles/`、`requirements/` 等
|
|
54
|
+
- **资源子目录** — memory/、config/、emotional-beats/、character-archetypes/、references/、presets/
|
|
55
|
+
- **Tracking 文件** — story-facts.json、validation-rules.json、tracking-log.md、summary/ 目录
|
|
56
|
+
- **源码** — `src/utils/logger.ts`(未使用)
|
|
57
|
+
- **旧配置** — `.specify/` 目录
|
|
58
|
+
|
|
59
|
+
### Technical
|
|
60
|
+
|
|
61
|
+
- **测试** — 8 suites,67 个测试全部通过
|
|
62
|
+
- **构建** — TypeScript 编译零错误
|
|
63
|
+
- **项目结构** — templates/(commands + dot-claude + resources + tracking)、src/(cli + 3 commands + 4 core + 2 utils)
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
8
67
|
## [4.0.0] - 2026-02-17
|
|
9
68
|
|
|
10
69
|
### Breaking Changes
|
|
@@ -19,63 +78,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
19
78
|
|
|
20
79
|
### Added
|
|
21
80
|
|
|
22
|
-
#### 目录结构重组(9 阶段实施)
|
|
23
|
-
|
|
24
81
|
- **扁平化项目结构** — 生成项目从 4-5 层嵌套简化为清晰的 3 目录布局
|
|
25
|
-
```
|
|
26
|
-
my-novel/
|
|
27
|
-
├── .claude/ # Claude Code 配置
|
|
28
|
-
│ ├── CLAUDE.md
|
|
29
|
-
│ ├── commands/
|
|
30
|
-
│ ├── skills/
|
|
31
|
-
│ └── .cache/ # 增量缓存(NEW)
|
|
32
|
-
├── resources/ # 所有资源文件(NEW,替代 .specify/)
|
|
33
|
-
│ ├── memory/
|
|
34
|
-
│ ├── craft/
|
|
35
|
-
│ ├── genres/
|
|
36
|
-
│ ├── styles/
|
|
37
|
-
│ ├── requirements/
|
|
38
|
-
│ ├── emotional-beats/
|
|
39
|
-
│ ├── character-archetypes/
|
|
40
|
-
│ ├── references/
|
|
41
|
-
│ ├── config/
|
|
42
|
-
│ └── scripts/
|
|
43
|
-
├── tracking/ # 追踪数据(NEW,提升至顶级)
|
|
44
|
-
├── stories/
|
|
45
|
-
└── knowledge/
|
|
46
|
-
```
|
|
47
|
-
|
|
48
82
|
- **增量缓存加载机制** — `/write` 命令新增 L0/L1/L2 资源分层加载
|
|
49
|
-
|
|
50
|
-
- L1(摘要缓存):craft 知识库、genre 知识库,首次读取后缓存摘要
|
|
51
|
-
- L2(按需):references、emotional-beats 等,仅关键词触发时加载
|
|
52
|
-
- 缓存文件:`.claude/.cache/resource-digest.json`、`.claude/.cache/write-context.json`
|
|
53
|
-
- 通过文件摘要检测变更,未变更资源直接使用缓存,大幅减少 token 消耗
|
|
54
|
-
|
|
55
|
-
- **MCP 配置修复** — `novelws init --with-mcp` 现在正确生成 `.claude/mcp-servers.json`
|
|
56
|
-
- 修复此前缺失 MCP 配置文件导致 MCP 模式无法启用的问题
|
|
57
|
-
- 诊断系统正确检测 `tracking/novel-tracking.db` 判断 MCP 模式
|
|
58
|
-
|
|
83
|
+
- **MCP 配置修复** — `novelws init --with-mcp` 正确生成 `.claude/mcp-servers.json`
|
|
59
84
|
- **v3→v4 自动迁移** — `novelws upgrade` 自动检测旧 `.specify/` 结构并迁移
|
|
60
|
-
- 13 项文件/目录迁移映射
|
|
61
|
-
- 迁移 config.json 到新路径
|
|
62
|
-
- 清理旧目录结构
|
|
63
|
-
- 清除缓存确保一致性
|
|
64
85
|
|
|
65
86
|
### Changed
|
|
66
87
|
|
|
67
|
-
- **config.ts** — 新增 `RESOURCES`、`CACHE`
|
|
68
|
-
- **init.ts** —
|
|
69
|
-
- **diagnostics.ts** —
|
|
70
|
-
- **upgrade.ts** — 新增 v3→v4
|
|
71
|
-
- **54 个模板文件路径更新**
|
|
72
|
-
- **templates/ 源目录重组** — 168 个文件从旧嵌套结构移至 `templates/resources/` 扁平结构
|
|
88
|
+
- **config.ts** — 新增 `RESOURCES`、`CACHE` 目录常量
|
|
89
|
+
- **init.ts** — 重写初始化逻辑
|
|
90
|
+
- **diagnostics.ts** — 更新项目结构检测为 v4 路径
|
|
91
|
+
- **upgrade.ts** — 新增 v3→v4 迁移逻辑
|
|
92
|
+
- **54 个模板文件路径更新**
|
|
73
93
|
|
|
74
94
|
### Technical
|
|
75
95
|
|
|
76
|
-
-
|
|
77
|
-
- **构建** — 编译通过,零错误
|
|
78
|
-
- **兼容性** — 破坏性升级(v4.0.0),通过 `novelws upgrade` 提供迁移路径
|
|
96
|
+
- 21 suites,314 个测试全部通过
|
|
79
97
|
|
|
80
98
|
---
|
|
81
99
|
|
|
@@ -83,56 +101,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
83
101
|
|
|
84
102
|
### Added
|
|
85
103
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
- **
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
- **
|
|
93
|
-
|
|
94
|
-
- **anti-ai-v5-balanced 规则** - 平衡版去 AI 规范,替代旧版 anti-ai-v4
|
|
95
|
-
- **`/write` 命令集成** - 写作时自动调用 writing-balance 评分
|
|
96
|
-
|
|
97
|
-
#### Phase 2: 用户体验提升
|
|
98
|
-
|
|
99
|
-
- **`/help-me` 命令** - 自然语言命令发现
|
|
100
|
-
- 50+ 场景映射,用自然语言描述需求即可找到最佳命令
|
|
101
|
-
- 支持模糊匹配和多关键词组合
|
|
102
|
-
- **`/guide` 命令增强** - 上下文感知推荐引擎
|
|
103
|
-
- 基于项目当前状态智能推荐,提升推荐精准度
|
|
104
|
-
- **统一错误处理框架** - 4 个新错误类
|
|
105
|
-
- `CommandNotFoundError`、`InvalidArgumentError`、`ProjectStateError`、`TrackingDataError`
|
|
106
|
-
- 每个错误附带修复建议和相关命令提示
|
|
107
|
-
- **诊断系统** - `ProjectDiagnostics` 类
|
|
108
|
-
- 5 项自动检查:项目结构、tracking 文件、项目模式、MCP 状态、文件完整性
|
|
109
|
-
- 自动生成修复命令建议
|
|
110
|
-
|
|
111
|
-
#### Phase 3: 功能扩展与优化
|
|
112
|
-
|
|
113
|
-
- **5 个新 genre 知识库**
|
|
114
|
-
- `horror.md` - 恐怖(氛围营造、恐惧递进、心理恐怖)
|
|
115
|
-
- `youth.md` - 青春(校园、成长、青涩情感)
|
|
116
|
-
- `military.md` - 军事(战争、军旅、战术谋略)
|
|
117
|
-
- `sports.md` - 竞技(体育、比赛、热血成长)
|
|
118
|
-
- `workplace.md` - 职场(商战、职场博弈、行业深耕)
|
|
119
|
-
- **AI 模型智能选择** - 8 个命令模板添加 `recommended-model` 字段
|
|
120
|
-
- opus:深度分析任务(analyze --type=framework、plan、revise)
|
|
121
|
-
- sonnet:平衡任务(write、track --check、character)
|
|
122
|
-
- haiku:速度优先(track --sync、search、help-me)
|
|
123
|
-
|
|
124
|
-
### Changed
|
|
125
|
-
|
|
126
|
-
- **anti-ai 规则升级** - v4 禁止列表 → v5 智能平衡评分
|
|
127
|
-
- **`/track` 命令 Token 优化** - 1,080 行 → 704 行(精简 35%),保留所有核心功能
|
|
104
|
+
- **writing-balance Skill** — 6 维度写作平衡评分系统
|
|
105
|
+
- **writing-techniques Skill** — 8 模块写作技巧教学
|
|
106
|
+
- **anti-ai-v5-balanced 规则** — 平衡版去 AI 规范
|
|
107
|
+
- **`/help-me` 命令** — 自然语言命令发现(50+ 场景映射)
|
|
108
|
+
- **`/guide` 命令增强** — 上下文感知推荐引擎
|
|
109
|
+
- **统一错误处理框架** — 4 个新错误类 + 诊断系统
|
|
110
|
+
- **5 个新 genre 知识库** — horror、youth、military、sports、workplace
|
|
111
|
+
- **AI 模型智能选择** — 8 个命令模板添加推荐模型字段
|
|
128
112
|
|
|
129
113
|
### Technical
|
|
130
114
|
|
|
131
|
-
-
|
|
132
|
-
- **测试结果** - 312 个测试全部通过,21 个 test suites,零回归
|
|
133
|
-
- **新增 Skills** - writing-balance、writing-techniques(共 2 个)
|
|
134
|
-
- **新增命令** - `/help-me`(共 1 个)
|
|
135
|
-
- **新增 genre** - horror、youth、military、sports、workplace(共 5 个)
|
|
115
|
+
- 312 个测试全部通过
|
|
136
116
|
|
|
137
117
|
---
|
|
138
118
|
|
|
@@ -140,106 +120,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
140
120
|
|
|
141
121
|
### Added
|
|
142
122
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
- 查询速度提升 100x+(100 章项目:200ms → 3ms)
|
|
152
|
-
- **安装支持** - `novelws init --with-mcp` 自动配置 MCP 服务器
|
|
153
|
-
- **23 个 MCP 集成测试** - 覆盖查询、搜索、迁移等全场景
|
|
154
|
-
|
|
155
|
-
##### Phase 2: 核心迁移系统
|
|
156
|
-
- **`/track --migrate` 命令** - 单命令迁移数据到分片模式/MCP
|
|
157
|
-
- 从单文件 JSON 自动生成分片 JSON + SQLite 数据库
|
|
158
|
-
- 支持 `--target sharded` / `--target mcp` 指定迁移目标
|
|
159
|
-
- 内置安全检查(备份验证、数据完整性检查)
|
|
160
|
-
- **migrate-tracking.ps1 脚本** - PowerShell 独立迁移工具
|
|
161
|
-
- **智能迁移决策** - 基于章节数自动推荐迁移策略
|
|
162
|
-
|
|
163
|
-
##### Phase 3: 分片 JSON 文件系统
|
|
164
|
-
- **分片目录结构** - `spec/tracking/summary/` + `volumes/`
|
|
165
|
-
- summary/ 全局摘要:characters-summary.json, plot-summary.json, timeline-summary.json, volume-summaries. json
|
|
166
|
-
- volumes/vol-XX/ 分卷数据:character-state.json, plot-tracker.json, timeline.json, relationships.json
|
|
167
|
-
- **按需加载机制** - 只加载当前卷数据,加载速度提升 40x+
|
|
168
|
-
- **向下兼容** - 小型项目仍使用单文件模式(spec/tracking/*.json)
|
|
169
|
-
- **`--scale large` 标志** - `novelws init --scale large` 启用分片模式
|
|
170
|
-
|
|
171
|
-
##### Phase 4: 重命令改造(4 个核心命令)
|
|
172
|
-
对大文件读取命令实施三层 Fallback 改造:
|
|
173
|
-
|
|
174
|
-
- **`/write` 命令** - 写作时加载上下文
|
|
175
|
-
- Layer 3: MCP 查询(毫秒级,推荐 >300 章)
|
|
176
|
-
- Layer 2: 分片 JSON(按卷加载,100-300 章)
|
|
177
|
-
- Layer 1: 单文件 JSON(兜底,<100 章)
|
|
178
|
-
- **`/analyze` 命令** - 分析章节时读取追踪数据
|
|
179
|
-
- **`/character` 命令** - 角色查询、时间线、关系图谱
|
|
180
|
-
- **`/facts` 命令** - 新增命令,世界观知识库查询
|
|
181
|
-
- **33 个集成测试** - 验证三层 Fallback 在所有场景下正常工作
|
|
182
|
-
|
|
183
|
-
##### Phase 5: 轻命令改造与新命令(8 个命令 + 2 个新命令)
|
|
184
|
-
扩展三层 Fallback 至剩余命令并新增卷级/搜索功能:
|
|
185
|
-
|
|
186
|
-
- **改造命令** - `/plan`, `/tasks`, `/recap`, `/track`, `/timeline`, `/relations`, `/revise`, `/checklist`
|
|
187
|
-
- **新增 `/volume-summary` 命令** - 卷级摘要生成
|
|
188
|
-
- 支持 `--volume vol-XX` 指定卷
|
|
189
|
-
- 生成角色出场统计、情节线进度、伏笔状态、节奏分析
|
|
190
|
-
- **新增 `/search` 命令** - 全文搜索(需 MCP)
|
|
191
|
-
- FTS5 全文索引,搜索速度提升 500x+(1000 ms → 2 ms)
|
|
192
|
-
- 支持 `--type chapter|character|plot|fact` 搜索指定类型
|
|
193
|
-
- 关键词高亮显示
|
|
194
|
-
- **`--volume vol-XX` 参数** - `/track`, `/analyze` 等支持卷级操作
|
|
195
|
-
- **30 个集成测试** - 覆盖所有轻命令和新命令
|
|
196
|
-
|
|
197
|
-
##### Phase 6: Skill 集成与文档完善
|
|
198
|
-
- **long-series-continuity Skill** (570 行)
|
|
199
|
-
- 自动激活:章节数 > 100 时自动启用
|
|
200
|
-
- 四大监控维度:
|
|
201
|
-
1. 角色出场间隔提醒(50/100 章阈值)
|
|
202
|
-
2. 伏笔到期提醒(200/500 章阈值)
|
|
203
|
-
3. 设定一致性检测(跨卷验证)
|
|
204
|
-
4. 角色称呼一致性监控
|
|
205
|
-
- 三层 Fallback 数据加载(MCP → 分片 JSON → 单文件 JSON)
|
|
206
|
-
- 可配置阈值(在 specification.md 中自定义)
|
|
207
|
-
- **CLAUDE.md 模板更新** (+168 行)
|
|
208
|
-
- 完整分片模式文档(目录结构、三层 Fallback、迁移命令)
|
|
209
|
-
- 性能对比表(40x-600x 提升数据)
|
|
210
|
-
- 最佳实践(按项目规模选择模式)
|
|
211
|
-
- **10 个端到端集成测试** - 验证完整工作流
|
|
212
|
-
|
|
213
|
-
### Changed
|
|
214
|
-
|
|
215
|
-
- **项目规模分层** - 根据章节数自动选择最佳模式
|
|
216
|
-
- < 100 章:单文件 JSON(默认)
|
|
217
|
-
- 100-300 章:分片 JSON(建议)
|
|
218
|
-
- \> 300 章:MCP + 分片 JSON(推荐)
|
|
219
|
-
- **Command 增强** - 所有 17 个核心命令支持三层 Fallback
|
|
220
|
-
- **Init 流程升级** - `novelws init` 支持 `--scale large` 和 `--with-mcp` 标志
|
|
221
|
-
|
|
222
|
-
### Performance
|
|
223
|
-
|
|
224
|
-
| 操作 | 单文件模式 | 分片模式 | MCP 模式 |
|
|
225
|
-
|-----|---------|---------|---------|
|
|
226
|
-
| 加载 character-state | ~800 ms | ~20 ms (**40倍**) | ~3 ms (**266倍**) |
|
|
227
|
-
| 查询单个角色 | ~1000 ms | ~50 ms (**20倍**) | ~2 ms (**500倍**) |
|
|
228
|
-
| 搜索历史内容 | ~1200 ms | ~60 ms (**20倍**) | ~2 ms (**600倍**) |
|
|
123
|
+
- **超长篇小说支持** — 三层数据架构(MCP → 分片 JSON → 单文件),100x-600x 性能提升
|
|
124
|
+
- **novelws-mcp 包** — 独立 MCP 服务器,SQLite + FTS5 全文搜索
|
|
125
|
+
- **`/track --migrate` 命令** — 单命令迁移数据到分片/MCP 模式
|
|
126
|
+
- **分片 JSON 系统** — 按卷分片,按需加载
|
|
127
|
+
- **12 个核心命令三层 Fallback 改造**
|
|
128
|
+
- **`/volume-summary` 命令** — 卷级摘要生成
|
|
129
|
+
- **`/search` 命令** — FTS5 全文搜索
|
|
130
|
+
- **long-series-continuity Skill** — 超长篇连贯性守护
|
|
229
131
|
|
|
230
132
|
### Technical
|
|
231
133
|
|
|
232
|
-
-
|
|
233
|
-
- **测试增长** - 263 → 275 个测试(+12 个)
|
|
234
|
-
- **测试结果** - ✅ 275 个测试全部通过,零回归
|
|
235
|
-
- **提交数** - Phase 1-6 共 20+ 次提交
|
|
236
|
-
- **版本标签** - v3.0.0(从 v3.0.0-beta.1 正式发布)
|
|
237
|
-
|
|
238
|
-
### Documentation
|
|
239
|
-
|
|
240
|
-
- **Phase 完成报告** - `docs/plans/completed/V2/phase-X-completion-report.md`(Phase 1-6)
|
|
241
|
-
- **用户文档** - README.md 更新超长篇支持说明
|
|
242
|
-
- **Skill 文档** - long-series-continuity SKILL.md 完整使用指南
|
|
134
|
+
- 275 个测试全部通过
|
|
243
135
|
|
|
244
136
|
---
|
|
245
137
|
|
|
@@ -247,120 +139,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
247
139
|
|
|
248
140
|
### Changed
|
|
249
141
|
|
|
250
|
-
- **`/guide` 命令完全重写** —
|
|
251
|
-
- 原版本:每个阶段列出 3-4 个操作选项,用户需要自己判断
|
|
252
|
-
- 新版本:基于项目状态自动计算**唯一最佳下一步** + 最多 2 个备选操作
|
|
253
|
-
- 文件大小:298 行 → 678 行(+380 行详细逻辑)
|
|
254
|
-
|
|
255
|
-
### Added
|
|
256
|
-
|
|
257
|
-
- **三层优先级推荐系统**
|
|
258
|
-
- **P0(阻塞级)**:写作断点、tracking 严重落后、时间线冲突、伏笔超紧急、facts 冲突 — 自动成为主推荐
|
|
259
|
-
- **P1(流程级)**:按创作流程推荐(空白项目 → 规格 → 计划 → 任务 → 写作 → 分析 → 完成)
|
|
260
|
-
- **P2(优化级)**:角色缺席、伏笔中等紧急、tracking 轻微落后、风格偏移、爽点间隔 — 折叠显示为健康提示
|
|
261
|
-
|
|
262
|
-
- **长篇小说差异化建议**
|
|
263
|
-
- **长篇(50-300 章)**:tracking 落后 > 3 章触发 P0,每 5 章质量检查,角色缺席 > 5 章警告
|
|
264
|
-
- **超长篇(> 300 章)**:tracking 落后 > 2 章触发 P0,每 3 章质量检查,角色缺席 > 8 章警告,新卷开始强制 `/recap --full`
|
|
265
|
-
|
|
266
|
-
- **4 种场景输出模板**
|
|
267
|
-
- 空白项目:欢迎信息 + 流程指引
|
|
268
|
-
- 卷末:本卷统计 + 质量分析推荐
|
|
269
|
-
- 超长篇新卷开始:强制上下文重建
|
|
270
|
-
- P0 紧急情况:优先处理异常
|
|
142
|
+
- **`/guide` 命令完全重写** — 三层优先级智能推荐引擎(P0/P1/P2)
|
|
271
143
|
|
|
272
|
-
|
|
273
|
-
- 离开 > 1 天自动推荐 `/recap --brief`
|
|
274
|
-
- 检测到 P2 问题时智能添加对应检查命令
|
|
275
|
-
- 最多 2 个备选,避免选择困难
|
|
276
|
-
|
|
277
|
-
### Fixed
|
|
278
|
-
|
|
279
|
-
- **测试更新** — `template-validation.test.ts` 中 guide.md 相关测试更新为验证新的优先级系统,移除旧的反馈处理测试
|
|
144
|
+
---
|
|
280
145
|
|
|
281
146
|
## [2.1.1] - 2026-02-12
|
|
282
147
|
|
|
283
148
|
### Fixed
|
|
284
149
|
|
|
285
|
-
-
|
|
286
|
-
-
|
|
287
|
-
- `text-audit.ps1`: 修复使用 bash heredoc 语法(`<< PY`)导致 PowerShell 报错,改为 here-string + 管道
|
|
288
|
-
- `generate-tasks.ps1`: 修复未引入 `common.ps1` 且硬编码相对路径导致的运行失败
|
|
289
|
-
- `check-writing-state.ps1`: 修复引用 `templates/` 路径应为 `.specify/templates/`
|
|
290
|
-
- `track-progress.ps1`: 修复硬编码 `stories/current/progress.json` 路径
|
|
291
|
-
- `specify-story.ps1`、`plan-story.ps1`、`constitution.ps1`、`analyze-story.ps1`: 添加缺失的 `Set-StrictMode` / `$ErrorActionPreference`
|
|
292
|
-
- **Bash 脚本路径修复** — `check-writing-state.sh` 中 knowledge-base 和 skills 路径同步修正为 `.specify/templates/` 前缀
|
|
293
|
-
- **`upgrade` 命令支持脚本更新** — 新增 `--scripts` 选项,升级时可更新 `.specify/scripts/`
|
|
294
|
-
|
|
295
|
-
### Changed
|
|
296
|
-
|
|
297
|
-
- **模型配置不再硬编码** — 移除所有 15 个命令模板中的 `model: claude-sonnet-4-5-20250929`,默认不指定模型(使用 Claude Code 默认模型)
|
|
298
|
-
- **新增 `--model` 参数** — `novelws init --model <name>` 和 `novelws upgrade --model <name>` 支持指定命令使用的 AI 模型
|
|
150
|
+
- **脚本目录路径修复**、PowerShell/Bash 脚本错误修复
|
|
151
|
+
- **模型配置不再硬编码**,新增 `--model` 参数
|
|
299
152
|
|
|
300
153
|
## [2.1.0] - 2026-02-12
|
|
301
154
|
|
|
302
155
|
### Changed
|
|
303
156
|
|
|
304
|
-
- **Token
|
|
305
|
-
- `write.md`: 1,617 → 438 行(72.8% 精简)
|
|
306
|
-
- `analyze.md`: 2,071 → 329 行(84.1% 精简)
|
|
307
|
-
- `plan.md`: 1,286 → 380 行(70.5% 精简)
|
|
308
|
-
- 合计:4,974 → 1,147 行,典型会话 token 消耗从 ~110,000 降至 ~26,000
|
|
309
|
-
|
|
310
|
-
- **精简策略**
|
|
311
|
-
- 重复的反 AI 规范、具象化检查清单、后置 Tracking 处理细节提取到独立文件
|
|
312
|
-
- 三层资源加载中的 JavaScript 伪代码删除,保留执行指令
|
|
313
|
-
- 会话级资源复用说明统一到 CLAUDE.md,各命令引用
|
|
314
|
-
- 10 种专项分析从 analyze.md 提取为独立 Skill 文件(按需加载)
|
|
315
|
-
- 4 种网文结构模板和卷级详细规划从 plan.md 提取到知识库/Skill 文件
|
|
157
|
+
- **Token 优化** — 三大核心命令精简 76.9%(write 72.8%、analyze 84.1%、plan 70.5%)
|
|
316
158
|
|
|
317
159
|
### Added
|
|
318
160
|
|
|
319
|
-
-
|
|
320
|
-
- 跨命令共享的核心写作规范(~55 行)
|
|
321
|
-
- `novelws init` 自动生成到 `.claude/CLAUDE.md`
|
|
322
|
-
- 利用 system prompt 缓存机制(90% 折扣),后续命令几乎零额外 token
|
|
323
|
-
- 包含:反 AI 写作核心、段落格式规范、后置 Tracking 处理、会话级资源复用、前文内容加载策略、/compact 使用建议
|
|
324
|
-
|
|
325
|
-
- **具象化检查文件**(`templates/knowledge-base/requirements/concretization.md`)
|
|
326
|
-
- 从 write.md 提取的完整具象化检查清单和示例
|
|
327
|
-
- 时间/人物/数量/场景四维具象化对照表
|
|
328
|
-
- 首次写作时按需加载
|
|
329
|
-
|
|
330
|
-
- **Auto-Tracking Skill**(`templates/skills/auto-tracking/SKILL.md`)
|
|
331
|
-
- 从 write.md 提取的完整 Tracking 更新格式和流程
|
|
332
|
-
- 4 个 JSON 文件(character-state, relationships, plot-tracker, timeline)的更新示例
|
|
333
|
-
- tracking-log.md 日志格式模板
|
|
334
|
-
- 错误处理策略
|
|
335
|
-
|
|
336
|
-
- **10 个分析 Skill 文件**(`templates/skills/analysis/*/SKILL.md`)
|
|
337
|
-
- opening-analysis: 开篇分析(黄金开篇法则、钩子评估)
|
|
338
|
-
- pacing-analysis: 节奏分析(冲突分布、爽点间隔、高潮放置)
|
|
339
|
-
- character-analysis: 人物分析(角色弧追踪、一致性检查、关系网络)
|
|
340
|
-
- foreshadow-analysis: 伏笔分析(埋设/回收追踪、密度评估)
|
|
341
|
-
- logic-analysis: 逻辑分析(时间线、因果、能力一致性、世界观)
|
|
342
|
-
- style-analysis: 风格分析(词汇、句式、叙事风格)
|
|
343
|
-
- reader-analysis: 读者体验(爽点密度、钩子强度、信息投喂)
|
|
344
|
-
- hook-analysis: 钩子分析(逐章钩子扫描、类型分布、回收率)
|
|
345
|
-
- power-analysis: 力量体系(等级一致性、战力平衡、升级节奏)
|
|
346
|
-
- voice-analysis: 对话一致性(语言指纹分析)
|
|
347
|
-
|
|
348
|
-
- **网文结构模板文件**(`templates/knowledge-base/craft/story-structures.md`)
|
|
349
|
-
- 从 plan.md 提取的 4 种网文结构模板
|
|
350
|
-
- 升级流/副本流/任务流/日常流的卷模板和爽点分布
|
|
351
|
-
|
|
352
|
-
- **卷级规划 Skill**(`templates/skills/planning/volume-detail/SKILL.md`)
|
|
353
|
-
- 从 plan.md 提取的卷级详细规划流程(Step 1-6)
|
|
354
|
-
- 多卷批量规划工作流
|
|
355
|
-
- 灵感分配工作流
|
|
356
|
-
|
|
357
|
-
- **`src/core/config.ts`** — 新增 `dotClaude` 和 `claudeMd` 路径
|
|
358
|
-
- **`src/commands/init.ts`** — 新增 CLAUDE.md 复制逻辑
|
|
359
|
-
|
|
360
|
-
### Technical
|
|
361
|
-
|
|
362
|
-
- 162 个测试全部通过(从 161 增长到 162,新增 CLAUDE.md 生成测试)
|
|
363
|
-
- Agent Skills 从 24 个增长到 37 个(+10 分析 + 1 auto-tracking + 1 volume-detail + 1 planning 目录)
|
|
161
|
+
- **CLAUDE.md 模板**、具象化检查文件、Auto-Tracking Skill、10 个分析 Skill、网文结构模板、卷级规划 Skill
|
|
364
162
|
|
|
365
163
|
---
|
|
366
164
|
|
|
@@ -368,16 +166,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
368
166
|
|
|
369
167
|
### Fixed
|
|
370
168
|
|
|
371
|
-
- **清理遗留引用** —
|
|
372
|
-
- `outline.md` → `creative-plan.md`(7 个文件):`/outline` 命令已合并到 `/plan`,但引用未同步更新
|
|
373
|
-
- `/story` → `/specify`(6 个文件):`/story` 命令已重命名为 `/specify`,脚本和模板中残留旧名称
|
|
374
|
-
- `/plot-check` → `/checklist`(3 个文件):`/plot-check` 已被统一的 `/checklist` 命令替代
|
|
375
|
-
- `story.md` → `specification.md`(1 个文件):`clarify.md` 的 `allowed-tools` 声明引用了旧文件名
|
|
376
|
-
- **文档同步更新** — `commands.md`、`getting-started.md` 中的废弃命令引用已修正
|
|
377
|
-
|
|
378
|
-
### Changed
|
|
379
|
-
|
|
380
|
-
- `src/commands/init.ts` 初始化提示:`/plot-check` 替换为 `/checklist`
|
|
169
|
+
- **清理遗留引用** — 修复命令模板和脚本中引用不存在的文件/命令
|
|
381
170
|
|
|
382
171
|
---
|
|
383
172
|
|
|
@@ -385,61 +174,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
385
174
|
|
|
386
175
|
### Added
|
|
387
176
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
- **多线叙事管理(Task 29)**
|
|
391
|
-
- Multi-Thread Narrative Skill 扩展:视角切换规划、信息差追踪、叙事线交汇设计
|
|
392
|
-
- `narrative-threads.json` 数据结构支持
|
|
393
|
-
- `/track` 命令集成叙事线同步
|
|
394
|
-
|
|
395
|
-
- **角色声纹指纹系统(Task 30)**
|
|
396
|
-
- 新增 Voice Consistency Checker Skill(对话一致性检查)
|
|
397
|
-
- 语言指纹六维分析(词汇、句式、语气、口头禅、修辞、节奏)
|
|
398
|
-
- `/analyze --focus=voice` 对话一致性专项分析
|
|
399
|
-
|
|
400
|
-
- **伏笔管理增强(Task 31)**
|
|
401
|
-
- `/track` 伏笔健康度检测(伏笔热度、伏笔回收、伏笔链)
|
|
402
|
-
- 紧急度量化评分和回收建议
|
|
403
|
-
|
|
404
|
-
- **风格一致性引擎增强(Task 32)**
|
|
405
|
-
- Style Detector Skill 扩展:风格基线建立、风格偏移检测、跨章节风格一致性评分
|
|
406
|
-
|
|
407
|
-
- **智能"下一步"推荐系统(Task 33)**
|
|
408
|
-
- `/guide` 智能推荐引擎(6 数据源、P0-P3 优先级)
|
|
409
|
-
- `/write` 后置智能推荐(写完自动推荐下一步)
|
|
410
|
-
|
|
411
|
-
- **创作数据统计(Task 34)**
|
|
412
|
-
- `/track --stats` 创作数据统计面板
|
|
413
|
-
- 字数详情、角色出场频率、内容构成、伏笔状态、情节线进度
|
|
414
|
-
|
|
415
|
-
- **反馈循环增强(Task 35)**
|
|
416
|
-
- `/analyze` 反馈建议模块(反馈分类、规格书/计划/任务反馈)
|
|
417
|
-
- `/specify --feedback` 反馈接收模式
|
|
418
|
-
- `/plan --feedback` 反馈接收模式
|
|
419
|
-
- `/guide` 未处理反馈提醒
|
|
420
|
-
|
|
421
|
-
- **命令内容增强(Tasks 36-40)**
|
|
422
|
-
- `/timeline` 时间线可视化、多线程时间对齐、时间冲突检测
|
|
423
|
-
- `/relations` 关系图谱可视化、关系变化追踪、关系冲突检测
|
|
424
|
-
- `/expert` 五大领域专家定义(角色塑造/情节设计/世界观构建/文笔提升/类型写作)+ 咨询流程
|
|
425
|
-
- `/tasks` 任务优先级、任务依赖关系、从计划自动生成任务、任务完成度统计
|
|
426
|
-
- `/checklist` 阶段性检查模板(写前/写后/卷末)、自定义检查项、自动修复建议
|
|
427
|
-
|
|
428
|
-
- **灵感扫描机制(Task 41)**
|
|
429
|
-
- `/write` 灵感扫描(前置)+ 灵感状态更新 + 灵感快速捕捉
|
|
430
|
-
- `/plan` 灵感分配建议
|
|
431
|
-
- `ideas.json` 数据结构支持
|
|
432
|
-
|
|
433
|
-
### Changed
|
|
434
|
-
|
|
435
|
-
- **CLAUDE.md 新增开发规则**
|
|
436
|
-
- Bash 最小化原则:禁止用 Bash 执行文件读写操作
|
|
437
|
-
- 并行任务与共享文件的执行策略:subagent 并行改独立文件,主线程统一改共享文件
|
|
438
|
-
|
|
439
|
-
### Technical
|
|
440
|
-
|
|
441
|
-
- 161 个测试全部通过(从 150 增长到 161)
|
|
442
|
-
- 新增 11 个集成测试覆盖 Phase 3 全部功能
|
|
177
|
+
- **Phase 3: 高级创作引擎** — 多线叙事、声纹指纹、伏笔管理、风格一致性、智能推荐、创作统计、反馈循环、灵感管理
|
|
443
178
|
|
|
444
179
|
---
|
|
445
180
|
|
|
@@ -447,24 +182,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
447
182
|
|
|
448
183
|
### Fixed
|
|
449
184
|
|
|
450
|
-
- **命令模板路径修复** — 修复全部 17
|
|
451
|
-
- `memory/` → `.specify/memory/`(constitution.md、style-reference.md 等)
|
|
452
|
-
- `templates/knowledge-base/` → `.specify/templates/knowledge-base/`
|
|
453
|
-
- `templates/skills/` → `.specify/templates/skills/`
|
|
454
|
-
- `templates/config/` → `.specify/templates/config/`
|
|
455
|
-
- `.claude/knowledge-base/` → `.specify/templates/knowledge-base/`
|
|
456
|
-
- `scripts/bash/` → `.specify/scripts/bash/`
|
|
457
|
-
- `stories/*/spec/tracking/` → `spec/tracking/`
|
|
458
|
-
- 涉及文件:write.md、analyze.md、plan.md、track.md、specify.md、constitution.md、revise.md、checklist.md、character.md 等
|
|
459
|
-
|
|
460
|
-
- **`config.ts` knowledgeBase 路径修复** — `getProjectPaths()` 中 `knowledgeBase` 路径从 `.claude/knowledge-base` 修正为 `.specify/templates/knowledge-base`
|
|
461
|
-
|
|
462
|
-
### Changed
|
|
463
|
-
|
|
464
|
-
- **CLAUDE.md 新增开发规则**
|
|
465
|
-
- 并发编辑规则:禁止多个 agent 同时编辑同一文件
|
|
466
|
-
- 测试框架说明:明确使用 Jest(非 vitest),包含正确运行命令
|
|
467
|
-
- 生成项目目录结构参考:完整目录树 + 关键路径映射表
|
|
185
|
+
- **命令模板路径修复** — 修复全部 17 个模板中的路径引用
|
|
468
186
|
|
|
469
187
|
---
|
|
470
188
|
|
|
@@ -472,25 +190,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
472
190
|
|
|
473
191
|
### Added
|
|
474
192
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
- **批量操作支持**
|
|
478
|
-
- `/plan --detail vol-XX-YY` 多卷规划
|
|
479
|
-
- `/analyze --range ch-XX-YY` / `--range vol-XX` / `--range vol-XX-YY` 批量章节/卷分析
|
|
480
|
-
- `/track --sync` 批量同步追踪数据
|
|
481
|
-
|
|
482
|
-
- **命令链式提示**
|
|
483
|
-
- 全部 17 个命令模板新增"下一步建议"区块
|
|
484
|
-
- 根据当前命令上下文智能推荐 2-3 个后续操作
|
|
485
|
-
- 形成完整的创作工作流图
|
|
486
|
-
|
|
487
|
-
- **Reader Expectation Skill 增强**
|
|
488
|
-
- 期待自动识别引擎(5 种类型:情节承诺、悬念、角色成长、关系、世界谜团)
|
|
489
|
-
- 满足/颠覆节奏规划器(按类型推荐时间线)
|
|
490
|
-
- 情绪预测曲线(逐章读者情绪预测)
|
|
491
|
-
|
|
492
|
-
- **keyword-mappings.json v1.2.0**
|
|
493
|
-
- 新增 4 个关键词映射:tension-management、urban、game-lit、rebirth
|
|
193
|
+
- **批量操作支持**、命令链式提示、Reader Expectation Skill 增强
|
|
494
194
|
|
|
495
195
|
---
|
|
496
196
|
|
|
@@ -498,42 +198,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
498
198
|
|
|
499
199
|
### Added
|
|
500
200
|
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
- **`/guide` 智能引导命令**
|
|
504
|
-
- 自动检测创作阶段(规划期/写作期/修改期/完结期)
|
|
505
|
-
- 根据项目状态推荐下一步操作
|
|
506
|
-
- 新手友好的交互式引导
|
|
507
|
-
|
|
508
|
-
- **`/analyze --focus=power` 力量体系分析**
|
|
509
|
-
- 等级一致性检查
|
|
510
|
-
- 战力平衡分析
|
|
511
|
-
- 升级节奏评估
|
|
512
|
-
- 能力追踪与规则合规性
|
|
513
|
-
|
|
514
|
-
- **网文结构模板**
|
|
515
|
-
- `/plan` 内置 4 种网文结构模板
|
|
516
|
-
- 升级流(修仙/玄幻/都市异能)
|
|
517
|
-
- 副本流(游戏文/无限流)
|
|
518
|
-
- 任务流(冒险/佣兵/赏金猎人)
|
|
519
|
-
- 日常流(经营/种田/慢节奏)
|
|
520
|
-
|
|
521
|
-
- **`/track --check` 节奏健康检测**
|
|
522
|
-
- 节奏多样性评分
|
|
523
|
-
- 满足间隔追踪
|
|
524
|
-
- 钩子连续性检查
|
|
525
|
-
- 情绪曲线分析
|
|
526
|
-
|
|
527
|
-
- **新增知识库**
|
|
528
|
-
- `tension-management.md` - 紧张感管理(信息差、时间压力、两难抉择)
|
|
529
|
-
- `urban.md` - 都市现代类型知识库
|
|
530
|
-
- `game-lit.md` - 游戏/系统文类型知识库
|
|
531
|
-
- `rebirth.md` - 重生/穿越类型知识库
|
|
532
|
-
|
|
533
|
-
- **Pacing Control Skill 增强**
|
|
534
|
-
- 章内节奏检测(开场/发展/高潮/收尾)
|
|
535
|
-
- 多章单调预警(连续章节节奏模式重复检测)
|
|
536
|
-
- 满足间隔追踪(读者期待满足频率监控)
|
|
201
|
+
- **`/guide` 智能引导命令**、力量体系分析、网文结构模板、节奏健康检测、新增知识库
|
|
537
202
|
|
|
538
203
|
---
|
|
539
204
|
|
|
@@ -541,36 +206,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
541
206
|
|
|
542
207
|
### Added
|
|
543
208
|
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
- **`/character` 统一角色管理命令**
|
|
547
|
-
- 7 个子命令:create / list / show / update / relate / voice / timeline
|
|
548
|
-
- 替代分散的角色相关操作
|
|
549
|
-
|
|
550
|
-
- **`/plan --detail vol-XX` 单卷详细规划**
|
|
551
|
-
- 按卷展开章节级别的详细计划
|
|
552
|
-
- 支持卷内节奏设计
|
|
553
|
-
|
|
554
|
-
- **`/specify` 金手指子模式 + `--world` 世界观构建**
|
|
555
|
-
- 金手指/系统设定专项定义
|
|
556
|
-
- 世界观构建子模式(地理、势力、规则)
|
|
557
|
-
|
|
558
|
-
- **`power-system.md` 知识库**
|
|
559
|
-
- 力量体系设计框架
|
|
560
|
-
- 战斗标准化模板
|
|
561
|
-
- 升级节奏指南
|
|
562
|
-
|
|
563
|
-
- **Hook Checker Skill**
|
|
564
|
-
- 5 维钩子评分系统
|
|
565
|
-
- 悬念强度、情感牵引、信息差、行动暗示、节奏适配
|
|
566
|
-
|
|
567
|
-
- **`/analyze --focus=hook` 钩子专项分析**
|
|
568
|
-
- 章末钩子质量评估
|
|
569
|
-
- 钩子类型分布统计
|
|
570
|
-
|
|
571
|
-
- **`/write` 断点续写机制**
|
|
572
|
-
- 基于 `write-checkpoint.json` 的断点记录
|
|
573
|
-
- 中断后自动恢复写作上下文
|
|
209
|
+
- **`/character` 统一角色管理**、单卷详细规划、金手指子模式、Hook Checker Skill、断点续写
|
|
574
210
|
|
|
575
211
|
---
|
|
576
212
|
|
|
@@ -578,83 +214,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
578
214
|
|
|
579
215
|
### Added
|
|
580
216
|
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
- **`/write --fast` 快写模式**
|
|
584
|
-
- 简化输出,专注内容生成
|
|
585
|
-
- 跳过详细分析步骤
|
|
586
|
-
|
|
587
|
-
- **Anti-AI 禁用词外置化**
|
|
588
|
-
- 200+ 禁用词从模板中提取为独立配置
|
|
589
|
-
- 基于腾讯朱雀标准实测
|
|
590
|
-
|
|
591
|
-
- **`/recap` 预测性提示**
|
|
592
|
-
- 上下文重建时自动提示可能的后续操作
|
|
593
|
-
- `--brief` 快速模式
|
|
594
|
-
|
|
595
|
-
- **`hook-design.md` 知识库**
|
|
596
|
-
- 6 种钩子类型定义
|
|
597
|
-
- 钩子链设计方法
|
|
598
|
-
- 章末钩子模板
|
|
599
|
-
|
|
600
|
-
- **`xuanhuan.md` 知识库**
|
|
601
|
-
- 玄幻修仙类型创作惯例
|
|
602
|
-
- 力量体系、宗门、境界设定指南
|
|
603
|
-
|
|
604
|
-
- **`/analyze --focus=reader` 读者体验分析**
|
|
605
|
-
- 爽点密度统计
|
|
606
|
-
- 钩子强度评估
|
|
607
|
-
- 信息投喂节奏分析
|
|
608
|
-
|
|
609
|
-
- **keyword-mappings.json 扩展**
|
|
610
|
-
- 从 8 个映射扩展到 15 个
|
|
611
|
-
- 新增 hook-design、xuanhuan、power-system 等映射
|
|
612
|
-
|
|
613
|
-
### Changed
|
|
614
|
-
|
|
615
|
-
- 核心架构重构(详见 1.2.0 原始条目)
|
|
616
|
-
|
|
617
|
-
#### 核心架构重构
|
|
618
|
-
- 新增 `src/core/` 核心层
|
|
619
|
-
- `config.ts` - 统一配置管理,集中路径常量和默认值
|
|
620
|
-
- `errors.ts` - 自定义错误类型层级(NovelWriterError 及子类)
|
|
621
|
-
- `platform.ts` - 跨平台工具(tar 解压、临时目录)
|
|
622
|
-
|
|
623
|
-
#### 插件系统重构
|
|
624
|
-
- 新增抽象安装器架构
|
|
625
|
-
- `installers/base.ts` - 安装器基类
|
|
626
|
-
- `installers/npm.ts` - npm/scoped npm 包安装器
|
|
627
|
-
- `installers/github.ts` - GitHub 仓库安装器
|
|
628
|
-
- `installers/local.ts` - 本地 tarball 安装器
|
|
629
|
-
- 新增 `plugins/registry.ts` - 独立的插件注册表管理
|
|
630
|
-
- 新增 `plugins/identifier.ts` - 插件标识符解析器
|
|
631
|
-
|
|
632
|
-
#### CLI 命令模块化
|
|
633
|
-
- CLI 拆分为独立命令模块
|
|
634
|
-
- `commands/init.ts` - 项目初始化命令
|
|
635
|
-
- `commands/check.ts` - 环境检查命令
|
|
636
|
-
- `commands/upgrade.ts` - 项目升级命令
|
|
637
|
-
- `commands/plugin.ts` - 插件管理命令组
|
|
638
|
-
|
|
639
|
-
#### 工具层增强
|
|
640
|
-
- `logger.ts` - 新增日志级别过滤(debug/info/warn/error/silent)
|
|
641
|
-
- `version.ts` - 版本号缓存,移除 `import.meta.url` 依赖
|
|
642
|
-
- `project.ts` - 使用配置常量替代硬编码路径,抛出类型化错误
|
|
643
|
-
|
|
644
|
-
### Changed
|
|
645
|
-
|
|
646
|
-
- `cli.ts` 从 ~520 行精简为 ~58 行入口文件
|
|
647
|
-
- 插件系统从单文件重构为多模块架构
|
|
648
|
-
- 所有硬编码路径替换为 `core/config.ts` 常量
|
|
649
|
-
- `ensureProjectRoot()` 抛出 `ProjectNotFoundError` 替代通用 Error
|
|
650
|
-
- `postbuild` 脚本改为跨平台兼容
|
|
651
|
-
- `package.json` files 字段清理,移除不必要的源码和文档
|
|
652
|
-
|
|
653
|
-
### Technical
|
|
654
|
-
|
|
655
|
-
- 92 个测试全部通过(新增 6 个日志级别测试)
|
|
656
|
-
- ESM(生产)+ CJS(Jest)双模式兼容
|
|
657
|
-
- 消除所有 `import.meta.url` 在 CJS 环境下的兼容问题
|
|
217
|
+
- **快写模式**、Anti-AI 禁用词外置化、预测性提示、知识库扩展、核心架构重构、插件系统重构
|
|
658
218
|
|
|
659
219
|
---
|
|
660
220
|
|
|
@@ -663,8 +223,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
663
223
|
### Added
|
|
664
224
|
|
|
665
225
|
- 新增科幻和惊悚类型知识库及 Skills
|
|
666
|
-
- 新增 POV Validator、Continuity Tracker、Pacing Monitor Skills
|
|
667
|
-
- 扩展参考资料库(唐朝、现代职场、修仙世界)
|
|
668
226
|
|
|
669
227
|
---
|
|
670
228
|
|
|
@@ -672,88 +230,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
672
230
|
|
|
673
231
|
### Added
|
|
674
232
|
|
|
675
|
-
|
|
676
|
-
-
|
|
677
|
-
|
|
678
|
-
- `/specify` - 定义故事规格
|
|
679
|
-
- `/clarify` - 澄清关键决策
|
|
680
|
-
- `/plan` - 制定创作计划
|
|
681
|
-
- `/tasks` - 分解任务清单
|
|
682
|
-
- `/write` - AI 辅助写作
|
|
683
|
-
- `/analyze` - 质量验证分析
|
|
684
|
-
|
|
685
|
-
- 追踪与验证命令
|
|
686
|
-
- `/track-init` - 初始化追踪系统
|
|
687
|
-
- `/track` - 综合追踪更新
|
|
688
|
-
- `/plot-check` - 情节一致性检查
|
|
689
|
-
- `/timeline` - 时间线管理
|
|
690
|
-
- `/relations` - 角色关系追踪
|
|
691
|
-
- `/world-check` - 世界观验证
|
|
692
|
-
|
|
693
|
-
#### Agent Skills 系统
|
|
694
|
-
- Genre Knowledge Skills
|
|
695
|
-
- Romance - 言情小说惯例和情感节奏
|
|
696
|
-
- Mystery - 推理悬疑技巧和线索管理
|
|
697
|
-
- Fantasy - 奇幻设定规范和世界构建
|
|
698
|
-
|
|
699
|
-
- Writing Techniques Skills
|
|
700
|
-
- Dialogue Techniques - 对话自然度和角色声音
|
|
701
|
-
- Scene Structure - 场景构建和节奏控制
|
|
702
|
-
- Character Arc - 角色弧线和成长逻辑
|
|
703
|
-
|
|
704
|
-
- Quality Assurance Skills
|
|
705
|
-
- Consistency Checker - 一致性自动监控
|
|
706
|
-
- Workflow Guide - 七步方法论引导
|
|
707
|
-
|
|
708
|
-
#### CLI 工具
|
|
709
|
-
- 项目管理
|
|
710
|
-
- `novelws init` - 初始化项目
|
|
711
|
-
- `novelws check` - 检查环境
|
|
712
|
-
- `novelws upgrade` - 升级项目
|
|
713
|
-
|
|
714
|
-
- 插件系统
|
|
715
|
-
- `novelws plugin:list` - 列出已安装插件
|
|
716
|
-
- `novelws plugin:add` - 安装插件
|
|
717
|
-
- `novelws plugin:remove` - 移除插件
|
|
718
|
-
|
|
719
|
-
#### 文档
|
|
233
|
+
- 完整的七步方法论 Slash Commands(7 个核心命令 + 6 个追踪命令)
|
|
234
|
+
- Agent Skills 系统(Genre Knowledge + Writing Techniques + Quality Assurance)
|
|
235
|
+
- CLI 工具(init、check、upgrade、plugin)
|
|
720
236
|
- 完整文档体系
|
|
721
|
-
- README.md - 项目概览
|
|
722
|
-
- Getting Started - 入门指南
|
|
723
|
-
- Commands Guide - 命令详解
|
|
724
|
-
- Skills Guide - Skills 指南
|
|
725
|
-
- Plugin Development - 插件开发
|
|
726
|
-
|
|
727
|
-
### Features
|
|
728
|
-
|
|
729
|
-
- Claude Code 深度集成
|
|
730
|
-
- Agent Skills 自动激活机制
|
|
731
|
-
- 智能质量检查系统
|
|
732
|
-
- 可扩展插件架构
|
|
733
|
-
- 完整的项目模板
|
|
734
|
-
|
|
735
|
-
### Technical
|
|
736
|
-
|
|
737
|
-
- TypeScript 实现
|
|
738
|
-
- ES Module 支持
|
|
739
|
-
- Node.js >= 18.0.0
|
|
740
|
-
- 基于 Commander.js 的 CLI
|
|
741
|
-
- 完整的类型定义
|
|
742
|
-
|
|
743
|
-
---
|
|
744
|
-
|
|
745
|
-
## [Unreleased]
|
|
746
|
-
|
|
747
|
-
_暂无计划中的功能_
|
|
748
|
-
|
|
749
|
-
---
|
|
750
|
-
|
|
751
|
-
**注释**:
|
|
752
|
-
- 核心功能
|
|
753
|
-
- Agent Skills
|
|
754
|
-
- CLI 工具
|
|
755
|
-
- 文档
|
|
756
|
-
- 新特性
|
|
757
|
-
- 技术改进
|
|
758
|
-
- Bug 修复
|
|
759
|
-
- 安全更新
|