novelws 3.1.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 +115 -564
- package/README.md +81 -598
- 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 +18 -103
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/upgrade.d.ts.map +1 -1
- package/dist/commands/upgrade.js +18 -52
- package/dist/commands/upgrade.js.map +1 -1
- package/dist/core/config.d.ts +7 -36
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +11 -38
- 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 +7 -73
- 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 -556
- 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/config/keyword-mappings.json +0 -226
- 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/knowledge-base/README.md +0 -285
- package/templates/knowledge-base/character-archetypes/01-hero.md +0 -233
- package/templates/knowledge-base/character-archetypes/02-mentor.md +0 -177
- package/templates/knowledge-base/character-archetypes/03-shadow.md +0 -221
- package/templates/knowledge-base/character-archetypes/04-ally.md +0 -178
- package/templates/knowledge-base/character-archetypes/05-shapeshifter.md +0 -177
- package/templates/knowledge-base/character-archetypes/06-trickster.md +0 -181
- package/templates/knowledge-base/character-archetypes/07-threshold-guardian.md +0 -177
- package/templates/knowledge-base/character-archetypes/08-herald.md +0 -180
- package/templates/knowledge-base/character-archetypes/09-father.md +0 -249
- package/templates/knowledge-base/character-archetypes/10-mother.md +0 -202
- package/templates/knowledge-base/character-archetypes/11-child.md +0 -183
- package/templates/knowledge-base/character-archetypes/12-sage.md +0 -202
- package/templates/knowledge-base/character-archetypes/README.md +0 -60
- package/templates/knowledge-base/character-archetypes/application-guide.md +0 -222
- package/templates/knowledge-base/character-archetypes/archetype-combinations.md +0 -242
- package/templates/knowledge-base/character-archetypes/config.yaml +0 -28
- package/templates/knowledge-base/character-archetypes/examples-analysis.md +0 -223
- package/templates/knowledge-base/craft/character-arc.md +0 -1153
- package/templates/knowledge-base/craft/dialogue.md +0 -1170
- package/templates/knowledge-base/craft/hook-design.md +0 -345
- package/templates/knowledge-base/craft/pacing.md +0 -1200
- package/templates/knowledge-base/craft/power-system.md +0 -254
- package/templates/knowledge-base/craft/scene-structure.md +0 -1136
- package/templates/knowledge-base/craft/show-not-tell.md +0 -1012
- package/templates/knowledge-base/craft/story-structures.md +0 -134
- package/templates/knowledge-base/craft/tension-management.md +0 -168
- package/templates/knowledge-base/emotional-beats/01-first-meeting.md +0 -145
- package/templates/knowledge-base/emotional-beats/02-bonding-moment.md +0 -226
- package/templates/knowledge-base/emotional-beats/03-declaration.md +0 -284
- package/templates/knowledge-base/emotional-beats/04-triumph.md +0 -240
- package/templates/knowledge-base/emotional-beats/05-reunion.md +0 -396
- package/templates/knowledge-base/emotional-beats/06-forgiveness.md +0 -204
- package/templates/knowledge-base/emotional-beats/07-betrayal.md +0 -204
- package/templates/knowledge-base/emotional-beats/08-loss.md +0 -214
- package/templates/knowledge-base/emotional-beats/09-rejection.md +0 -254
- package/templates/knowledge-base/emotional-beats/10-failure.md +0 -244
- package/templates/knowledge-base/emotional-beats/11-misunderstanding.md +0 -205
- package/templates/knowledge-base/emotional-beats/12-farewell.md +0 -283
- package/templates/knowledge-base/emotional-beats/13-revelation.md +0 -242
- package/templates/knowledge-base/emotional-beats/14-point-of-no-return.md +0 -215
- package/templates/knowledge-base/emotional-beats/15-dark-night.md +0 -244
- package/templates/knowledge-base/emotional-beats/16-sacrifice.md +0 -246
- package/templates/knowledge-base/emotional-beats/17-awakening.md +0 -246
- package/templates/knowledge-base/emotional-beats/18-confrontation.md +0 -217
- package/templates/knowledge-base/emotional-beats/19-bittersweet-goodbye.md +0 -368
- package/templates/knowledge-base/emotional-beats/20-moral-dilemma.md +0 -248
- package/templates/knowledge-base/emotional-beats/21-temptation.md +0 -240
- package/templates/knowledge-base/emotional-beats/22-redemption.md +0 -210
- package/templates/knowledge-base/emotional-beats/README.md +0 -104
- package/templates/knowledge-base/emotional-beats/beat-sequences.md +0 -276
- package/templates/knowledge-base/emotional-beats/config.yaml +0 -30
- package/templates/knowledge-base/emotional-beats/pacing-guide.md +0 -390
- package/templates/knowledge-base/genres/game-lit.md +0 -174
- package/templates/knowledge-base/genres/historical.md +0 -1127
- package/templates/knowledge-base/genres/horror.md +0 -211
- package/templates/knowledge-base/genres/military.md +0 -209
- package/templates/knowledge-base/genres/mystery.md +0 -1123
- package/templates/knowledge-base/genres/rebirth.md +0 -177
- package/templates/knowledge-base/genres/revenge.md +0 -846
- package/templates/knowledge-base/genres/romance.md +0 -948
- package/templates/knowledge-base/genres/sci-fi.md +0 -156
- package/templates/knowledge-base/genres/sports.md +0 -216
- package/templates/knowledge-base/genres/thriller.md +0 -166
- package/templates/knowledge-base/genres/urban.md +0 -170
- package/templates/knowledge-base/genres/workplace.md +0 -214
- package/templates/knowledge-base/genres/wuxia.md +0 -143
- package/templates/knowledge-base/genres/xuanhuan.md +0 -234
- package/templates/knowledge-base/genres/youth.md +0 -219
- package/templates/knowledge-base/references/README.md +0 -96
- package/templates/knowledge-base/references/china-1920s/culture.md +0 -423
- package/templates/knowledge-base/references/china-1920s/daily-life.md +0 -616
- package/templates/knowledge-base/references/china-1920s/overview.md +0 -298
- package/templates/knowledge-base/references/china-1920s/society.md +0 -703
- package/templates/knowledge-base/references/china-1920s/warlords.md +0 -427
- package/templates/knowledge-base/references/cultivation-world/daily-life.md +0 -108
- package/templates/knowledge-base/references/cultivation-world/overview.md +0 -64
- package/templates/knowledge-base/references/cultivation-world/power-system.md +0 -108
- package/templates/knowledge-base/references/cultivation-world/sects.md +0 -104
- package/templates/knowledge-base/references/cultivation-world/world-setting.md +0 -108
- package/templates/knowledge-base/references/modern-workplace/corporate.md +0 -115
- package/templates/knowledge-base/references/modern-workplace/daily-life.md +0 -129
- package/templates/knowledge-base/references/modern-workplace/overview.md +0 -73
- package/templates/knowledge-base/references/modern-workplace/relationships.md +0 -107
- package/templates/knowledge-base/references/modern-workplace/tech-industry.md +0 -131
- package/templates/knowledge-base/references/tang-dynasty/culture.md +0 -135
- package/templates/knowledge-base/references/tang-dynasty/daily-life.md +0 -139
- package/templates/knowledge-base/references/tang-dynasty/overview.md +0 -76
- package/templates/knowledge-base/references/tang-dynasty/politics.md +0 -121
- package/templates/knowledge-base/references/tang-dynasty/society.md +0 -126
- package/templates/knowledge-base/requirements/README.md +0 -240
- package/templates/knowledge-base/requirements/anti-ai-v3.md +0 -46
- package/templates/knowledge-base/requirements/anti-ai-v4-deprecated.md +0 -442
- package/templates/knowledge-base/requirements/anti-ai-v5-balanced.md +0 -203
- package/templates/knowledge-base/requirements/concretization.md +0 -90
- package/templates/knowledge-base/requirements/fast-paced.md +0 -552
- package/templates/knowledge-base/requirements/no-poison.md +0 -60
- package/templates/knowledge-base/requirements/romance-angst.md +0 -102
- package/templates/knowledge-base/requirements/romance-sweet.md +0 -63
- package/templates/knowledge-base/requirements/serious-literature.md +0 -45
- package/templates/knowledge-base/requirements/strong-emotion.md +0 -60
- package/templates/knowledge-base/styles/README.md +0 -302
- package/templates/knowledge-base/styles/ancient-style.md +0 -579
- package/templates/knowledge-base/styles/literary.md +0 -439
- package/templates/knowledge-base/styles/minimal.md +0 -472
- package/templates/knowledge-base/styles/natural-voice.md +0 -930
- package/templates/knowledge-base/styles/web-novel.md +0 -525
- package/templates/memory/personal-voice.md +0 -113
- package/templates/scripts/README.md +0 -187
- package/templates/scripts/bash/analyze-story.sh +0 -170
- package/templates/scripts/bash/check-analyze-stage.sh +0 -108
- package/templates/scripts/bash/check-consistency.sh +0 -463
- package/templates/scripts/bash/check-facts.sh +0 -214
- package/templates/scripts/bash/check-plot.sh +0 -374
- package/templates/scripts/bash/check-timeline.sh +0 -346
- package/templates/scripts/bash/check-world.sh +0 -395
- package/templates/scripts/bash/check-writing-state.sh +0 -854
- package/templates/scripts/bash/clarify-story.sh +0 -117
- package/templates/scripts/bash/common.sh +0 -151
- package/templates/scripts/bash/constitution.sh +0 -114
- package/templates/scripts/bash/generate-tasks.sh +0 -65
- package/templates/scripts/bash/init-tracking.sh +0 -183
- package/templates/scripts/bash/manage-relations.sh +0 -174
- package/templates/scripts/bash/migrate-tracking.sh +0 -183
- package/templates/scripts/bash/plan-story.sh +0 -100
- package/templates/scripts/bash/specify-story.sh +0 -93
- package/templates/scripts/bash/tasks-story.sh +0 -96
- package/templates/scripts/bash/test-word-count.sh +0 -182
- package/templates/scripts/bash/tests/bench-preload-cache.sh +0 -100
- package/templates/scripts/bash/tests/run-all-benchmarks.sh +0 -16
- package/templates/scripts/bash/tests/test-cache-semantics.sh +0 -199
- package/templates/scripts/bash/tests/test-cross-platform.sh +0 -35
- package/templates/scripts/bash/tests/test-edge-cases-bash.sh +0 -60
- package/templates/scripts/bash/tests/test-phase1-bash.sh +0 -28
- package/templates/scripts/bash/tests/test-preload-cache.sh +0 -123
- package/templates/scripts/bash/tests/test-regex-precompile.sh +0 -89
- package/templates/scripts/bash/tests/test-regression-bash.sh +0 -42
- package/templates/scripts/bash/tests/test-task6-verification.sh +0 -200
- package/templates/scripts/bash/text-audit.sh +0 -144
- package/templates/scripts/bash/track-progress.sh +0 -194
- package/templates/scripts/powershell/analyze-story.ps1 +0 -174
- package/templates/scripts/powershell/check-analyze-stage.ps1 +0 -110
- package/templates/scripts/powershell/check-consistency.ps1 +0 -138
- package/templates/scripts/powershell/check-facts.ps1 +0 -195
- package/templates/scripts/powershell/check-plot.ps1 +0 -139
- package/templates/scripts/powershell/check-timeline.ps1 +0 -112
- package/templates/scripts/powershell/check-writing-state.ps1 +0 -486
- package/templates/scripts/powershell/clarify-story.ps1 +0 -107
- package/templates/scripts/powershell/common.ps1 +0 -36
- package/templates/scripts/powershell/constitution.ps1 +0 -145
- package/templates/scripts/powershell/generate-tasks.ps1 +0 -70
- package/templates/scripts/powershell/init-tracking.ps1 +0 -98
- package/templates/scripts/powershell/manage-relations.ps1 +0 -134
- package/templates/scripts/powershell/migrate-tracking.ps1 +0 -145
- package/templates/scripts/powershell/plan-story.ps1 +0 -99
- package/templates/scripts/powershell/specify-story.ps1 +0 -85
- package/templates/scripts/powershell/tests/bench-ps-cache.ps1 +0 -80
- package/templates/scripts/powershell/tests/test-cross-platform.ps1 +0 -27
- package/templates/scripts/powershell/tests/test-edge-cases-ps.ps1 +0 -29
- package/templates/scripts/powershell/tests/test-phase1-ps.ps1 +0 -28
- package/templates/scripts/powershell/tests/test-ps-cache.ps1 +0 -73
- package/templates/scripts/powershell/tests/test-regression-ps.ps1 +0 -40
- package/templates/scripts/powershell/text-audit.ps1 +0 -102
- package/templates/scripts/powershell/track-progress.ps1 +0 -105
- 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/specification-example.md +0 -146
- 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/{memory → resources}/constitution.md +0 -0
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
# 故事规格说明示例
|
|
2
|
-
|
|
3
|
-
## 最小配置(使用默认智能推断)
|
|
4
|
-
|
|
5
|
-
```yaml
|
|
6
|
-
---
|
|
7
|
-
title: "我的小说"
|
|
8
|
-
genre: romance
|
|
9
|
-
---
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
**说明**:
|
|
13
|
-
- 不配置 `resource-loading` 时,使用默认智能推断
|
|
14
|
-
- 根据 `genre` 自动加载对应的 genre knowledge-base
|
|
15
|
-
- 自动加载所有 craft knowledge-base 和 writing-techniques skills
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## 标准配置(使用原有机制)
|
|
20
|
-
|
|
21
|
-
```yaml
|
|
22
|
-
---
|
|
23
|
-
title: "我的小说"
|
|
24
|
-
genre: romance
|
|
25
|
-
writing-style: natural-voice
|
|
26
|
-
writing-requirements:
|
|
27
|
-
- anti-ai-v4
|
|
28
|
-
- fast-paced
|
|
29
|
-
---
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
**说明**:
|
|
33
|
-
- `writing-style` 会自动加载 `knowledge-base/styles/natural-voice.md`
|
|
34
|
-
- `writing-requirements` 会自动加载对应的 requirements 文档
|
|
35
|
-
- 向后兼容现有项目
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
## 完整配置(使用三层机制)
|
|
40
|
-
|
|
41
|
-
```yaml
|
|
42
|
-
---
|
|
43
|
-
title: "我的小说"
|
|
44
|
-
genre: romance
|
|
45
|
-
writing-style: natural-voice
|
|
46
|
-
writing-requirements:
|
|
47
|
-
- anti-ai-v4
|
|
48
|
-
- fast-paced
|
|
49
|
-
|
|
50
|
-
# 新增:资源加载配置
|
|
51
|
-
resource-loading:
|
|
52
|
-
# 控制自动推断
|
|
53
|
-
auto-load: true # false 则完全禁用智能推断
|
|
54
|
-
|
|
55
|
-
# 知识库配置
|
|
56
|
-
knowledge-base:
|
|
57
|
-
craft:
|
|
58
|
-
- dialogue # 明确启用
|
|
59
|
-
- scene-structure
|
|
60
|
-
- pacing
|
|
61
|
-
- "!character-arc" # ! 前缀表示禁用
|
|
62
|
-
- "!show-not-tell"
|
|
63
|
-
genres:
|
|
64
|
-
- romance # 自动从 genre 字段推断,也可手动指定
|
|
65
|
-
requirements:
|
|
66
|
-
- anti-ai-v4 # 自动从 writing-requirements 推断
|
|
67
|
-
- fast-paced
|
|
68
|
-
|
|
69
|
-
# Skills 配置
|
|
70
|
-
skills:
|
|
71
|
-
writing-techniques:
|
|
72
|
-
- dialogue-techniques
|
|
73
|
-
- pacing-control
|
|
74
|
-
- "!character-arc" # 禁用某个 skill
|
|
75
|
-
quality-assurance:
|
|
76
|
-
- consistency-checker # 默认会加载,可省略
|
|
77
|
-
|
|
78
|
-
# 关键词触发配置
|
|
79
|
-
keyword-triggers:
|
|
80
|
-
enabled: true # 是否启用运行时关键词触发
|
|
81
|
-
custom-mappings: # 自定义关键词映射
|
|
82
|
-
"情感节奏": knowledge-base/craft/pacing.md
|
|
83
|
-
"甜度": knowledge-base/genres/romance.md
|
|
84
|
-
|
|
85
|
-
# 分析命令专用配置
|
|
86
|
-
analysis:
|
|
87
|
-
knowledge-base:
|
|
88
|
-
craft:
|
|
89
|
-
- dialogue # 只检查对话质量
|
|
90
|
-
- pacing # 只检查节奏
|
|
91
|
-
skills:
|
|
92
|
-
quality-assurance:
|
|
93
|
-
- consistency-checker
|
|
94
|
-
- "!workflow-guide" # 分析时不需要工作流引导
|
|
95
|
-
---
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
**说明**:
|
|
99
|
-
|
|
100
|
-
### resource-loading 配置详解
|
|
101
|
-
|
|
102
|
-
#### auto-load(自动加载开关)
|
|
103
|
-
- `true`(默认):启用默认智能推断
|
|
104
|
-
- `false`:完全禁用智能推断,只加载显式配置的资源
|
|
105
|
-
|
|
106
|
-
#### knowledge-base(知识库配置)
|
|
107
|
-
- **craft**: 写作技巧知识库
|
|
108
|
-
- 可选值:`dialogue`, `scene-structure`, `character-arc`, `pacing`, `show-not-tell`
|
|
109
|
-
- 使用 `!` 前缀禁用(如 `!character-arc`)
|
|
110
|
-
- **genres**: 类型知识库
|
|
111
|
-
- 自动从 `genre` 字段推断
|
|
112
|
-
- 可手动指定其他类型
|
|
113
|
-
- **requirements**: 写作规范
|
|
114
|
-
- 自动从 `writing-requirements` 字段推断
|
|
115
|
-
|
|
116
|
-
#### skills(Skills 配置)
|
|
117
|
-
- **writing-techniques**: 写作技巧 Skills
|
|
118
|
-
- 可选值:`dialogue-techniques`, `scene-structure`, `character-arc`, `pacing-control`
|
|
119
|
-
- **quality-assurance**: 质量保证 Skills
|
|
120
|
-
- 可选值:`consistency-checker`, `workflow-guide`
|
|
121
|
-
|
|
122
|
-
#### keyword-triggers(关键词触发)
|
|
123
|
-
- **enabled**: 是否启用运行时关键词触发
|
|
124
|
-
- **custom-mappings**: 自定义关键词 → 资源映射
|
|
125
|
-
|
|
126
|
-
#### analysis(分析命令专用)
|
|
127
|
-
- 为 `/analyze` 等分析命令指定专用配置
|
|
128
|
-
- 结构与主配置相同,但只在分析命令中生效
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
## 配置优先级
|
|
133
|
-
|
|
134
|
-
**优先级**:配置声明 > 智能推断 > 关键词触发
|
|
135
|
-
|
|
136
|
-
1. **配置声明最高**:显式配置的资源一定会加载/禁用
|
|
137
|
-
2. **智能推断次之**:根据 genre、writing-style 等字段推断
|
|
138
|
-
3. **关键词触发最低**:运行时检测关键词动态加载
|
|
139
|
-
|
|
140
|
-
---
|
|
141
|
-
|
|
142
|
-
## 向后兼容性
|
|
143
|
-
|
|
144
|
-
- 不配置 `resource-loading` → 使用默认智能推断 + 原有机制
|
|
145
|
-
- 部分配置 `resource-loading` → 未配置的部分使用默认值
|
|
146
|
-
- 现有项目无需修改,自动享受智能推断
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
# Tracking Log 使用说明
|
|
2
|
-
|
|
3
|
-
## 用途
|
|
4
|
-
本文件记录所有写作技巧命令的执行过程,自动追踪知识库的使用情况:
|
|
5
|
-
- **核心命令**(如 `/write`):自动更新,无需用户确认
|
|
6
|
-
- **辅助命令**(如 `/analyze`):先询问用户,确认后更新
|
|
7
|
-
|
|
8
|
-
## 格式
|
|
9
|
-
每条日志包含三部分:
|
|
10
|
-
1. **命令执行记录**:时间、命令、参数
|
|
11
|
-
2. **更新内容**:使用 diff 格式展示变化
|
|
12
|
-
3. **更新依据**:引用的知识库文件和关键内容
|
|
13
|
-
|
|
14
|
-
## 使用场景
|
|
15
|
-
- 追踪项目使用了哪些写作技巧
|
|
16
|
-
- 审查命令对文档的实际影响
|
|
17
|
-
- 复盘写作过程和决策依据
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## /write 命令示例(自动更新)
|
|
22
|
-
|
|
23
|
-
### 2026-02-08 14:30:25
|
|
24
|
-
**命令**: `/write chapter-3.md --focus emotion`
|
|
25
|
-
**执行者**: AI
|
|
26
|
-
**状态**: 已自动更新
|
|
27
|
-
|
|
28
|
-
**更新内容**:
|
|
29
|
-
```diff
|
|
30
|
-
--- chapter-3.md (原内容)
|
|
31
|
-
+++ chapter-3.md (更新后)
|
|
32
|
-
@@ -15,7 +15,12 @@
|
|
33
|
-
|
|
34
|
-
## Scene 2: 告别
|
|
35
|
-
|
|
36
|
-
-她站在车站,看着火车驶来。
|
|
37
|
-
+她站在车站,手指紧紧攥着车票边缘,薄纸在掌心渐渐濡湿。
|
|
38
|
-
+
|
|
39
|
-
+远处传来火车的汽笛声,低沉而悠长。她的心跳突然加速,
|
|
40
|
-
+仿佛那声音不是在召唤列车,而是在倒数她与这座城市的最后时刻。
|
|
41
|
-
+
|
|
42
|
-
+月台上的冷风刮过来,她下意识地裹紧了围巾。
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
**更新依据**:
|
|
46
|
-
- 知识库:`craft/show-not-tell.md`
|
|
47
|
-
- 引用段落:"通过具体的身体反应和感官细节来暗示情绪"
|
|
48
|
-
- 应用技巧:手指攥紧(焦虑)、心跳加速(紧张)、裹紧围巾(不安)
|
|
49
|
-
- 知识库:`craft/sensory-details.md`
|
|
50
|
-
- 引用段落:"调动多种感官:触觉(濡湿的车票)、听觉(汽笛声)、触觉(冷风)"
|
|
51
|
-
|
|
52
|
-
---
|
|
53
|
-
|
|
54
|
-
## /analyze 命令示例(用户确认更新)
|
|
55
|
-
|
|
56
|
-
### 2026-02-08 15:45:10
|
|
57
|
-
**命令**: `/analyze chapter-5.md --check pacing`
|
|
58
|
-
**执行者**: AI
|
|
59
|
-
**状态**: 等待用户确认
|
|
60
|
-
|
|
61
|
-
**分析结果**:
|
|
62
|
-
发现以下节奏问题:
|
|
63
|
-
1. Scene 3 连续 800 字对话,缺少动作描写
|
|
64
|
-
2. Scene 4 的高潮部分过于简短(仅 200 字)
|
|
65
|
-
|
|
66
|
-
**建议更新**:
|
|
67
|
-
```diff
|
|
68
|
-
--- chapter-5.md (当前)
|
|
69
|
-
+++ chapter-5.md (建议修改)
|
|
70
|
-
@@ -42,6 +42,10 @@
|
|
71
|
-
"你真的要走吗?"他问。
|
|
72
|
-
"是的。"她回答。
|
|
73
|
-
+"为什么?"
|
|
74
|
-
+"因为……"她停顿了。
|
|
75
|
-
+
|
|
76
|
-
+<!-- AI 建议:此处插入动作描写 -->
|
|
77
|
-
+他低下头,手指摩挲着咖啡杯的边缘。
|
|
78
|
-
|
|
79
|
-
@@ -67,4 +71,8 @@
|
|
80
|
-
他转身离开了。
|
|
81
|
-
+
|
|
82
|
-
+<!-- AI 建议:扩展高潮场景 -->
|
|
83
|
-
+雨水顺着他的脸颊滑落,分不清是雨还是泪。
|
|
84
|
-
+她想叫住他,喉咙却像被什么堵住了。
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
**更新依据**:
|
|
88
|
-
- 知识库:`craft/pacing.md`
|
|
89
|
-
- 问题诊断:"长段对话需要用动作和环境描写来打断节奏"
|
|
90
|
-
- 建议技巧:"高潮场景应适当延长,强化情感冲击"
|
|
91
|
-
|
|
92
|
-
**用户确认**: [ ] 是否应用此更新?
|
|
93
|
-
|
|
94
|
-
---
|
|
95
|
-
|
|
96
|
-
### 2026-02-08 15:50:32
|
|
97
|
-
**命令**: `/analyze chapter-5.md --check pacing`
|
|
98
|
-
**状态**: 用户已确认更新
|
|
99
|
-
|
|
100
|
-
(更新内容同上分析结果)
|
|
101
|
-
|
|
102
|
-
**实际应用**: 已将建议写入 `chapter-5.md`
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
<!-- 以下为实际日志追踪区域,由 AI 自动追加 -->
|
|
107
|
-
|
|
108
|
-
## 实际日志记录
|
|
109
|
-
|
|
110
|
-
<!-- 每次命令执行后,在此下方追加新的日志条目 -->
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "1.0",
|
|
3
|
-
"description": "小说内容验证规则,用于检查角色一致性和内容质量",
|
|
4
|
-
|
|
5
|
-
"characters": {
|
|
6
|
-
"protagonist": {
|
|
7
|
-
"name": "[主角名]",
|
|
8
|
-
"aliases": ["[昵称]", "[别名]"],
|
|
9
|
-
"forbidden": ["主角", "男主", "女主", "[常见错误名]"],
|
|
10
|
-
"traits": ["[核心身份]", "[关键特征]"],
|
|
11
|
-
"note": "请根据实际故事设定填写具体内容"
|
|
12
|
-
},
|
|
13
|
-
"supporting": {
|
|
14
|
-
"[配角1名称]": {
|
|
15
|
-
"aliases": ["[昵称]"],
|
|
16
|
-
"addresses_to": {
|
|
17
|
-
"protagonist": ["[对主角的称呼]"]
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"[配角2名称]": {
|
|
21
|
-
"aliases": ["[昵称]"],
|
|
22
|
-
"addresses_to": {
|
|
23
|
-
"protagonist": ["[对主角的称呼]"]
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
"relationships": {
|
|
30
|
-
"fixed_addresses": {
|
|
31
|
-
"description": "固定的人物间称呼关系",
|
|
32
|
-
"rules": {
|
|
33
|
-
"[角色A]→[角色B]": ["[固定称呼1]", "[固定称呼2]"],
|
|
34
|
-
"[角色C]→[角色D]": ["[固定称呼]"]
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"forbidden_addresses": {
|
|
38
|
-
"description": "禁止使用的称呼",
|
|
39
|
-
"rules": {
|
|
40
|
-
"[下级]→[上级]": ["[不恰当的称呼]"],
|
|
41
|
-
"[陌生人]→[主角]": ["[过于亲密的称呼]"]
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
|
|
46
|
-
"validation_tasks": {
|
|
47
|
-
"character_consistency": {
|
|
48
|
-
"enabled": true,
|
|
49
|
-
"checks": [
|
|
50
|
-
"name_consistency",
|
|
51
|
-
"trait_consistency",
|
|
52
|
-
"behavior_consistency"
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
"relationship_validation": {
|
|
56
|
-
"enabled": true,
|
|
57
|
-
"checks": [
|
|
58
|
-
"address_accuracy",
|
|
59
|
-
"relationship_development",
|
|
60
|
-
"interaction_logic"
|
|
61
|
-
]
|
|
62
|
-
},
|
|
63
|
-
"world_rules": {
|
|
64
|
-
"enabled": true,
|
|
65
|
-
"checks": [
|
|
66
|
-
"power_system",
|
|
67
|
-
"geography",
|
|
68
|
-
"timeline"
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
|
|
73
|
-
"auto_fix": {
|
|
74
|
-
"character_names": {
|
|
75
|
-
"enabled": true,
|
|
76
|
-
"confidence_threshold": 0.9,
|
|
77
|
-
"description": "自动修正明显的角色名称错误"
|
|
78
|
-
},
|
|
79
|
-
"addresses": {
|
|
80
|
-
"enabled": true,
|
|
81
|
-
"confidence_threshold": 0.85,
|
|
82
|
-
"description": "自动修正固定称呼错误"
|
|
83
|
-
},
|
|
84
|
-
"simple_typos": {
|
|
85
|
-
"enabled": true,
|
|
86
|
-
"description": "修正简单的拼写错误"
|
|
87
|
-
},
|
|
88
|
-
"complex_issues": {
|
|
89
|
-
"enabled": false,
|
|
90
|
-
"description": "复杂问题仅提供建议,不自动修复"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
|
|
94
|
-
"common_errors": {
|
|
95
|
-
"character_substitution": [
|
|
96
|
-
{"wrong": "李明", "correct": "[正确主角名]", "context": "常见的主角名错误"},
|
|
97
|
-
{"wrong": "张华", "correct": "[正确主角名]", "context": "另一个常见错误"}
|
|
98
|
-
],
|
|
99
|
-
"address_mistakes": [
|
|
100
|
-
{"wrong": "师兄", "correct": "公子", "context": "沈玉卿对主角的称呼"},
|
|
101
|
-
{"wrong": "兄弟", "correct": "贤侄", "context": "长辈对主角的称呼"}
|
|
102
|
-
]
|
|
103
|
-
},
|
|
104
|
-
|
|
105
|
-
"validation_levels": {
|
|
106
|
-
"quick": {
|
|
107
|
-
"description": "快速验证(写作时使用)",
|
|
108
|
-
"checks": ["character_names", "basic_addresses"],
|
|
109
|
-
"time_estimate": "几秒钟"
|
|
110
|
-
},
|
|
111
|
-
"standard": {
|
|
112
|
-
"description": "标准验证(每日检查)",
|
|
113
|
-
"checks": ["character_consistency", "relationship_validation"],
|
|
114
|
-
"time_estimate": "1-2分钟"
|
|
115
|
-
},
|
|
116
|
-
"deep": {
|
|
117
|
-
"description": "深度验证(发布前使用)",
|
|
118
|
-
"checks": ["all"],
|
|
119
|
-
"time_estimate": "5-10分钟"
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
|
|
123
|
-
"usage_guide": {
|
|
124
|
-
"write_command": "在/write时自动加载quick级别验证",
|
|
125
|
-
"track_command": "使用/track --check执行standard级别验证",
|
|
126
|
-
"fix_command": "使用/track --fix自动修复simple级别问题"
|
|
127
|
-
}
|
|
128
|
-
}
|
|
File without changes
|