@oh-story/dsh 0.1.4 → 0.1.6

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.
Files changed (479) hide show
  1. package/README.md +56 -12
  2. package/lib/client.js +2707 -268
  3. package/lib/client.js.map +4 -4
  4. package/lib/drama/manifest.json +136 -101
  5. package/lib/drama/skills/short-drama/SKILL.md +61 -1
  6. package/lib/drama/skills/short-drama/references/contract-and-ownership.md +7 -4
  7. package/lib/drama/skills/short-drama/references/creator-documents.md +133 -8
  8. package/lib/drama/skills/short-drama/references/creator-workflow.md +38 -2
  9. package/lib/drama/skills/short-drama/references/knowhow-index.md +3 -0
  10. package/lib/drama/skills/short-drama/references/reference-roles.md +10 -7
  11. package/lib/drama/skills/short-drama/references/runtime-preflight.md +3 -0
  12. package/lib/drama/skills/short-drama/scripts/creator_markdown_check.py +1002 -0
  13. package/lib/drama/skills/short-drama/scripts/project_tool.py +485 -5
  14. package/lib/drama/skills/short-drama-assets/SKILL.md +13 -3
  15. package/lib/drama/skills/short-drama-assets/references/continuity-lock.md +116 -0
  16. package/lib/drama/skills/short-drama-assets/references/identity-vs-variant.md +2 -1
  17. package/lib/drama/skills/short-drama-assets/references/prop-and-state.md +19 -0
  18. package/lib/drama/skills/short-drama-assets/references/stage-contract.md +2 -0
  19. package/lib/drama/skills/short-drama-assets/scripts/asset_check.py +1 -1
  20. package/lib/drama/skills/short-drama-image-prompts/SKILL.md +6 -2
  21. package/lib/drama/skills/short-drama-image-prompts/references/common-recipe.md +4 -3
  22. package/lib/drama/skills/short-drama-image-prompts/references/lookdev-frame.md +1 -1
  23. package/lib/drama/skills/short-drama-image-prompts/references/review-and-fixtures.md +1 -1
  24. package/lib/drama/skills/short-drama-image-prompts/references/stage-contract.md +3 -1
  25. package/lib/drama/skills/short-drama-image-prompts/scripts/image_prompt_check.py +8 -8
  26. package/lib/drama/skills/short-drama-image-prompts/scripts/selftest.py +4 -2
  27. package/lib/drama/skills/short-drama-produce/SKILL.md +46 -10
  28. package/lib/drama/skills/short-drama-produce/references/adapter-contract.md +65 -8
  29. package/lib/drama/skills/short-drama-produce/references/providers/minimax-h3-video.md +85 -0
  30. package/lib/drama/skills/short-drama-produce/references/providers/seedance.md +27 -10
  31. package/lib/drama/skills/short-drama-produce/scripts/production_tool.py +362 -3
  32. package/lib/drama/skills/short-drama-produce/scripts/provider_adapters.py +627 -40
  33. package/lib/drama/skills/short-drama-produce/scripts/selftest.py +5 -4
  34. package/lib/drama/skills/short-drama-review/references/rubric-visual-motion.md +12 -0
  35. package/lib/drama/skills/short-drama-review/scripts/review_check.py +1 -1
  36. package/lib/drama/skills/short-drama-storyboard/SKILL.md +76 -7
  37. package/lib/drama/skills/short-drama-storyboard/assets/shot-template.jsonl +1 -1
  38. package/lib/drama/skills/short-drama-storyboard/references/keyframe-craft.md +6 -2
  39. package/lib/drama/skills/short-drama-storyboard/references/production-shot-grammar.md +19 -4
  40. package/lib/drama/skills/short-drama-storyboard/references/review-and-fixtures.md +5 -2
  41. package/lib/drama/skills/short-drama-storyboard/references/screenplay-to-keyframe-example.md +16 -0
  42. package/lib/drama/skills/short-drama-storyboard/references/stage-contract.md +8 -3
  43. package/lib/drama/skills/short-drama-storyboard/scripts/storyboard_check.py +1 -1
  44. package/lib/drama/skills/short-drama-video-prompts/SKILL.md +81 -13
  45. package/lib/drama/skills/short-drama-video-prompts/assets/motion-spec.jsonl.md +6 -1
  46. package/lib/drama/skills/short-drama-video-prompts/assets/video-prompts.md +17 -1
  47. package/lib/drama/skills/short-drama-video-prompts/references/delivery-profile.md +21 -1
  48. package/lib/drama/skills/short-drama-video-prompts/references/minimax-h3.md +154 -0
  49. package/lib/drama/skills/short-drama-video-prompts/references/motion-recipe.md +24 -6
  50. package/lib/drama/skills/short-drama-video-prompts/references/production-prompt-grammar.md +11 -7
  51. package/lib/drama/skills/short-drama-video-prompts/references/seedance-2.0.md +41 -0
  52. package/lib/drama/skills/short-drama-video-prompts/references/seedance-2.5.md +66 -0
  53. package/lib/drama/skills/short-drama-video-prompts/references/stage-contract.md +5 -2
  54. package/lib/drama/skills/short-drama-video-prompts/references/target-model-profile.md +115 -0
  55. package/lib/drama/skills/short-drama-video-prompts/scripts/container_check.py +1 -1
  56. package/lib/drama/skills/short-drama-video-prompts/scripts/music_spec_check.py +1 -1
  57. package/lib/drama/skills/short-drama-write/SKILL.md +3 -2
  58. package/lib/drama/skills/short-drama-write/scripts/duration_estimate.py +1 -1
  59. package/lib/drama/skills/short-drama-write/scripts/screenplay_index.py +2 -2
  60. package/lib/drama/skills/short-drama-write/scripts/voice_sheet_check.py +1 -1
  61. package/lib/index.js +865 -33
  62. package/lib/index.js.map +4 -4
  63. package/lib/novel-to-game/LICENSE +21 -0
  64. package/lib/novel-to-game/README.md +180 -0
  65. package/lib/novel-to-game/README_ZH.md +178 -0
  66. package/lib/novel-to-game/VERSION +1 -0
  67. package/lib/novel-to-game/examples/jin-ping-mei/build/BUILD_BRIEF.md +217 -0
  68. package/lib/novel-to-game/examples/jin-ping-mei/build/app/.vercelignore +3 -0
  69. package/lib/novel-to-game/examples/jin-ping-mei/build/app/RUN.md +130 -0
  70. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/bg/compound_new_guofeng.webp +0 -0
  71. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/finale/fate_coda.webp +0 -0
  72. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/finale/meng.webp +0 -0
  73. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/finale/pan.webp +0 -0
  74. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/finale/pinger.webp +0 -0
  75. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/finale/xuee.webp +0 -0
  76. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/finale/yue.webp +0 -0
  77. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/group/inner_court_accord_five.webp +0 -0
  78. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/group/inner_court_afterglow_five.webp +0 -0
  79. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/group/inner_court_alliance.webp +0 -0
  80. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/group/public_day10.webp +0 -0
  81. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/group/public_day15.webp +0 -0
  82. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/group/public_day5.webp +0 -0
  83. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/group/title_new_guofeng.webp +0 -0
  84. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/joint/pan_pinger.webp +0 -0
  85. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/joint/pan_xuee.webp +0 -0
  86. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/joint/yue_meng.webp +0 -0
  87. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/joint/yue_pan.webp +0 -0
  88. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/joint/yue_pinger.webp +0 -0
  89. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/meng/explicit.webp +0 -0
  90. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/meng/prelude.webp +0 -0
  91. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/milestone/meng.webp +0 -0
  92. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/milestone/pan.webp +0 -0
  93. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/milestone/pinger.webp +0 -0
  94. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/milestone/xuee.webp +0 -0
  95. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/milestone/yue.webp +0 -0
  96. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/pan/explicit.webp +0 -0
  97. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/pan/prelude.webp +0 -0
  98. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/pinger/explicit.webp +0 -0
  99. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/pinger/prelude.webp +0 -0
  100. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/xuee/explicit.webp +0 -0
  101. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/xuee/prelude.webp +0 -0
  102. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/yue/explicit.webp +0 -0
  103. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/cg/yue/prelude.webp +0 -0
  104. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/heroine/meng/night.webp +0 -0
  105. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/heroine/pan/night.webp +0 -0
  106. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/heroine/pinger/night.webp +0 -0
  107. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/heroine/xuee/night.webp +0 -0
  108. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/heroine/yue/night.webp +0 -0
  109. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/household/li_jiaoer.webp +0 -0
  110. package/lib/novel-to-game/examples/jin-ping-mei/build/app/assets/scene/gate_collector.webp +0 -0
  111. package/lib/novel-to-game/examples/jin-ping-mei/build/app/css/new-guofeng.css +1105 -0
  112. package/lib/novel-to-game/examples/jin-ping-mei/build/app/css/style.css +2539 -0
  113. package/lib/novel-to-game/examples/jin-ping-mei/build/app/index.html +18 -0
  114. package/lib/novel-to-game/examples/jin-ping-mei/build/app/js/assets.js +147 -0
  115. package/lib/novel-to-game/examples/jin-ping-mei/build/app/js/audio.js +332 -0
  116. package/lib/novel-to-game/examples/jin-ping-mei/build/app/js/data.js +7472 -0
  117. package/lib/novel-to-game/examples/jin-ping-mei/build/app/js/engine.js +13077 -0
  118. package/lib/novel-to-game/examples/jin-ping-mei/build/app/js/main.js +3028 -0
  119. package/lib/novel-to-game/examples/jin-ping-mei/build/app/js/text.js +32 -0
  120. package/lib/novel-to-game/examples/jin-ping-mei/build/app/package.json +10 -0
  121. package/lib/novel-to-game/examples/jin-ping-mei/build/app/vercel.json +23 -0
  122. package/lib/novel-to-game/examples/jin-ping-mei/build/art/generated-art.json +161 -0
  123. package/lib/novel-to-game/examples/jin-ping-mei/example.json +12 -0
  124. package/lib/novel-to-game/examples/jin-ping-mei/qa/README.md +31 -0
  125. package/lib/novel-to-game/examples/jin-ping-mei/qa/playable-model.json +99 -0
  126. package/lib/novel-to-game/examples/jin-ping-mei/qa/verification.json +41 -0
  127. package/lib/novel-to-game/examples/jin-ping-mei/qa/verify_playable_model.mjs +129 -0
  128. package/lib/novel-to-game/manifest.json +508 -0
  129. package/lib/novel-to-game/skills/game-art-direction/SKILL.md +73 -0
  130. package/lib/novel-to-game/skills/game-art-direction/agents/openai.yaml +4 -0
  131. package/lib/novel-to-game/skills/game-art-direction/references/art-direction-method.md +119 -0
  132. package/lib/novel-to-game/skills/game-build/SKILL.md +84 -0
  133. package/lib/novel-to-game/skills/game-build/agents/openai.yaml +4 -0
  134. package/lib/novel-to-game/skills/game-build/references/build-brief-contract.md +109 -0
  135. package/lib/novel-to-game/skills/game-build/references/generative-media-pipeline.md +56 -0
  136. package/lib/novel-to-game/skills/game-build/references/playable-model-contract.md +81 -0
  137. package/lib/novel-to-game/skills/game-build/references/tts-production-contract.md +37 -0
  138. package/lib/novel-to-game/skills/game-concept/SKILL.md +72 -0
  139. package/lib/novel-to-game/skills/game-concept/agents/openai.yaml +4 -0
  140. package/lib/novel-to-game/skills/game-concept/references/concept-method.md +94 -0
  141. package/lib/novel-to-game/skills/game-qa/SKILL.md +50 -0
  142. package/lib/novel-to-game/skills/game-qa/agents/openai.yaml +4 -0
  143. package/lib/novel-to-game/skills/game-qa/references/qa-contract.md +66 -0
  144. package/lib/novel-to-game/skills/game-qa/references/test-design-method.md +45 -0
  145. package/lib/novel-to-game/skills/game-world-design/SKILL.md +63 -0
  146. package/lib/novel-to-game/skills/game-world-design/agents/openai.yaml +4 -0
  147. package/lib/novel-to-game/skills/game-world-design/references/dialogue-design-method.md +59 -0
  148. package/lib/novel-to-game/skills/game-world-design/references/game-writing-craft.md +53 -0
  149. package/lib/novel-to-game/skills/game-world-design/references/narrative-design-method.md +84 -0
  150. package/lib/novel-to-game/skills/game-world-design/references/numeric-design-method.md +56 -0
  151. package/lib/novel-to-game/skills/game-world-design/references/world-design-method.md +124 -0
  152. package/lib/novel-to-game/skills/novel-game-analyze/SKILL.md +77 -0
  153. package/lib/novel-to-game/skills/novel-game-analyze/agents/openai.yaml +4 -0
  154. package/lib/novel-to-game/skills/novel-game-analyze/references/gameability-protocol.md +65 -0
  155. package/lib/novel-to-game/skills/novel-to-game/SKILL.md +71 -0
  156. package/lib/novel-to-game/skills/novel-to-game/agents/openai.yaml +4 -0
  157. package/lib/novel-to-game/skills/novel-to-game/references/intake-benchmark-reference.md +42 -0
  158. package/lib/novel-to-game/skills/novel-to-game/references/intake-method.md +51 -0
  159. package/lib/novel-to-game/skills/novel-to-game/references/pipeline-contract.md +65 -0
  160. package/lib/oh-story/manifest.json +415 -305
  161. package/lib/oh-story/roles/consistency-checker.md +1 -1
  162. package/lib/oh-story/roles/narrative-writer.md +32 -33
  163. package/lib/oh-story/roles/story-architect.md +16 -26
  164. package/lib/oh-story/skills/browser-cdp/SKILL.md +1 -1
  165. package/lib/oh-story/skills/story/SKILL.md +16 -9
  166. package/lib/oh-story/skills/story/VERSION +1 -1
  167. package/lib/oh-story/skills/story/references/author-memory.md +163 -0
  168. package/lib/oh-story/skills/story/scripts/author_memory_commit.py +871 -0
  169. package/lib/oh-story/skills/story-cover/SKILL.md +1 -1
  170. package/lib/oh-story/skills/story-deslop/SKILL.md +10 -5
  171. package/lib/oh-story/skills/story-deslop/references/anti-ai-writing.md +2 -1
  172. package/lib/oh-story/skills/story-deslop/references/author-memory.md +163 -0
  173. package/lib/oh-story/skills/story-deslop/references/banned-words.md +6 -4
  174. package/lib/oh-story/skills/story-deslop/scripts/author_memory_commit.py +871 -0
  175. package/lib/oh-story/skills/story-deslop/scripts/check-ai-patterns.js +64 -1
  176. package/lib/oh-story/skills/story-import/SKILL.md +19 -10
  177. package/lib/oh-story/skills/story-import/references/format-and-structure.md +9 -10
  178. package/lib/oh-story/skills/story-import/references/structure-mapping-long.md +2 -2
  179. package/lib/oh-story/skills/story-import/references/structure-mapping-short.md +1 -1
  180. package/lib/oh-story/skills/story-import/references/tracking-transaction.md +14 -6
  181. package/lib/oh-story/skills/story-import/scripts/check-outline-contract.js +251 -0
  182. package/lib/oh-story/skills/story-import/scripts/tracking_commit.py +98 -9
  183. package/lib/oh-story/skills/story-import/scripts/wordcount_core.py +246 -0
  184. package/lib/oh-story/skills/story-long-analyze/SKILL.md +4 -4
  185. package/lib/oh-story/skills/story-long-scan/SKILL.md +1 -1
  186. package/lib/oh-story/skills/story-long-write/SKILL.md +35 -21
  187. package/lib/oh-story/skills/story-long-write/references/anti-ai-writing.md +2 -1
  188. package/lib/oh-story/skills/story-long-write/references/artifact-protocols.md +7 -3
  189. package/lib/oh-story/skills/story-long-write/references/author-memory.md +163 -0
  190. package/lib/oh-story/skills/story-long-write/references/banned-words.md +6 -4
  191. package/lib/oh-story/skills/story-long-write/references/cross-book-recall.md +6 -6
  192. package/lib/oh-story/skills/story-long-write/references/genre-prose-cards.md +1 -1
  193. package/lib/oh-story/skills/story-long-write/references/genre-readers.md +1 -1
  194. package/lib/oh-story/skills/{story-setup/references/agent-references/hooks-chapter.md → story-long-write/references/long-chapter-hooks.md} +5 -5
  195. package/lib/oh-story/skills/story-long-write/references/{quality-checklist.md → long-chapter-quality.md} +2 -1
  196. package/lib/oh-story/skills/story-long-write/references/long-format.md +42 -0
  197. package/lib/oh-story/skills/{story-setup/references/agent-references/genre-catalog.md → story-long-write/references/long-genre-catalog.md} +11 -97
  198. package/lib/oh-story/skills/{story-setup/references/agent-references/genre-core-mechanics.md → story-long-write/references/long-genre-mechanics.md} +1 -1
  199. package/lib/oh-story/skills/{story-short-write/references/reversal-toolkit.md → story-long-write/references/long-reversal.md} +18 -32
  200. package/lib/oh-story/skills/story-long-write/references/{hooks-suspense.md → long-suspense.md} +6 -6
  201. package/lib/oh-story/skills/story-long-write/references/opening-design.md +1 -1
  202. package/lib/oh-story/skills/story-long-write/references/outline-structure-theory.md +1 -1
  203. package/lib/oh-story/skills/story-long-write/references/style-genre-modules.md +1 -1
  204. package/lib/oh-story/skills/story-long-write/references/tracking-transaction.md +14 -6
  205. package/lib/oh-story/skills/story-long-write/references/workflow-chapter.md +32 -27
  206. package/lib/oh-story/skills/story-long-write/references/workflow-daily.md +4 -4
  207. package/lib/oh-story/skills/story-long-write/references/workflow-revision.md +2 -2
  208. package/lib/oh-story/skills/story-long-write/references/workflow-setup.md +14 -14
  209. package/lib/oh-story/skills/story-long-write/references/writing-craft.md +54 -54
  210. package/lib/oh-story/skills/story-long-write/scripts/author_memory_commit.py +871 -0
  211. package/lib/oh-story/skills/story-long-write/scripts/check-ai-patterns.js +64 -1
  212. package/lib/oh-story/skills/story-long-write/scripts/check-outline-contract.js +251 -0
  213. package/lib/oh-story/skills/story-long-write/scripts/storyctl.py +303 -0
  214. package/lib/oh-story/skills/story-long-write/scripts/tracking_commit.py +98 -9
  215. package/lib/oh-story/skills/story-long-write/scripts/wordcount_core.py +246 -0
  216. package/lib/oh-story/skills/story-review/SKILL.md +26 -17
  217. package/lib/oh-story/skills/story-review/references/anti-ai-writing.md +2 -1
  218. package/lib/oh-story/skills/story-review/references/author-memory.md +163 -0
  219. package/lib/oh-story/skills/story-review/references/banned-words.md +6 -4
  220. package/lib/oh-story/skills/story-review/references/{quality-checklist.md → review-quality.md} +22 -21
  221. package/lib/oh-story/skills/story-review/references/tracking-transaction.md +14 -6
  222. package/lib/oh-story/skills/story-review/scripts/author_memory_commit.py +871 -0
  223. package/lib/oh-story/skills/story-review/scripts/check-ai-patterns.js +64 -1
  224. package/lib/oh-story/skills/story-review/scripts/tracking_commit.py +98 -9
  225. package/lib/oh-story/skills/story-review/scripts/wordcount_core.py +246 -0
  226. package/lib/oh-story/skills/story-setup/SKILL.md +74 -33
  227. package/lib/oh-story/skills/story-setup/references/agent-references/agent-quality.md +72 -0
  228. package/lib/oh-story/skills/story-setup/references/agent-references/agent-reference-profiles.md +55 -0
  229. package/lib/oh-story/skills/story-setup/references/agent-references/anti-ai-writing.md +2 -1
  230. package/lib/oh-story/skills/story-setup/references/agent-references/banned-words.md +6 -4
  231. package/lib/oh-story/skills/story-setup/references/agent-references/format-and-structure.md +9 -10
  232. package/lib/oh-story/skills/story-setup/references/agent-references/genre-prose-cards.md +1 -1
  233. package/lib/oh-story/skills/story-setup/references/agent-references/genre-readers.md +1 -1
  234. package/lib/oh-story/skills/{story-short-analyze/references/hooks-chapter.md → story-setup/references/agent-references/long-chapter-hooks.md} +5 -5
  235. package/lib/oh-story/skills/story-setup/references/agent-references/long-emotional-methods.md +209 -0
  236. package/lib/oh-story/skills/{story-long-write/references/genre-catalog.md → story-setup/references/agent-references/long-genre-catalog.md} +11 -97
  237. package/lib/oh-story/skills/{story-long-write/references/genre-core-mechanics.md → story-setup/references/agent-references/long-genre-mechanics.md} +1 -1
  238. package/lib/oh-story/skills/story-setup/references/agent-references/long-quality.md +40 -0
  239. package/lib/oh-story/skills/story-setup/references/agent-references/{reversal-toolkit.md → long-reversal.md} +18 -32
  240. package/lib/oh-story/skills/{story-short-write/references/hooks-suspense.md → story-setup/references/agent-references/long-suspense.md} +6 -6
  241. package/lib/oh-story/skills/story-setup/references/agent-references/opening-design.md +1 -1
  242. package/lib/oh-story/skills/story-setup/references/agent-references/{emotional-methods.md → short-emotional-methods.md} +4 -4
  243. package/lib/oh-story/skills/{story-long-write/references/genre-writing-formulas.md → story-setup/references/agent-references/short-genre-formulas.md} +32 -44
  244. package/lib/oh-story/skills/story-setup/references/agent-references/short-quality.md +39 -0
  245. package/lib/oh-story/skills/{story-long-write/references/reversal-toolkit.md → story-setup/references/agent-references/short-reversal.md} +29 -23
  246. package/lib/oh-story/skills/story-setup/references/agent-references/{hooks-suspense.md → short-suspense.md} +31 -31
  247. package/lib/oh-story/skills/story-setup/references/agent-references/style-genre-modules.md +1 -1
  248. package/lib/oh-story/skills/story-setup/references/agent-references/writing-craft.md +55 -55
  249. package/lib/oh-story/skills/story-short-analyze/SKILL.md +28 -28
  250. package/lib/oh-story/skills/story-short-analyze/references/{character-basics.md → analysis-character-basics.md} +1 -1
  251. package/lib/oh-story/skills/story-short-analyze/references/{character-design-methods.md → analysis-character-design.md} +1 -1
  252. package/lib/oh-story/skills/story-short-analyze/references/{character-relations.md → analysis-character-relations.md} +1 -1
  253. package/lib/oh-story/skills/story-short-analyze/references/{hooks-paragraph.md → analysis-paragraph-hooks.md} +1 -1
  254. package/lib/oh-story/skills/story-short-analyze/references/{genre-readers.md → analysis-reader-profile.md} +2 -2
  255. package/lib/oh-story/skills/story-short-analyze/references/analysis-report-style.md +45 -0
  256. package/lib/oh-story/skills/story-short-analyze/references/analysis-short-genres.md +65 -0
  257. package/lib/oh-story/skills/story-short-analyze/references/analysis-short-hooks.md +77 -0
  258. package/lib/oh-story/skills/story-short-analyze/references/analysis-short-mechanics.md +82 -0
  259. package/lib/oh-story/skills/story-short-analyze/references/analysis-short-patterns.md +50 -0
  260. package/lib/oh-story/skills/story-short-analyze/references/analysis-short-suspense.md +98 -0
  261. package/lib/oh-story/skills/story-short-analyze/references/{genre-writing-techniques.md → analysis-writing-techniques.md} +21 -19
  262. package/lib/oh-story/skills/story-short-analyze/references/deconstruction-examples.md +1 -1
  263. package/lib/oh-story/skills/story-short-analyze/references/material-decomposition.md +21 -28
  264. package/lib/oh-story/skills/story-short-analyze/references/output-contract.md +1 -1
  265. package/lib/oh-story/skills/story-short-analyze/references/output-templates.md +17 -17
  266. package/lib/oh-story/skills/story-short-analyze/references/{quality-checklist.md → source-story-quality.md} +28 -49
  267. package/lib/oh-story/skills/story-short-analyze/references/zhihu-style.md +2 -2
  268. package/lib/oh-story/skills/story-short-scan/SKILL.md +1 -1
  269. package/lib/oh-story/skills/story-short-write/SKILL.md +78 -55
  270. package/lib/oh-story/skills/story-short-write/references/author-memory.md +163 -0
  271. package/lib/oh-story/skills/story-short-write/references/banned-words.md +6 -4
  272. package/lib/oh-story/skills/story-short-write/references/cross-book-recall.md +3 -3
  273. package/lib/oh-story/skills/story-short-write/references/emotional-methods.md +4 -4
  274. package/lib/oh-story/skills/story-short-write/references/genre-styles//344/270/226/346/203/205/346/211/223/350/204/270.md +3 -3
  275. package/lib/oh-story/skills/story-short-write/references/genre-styles//345/217/214/347/224/267/344/270/273.md +2 -2
  276. package/lib/oh-story/skills/story-short-write/references/genre-styles//345/244/215/344/273/207/346/211/223/350/204/270.md +3 -3
  277. package/lib/oh-story/skills/story-short-write/references/genre-styles//345/256/205/346/226/227/345/256/253/346/226/227.md +6 -6
  278. package/lib/oh-story/skills/story-short-write/references/genre-styles//346/200/273/350/243/201/350/261/252/351/227/250.md +3 -3
  279. package/lib/oh-story/skills/story-short-write/references/genre-styles//346/202/254/347/226/221.md +4 -4
  280. package/lib/oh-story/skills/story-short-write/references/genre-styles//346/260/221/344/277/227/346/200/252/350/260/210.md +7 -7
  281. package/lib/oh-story/skills/story-short-write/references/genre-styles//346/262/231/351/233/225/350/204/221/346/264/236.md +5 -5
  282. package/lib/oh-story/skills/story-short-write/references/genre-styles//347/224/234/345/256/240.md +4 -4
  283. package/lib/oh-story/skills/story-short-write/references/genre-styles//350/277/275/345/246/273/347/201/253/350/221/254/345/234/272.md +3 -3
  284. package/lib/oh-story/skills/story-short-write/references/genre-writing-formulas.md +32 -44
  285. package/lib/oh-story/skills/story-short-write/references/genre-writing-techniques.md +20 -18
  286. package/lib/oh-story/skills/story-short-write/references/output-contract.md +1 -1
  287. package/lib/oh-story/skills/story-short-write/references/short-craft.md +18 -18
  288. package/lib/oh-story/skills/story-short-write/references/short-deslop.md +1 -1
  289. package/lib/oh-story/skills/story-short-write/references/short-format.md +38 -8
  290. package/lib/oh-story/skills/story-short-write/references/{quality-checklist.md → short-prose-quality.md} +22 -21
  291. package/lib/oh-story/skills/story-short-write/references/short-reversal.md +355 -0
  292. package/lib/oh-story/skills/{story-short-analyze/references/hooks-suspense.md → story-short-write/references/short-suspense.md} +31 -31
  293. package/lib/oh-story/skills/story-short-write/references/submission-craft.md +2 -2
  294. package/lib/oh-story/skills/story-short-write/references/writing-workflow.md +31 -22
  295. package/lib/oh-story/skills/story-short-write/scripts/author_memory_commit.py +871 -0
  296. package/lib/oh-story/skills/story-short-write/scripts/check-ai-patterns.js +64 -1
  297. package/lib/oh-story/skills/story-short-write/scripts/check-delivery-contract.js +212 -0
  298. package/lib/oh-story/skills/story-short-write/scripts/check-phase2-contract.js +363 -0
  299. package/lib/types/client/drama-production-view.d.ts +34 -0
  300. package/lib/types/client/drama-production-view.d.ts.map +1 -0
  301. package/lib/types/client/drama-production.d.ts +92 -0
  302. package/lib/types/client/drama-production.d.ts.map +1 -0
  303. package/lib/types/client/file-activity.d.ts +4 -2
  304. package/lib/types/client/file-activity.d.ts.map +1 -1
  305. package/lib/types/client/index.d.ts +1 -1
  306. package/lib/types/client/index.d.ts.map +1 -1
  307. package/lib/types/client/production-intents.d.ts +9 -0
  308. package/lib/types/client/production-intents.d.ts.map +1 -0
  309. package/lib/types/client/production-prompts.d.ts +9 -0
  310. package/lib/types/client/production-prompts.d.ts.map +1 -0
  311. package/lib/types/client/production-runtime.d.ts +58 -0
  312. package/lib/types/client/production-runtime.d.ts.map +1 -0
  313. package/lib/types/client/video-studio.d.ts +41 -0
  314. package/lib/types/client/video-studio.d.ts.map +1 -0
  315. package/lib/types/client/workbench-ui.d.ts +5 -0
  316. package/lib/types/client/workbench-ui.d.ts.map +1 -0
  317. package/lib/types/game-verification.d.ts +16 -0
  318. package/lib/types/game-verification.d.ts.map +1 -0
  319. package/lib/types/index.d.ts +3 -1
  320. package/lib/types/index.d.ts.map +1 -1
  321. package/lib/types/production-intent.d.ts +21 -0
  322. package/lib/types/production-intent.d.ts.map +1 -0
  323. package/lib/types/production-tool.d.ts +5 -0
  324. package/lib/types/production-tool.d.ts.map +1 -0
  325. package/lib/types/role-tool.d.ts.map +1 -1
  326. package/lib/types/skill-provider.d.ts +7 -0
  327. package/lib/types/skill-provider.d.ts.map +1 -1
  328. package/lib/types/video-project.d.ts +42 -0
  329. package/lib/types/video-project.d.ts.map +1 -0
  330. package/lib/types/workspace-request-trust.d.ts +6 -0
  331. package/lib/types/workspace-request-trust.d.ts.map +1 -1
  332. package/lib/types/workspace-route.d.ts +20 -0
  333. package/lib/types/workspace-route.d.ts.map +1 -1
  334. package/lib/video-recap/CHANGELOG.md +282 -0
  335. package/lib/video-recap/LICENSE +21 -0
  336. package/lib/video-recap/README.en.md +257 -0
  337. package/lib/video-recap/README.md +255 -0
  338. package/lib/video-recap/manifest.json +684 -0
  339. package/lib/video-recap/skills/video-assemble/SKILL.md +97 -0
  340. package/lib/video-recap/skills/video-assemble/references/jianying/LICENSE.duo-video +21 -0
  341. package/lib/video-recap/skills/video-assemble/references/jianying/SOURCE.md +15 -0
  342. package/lib/video-recap/skills/video-assemble/references/jianying/empty_draft_meta_info.json +69 -0
  343. package/lib/video-recap/skills/video-assemble/references/jianying/empty_jy_combination_segment.json +84 -0
  344. package/lib/video-recap/skills/video-assemble/references/jianying/empty_jy_combination_video_material.json +98 -0
  345. package/lib/video-recap/skills/video-assemble/references/jianying/empty_jy_draft.json +204 -0
  346. package/lib/video-recap/skills/video-assemble/references/jianying/empty_jy_material_video.json +83 -0
  347. package/lib/video-recap/skills/video-assemble/references/jianying/empty_jy_meta_material_value.json +23 -0
  348. package/lib/video-recap/skills/video-assemble/references/jianying/empty_jy_project_info.json +133 -0
  349. package/lib/video-recap/skills/video-assemble/references/jianying/empty_jy_segment.json +70 -0
  350. package/lib/video-recap/skills/video-assemble/references/jianying/empty_jy_text_styles.json +30 -0
  351. package/lib/video-recap/skills/video-assemble/references/jianying/empty_yj_material_audio.json +41 -0
  352. package/lib/video-recap/skills/video-assemble/references/jianying/empty_yj_material_text.json +109 -0
  353. package/lib/video-recap/skills/video-assemble/scripts/artifacts.py +88 -0
  354. package/lib/video-recap/skills/video-assemble/scripts/assemble.py +345 -0
  355. package/lib/video-recap/skills/video-assemble/scripts/assemble_constants.py +34 -0
  356. package/lib/video-recap/skills/video-assemble/scripts/assembly_contract.py +305 -0
  357. package/lib/video-recap/skills/video-assemble/scripts/assembly_settings.py +94 -0
  358. package/lib/video-recap/skills/video-assemble/scripts/audio_automation.py +205 -0
  359. package/lib/video-recap/skills/video-assemble/scripts/audio_mix.py +555 -0
  360. package/lib/video-recap/skills/video-assemble/scripts/export_jianying.py +261 -0
  361. package/lib/video-recap/skills/video-assemble/scripts/jianying_builders.py +767 -0
  362. package/lib/video-recap/skills/video-assemble/scripts/jianying_model.py +111 -0
  363. package/lib/video-recap/skills/video-assemble/scripts/jianying_optional.py +24 -0
  364. package/lib/video-recap/skills/video-assemble/scripts/jianying_schema.py +109 -0
  365. package/lib/video-recap/skills/video-assemble/scripts/jianying_templates.py +37 -0
  366. package/lib/video-recap/skills/video-assemble/scripts/jianying_timeline_contract.py +191 -0
  367. package/lib/video-recap/skills/video-assemble/scripts/jianying_tracks.py +75 -0
  368. package/lib/video-recap/skills/video-assemble/scripts/jianying_writer.py +394 -0
  369. package/lib/video-recap/skills/video-assemble/scripts/lib.py +239 -0
  370. package/lib/video-recap/skills/video-assemble/scripts/media.py +243 -0
  371. package/lib/video-recap/skills/video-assemble/scripts/narration_audio.py +477 -0
  372. package/lib/video-recap/skills/video-assemble/scripts/render_preflight.py +46 -0
  373. package/lib/video-recap/skills/video-assemble/scripts/source_subtitles.py +486 -0
  374. package/lib/video-recap/skills/video-assemble/scripts/subtitle_core.py +376 -0
  375. package/lib/video-recap/skills/video-assemble/scripts/subtitle_render.py +88 -0
  376. package/lib/video-recap/skills/video-assemble/scripts/timeline.py +248 -0
  377. package/lib/video-recap/skills/video-assemble/scripts/timeline_emit.py +89 -0
  378. package/lib/video-recap/skills/video-assemble/scripts/visual_render.py +512 -0
  379. package/lib/video-recap/skills/video-cut/SKILL.md +90 -0
  380. package/lib/video-recap/skills/video-cut/scripts/cut.py +67 -0
  381. package/lib/video-recap/skills/video-cut/scripts/cut_cli.py +320 -0
  382. package/lib/video-recap/skills/video-cut/scripts/cut_contract.py +545 -0
  383. package/lib/video-recap/skills/video-cut/scripts/cut_render.py +348 -0
  384. package/lib/video-recap/skills/video-cut/scripts/lib.py +77 -0
  385. package/lib/video-recap/skills/video-cut/scripts/media_geometry.py +341 -0
  386. package/lib/video-recap/skills/video-cut/scripts/narration_mapping.py +249 -0
  387. package/lib/video-recap/skills/video-cut/scripts/sentence_boundaries.py +745 -0
  388. package/lib/video-recap/skills/video-recap/SKILL.md +216 -0
  389. package/lib/video-recap/skills/video-recap/references/config-playbook.md +61 -0
  390. package/lib/video-recap/skills/video-recap/references/creative-editing-playbook.md +225 -0
  391. package/lib/video-recap/skills/video-recap/references/data-schema.md +534 -0
  392. package/lib/video-recap/skills/video-recap/references/research-guide.md +74 -0
  393. package/lib/video-recap/skills/video-recap/references/shift-left-qc-schema.md +23 -0
  394. package/lib/video-recap/skills/video-recap/references/timeline-and-jianying.md +251 -0
  395. package/lib/video-recap/skills/video-recap/scripts/doctor.py +483 -0
  396. package/lib/video-recap/skills/video-recap/scripts/final_qc.py +737 -0
  397. package/lib/video-recap/skills/video-recap/scripts/lib.py +242 -0
  398. package/lib/video-recap/skills/video-recap/scripts/materials.py +457 -0
  399. package/lib/video-recap/skills/video-recap/scripts/mimo_qc.py +95 -0
  400. package/lib/video-recap/skills/video-recap/scripts/mimo_qc_client.py +18 -0
  401. package/lib/video-recap/skills/video-recap/scripts/mimo_qc_contract.py +9 -0
  402. package/lib/video-recap/skills/video-recap/scripts/mimo_qc_evidence.py +371 -0
  403. package/lib/video-recap/skills/video-recap/scripts/mimo_qc_observations.py +201 -0
  404. package/lib/video-recap/skills/video-recap/scripts/mimo_qc_payload.py +227 -0
  405. package/lib/video-recap/skills/video-recap/scripts/mimo_qc_report.py +362 -0
  406. package/lib/video-recap/skills/video-recap/scripts/mimo_qc_runner.py +129 -0
  407. package/lib/video-recap/skills/video-recap/scripts/qc_contract.py +338 -0
  408. package/lib/video-recap/skills/video-recap/scripts/recap.py +9 -0
  409. package/lib/video-recap/skills/video-recap/scripts/recap_cli.py +140 -0
  410. package/lib/video-recap/skills/video-recap/scripts/recap_inspect.py +550 -0
  411. package/lib/video-recap/skills/video-recap/scripts/recap_review.py +77 -0
  412. package/lib/video-recap/skills/video-recap/scripts/recap_runner.py +654 -0
  413. package/lib/video-recap/skills/video-recap/scripts/recap_runtime.py +335 -0
  414. package/lib/video-recap/skills/video-recap/scripts/recap_stage_qc.py +217 -0
  415. package/lib/video-recap/skills/video-recap/scripts/recap_timeline.py +795 -0
  416. package/lib/video-recap/skills/video-script/SKILL.md +248 -0
  417. package/lib/video-recap/skills/video-script/references/creative-editing-playbook.md +225 -0
  418. package/lib/video-recap/skills/video-script/references/research-guide.md +75 -0
  419. package/lib/video-recap/skills/video-script/scripts/agent_brief.py +399 -0
  420. package/lib/video-recap/skills/video-script/scripts/agent_text.py +410 -0
  421. package/lib/video-recap/skills/video-script/scripts/brief_context.py +403 -0
  422. package/lib/video-recap/skills/video-script/scripts/brief_inputs.py +332 -0
  423. package/lib/video-recap/skills/video-script/scripts/brief_timeline.py +442 -0
  424. package/lib/video-recap/skills/video-script/scripts/deslop_qc.py +237 -0
  425. package/lib/video-recap/skills/video-script/scripts/evidence_bundle.py +492 -0
  426. package/lib/video-recap/skills/video-script/scripts/lib.py +327 -0
  427. package/lib/video-recap/skills/video-script/scripts/narration.py +12 -0
  428. package/lib/video-recap/skills/video-script/scripts/narration_lint.py +678 -0
  429. package/lib/video-recap/skills/video-script/scripts/review.py +42 -0
  430. package/lib/video-recap/skills/video-script/scripts/review_grounding.py +262 -0
  431. package/lib/video-recap/skills/video-script/scripts/review_response.py +761 -0
  432. package/lib/video-recap/skills/video-script/scripts/review_runner.py +200 -0
  433. package/lib/video-recap/skills/video-script/scripts/speech_ownership.py +204 -0
  434. package/lib/video-recap/skills/video-script/scripts/timeline_fusion.py +199 -0
  435. package/lib/video-recap/skills/video-script/scripts/validate.py +164 -0
  436. package/lib/video-recap/skills/video-understanding/SKILL.md +75 -0
  437. package/lib/video-recap/skills/video-understanding/references/data-schema.md +299 -0
  438. package/lib/video-recap/skills/video-understanding/references/prompt-templates.md +37 -0
  439. package/lib/video-recap/skills/video-understanding/references/research-guide.md +74 -0
  440. package/lib/video-recap/skills/video-understanding/scripts/agent_brief.py +399 -0
  441. package/lib/video-recap/skills/video-understanding/scripts/agent_text.py +410 -0
  442. package/lib/video-recap/skills/video-understanding/scripts/asr.py +260 -0
  443. package/lib/video-recap/skills/video-understanding/scripts/brief.py +12 -0
  444. package/lib/video-recap/skills/video-understanding/scripts/brief_context.py +403 -0
  445. package/lib/video-recap/skills/video-understanding/scripts/brief_inputs.py +332 -0
  446. package/lib/video-recap/skills/video-understanding/scripts/brief_timeline.py +442 -0
  447. package/lib/video-recap/skills/video-understanding/scripts/consolidate.py +647 -0
  448. package/lib/video-recap/skills/video-understanding/scripts/deslop_qc.py +237 -0
  449. package/lib/video-recap/skills/video-understanding/scripts/detect.py +513 -0
  450. package/lib/video-recap/skills/video-understanding/scripts/extract.py +62 -0
  451. package/lib/video-recap/skills/video-understanding/scripts/lib.py +470 -0
  452. package/lib/video-recap/skills/video-understanding/scripts/narration_lint.py +678 -0
  453. package/lib/video-recap/skills/video-understanding/scripts/speech_ownership.py +204 -0
  454. package/lib/video-recap/skills/video-understanding/scripts/storyboard.py +507 -0
  455. package/lib/video-recap/skills/video-understanding/scripts/timeline_fusion.py +199 -0
  456. package/lib/video-recap/skills/video-understanding/scripts/understand.py +9 -0
  457. package/lib/video-recap/skills/video-understanding/scripts/understanding_brief.py +216 -0
  458. package/lib/video-recap/skills/video-understanding/scripts/understanding_cache.py +327 -0
  459. package/lib/video-recap/skills/video-understanding/scripts/understanding_runner.py +367 -0
  460. package/lib/video-recap/skills/video-understanding/scripts/understanding_storyboard.py +162 -0
  461. package/lib/video-recap/skills/video-understanding/scripts/vlm.py +705 -0
  462. package/lib/video-recap/skills/video-voiceover/SKILL.md +81 -0
  463. package/lib/video-recap/skills/video-voiceover/scripts/dub.py +637 -0
  464. package/lib/video-recap/skills/video-voiceover/scripts/fish_audio.py +109 -0
  465. package/lib/video-recap/skills/video-voiceover/scripts/lib.py +421 -0
  466. package/lib/video-recap/skills/video-voiceover/scripts/tts_audio.py +113 -0
  467. package/lib/video-recap/skills/video-voiceover/scripts/voiceover.py +782 -0
  468. package/package.json +55 -40
  469. package/lib/oh-story/skills/story-deslop/scripts/check-outline-copy.js +0 -241
  470. package/lib/oh-story/skills/story-long-write/references/format-and-structure.md +0 -169
  471. package/lib/oh-story/skills/story-setup/references/agent-references/genre-writing-formulas.md +0 -444
  472. package/lib/oh-story/skills/story-setup/references/agent-references/quality-checklist.md +0 -247
  473. package/lib/oh-story/skills/story-short-analyze/references/anti-ai-writing.md +0 -582
  474. package/lib/oh-story/skills/story-short-analyze/references/banned-words.md +0 -147
  475. package/lib/oh-story/skills/story-short-analyze/references/genre-catalog.md +0 -490
  476. package/lib/oh-story/skills/story-short-analyze/references/genre-core-mechanics.md +0 -425
  477. package/lib/oh-story/skills/story-short-analyze/references/genre-writing-formulas.md +0 -453
  478. /package/lib/oh-story/skills/{story-long-write/references/hooks-chapter.md → story-setup/references/agent-references/short-chapter-hooks.md} +0 -0
  479. /package/lib/oh-story/skills/{story-long-write/references/hooks-paragraph.md → story-setup/references/agent-references/short-paragraph-hooks.md} +0 -0
