@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,117 @@
1
+ "use strict";
2
+ /**
3
+ * Shot List Validator
4
+ *
5
+ * Validates shot lists against character and duration limits
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.ShotListValidator = void 0;
9
+ exports.createValidator = createValidator;
10
+ /**
11
+ * Validator class for shot list validation
12
+ */
13
+ class ShotListValidator {
14
+ /**
15
+ * Validate entire shot list
16
+ */
17
+ validate(shotList, config) {
18
+ const warnings = [];
19
+ // Validate each shot
20
+ for (const shot of shotList.shots) {
21
+ warnings.push(...this.validateShot(shot, config));
22
+ }
23
+ return warnings;
24
+ }
25
+ /**
26
+ * Validate individual shot
27
+ */
28
+ validateShot(shot, config) {
29
+ const warnings = [];
30
+ // Validate character count
31
+ warnings.push(...this.validateCharacterCount(shot, config));
32
+ // Validate duration
33
+ warnings.push(...this.validateDuration(shot, config));
34
+ return warnings;
35
+ }
36
+ /**
37
+ * Validate character count against limits
38
+ */
39
+ validateCharacterCount(shot, config) {
40
+ const warnings = [];
41
+ const warningThreshold = config.maxCharacters * (config.warningThreshold / 100);
42
+ // Error: Exceeds limit
43
+ if (shot.characterCount > config.maxCharacters) {
44
+ warnings.push({
45
+ type: 'character-limit-error',
46
+ message: `Shot ${shot.number} exceeds character limit (${shot.characterCount.toLocaleString()}/${config.maxCharacters.toLocaleString()})`,
47
+ shotNumber: shot.number,
48
+ severity: 'error',
49
+ suggestion: 'Reduce description length or split into multiple shots'
50
+ });
51
+ }
52
+ // Warning: Approaching limit (90% threshold)
53
+ else if (shot.characterCount >= warningThreshold) {
54
+ const percentage = Math.round((shot.characterCount / config.maxCharacters) * 100);
55
+ warnings.push({
56
+ type: 'character-limit-warning',
57
+ message: `Shot ${shot.number} approaching character limit (${shot.characterCount.toLocaleString()}/${config.maxCharacters.toLocaleString()}, ${percentage}%)`,
58
+ shotNumber: shot.number,
59
+ severity: 'warning',
60
+ suggestion: 'Consider reducing description length'
61
+ });
62
+ }
63
+ return warnings;
64
+ }
65
+ /**
66
+ * Validate duration against limits
67
+ */
68
+ validateDuration(shot, config) {
69
+ const warnings = [];
70
+ const warningThreshold = config.maxShotLength * (config.warningThreshold / 100);
71
+ // Error: Exceeds limit
72
+ if (shot.duration > config.maxShotLength) {
73
+ warnings.push({
74
+ type: 'duration-limit-error',
75
+ message: `Shot ${shot.number} exceeds duration limit (${shot.duration}s/${config.maxShotLength}s)`,
76
+ shotNumber: shot.number,
77
+ severity: 'error',
78
+ suggestion: 'Split this shot into multiple shorter shots'
79
+ });
80
+ }
81
+ // Warning: Approaching limit (90% threshold)
82
+ else if (shot.duration >= warningThreshold) {
83
+ const percentage = Math.round((shot.duration / config.maxShotLength) * 100);
84
+ warnings.push({
85
+ type: 'duration-limit-warning',
86
+ message: `Shot ${shot.number} approaching duration limit (${shot.duration}s/${config.maxShotLength}s, ${percentage}%)`,
87
+ shotNumber: shot.number,
88
+ severity: 'warning',
89
+ suggestion: 'Consider splitting into multiple shots'
90
+ });
91
+ }
92
+ return warnings;
93
+ }
94
+ /**
95
+ * Get validation summary
96
+ */
97
+ getValidationSummary(warnings) {
98
+ const summary = {
99
+ totalWarnings: warnings.filter(w => w.severity === 'warning').length,
100
+ totalErrors: warnings.filter(w => w.severity === 'error').length,
101
+ byType: {}
102
+ };
103
+ // Count by type
104
+ for (const warning of warnings) {
105
+ summary.byType[warning.type] = (summary.byType[warning.type] || 0) + 1;
106
+ }
107
+ return summary;
108
+ }
109
+ }
110
+ exports.ShotListValidator = ShotListValidator;
111
+ /**
112
+ * Create validator instance
113
+ */
114
+ function createValidator() {
115
+ return new ShotListValidator();
116
+ }
117
+ //# sourceMappingURL=validator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validator.js","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/generator/validator.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Help Text for generate-shot-list command
3
+ *
4
+ * Comprehensive help documentation for the AI Shot List Generator
5
+ */
6
+ export declare const HELP_TEXT = "\n\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557\n\u2551 AI SHOT LIST GENERATOR \u2551\n\u2551 \u2551\n\u2551 Convert traditional screenplays into AI-optimized shot lists for video \u2551\n\u2551 generation platforms (Runway, Pika, Stable Video Diffusion, etc.) \u2551\n\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D\n\nSYNOPSIS\n augx generate-shot-list --path <screenplay-file> [options]\n\nDESCRIPTION\n Converts traditional screenplays into AI-optimized shot lists with automatic\n enforcement of shot duration and character limits. Each shot includes:\n \n \u2022 Complete scene context (set, lighting, time of day)\n \u2022 Character descriptions and positions\n \u2022 Camera framing and movement suggestions\n \u2022 Shot duration and character count validation\n \u2022 Technical notes and metadata\n\nREQUIRED ARGUMENTS\n --path <file>\n Path to screenplay file\n Supported formats: Fountain (.fountain), Markdown (.md), Plain Text (.txt)\n \n Examples:\n --path screenplay.fountain\n --path /path/to/screenplay.md\n --path \"C:\\Users\\Name\\screenplay.txt\"\n\nOPTIONAL ARGUMENTS\n --format <format>\n Output format for shot list\n Valid values: md, json, jsonl, csv, txt, html\n Default: md\n \n Examples:\n --format json\n --format html\n\n --output <filename>\n Custom output filename\n Default: <screenplay-name>-ai-shot-list.<format>\n \n Examples:\n --output my-shots.json\n --output /path/to/output.md\n\n --max-characters <number>\n Maximum characters per shot description\n Range: 100 - 10000\n Default: 4000\n \n Examples:\n --max-characters 3000\n --max-characters 5000\n\n --max-shot-length <seconds>\n Maximum shot duration in seconds\n Range: 1 - 60\n Default: 12\n \n Examples:\n --max-shot-length 10\n --max-shot-length 15\n\n --verbose\n Enable verbose output with detailed progress information\n \n --quiet\n Suppress all output except errors\n \n --help, -h\n Display this help message\n\nUSAGE EXAMPLES\n Basic usage (Markdown output):\n augx generate-shot-list --path screenplay.fountain\n\n Generate JSON output:\n augx generate-shot-list --path screenplay.md --format json\n\n Custom character limit:\n augx generate-shot-list --path screenplay.txt --max-characters 3000\n\n Custom output file:\n augx generate-shot-list --path screenplay.fountain --output my-shots.html --format html\n\n Verbose mode:\n augx generate-shot-list --path screenplay.md --verbose\n\nSUPPORTED FORMATS\n Input Formats:\n \u2022 Fountain (.fountain) - Industry-standard screenplay format\n \u2022 Markdown (.md) - Headings as scenes, paragraphs as action/dialogue\n \u2022 Plain Text (.txt) - Simple text with INT/EXT scene headings\n\n Output Formats:\n \u2022 Markdown (md) - Structured shot list with tables\n \u2022 JSON (json) - Machine-readable format with all metadata\n \u2022 JSONL (jsonl) - One shot per line (streaming-friendly)\n \u2022 CSV (csv) - Spreadsheet-compatible format\n \u2022 TXT (txt) - Simple plain text format\n \u2022 HTML (html) - Interactive format with character counting\n\nERROR HANDLING\n The command logs all errors to .augment/logs/shot-list-errors.jsonl\n \n Common errors:\n \u2022 PE001: Invalid scene heading format\n \u2022 VE001: Shot exceeds character limit\n \u2022 VE002: Shot exceeds duration limit\n \u2022 IO001: Input file not found\n \u2022 IO002: Output file cannot be written\n\nEXIT CODES\n 0 - Success\n 1 - General error\n 2 - Invalid arguments\n 3 - Input file error\n 4 - Output file error\n 5 - Parsing error\n 6 - Validation error\n\nBEST PRACTICES\n 1. Use Fountain format for best results (most structured)\n 2. Keep shot descriptions under 4000 characters for optimal AI generation\n 3. Limit shots to 12 seconds for better video quality\n 4. Use HTML output for interactive editing and character counting\n 5. Review warnings in the output for potential issues\n\nTIPS\n \u2022 The generator automatically splits long scenes into multiple shots\n \u2022 Context is repeated for each shot (set, characters, lighting)\n \u2022 Metadata extraction identifies shot types and camera movements\n \u2022 Character limits include full context, not just action description\n\nFor more information, visit:\n https://github.com/mytech-today-now/augment-extensions\n\nReport issues at:\n https://github.com/mytech-today-now/augment-extensions/issues\n";
7
+ /**
8
+ * Display help text
9
+ */
10
+ export declare function displayHelp(): void;
11
+ //# sourceMappingURL=help-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help-text.d.ts","sourceRoot":"","sources":["../../../src/commands/generate-shot-list/help-text.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,SAAS,qhLA+IrB,CAAC;AAEF;;GAEG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAElC"}
@@ -0,0 +1,160 @@
1
+ "use strict";
2
+ /**
3
+ * Help Text for generate-shot-list command
4
+ *
5
+ * Comprehensive help documentation for the AI Shot List Generator
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.HELP_TEXT = void 0;
9
+ exports.displayHelp = displayHelp;
10
+ exports.HELP_TEXT = `
11
+ ╔══════════════════════════════════════════════════════════════════════════════╗
12
+ ║ AI SHOT LIST GENERATOR ║
13
+ ║ ║
14
+ ║ Convert traditional screenplays into AI-optimized shot lists for video ║
15
+ ║ generation platforms (Runway, Pika, Stable Video Diffusion, etc.) ║
16
+ ╚══════════════════════════════════════════════════════════════════════════════╝
17
+
18
+ SYNOPSIS
19
+ augx generate-shot-list --path <screenplay-file> [options]
20
+
21
+ DESCRIPTION
22
+ Converts traditional screenplays into AI-optimized shot lists with automatic
23
+ enforcement of shot duration and character limits. Each shot includes:
24
+
25
+ • Complete scene context (set, lighting, time of day)
26
+ • Character descriptions and positions
27
+ • Camera framing and movement suggestions
28
+ • Shot duration and character count validation
29
+ • Technical notes and metadata
30
+
31
+ REQUIRED ARGUMENTS
32
+ --path <file>
33
+ Path to screenplay file
34
+ Supported formats: Fountain (.fountain), Markdown (.md), Plain Text (.txt)
35
+
36
+ Examples:
37
+ --path screenplay.fountain
38
+ --path /path/to/screenplay.md
39
+ --path "C:\\Users\\Name\\screenplay.txt"
40
+
41
+ OPTIONAL ARGUMENTS
42
+ --format <format>
43
+ Output format for shot list
44
+ Valid values: md, json, jsonl, csv, txt, html
45
+ Default: md
46
+
47
+ Examples:
48
+ --format json
49
+ --format html
50
+
51
+ --output <filename>
52
+ Custom output filename
53
+ Default: <screenplay-name>-ai-shot-list.<format>
54
+
55
+ Examples:
56
+ --output my-shots.json
57
+ --output /path/to/output.md
58
+
59
+ --max-characters <number>
60
+ Maximum characters per shot description
61
+ Range: 100 - 10000
62
+ Default: 4000
63
+
64
+ Examples:
65
+ --max-characters 3000
66
+ --max-characters 5000
67
+
68
+ --max-shot-length <seconds>
69
+ Maximum shot duration in seconds
70
+ Range: 1 - 60
71
+ Default: 12
72
+
73
+ Examples:
74
+ --max-shot-length 10
75
+ --max-shot-length 15
76
+
77
+ --verbose
78
+ Enable verbose output with detailed progress information
79
+
80
+ --quiet
81
+ Suppress all output except errors
82
+
83
+ --help, -h
84
+ Display this help message
85
+
86
+ USAGE EXAMPLES
87
+ Basic usage (Markdown output):
88
+ augx generate-shot-list --path screenplay.fountain
89
+
90
+ Generate JSON output:
91
+ augx generate-shot-list --path screenplay.md --format json
92
+
93
+ Custom character limit:
94
+ augx generate-shot-list --path screenplay.txt --max-characters 3000
95
+
96
+ Custom output file:
97
+ augx generate-shot-list --path screenplay.fountain --output my-shots.html --format html
98
+
99
+ Verbose mode:
100
+ augx generate-shot-list --path screenplay.md --verbose
101
+
102
+ SUPPORTED FORMATS
103
+ Input Formats:
104
+ • Fountain (.fountain) - Industry-standard screenplay format
105
+ • Markdown (.md) - Headings as scenes, paragraphs as action/dialogue
106
+ • Plain Text (.txt) - Simple text with INT/EXT scene headings
107
+
108
+ Output Formats:
109
+ • Markdown (md) - Structured shot list with tables
110
+ • JSON (json) - Machine-readable format with all metadata
111
+ • JSONL (jsonl) - One shot per line (streaming-friendly)
112
+ • CSV (csv) - Spreadsheet-compatible format
113
+ • TXT (txt) - Simple plain text format
114
+ • HTML (html) - Interactive format with character counting
115
+
116
+ ERROR HANDLING
117
+ The command logs all errors to .augment/logs/shot-list-errors.jsonl
118
+
119
+ Common errors:
120
+ • PE001: Invalid scene heading format
121
+ • VE001: Shot exceeds character limit
122
+ • VE002: Shot exceeds duration limit
123
+ • IO001: Input file not found
124
+ • IO002: Output file cannot be written
125
+
126
+ EXIT CODES
127
+ 0 - Success
128
+ 1 - General error
129
+ 2 - Invalid arguments
130
+ 3 - Input file error
131
+ 4 - Output file error
132
+ 5 - Parsing error
133
+ 6 - Validation error
134
+
135
+ BEST PRACTICES
136
+ 1. Use Fountain format for best results (most structured)
137
+ 2. Keep shot descriptions under 4000 characters for optimal AI generation
138
+ 3. Limit shots to 12 seconds for better video quality
139
+ 4. Use HTML output for interactive editing and character counting
140
+ 5. Review warnings in the output for potential issues
141
+
142
+ TIPS
143
+ • The generator automatically splits long scenes into multiple shots
144
+ • Context is repeated for each shot (set, characters, lighting)
145
+ • Metadata extraction identifies shot types and camera movements
146
+ • Character limits include full context, not just action description
147
+
148
+ For more information, visit:
149
+ https://github.com/mytech-today-now/augment-extensions
150
+
151
+ Report issues at:
152
+ https://github.com/mytech-today-now/augment-extensions/issues
153
+ `;
154
+ /**
155
+ * Display help text
156
+ */
157
+ function displayHelp() {
158
+ console.log(exports.HELP_TEXT);
159
+ }
160
+ //# sourceMappingURL=help-text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help-text.js","sourceRoot":"","sources":["../../../src/commands/generate-shot-list/help-text.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAsJH,kCAEC;AAtJY,QAAA,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+IxB,CAAC;AAEF;;GAEG;AACH,SAAgB,WAAW;IACzB,OAAO,CAAC,GAAG,CAAC,iBAAS,CAAC,CAAC;AACzB,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Logger Module for AI Shot List Generator
3
+ *
4
+ * Orchestrates logging functionality with JSONL error logging
5
+ */
6
+ import { Logger } from './types';
7
+ export * from './types';
8
+ export { JSONLWriter } from './jsonl-writer';
9
+ export { ShotListLogger } from './shot-list-logger';
10
+ /**
11
+ * Create a logger instance
12
+ *
13
+ * @param logFilePath - Optional custom log file path
14
+ * @returns Logger instance
15
+ */
16
+ export declare function createLogger(logFilePath?: string): Promise<Logger>;
17
+ /**
18
+ * Get or create the global logger instance
19
+ */
20
+ export declare function getLogger(logFilePath?: string): Promise<Logger>;
21
+ /**
22
+ * Reset the global logger (useful for testing)
23
+ */
24
+ export declare function resetLogger(): void;
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/logger/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAGjC,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAapD;;;;;GAKG;AACH,wBAAsB,YAAY,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAKxE;AAOD;;GAEG;AACH,wBAAsB,SAAS,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAKrE;AAED;;GAEG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAElC"}
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ /**
3
+ * Logger Module for AI Shot List Generator
4
+ *
5
+ * Orchestrates logging functionality with JSONL error logging
6
+ */
7
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ var desc = Object.getOwnPropertyDescriptor(m, k);
10
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
11
+ desc = { enumerable: true, get: function() { return m[k]; } };
12
+ }
13
+ Object.defineProperty(o, k2, desc);
14
+ }) : (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ o[k2] = m[k];
17
+ }));
18
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
19
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
20
+ }) : function(o, v) {
21
+ o["default"] = v;
22
+ });
23
+ var __importStar = (this && this.__importStar) || (function () {
24
+ var ownKeys = function(o) {
25
+ ownKeys = Object.getOwnPropertyNames || function (o) {
26
+ var ar = [];
27
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
28
+ return ar;
29
+ };
30
+ return ownKeys(o);
31
+ };
32
+ return function (mod) {
33
+ if (mod && mod.__esModule) return mod;
34
+ var result = {};
35
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
36
+ __setModuleDefault(result, mod);
37
+ return result;
38
+ };
39
+ })();
40
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
41
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
42
+ };
43
+ Object.defineProperty(exports, "__esModule", { value: true });
44
+ exports.ShotListLogger = exports.JSONLWriter = void 0;
45
+ exports.createLogger = createLogger;
46
+ exports.getLogger = getLogger;
47
+ exports.resetLogger = resetLogger;
48
+ const path = __importStar(require("path"));
49
+ const os = __importStar(require("os"));
50
+ const shot_list_logger_1 = require("./shot-list-logger");
51
+ // Re-export types
52
+ __exportStar(require("./types"), exports);
53
+ var jsonl_writer_1 = require("./jsonl-writer");
54
+ Object.defineProperty(exports, "JSONLWriter", { enumerable: true, get: function () { return jsonl_writer_1.JSONLWriter; } });
55
+ var shot_list_logger_2 = require("./shot-list-logger");
56
+ Object.defineProperty(exports, "ShotListLogger", { enumerable: true, get: function () { return shot_list_logger_2.ShotListLogger; } });
57
+ /**
58
+ * Default log file path
59
+ */
60
+ function getDefaultLogPath() {
61
+ // Use .augment-extensions/logs directory in user's home
62
+ const homeDir = os.homedir();
63
+ const logDir = path.join(homeDir, '.augment-extensions', 'logs');
64
+ const logFile = path.join(logDir, 'shot-list-generator.jsonl');
65
+ return logFile;
66
+ }
67
+ /**
68
+ * Create a logger instance
69
+ *
70
+ * @param logFilePath - Optional custom log file path
71
+ * @returns Logger instance
72
+ */
73
+ async function createLogger(logFilePath) {
74
+ const filePath = logFilePath || getDefaultLogPath();
75
+ const logger = new shot_list_logger_1.ShotListLogger(filePath);
76
+ await logger.initialize();
77
+ return logger;
78
+ }
79
+ /**
80
+ * Singleton logger instance
81
+ */
82
+ let globalLogger = null;
83
+ /**
84
+ * Get or create the global logger instance
85
+ */
86
+ async function getLogger(logFilePath) {
87
+ if (!globalLogger) {
88
+ globalLogger = await createLogger(logFilePath);
89
+ }
90
+ return globalLogger;
91
+ }
92
+ /**
93
+ * Reset the global logger (useful for testing)
94
+ */
95
+ function resetLogger() {
96
+ globalLogger = null;
97
+ }
98
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/logger/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BH,oCAKC;AAUD,8BAKC;AAKD,kCAEC;AAtDD,2CAA6B;AAC7B,uCAAyB;AACzB,yDAAoD;AAGpD,kBAAkB;AAClB,0CAAwB;AACxB,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AACpB,uDAAoD;AAA3C,kHAAA,cAAc,OAAA;AAEvB;;GAEG;AACH,SAAS,iBAAiB;IACxB,wDAAwD;IACxD,MAAM,OAAO,GAAG,EAAE,CAAC,OAAO,EAAE,CAAC;IAC7B,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,qBAAqB,EAAE,MAAM,CAAC,CAAC;IACjE,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,2BAA2B,CAAC,CAAC;IAC/D,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;;GAKG;AACI,KAAK,UAAU,YAAY,CAAC,WAAoB;IACrD,MAAM,QAAQ,GAAG,WAAW,IAAI,iBAAiB,EAAE,CAAC;IACpD,MAAM,MAAM,GAAG,IAAI,iCAAc,CAAC,QAAQ,CAAC,CAAC;IAC5C,MAAM,MAAM,CAAC,UAAU,EAAE,CAAC;IAC1B,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;GAEG;AACH,IAAI,YAAY,GAAkB,IAAI,CAAC;AAEvC;;GAEG;AACI,KAAK,UAAU,SAAS,CAAC,WAAoB;IAClD,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,YAAY,GAAG,MAAM,YAAY,CAAC,WAAW,CAAC,CAAC;IACjD,CAAC;IACD,OAAO,YAAY,CAAC;AACtB,CAAC;AAED;;GAEG;AACH,SAAgB,WAAW;IACzB,YAAY,GAAG,IAAI,CAAC;AACtB,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * JSONL Writer for AI Shot List Generator
3
+ *
4
+ * Handles writing log entries to JSONL files with:
5
+ * - Append-only writing
6
+ * - Atomic writes (prevent corruption)
7
+ * - Concurrent write safety
8
+ */
9
+ /**
10
+ * JSONL Writer class
11
+ */
12
+ export declare class JSONLWriter {
13
+ private filePath;
14
+ private writeQueue;
15
+ constructor(filePath: string);
16
+ /**
17
+ * Initialize the writer (create directory if needed)
18
+ */
19
+ initialize(): Promise<void>;
20
+ /**
21
+ * Write a log entry to the JSONL file
22
+ *
23
+ * This method is thread-safe and ensures atomic writes
24
+ */
25
+ write(entry: any): Promise<void>;
26
+ /**
27
+ * Write multiple entries at once
28
+ */
29
+ writeMany(entries: any[]): Promise<void>;
30
+ /**
31
+ * Flush any pending writes
32
+ */
33
+ flush(): Promise<void>;
34
+ /**
35
+ * Get the file path
36
+ */
37
+ getFilePath(): string;
38
+ }
39
+ /**
40
+ * Create a JSONL writer for a specific log file
41
+ */
42
+ export declare function createJSONLWriter(filePath: string): JSONLWriter;
43
+ //# sourceMappingURL=jsonl-writer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonl-writer.d.ts","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/logger/jsonl-writer.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAUH;;GAEG;AACH,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,UAAU,CAAoC;gBAE1C,QAAQ,EAAE,MAAM;IAI5B;;OAEG;IACG,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAWjC;;;;OAIG;IACG,KAAK,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAmBtC;;OAEG;IACG,SAAS,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAM9C;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAI5B;;OAEG;IACH,WAAW,IAAI,MAAM;CAGtB;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW,CAE/D"}
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ /**
3
+ * JSONL Writer for AI Shot List Generator
4
+ *
5
+ * Handles writing log entries to JSONL files with:
6
+ * - Append-only writing
7
+ * - Atomic writes (prevent corruption)
8
+ * - Concurrent write safety
9
+ */
10
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ var desc = Object.getOwnPropertyDescriptor(m, k);
13
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
14
+ desc = { enumerable: true, get: function() { return m[k]; } };
15
+ }
16
+ Object.defineProperty(o, k2, desc);
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || (function () {
27
+ var ownKeys = function(o) {
28
+ ownKeys = Object.getOwnPropertyNames || function (o) {
29
+ var ar = [];
30
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
31
+ return ar;
32
+ };
33
+ return ownKeys(o);
34
+ };
35
+ return function (mod) {
36
+ if (mod && mod.__esModule) return mod;
37
+ var result = {};
38
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
39
+ __setModuleDefault(result, mod);
40
+ return result;
41
+ };
42
+ })();
43
+ Object.defineProperty(exports, "__esModule", { value: true });
44
+ exports.JSONLWriter = void 0;
45
+ exports.createJSONLWriter = createJSONLWriter;
46
+ const fs = __importStar(require("fs"));
47
+ const path = __importStar(require("path"));
48
+ const util_1 = require("util");
49
+ const appendFile = (0, util_1.promisify)(fs.appendFile);
50
+ const mkdir = (0, util_1.promisify)(fs.mkdir);
51
+ const access = (0, util_1.promisify)(fs.access);
52
+ /**
53
+ * JSONL Writer class
54
+ */
55
+ class JSONLWriter {
56
+ constructor(filePath) {
57
+ this.writeQueue = Promise.resolve();
58
+ this.filePath = filePath;
59
+ }
60
+ /**
61
+ * Initialize the writer (create directory if needed)
62
+ */
63
+ async initialize() {
64
+ const dir = path.dirname(this.filePath);
65
+ try {
66
+ await access(dir);
67
+ }
68
+ catch {
69
+ // Directory doesn't exist, create it
70
+ await mkdir(dir, { recursive: true });
71
+ }
72
+ }
73
+ /**
74
+ * Write a log entry to the JSONL file
75
+ *
76
+ * This method is thread-safe and ensures atomic writes
77
+ */
78
+ async write(entry) {
79
+ // Queue the write to ensure sequential writes
80
+ this.writeQueue = this.writeQueue.then(async () => {
81
+ try {
82
+ // Convert entry to JSON and add newline
83
+ const line = JSON.stringify(entry) + '\n';
84
+ // Append to file atomically
85
+ await appendFile(this.filePath, line, { encoding: 'utf-8' });
86
+ }
87
+ catch (error) {
88
+ // Log to stderr but don't throw - we don't want logging failures to crash the app
89
+ console.error('Failed to write log entry:', error);
90
+ }
91
+ });
92
+ // Wait for this write to complete
93
+ await this.writeQueue;
94
+ }
95
+ /**
96
+ * Write multiple entries at once
97
+ */
98
+ async writeMany(entries) {
99
+ for (const entry of entries) {
100
+ await this.write(entry);
101
+ }
102
+ }
103
+ /**
104
+ * Flush any pending writes
105
+ */
106
+ async flush() {
107
+ await this.writeQueue;
108
+ }
109
+ /**
110
+ * Get the file path
111
+ */
112
+ getFilePath() {
113
+ return this.filePath;
114
+ }
115
+ }
116
+ exports.JSONLWriter = JSONLWriter;
117
+ /**
118
+ * Create a JSONL writer for a specific log file
119
+ */
120
+ function createJSONLWriter(filePath) {
121
+ return new JSONLWriter(filePath);
122
+ }
123
+ //# sourceMappingURL=jsonl-writer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonl-writer.js","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/logger/jsonl-writer.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFH,8CAEC;AAtFD,uCAAyB;AACzB,2CAA6B;AAC7B,+BAAiC;AAEjC,MAAM,UAAU,GAAG,IAAA,gBAAS,EAAC,EAAE,CAAC,UAAU,CAAC,CAAC;AAC5C,MAAM,KAAK,GAAG,IAAA,gBAAS,EAAC,EAAE,CAAC,KAAK,CAAC,CAAC;AAClC,MAAM,MAAM,GAAG,IAAA,gBAAS,EAAC,EAAE,CAAC,MAAM,CAAC,CAAC;AAEpC;;GAEG;AACH,MAAa,WAAW;IAItB,YAAY,QAAgB;QAFpB,eAAU,GAAkB,OAAO,CAAC,OAAO,EAAE,CAAC;QAGpD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU;QACd,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAExC,IAAI,CAAC;YACH,MAAM,MAAM,CAAC,GAAG,CAAC,CAAC;QACpB,CAAC;QAAC,MAAM,CAAC;YACP,qCAAqC;YACrC,MAAM,KAAK,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QACxC,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,KAAK,CAAC,KAAU;QACpB,8CAA8C;QAC9C,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE;YAChD,IAAI,CAAC;gBACH,wCAAwC;gBACxC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;gBAE1C,4BAA4B;gBAC5B,MAAM,UAAU,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;YAC/D,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,kFAAkF;gBAClF,OAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE,KAAK,CAAC,CAAC;YACrD,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,kCAAkC;QAClC,MAAM,IAAI,CAAC,UAAU,CAAC;IACxB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,SAAS,CAAC,OAAc;QAC5B,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;YAC5B,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,KAAK;QACT,MAAM,IAAI,CAAC,UAAU,CAAC;IACxB,CAAC;IAED;;OAEG;IACH,WAAW;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;CACF;AApED,kCAoEC;AAED;;GAEG;AACH,SAAgB,iBAAiB,CAAC,QAAgB;IAChD,OAAO,IAAI,WAAW,CAAC,QAAQ,CAAC,CAAC;AACnC,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Shot List Logger Implementation
3
+ *
4
+ * Main logger implementation for AI Shot List Generator
5
+ */
6
+ import { ErrorDefinition } from '../errors';
7
+ import { Logger, SuccessLogEntry } from './types';
8
+ /**
9
+ * Shot List Logger class
10
+ */
11
+ export declare class ShotListLogger implements Logger {
12
+ private writer;
13
+ constructor(logFilePath: string);
14
+ /**
15
+ * Initialize the logger
16
+ */
17
+ initialize(): Promise<void>;
18
+ /**
19
+ * Log an error
20
+ */
21
+ logError(error: ErrorDefinition, context?: any, stackTrace?: string): Promise<void>;
22
+ /**
23
+ * Log a success
24
+ */
25
+ logSuccess(message: string, statistics: SuccessLogEntry['statistics'], inputFile: string, outputFile: string, format: string): Promise<void>;
26
+ /**
27
+ * Log a warning
28
+ */
29
+ logWarning(code: string, message: string, context?: any): Promise<void>;
30
+ /**
31
+ * Log info
32
+ */
33
+ logInfo(message: string, data?: any): Promise<void>;
34
+ /**
35
+ * Flush any pending log entries
36
+ */
37
+ flush(): Promise<void>;
38
+ /**
39
+ * Generate reproduction steps from context
40
+ */
41
+ private generateReproductionSteps;
42
+ }
43
+ //# sourceMappingURL=shot-list-logger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shot-list-logger.d.ts","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/logger/shot-list-logger.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EACL,MAAM,EAEN,eAAe,EAGhB,MAAM,SAAS,CAAC;AAqBjB;;GAEG;AACH,qBAAa,cAAe,YAAW,MAAM;IAC3C,OAAO,CAAC,MAAM,CAAc;gBAEhB,WAAW,EAAE,MAAM;IAI/B;;OAEG;IACG,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAIjC;;OAEG;IACG,QAAQ,CACZ,KAAK,EAAE,eAAe,EACtB,OAAO,CAAC,EAAE,GAAG,EACb,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,IAAI,CAAC;IA4BhB;;OAEG;IACG,UAAU,CACd,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,eAAe,CAAC,YAAY,CAAC,EACzC,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAgBhB;;OAEG;IACG,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAc7E;;OAEG;IACG,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAazD;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAI5B;;OAEG;IACH,OAAO,CAAC,yBAAyB;CAkBlC"}