@mytechtoday/augment-extensions 2.5.0 → 3.1.2

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 (922) hide show
  1. package/AGENTS.md +2 -1
  2. package/README.md +27 -1357
  3. package/augment-extensions/coding-standards/bash/CHANGELOG.md +50 -50
  4. package/augment-extensions/coding-standards/css/CHANGELOG.md +50 -50
  5. package/augment-extensions/coding-standards/go/CHANGELOG.md +50 -50
  6. package/augment-extensions/coding-standards/html/CHANGELOG.md +50 -50
  7. package/augment-extensions/coding-standards/html-css-js/CHANGELOG.md +50 -50
  8. package/augment-extensions/coding-standards/js/CHANGELOG.md +50 -50
  9. package/augment-extensions/coding-standards/php/CHANGELOG.md +50 -50
  10. package/augment-extensions/coding-standards/powershell/CHANGELOG.md +50 -50
  11. package/augment-extensions/coding-standards/python/CHANGELOG.md +50 -50
  12. package/augment-extensions/coding-standards/react/CHANGELOG.md +50 -50
  13. package/augment-extensions/coding-standards/typescript/CHANGELOG.md +39 -39
  14. package/augment-extensions/coding-standards/typescript/VERSION +2 -2
  15. package/augment-extensions/coding-standards/typescript/examples/biome.json +199 -199
  16. package/augment-extensions/coding-standards/typescript/examples/eslint-flat-config.js +166 -166
  17. package/augment-extensions/coding-standards/typescript/examples/monorepo-config/README.md +47 -47
  18. package/augment-extensions/coding-standards/typescript/examples/monorepo-config/package.json +37 -37
  19. package/augment-extensions/coding-standards/typescript/examples/monorepo-config/pnpm-workspace.yaml +5 -5
  20. package/augment-extensions/coding-standards/typescript/examples/monorepo-config/tsconfig.base.json +50 -50
  21. package/augment-extensions/coding-standards/typescript/examples/monorepo-config/turbo.json +47 -47
  22. package/augment-extensions/coding-standards/typescript/examples/vitest-setup.ts +198 -198
  23. package/augment-extensions/coding-standards/typescript/metadata.json +46 -46
  24. package/augment-extensions/coding-standards/typescript/rules/architecture.md +1096 -1096
  25. package/augment-extensions/coding-standards/typescript/rules/error-handling.md +1174 -1174
  26. package/augment-extensions/coding-standards/typescript/rules/modern-features.md +625 -625
  27. package/augment-extensions/coding-standards/typescript/rules/monorepo.md +745 -745
  28. package/augment-extensions/coding-standards/typescript/rules/security-performance.md +850 -850
  29. package/augment-extensions/coding-standards/typescript/rules/testing.md +918 -918
  30. package/augment-extensions/coding-standards/typescript/rules/tooling.md +1071 -1071
  31. package/augment-extensions/coding-standards/typescript/rules/type-patterns.md +750 -750
  32. package/augment-extensions/domain-rules/api-design/CHANGELOG.md +50 -50
  33. package/augment-extensions/domain-rules/database/CHANGELOG.md +50 -50
  34. package/augment-extensions/domain-rules/design/color/themes/catppuccin-latte/CHANGELOG.md +50 -50
  35. package/augment-extensions/domain-rules/design/color/themes/catppuccin-mocha/CHANGELOG.md +50 -50
  36. package/augment-extensions/domain-rules/design/color/themes/dracula/CHANGELOG.md +50 -50
  37. package/augment-extensions/domain-rules/design/color/themes/gruvbox-dark/CHANGELOG.md +50 -50
  38. package/augment-extensions/domain-rules/design/color/themes/gruvbox-light/CHANGELOG.md +50 -50
  39. package/augment-extensions/domain-rules/design/color/themes/high-contrast/CHANGELOG.md +50 -50
  40. package/augment-extensions/domain-rules/design/color/themes/monokai/CHANGELOG.md +50 -50
  41. package/augment-extensions/domain-rules/design/color/themes/nord/CHANGELOG.md +50 -50
  42. package/augment-extensions/domain-rules/design/color/themes/one-dark/CHANGELOG.md +50 -50
  43. package/augment-extensions/domain-rules/design/color/themes/one-light/CHANGELOG.md +50 -50
  44. package/augment-extensions/domain-rules/design/color/themes/solarized-dark/CHANGELOG.md +50 -50
  45. package/augment-extensions/domain-rules/design/color/themes/solarized-light/CHANGELOG.md +50 -50
  46. package/augment-extensions/domain-rules/design/color/themes/tokyo-night/CHANGELOG.md +50 -50
  47. package/augment-extensions/domain-rules/mcp/CHANGELOG.md +50 -50
  48. package/augment-extensions/domain-rules/security/CHANGELOG.md +50 -50
  49. package/augment-extensions/domain-rules/seo-sales-marketing/CHANGELOG.md +50 -50
  50. package/augment-extensions/domain-rules/software-architecture/CHANGELOG.md +50 -50
  51. package/augment-extensions/domain-rules/wordpress/CHANGELOG.md +50 -50
  52. package/augment-extensions/domain-rules/wordpress-plugin/CHANGELOG.md +50 -50
  53. package/augment-extensions/examples/design-patterns/CHANGELOG.md +50 -50
  54. package/augment-extensions/examples/gutenberg-block-plugin/CHANGELOG.md +50 -50
  55. package/augment-extensions/examples/rest-api-plugin/CHANGELOG.md +50 -50
  56. package/augment-extensions/examples/woocommerce-extension/CHANGELOG.md +50 -50
  57. package/augment-extensions/workflows/adr-support/CHANGELOG.md +50 -50
  58. package/augment-extensions/workflows/database/CHANGELOG.md +50 -50
  59. package/augment-extensions/workflows/wordpress-plugin/CHANGELOG.md +50 -50
  60. package/cli/AGENTS.md +21 -21
  61. package/cli/dist/analysis/ast-parser.d.ts +11 -31
  62. package/cli/dist/analysis/ast-parser.d.ts.map +1 -1
  63. package/cli/dist/analysis/ast-parser.js +28 -77
  64. package/cli/dist/analysis/ast-parser.js.map +1 -1
  65. package/cli/dist/analysis/complexity-analyzer.d.ts +4 -22
  66. package/cli/dist/analysis/complexity-analyzer.d.ts.map +1 -1
  67. package/cli/dist/analysis/complexity-analyzer.js +68 -96
  68. package/cli/dist/analysis/complexity-analyzer.js.map +1 -1
  69. package/cli/dist/analysis/dependency-analyzer.d.ts +1 -15
  70. package/cli/dist/analysis/dependency-analyzer.d.ts.map +1 -1
  71. package/cli/dist/analysis/dependency-analyzer.js +163 -116
  72. package/cli/dist/analysis/dependency-analyzer.js.map +1 -1
  73. package/cli/dist/analysis/security-scanner.d.ts +0 -5
  74. package/cli/dist/analysis/security-scanner.d.ts.map +1 -1
  75. package/cli/dist/analysis/security-scanner.js +88 -180
  76. package/cli/dist/analysis/security-scanner.js.map +1 -1
  77. package/cli/dist/analysis/types.d.ts +1 -40
  78. package/cli/dist/analysis/types.d.ts.map +1 -1
  79. package/cli/dist/cli.js +18 -39
  80. package/cli/dist/cli.js.map +1 -1
  81. package/cli/dist/commands/code-analysis.d.ts +0 -5
  82. package/cli/dist/commands/code-analysis.d.ts.map +1 -1
  83. package/cli/dist/commands/code-analysis.js +114 -133
  84. package/cli/dist/commands/code-analysis.js.map +1 -1
  85. package/cli/dist/commands/gui.d.ts +4 -0
  86. package/cli/dist/commands/gui.d.ts.map +1 -1
  87. package/cli/dist/commands/gui.js +45 -6
  88. package/cli/dist/commands/gui.js.map +1 -1
  89. package/cli/dist/commands/init.d.ts.map +1 -1
  90. package/cli/dist/commands/init.js +11 -0
  91. package/cli/dist/commands/init.js.map +1 -1
  92. package/cli/dist/commands/link.d.ts.map +1 -1
  93. package/cli/dist/commands/link.js +2 -2
  94. package/cli/dist/commands/link.js.map +1 -1
  95. package/cli/dist/commands/search.d.ts.map +1 -1
  96. package/cli/dist/commands/search.js +20 -79
  97. package/cli/dist/commands/search.js.map +1 -1
  98. package/cli/dist/commands/show.js +8 -32
  99. package/cli/dist/commands/show.js.map +1 -1
  100. package/cli/dist/commands/unlink.d.ts.map +1 -1
  101. package/cli/dist/commands/unlink.js +5 -4
  102. package/cli/dist/commands/unlink.js.map +1 -1
  103. package/cli/dist/commands/update.d.ts.map +1 -1
  104. package/cli/dist/commands/update.js +6 -2
  105. package/cli/dist/commands/update.js.map +1 -1
  106. package/cli/dist/commands/upgrade.d.ts +0 -8
  107. package/cli/dist/commands/upgrade.d.ts.map +1 -1
  108. package/cli/dist/commands/upgrade.js +16 -34
  109. package/cli/dist/commands/upgrade.js.map +1 -1
  110. package/cli/dist/commands/use.d.ts +0 -8
  111. package/cli/dist/commands/use.d.ts.map +1 -1
  112. package/cli/dist/commands/use.js +22 -46
  113. package/cli/dist/commands/use.js.map +1 -1
  114. package/cli/dist/commands/version-info.d.ts +0 -8
  115. package/cli/dist/commands/version-info.d.ts.map +1 -1
  116. package/cli/dist/commands/version-info.js +13 -37
  117. package/cli/dist/commands/version-info.js.map +1 -1
  118. package/cli/dist/core/module-loader.d.ts +3 -43
  119. package/cli/dist/core/module-loader.d.ts.map +1 -1
  120. package/cli/dist/core/module-loader.js +8 -55
  121. package/cli/dist/core/module-loader.js.map +1 -1
  122. package/cli/dist/index.d.ts +0 -4
  123. package/cli/dist/index.d.ts.map +1 -1
  124. package/cli/dist/index.js +0 -5
  125. package/cli/dist/index.js.map +1 -1
  126. package/cli/dist/utils/ai-prompts.js +124 -124
  127. package/cli/dist/utils/config-loader.d.ts +3 -39
  128. package/cli/dist/utils/config-loader.d.ts.map +1 -1
  129. package/cli/dist/utils/config-loader.js +20 -64
  130. package/cli/dist/utils/config-loader.js.map +1 -1
  131. package/cli/dist/utils/extractCommandHelp.d.ts +10 -1
  132. package/cli/dist/utils/extractCommandHelp.d.ts.map +1 -1
  133. package/cli/dist/utils/extractCommandHelp.js +83 -15
  134. package/cli/dist/utils/extractCommandHelp.js.map +1 -1
  135. package/cli/dist/utils/install-rules.d.ts +5 -0
  136. package/cli/dist/utils/install-rules.d.ts.map +1 -1
  137. package/cli/dist/utils/install-rules.js +120 -0
  138. package/cli/dist/utils/install-rules.js.map +1 -1
  139. package/cli/dist/utils/module-system.d.ts.map +1 -1
  140. package/cli/dist/utils/module-system.js +10 -4
  141. package/cli/dist/utils/module-system.js.map +1 -1
  142. package/package.json +134 -136
  143. package/augment-extensions/workflows/beads/CHANGELOG.md +0 -51
  144. package/augment-extensions/workflows/beads/README.md +0 -135
  145. package/augment-extensions/workflows/beads/examples/complete-workflow-example.md +0 -278
  146. package/augment-extensions/workflows/beads/metadata.json +0 -23
  147. package/augment-extensions/workflows/beads/module.json +0 -55
  148. package/augment-extensions/workflows/beads/rules/best-practices.md +0 -398
  149. package/augment-extensions/workflows/beads/rules/file-format.md +0 -327
  150. package/augment-extensions/workflows/beads/rules/manual-setup.md +0 -315
  151. package/augment-extensions/workflows/beads/rules/workflow.md +0 -326
  152. package/augment-extensions/workflows/beads-integration/CHANGELOG.md +0 -51
  153. package/augment-extensions/workflows/beads-integration/IMPLEMENTATION-STATUS.md +0 -145
  154. package/augment-extensions/workflows/beads-integration/README.md +0 -143
  155. package/augment-extensions/workflows/beads-integration/config/defaults.json +0 -32
  156. package/augment-extensions/workflows/beads-integration/config/schema.json +0 -140
  157. package/augment-extensions/workflows/beads-integration/examples/basic-task-generation.md +0 -293
  158. package/augment-extensions/workflows/beads-integration/metadata.json +0 -30
  159. package/augment-extensions/workflows/beads-integration/module.json +0 -75
  160. package/augment-extensions/workflows/beads-integration/rules/core-rules.md +0 -219
  161. package/augment-extensions/workflows/beads-integration/rules/effectiveness-standards.md +0 -256
  162. package/augment-extensions/workflows/beads-integration/rules/task-generation.md +0 -607
  163. package/augment-extensions/writing-standards/literature/shakespeare/ANNOUNCEMENT.md +0 -176
  164. package/augment-extensions/writing-standards/literature/shakespeare/CHANGELOG.md +0 -51
  165. package/augment-extensions/writing-standards/literature/shakespeare/CHARACTER-THEME-VALIDATION-REPORT.md +0 -465
  166. package/augment-extensions/writing-standards/literature/shakespeare/DRAMA-VALIDATION-REPORT.md +0 -217
  167. package/augment-extensions/writing-standards/literature/shakespeare/LANGUAGE-VALIDATION-REPORT.md +0 -195
  168. package/augment-extensions/writing-standards/literature/shakespeare/PHASE6-VALIDATION-REPORT.md +0 -359
  169. package/augment-extensions/writing-standards/literature/shakespeare/README.md +0 -126
  170. package/augment-extensions/writing-standards/literature/shakespeare/examples/annotated-sonnets/sonnet-130.md +0 -225
  171. package/augment-extensions/writing-standards/literature/shakespeare/examples/annotated-sonnets/sonnet-18.md +0 -188
  172. package/augment-extensions/writing-standards/literature/shakespeare/examples/annotated-sonnets/sonnet-73.md +0 -215
  173. package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/character-worksheet.md +0 -407
  174. package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/iambic-pentameter-practice.md +0 -470
  175. package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/sonnet-writing-exercise.md +0 -360
  176. package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/theme-analysis-template.md +0 -527
  177. package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/verse-analysis-exercise.md +0 -426
  178. package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/hamlet-to-be-or-not-to-be.md +0 -316
  179. package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/king-lear-storm-scene.md +0 -576
  180. package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/macbeth-tomorrow-and-tomorrow.md +0 -448
  181. package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/much-ado-benedick-eavesdropping.md +0 -496
  182. package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/romeo-juliet-balcony.md +0 -287
  183. package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/twelfth-night-malvolio-letter.md +0 -653
  184. package/augment-extensions/writing-standards/literature/shakespeare/metadata.json +0 -60
  185. package/augment-extensions/writing-standards/literature/shakespeare/module.json +0 -72
  186. package/augment-extensions/writing-standards/literature/shakespeare/rules/character-themes/character-development.md +0 -608
  187. package/augment-extensions/writing-standards/literature/shakespeare/rules/character-themes/thematic-elements.md +0 -471
  188. package/augment-extensions/writing-standards/literature/shakespeare/rules/drama/comedy.md +0 -763
  189. package/augment-extensions/writing-standards/literature/shakespeare/rules/drama/history-plays.md +0 -507
  190. package/augment-extensions/writing-standards/literature/shakespeare/rules/drama/scene-construction.md +0 -870
  191. package/augment-extensions/writing-standards/literature/shakespeare/rules/drama/tragedy.md +0 -743
  192. package/augment-extensions/writing-standards/literature/shakespeare/rules/language/elizabethan-english.md +0 -400
  193. package/augment-extensions/writing-standards/literature/shakespeare/rules/language/rhetoric-wordplay.md +0 -602
  194. package/augment-extensions/writing-standards/literature/shakespeare/rules/language/vocabulary-guide.md +0 -662
  195. package/augment-extensions/writing-standards/literature/shakespeare/rules/poetry/iambic-pentameter.md +0 -447
  196. package/augment-extensions/writing-standards/literature/shakespeare/rules/poetry/narrative-poetry.md +0 -453
  197. package/augment-extensions/writing-standards/literature/shakespeare/rules/poetry/sonnets.md +0 -435
  198. package/augment-extensions/writing-standards/literature/shakespeare/rules/poetry/verse-forms.md +0 -565
  199. package/augment-extensions/writing-standards/screenplay/CHANGELOG.md +0 -51
  200. package/augment-extensions/writing-standards/screenplay/README.md +0 -392
  201. package/augment-extensions/writing-standards/screenplay/_templates/README.md +0 -121
  202. package/augment-extensions/writing-standards/screenplay/_templates/genre-template.md +0 -153
  203. package/augment-extensions/writing-standards/screenplay/_templates/style-template.md +0 -243
  204. package/augment-extensions/writing-standards/screenplay/_templates/theme-template.md +0 -213
  205. package/augment-extensions/writing-standards/screenplay/cinematic-styles/CHANGELOG.md +0 -51
  206. package/augment-extensions/writing-standards/screenplay/cinematic-styles/MIGRATION.md +0 -213
  207. package/augment-extensions/writing-standards/screenplay/cinematic-styles/README.md +0 -309
  208. package/augment-extensions/writing-standards/screenplay/cinematic-styles/REFACTORING-SUMMARY.md +0 -99
  209. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/CHANGELOG.md +0 -51
  210. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/metadata.json +0 -24
  211. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/module.json +0 -33
  212. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/monty-python/CHANGELOG.md +0 -51
  213. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/monty-python/metadata.json +0 -24
  214. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/monty-python/module.json +0 -50
  215. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/monty-python/rules/monty-python.md +0 -243
  216. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/saturday-night-live/CHANGELOG.md +0 -51
  217. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/saturday-night-live/metadata.json +0 -24
  218. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/saturday-night-live/module.json +0 -50
  219. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/saturday-night-live/rules/saturday-night-live.md +0 -153
  220. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/CHANGELOG.md +0 -51
  221. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/README.md +0 -127
  222. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/alfred-hitchcock/CHANGELOG.md +0 -51
  223. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/alfred-hitchcock/metadata.json +0 -24
  224. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/alfred-hitchcock/module.json +0 -50
  225. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/alfred-hitchcock/rules/alfred-hitchcock.md +0 -168
  226. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/ari-aster/CHANGELOG.md +0 -51
  227. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/ari-aster/metadata.json +0 -24
  228. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/ari-aster/module.json +0 -50
  229. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/ari-aster/rules/ari-aster.md +0 -414
  230. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brad-bird/CHANGELOG.md +0 -51
  231. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brad-bird/metadata.json +0 -24
  232. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brad-bird/module.json +0 -50
  233. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brad-bird/rules/brad-bird.md +0 -362
  234. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brian-de-palma/CHANGELOG.md +0 -51
  235. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brian-de-palma/metadata.json +0 -24
  236. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brian-de-palma/module.json +0 -50
  237. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brian-de-palma/rules/brian-de-palma.md +0 -445
  238. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/buster-keaton/CHANGELOG.md +0 -51
  239. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/buster-keaton/metadata.json +0 -24
  240. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/buster-keaton/module.json +0 -50
  241. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/buster-keaton/rules/buster-keaton.md +0 -508
  242. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/christopher-nolan/CHANGELOG.md +0 -51
  243. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/christopher-nolan/metadata.json +0 -24
  244. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/christopher-nolan/module.json +0 -50
  245. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/christopher-nolan/rules/christopher-nolan.md +0 -147
  246. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/clint-eastwood/CHANGELOG.md +0 -51
  247. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/clint-eastwood/metadata.json +0 -24
  248. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/clint-eastwood/module.json +0 -50
  249. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/clint-eastwood/rules/clint-eastwood.md +0 -639
  250. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/coen-brothers/CHANGELOG.md +0 -51
  251. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/coen-brothers/metadata.json +0 -24
  252. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/coen-brothers/module.json +0 -50
  253. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/coen-brothers/rules/coen-brothers.md +0 -167
  254. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/darren-aronofsky/CHANGELOG.md +0 -51
  255. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/darren-aronofsky/metadata.json +0 -24
  256. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/darren-aronofsky/module.json +0 -50
  257. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/darren-aronofsky/rules/darren-aronofsky.md +0 -474
  258. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-fincher/CHANGELOG.md +0 -51
  259. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-fincher/metadata.json +0 -24
  260. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-fincher/module.json +0 -50
  261. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-fincher/rules/david-fincher.md +0 -203
  262. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-lynch/CHANGELOG.md +0 -51
  263. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-lynch/metadata.json +0 -24
  264. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-lynch/module.json +0 -50
  265. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-lynch/rules/david-lynch.md +0 -136
  266. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/denis-villeneuve/CHANGELOG.md +0 -51
  267. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/denis-villeneuve/metadata.json +0 -24
  268. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/denis-villeneuve/module.json +0 -50
  269. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/denis-villeneuve/rules/denis-villeneuve.md +0 -131
  270. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/francis-ford-coppola/CHANGELOG.md +0 -51
  271. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/francis-ford-coppola/metadata.json +0 -24
  272. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/francis-ford-coppola/module.json +0 -50
  273. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/francis-ford-coppola/rules/francis-ford-coppola.md +0 -190
  274. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gary-marshall/CHANGELOG.md +0 -51
  275. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gary-marshall/metadata.json +0 -24
  276. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gary-marshall/module.json +0 -50
  277. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gary-marshall/rules/gary-marshall.md +0 -181
  278. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-a-romero/CHANGELOG.md +0 -51
  279. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-a-romero/metadata.json +0 -24
  280. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-a-romero/module.json +0 -50
  281. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-a-romero/rules/george-a-romero.md +0 -391
  282. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-lucas/CHANGELOG.md +0 -51
  283. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-lucas/metadata.json +0 -24
  284. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-lucas/module.json +0 -50
  285. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-lucas/rules/george-lucas.md +0 -129
  286. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/guillermo-del-toro/CHANGELOG.md +0 -51
  287. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/guillermo-del-toro/metadata.json +0 -24
  288. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/guillermo-del-toro/module.json +0 -50
  289. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/guillermo-del-toro/rules/guillermo-del-toro.md +0 -350
  290. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gus-van-sant/CHANGELOG.md +0 -51
  291. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gus-van-sant/metadata.json +0 -24
  292. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gus-van-sant/module.json +0 -50
  293. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gus-van-sant/rules/gus-van-sant.md +0 -353
  294. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/james-ivory-ismail-merchant/CHANGELOG.md +0 -51
  295. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/james-ivory-ismail-merchant/metadata.json +0 -24
  296. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/james-ivory-ismail-merchant/module.json +0 -50
  297. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/james-ivory-ismail-merchant/rules/james-ivory-ismail-merchant.md +0 -164
  298. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jim-jarmusch/CHANGELOG.md +0 -51
  299. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jim-jarmusch/metadata.json +0 -24
  300. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jim-jarmusch/module.json +0 -50
  301. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jim-jarmusch/rules/jim-jarmusch.md +0 -426
  302. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-carpenter/CHANGELOG.md +0 -51
  303. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-carpenter/metadata.json +0 -24
  304. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-carpenter/module.json +0 -50
  305. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-carpenter/rules/john-carpenter.md +0 -450
  306. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-ford/CHANGELOG.md +0 -51
  307. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-ford/metadata.json +0 -24
  308. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-ford/module.json +0 -50
  309. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-ford/rules/john-ford.md +0 -429
  310. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-huston/CHANGELOG.md +0 -51
  311. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-huston/metadata.json +0 -24
  312. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-huston/module.json +0 -50
  313. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-huston/rules/john-huston.md +0 -357
  314. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-landis/CHANGELOG.md +0 -51
  315. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-landis/metadata.json +0 -24
  316. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-landis/module.json +0 -50
  317. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-landis/rules/john-landis.md +0 -483
  318. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jonathan-demme/CHANGELOG.md +0 -51
  319. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jonathan-demme/metadata.json +0 -24
  320. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jonathan-demme/module.json +0 -50
  321. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jonathan-demme/rules/jonathan-demme.md +0 -394
  322. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/joseph-l-mankiewicz/CHANGELOG.md +0 -51
  323. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/joseph-l-mankiewicz/metadata.json +0 -24
  324. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/joseph-l-mankiewicz/module.json +0 -50
  325. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/joseph-l-mankiewicz/rules/joseph-l-mankiewicz.md +0 -406
  326. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kathryn-bigelow/CHANGELOG.md +0 -51
  327. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kathryn-bigelow/metadata.json +0 -24
  328. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kathryn-bigelow/module.json +0 -50
  329. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kathryn-bigelow/rules/kathryn-bigelow.md +0 -443
  330. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kelly-reichardt/CHANGELOG.md +0 -51
  331. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kelly-reichardt/metadata.json +0 -24
  332. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kelly-reichardt/module.json +0 -50
  333. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kelly-reichardt/rules/kelly-reichardt.md +0 -365
  334. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kevin-smith/CHANGELOG.md +0 -51
  335. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kevin-smith/metadata.json +0 -24
  336. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kevin-smith/module.json +0 -50
  337. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kevin-smith/rules/kevin-smith.md +0 -546
  338. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/linda-shayne/CHANGELOG.md +0 -51
  339. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/linda-shayne/metadata.json +0 -24
  340. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/linda-shayne/module.json +0 -50
  341. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/linda-shayne/rules/linda-shayne.md +0 -341
  342. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/martin-scorsese/CHANGELOG.md +0 -51
  343. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/martin-scorsese/metadata.json +0 -24
  344. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/martin-scorsese/module.json +0 -50
  345. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/martin-scorsese/rules/martin-scorsese.md +0 -188
  346. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mel-brooks/CHANGELOG.md +0 -51
  347. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mel-brooks/metadata.json +0 -24
  348. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mel-brooks/module.json +0 -50
  349. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mel-brooks/rules/mel-brooks.md +0 -215
  350. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/metadata.json +0 -25
  351. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-curtiz/CHANGELOG.md +0 -51
  352. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-curtiz/metadata.json +0 -24
  353. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-curtiz/module.json +0 -50
  354. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-curtiz/rules/michael-curtiz.md +0 -429
  355. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-mann/CHANGELOG.md +0 -51
  356. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-mann/metadata.json +0 -24
  357. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-mann/module.json +0 -50
  358. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-mann/rules/michael-mann.md +0 -416
  359. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mike-nichols/CHANGELOG.md +0 -51
  360. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mike-nichols/metadata.json +0 -24
  361. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mike-nichols/module.json +0 -50
  362. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mike-nichols/rules/mike-nichols.md +0 -383
  363. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/module.json +0 -410
  364. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/orson-welles/CHANGELOG.md +0 -51
  365. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/orson-welles/metadata.json +0 -24
  366. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/orson-welles/module.json +0 -50
  367. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/orson-welles/rules/orson-welles.md +0 -400
  368. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/park-chan-wook/CHANGELOG.md +0 -51
  369. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/park-chan-wook/metadata.json +0 -24
  370. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/park-chan-wook/module.json +0 -50
  371. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/park-chan-wook/rules/park-chan-wook.md +0 -357
  372. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/paul-thomas-anderson/CHANGELOG.md +0 -51
  373. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/paul-thomas-anderson/metadata.json +0 -24
  374. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/paul-thomas-anderson/module.json +0 -50
  375. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/paul-thomas-anderson/rules/paul-thomas-anderson.md +0 -143
  376. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/penny-marshall/CHANGELOG.md +0 -51
  377. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/penny-marshall/metadata.json +0 -24
  378. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/penny-marshall/module.json +0 -50
  379. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/penny-marshall/rules/penny-marshall.md +0 -139
  380. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/peter-bogdanovich/CHANGELOG.md +0 -51
  381. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/peter-bogdanovich/metadata.json +0 -24
  382. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/peter-bogdanovich/module.json +0 -50
  383. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/peter-bogdanovich/rules/peter-bogdanovich.md +0 -411
  384. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/quentin-tarantino/CHANGELOG.md +0 -51
  385. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/quentin-tarantino/metadata.json +0 -24
  386. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/quentin-tarantino/module.json +0 -50
  387. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/quentin-tarantino/rules/quentin-tarantino.md +0 -178
  388. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/richard-linklater/CHANGELOG.md +0 -51
  389. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/richard-linklater/metadata.json +0 -24
  390. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/richard-linklater/module.json +0 -50
  391. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/richard-linklater/rules/richard-linklater.md +0 -463
  392. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/rob-reiner/CHANGELOG.md +0 -51
  393. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/rob-reiner/metadata.json +0 -24
  394. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/rob-reiner/module.json +0 -50
  395. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/rob-reiner/rules/rob-reiner.md +0 -470
  396. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-altman/CHANGELOG.md +0 -51
  397. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-altman/metadata.json +0 -24
  398. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-altman/module.json +0 -50
  399. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-altman/rules/robert-altman.md +0 -447
  400. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-eggers/CHANGELOG.md +0 -51
  401. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-eggers/metadata.json +0 -24
  402. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-eggers/module.json +0 -50
  403. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-eggers/rules/robert-eggers.md +0 -361
  404. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-zemeckis/CHANGELOG.md +0 -51
  405. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-zemeckis/metadata.json +0 -24
  406. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-zemeckis/module.json +0 -50
  407. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-zemeckis/rules/robert-zemeckis.md +0 -489
  408. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sam-peckinpah/CHANGELOG.md +0 -51
  409. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sam-peckinpah/metadata.json +0 -24
  410. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sam-peckinpah/module.json +0 -50
  411. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sam-peckinpah/rules/sam-peckinpah.md +0 -475
  412. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sidney-lumet/CHANGELOG.md +0 -51
  413. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sidney-lumet/metadata.json +0 -24
  414. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sidney-lumet/module.json +0 -50
  415. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sidney-lumet/rules/sidney-lumet.md +0 -387
  416. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/spike-lee/CHANGELOG.md +0 -51
  417. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/spike-lee/metadata.json +0 -24
  418. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/spike-lee/module.json +0 -50
  419. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/spike-lee/rules/spike-lee.md +0 -500
  420. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-donen-gene-kelly/CHANGELOG.md +0 -51
  421. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-donen-gene-kelly/metadata.json +0 -24
  422. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-donen-gene-kelly/module.json +0 -50
  423. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-donen-gene-kelly/rules/stanley-donen-gene-kelly.md +0 -406
  424. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-kubrick/CHANGELOG.md +0 -51
  425. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-kubrick/metadata.json +0 -24
  426. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-kubrick/module.json +0 -50
  427. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-kubrick/rules/stanley-kubrick.md +0 -183
  428. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steve-martin/CHANGELOG.md +0 -51
  429. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steve-martin/metadata.json +0 -24
  430. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steve-martin/module.json +0 -50
  431. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steve-martin/rules/steve-martin.md +0 -138
  432. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steven-spielberg/CHANGELOG.md +0 -51
  433. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steven-spielberg/metadata.json +0 -24
  434. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steven-spielberg/module.json +0 -50
  435. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steven-spielberg/rules/steven-spielberg.md +0 -179
  436. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sydney-pollack/CHANGELOG.md +0 -51
  437. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sydney-pollack/metadata.json +0 -24
  438. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sydney-pollack/module.json +0 -50
  439. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sydney-pollack/rules/sydney-pollack.md +0 -356
  440. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/terry-gilliam/CHANGELOG.md +0 -51
  441. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/terry-gilliam/metadata.json +0 -24
  442. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/terry-gilliam/module.json +0 -50
  443. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/terry-gilliam/rules/terry-gilliam.md +0 -546
  444. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tim-burton/CHANGELOG.md +0 -51
  445. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tim-burton/metadata.json +0 -24
  446. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tim-burton/module.json +0 -50
  447. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tim-burton/rules/tim-burton.md +0 -356
  448. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tobe-hooper/CHANGELOG.md +0 -51
  449. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tobe-hooper/metadata.json +0 -24
  450. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tobe-hooper/module.json +0 -50
  451. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tobe-hooper/rules/tobe-hooper.md +0 -596
  452. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/wes-anderson/CHANGELOG.md +0 -51
  453. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/wes-anderson/metadata.json +0 -24
  454. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/wes-anderson/module.json +0 -50
  455. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/wes-anderson/rules/wes-anderson.md +0 -146
  456. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/william-friedkin/CHANGELOG.md +0 -51
  457. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/william-friedkin/metadata.json +0 -24
  458. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/william-friedkin/module.json +0 -50
  459. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/william-friedkin/rules/william-friedkin.md +0 -378
  460. package/augment-extensions/writing-standards/screenplay/cinematic-styles/examples/style-applications.md +0 -740
  461. package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/CHANGELOG.md +0 -51
  462. package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/blue-ruin/CHANGELOG.md +0 -51
  463. package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/blue-ruin/metadata.json +0 -24
  464. package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/blue-ruin/module.json +0 -50
  465. package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/blue-ruin/rules/blue-ruin.md +0 -721
  466. package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/metadata.json +0 -24
  467. package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/module.json +0 -27
  468. package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/rules/blue-ruin.md.bak +0 -667
  469. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/CHANGELOG.md +0 -51
  470. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/fast-and-furious/CHANGELOG.md +0 -51
  471. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/fast-and-furious/metadata.json +0 -24
  472. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/fast-and-furious/module.json +0 -17
  473. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/fast-and-furious/rules/the-fast-and-furious-saga.md +0 -427
  474. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/harry-potter/CHANGELOG.md +0 -51
  475. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/harry-potter/metadata.json +0 -24
  476. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/harry-potter/module.json +0 -17
  477. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/harry-potter/rules/harry-potter.md +0 -170
  478. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/james-bond/CHANGELOG.md +0 -51
  479. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/james-bond/metadata.json +0 -24
  480. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/james-bond/module.json +0 -17
  481. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/james-bond/rules/james-bond.md +0 -440
  482. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/john-wick/CHANGELOG.md +0 -51
  483. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/john-wick/metadata.json +0 -24
  484. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/john-wick/module.json +0 -17
  485. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/john-wick/rules/john-wick.md +0 -375
  486. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/lord-of-the-rings/CHANGELOG.md +0 -51
  487. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/lord-of-the-rings/metadata.json +0 -24
  488. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/lord-of-the-rings/module.json +0 -17
  489. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/lord-of-the-rings/rules/lord-of-the-rings.md +0 -437
  490. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/mcu/CHANGELOG.md +0 -51
  491. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/mcu/metadata.json +0 -25
  492. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/mcu/module.json +0 -29
  493. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/mcu/rules/mcu-avengers.md +0 -985
  494. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/mcu/rules/mcu-avengers.md.bak +0 -933
  495. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/metadata.json +0 -25
  496. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/module.json +0 -93
  497. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/CHANGELOG.md +0 -51
  498. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/metadata.json +0 -33
  499. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/module.json +0 -46
  500. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-deep-space-nine.md +0 -146
  501. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-enterprise.md +0 -149
  502. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-strange-new-world.md +0 -156
  503. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-the-next-generation.md +0 -163
  504. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-tos.md +0 -148
  505. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-voyager.md +0 -148
  506. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek.md +0 -163
  507. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-wars/CHANGELOG.md +0 -51
  508. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-wars/metadata.json +0 -24
  509. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-wars/module.json +0 -17
  510. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-wars/rules/star-wars.md +0 -213
  511. package/augment-extensions/writing-standards/screenplay/cinematic-styles/metadata.json +0 -50
  512. package/augment-extensions/writing-standards/screenplay/cinematic-styles/module.json +0 -128
  513. package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/CHANGELOG.md +0 -51
  514. package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/joseph-campbell/CHANGELOG.md +0 -51
  515. package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/joseph-campbell/metadata.json +0 -24
  516. package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/joseph-campbell/module.json +0 -50
  517. package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/joseph-campbell/rules/joseph-campbell.md +0 -178
  518. package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/metadata.json +0 -24
  519. package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/module.json +0 -27
  520. package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/CHANGELOG.md +0 -51
  521. package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/bruckheimer-and-simpson/CHANGELOG.md +0 -51
  522. package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/bruckheimer-and-simpson/metadata.json +0 -24
  523. package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/bruckheimer-and-simpson/module.json +0 -50
  524. package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/bruckheimer-and-simpson/rules/bruckheimer-and-simpson.md +0 -376
  525. package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/metadata.json +0 -23
  526. package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/module.json +0 -26
  527. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/blue-ruin.md +0 -667
  528. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/christopher-nolan.md +0 -126
  529. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/coen-brothers.md +0 -154
  530. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/david-lynch.md +0 -124
  531. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/denis-villeneuve.md +0 -119
  532. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/francis-ford-coppola.md +0 -176
  533. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/george-lucas.md +0 -116
  534. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/joseph-campbell.md +0 -167
  535. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/martin-scorsese.md +0 -174
  536. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/mcu-avengers.md +0 -933
  537. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/monty-python.md +0 -231
  538. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/quentin-tarantino.md +0 -167
  539. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/saturday-night-live.md +0 -141
  540. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/stanley-kubrick.md +0 -169
  541. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/star-wars.md +0 -200
  542. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/steven-spielberg.md +0 -165
  543. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/wes-anderson.md +0 -134
  544. package/augment-extensions/writing-standards/screenplay/commercials/CHARACTER-COUNT-TRACKING.md +0 -226
  545. package/augment-extensions/writing-standards/screenplay/commercials/CONFIGURATION.md +0 -327
  546. package/augment-extensions/writing-standards/screenplay/commercials/README.md +0 -223
  547. package/augment-extensions/writing-standards/screenplay/commercials/REFACTORING-SUMMARY.md +0 -193
  548. package/augment-extensions/writing-standards/screenplay/commercials/REFERENCES.md +0 -157
  549. package/augment-extensions/writing-standards/screenplay/commercials/VALIDATION-REPORT.md +0 -109
  550. package/augment-extensions/writing-standards/screenplay/commercials/examples/.gitkeep +0 -0
  551. package/augment-extensions/writing-standards/screenplay/commercials/module.json +0 -111
  552. package/augment-extensions/writing-standards/screenplay/commercials/rules/.gitkeep +0 -0
  553. package/augment-extensions/writing-standards/screenplay/commercials/rules/commercial-audience.md +0 -343
  554. package/augment-extensions/writing-standards/screenplay/commercials/rules/commercial-formats.md +0 -396
  555. package/augment-extensions/writing-standards/screenplay/commercials/rules/commercial-persuasion.md +0 -387
  556. package/augment-extensions/writing-standards/screenplay/commercials/rules/commercial-scripts.md +0 -531
  557. package/augment-extensions/writing-standards/screenplay/commercials/rules/commercial-techniques.md +0 -912
  558. package/augment-extensions/writing-standards/screenplay/commercials/rules/commercial-types.md +0 -700
  559. package/augment-extensions/writing-standards/screenplay/commercials/rules/commercials.md +0 -285
  560. package/augment-extensions/writing-standards/screenplay/commercials/scripts/validate-character-count.ts +0 -284
  561. package/augment-extensions/writing-standards/screenplay/examples/aaa-hollywood-scene.fountain +0 -164
  562. package/augment-extensions/writing-standards/screenplay/examples/beat-sheet-example.yaml +0 -95
  563. package/augment-extensions/writing-standards/screenplay/examples/character-profile-example.yaml +0 -116
  564. package/augment-extensions/writing-standards/screenplay/examples/commercial-30sec.fountain +0 -151
  565. package/augment-extensions/writing-standards/screenplay/examples/independent-monologue.fountain +0 -67
  566. package/augment-extensions/writing-standards/screenplay/examples/news-segment.fountain +0 -142
  567. package/augment-extensions/writing-standards/screenplay/examples/plot-outline-example.yaml +0 -184
  568. package/augment-extensions/writing-standards/screenplay/examples/tv-episode-teaser.fountain +0 -204
  569. package/augment-extensions/writing-standards/screenplay/genres/CHANGELOG.md +0 -51
  570. package/augment-extensions/writing-standards/screenplay/genres/README.md +0 -181
  571. package/augment-extensions/writing-standards/screenplay/genres/examples/.gitkeep +0 -2
  572. package/augment-extensions/writing-standards/screenplay/genres/metadata.json +0 -43
  573. package/augment-extensions/writing-standards/screenplay/genres/module.json +0 -70
  574. package/augment-extensions/writing-standards/screenplay/genres/rules/.gitkeep +0 -2
  575. package/augment-extensions/writing-standards/screenplay/genres/rules/action.md +0 -399
  576. package/augment-extensions/writing-standards/screenplay/genres/rules/adventure.md +0 -407
  577. package/augment-extensions/writing-standards/screenplay/genres/rules/animation.md +0 -293
  578. package/augment-extensions/writing-standards/screenplay/genres/rules/biographical.md +0 -293
  579. package/augment-extensions/writing-standards/screenplay/genres/rules/comedy.md +0 -401
  580. package/augment-extensions/writing-standards/screenplay/genres/rules/documentary.md +0 -293
  581. package/augment-extensions/writing-standards/screenplay/genres/rules/drama.md +0 -409
  582. package/augment-extensions/writing-standards/screenplay/genres/rules/fantasy.md +0 -293
  583. package/augment-extensions/writing-standards/screenplay/genres/rules/historical.md +0 -293
  584. package/augment-extensions/writing-standards/screenplay/genres/rules/horror.md +0 -268
  585. package/augment-extensions/writing-standards/screenplay/genres/rules/musical.md +0 -294
  586. package/augment-extensions/writing-standards/screenplay/genres/rules/mystery.md +0 -293
  587. package/augment-extensions/writing-standards/screenplay/genres/rules/noir.md +0 -294
  588. package/augment-extensions/writing-standards/screenplay/genres/rules/romance.md +0 -293
  589. package/augment-extensions/writing-standards/screenplay/genres/rules/sci-fi.md +0 -289
  590. package/augment-extensions/writing-standards/screenplay/genres/rules/superhero.md +0 -293
  591. package/augment-extensions/writing-standards/screenplay/genres/rules/thriller.md +0 -294
  592. package/augment-extensions/writing-standards/screenplay/genres/rules/western.md +0 -293
  593. package/augment-extensions/writing-standards/screenplay/metadata.json +0 -65
  594. package/augment-extensions/writing-standards/screenplay/module.json +0 -171
  595. package/augment-extensions/writing-standards/screenplay/rules/aaa-hollywood-films.md +0 -339
  596. package/augment-extensions/writing-standards/screenplay/rules/ai-integration-testing.md +0 -329
  597. package/augment-extensions/writing-standards/screenplay/rules/character-development.md +0 -169
  598. package/augment-extensions/writing-standards/screenplay/rules/commercials.md +0 -437
  599. package/augment-extensions/writing-standards/screenplay/rules/dialogue-writing.md +0 -263
  600. package/augment-extensions/writing-standards/screenplay/rules/diversity-inclusion.md +0 -261
  601. package/augment-extensions/writing-standards/screenplay/rules/examples-guide.md +0 -315
  602. package/augment-extensions/writing-standards/screenplay/rules/file-organization.md +0 -213
  603. package/augment-extensions/writing-standards/screenplay/rules/formatting-validation.md +0 -413
  604. package/augment-extensions/writing-standards/screenplay/rules/fountain-format.md +0 -372
  605. package/augment-extensions/writing-standards/screenplay/rules/independent-films.md +0 -374
  606. package/augment-extensions/writing-standards/screenplay/rules/live-tv-productions.md +0 -443
  607. package/augment-extensions/writing-standards/screenplay/rules/narrative-structures.md +0 -207
  608. package/augment-extensions/writing-standards/screenplay/rules/news-broadcasts.md +0 -444
  609. package/augment-extensions/writing-standards/screenplay/rules/pacing-timing.md +0 -331
  610. package/augment-extensions/writing-standards/screenplay/rules/quality-review-checklist.md +0 -334
  611. package/augment-extensions/writing-standards/screenplay/rules/quick-reference.md +0 -299
  612. package/augment-extensions/writing-standards/screenplay/rules/screen-continuity.md +0 -263
  613. package/augment-extensions/writing-standards/screenplay/rules/streaming-content.md +0 -412
  614. package/augment-extensions/writing-standards/screenplay/rules/trope-management.md +0 -370
  615. package/augment-extensions/writing-standards/screenplay/rules/tv-series.md +0 -374
  616. package/augment-extensions/writing-standards/screenplay/rules/universal-formatting.md +0 -339
  617. package/augment-extensions/writing-standards/screenplay/rules/vscode-integration.md +0 -277
  618. package/augment-extensions/writing-standards/screenplay/rules/web-content.md +0 -393
  619. package/augment-extensions/writing-standards/screenplay/schemas/beat-sheet.json +0 -332
  620. package/augment-extensions/writing-standards/screenplay/schemas/character-profile.json +0 -247
  621. package/augment-extensions/writing-standards/screenplay/schemas/feature-selection.json +0 -200
  622. package/augment-extensions/writing-standards/screenplay/schemas/plot-outline.json +0 -233
  623. package/augment-extensions/writing-standards/screenplay/schemas/screenplay-config.json +0 -245
  624. package/augment-extensions/writing-standards/screenplay/schemas/trope-inventory.json +0 -221
  625. package/augment-extensions/writing-standards/screenplay/styles/CHANGELOG.md +0 -51
  626. package/augment-extensions/writing-standards/screenplay/styles/README.md +0 -159
  627. package/augment-extensions/writing-standards/screenplay/styles/examples/.gitkeep +0 -2
  628. package/augment-extensions/writing-standards/screenplay/styles/examples/style-applications.md +0 -1449
  629. package/augment-extensions/writing-standards/screenplay/styles/metadata.json +0 -38
  630. package/augment-extensions/writing-standards/screenplay/styles/module.json +0 -64
  631. package/augment-extensions/writing-standards/screenplay/styles/rules/.gitkeep +0 -2
  632. package/augment-extensions/writing-standards/screenplay/styles/rules/dialogue-centric.md +0 -520
  633. package/augment-extensions/writing-standards/screenplay/styles/rules/ensemble.md +0 -499
  634. package/augment-extensions/writing-standards/screenplay/styles/rules/epic.md +0 -497
  635. package/augment-extensions/writing-standards/screenplay/styles/rules/experimental.md +0 -492
  636. package/augment-extensions/writing-standards/screenplay/styles/rules/flashback.md +0 -509
  637. package/augment-extensions/writing-standards/screenplay/styles/rules/linear.md +0 -490
  638. package/augment-extensions/writing-standards/screenplay/styles/rules/minimalist.md +0 -499
  639. package/augment-extensions/writing-standards/screenplay/styles/rules/non-linear.md +0 -501
  640. package/augment-extensions/writing-standards/screenplay/styles/rules/poetic.md +0 -499
  641. package/augment-extensions/writing-standards/screenplay/styles/rules/realistic.md +0 -498
  642. package/augment-extensions/writing-standards/screenplay/styles/rules/satirical.md +0 -499
  643. package/augment-extensions/writing-standards/screenplay/styles/rules/surreal.md +0 -508
  644. package/augment-extensions/writing-standards/screenplay/styles/rules/voice-over.md +0 -500
  645. package/augment-extensions/writing-standards/screenplay/themes/CHANGELOG.md +0 -51
  646. package/augment-extensions/writing-standards/screenplay/themes/README.md +0 -158
  647. package/augment-extensions/writing-standards/screenplay/themes/examples/.gitkeep +0 -2
  648. package/augment-extensions/writing-standards/screenplay/themes/examples/common-mistakes-and-fixes.md +0 -643
  649. package/augment-extensions/writing-standards/screenplay/themes/examples/complete-scene-example.md +0 -311
  650. package/augment-extensions/writing-standards/screenplay/themes/examples/individual-theme-examples.md +0 -562
  651. package/augment-extensions/writing-standards/screenplay/themes/examples/multi-theme-weaving.md +0 -538
  652. package/augment-extensions/writing-standards/screenplay/themes/examples/theme-application-guide.md +0 -432
  653. package/augment-extensions/writing-standards/screenplay/themes/examples/theme-integration-across-acts.md +0 -637
  654. package/augment-extensions/writing-standards/screenplay/themes/metadata.json +0 -47
  655. package/augment-extensions/writing-standards/screenplay/themes/module.json +0 -66
  656. package/augment-extensions/writing-standards/screenplay/themes/rules/.gitkeep +0 -2
  657. package/augment-extensions/writing-standards/screenplay/themes/rules/ambition.md +0 -458
  658. package/augment-extensions/writing-standards/screenplay/themes/rules/betrayal.md +0 -490
  659. package/augment-extensions/writing-standards/screenplay/themes/rules/environment.md +0 -458
  660. package/augment-extensions/writing-standards/screenplay/themes/rules/fate.md +0 -459
  661. package/augment-extensions/writing-standards/screenplay/themes/rules/friendship.md +0 -491
  662. package/augment-extensions/writing-standards/screenplay/themes/rules/growth.md +0 -491
  663. package/augment-extensions/writing-standards/screenplay/themes/rules/identity.md +0 -490
  664. package/augment-extensions/writing-standards/screenplay/themes/rules/isolation.md +0 -464
  665. package/augment-extensions/writing-standards/screenplay/themes/rules/justice.md +0 -461
  666. package/augment-extensions/writing-standards/screenplay/themes/rules/love.md +0 -489
  667. package/augment-extensions/writing-standards/screenplay/themes/rules/power.md +0 -494
  668. package/augment-extensions/writing-standards/screenplay/themes/rules/redemption.md +0 -483
  669. package/augment-extensions/writing-standards/screenplay/themes/rules/revenge.md +0 -489
  670. package/augment-extensions/writing-standards/screenplay/themes/rules/survival.md +0 -496
  671. package/augment-extensions/writing-standards/screenplay/themes/rules/technology.md +0 -463
  672. package/augment-extensions/writing-standards/screenplay/utils/__tests__/file-organization.test.ts +0 -169
  673. package/augment-extensions/writing-standards/screenplay/utils/file-organization.ts +0 -165
  674. package/cli/dist/__test_health-checker.d.ts +0 -2
  675. package/cli/dist/__test_health-checker.d.ts.map +0 -1
  676. package/cli/dist/__test_health-checker.js +0 -4
  677. package/cli/dist/__test_health-checker.js.map +0 -1
  678. package/cli/dist/__test_hook-system.d.ts +0 -2
  679. package/cli/dist/__test_hook-system.d.ts.map +0 -1
  680. package/cli/dist/__test_hook-system.js +0 -4
  681. package/cli/dist/__test_hook-system.js.map +0 -1
  682. package/cli/dist/__test_rule-install-hooks.d.ts +0 -2
  683. package/cli/dist/__test_rule-install-hooks.d.ts.map +0 -1
  684. package/cli/dist/__test_rule-install-hooks.js +0 -4
  685. package/cli/dist/__test_rule-install-hooks.js.map +0 -1
  686. package/cli/dist/__test_template-engine.d.ts +0 -2
  687. package/cli/dist/__test_template-engine.d.ts.map +0 -1
  688. package/cli/dist/__test_template-engine.js +0 -4
  689. package/cli/dist/__test_template-engine.js.map +0 -1
  690. package/cli/dist/commands/generate-shot-list/error-detector.d.ts +0 -92
  691. package/cli/dist/commands/generate-shot-list/error-detector.d.ts.map +0 -1
  692. package/cli/dist/commands/generate-shot-list/error-detector.js +0 -131
  693. package/cli/dist/commands/generate-shot-list/error-detector.js.map +0 -1
  694. package/cli/dist/commands/generate-shot-list/error-recovery.d.ts +0 -85
  695. package/cli/dist/commands/generate-shot-list/error-recovery.d.ts.map +0 -1
  696. package/cli/dist/commands/generate-shot-list/error-recovery.js +0 -208
  697. package/cli/dist/commands/generate-shot-list/error-recovery.js.map +0 -1
  698. package/cli/dist/commands/generate-shot-list/errors.d.ts +0 -52
  699. package/cli/dist/commands/generate-shot-list/errors.d.ts.map +0 -1
  700. package/cli/dist/commands/generate-shot-list/errors.js +0 -287
  701. package/cli/dist/commands/generate-shot-list/errors.js.map +0 -1
  702. package/cli/dist/commands/generate-shot-list/exit-codes.d.ts +0 -42
  703. package/cli/dist/commands/generate-shot-list/exit-codes.d.ts.map +0 -1
  704. package/cli/dist/commands/generate-shot-list/exit-codes.js +0 -83
  705. package/cli/dist/commands/generate-shot-list/exit-codes.js.map +0 -1
  706. package/cli/dist/commands/generate-shot-list/formatter/base-formatter.d.ts +0 -48
  707. package/cli/dist/commands/generate-shot-list/formatter/base-formatter.d.ts.map +0 -1
  708. package/cli/dist/commands/generate-shot-list/formatter/base-formatter.js +0 -115
  709. package/cli/dist/commands/generate-shot-list/formatter/base-formatter.js.map +0 -1
  710. package/cli/dist/commands/generate-shot-list/formatter/csv-formatter.d.ts +0 -45
  711. package/cli/dist/commands/generate-shot-list/formatter/csv-formatter.d.ts.map +0 -1
  712. package/cli/dist/commands/generate-shot-list/formatter/csv-formatter.js +0 -110
  713. package/cli/dist/commands/generate-shot-list/formatter/csv-formatter.js.map +0 -1
  714. package/cli/dist/commands/generate-shot-list/formatter/html-formatter.d.ts +0 -38
  715. package/cli/dist/commands/generate-shot-list/formatter/html-formatter.d.ts.map +0 -1
  716. package/cli/dist/commands/generate-shot-list/formatter/html-formatter.js +0 -82
  717. package/cli/dist/commands/generate-shot-list/formatter/html-formatter.js.map +0 -1
  718. package/cli/dist/commands/generate-shot-list/formatter/html-template.d.ts +0 -11
  719. package/cli/dist/commands/generate-shot-list/formatter/html-template.d.ts.map +0 -1
  720. package/cli/dist/commands/generate-shot-list/formatter/html-template.js +0 -628
  721. package/cli/dist/commands/generate-shot-list/formatter/html-template.js.map +0 -1
  722. package/cli/dist/commands/generate-shot-list/formatter/index.d.ts +0 -13
  723. package/cli/dist/commands/generate-shot-list/formatter/index.d.ts.map +0 -1
  724. package/cli/dist/commands/generate-shot-list/formatter/index.js +0 -41
  725. package/cli/dist/commands/generate-shot-list/formatter/index.js.map +0 -1
  726. package/cli/dist/commands/generate-shot-list/formatter/json-formatter.d.ts +0 -35
  727. package/cli/dist/commands/generate-shot-list/formatter/json-formatter.d.ts.map +0 -1
  728. package/cli/dist/commands/generate-shot-list/formatter/json-formatter.js +0 -134
  729. package/cli/dist/commands/generate-shot-list/formatter/json-formatter.js.map +0 -1
  730. package/cli/dist/commands/generate-shot-list/formatter/jsonl-formatter.d.ts +0 -38
  731. package/cli/dist/commands/generate-shot-list/formatter/jsonl-formatter.d.ts.map +0 -1
  732. package/cli/dist/commands/generate-shot-list/formatter/jsonl-formatter.js +0 -111
  733. package/cli/dist/commands/generate-shot-list/formatter/jsonl-formatter.js.map +0 -1
  734. package/cli/dist/commands/generate-shot-list/formatter/markdown-formatter.d.ts +0 -53
  735. package/cli/dist/commands/generate-shot-list/formatter/markdown-formatter.d.ts.map +0 -1
  736. package/cli/dist/commands/generate-shot-list/formatter/markdown-formatter.js +0 -302
  737. package/cli/dist/commands/generate-shot-list/formatter/markdown-formatter.js.map +0 -1
  738. package/cli/dist/commands/generate-shot-list/formatter/txt-formatter.d.ts +0 -37
  739. package/cli/dist/commands/generate-shot-list/formatter/txt-formatter.d.ts.map +0 -1
  740. package/cli/dist/commands/generate-shot-list/formatter/txt-formatter.js +0 -125
  741. package/cli/dist/commands/generate-shot-list/formatter/txt-formatter.js.map +0 -1
  742. package/cli/dist/commands/generate-shot-list/formatter/types.d.ts +0 -75
  743. package/cli/dist/commands/generate-shot-list/formatter/types.d.ts.map +0 -1
  744. package/cli/dist/commands/generate-shot-list/formatter/types.js +0 -8
  745. package/cli/dist/commands/generate-shot-list/formatter/types.js.map +0 -1
  746. package/cli/dist/commands/generate-shot-list/generator/ai-blocking-extractor.d.ts +0 -58
  747. package/cli/dist/commands/generate-shot-list/generator/ai-blocking-extractor.d.ts.map +0 -1
  748. package/cli/dist/commands/generate-shot-list/generator/ai-blocking-extractor.js +0 -275
  749. package/cli/dist/commands/generate-shot-list/generator/ai-blocking-extractor.js.map +0 -1
  750. package/cli/dist/commands/generate-shot-list/generator/ai-entity-extractor.d.ts +0 -41
  751. package/cli/dist/commands/generate-shot-list/generator/ai-entity-extractor.d.ts.map +0 -1
  752. package/cli/dist/commands/generate-shot-list/generator/ai-entity-extractor.js +0 -155
  753. package/cli/dist/commands/generate-shot-list/generator/ai-entity-extractor.js.map +0 -1
  754. package/cli/dist/commands/generate-shot-list/generator/context-builder.d.ts +0 -166
  755. package/cli/dist/commands/generate-shot-list/generator/context-builder.d.ts.map +0 -1
  756. package/cli/dist/commands/generate-shot-list/generator/context-builder.js +0 -965
  757. package/cli/dist/commands/generate-shot-list/generator/context-builder.js.map +0 -1
  758. package/cli/dist/commands/generate-shot-list/generator/index.d.ts +0 -163
  759. package/cli/dist/commands/generate-shot-list/generator/index.d.ts.map +0 -1
  760. package/cli/dist/commands/generate-shot-list/generator/index.js +0 -909
  761. package/cli/dist/commands/generate-shot-list/generator/index.js.map +0 -1
  762. package/cli/dist/commands/generate-shot-list/generator/metadata-extractor.d.ts +0 -46
  763. package/cli/dist/commands/generate-shot-list/generator/metadata-extractor.d.ts.map +0 -1
  764. package/cli/dist/commands/generate-shot-list/generator/metadata-extractor.js +0 -171
  765. package/cli/dist/commands/generate-shot-list/generator/metadata-extractor.js.map +0 -1
  766. package/cli/dist/commands/generate-shot-list/generator/scene-segmenter.d.ts +0 -49
  767. package/cli/dist/commands/generate-shot-list/generator/scene-segmenter.d.ts.map +0 -1
  768. package/cli/dist/commands/generate-shot-list/generator/scene-segmenter.js +0 -130
  769. package/cli/dist/commands/generate-shot-list/generator/scene-segmenter.js.map +0 -1
  770. package/cli/dist/commands/generate-shot-list/generator/types.d.ts +0 -135
  771. package/cli/dist/commands/generate-shot-list/generator/types.d.ts.map +0 -1
  772. package/cli/dist/commands/generate-shot-list/generator/types.js +0 -8
  773. package/cli/dist/commands/generate-shot-list/generator/types.js.map +0 -1
  774. package/cli/dist/commands/generate-shot-list/generator/validator.d.ts +0 -73
  775. package/cli/dist/commands/generate-shot-list/generator/validator.d.ts.map +0 -1
  776. package/cli/dist/commands/generate-shot-list/generator/validator.js +0 -284
  777. package/cli/dist/commands/generate-shot-list/generator/validator.js.map +0 -1
  778. package/cli/dist/commands/generate-shot-list/help-text.d.ts +0 -11
  779. package/cli/dist/commands/generate-shot-list/help-text.d.ts.map +0 -1
  780. package/cli/dist/commands/generate-shot-list/help-text.js +0 -214
  781. package/cli/dist/commands/generate-shot-list/help-text.js.map +0 -1
  782. package/cli/dist/commands/generate-shot-list/logger/index.d.ts +0 -25
  783. package/cli/dist/commands/generate-shot-list/logger/index.d.ts.map +0 -1
  784. package/cli/dist/commands/generate-shot-list/logger/index.js +0 -98
  785. package/cli/dist/commands/generate-shot-list/logger/index.js.map +0 -1
  786. package/cli/dist/commands/generate-shot-list/logger/jsonl-writer.d.ts +0 -53
  787. package/cli/dist/commands/generate-shot-list/logger/jsonl-writer.d.ts.map +0 -1
  788. package/cli/dist/commands/generate-shot-list/logger/jsonl-writer.js +0 -183
  789. package/cli/dist/commands/generate-shot-list/logger/jsonl-writer.js.map +0 -1
  790. package/cli/dist/commands/generate-shot-list/logger/shot-list-logger.d.ts +0 -43
  791. package/cli/dist/commands/generate-shot-list/logger/shot-list-logger.d.ts.map +0 -1
  792. package/cli/dist/commands/generate-shot-list/logger/shot-list-logger.js +0 -142
  793. package/cli/dist/commands/generate-shot-list/logger/shot-list-logger.js.map +0 -1
  794. package/cli/dist/commands/generate-shot-list/logger/types.d.ts +0 -145
  795. package/cli/dist/commands/generate-shot-list/logger/types.d.ts.map +0 -1
  796. package/cli/dist/commands/generate-shot-list/logger/types.js +0 -8
  797. package/cli/dist/commands/generate-shot-list/logger/types.js.map +0 -1
  798. package/cli/dist/commands/generate-shot-list/parser/docx-parser.d.ts +0 -29
  799. package/cli/dist/commands/generate-shot-list/parser/docx-parser.d.ts.map +0 -1
  800. package/cli/dist/commands/generate-shot-list/parser/docx-parser.js +0 -111
  801. package/cli/dist/commands/generate-shot-list/parser/docx-parser.js.map +0 -1
  802. package/cli/dist/commands/generate-shot-list/parser/finaldraft-parser.d.ts +0 -18
  803. package/cli/dist/commands/generate-shot-list/parser/finaldraft-parser.d.ts.map +0 -1
  804. package/cli/dist/commands/generate-shot-list/parser/finaldraft-parser.js +0 -184
  805. package/cli/dist/commands/generate-shot-list/parser/finaldraft-parser.js.map +0 -1
  806. package/cli/dist/commands/generate-shot-list/parser/fountain-parser.d.ts +0 -33
  807. package/cli/dist/commands/generate-shot-list/parser/fountain-parser.d.ts.map +0 -1
  808. package/cli/dist/commands/generate-shot-list/parser/fountain-parser.js +0 -250
  809. package/cli/dist/commands/generate-shot-list/parser/fountain-parser.js.map +0 -1
  810. package/cli/dist/commands/generate-shot-list/parser/index.d.ts +0 -25
  811. package/cli/dist/commands/generate-shot-list/parser/index.d.ts.map +0 -1
  812. package/cli/dist/commands/generate-shot-list/parser/index.js +0 -168
  813. package/cli/dist/commands/generate-shot-list/parser/index.js.map +0 -1
  814. package/cli/dist/commands/generate-shot-list/parser/markdown-parser.d.ts +0 -21
  815. package/cli/dist/commands/generate-shot-list/parser/markdown-parser.d.ts.map +0 -1
  816. package/cli/dist/commands/generate-shot-list/parser/markdown-parser.js +0 -197
  817. package/cli/dist/commands/generate-shot-list/parser/markdown-parser.js.map +0 -1
  818. package/cli/dist/commands/generate-shot-list/parser/pdf-parser.d.ts +0 -24
  819. package/cli/dist/commands/generate-shot-list/parser/pdf-parser.d.ts.map +0 -1
  820. package/cli/dist/commands/generate-shot-list/parser/pdf-parser.js +0 -84
  821. package/cli/dist/commands/generate-shot-list/parser/pdf-parser.js.map +0 -1
  822. package/cli/dist/commands/generate-shot-list/parser/plaintext-parser.d.ts +0 -29
  823. package/cli/dist/commands/generate-shot-list/parser/plaintext-parser.d.ts.map +0 -1
  824. package/cli/dist/commands/generate-shot-list/parser/plaintext-parser.js +0 -213
  825. package/cli/dist/commands/generate-shot-list/parser/plaintext-parser.js.map +0 -1
  826. package/cli/dist/commands/generate-shot-list/parser/rtf-parser.d.ts +0 -28
  827. package/cli/dist/commands/generate-shot-list/parser/rtf-parser.d.ts.map +0 -1
  828. package/cli/dist/commands/generate-shot-list/parser/rtf-parser.js +0 -143
  829. package/cli/dist/commands/generate-shot-list/parser/rtf-parser.js.map +0 -1
  830. package/cli/dist/commands/generate-shot-list/parser/types.d.ts +0 -136
  831. package/cli/dist/commands/generate-shot-list/parser/types.d.ts.map +0 -1
  832. package/cli/dist/commands/generate-shot-list/parser/types.js +0 -22
  833. package/cli/dist/commands/generate-shot-list/parser/types.js.map +0 -1
  834. package/cli/dist/commands/generate-shot-list/schema/shot-list.schema.json +0 -341
  835. package/cli/dist/commands/generate-shot-list/schema/validator.d.ts +0 -55
  836. package/cli/dist/commands/generate-shot-list/schema/validator.d.ts.map +0 -1
  837. package/cli/dist/commands/generate-shot-list/schema/validator.js +0 -180
  838. package/cli/dist/commands/generate-shot-list/schema/validator.js.map +0 -1
  839. package/cli/dist/commands/generate-shot-list/style/guideline-parser.d.ts +0 -36
  840. package/cli/dist/commands/generate-shot-list/style/guideline-parser.d.ts.map +0 -1
  841. package/cli/dist/commands/generate-shot-list/style/guideline-parser.js +0 -108
  842. package/cli/dist/commands/generate-shot-list/style/guideline-parser.js.map +0 -1
  843. package/cli/dist/commands/generate-shot-list/style/index.d.ts +0 -39
  844. package/cli/dist/commands/generate-shot-list/style/index.d.ts.map +0 -1
  845. package/cli/dist/commands/generate-shot-list/style/index.js +0 -85
  846. package/cli/dist/commands/generate-shot-list/style/index.js.map +0 -1
  847. package/cli/dist/commands/generate-shot-list/style/style-loader.d.ts +0 -35
  848. package/cli/dist/commands/generate-shot-list/style/style-loader.d.ts.map +0 -1
  849. package/cli/dist/commands/generate-shot-list/style/style-loader.js +0 -178
  850. package/cli/dist/commands/generate-shot-list/style/style-loader.js.map +0 -1
  851. package/cli/dist/commands/generate-shot-list/style/style-merger.d.ts +0 -36
  852. package/cli/dist/commands/generate-shot-list/style/style-merger.d.ts.map +0 -1
  853. package/cli/dist/commands/generate-shot-list/style/style-merger.js +0 -123
  854. package/cli/dist/commands/generate-shot-list/style/style-merger.js.map +0 -1
  855. package/cli/dist/commands/generate-shot-list/style/types.d.ts +0 -105
  856. package/cli/dist/commands/generate-shot-list/style/types.d.ts.map +0 -1
  857. package/cli/dist/commands/generate-shot-list/style/types.js +0 -8
  858. package/cli/dist/commands/generate-shot-list/style/types.js.map +0 -1
  859. package/cli/dist/commands/generate-shot-list.d.ts +0 -15
  860. package/cli/dist/commands/generate-shot-list.d.ts.map +0 -1
  861. package/cli/dist/commands/generate-shot-list.js +0 -288
  862. package/cli/dist/commands/generate-shot-list.js.map +0 -1
  863. package/cli/dist/gui/app.d.ts +0 -17
  864. package/cli/dist/gui/app.d.ts.map +0 -1
  865. package/cli/dist/gui/app.js +0 -79
  866. package/cli/dist/gui/app.js.map +0 -1
  867. package/cli/dist/gui/components/preview-pane.d.ts +0 -40
  868. package/cli/dist/gui/components/preview-pane.d.ts.map +0 -1
  869. package/cli/dist/gui/components/preview-pane.js +0 -90
  870. package/cli/dist/gui/components/preview-pane.js.map +0 -1
  871. package/cli/dist/gui/components/search-filter.d.ts +0 -26
  872. package/cli/dist/gui/components/search-filter.d.ts.map +0 -1
  873. package/cli/dist/gui/components/search-filter.js +0 -168
  874. package/cli/dist/gui/components/search-filter.js.map +0 -1
  875. package/cli/dist/gui/components/status-bar.d.ts +0 -22
  876. package/cli/dist/gui/components/status-bar.d.ts.map +0 -1
  877. package/cli/dist/gui/components/status-bar.js +0 -58
  878. package/cli/dist/gui/components/status-bar.js.map +0 -1
  879. package/cli/dist/gui/components/tree-navigator.d.ts +0 -30
  880. package/cli/dist/gui/components/tree-navigator.d.ts.map +0 -1
  881. package/cli/dist/gui/components/tree-navigator.js +0 -133
  882. package/cli/dist/gui/components/tree-navigator.js.map +0 -1
  883. package/cli/dist/gui/components/version-selector.d.ts +0 -27
  884. package/cli/dist/gui/components/version-selector.d.ts.map +0 -1
  885. package/cli/dist/gui/components/version-selector.js +0 -110
  886. package/cli/dist/gui/components/version-selector.js.map +0 -1
  887. package/cli/dist/gui/hooks/use-version-loader.d.ts +0 -25
  888. package/cli/dist/gui/hooks/use-version-loader.d.ts.map +0 -1
  889. package/cli/dist/gui/hooks/use-version-loader.js +0 -116
  890. package/cli/dist/gui/hooks/use-version-loader.js.map +0 -1
  891. package/cli/dist/gui/index.d.ts +0 -15
  892. package/cli/dist/gui/index.d.ts.map +0 -1
  893. package/cli/dist/gui/index.js +0 -39
  894. package/cli/dist/gui/index.js.map +0 -1
  895. package/cli/dist/gui/layouts/main-layout.d.ts +0 -14
  896. package/cli/dist/gui/layouts/main-layout.d.ts.map +0 -1
  897. package/cli/dist/gui/layouts/main-layout.js +0 -205
  898. package/cli/dist/gui/layouts/main-layout.js.map +0 -1
  899. package/cli/dist/gui/state/navigation-state.d.ts +0 -39
  900. package/cli/dist/gui/state/navigation-state.d.ts.map +0 -1
  901. package/cli/dist/gui/state/navigation-state.js +0 -151
  902. package/cli/dist/gui/state/navigation-state.js.map +0 -1
  903. package/cli/dist/gui/state/selection-state.d.ts +0 -36
  904. package/cli/dist/gui/state/selection-state.d.ts.map +0 -1
  905. package/cli/dist/gui/state/selection-state.js +0 -132
  906. package/cli/dist/gui/state/selection-state.js.map +0 -1
  907. package/cli/dist/gui/theme.d.ts +0 -50
  908. package/cli/dist/gui/theme.d.ts.map +0 -1
  909. package/cli/dist/gui/theme.js +0 -73
  910. package/cli/dist/gui/theme.js.map +0 -1
  911. package/cli/dist/parsers/php-parser.d.ts +0 -127
  912. package/cli/dist/parsers/php-parser.d.ts.map +0 -1
  913. package/cli/dist/parsers/php-parser.js +0 -290
  914. package/cli/dist/parsers/php-parser.js.map +0 -1
  915. package/cli/dist/utils/help.d.ts +0 -13
  916. package/cli/dist/utils/help.d.ts.map +0 -1
  917. package/cli/dist/utils/help.js +0 -137
  918. package/cli/dist/utils/help.js.map +0 -1
  919. package/cli/dist/webview/inspection-webview-provider.d.ts +0 -49
  920. package/cli/dist/webview/inspection-webview-provider.d.ts.map +0 -1
  921. package/cli/dist/webview/inspection-webview-provider.js +0 -386
  922. package/cli/dist/webview/inspection-webview-provider.js.map +0 -1