package/package.json CHANGED
@@ -1,24 +1,29 @@
1
1
  {
2
2
  "name": "@oh-story/dsh",
3
- "version": "0.1.4",
4
- "description": "A DSH plugin for fiction and short-drama production",
3
+ "version": "0.1.6",
4
+ "description": "A DSH plugin for fiction, short-drama, interactive-game, and video-recap production",
5
5
  "keywords": [
6
6
  "deepseek-harness",
7
7
  "dsh-plugin",
8
8
  "oh-story",
9
9
  "drama-skills",
10
+ "novel-to-game",
10
11
  "creative-writing",
11
12
  "fiction-writing",
12
13
  "novel-writing",
13
14
  "short-drama",
14
15
  "screenwriting",
16
+ "interactive-fiction",
17
+ "game-development",
18
+ "video-recap",
19
+ "video-production",
15
20
  "ai-agents"
16
21
  ],
17
- "homepage": "https://github.com/worldwonderer/oh-story-dsh#readme",
18
- "bugs": "https://github.com/worldwonderer/oh-story-dsh/issues",
22
+ "homepage": "https://github.com/zenstory-ai/oh-story-dsh#readme",
23
+ "bugs": "https://github.com/zenstory-ai/oh-story-dsh/issues",
19
24
  "repository": {
20
25
  "type": "git",
21
- "url": "git+https://github.com/worldwonderer/oh-story-dsh.git",
26
+ "url": "git+https://github.com/zenstory-ai/oh-story-dsh.git",
22
27
  "directory": "packages/dsh-plugin"
23
28
  },
24
29
  "publishConfig": {
@@ -48,7 +53,7 @@
48
53
  },
49
54
  "client": {
50
55
  "inject": [
51
- "@deepseek-ai/dsh-client-runtime",
56
+ "@deepseek-ai/dsh-client-store",
52
57
  "@deepseek-ai/dsh-client-ui-conversation",
53
58
  "@deepseek-ai/dsh-client-ui-layout",
54
59
  "@deepseek-ai/dsh-client-ui-tool"
@@ -64,45 +69,55 @@
64
69
  ],
65
70
  "license": "MIT",
66
71
  "peerDependencies": {
67
- "@deepseek-ai/cordis": "^4.0.1",
68
- "@deepseek-ai/dsh-agent": "^0.1.1-rc.1",
69
- "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.1",
70
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.1-rc.1",
71
- "@deepseek-ai/dsh-client-ui-layout": "^0.1.1-rc.1",
72
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.1",
73
- "@deepseek-ai/dsh-client-ui-tool": "^0.1.1-rc.1",
74
- "@deepseek-ai/dsh-fs": "^0.1.1-rc.1",
75
- "@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.1",
76
- "@deepseek-ai/dsh-llm": "^0.1.1-rc.1",
77
- "@deepseek-ai/dsh-session": "^0.1.1-rc.1",
78
- "@deepseek-ai/dsh-sandbox-policy": "^0.1.1-rc.1",
79
- "@deepseek-ai/dsh-skill": "^0.1.1-rc.1",
80
- "@deepseek-ai/dsh-subagent": "^0.1.1-rc.1",
81
- "@deepseek-ai/dsh-tools": "^0.1.1-rc.1",
82
- "@deepseek-ai/dsh-typert-registry": "^0.1.1-rc.1",
83
- "@deepseek-ai/schemastery": "^3.18.1",
72
+ "@deepseek-ai/cordis": "^4.0.2",
73
+ "@deepseek-ai/dsh-agent": "^0.1.2-alpha.3",
74
+ "@deepseek-ai/dsh-api-session-controller": "^0.1.2-alpha.3",
75
+ "@deepseek-ai/dsh-client-store": "^0.1.2-alpha.3",
76
+ "@deepseek-ai/dsh-client-ui-chat": "^0.1.2-alpha.3",
77
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-alpha.3",
78
+ "@deepseek-ai/dsh-client-ui-layout": "^0.1.2-alpha.3",
79
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.3",
80
+ "@deepseek-ai/dsh-client-ui-session": "^0.1.2-alpha.3",
81
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.3",
82
+ "@deepseek-ai/dsh-client-ui-tool": "^0.1.2-alpha.3",
83
+ "@deepseek-ai/dsh-fs": "^0.1.2-alpha.3",
84
+ "@deepseek-ai/dsh-host-webserver": "^0.1.2-alpha.3",
85
+ "@deepseek-ai/dsh-llm": "^0.1.2-alpha.3",
86
+ "@deepseek-ai/dsh-session": "^0.1.2-alpha.3",
87
+ "@deepseek-ai/dsh-sandbox-policy": "^0.1.2-alpha.3",
88
+ "@deepseek-ai/dsh-skill": "^0.1.2-alpha.3",
89
+ "@deepseek-ai/dsh-subagent": "^0.1.2-alpha.3",
90
+ "@deepseek-ai/dsh-tools": "^0.1.2-alpha.3",
91
+ "@deepseek-ai/dsh-typert-registry": "^0.1.2-alpha.3",
92
+ "@deepseek-ai/dsh-util-values": "^0.1.2-alpha.3",
93
+ "@deepseek-ai/schemastery": "^3.18.2",
84
94
  "react": "^18.3.1",
85
95
  "react-dom": "^18.3.1",
86
96
  "zod": "^4.4.3"
87
97
  },
88
98
  "devDependencies": {
89
- "@deepseek-ai/cordis": "4.0.1",
90
- "@deepseek-ai/dsh-agent": "0.1.1-rc.1",
91
- "@deepseek-ai/dsh-client-runtime": "0.1.1-rc.1",
92
- "@deepseek-ai/dsh-client-ui-conversation": "0.1.1-rc.1",
93
- "@deepseek-ai/dsh-client-ui-layout": "0.1.1-rc.1",
94
- "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.1",
95
- "@deepseek-ai/dsh-client-ui-tool": "0.1.1-rc.1",
96
- "@deepseek-ai/dsh-fs": "0.1.1-rc.1",
97
- "@deepseek-ai/dsh-host-webserver": "0.1.1-rc.1",
98
- "@deepseek-ai/dsh-llm": "0.1.1-rc.1",
99
- "@deepseek-ai/dsh-session": "0.1.1-rc.1",
100
- "@deepseek-ai/dsh-sandbox-policy": "0.1.1-rc.1",
101
- "@deepseek-ai/dsh-skill": "0.1.1-rc.1",
102
- "@deepseek-ai/dsh-subagent": "0.1.1-rc.1",
103
- "@deepseek-ai/dsh-tools": "0.1.1-rc.1",
104
- "@deepseek-ai/dsh-typert-registry": "0.1.1-rc.1",
105
- "@deepseek-ai/schemastery": "3.18.1",
99
+ "@deepseek-ai/cordis": "4.0.2",
100
+ "@deepseek-ai/dsh-agent": "0.1.2-alpha.3",
101
+ "@deepseek-ai/dsh-api-session-controller": "0.1.2-alpha.3",
102
+ "@deepseek-ai/dsh-client-store": "0.1.2-alpha.3",
103
+ "@deepseek-ai/dsh-client-ui-chat": "0.1.2-alpha.3",
104
+ "@deepseek-ai/dsh-client-ui-conversation": "0.1.2-alpha.3",
105
+ "@deepseek-ai/dsh-client-ui-layout": "0.1.2-alpha.3",
106
+ "@deepseek-ai/dsh-client-ui-renderer": "0.1.2-alpha.3",
107
+ "@deepseek-ai/dsh-client-ui-session": "0.1.2-alpha.3",
108
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.2-alpha.3",
109
+ "@deepseek-ai/dsh-client-ui-tool": "0.1.2-alpha.3",
110
+ "@deepseek-ai/dsh-fs": "0.1.2-alpha.3",
111
+ "@deepseek-ai/dsh-host-webserver": "0.1.2-alpha.3",
112
+ "@deepseek-ai/dsh-llm": "0.1.2-alpha.3",
113
+ "@deepseek-ai/dsh-session": "0.1.2-alpha.3",
114
+ "@deepseek-ai/dsh-sandbox-policy": "0.1.2-alpha.3",
115
+ "@deepseek-ai/dsh-skill": "0.1.2-alpha.3",
116
+ "@deepseek-ai/dsh-subagent": "0.1.2-alpha.3",
117
+ "@deepseek-ai/dsh-tools": "0.1.2-alpha.3",
118
+ "@deepseek-ai/dsh-typert-registry": "0.1.2-alpha.3",
119
+ "@deepseek-ai/dsh-util-values": "0.1.2-alpha.3",
120
+ "@deepseek-ai/schemastery": "3.18.2",
106
121
  "@types/react": "18.3.28",
107
122
  "@types/react-dom": "18.3.7",
108
123
  "react": "18.3.1",
@@ -1,241 +0,0 @@
1
- #!/usr/bin/env node
2
- /**
3
- * check-outline-copy.js — 细纲照搬检测
4
- *
5
- * 治的病:细纲把情节点写成成品散文句,正文只剩誊抄,质量被锁死在细纲水平。
6
- * 实测正文与细纲连续重合最高 13.5%、单段最长 40 字,且重合段落多为叙述而非台词
7
- * ——即全章最好的那几句在细纲阶段就写完了。
8
- *
9
- * 判定:正文与同章细纲连续重合 > 阈值(默认 15 字)即报出
10
- * ——细纲只锁功能与结果,句子一律在正文现场写。
11
- *
12
- * 词面相同不等于不良照搬:系统面板、任务要求、固定专名本就该保持一致。因此本脚本
13
- * 只提供证据(位置与片段),是否重写由 agent 读上下文语义判断,同 check-ai-patterns.js
14
- * 的 advisory 轨——但每条都要有结论,不允许只报不改,也不为归零机械改写。
15
- * 判定保留的只由主会话补进细纲锚句:子代理不改大纲细纲(见 narrative-writer「不自行改纲」),
16
- * 否则子代理误判的重合会被自己写进白名单,主会话复扫时不再报出,第二层复核失明。
17
- *
18
- * 免报:细纲「复沓锚句」字段下列出的原话允许逐字落地——誓言、系统面板、
19
- * 旧案原话等写细纲时判定必须原文出现的部分,逐行一条。只扣除锚句自身的精确区间,
20
- * 前后剩余片段照常按阈值判定,避免紧挨锚句的照搬被顺带赦免。
21
- * 豁免量单独统计并在报告末尾列出,滥用锚句绕过检测时一眼可见。
22
- *
23
- * 由 narrative-writer 落盘后自查、主会话收尾复扫时调用(两侧同一份实现,口径一致)。
24
- * 不进 hook:正文兜底 hook 的共享核是四端共用的,不为单项检测扩面。
25
- *
26
- * 用法:
27
- * node check-outline-copy.js <正文路径...> # 自动找同章细纲;短篇找同目录小节大纲
28
- * node check-outline-copy.js --outline <细纲路径> <正文路径...> # 指定细纲
29
- *
30
- * 位置参数一律按正文处理,与 check-ai-patterns.js 的 `<file...>` 口径一致:
31
- * 收尾复扫用 `正文/第XXX章_*.md` 这类通配传多章时,多出来的正文不能被当成细纲吞掉
32
- * ——那会让首个文件比错对象、其余文件根本不检,静默退 0 报「干净」。
33
- *
34
- * 退出码:0 = 干净或无法判定(缺细纲/非分章正文);1 = 有重合待复核。
35
- * 无发现时完全静默,不污染上下文。
36
- */
37
-
38
- 'use strict'
39
- const fs = require('fs')
40
- const path = require('path')
41
-
42
- const MIN_RUN = 16 // 判定阈值:连续重合 >15 字,即 >=16
43
- const REPORT_TOP = 8 // 最多列出的片段数
44
-
45
- function read(p) {
46
- try {
47
- return fs.readFileSync(p, 'utf8').replace(/^/, '')
48
- } catch {
49
- return null
50
- }
51
- }
52
-
53
- /** 只留汉字——剥掉标点/加粗/【】后比对,防止细纲标注造成假阴性 */
54
- function hanOnly(s) {
55
- return s.replace(/[^一-鿿]/g, '')
56
- }
57
-
58
- /**
59
- * 抽出细纲「复沓锚句」字段下的原话,一行一条。
60
- * 只认这一个字段,不扫情节点序列——锚句集中在固定区块,情节点保持只写「要发生什么」。
61
- * 区块终止于行首无缩进的下一个字段(`- xxx`)或下一个小节标题,因此条目本身
62
- * 用 `1.` 编号、缩进 `-` 列表或纯文本都能正确提取,不必额外标记。
63
- */
64
- function extractAnchors(outline) {
65
- const m = outline.match(/复沓锚句[^::\n]*[::]([\s\S]*?)(?=\n[-*+]\s|\n#{1,6}\s|$)/)
66
- if (!m) return []
67
- return m[1]
68
- .split("\n")
69
- // 去掉列表符号与「点N:」这类落点前缀,只留原话本身
70
- .map((line) => line.replace(/^\s*[-*+]?\s*(?:\d+[.、)]\s*)?(?:点\s*\d+\s*[::])?/, ""))
71
- .map((line) => hanOnly(line))
72
- .filter((a) => a.length >= 2)
73
- }
74
-
75
- /**
76
- * 在片段里定位锚句的精确出现区间,挖掉后返回剩余子段与豁免字数。
77
- * 不能只判「片段包含锚句」就整段放行——贪心扫描求的是最长延伸,锚句嵌在中间时
78
- * 会连同紧挨着它的未授权重合一起赦免。
79
- */
80
- function splitByAnchors(frag, anchors) {
81
- // 片段完全落在某条锚句内:整段豁免(抄了锚句的一部分,仍在授权范围)
82
- if (anchors.some((a) => a.includes(frag))) return { rest: [], anchoredLen: frag.length }
83
-
84
- const spans = []
85
- for (const a of anchors) {
86
- for (let from = 0; from + a.length <= frag.length; ) {
87
- const at = frag.indexOf(a, from)
88
- if (at < 0) break
89
- spans.push([at, at + a.length])
90
- from = at + 1 // 同一锚句重复出现要逐次记录
91
- }
92
- }
93
- if (!spans.length) return { rest: [frag], anchoredLen: 0 }
94
-
95
- spans.sort((x, y) => x[0] - y[0])
96
- const merged = [spans[0]] // 多锚句重叠/相邻时并成一段,避免重复计数
97
- for (const [s, e] of spans.slice(1)) {
98
- const last = merged[merged.length - 1]
99
- if (s <= last[1]) last[1] = Math.max(last[1], e)
100
- else merged.push([s, e])
101
- }
102
-
103
- const rest = []
104
- let cursor = 0
105
- let anchoredLen = 0
106
- for (const [s, e] of merged) {
107
- if (s > cursor) rest.push(frag.slice(cursor, s))
108
- anchoredLen += e - s
109
- cursor = e
110
- }
111
- if (cursor < frag.length) rest.push(frag.slice(cursor))
112
- return { rest, anchoredLen }
113
- }
114
-
115
- /** 定位同章细纲:遍历 大纲/ 按章号正则匹配,支持带后缀的文件名 */
116
- function findOutline(proseFile) {
117
- const base = path.basename(proseFile)
118
- // 短篇没有章号:正文.md 与 小节大纲.md 在同目录平铺
119
- if (base === '正文.md') {
120
- const sibling = path.join(path.dirname(proseFile), '小节大纲.md')
121
- return fs.existsSync(sibling) ? sibling : null
122
- }
123
- const m = base.match(/^第\s*0*(\d+)\s*章/)
124
- if (!m) return null
125
- const chapter = m[1]
126
- const dir = path.join(path.dirname(path.dirname(proseFile)), '大纲')
127
- try {
128
- for (const file of fs.readdirSync(dir)) {
129
- const fm = file.match(/^细纲_第0*(\d+)章.*\.md$/)
130
- if (fm && fm[1] === chapter) return path.join(dir, file)
131
- }
132
- } catch {}
133
- return null
134
- }
135
-
136
- function main() {
137
- const proseFiles = []
138
- let explicitOutline = null
139
- const argv = process.argv.slice(2)
140
- for (let k = 0; k < argv.length; k++) {
141
- if (argv[k] === '--outline') explicitOutline = argv[++k] || null
142
- else proseFiles.push(argv[k])
143
- }
144
- if (!proseFiles.length) {
145
- process.stderr.write('用法: node check-outline-copy.js [--outline <细纲路径>] <正文路径...>\n')
146
- return 0
147
- }
148
- // 逐个文件独立判定;任一文件有重合即整体退 1
149
- let status = 0
150
- for (const proseFile of proseFiles) {
151
- if (checkOne(proseFile, explicitOutline)) status = 1
152
- }
153
- return status
154
- }
155
-
156
- function checkOne(proseFile, explicitOutline) {
157
- const prose = read(proseFile)
158
- if (prose === null) return 0
159
-
160
- const outlineFile = explicitOutline || findOutline(proseFile)
161
- if (!outlineFile) return 0
162
- const outline = read(outlineFile)
163
- if (outline === null) return 0
164
-
165
- // 正文去掉标题行后比对
166
- const P = hanOnly(prose.replace(/^#.*$/gm, ''))
167
- const O = hanOnly(outline)
168
- if (P.length < MIN_RUN || O.length < MIN_RUN) return 0
169
-
170
- // 复沓锚句列出的原话允许逐字落地,命中后计入豁免、不判誊抄
171
- const anchors = extractAnchors(outline)
172
-
173
- // 贪心扫描:每个起点二分求「仍是细纲子串」的最长延伸,命中区间不重叠
174
- const hits = []
175
- let copied = 0
176
- let anchored = 0
177
- let anchoredCount = 0
178
- let i = 0
179
- while (i < P.length) {
180
- let best = 0
181
- if (i + MIN_RUN <= P.length && O.includes(P.substr(i, MIN_RUN))) {
182
- best = MIN_RUN
183
- let lo = MIN_RUN
184
- let hi = Math.min(P.length - i, 200)
185
- while (lo <= hi) {
186
- const mid = (lo + hi) >> 1
187
- if (O.includes(P.substr(i, mid))) {
188
- best = mid
189
- lo = mid + 1
190
- } else hi = mid - 1
191
- }
192
- }
193
- if (best) {
194
- const frag = P.substr(i, best)
195
- const { rest, anchoredLen } = splitByAnchors(frag, anchors)
196
- if (anchoredLen) {
197
- anchored += anchoredLen
198
- anchoredCount++
199
- }
200
- // 挖掉锚句后的剩余子段仍是细纲子串,只需按阈值重判
201
- for (const seg of rest) {
202
- if (seg.length >= MIN_RUN) {
203
- hits.push({ frag: seg, len: seg.length })
204
- copied += seg.length
205
- }
206
- }
207
- i += best
208
- } else i++
209
- }
210
- if (!hits.length) {
211
- // 全部命中都是锚句豁免:静默放行,但把豁免量报出来供人工复核滥用
212
- if (anchoredCount) {
213
- process.stdout.write(
214
- `细纲照搬检测(${path.basename(proseFile)}):无未授权誊抄;` +
215
- `另有 ${anchoredCount} 处 ${anchored} 字为复沓锚句的逐字落地。\n`
216
- )
217
- }
218
- return 0
219
- }
220
-
221
- const rate = ((copied * 100) / P.length).toFixed(1)
222
- const out = [
223
- `=== 细纲照搬检测(${path.basename(proseFile)})===`,
224
- `正文 ${P.length} 字,与 ${path.basename(outlineFile)} 连续重合 >${MIN_RUN - 1} 字的片段 ${hits.length} 处,共 ${copied} 字(${rate}%)。`,
225
- `逐条对照原文判断:确属把细纲叙述搬进正文就重写——细纲只锁功能与结果,句子在正文现场写;系统面板、誓词、案卷原话、固定专名等功能性重合可保留。每条都要有结论,不为归零机械改写。保留项由主会话补进细纲「复沓锚句」——子代理只重写正文或标 \`[需复核]\` 交回,不改大纲细纲。`,
226
- ]
227
- hits
228
- .sort((a, b) => b.len - a.len)
229
- .slice(0, REPORT_TOP)
230
- .forEach((h) => out.push(` · ${h.len} 字「${h.frag}」`))
231
- if (hits.length > REPORT_TOP) out.push(` · …另有 ${hits.length - REPORT_TOP} 处`)
232
- if (anchoredCount) out.push(`(另有 ${anchoredCount} 处 ${anchored} 字为复沓锚句的逐字落地,不计入誊抄)`)
233
- process.stdout.write(out.join('\n') + '\n')
234
- return 1
235
- }
236
-
237
- try {
238
- process.exit(main())
239
- } catch {
240
- process.exit(0)
241
- }
@@ -1,169 +0,0 @@
1
- # 正文格式与小节结构
2
-
3
- > 写作前必读。以下格式是当前仓库约定的默认正文交付格式;用户或目标平台有明确要求时,以用户/平台要求覆盖。
4
- >
5
- > **适用范围**:段落格式(戏剧单元/镜头优先,短段为底色,长段用于完整推理、氛围和情绪链)和对话格式适用于所有体裁。小节(beat)结构和字数标准仅适用于短篇。长篇小说字数以本章细纲的 `字数目标` 与统一 90% 放行下限为准。
6
-
7
- ---
8
-
9
- ## 章节标记
10
-
11
- 默认格式(按灵活度排序):
12
-
13
- | 格式 | 平台适用 | 示例 |
14
- |------|----------|------|
15
- | `###1.` | 短篇默认 | `###1.` `###2.` `###3.` |
16
- | `###第一章` | 部分平台 | `###第一章` `###第二章` |
17
- | `1.`(纯数字) | 知乎 | `1.` `2.` `3.`(无 ### 前缀) |
18
-
19
- **规则**:全文统一一种格式,不要混用。短篇推荐 `###1.` 或纯数字,简洁高效。
20
-
21
- ---
22
-
23
- ## 段落格式
24
-
25
- ### 核心规则:戏剧单元优先
26
-
27
- 默认交付排版是**按戏剧单元/镜头自然断段,段落紧密排列**。不要把固定字数当成强制切刀;先判断“一件事/一个推理链/一个情绪变化”是否完成。
28
-
29
- - 一段承载一个戏剧单元:一个动作链、一个线索发现、一次视线切换、一轮心理判断,或一条连续的氛围/推理/情绪链。
30
- - 场景结束、一件事结束、新动作、新物件、新信息、新对话另起一段;同一瞬间的发生、感知、反应应织在一起,不拆成动作层/感知层/反应层。
31
- - 正文相邻段落之间**只允许一个换行符 `\n`**;不得出现空行或连续换行 `\n\n`(紧密排列)。
32
- - 无缩进(平台渲染器自行处理,不需要 `  ` 或空格)。
33
- - 长度只作诊断:读起来拥挤、混入多个拍点、或手机屏上难以跟读时才拆;完整推理、氛围铺陈、情绪递进未结束时,允许稍长段保留连贯性。
34
-
35
- ### 段落节奏(长短交错 + 疏密有别)
36
-
37
- 短段快读,是网文手机阅读的底色;长段负责承载完整推理、氛围和情绪沉淀。**忌通篇同长度**,也忌把每段按同一字数阈值切开:
38
-
39
- - **长短交错**:高潮、打脸、反转压到最短(单句成段);推理链、环境压迫、情绪沉淀、章节收束可保留较长段,让读者读完一个完整变化。
40
- - **疏密有别(详略)**:爽点、转折 beat 写密(感知、动作、细节铺满);过场、连接 beat 写疏(1-2 句带过,不平均用力)。每个 beat 一样长、一样细,正是 AI 腔的来源。
41
- - **不过度碎片化**:连续多个极短段若仍属于同一镜头/同一件事,应合并成自然段,避免像提纲或诗行。
42
-
43
- ### 主语与角色名节奏
44
-
45
- 角色名不宜一味省略,也别每句都点名。按“主语重置”使用:
46
-
47
- - 段首、场景切换、多人同场、或主语可能混淆时,用主角名/角色名建立视角。
48
- - 同一段或同一动作链内,优先混用代词、动作承接和合理省略,避免每句都以同一角色名开头。
49
- - 关键转折、情绪爆点、身份反差或读者需要重新盯住主角时,可以再次点名强化。
50
- - 审查主语节奏看“读起来是否打磕巴”,不按全章出现次数一刀切;只有连续句/连续段无主语重置却反复点名,才算主语过密。
51
-
52
- ---
53
-
54
- ## 对话格式
55
-
56
- ### 对话标记
57
-
58
- 按目标平台/用户要求选择;未指定时使用默认格式:
59
-
60
- | 优先级 | 格式 | 适用平台 |
61
- |--------|------|----------|
62
- | 首选 | `"说话内容"` | 短篇默认、番茄 |
63
- | 平台/项目指定 | `「说话内容」` | 知乎盐言短篇、部分古言、日式或用户指定 |
64
-
65
- **默认用 `""`**;用户或平台指定盐言风格时改为 `「」`,不要把 `「」` 视为错误。
66
-
67
- ### 对话规则
68
-
69
- 1. 对话**独立成行**,不嵌在叙述段落中
70
- 2. 对话标签按需:高频或公式化的「他说」「她道」「他笑了笑说」用动作描写替代;普通「说」低频使用可保留(与「8 条绝对禁止」中「避免对话标签机械化」一条一致)
71
- 3. 两人对话连续出现时,省略标签,靠内容区分说话人
72
-
73
- **正确示例**:
74
- ```
75
- 她把杯子放下。
76
- "你走吧。"
77
- 他没有动。
78
- "我说,你走吧。"
79
- ```
80
-
81
- **也合法(普通「说」低频使用)**:
82
- ```
83
- 她把杯子放下。
84
- "你走吧。"她说。
85
- 他没有动。
86
- "我说,你走吧。"
87
- ```
88
-
89
- **错误示例**:
90
- ```
91
- 她把杯子放下,说道:"你走吧。"他没有动,她又说:"我说,你走吧。"
92
- ```
93
-
94
- ---
95
-
96
- ## 语气标点谱系
97
-
98
- 标点服务语气、人物声线和情绪节奏,不能通篇句号化,也不能为了“丰富”随机堆砌符号。先判断当前句子的功能,再选择标点:
99
-
100
- | 语气 / 功能 | 标点策略 | 防线 |
101
- |---|---|---|
102
- | 压迫 / 冷静 / 克制 | 短句、逗号、句号,必要时用冒号压出判断落点 | 不人工加感叹号;克制不是每句都平铺句号 |
103
- | 质问 / 试探 / 反问 | 问号 + 短促追问片段,配合动作停顿 | 避免每句话都以 `?` 结尾 |
104
- | 惊讶 / 爆发 / 打脸 | 真正爆点可用 1 个感叹号,连续爆发最多 1-2 处 | 禁止 `!!!`、整段喊叫式感叹 |
105
- | 犹豫 / 吞咽 / 未说完 | 逗号、句号、短句断开、动作 beat | 不用 `……` 制造停顿;优先用动作和句长变化 |
106
- | 被打断 / 拖长音 | 不使用 `——`;改用动作打断、换行、短句或未完成动作 | 正文和对话都禁止 `——` / `—` / `--` |
107
- | 信息揭示 / 判断落点 | 冒号、分号或单句成段制造落点 | 保持手机阅读友好,不写论文式分号串 |
108
-
109
- 执行规则:
110
- - 写对话时先看角色关系和权力位置:强势角色常短句收束,试探角色多问号和半句,崩溃角色才允许少量感叹/省略。
111
- - 写叙述时用句长、逗号停顿和单句成段制造节奏;不要把破折号当节奏工具,对话里也不要用。
112
- - 精修时检查两类问题:**通篇句号化**(语气全被压平)与**随机标点堆砌**(问号/感叹号不承载情绪功能,或用省略号/破折号硬造停顿)。
113
- - 引号风格按项目/平台约定;知乎盐言的 `「」` 是合法对话格式,`quote-mode keep` 时不得擅自改掉。
114
-
115
- ---
116
-
117
- ## 小节(beat)结构
118
-
119
- ### 基本规则
120
-
121
- - 用数字编号(`1` `2` `3`)分割小节,每个小节是一个完整的叙事 beat
122
- - 每小节 800-1500 字(爽文可压缩至 500-800 字/节,见 genre-writing-formulas.md)
123
- - 8-15 个小节覆盖全文(按目标字数反推;8000÷1000≈8节,12000÷800≈15节)
124
- - 每小节推进一个明确的情节点
125
-
126
- ### 小节内部结构
127
-
128
- 每个小节应该有:
129
-
130
- 1. **一个主事件** + **3-5 个子事件**(主事件推进核心情节,子事件丰富层次;初稿偏短时先回到小节/细纲补足计划内子事件、对话或冲突,再写正文;去AI味已有正文时不得新增剧情)
131
- 2. **一个情绪变化**(读者的感受如何变化)
132
- 3. **一条读者新获知的信息**
133
- 4. **3-5 轮对话交锋**(揭示关系/升级冲突,参考 writing-craft.md 对话权力博弈。特定场景如独自发现/翻阅日记可标零,按当前 skill 的细纲/设计任务要求执行)
134
- 5. **每个子事件三维度揉进**:发生+感知+反应揉进同一段正文(参考 writing-craft.md 场景写法)
135
-
136
-
137
- ### 小节之间的衔接
138
-
139
- - 小节结尾留一个钩子(悬念/未解决的情绪/新问题)
140
- - 下一节开头快速接续,不要重新铺垫
141
- - 情绪跨节递进:每一节的情绪强度 ≥ 上一节。例外:峰值情绪(反转节)后允许维持 1 节不降,但不允许骤降
142
-
143
- ---
144
-
145
- ## 平台对话格式覆盖表
146
-
147
- | 平台 | 章节标记 | 对话格式 | 特殊要求 |
148
- |------|----------|----------|----------|
149
- | 知乎盐言 | `1.` | `「」` | 导语需单独标注 |
150
- | 番茄 | `###第一章` | `""` | 首段需有吸引力 |
151
- | 红果 | `###1.` | `""` | 无 |
152
-
153
- **通用原则**:用户未指定平台时,默认使用短篇通用格式(`###1.` + `""`);用户或平台指定盐言风格时,`「」` 是允许的。
154
-
155
- ---
156
-
157
- ## 8 条绝对禁止
158
-
159
- 以下规则在写作全程执行,不因题材或风格而变:
160
-
161
- 1. **禁止机械按字数分段**:不要因为超过某个字数就强拆;先判断段落是否仍是一个完整戏剧单元。若混入多个动作/信息/视线切换才拆,完整推理、氛围、情绪链可保留稍长段
162
- 2. **禁止段间空行**:正文相邻段落之间只允许一个换行符 `\n`,不得出现空行或连续换行 `\n\n`
163
- 3. **避免对话标签机械化**:高频或公式化的「他说」「她道」「他笑了笑说」用动作/上下文替代;普通“说”可保留
164
- 4. **禁止缩进**:不使用 `  `(全角空格)或半角空格缩进
165
- 5. **禁止正文段落 Markdown 渲染**:除统一的小节/章节标记(如 `###1.`)外,正文段落中不使用加粗 `**`、斜体 `*`、标题 `#`、分隔线 `---` 等 Markdown 语法
166
- 6. **正文不使用破折号**:正文(含叙述、对话、心理描写)不使用破折号 `——`/`—` 或双连字符 `--`,改用句号、逗号、换行、动作 beat 或短句断开;不再设置“对话例外”
167
- 7. **禁止通篇句号化或随机标点堆砌**:标点必须跟语气/人物声线/情绪功能匹配;该质问时用问号,该爆发时少量感叹;犹豫、吞咽、未说完用动作或句长变化表达,不用 `……` / `——` 硬造停顿,也不得无功能地乱撒 `?`/`!`
168
- 8. **禁止正文混入章节元信息**:章节号只允许出现在标题/小节标记/文件名/追踪记录中。正文叙述、对话、心理描写里不得出现 `第[一二三四五六七八九十百千万两0-9]+章|上一章|上章|前一章|本章|这一章|前文|后文|伏笔|细纲|读者` 这类写作工程词;要改成角色能感知的事件锚点或相对时间,例如把“比第一章那三秒开火更疼”改成“比那三秒开火更疼”。例外:角色在故事世界内真实阅读/讨论“第X章”文本,或真实身为作者/读者并谈论读者身份时,可保留相应词。
169
-