@mytechtoday/augment-extensions 1.5.2 → 1.6.1

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 (359) hide show
  1. package/AGENTS.md +76 -0
  2. package/README.md +26 -3
  3. package/augment-extensions/writing-standards/literature/shakespeare/ANNOUNCEMENT.md +176 -0
  4. package/augment-extensions/writing-standards/literature/shakespeare/CHARACTER-THEME-VALIDATION-REPORT.md +465 -0
  5. package/augment-extensions/writing-standards/literature/shakespeare/DRAMA-VALIDATION-REPORT.md +217 -0
  6. package/augment-extensions/writing-standards/literature/shakespeare/LANGUAGE-VALIDATION-REPORT.md +195 -0
  7. package/augment-extensions/writing-standards/literature/shakespeare/PHASE6-VALIDATION-REPORT.md +359 -0
  8. package/augment-extensions/writing-standards/literature/shakespeare/README.md +126 -0
  9. package/augment-extensions/writing-standards/literature/shakespeare/examples/annotated-sonnets/sonnet-130.md +225 -0
  10. package/augment-extensions/writing-standards/literature/shakespeare/examples/annotated-sonnets/sonnet-18.md +188 -0
  11. package/augment-extensions/writing-standards/literature/shakespeare/examples/annotated-sonnets/sonnet-73.md +215 -0
  12. package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/character-worksheet.md +407 -0
  13. package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/iambic-pentameter-practice.md +470 -0
  14. package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/sonnet-writing-exercise.md +360 -0
  15. package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/theme-analysis-template.md +527 -0
  16. package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/verse-analysis-exercise.md +426 -0
  17. package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/hamlet-to-be-or-not-to-be.md +316 -0
  18. package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/king-lear-storm-scene.md +576 -0
  19. package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/macbeth-tomorrow-and-tomorrow.md +448 -0
  20. package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/much-ado-benedick-eavesdropping.md +496 -0
  21. package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/romeo-juliet-balcony.md +287 -0
  22. package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/twelfth-night-malvolio-letter.md +653 -0
  23. package/augment-extensions/writing-standards/literature/shakespeare/module.json +72 -0
  24. package/augment-extensions/writing-standards/literature/shakespeare/rules/character-themes/character-development.md +608 -0
  25. package/augment-extensions/writing-standards/literature/shakespeare/rules/character-themes/thematic-elements.md +471 -0
  26. package/augment-extensions/writing-standards/literature/shakespeare/rules/drama/comedy.md +763 -0
  27. package/augment-extensions/writing-standards/literature/shakespeare/rules/drama/history-plays.md +507 -0
  28. package/augment-extensions/writing-standards/literature/shakespeare/rules/drama/scene-construction.md +870 -0
  29. package/augment-extensions/writing-standards/literature/shakespeare/rules/drama/tragedy.md +743 -0
  30. package/augment-extensions/writing-standards/literature/shakespeare/rules/language/elizabethan-english.md +400 -0
  31. package/augment-extensions/writing-standards/literature/shakespeare/rules/language/rhetoric-wordplay.md +602 -0
  32. package/augment-extensions/writing-standards/literature/shakespeare/rules/language/vocabulary-guide.md +662 -0
  33. package/augment-extensions/writing-standards/literature/shakespeare/rules/poetry/iambic-pentameter.md +447 -0
  34. package/augment-extensions/writing-standards/literature/shakespeare/rules/poetry/narrative-poetry.md +453 -0
  35. package/augment-extensions/writing-standards/literature/shakespeare/rules/poetry/sonnets.md +435 -0
  36. package/augment-extensions/writing-standards/literature/shakespeare/rules/poetry/verse-forms.md +565 -0
  37. package/augment-extensions/writing-standards/screenplay/README.md +62 -9
  38. package/augment-extensions/writing-standards/screenplay/cinematic-styles/MIGRATION.md +213 -0
  39. package/augment-extensions/writing-standards/screenplay/cinematic-styles/README.md +309 -0
  40. package/augment-extensions/writing-standards/screenplay/cinematic-styles/REFACTORING-SUMMARY.md +99 -0
  41. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/module.json +33 -0
  42. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/monty-python/module.json +50 -0
  43. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/monty-python/rules/monty-python.md +243 -0
  44. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/saturday-night-live/module.json +50 -0
  45. package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/saturday-night-live/rules/saturday-night-live.md +153 -0
  46. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/README.md +127 -0
  47. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/alfred-hitchcock/module.json +50 -0
  48. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/alfred-hitchcock/rules/alfred-hitchcock.md +168 -0
  49. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/ari-aster/module.json +50 -0
  50. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/ari-aster/rules/ari-aster.md +414 -0
  51. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brad-bird/module.json +50 -0
  52. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brad-bird/rules/brad-bird.md +362 -0
  53. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brian-de-palma/module.json +50 -0
  54. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brian-de-palma/rules/brian-de-palma.md +445 -0
  55. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/buster-keaton/module.json +50 -0
  56. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/buster-keaton/rules/buster-keaton.md +508 -0
  57. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/christopher-nolan/module.json +50 -0
  58. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/christopher-nolan/rules/christopher-nolan.md +147 -0
  59. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/clint-eastwood/module.json +50 -0
  60. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/clint-eastwood/rules/clint-eastwood.md +639 -0
  61. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/coen-brothers/module.json +50 -0
  62. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/coen-brothers/rules/coen-brothers.md +167 -0
  63. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/darren-aronofsky/module.json +50 -0
  64. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/darren-aronofsky/rules/darren-aronofsky.md +474 -0
  65. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-fincher/module.json +50 -0
  66. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-fincher/rules/david-fincher.md +203 -0
  67. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-lynch/module.json +50 -0
  68. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-lynch/rules/david-lynch.md +136 -0
  69. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/denis-villeneuve/module.json +50 -0
  70. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/denis-villeneuve/rules/denis-villeneuve.md +131 -0
  71. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/francis-ford-coppola/module.json +50 -0
  72. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/francis-ford-coppola/rules/francis-ford-coppola.md +190 -0
  73. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gary-marshall/module.json +50 -0
  74. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gary-marshall/rules/gary-marshall.md +181 -0
  75. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-a-romero/module.json +50 -0
  76. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-a-romero/rules/george-a-romero.md +391 -0
  77. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-lucas/module.json +50 -0
  78. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-lucas/rules/george-lucas.md +129 -0
  79. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/guillermo-del-toro/module.json +50 -0
  80. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/guillermo-del-toro/rules/guillermo-del-toro.md +350 -0
  81. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gus-van-sant/module.json +50 -0
  82. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gus-van-sant/rules/gus-van-sant.md +353 -0
  83. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/james-ivory-ismail-merchant/module.json +50 -0
  84. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/james-ivory-ismail-merchant/rules/james-ivory-ismail-merchant.md +164 -0
  85. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jim-jarmusch/module.json +50 -0
  86. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jim-jarmusch/rules/jim-jarmusch.md +426 -0
  87. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-carpenter/module.json +50 -0
  88. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-carpenter/rules/john-carpenter.md +450 -0
  89. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-ford/module.json +50 -0
  90. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-ford/rules/john-ford.md +429 -0
  91. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-huston/module.json +50 -0
  92. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-huston/rules/john-huston.md +357 -0
  93. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-landis/module.json +50 -0
  94. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-landis/rules/john-landis.md +483 -0
  95. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jonathan-demme/module.json +50 -0
  96. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jonathan-demme/rules/jonathan-demme.md +394 -0
  97. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/joseph-l-mankiewicz/module.json +50 -0
  98. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/joseph-l-mankiewicz/rules/joseph-l-mankiewicz.md +406 -0
  99. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kathryn-bigelow/module.json +50 -0
  100. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kathryn-bigelow/rules/kathryn-bigelow.md +443 -0
  101. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kelly-reichardt/module.json +50 -0
  102. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kelly-reichardt/rules/kelly-reichardt.md +365 -0
  103. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kevin-smith/module.json +50 -0
  104. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kevin-smith/rules/kevin-smith.md +546 -0
  105. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/linda-shayne/module.json +50 -0
  106. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/linda-shayne/rules/linda-shayne.md +341 -0
  107. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/martin-scorsese/module.json +50 -0
  108. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/martin-scorsese/rules/martin-scorsese.md +188 -0
  109. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mel-brooks/module.json +50 -0
  110. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mel-brooks/rules/mel-brooks.md +215 -0
  111. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-curtiz/module.json +50 -0
  112. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-curtiz/rules/michael-curtiz.md +429 -0
  113. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-mann/module.json +50 -0
  114. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-mann/rules/michael-mann.md +416 -0
  115. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mike-nichols/module.json +50 -0
  116. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mike-nichols/rules/mike-nichols.md +383 -0
  117. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/module.json +410 -0
  118. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/orson-welles/module.json +50 -0
  119. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/orson-welles/rules/orson-welles.md +400 -0
  120. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/park-chan-wook/module.json +50 -0
  121. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/park-chan-wook/rules/park-chan-wook.md +357 -0
  122. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/paul-thomas-anderson/module.json +50 -0
  123. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/paul-thomas-anderson/rules/paul-thomas-anderson.md +143 -0
  124. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/penny-marshall/module.json +50 -0
  125. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/penny-marshall/rules/penny-marshall.md +139 -0
  126. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/peter-bogdanovich/module.json +50 -0
  127. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/peter-bogdanovich/rules/peter-bogdanovich.md +411 -0
  128. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/quentin-tarantino/module.json +50 -0
  129. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/quentin-tarantino/rules/quentin-tarantino.md +178 -0
  130. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/richard-linklater/module.json +50 -0
  131. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/richard-linklater/rules/richard-linklater.md +463 -0
  132. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/rob-reiner/module.json +50 -0
  133. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/rob-reiner/rules/rob-reiner.md +470 -0
  134. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-altman/module.json +50 -0
  135. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-altman/rules/robert-altman.md +447 -0
  136. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-eggers/module.json +50 -0
  137. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-eggers/rules/robert-eggers.md +361 -0
  138. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-zemeckis/module.json +50 -0
  139. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-zemeckis/rules/robert-zemeckis.md +489 -0
  140. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sam-peckinpah/module.json +50 -0
  141. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sam-peckinpah/rules/sam-peckinpah.md +475 -0
  142. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sidney-lumet/module.json +50 -0
  143. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sidney-lumet/rules/sidney-lumet.md +387 -0
  144. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/spike-lee/module.json +50 -0
  145. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/spike-lee/rules/spike-lee.md +500 -0
  146. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-donen-gene-kelly/module.json +50 -0
  147. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-donen-gene-kelly/rules/stanley-donen-gene-kelly.md +406 -0
  148. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-kubrick/module.json +50 -0
  149. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-kubrick/rules/stanley-kubrick.md +183 -0
  150. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steve-martin/module.json +50 -0
  151. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steve-martin/rules/steve-martin.md +138 -0
  152. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steven-spielberg/module.json +50 -0
  153. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steven-spielberg/rules/steven-spielberg.md +179 -0
  154. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sydney-pollack/module.json +50 -0
  155. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sydney-pollack/rules/sydney-pollack.md +356 -0
  156. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/terry-gilliam/module.json +50 -0
  157. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/terry-gilliam/rules/terry-gilliam.md +546 -0
  158. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tim-burton/module.json +50 -0
  159. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tim-burton/rules/tim-burton.md +356 -0
  160. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tobe-hooper/module.json +50 -0
  161. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tobe-hooper/rules/tobe-hooper.md +596 -0
  162. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/wes-anderson/module.json +50 -0
  163. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/wes-anderson/rules/wes-anderson.md +146 -0
  164. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/william-friedkin/module.json +50 -0
  165. package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/william-friedkin/rules/william-friedkin.md +378 -0
  166. package/augment-extensions/writing-standards/screenplay/cinematic-styles/examples/style-applications.md +740 -0
  167. package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/blue-ruin/module.json +50 -0
  168. package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/blue-ruin/rules/blue-ruin.md +721 -0
  169. package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/module.json +27 -0
  170. package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/rules/blue-ruin.md.bak +667 -0
  171. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/fast-and-furious/module.json +17 -0
  172. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/fast-and-furious/rules/the-fast-and-furious-saga.md +427 -0
  173. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/harry-potter/module.json +17 -0
  174. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/harry-potter/rules/harry-potter.md +170 -0
  175. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/james-bond/module.json +17 -0
  176. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/james-bond/rules/james-bond.md +440 -0
  177. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/john-wick/module.json +17 -0
  178. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/john-wick/rules/john-wick.md +375 -0
  179. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/lord-of-the-rings/module.json +17 -0
  180. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/lord-of-the-rings/rules/lord-of-the-rings.md +437 -0
  181. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/mcu/module.json +29 -0
  182. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/mcu/rules/mcu-avengers.md +985 -0
  183. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/mcu/rules/mcu-avengers.md.bak +933 -0
  184. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/module.json +93 -0
  185. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/module.json +46 -0
  186. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-deep-space-nine.md +146 -0
  187. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-enterprise.md +149 -0
  188. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-strange-new-world.md +156 -0
  189. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-the-next-generation.md +163 -0
  190. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-tos.md +148 -0
  191. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-voyager.md +148 -0
  192. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek.md +163 -0
  193. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-wars/module.json +17 -0
  194. package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-wars/rules/star-wars.md +213 -0
  195. package/augment-extensions/writing-standards/screenplay/cinematic-styles/module.json +128 -0
  196. package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/joseph-campbell/module.json +50 -0
  197. package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/joseph-campbell/rules/joseph-campbell.md +178 -0
  198. package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/module.json +27 -0
  199. package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/bruckheimer-and-simpson/module.json +50 -0
  200. package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/bruckheimer-and-simpson/rules/bruckheimer-and-simpson.md +376 -0
  201. package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/module.json +26 -0
  202. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/blue-ruin.md +667 -0
  203. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/christopher-nolan.md +126 -0
  204. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/coen-brothers.md +154 -0
  205. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/david-lynch.md +124 -0
  206. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/denis-villeneuve.md +119 -0
  207. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/francis-ford-coppola.md +176 -0
  208. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/george-lucas.md +116 -0
  209. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/joseph-campbell.md +167 -0
  210. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/martin-scorsese.md +174 -0
  211. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/mcu-avengers.md +933 -0
  212. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/monty-python.md +231 -0
  213. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/quentin-tarantino.md +167 -0
  214. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/saturday-night-live.md +141 -0
  215. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/stanley-kubrick.md +169 -0
  216. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/star-wars.md +200 -0
  217. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/steven-spielberg.md +165 -0
  218. package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/wes-anderson.md +134 -0
  219. package/augment-extensions/writing-standards/screenplay/module.json +48 -1
  220. package/cli/AGENTS.md +22 -0
  221. package/cli/dist/__test_hook-system.d.ts +2 -0
  222. package/cli/dist/__test_hook-system.d.ts.map +1 -0
  223. package/cli/dist/__test_hook-system.js +4 -0
  224. package/cli/dist/__test_hook-system.js.map +1 -0
  225. package/cli/dist/cli.js +21 -0
  226. package/cli/dist/cli.js.map +1 -1
  227. package/cli/dist/commands/generate-shot-list/error-detector.d.ts +92 -0
  228. package/cli/dist/commands/generate-shot-list/error-detector.d.ts.map +1 -0
  229. package/cli/dist/commands/generate-shot-list/error-detector.js +131 -0
  230. package/cli/dist/commands/generate-shot-list/error-detector.js.map +1 -0
  231. package/cli/dist/commands/generate-shot-list/error-recovery.d.ts +85 -0
  232. package/cli/dist/commands/generate-shot-list/error-recovery.d.ts.map +1 -0
  233. package/cli/dist/commands/generate-shot-list/error-recovery.js +208 -0
  234. package/cli/dist/commands/generate-shot-list/error-recovery.js.map +1 -0
  235. package/cli/dist/commands/generate-shot-list/errors.d.ts +52 -0
  236. package/cli/dist/commands/generate-shot-list/errors.d.ts.map +1 -0
  237. package/cli/dist/commands/generate-shot-list/errors.js +287 -0
  238. package/cli/dist/commands/generate-shot-list/errors.js.map +1 -0
  239. package/cli/dist/commands/generate-shot-list/exit-codes.d.ts +42 -0
  240. package/cli/dist/commands/generate-shot-list/exit-codes.d.ts.map +1 -0
  241. package/cli/dist/commands/generate-shot-list/exit-codes.js +83 -0
  242. package/cli/dist/commands/generate-shot-list/exit-codes.js.map +1 -0
  243. package/cli/dist/commands/generate-shot-list/formatter/base-formatter.d.ts +48 -0
  244. package/cli/dist/commands/generate-shot-list/formatter/base-formatter.d.ts.map +1 -0
  245. package/cli/dist/commands/generate-shot-list/formatter/base-formatter.js +113 -0
  246. package/cli/dist/commands/generate-shot-list/formatter/base-formatter.js.map +1 -0
  247. package/cli/dist/commands/generate-shot-list/formatter/csv-formatter.d.ts +45 -0
  248. package/cli/dist/commands/generate-shot-list/formatter/csv-formatter.d.ts.map +1 -0
  249. package/cli/dist/commands/generate-shot-list/formatter/csv-formatter.js +110 -0
  250. package/cli/dist/commands/generate-shot-list/formatter/csv-formatter.js.map +1 -0
  251. package/cli/dist/commands/generate-shot-list/formatter/html-formatter.d.ts +38 -0
  252. package/cli/dist/commands/generate-shot-list/formatter/html-formatter.d.ts.map +1 -0
  253. package/cli/dist/commands/generate-shot-list/formatter/html-formatter.js +82 -0
  254. package/cli/dist/commands/generate-shot-list/formatter/html-formatter.js.map +1 -0
  255. package/cli/dist/commands/generate-shot-list/formatter/html-template.d.ts +11 -0
  256. package/cli/dist/commands/generate-shot-list/formatter/html-template.d.ts.map +1 -0
  257. package/cli/dist/commands/generate-shot-list/formatter/html-template.js +628 -0
  258. package/cli/dist/commands/generate-shot-list/formatter/html-template.js.map +1 -0
  259. package/cli/dist/commands/generate-shot-list/formatter/index.d.ts +13 -0
  260. package/cli/dist/commands/generate-shot-list/formatter/index.d.ts.map +1 -0
  261. package/cli/dist/commands/generate-shot-list/formatter/index.js +41 -0
  262. package/cli/dist/commands/generate-shot-list/formatter/index.js.map +1 -0
  263. package/cli/dist/commands/generate-shot-list/formatter/json-formatter.d.ts +34 -0
  264. package/cli/dist/commands/generate-shot-list/formatter/json-formatter.d.ts.map +1 -0
  265. package/cli/dist/commands/generate-shot-list/formatter/json-formatter.js +123 -0
  266. package/cli/dist/commands/generate-shot-list/formatter/json-formatter.js.map +1 -0
  267. package/cli/dist/commands/generate-shot-list/formatter/jsonl-formatter.d.ts +37 -0
  268. package/cli/dist/commands/generate-shot-list/formatter/jsonl-formatter.d.ts.map +1 -0
  269. package/cli/dist/commands/generate-shot-list/formatter/jsonl-formatter.js +100 -0
  270. package/cli/dist/commands/generate-shot-list/formatter/jsonl-formatter.js.map +1 -0
  271. package/cli/dist/commands/generate-shot-list/formatter/markdown-formatter.d.ts +34 -0
  272. package/cli/dist/commands/generate-shot-list/formatter/markdown-formatter.d.ts.map +1 -0
  273. package/cli/dist/commands/generate-shot-list/formatter/markdown-formatter.js +159 -0
  274. package/cli/dist/commands/generate-shot-list/formatter/markdown-formatter.js.map +1 -0
  275. package/cli/dist/commands/generate-shot-list/formatter/txt-formatter.d.ts +37 -0
  276. package/cli/dist/commands/generate-shot-list/formatter/txt-formatter.d.ts.map +1 -0
  277. package/cli/dist/commands/generate-shot-list/formatter/txt-formatter.js +125 -0
  278. package/cli/dist/commands/generate-shot-list/formatter/txt-formatter.js.map +1 -0
  279. package/cli/dist/commands/generate-shot-list/formatter/types.d.ts +75 -0
  280. package/cli/dist/commands/generate-shot-list/formatter/types.d.ts.map +1 -0
  281. package/cli/dist/commands/generate-shot-list/formatter/types.js +8 -0
  282. package/cli/dist/commands/generate-shot-list/formatter/types.js.map +1 -0
  283. package/cli/dist/commands/generate-shot-list/generator/context-builder.d.ts +55 -0
  284. package/cli/dist/commands/generate-shot-list/generator/context-builder.d.ts.map +1 -0
  285. package/cli/dist/commands/generate-shot-list/generator/context-builder.js +168 -0
  286. package/cli/dist/commands/generate-shot-list/generator/context-builder.js.map +1 -0
  287. package/cli/dist/commands/generate-shot-list/generator/index.d.ts +40 -0
  288. package/cli/dist/commands/generate-shot-list/generator/index.d.ts.map +1 -0
  289. package/cli/dist/commands/generate-shot-list/generator/index.js +168 -0
  290. package/cli/dist/commands/generate-shot-list/generator/index.js.map +1 -0
  291. package/cli/dist/commands/generate-shot-list/generator/metadata-extractor.d.ts +46 -0
  292. package/cli/dist/commands/generate-shot-list/generator/metadata-extractor.d.ts.map +1 -0
  293. package/cli/dist/commands/generate-shot-list/generator/metadata-extractor.js +170 -0
  294. package/cli/dist/commands/generate-shot-list/generator/metadata-extractor.js.map +1 -0
  295. package/cli/dist/commands/generate-shot-list/generator/scene-segmenter.d.ts +49 -0
  296. package/cli/dist/commands/generate-shot-list/generator/scene-segmenter.d.ts.map +1 -0
  297. package/cli/dist/commands/generate-shot-list/generator/scene-segmenter.js +130 -0
  298. package/cli/dist/commands/generate-shot-list/generator/scene-segmenter.js.map +1 -0
  299. package/cli/dist/commands/generate-shot-list/generator/types.d.ts +118 -0
  300. package/cli/dist/commands/generate-shot-list/generator/types.d.ts.map +1 -0
  301. package/cli/dist/commands/generate-shot-list/generator/types.js +8 -0
  302. package/cli/dist/commands/generate-shot-list/generator/types.js.map +1 -0
  303. package/cli/dist/commands/generate-shot-list/generator/validator.d.ts +40 -0
  304. package/cli/dist/commands/generate-shot-list/generator/validator.d.ts.map +1 -0
  305. package/cli/dist/commands/generate-shot-list/generator/validator.js +117 -0
  306. package/cli/dist/commands/generate-shot-list/generator/validator.js.map +1 -0
  307. package/cli/dist/commands/generate-shot-list/help-text.d.ts +11 -0
  308. package/cli/dist/commands/generate-shot-list/help-text.d.ts.map +1 -0
  309. package/cli/dist/commands/generate-shot-list/help-text.js +160 -0
  310. package/cli/dist/commands/generate-shot-list/help-text.js.map +1 -0
  311. package/cli/dist/commands/generate-shot-list/logger/index.d.ts +25 -0
  312. package/cli/dist/commands/generate-shot-list/logger/index.d.ts.map +1 -0
  313. package/cli/dist/commands/generate-shot-list/logger/index.js +98 -0
  314. package/cli/dist/commands/generate-shot-list/logger/index.js.map +1 -0
  315. package/cli/dist/commands/generate-shot-list/logger/jsonl-writer.d.ts +43 -0
  316. package/cli/dist/commands/generate-shot-list/logger/jsonl-writer.d.ts.map +1 -0
  317. package/cli/dist/commands/generate-shot-list/logger/jsonl-writer.js +123 -0
  318. package/cli/dist/commands/generate-shot-list/logger/jsonl-writer.js.map +1 -0
  319. package/cli/dist/commands/generate-shot-list/logger/shot-list-logger.d.ts +43 -0
  320. package/cli/dist/commands/generate-shot-list/logger/shot-list-logger.d.ts.map +1 -0
  321. package/cli/dist/commands/generate-shot-list/logger/shot-list-logger.js +142 -0
  322. package/cli/dist/commands/generate-shot-list/logger/shot-list-logger.js.map +1 -0
  323. package/cli/dist/commands/generate-shot-list/logger/types.d.ts +145 -0
  324. package/cli/dist/commands/generate-shot-list/logger/types.d.ts.map +1 -0
  325. package/cli/dist/commands/generate-shot-list/logger/types.js +8 -0
  326. package/cli/dist/commands/generate-shot-list/logger/types.js.map +1 -0
  327. package/cli/dist/commands/generate-shot-list/parser/fountain-parser.d.ts +33 -0
  328. package/cli/dist/commands/generate-shot-list/parser/fountain-parser.d.ts.map +1 -0
  329. package/cli/dist/commands/generate-shot-list/parser/fountain-parser.js +249 -0
  330. package/cli/dist/commands/generate-shot-list/parser/fountain-parser.js.map +1 -0
  331. package/cli/dist/commands/generate-shot-list/parser/index.d.ts +24 -0
  332. package/cli/dist/commands/generate-shot-list/parser/index.d.ts.map +1 -0
  333. package/cli/dist/commands/generate-shot-list/parser/index.js +117 -0
  334. package/cli/dist/commands/generate-shot-list/parser/index.js.map +1 -0
  335. package/cli/dist/commands/generate-shot-list/parser/markdown-parser.d.ts +21 -0
  336. package/cli/dist/commands/generate-shot-list/parser/markdown-parser.d.ts.map +1 -0
  337. package/cli/dist/commands/generate-shot-list/parser/markdown-parser.js +197 -0
  338. package/cli/dist/commands/generate-shot-list/parser/markdown-parser.js.map +1 -0
  339. package/cli/dist/commands/generate-shot-list/parser/plaintext-parser.d.ts +29 -0
  340. package/cli/dist/commands/generate-shot-list/parser/plaintext-parser.d.ts.map +1 -0
  341. package/cli/dist/commands/generate-shot-list/parser/plaintext-parser.js +213 -0
  342. package/cli/dist/commands/generate-shot-list/parser/plaintext-parser.js.map +1 -0
  343. package/cli/dist/commands/generate-shot-list/parser/types.d.ts +133 -0
  344. package/cli/dist/commands/generate-shot-list/parser/types.d.ts.map +1 -0
  345. package/cli/dist/commands/generate-shot-list/parser/types.js +22 -0
  346. package/cli/dist/commands/generate-shot-list/parser/types.js.map +1 -0
  347. package/cli/dist/commands/generate-shot-list.d.ts +13 -0
  348. package/cli/dist/commands/generate-shot-list.d.ts.map +1 -0
  349. package/cli/dist/commands/generate-shot-list.js +115 -0
  350. package/cli/dist/commands/generate-shot-list.js.map +1 -0
  351. package/cli/dist/index.d.ts +7 -0
  352. package/cli/dist/index.d.ts.map +1 -0
  353. package/cli/dist/index.js +10 -0
  354. package/cli/dist/index.js.map +1 -0
  355. package/cli/dist/utils/mcp-integration.d.ts +1 -2
  356. package/cli/dist/utils/mcp-integration.d.ts.map +1 -1
  357. package/cli/dist/utils/mcp-integration.js +102 -13
  358. package/cli/dist/utils/mcp-integration.js.map +1 -1
  359. package/package.json +4 -1