@@ -1,965 +0,0 @@
1
- "use strict";
2
- /**
3
- * Context Builder
4
- *
5
- * Implements context repetition for each shot: maintain scene-level context
6
- * (set, lighting, time), track character states (position, appearance, emotion),
7
- * build complete set and character descriptions per shot.
8
- *
9
- * Task: bd-shot-list-3.3
10
- * Requirement 10: Rich Character Descriptions (Character Bible)
11
- * Requirement 11: Rich Set Descriptions (Set Bible)
12
- */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.ContextBuilder = void 0;
15
- const ai_entity_extractor_1 = require("./ai-entity-extractor");
16
- /**
17
- * Context Builder class
18
- * Requirement 9: Track character blocking continuity across shots
19
- * Requirement 10: Maintain Character Bible for consistent descriptions
20
- * Requirement 11: Maintain Set Bible for consistent descriptions
21
- */
22
- class ContextBuilder {
23
- constructor(config) {
24
- this.characterBlockingHistory = new Map();
25
- this.characterBible = new Map(); // Requirement 10
26
- this.setBible = new Map(); // Requirement 11
27
- this.styleGuidelines = null;
28
- this.config = config;
29
- this.styleGuidelines = config.styleGuidelines || null;
30
- this.aiExtractor = new ai_entity_extractor_1.AIEntityExtractor();
31
- }
32
- /**
33
- * Normalize character name for fuzzy matching
34
- * Handles variations like "THE CAPTAIN" vs "CAPTAIN", "A WIZARD" vs "WIZARD"
35
- *
36
- * Rules:
37
- * - Remove leading articles: THE, A, AN
38
- * - Trim whitespace
39
- * - Convert to uppercase for consistent comparison
40
- *
41
- * Examples:
42
- * - "THE CAPTAIN" -> "CAPTAIN"
43
- * - "A WIZARD" -> "WIZARD"
44
- * - "AN OFFICER" -> "OFFICER"
45
- * - "CAPTAIN" -> "CAPTAIN"
46
- */
47
- normalizeCharacterName(name) {
48
- return name
49
- .trim()
50
- .toUpperCase()
51
- .replace(/^(THE|A|AN)\s+/, ''); // Remove leading articles
52
- }
53
- /**
54
- * Find character in Bible using fuzzy matching
55
- * Tries exact match first, then normalized match, then partial match
56
- *
57
- * @param characterName - The character name to search for
58
- * @returns The Bible entry if found, null otherwise
59
- */
60
- findCharacterInBible(characterName) {
61
- // Try exact match first
62
- let bibleEntry = this.characterBible.get(characterName);
63
- if (bibleEntry)
64
- return bibleEntry;
65
- // Try normalized match
66
- const normalizedName = this.normalizeCharacterName(characterName);
67
- for (const [bibleKey, bibleValue] of this.characterBible.entries()) {
68
- if (this.normalizeCharacterName(bibleKey) === normalizedName) {
69
- return bibleValue;
70
- }
71
- }
72
- // Try partial match (e.g., "CLIF" matches "WIZARD CLIF HIGH")
73
- for (const [bibleKey, bibleValue] of this.characterBible.entries()) {
74
- if (bibleKey.includes(characterName) || characterName.includes(bibleKey)) {
75
- return bibleValue;
76
- }
77
- }
78
- return null;
79
- }
80
- /**
81
- * Get or create character in Bible using fuzzy matching
82
- * Returns the canonical name (the one stored in the Bible)
83
- *
84
- * @param characterName - The character name to search for
85
- * @returns Object with bibleEntry and canonicalName
86
- */
87
- getOrCreateCharacterInBible(characterName) {
88
- // Try to find existing entry
89
- const existingEntry = this.findCharacterInBible(characterName);
90
- if (existingEntry) {
91
- return { bibleEntry: existingEntry, canonicalName: existingEntry.name };
92
- }
93
- // Create new entry
94
- const newEntry = {
95
- name: characterName,
96
- wardrobe: '',
97
- physicalAppearance: '',
98
- props: [],
99
- lastSeenPosition: 'in scene',
100
- lastSeenEmotion: undefined
101
- };
102
- this.characterBible.set(characterName, newEntry);
103
- return { bibleEntry: newEntry, canonicalName: characterName };
104
- }
105
- /**
106
- * Reset all state (Character Bible, Set Bible, blocking history)
107
- * Call this at the start of each new screenplay generation to prevent contamination
108
- */
109
- reset() {
110
- this.characterBlockingHistory.clear();
111
- this.characterBible.clear();
112
- this.setBible.clear();
113
- console.log('ContextBuilder state reset - all Bibles and history cleared');
114
- }
115
- /**
116
- * Build scene-level context from scene heading and elements
117
- * Requirement 11: Use Set Bible to maintain rich, consistent set descriptions
118
- * PRIORITY: Extract actual description text from screenplay action lines
119
- */
120
- buildSceneContext(scene) {
121
- const location = scene.heading.location;
122
- // Extract the actual set description from the first action line(s)
123
- const actualDescription = this.extractActualSetDescription(scene);
124
- // Check if we have this set in the Set Bible
125
- let setBibleEntry = this.setBible.get(location);
126
- if (!setBibleEntry) {
127
- // Create new Set Bible entry with actual description from screenplay
128
- setBibleEntry = {
129
- location,
130
- environment: actualDescription || this.extractEnvironment(scene),
131
- lighting: this.extractRichLighting(scene),
132
- atmosphere: this.extractAtmosphere(scene) || 'neutral',
133
- weather: this.config.includeWeather ? this.extractWeather(scene) : undefined,
134
- timeOfDay: scene.heading.timeOfDay,
135
- setDressing: this.extractSetDressing(scene)
136
- };
137
- this.setBible.set(location, setBibleEntry);
138
- }
139
- else {
140
- // Update Set Bible entry if new information is available
141
- if (actualDescription && actualDescription.length > setBibleEntry.environment.length) {
142
- setBibleEntry.environment = actualDescription;
143
- }
144
- const newLighting = this.extractRichLighting(scene);
145
- if (newLighting && newLighting !== 'natural') {
146
- setBibleEntry.lighting = newLighting;
147
- }
148
- const newAtmosphere = this.extractAtmosphere(scene);
149
- if (newAtmosphere) {
150
- setBibleEntry.atmosphere = newAtmosphere;
151
- }
152
- const newWeather = this.extractWeather(scene);
153
- if (newWeather) {
154
- setBibleEntry.weather = newWeather;
155
- }
156
- setBibleEntry.timeOfDay = scene.heading.timeOfDay;
157
- const newSetDressing = this.extractSetDressing(scene);
158
- if (newSetDressing.length > 0) {
159
- setBibleEntry.setDressing = [...new Set([...setBibleEntry.setDressing, ...newSetDressing])];
160
- }
161
- }
162
- // Build rich context from Set Bible
163
- const context = {
164
- set: `${scene.heading.intExt}. ${location} - ${scene.heading.timeOfDay}`,
165
- description: setBibleEntry.environment,
166
- lighting: setBibleEntry.lighting,
167
- timeOfDay: scene.heading.timeOfDay,
168
- atmosphere: setBibleEntry.atmosphere,
169
- weather: setBibleEntry.weather
170
- };
171
- return context;
172
- }
173
- /**
174
- * Build character states from scene elements
175
- * Requirement 9: Maintain character blocking continuity across shots
176
- * Requirement 10: Use Character Bible to maintain rich, consistent character descriptions
177
- * PRIORITY: Use AI-powered fuzzy logic to extract characters following MPAA/AMPAS standards
178
- */
179
- async buildCharacterStates(elements, sceneContext) {
180
- const characterMap = new Map();
181
- // FIRST PASS: Use AI to extract characters from scene text
182
- const characterNames = await this.extractCharactersWithAI(elements, sceneContext);
183
- // ALSO check Character Bible for mixed-case character name references
184
- // Example: "Clif pauses" should match "CLIF" or "WIZARD CLIF HIGH" from Bible
185
- // This handles cases where a character was introduced in a previous segment
186
- for (const element of elements) {
187
- if (element.type === 'action') {
188
- const actionElement = element;
189
- for (const [bibleName, bibleEntry] of this.characterBible.entries()) {
190
- const nameParts = bibleName.split(/\s+/);
191
- for (const part of nameParts) {
192
- if (part.length > 2) {
193
- const regex = new RegExp(`\\b${part}\\b`, 'i'); // Case-insensitive match
194
- if (regex.test(actionElement.text)) {
195
- // Found a reference to this character - add the full Bible name
196
- if (!characterNames.includes(bibleName)) {
197
- characterNames.push(bibleName);
198
- }
199
- break;
200
- }
201
- }
202
- }
203
- }
204
- }
205
- }
206
- // SECOND PASS: Process action lines to extract character introductions for known characters
207
- for (const element of elements) {
208
- if (element.type === 'action') {
209
- const actionElement = element;
210
- // Extract character introductions from action lines using known character names
211
- this.extractCharacterIntroductionsFromAction(actionElement, characterNames);
212
- }
213
- }
214
- // THIRD PASS: Build character states from dialogue and action
215
- for (const element of elements) {
216
- if (element.type === 'dialogue') {
217
- const dialogueElement = element;
218
- const characterName = dialogueElement.dialogue.character.name;
219
- // Use fuzzy matching to find or create character in Bible
220
- let { bibleEntry, canonicalName } = this.getOrCreateCharacterInBible(characterName);
221
- if (!characterMap.has(canonicalName)) {
222
- const previousState = this.characterBlockingHistory.get(characterName);
223
- // If we found an existing entry but it's under a different name, update from previous state
224
- if (canonicalName !== characterName && previousState) {
225
- if (previousState.wardrobe)
226
- bibleEntry.wardrobe = previousState.wardrobe;
227
- if (previousState.physicalAppearance)
228
- bibleEntry.physicalAppearance = previousState.physicalAppearance;
229
- if (previousState.position)
230
- bibleEntry.lastSeenPosition = previousState.position;
231
- if (previousState.emotion)
232
- bibleEntry.lastSeenEmotion = previousState.emotion;
233
- }
234
- // If this is a new entry and we have previous state, populate from it
235
- if (!bibleEntry.wardrobe && !bibleEntry.physicalAppearance && previousState) {
236
- bibleEntry.wardrobe = previousState.wardrobe || '';
237
- bibleEntry.physicalAppearance = previousState.physicalAppearance || '';
238
- bibleEntry.lastSeenPosition = previousState.position || 'in scene';
239
- bibleEntry.lastSeenEmotion = previousState.emotion;
240
- }
241
- // Check if character is V.O. (voice over) - they're not visible
242
- const isVoiceOver = dialogueElement.dialogue.character.extension?.includes('V.O.');
243
- const position = isVoiceOver ? 'not visible' : bibleEntry.lastSeenPosition;
244
- // Build rich character state from Bible (use canonical name for consistency)
245
- characterMap.set(canonicalName, {
246
- name: canonicalName,
247
- position: position,
248
- appearance: `${bibleEntry.physicalAppearance}${bibleEntry.props.length > 0 ? ', carrying ' + bibleEntry.props.join(', ') : ''}`,
249
- wardrobe: bibleEntry.wardrobe,
250
- physicalAppearance: bibleEntry.physicalAppearance,
251
- emotion: this.config.trackCharacterEmotions ? this.extractEmotion(dialogueElement) : bibleEntry.lastSeenEmotion,
252
- action: undefined
253
- });
254
- }
255
- else {
256
- // Update position if V.O. (voice over)
257
- const isVoiceOver = dialogueElement.dialogue.character.extension?.includes('V.O.');
258
- if (isVoiceOver) {
259
- characterMap.get(canonicalName).position = 'not visible';
260
- }
261
- // Update emotion if tracking
262
- if (this.config.trackCharacterEmotions) {
263
- const emotion = this.extractEmotion(dialogueElement);
264
- if (emotion) {
265
- characterMap.get(canonicalName).emotion = emotion;
266
- // Update Bible (already have bibleEntry from above)
267
- bibleEntry.lastSeenEmotion = emotion;
268
- }
269
- }
270
- }
271
- }
272
- else if (element.type === 'action') {
273
- const actionElement = element;
274
- this.updateCharacterStatesFromAction(actionElement, characterMap);
275
- }
276
- }
277
- // FOURTH PASS: Process any character names found in action lines that weren't in dialogue
278
- // This handles cases like "Clif pauses" where the character is referenced but doesn't speak
279
- for (const characterName of characterNames) {
280
- // Use fuzzy matching to find or create character in Bible
281
- let { bibleEntry, canonicalName } = this.getOrCreateCharacterInBible(characterName);
282
- if (!characterMap.has(canonicalName)) {
283
- const previousState = this.characterBlockingHistory.get(characterName);
284
- // If we found an existing entry but it's under a different name, update from previous state
285
- if (canonicalName !== characterName && previousState) {
286
- if (previousState.wardrobe)
287
- bibleEntry.wardrobe = previousState.wardrobe;
288
- if (previousState.physicalAppearance)
289
- bibleEntry.physicalAppearance = previousState.physicalAppearance;
290
- if (previousState.position)
291
- bibleEntry.lastSeenPosition = previousState.position;
292
- if (previousState.emotion)
293
- bibleEntry.lastSeenEmotion = previousState.emotion;
294
- }
295
- // If this is a new entry and we have previous state, populate from it
296
- if (!bibleEntry.wardrobe && !bibleEntry.physicalAppearance && previousState) {
297
- bibleEntry.wardrobe = previousState.wardrobe || '';
298
- bibleEntry.physicalAppearance = previousState.physicalAppearance || '';
299
- bibleEntry.lastSeenPosition = previousState.position || 'in scene';
300
- bibleEntry.lastSeenEmotion = previousState.emotion;
301
- }
302
- // Build character state from Bible (use canonical name for consistency)
303
- characterMap.set(canonicalName, {
304
- name: canonicalName,
305
- position: bibleEntry.lastSeenPosition,
306
- appearance: `${bibleEntry.physicalAppearance}${bibleEntry.props.length > 0 ? ', carrying ' + bibleEntry.props.join(', ') : ''}`,
307
- wardrobe: bibleEntry.wardrobe,
308
- physicalAppearance: bibleEntry.physicalAppearance,
309
- emotion: bibleEntry.lastSeenEmotion,
310
- action: undefined
311
- });
312
- }
313
- }
314
- // Update blocking history and Character Bible for continuity
315
- for (const [name, state] of characterMap.entries()) {
316
- this.characterBlockingHistory.set(name, { ...state });
317
- // Update Character Bible with latest information (using fuzzy matching)
318
- const bibleEntry = this.findCharacterInBible(name);
319
- if (bibleEntry) {
320
- // Normalize position: "enters scene" becomes "in scene" after first appearance
321
- let normalizedPosition = state.position;
322
- if (normalizedPosition === 'enters scene') {
323
- normalizedPosition = 'in scene';
324
- }
325
- if (state.position)
326
- bibleEntry.lastSeenPosition = normalizedPosition;
327
- if (state.wardrobe)
328
- bibleEntry.wardrobe = state.wardrobe;
329
- if (state.physicalAppearance)
330
- bibleEntry.physicalAppearance = state.physicalAppearance;
331
- if (state.emotion)
332
- bibleEntry.lastSeenEmotion = state.emotion;
333
- }
334
- }
335
- return Array.from(characterMap.values());
336
- }
337
- /**
338
- * Extract environment description from scene
339
- * Requirement 11: Rich Set Descriptions
340
- */
341
- /**
342
- * Extract actual set description from the first action line(s) of the scene
343
- * PRIORITY: Use the actual screenplay text, not generic templates
344
- */
345
- extractActualSetDescription(scene) {
346
- // Get the first few action lines (usually contain set description)
347
- const actionLines = [];
348
- for (const element of scene.elements) {
349
- if (element.type === 'action') {
350
- actionLines.push(element.text);
351
- // Stop after collecting enough description (usually first 1-3 action blocks)
352
- if (actionLines.length >= 3)
353
- break;
354
- }
355
- // Stop if we hit dialogue (description usually comes before dialogue)
356
- if (element.type === 'dialogue')
357
- break;
358
- }
359
- // Join the action lines to form the complete set description
360
- const description = actionLines.join(' ').trim();
361
- // Only return if we have substantial description (not just character actions)
362
- if (description.length > 50) {
363
- return description;
364
- }
365
- return '';
366
- }
367
- extractEnvironment(scene) {
368
- const intExt = scene.heading.intExt;
369
- const location = scene.heading.location.toLowerCase();
370
- // Determine environment type
371
- if (intExt === 'INT') {
372
- if (location.includes('office') || location.includes('workplace')) {
373
- return 'Professional interior space';
374
- }
375
- else if (location.includes('home') || location.includes('house') || location.includes('apartment')) {
376
- return 'Residential interior';
377
- }
378
- else if (location.includes('restaurant') || location.includes('cafe') || location.includes('bar')) {
379
- return 'Commercial dining space';
380
- }
381
- else if (location.includes('store') || location.includes('shop')) {
382
- return 'Retail interior';
383
- }
384
- else {
385
- return 'Interior space';
386
- }
387
- }
388
- else {
389
- if (location.includes('street') || location.includes('sidewalk')) {
390
- return 'Urban exterior';
391
- }
392
- else if (location.includes('park') || location.includes('forest') || location.includes('field')) {
393
- return 'Natural outdoor setting';
394
- }
395
- else if (location.includes('parking') || location.includes('lot')) {
396
- return 'Paved exterior area';
397
- }
398
- else {
399
- return 'Exterior location';
400
- }
401
- }
402
- }
403
- /**
404
- * Extract rich lighting description from scene elements
405
- * Requirement 11: Rich Set Descriptions (lighting type, quality, direction, color temp)
406
- */
407
- extractRichLighting(scene) {
408
- const timeOfDay = scene.heading.timeOfDay.toLowerCase();
409
- const intExt = scene.heading.intExt;
410
- // Build rich lighting description
411
- let lightingType = '';
412
- let lightingQuality = '';
413
- let lightingDirection = '';
414
- let colorTemp = '';
415
- // Determine lighting type and color temperature based on time of day
416
- if (timeOfDay.includes('night')) {
417
- lightingType = intExt === 'INT' ? 'artificial overhead lighting' : 'moonlight and street lamps';
418
- colorTemp = intExt === 'INT' ? 'warm tungsten (3200K)' : 'cool blue (5500K)';
419
- lightingQuality = 'low-key, high contrast';
420
- }
421
- else if (timeOfDay.includes('day')) {
422
- lightingType = intExt === 'INT' ? 'natural window light' : 'direct sunlight';
423
- colorTemp = 'daylight balanced (5600K)';
424
- lightingQuality = 'bright, even illumination';
425
- lightingDirection = intExt === 'INT' ? 'from windows' : 'overhead sun';
426
- }
427
- else if (timeOfDay.includes('dawn') || timeOfDay.includes('dusk')) {
428
- lightingType = 'golden hour natural light';
429
- colorTemp = 'warm amber (3000K)';
430
- lightingQuality = 'soft, diffused';
431
- lightingDirection = 'low angle';
432
- }
433
- else if (timeOfDay.includes('evening')) {
434
- lightingType = intExt === 'INT' ? 'mixed natural and artificial' : 'twilight ambient';
435
- colorTemp = 'cool to warm transition (4500K)';
436
- lightingQuality = 'moderate, transitional';
437
- }
438
- else {
439
- lightingType = 'natural ambient';
440
- colorTemp = 'neutral (5000K)';
441
- lightingQuality = 'balanced';
442
- }
443
- // Check action lines for specific lighting details
444
- for (const element of scene.elements) {
445
- if (element.type === 'action') {
446
- const text = element.text.toLowerCase();
447
- if (text.includes('dark') || text.includes('shadows')) {
448
- lightingQuality = 'low-key, dramatic shadows';
449
- }
450
- else if (text.includes('bright') || text.includes('sunlight')) {
451
- lightingQuality = 'high-key, bright';
452
- }
453
- else if (text.includes('fluorescent')) {
454
- lightingType = 'fluorescent overhead';
455
- colorTemp = 'cool white (4000K)';
456
- }
457
- else if (text.includes('candle') || text.includes('firelight')) {
458
- lightingType = 'warm practical sources';
459
- colorTemp = 'very warm (2000K)';
460
- }
461
- }
462
- }
463
- // Combine into rich description
464
- return `${lightingType}, ${lightingQuality}${lightingDirection ? ', ' + lightingDirection : ''}, ${colorTemp}`;
465
- }
466
- /**
467
- * Extract set dressing elements from scene
468
- * Requirement 11: Rich Set Descriptions
469
- */
470
- extractSetDressing(scene) {
471
- const dressing = [];
472
- const dressingKeywords = [
473
- 'table', 'chair', 'desk', 'lamp', 'picture', 'painting', 'plant',
474
- 'couch', 'sofa', 'bed', 'curtain', 'window', 'door', 'shelf',
475
- 'book', 'computer', 'phone', 'clock', 'mirror', 'rug', 'carpet'
476
- ];
477
- for (const element of scene.elements) {
478
- if (element.type === 'action') {
479
- const text = element.text.toLowerCase();
480
- for (const keyword of dressingKeywords) {
481
- if (text.includes(keyword) && !dressing.includes(keyword)) {
482
- dressing.push(keyword);
483
- }
484
- }
485
- }
486
- }
487
- return dressing;
488
- }
489
- /**
490
- * Extract lighting from scene elements (legacy method, kept for compatibility)
491
- */
492
- extractLighting(scene) {
493
- return this.extractRichLighting(scene);
494
- }
495
- /**
496
- * Extract atmosphere from scene elements
497
- */
498
- extractAtmosphere(scene) {
499
- const keywords = {
500
- tense: ['tense', 'nervous', 'anxious', 'worried'],
501
- calm: ['calm', 'peaceful', 'serene', 'quiet'],
502
- chaotic: ['chaotic', 'frantic', 'hectic', 'busy'],
503
- romantic: ['romantic', 'intimate', 'tender', 'loving'],
504
- ominous: ['ominous', 'threatening', 'dark', 'foreboding']
505
- };
506
- for (const element of scene.elements) {
507
- const text = element.text.toLowerCase();
508
- for (const [atmosphere, words] of Object.entries(keywords)) {
509
- if (words.some(word => text.includes(word))) {
510
- return atmosphere;
511
- }
512
- }
513
- }
514
- return undefined;
515
- }
516
- /**
517
- * Check if the scene is set in space (spaceship, space station, etc.)
518
- * where weather doesn't make sense
519
- */
520
- isSpaceSetting(scene) {
521
- const location = scene.heading.location.toLowerCase();
522
- const intExt = scene.heading.intExt.toLowerCase();
523
- // Check for space-related keywords in location
524
- const spaceKeywords = [
525
- 'enterprise', 'starship', 'spaceship', 'space station',
526
- 'bridge', 'engineering', 'sickbay', 'transporter room',
527
- 'cargo bay', 'shuttle bay', 'ready room', 'observation lounge',
528
- 'holodeck', 'jefferies tube', 'turbolift',
529
- 'death star', 'millennium falcon', 'star destroyer',
530
- 'serenity', 'galactica', 'voyager', 'defiant', 'discovery'
531
- ];
532
- // If it's an interior space setting, no weather
533
- if (intExt === 'int' && spaceKeywords.some(keyword => location.includes(keyword))) {
534
- return true;
535
- }
536
- // Check for explicit "space" in location
537
- if (location.includes('space') || location.includes('orbit')) {
538
- return true;
539
- }
540
- return false;
541
- }
542
- /**
543
- * Extract weather from scene elements
544
- * Style-aware: respects franchise settings (no weather on spaceships!)
545
- */
546
- extractWeather(scene) {
547
- // Check if this is a space setting where weather doesn't make sense
548
- if (this.isSpaceSetting(scene)) {
549
- return undefined;
550
- }
551
- const weatherKeywords = ['rain', 'snow', 'fog', 'storm', 'sunny', 'cloudy', 'wind'];
552
- for (const element of scene.elements) {
553
- const text = element.text.toLowerCase();
554
- for (const keyword of weatherKeywords) {
555
- if (text.includes(keyword)) {
556
- return keyword;
557
- }
558
- }
559
- }
560
- return undefined;
561
- }
562
- /**
563
- * Extract emotion from dialogue element
564
- * Handles both parenthetical and character extension (V.O., O.S., etc.)
565
- */
566
- extractEmotion(dialogueElement) {
567
- const parts = [];
568
- // Check character extension (V.O., O.S., etc.)
569
- let hasVoiceOver = false;
570
- let hasOffScreen = false;
571
- if (dialogueElement.dialogue.character.extension) {
572
- const ext = dialogueElement.dialogue.character.extension.replace(/[()]/g, '').trim();
573
- if (ext === 'V.O.') {
574
- parts.push('voice over');
575
- hasVoiceOver = true;
576
- }
577
- else if (ext === 'O.S.') {
578
- parts.push('off screen');
579
- hasOffScreen = true;
580
- }
581
- else {
582
- parts.push(ext.toLowerCase());
583
- }
584
- }
585
- // Check parenthetical for additional context (e.g., "over intercom")
586
- if (dialogueElement.dialogue.parenthetical) {
587
- let paren = dialogueElement.dialogue.parenthetical.replace(/[()]/g, '').trim();
588
- // Skip if it's redundant with the extension
589
- if (paren.toLowerCase().includes('v.o.') || paren.toLowerCase().includes('o.s.')) {
590
- return parts.length > 0 ? parts.join(' ') : undefined;
591
- }
592
- // If we have voice over and parenthetical starts with "over", merge them
593
- // "voice over" + "over intercom" -> "voice over intercom"
594
- if (hasVoiceOver && paren.toLowerCase().startsWith('over ')) {
595
- paren = paren.substring(5); // Remove "over " prefix
596
- }
597
- parts.push(paren);
598
- }
599
- return parts.length > 0 ? parts.join(' ') : undefined;
600
- }
601
- /**
602
- * Extract ALL character introductions from an action line
603
- * Scans for pattern: "CHARACTER NAME (description details)"
604
- * Updates Character Bible with extracted details
605
- * Uses known character names to match partial names (e.g., "WIZARD CLIF HIGH" -> "CLIF")
606
- */
607
- extractCharacterIntroductionsFromAction(actionElement, knownCharacterNames) {
608
- const text = actionElement.text;
609
- // Look for pattern: ALL CAPS NAME (details)
610
- // This regex finds character names in all caps followed by parenthetical descriptions
611
- const regex = /([A-Z][A-Z\s]+)\s*\(([^)]+)\)/g;
612
- let match;
613
- while ((match = regex.exec(text)) !== null) {
614
- const fullName = match[1].trim();
615
- const details = match[2].trim();
616
- // Skip if this looks like a parenthetical direction (e.g., "(V.O.)", "(O.S.)")
617
- if (details.length < 10 || details.match(/^(V\.O\.|O\.S\.|CONT'D)$/i)) {
618
- continue;
619
- }
620
- // Try to match the full name to a known character name
621
- // E.g., "WIZARD CLIF HIGH" should match "CLIF"
622
- let matchedName = null;
623
- for (const knownName of knownCharacterNames) {
624
- if (fullName.includes(knownName)) {
625
- matchedName = knownName;
626
- break;
627
- }
628
- }
629
- // If no match found, skip this entry (it's probably not a character introduction)
630
- if (!matchedName) {
631
- continue;
632
- }
633
- // Split details by commas
634
- const parts = details.split(',').map(p => p.trim());
635
- // Try to separate physical appearance from wardrobe
636
- const wardrobeKeywords = ['wearing', 'dressed', 'uniform', 'robe', 'suit', 'dress', 'shirt', 'jacket', 'coat', 'hat', 'holster'];
637
- const physicalParts = [];
638
- const wardrobeParts = [];
639
- for (const part of parts) {
640
- const lowerPart = part.toLowerCase();
641
- if (wardrobeKeywords.some(kw => lowerPart.includes(kw))) {
642
- wardrobeParts.push(part);
643
- }
644
- else {
645
- physicalParts.push(part);
646
- }
647
- }
648
- // Detect if this is an entrance or exit
649
- const lowerText = text.toLowerCase();
650
- let position = 'in scene';
651
- if (lowerText.includes('enters') || lowerText.includes('enter')) {
652
- position = 'enters scene';
653
- }
654
- else if (lowerText.includes('exits') || lowerText.includes('exit')) {
655
- position = 'exits scene';
656
- }
657
- // Enrich wardrobe with specific colors based on cinematic style
658
- const enrichedWardrobe = this.enrichWardrobeWithColors(wardrobeParts.join(', '), matchedName, text);
659
- // Update or create Character Bible entry using the matched name (with fuzzy matching)
660
- let { bibleEntry } = this.getOrCreateCharacterInBible(matchedName);
661
- // Update entry with extracted details
662
- if (physicalParts.length > 0 && !bibleEntry.physicalAppearance) {
663
- bibleEntry.physicalAppearance = physicalParts.join(', ');
664
- }
665
- if (wardrobeParts.length > 0 && !bibleEntry.wardrobe) {
666
- bibleEntry.wardrobe = enrichedWardrobe;
667
- }
668
- // Update position if this is an entrance/exit
669
- if (position !== 'in scene') {
670
- bibleEntry.lastSeenPosition = position;
671
- }
672
- }
673
- }
674
- /**
675
- * Extract character introduction from action line for a specific character
676
- * Handles format: "CHARACTER NAME (description details)"
677
- */
678
- extractCharacterIntroduction(text, characterName) {
679
- // Look for pattern: CHARACTER NAME (details)
680
- const regex = new RegExp(`${characterName}\\s*\\(([^)]+)\\)`, 'i');
681
- const match = text.match(regex);
682
- if (match && match[1]) {
683
- const details = match[1].trim();
684
- // Split details by commas
685
- const parts = details.split(',').map(p => p.trim());
686
- // Try to separate physical appearance from wardrobe
687
- const wardrobeKeywords = ['wearing', 'dressed', 'uniform', 'robe', 'suit', 'dress', 'shirt', 'jacket', 'coat', 'hat'];
688
- const physicalParts = [];
689
- const wardrobeParts = [];
690
- for (const part of parts) {
691
- const lowerPart = part.toLowerCase();
692
- if (wardrobeKeywords.some(kw => lowerPart.includes(kw))) {
693
- wardrobeParts.push(part);
694
- }
695
- else {
696
- physicalParts.push(part);
697
- }
698
- }
699
- return {
700
- physicalAppearance: physicalParts.length > 0 ? physicalParts.join(', ') : undefined,
701
- wardrobe: wardrobeParts.length > 0 ? wardrobeParts.join(', ') : undefined
702
- };
703
- }
704
- return null;
705
- }
706
- /**
707
- * Update character states from action line
708
- * Requirement 9: Extract blocking, wardrobe, and physical appearance details
709
- * Requirement 10: Extract props and accessories for Character Bible
710
- * PRIORITY: Extract actual character descriptions from screenplay
711
- */
712
- updateCharacterStatesFromAction(actionElement, characterMap) {
713
- const text = actionElement.text;
714
- // First, check for character introductions in the action line
715
- for (const [name, state] of characterMap.entries()) {
716
- const intro = this.extractCharacterIntroduction(text, name);
717
- if (intro) {
718
- if (intro.physicalAppearance) {
719
- state.physicalAppearance = intro.physicalAppearance;
720
- const bibleEntry = this.findCharacterInBible(name);
721
- if (bibleEntry) {
722
- bibleEntry.physicalAppearance = intro.physicalAppearance;
723
- }
724
- }
725
- if (intro.wardrobe) {
726
- state.wardrobe = intro.wardrobe;
727
- const bibleEntry = this.findCharacterInBible(name);
728
- if (bibleEntry) {
729
- bibleEntry.wardrobe = intro.wardrobe;
730
- }
731
- }
732
- }
733
- }
734
- for (const [name, state] of characterMap.entries()) {
735
- // Check for character name (case-insensitive, and check for partial matches)
736
- // Example: "CLIF" should match "Clif" or "WIZARD CLIF HIGH" should match "Clif"
737
- const nameParts = name.split(/\s+/);
738
- const textLower = text.toLowerCase();
739
- const nameMatches = nameParts.some(part => part.length > 2 && textLower.includes(part.toLowerCase()));
740
- if (nameMatches || text.includes(name)) {
741
- state.action = text;
742
- console.log(`[DEBUG] Assigning action to ${name}: "${text.substring(0, 100)}..."`);
743
- // Extract position/blocking keywords
744
- const positionKeywords = [
745
- 'stands', 'sits', 'walks', 'enters', 'exits', 'moves',
746
- 'left', 'right', 'center', 'foreground', 'background',
747
- 'door', 'window', 'table', 'chair', 'corner'
748
- ];
749
- for (const keyword of positionKeywords) {
750
- if (text.toLowerCase().includes(keyword)) {
751
- // Special handling for "enters" and "exits" - use simple position
752
- if (keyword === 'enters' && text.toLowerCase().includes('enters')) {
753
- state.position = 'enters scene';
754
- break;
755
- }
756
- else if (keyword === 'exits' && text.toLowerCase().includes('exits')) {
757
- state.position = 'exits scene';
758
- break;
759
- }
760
- // Extract sentence containing the keyword for position context
761
- const sentences = text.split(/[.!?]/);
762
- for (const sentence of sentences) {
763
- if (sentence.toLowerCase().includes(keyword) && sentence.includes(name)) {
764
- state.position = sentence.trim();
765
- break;
766
- }
767
- }
768
- break;
769
- }
770
- }
771
- // Extract wardrobe keywords (Requirement 10: Rich character descriptions)
772
- // Enhanced to capture multiple sentences for verbose descriptions
773
- const wardrobeKeywords = [
774
- 'wearing', 'dressed in', 'suit', 'dress', 'shirt', 'jacket',
775
- 'coat', 'hat', 'uniform', 'costume', 'clothes', 'tie', 'shoes',
776
- 'jeans', 'pants', 'skirt', 'blouse', 'sweater', 'hoodie', 'robe',
777
- 'cloak', 'vest', 'boots', 'gloves', 'scarf', 'belt'
778
- ];
779
- for (const keyword of wardrobeKeywords) {
780
- if (text.toLowerCase().includes(keyword)) {
781
- const sentences = text.split(/[.!?]/).filter(s => s.trim().length > 0);
782
- const relevantSentences = [];
783
- // Collect all sentences mentioning the character and wardrobe
784
- for (const sentence of sentences) {
785
- if (sentence.toLowerCase().includes(keyword) && sentence.includes(name)) {
786
- relevantSentences.push(sentence.trim());
787
- }
788
- }
789
- if (relevantSentences.length > 0) {
790
- // Join multiple sentences for verbose description
791
- state.wardrobe = relevantSentences.join('. ');
792
- // Update Character Bible
793
- const bibleEntry = this.findCharacterInBible(name);
794
- if (bibleEntry) {
795
- bibleEntry.wardrobe = relevantSentences.join('. ');
796
- }
797
- break;
798
- }
799
- }
800
- }
801
- // Extract physical appearance keywords (Requirement 10: Rich character descriptions)
802
- // Enhanced to capture multiple sentences for verbose descriptions
803
- const appearanceKeywords = [
804
- 'tall', 'short', 'thin', 'heavy', 'muscular', 'slender',
805
- 'hair', 'eyes', 'beard', 'glasses', 'scar', 'tattoo',
806
- 'young', 'old', 'middle-aged', 'athletic', 'stocky', 'petite',
807
- 'wrinkled', 'smooth', 'pale', 'tanned', 'freckled', 'bald',
808
- 'gray', 'blonde', 'brunette', 'redhead', 'blue eyes', 'brown eyes',
809
- 'green eyes', 'hazel eyes', 'clean-shaven', 'mustache', 'goatee'
810
- ];
811
- for (const keyword of appearanceKeywords) {
812
- if (text.toLowerCase().includes(keyword)) {
813
- const sentences = text.split(/[.!?]/).filter(s => s.trim().length > 0);
814
- const relevantSentences = [];
815
- // Collect all sentences mentioning the character and appearance
816
- for (const sentence of sentences) {
817
- if (sentence.toLowerCase().includes(keyword) && sentence.includes(name)) {
818
- relevantSentences.push(sentence.trim());
819
- }
820
- }
821
- if (relevantSentences.length > 0) {
822
- // Join multiple sentences for verbose description
823
- state.physicalAppearance = relevantSentences.join('. ');
824
- // Update Character Bible
825
- const bibleEntry = this.findCharacterInBible(name);
826
- if (bibleEntry) {
827
- bibleEntry.physicalAppearance = relevantSentences.join('. ');
828
- }
829
- break;
830
- }
831
- }
832
- }
833
- // Extract props/accessories (Requirement 10: Rich character descriptions)
834
- const propKeywords = [
835
- 'holding', 'carrying', 'grabs', 'picks up', 'puts down',
836
- 'briefcase', 'bag', 'purse', 'phone', 'keys', 'wallet',
837
- 'gun', 'knife', 'weapon', 'book', 'paper', 'document',
838
- 'coffee', 'drink', 'food', 'cigarette', 'lighter'
839
- ];
840
- for (const keyword of propKeywords) {
841
- if (text.toLowerCase().includes(keyword)) {
842
- const sentences = text.split(/[.!?]/);
843
- for (const sentence of sentences) {
844
- if (sentence.toLowerCase().includes(keyword) && sentence.includes(name)) {
845
- // Update Character Bible with prop
846
- const bibleEntry = this.findCharacterInBible(name);
847
- if (bibleEntry) {
848
- const prop = sentence.trim();
849
- if (!bibleEntry.props.includes(prop)) {
850
- bibleEntry.props.push(prop);
851
- }
852
- }
853
- break;
854
- }
855
- }
856
- break;
857
- }
858
- }
859
- }
860
- }
861
- }
862
- /**
863
- * Enrich wardrobe descriptions with specific colors based on cinematic style
864
- * Maintains visual continuity by adding particular details
865
- *
866
- * Star Trek uniform colors:
867
- * - Command: Gold/Yellow
868
- * - Science/Medical: Blue
869
- * - Engineering/Security: Red
870
- */
871
- enrichWardrobeWithColors(wardrobe, characterName, fullText) {
872
- if (!wardrobe || !this.styleGuidelines) {
873
- return wardrobe;
874
- }
875
- // Check if this is a Star Trek style
876
- const isStarTrek = this.styleGuidelines.appliedStyles.some(style => style.toLowerCase().includes('star trek'));
877
- if (!isStarTrek) {
878
- return wardrobe; // Only enrich for Star Trek for now
879
- }
880
- // If wardrobe already has color, don't override
881
- const hasColor = /\b(red|blue|gold|yellow|green|black|white|gray|grey|purple|orange|brown)\b/i.test(wardrobe);
882
- if (hasColor) {
883
- return wardrobe;
884
- }
885
- // Determine department from wardrobe or character context
886
- const lowerWardrobe = wardrobe.toLowerCase();
887
- const lowerText = fullText.toLowerCase();
888
- let color = '';
889
- // Engineering/Security = Red
890
- if (lowerWardrobe.includes('engineering') || lowerWardrobe.includes('security') ||
891
- lowerText.includes('engineer') || lowerText.includes('security')) {
892
- color = 'red';
893
- }
894
- // Science/Medical = Blue
895
- else if (lowerWardrobe.includes('science') || lowerWardrobe.includes('medical') ||
896
- lowerText.includes('science') || lowerText.includes('medical') || lowerText.includes('doctor')) {
897
- color = 'blue';
898
- }
899
- // Command = Gold
900
- else if (lowerWardrobe.includes('command') || lowerWardrobe.includes('captain') ||
901
- lowerText.includes('captain') || lowerText.includes('commander')) {
902
- color = 'gold';
903
- }
904
- // Default to red for generic Starfleet uniforms
905
- else if (lowerWardrobe.includes('starfleet') || lowerWardrobe.includes('uniform')) {
906
- color = 'red'; // Default to engineering red
907
- }
908
- // Add color to wardrobe description
909
- if (color) {
910
- // Insert color before "uniform" or "robe" if present
911
- if (lowerWardrobe.includes('uniform')) {
912
- return wardrobe.replace(/uniform/i, `${color} uniform`);
913
- }
914
- else if (lowerWardrobe.includes('robe')) {
915
- return wardrobe.replace(/robe/i, `${color} robe`);
916
- }
917
- else {
918
- // Prepend color
919
- return `${color} ${wardrobe}`;
920
- }
921
- }
922
- return wardrobe;
923
- }
924
- /**
925
- * Extract characters using AI-powered fuzzy logic
926
- * Follows MPAA and AMPAS Nicholl Fellowship screenplay standards
927
- */
928
- async extractCharactersWithAI(elements, sceneContext) {
929
- // Build scene text from all elements
930
- const sceneText = elements.map(el => {
931
- if (el.type === 'dialogue') {
932
- const dialogueEl = el;
933
- return `${dialogueEl.dialogue.character.name}\n${dialogueEl.dialogue.speech}`;
934
- }
935
- else if (el.type === 'action') {
936
- const actionEl = el;
937
- return actionEl.text;
938
- }
939
- return '';
940
- }).join('\n\n');
941
- // Use AI extractor
942
- const result = await this.aiExtractor.extractEntities(sceneText, sceneContext.set);
943
- // Combine AI-extracted characters with dialogue characters
944
- const characterNames = [];
945
- // Add dialogue characters (always include these)
946
- for (const element of elements) {
947
- if (element.type === 'dialogue') {
948
- const dialogueElement = element;
949
- const characterName = dialogueElement.dialogue.character.name;
950
- if (!characterNames.includes(characterName)) {
951
- characterNames.push(characterName);
952
- }
953
- }
954
- }
955
- // Add AI-extracted characters
956
- for (const character of result.characters) {
957
- if (!characterNames.includes(character)) {
958
- characterNames.push(character);
959
- }
960
- }
961
- return characterNames;
962
- }
963
- }
964
- exports.ContextBuilder = ContextBuilder;
965
- //# sourceMappingURL=context-builder.js.map