@@ -0,0 +1,125 @@
1
+ "use strict";
2
+ /**
3
+ * TXT Formatter
4
+ *
5
+ * Generates plain text output with simple, readable format
6
+ * No special formatting, just clean text
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.TXTFormatter = void 0;
10
+ const base_formatter_1 = require("./base-formatter");
11
+ /**
12
+ * TXT formatter implementation
13
+ *
14
+ * Features:
15
+ * - Simple, readable plain text format
16
+ * - No special formatting or markup
17
+ * - Text wrapping at 80 characters
18
+ * - Clear section separators
19
+ */
20
+ class TXTFormatter extends base_formatter_1.BaseFormatter {
21
+ /**
22
+ * Format shot list to plain text
23
+ */
24
+ format(shotList, options) {
25
+ let output = `AI SHOT LIST: ${shotList.title || 'Untitled'}\n`;
26
+ output += '='.repeat(80) + '\n\n';
27
+ // Summary section
28
+ output += `Total Shots: ${shotList.totalShots}\n`;
29
+ output += `Total Duration: ${this.formatDuration(shotList.totalDuration)}\n`;
30
+ output += `Average Shot Length: ${this.getAverageShotLength(shotList)} seconds\n`;
31
+ output += `Character Count: ${this.getAverageCharCount(shotList)} avg, ${this.getMaxCharCount(shotList)} max\n\n`;
32
+ // Warnings section
33
+ if (shotList.warnings.length > 0) {
34
+ output += `WARNINGS: ${shotList.warnings.length}\n`;
35
+ shotList.warnings.forEach(w => {
36
+ output += `- ${w.message}\n`;
37
+ });
38
+ output += '\n';
39
+ }
40
+ output += '='.repeat(80) + '\n\n';
41
+ // Format each shot
42
+ for (const shot of shotList.shots) {
43
+ output += this.formatShot(shot, options);
44
+ output += '\n' + '='.repeat(80) + '\n\n';
45
+ }
46
+ return output;
47
+ }
48
+ /**
49
+ * Format individual shot for plain text
50
+ */
51
+ formatShot(shot, options) {
52
+ const maxChars = options?.maxCharacters || 4000;
53
+ let output = `SHOT ${shot.number}\n`;
54
+ output += '-'.repeat(6) + '\n';
55
+ // Metadata
56
+ output += `Duration: ${this.formatTime(shot.duration)} (${shot.duration} seconds)\n`;
57
+ output += `Scene: ${shot.sceneNumber}\n`;
58
+ output += `Heading: ${shot.heading.raw}\n`;
59
+ output += `Shot Type: ${shot.metadata.shotType}\n`;
60
+ output += `Camera Movement: ${shot.metadata.cameraMovement}\n`;
61
+ output += `Framing: ${shot.metadata.framing}\n\n`;
62
+ // Context
63
+ output += `SET:\n${this.wrapText(shot.context.set, 80)}\n\n`;
64
+ output += `LIGHTING: ${shot.context.lighting}\n`;
65
+ output += `TIME OF DAY: ${shot.context.timeOfDay}\n`;
66
+ if (shot.context.atmosphere) {
67
+ output += `ATMOSPHERE: ${shot.context.atmosphere}\n`;
68
+ }
69
+ if (shot.context.weather) {
70
+ output += `WEATHER: ${shot.context.weather}\n`;
71
+ }
72
+ output += '\n';
73
+ // Characters
74
+ if (shot.characters.length > 0) {
75
+ output += `CHARACTERS:\n`;
76
+ shot.characters.forEach(char => {
77
+ output += `- ${char.name}:\n`;
78
+ output += ` Position: ${char.position}\n`;
79
+ output += ` Appearance: ${char.appearance}\n`;
80
+ if (char.emotion) {
81
+ output += ` Emotion: ${char.emotion}\n`;
82
+ }
83
+ if (char.action) {
84
+ output += ` Action: ${char.action}\n`;
85
+ }
86
+ });
87
+ output += '\n';
88
+ }
89
+ // Description
90
+ output += `DESCRIPTION:\n${this.wrapText(shot.description, 80)}\n\n`;
91
+ // Technical notes
92
+ if (shot.metadata.technicalNotes && shot.metadata.technicalNotes.length > 0) {
93
+ output += `TECHNICAL NOTES:\n`;
94
+ shot.metadata.technicalNotes.forEach(note => {
95
+ output += `- ${note}\n`;
96
+ });
97
+ output += '\n';
98
+ }
99
+ // Character count
100
+ const percentage = Math.round((shot.characterCount / maxChars) * 100);
101
+ output += `CHARACTER COUNT: ${shot.characterCount} / ${maxChars} (${percentage}%)\n`;
102
+ // Warnings
103
+ if (shot.warnings.length > 0) {
104
+ output += `\nWARNINGS:\n`;
105
+ shot.warnings.forEach(warning => {
106
+ output += `- [${warning.severity.toUpperCase()}] ${warning.message}\n`;
107
+ });
108
+ }
109
+ return output;
110
+ }
111
+ /**
112
+ * Get file extension
113
+ */
114
+ getExtension() {
115
+ return 'txt';
116
+ }
117
+ /**
118
+ * Get MIME type
119
+ */
120
+ getMimeType() {
121
+ return 'text/plain';
122
+ }
123
+ }
124
+ exports.TXTFormatter = TXTFormatter;
125
+ //# sourceMappingURL=txt-formatter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"txt-formatter.js","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/formatter/txt-formatter.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,qDAAiD;AAIjD;;;;;;;;GAQG;AACH,MAAa,YAAa,SAAQ,8BAAa;IAC7C;;OAEG;IACH,MAAM,CAAC,QAAkB,EAAE,OAA0B;QACnD,IAAI,MAAM,GAAG,iBAAiB,QAAQ,CAAC,KAAK,IAAI,UAAU,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X,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC7B,MAAM,IAAI,eAAe,CAAC;YAC1B,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;gBAC9B,MAAM,IAAI,MAAM,OAAO,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,OAAO,CAAC,OAAO,IAAI,CAAC;YACzE,CAAC,CAAC,CAAC;QACL,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;OAEG;IACH,YAAY;QACV,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;OAEG;IACH,WAAW;QACT,OAAO,YAAY,CAAC;IACtB,CAAC;CACF;AAvHD,oCAuHC"}
@@ -0,0 +1,75 @@
1
+ /**
2
+ * Shot List Formatter Types
3
+ *
4
+ * Type definitions for output format generation
5
+ */
6
+ import { ShotList } from '../generator/types';
7
+ /**
8
+ * Supported output formats
9
+ */
10
+ export type OutputFormat = 'md' | 'json' | 'jsonl' | 'csv' | 'txt' | 'html';
11
+ /**
12
+ * Formatter options
13
+ */
14
+ export interface FormatterOptions {
15
+ /**
16
+ * Pretty-print output (for JSON)
17
+ */
18
+ prettyPrint?: boolean;
19
+ /**
20
+ * Include warnings in output
21
+ */
22
+ includeWarnings?: boolean;
23
+ /**
24
+ * Maximum character limit for display
25
+ */
26
+ maxCharacters?: number;
27
+ /**
28
+ * Include metadata in output
29
+ */
30
+ includeMetadata?: boolean;
31
+ }
32
+ /**
33
+ * Formatter interface
34
+ */
35
+ export interface Formatter {
36
+ /**
37
+ * Format shot list to string
38
+ */
39
+ format(shotList: ShotList, options?: FormatterOptions): string;
40
+ /**
41
+ * Get file extension for this format
42
+ */
43
+ getExtension(): string;
44
+ /**
45
+ * Get MIME type for this format
46
+ */
47
+ getMimeType(): string;
48
+ }
49
+ /**
50
+ * Formatter factory function type
51
+ */
52
+ export type FormatterFactory = (format: OutputFormat) => Formatter;
53
+ /**
54
+ * Time formatting utilities
55
+ */
56
+ export interface TimeFormatter {
57
+ /**
58
+ * Format seconds to MM:SS
59
+ */
60
+ formatTime(seconds: number): string;
61
+ /**
62
+ * Format total duration to human-readable format (e.g., "1h 23m 15s")
63
+ */
64
+ formatDuration(totalSeconds: number): string;
65
+ }
66
+ /**
67
+ * Text wrapping utilities
68
+ */
69
+ export interface TextWrapper {
70
+ /**
71
+ * Wrap text to specified width
72
+ */
73
+ wrapText(text: string, width: number, indent?: string): string;
74
+ }
75
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/formatter/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;AAE5E;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,MAAM,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAC;IAE/D;;OAEG;IACH,YAAY,IAAI,MAAM,CAAC;IAEvB;;OAEG;IACH,WAAW,IAAI,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,YAAY,KAAK,SAAS,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IAEpC;;OAEG;IACH,cAAc,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAChE"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Shot List Formatter Types
4
+ *
5
+ * Type definitions for output format generation
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/formatter/types.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Context Builder
3
+ *
4
+ * Implements context repetition for each shot: maintain scene-level context
5
+ * (set, lighting, time), track character states (position, appearance, emotion),
6
+ * build complete set and character descriptions per shot.
7
+ *
8
+ * Task: bd-shot-list-3.3
9
+ */
10
+ import { Scene, SceneElement } from '../parser/types';
11
+ import { SceneContext, CharacterState } from './types';
12
+ /**
13
+ * Context builder configuration
14
+ */
15
+ export interface ContextBuilderConfig {
16
+ includeAtmosphere: boolean;
17
+ includeWeather: boolean;
18
+ trackCharacterEmotions: boolean;
19
+ }
20
+ /**
21
+ * Context Builder class
22
+ */
23
+ export declare class ContextBuilder {
24
+ private config;
25
+ constructor(config: ContextBuilderConfig);
26
+ /**
27
+ * Build scene-level context from scene heading and elements
28
+ */
29
+ buildSceneContext(scene: Scene): SceneContext;
30
+ /**
31
+ * Build character states from scene elements
32
+ */
33
+ buildCharacterStates(elements: SceneElement[], sceneContext: SceneContext): CharacterState[];
34
+ /**
35
+ * Extract lighting from scene elements
36
+ */
37
+ private extractLighting;
38
+ /**
39
+ * Extract atmosphere from scene elements
40
+ */
41
+ private extractAtmosphere;
42
+ /**
43
+ * Extract weather from scene elements
44
+ */
45
+ private extractWeather;
46
+ /**
47
+ * Extract emotion from dialogue element
48
+ */
49
+ private extractEmotion;
50
+ /**
51
+ * Update character states from action line
52
+ */
53
+ private updateCharacterStatesFromAction;
54
+ }
55
+ //# sourceMappingURL=context-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context-builder.d.ts","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/generator/context-builder.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,KAAK,EAAE,YAAY,EAAkC,MAAM,iBAAiB,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,sBAAsB,EAAE,OAAO,CAAC;CACjC;AAED;;GAEG;AACH,qBAAa,cAAc;IACzB,OAAO,CAAC,MAAM,CAAuB;gBAEzB,MAAM,EAAE,oBAAoB;IAIxC;;OAEG;IACH,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,YAAY;IAkB7C;;OAEG;IACH,oBAAoB,CAAC,QAAQ,EAAE,YAAY,EAAE,EAAE,YAAY,EAAE,YAAY,GAAG,cAAc,EAAE;IAkC5F;;OAEG;IACH,OAAO,CAAC,eAAe;IA+BvB;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAsBzB;;OAEG;IACH,OAAO,CAAC,cAAc;IAgBtB;;OAEG;IACH,OAAO,CAAC,cAAc;IAStB;;OAEG;IACH,OAAO,CAAC,+BAA+B;CAcxC"}
@@ -0,0 +1,168 @@
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
+ */
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ContextBuilder = void 0;
13
+ /**
14
+ * Context Builder class
15
+ */
16
+ class ContextBuilder {
17
+ constructor(config) {
18
+ this.config = config;
19
+ }
20
+ /**
21
+ * Build scene-level context from scene heading and elements
22
+ */
23
+ buildSceneContext(scene) {
24
+ const context = {
25
+ set: scene.heading.location,
26
+ lighting: this.extractLighting(scene),
27
+ timeOfDay: scene.heading.timeOfDay
28
+ };
29
+ if (this.config.includeAtmosphere) {
30
+ context.atmosphere = this.extractAtmosphere(scene);
31
+ }
32
+ if (this.config.includeWeather) {
33
+ context.weather = this.extractWeather(scene);
34
+ }
35
+ return context;
36
+ }
37
+ /**
38
+ * Build character states from scene elements
39
+ */
40
+ buildCharacterStates(elements, sceneContext) {
41
+ const characterMap = new Map();
42
+ for (const element of elements) {
43
+ if (element.type === 'dialogue') {
44
+ const dialogueElement = element;
45
+ const characterName = dialogueElement.dialogue.character.name;
46
+ if (!characterMap.has(characterName)) {
47
+ characterMap.set(characterName, {
48
+ name: characterName,
49
+ position: 'in scene',
50
+ appearance: 'as described',
51
+ emotion: this.config.trackCharacterEmotions ? this.extractEmotion(dialogueElement) : undefined,
52
+ action: undefined
53
+ });
54
+ }
55
+ else {
56
+ // Update emotion if tracking
57
+ if (this.config.trackCharacterEmotions) {
58
+ const emotion = this.extractEmotion(dialogueElement);
59
+ if (emotion) {
60
+ characterMap.get(characterName).emotion = emotion;
61
+ }
62
+ }
63
+ }
64
+ }
65
+ else if (element.type === 'action') {
66
+ const actionElement = element;
67
+ this.updateCharacterStatesFromAction(actionElement, characterMap);
68
+ }
69
+ }
70
+ return Array.from(characterMap.values());
71
+ }
72
+ /**
73
+ * Extract lighting from scene elements
74
+ */
75
+ extractLighting(scene) {
76
+ const timeOfDay = scene.heading.timeOfDay.toLowerCase();
77
+ // Map time of day to lighting
78
+ if (timeOfDay.includes('night')) {
79
+ return 'low light';
80
+ }
81
+ else if (timeOfDay.includes('day')) {
82
+ return 'natural daylight';
83
+ }
84
+ else if (timeOfDay.includes('dawn') || timeOfDay.includes('dusk')) {
85
+ return 'golden hour';
86
+ }
87
+ else if (timeOfDay.includes('evening')) {
88
+ return 'dim light';
89
+ }
90
+ // Check action lines for lighting keywords
91
+ for (const element of scene.elements) {
92
+ if (element.type === 'action') {
93
+ const text = element.text.toLowerCase();
94
+ if (text.includes('dark') || text.includes('shadows')) {
95
+ return 'low light';
96
+ }
97
+ else if (text.includes('bright') || text.includes('sunlight')) {
98
+ return 'bright light';
99
+ }
100
+ else if (text.includes('fluorescent') || text.includes('artificial')) {
101
+ return 'artificial light';
102
+ }
103
+ }
104
+ }
105
+ return 'natural';
106
+ }
107
+ /**
108
+ * Extract atmosphere from scene elements
109
+ */
110
+ extractAtmosphere(scene) {
111
+ const keywords = {
112
+ tense: ['tense', 'nervous', 'anxious', 'worried'],
113
+ calm: ['calm', 'peaceful', 'serene', 'quiet'],
114
+ chaotic: ['chaotic', 'frantic', 'hectic', 'busy'],
115
+ romantic: ['romantic', 'intimate', 'tender', 'loving'],
116
+ ominous: ['ominous', 'threatening', 'dark', 'foreboding']
117
+ };
118
+ for (const element of scene.elements) {
119
+ const text = element.text.toLowerCase();
120
+ for (const [atmosphere, words] of Object.entries(keywords)) {
121
+ if (words.some(word => text.includes(word))) {
122
+ return atmosphere;
123
+ }
124
+ }
125
+ }
126
+ return undefined;
127
+ }
128
+ /**
129
+ * Extract weather from scene elements
130
+ */
131
+ extractWeather(scene) {
132
+ const weatherKeywords = ['rain', 'snow', 'fog', 'storm', 'sunny', 'cloudy', 'wind'];
133
+ for (const element of scene.elements) {
134
+ const text = element.text.toLowerCase();
135
+ for (const keyword of weatherKeywords) {
136
+ if (text.includes(keyword)) {
137
+ return keyword;
138
+ }
139
+ }
140
+ }
141
+ return undefined;
142
+ }
143
+ /**
144
+ * Extract emotion from dialogue element
145
+ */
146
+ extractEmotion(dialogueElement) {
147
+ // Check parenthetical for emotion
148
+ if (dialogueElement.dialogue.parenthetical) {
149
+ return dialogueElement.dialogue.parenthetical.replace(/[()]/g, '').trim();
150
+ }
151
+ return undefined;
152
+ }
153
+ /**
154
+ * Update character states from action line
155
+ */
156
+ updateCharacterStatesFromAction(actionElement, characterMap) {
157
+ // Simple implementation: look for character names in action text
158
+ // and update their action field
159
+ const text = actionElement.text;
160
+ for (const [name, state] of characterMap.entries()) {
161
+ if (text.includes(name)) {
162
+ state.action = text;
163
+ }
164
+ }
165
+ }
166
+ }
167
+ exports.ContextBuilder = ContextBuilder;
168
+ //# sourceMappingURL=context-builder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context-builder.js","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/generator/context-builder.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAcH;;GAEG;AACH,MAAa,cAAc;IAGzB,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,iBAAiB,CAAC,KAAY;QAC5B,MAAM,OAAO,GAAiB;YAC5B,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ;YAC3B,QAAQ,EAAE,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC;YACrC,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS;SACnC,CAAC;QAEF,IAAI,IAAI,CAAC,MAAM,CAAC,iBAAiB,EAAE,CAAC;YAClC,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;QACrD,CAAC;QAED,IAAI,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;YAC/B,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAC/C,CAAC;QAED,OAAO,OAAO,CAAC;IACjB,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,QAAwB,EAAE,YAA0B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,CAAC;gBACtC,IAAI,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;oBAC3B,OAAO,OAAO,CAAC;gBACjB,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED;;OAEG;IACK,cAAc,CAAC,eAAgC;QACrD,kCAAkC;QAClC,IAAI,eAAe,CAAC,QAAQ,CAAC,aAAa,EAAE,CAAC;YAC3C,OAAO,eAAe,CAAC,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QAC5E,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAED;;OAEG;IACK,+BAA+B,CACrC,aAA4B,EAC5B,YAAyC;QAEzC,iEAAiE;QACjE,gCAAgC;QAChC,MAAM,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC;QAEhC,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,YAAY,CAAC,OAAO,EAAE,EAAE,CAAC;YACnD,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;gBACxB,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC;YACtB,CAAC;QACH,CAAC;IACH,CAAC;CACF;AA5KD,wCA4KC"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Shot List Generator
3
+ *
4
+ * Main orchestration for generating AI-optimized shot lists from parsed screenplays
5
+ */
6
+ import { Scene } from '../parser/types';
7
+ import { ShotList, Warning, GeneratorConfig, Generator } from './types';
8
+ /**
9
+ * Default generator implementation
10
+ */
11
+ export declare class ShotListGenerator implements Generator {
12
+ private validator;
13
+ private segmenter;
14
+ private contextBuilder;
15
+ private metadataExtractor;
16
+ constructor();
17
+ /**
18
+ * Generate shot list from parsed screenplay
19
+ */
20
+ generate(scenes: Scene[], config: GeneratorConfig): ShotList;
21
+ /**
22
+ * Validate shot list against limits
23
+ * Delegates to validator module (bd-shot-list-3.5)
24
+ */
25
+ validate(shotList: ShotList, config: GeneratorConfig): Warning[];
26
+ /**
27
+ * Segment scene into shots
28
+ * Implemented: bd-shot-list-3.2
29
+ */
30
+ private segmentScene;
31
+ /**
32
+ * Build shot description from elements, context, and characters
33
+ */
34
+ private buildDescription;
35
+ }
36
+ /**
37
+ * Create generator instance
38
+ */
39
+ export declare function createGenerator(): Generator;
40
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/generator/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EACL,QAAQ,EAER,OAAO,EACP,eAAe,EACf,SAAS,EAIV,MAAM,SAAS,CAAC;AAMjB;;GAEG;AACH,qBAAa,iBAAkB,YAAW,SAAS;IACjD,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,SAAS,CAAiB;IAClC,OAAO,CAAC,cAAc,CAAiB;IACvC,OAAO,CAAC,iBAAiB,CAAoB;;IAsB7C;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,eAAe,GAAG,QAAQ;IAoD5D;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,GAAG,OAAO,EAAE;IAIhE;;;OAGG;IACH,OAAO,CAAC,YAAY;IAwCpB;;OAEG;IACH,OAAO,CAAC,gBAAgB;CAqCzB;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,SAAS,CAE3C"}
@@ -0,0 +1,168 @@
1
+ "use strict";
2
+ /**
3
+ * Shot List Generator
4
+ *
5
+ * Main orchestration for generating AI-optimized shot lists from parsed screenplays
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ShotListGenerator = void 0;
9
+ exports.createGenerator = createGenerator;
10
+ const validator_1 = require("./validator");
11
+ const scene_segmenter_1 = require("./scene-segmenter");
12
+ const context_builder_1 = require("./context-builder");
13
+ const metadata_extractor_1 = require("./metadata-extractor");
14
+ /**
15
+ * Default generator implementation
16
+ */
17
+ class ShotListGenerator {
18
+ constructor() {
19
+ this.validator = (0, validator_1.createValidator)();
20
+ // Initialize modules with default configurations
21
+ this.segmenter = new scene_segmenter_1.SceneSegmenter({
22
+ maxShotLength: 30, // 30 seconds max
23
+ targetShotLength: 15, // 15 seconds target
24
+ minShotLength: 5 // 5 seconds minimum
25
+ });
26
+ this.contextBuilder = new context_builder_1.ContextBuilder({
27
+ includeAtmosphere: true,
28
+ includeWeather: true,
29
+ trackCharacterEmotions: true
30
+ });
31
+ this.metadataExtractor = new metadata_extractor_1.MetadataExtractor({
32
+ extractTechnicalNotes: true,
33
+ inferFromContext: true
34
+ });
35
+ }
36
+ /**
37
+ * Generate shot list from parsed screenplay
38
+ */
39
+ generate(scenes, config) {
40
+ const shots = [];
41
+ let shotNumber = 1;
42
+ const warnings = [];
43
+ // Process each scene
44
+ for (const scene of scenes) {
45
+ // TODO: Implement scene segmentation (bd-shot-list-3.2)
46
+ // For now, create one shot per scene as placeholder
47
+ const sceneShots = this.segmentScene(scene, shotNumber, config);
48
+ shots.push(...sceneShots);
49
+ shotNumber += sceneShots.length;
50
+ }
51
+ // Calculate totals
52
+ const totalDuration = shots.reduce((sum, shot) => sum + shot.duration, 0);
53
+ const totalCharacters = shots.reduce((sum, shot) => sum + shot.characterCount, 0);
54
+ // Create shot list
55
+ const shotList = {
56
+ shots,
57
+ totalShots: shots.length,
58
+ totalDuration,
59
+ totalCharacters,
60
+ warnings: [],
61
+ metadata: {
62
+ generatedAt: new Date(),
63
+ maxCharacters: config.maxCharacters,
64
+ maxShotLength: config.maxShotLength,
65
+ sourceFormat: 'fountain' // TODO: Get from screenplay metadata
66
+ }
67
+ };
68
+ // Validate shot list using validator module
69
+ const validationWarnings = this.validator.validate(shotList, config);
70
+ warnings.push(...validationWarnings);
71
+ return {
72
+ shots,
73
+ totalShots: shots.length,
74
+ totalDuration,
75
+ totalCharacters,
76
+ warnings,
77
+ metadata: {
78
+ generatedAt: new Date(),
79
+ maxCharacters: config.maxCharacters,
80
+ maxShotLength: config.maxShotLength,
81
+ sourceFormat: 'fountain' // TODO: Get from screenplay metadata
82
+ }
83
+ };
84
+ }
85
+ /**
86
+ * Validate shot list against limits
87
+ * Delegates to validator module (bd-shot-list-3.5)
88
+ */
89
+ validate(shotList, config) {
90
+ return this.validator.validate(shotList, config);
91
+ }
92
+ /**
93
+ * Segment scene into shots
94
+ * Implemented: bd-shot-list-3.2
95
+ */
96
+ segmentScene(scene, startShotNumber, config) {
97
+ // Build scene-level context once
98
+ const sceneContext = this.contextBuilder.buildSceneContext(scene);
99
+ // Segment scene into shots
100
+ const segments = this.segmenter.segment(scene);
101
+ // Convert segments to shots
102
+ const shots = [];
103
+ for (let i = 0; i < segments.length; i++) {
104
+ const segment = segments[i];
105
+ const shotNumber = startShotNumber + i;
106
+ const isFirstShot = i === 0;
107
+ // Build character states for this segment
108
+ const characters = this.contextBuilder.buildCharacterStates(segment.elements, sceneContext);
109
+ // Extract metadata for this segment
110
+ const metadata = this.metadataExtractor.extract(segment.elements, isFirstShot);
111
+ // Build description
112
+ const description = this.buildDescription(segment.elements, sceneContext, characters);
113
+ shots.push({
114
+ number: shotNumber,
115
+ sceneNumber: scene.number,
116
+ heading: scene.heading,
117
+ context: sceneContext,
118
+ characters,
119
+ description,
120
+ metadata,
121
+ duration: segment.estimatedDuration,
122
+ characterCount: description.length,
123
+ warnings: []
124
+ });
125
+ }
126
+ return shots;
127
+ }
128
+ /**
129
+ * Build shot description from elements, context, and characters
130
+ */
131
+ buildDescription(elements, context, characters) {
132
+ const parts = [];
133
+ // Add context
134
+ parts.push(`${context.set} - ${context.timeOfDay} - ${context.lighting}`);
135
+ if (context.atmosphere) {
136
+ parts.push(`Atmosphere: ${context.atmosphere}`);
137
+ }
138
+ if (context.weather) {
139
+ parts.push(`Weather: ${context.weather}`);
140
+ }
141
+ // Add characters
142
+ if (characters.length > 0) {
143
+ const characterDesc = characters.map(c => {
144
+ let desc = c.name;
145
+ if (c.emotion) {
146
+ desc += ` (${c.emotion})`;
147
+ }
148
+ if (c.action) {
149
+ desc += ` - ${c.action}`;
150
+ }
151
+ return desc;
152
+ }).join(', ');
153
+ parts.push(`Characters: ${characterDesc}`);
154
+ }
155
+ // Add action and dialogue
156
+ const content = elements.map(el => el.text).join(' ');
157
+ parts.push(content);
158
+ return parts.join('. ');
159
+ }
160
+ }
161
+ exports.ShotListGenerator = ShotListGenerator;
162
+ /**
163
+ * Create generator instance
164
+ */
165
+ function createGenerator() {
166
+ return new ShotListGenerator();
167
+ }
168
+ //# sourceMappingURL=index.js.map