@mytechtoday/augment-extensions 1.6.0 → 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.
- package/AGENTS.md +76 -0
- package/README.md +26 -3
- package/augment-extensions/writing-standards/literature/shakespeare/ANNOUNCEMENT.md +176 -0
- package/augment-extensions/writing-standards/literature/shakespeare/CHARACTER-THEME-VALIDATION-REPORT.md +465 -0
- package/augment-extensions/writing-standards/literature/shakespeare/DRAMA-VALIDATION-REPORT.md +217 -0
- package/augment-extensions/writing-standards/literature/shakespeare/LANGUAGE-VALIDATION-REPORT.md +195 -0
- package/augment-extensions/writing-standards/literature/shakespeare/PHASE6-VALIDATION-REPORT.md +359 -0
- package/augment-extensions/writing-standards/literature/shakespeare/README.md +126 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/annotated-sonnets/sonnet-130.md +225 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/annotated-sonnets/sonnet-18.md +188 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/annotated-sonnets/sonnet-73.md +215 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/character-worksheet.md +407 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/iambic-pentameter-practice.md +470 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/sonnet-writing-exercise.md +360 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/theme-analysis-template.md +527 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/exercises/verse-analysis-exercise.md +426 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/hamlet-to-be-or-not-to-be.md +316 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/king-lear-storm-scene.md +576 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/macbeth-tomorrow-and-tomorrow.md +448 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/much-ado-benedick-eavesdropping.md +496 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/romeo-juliet-balcony.md +287 -0
- package/augment-extensions/writing-standards/literature/shakespeare/examples/scene-examples/twelfth-night-malvolio-letter.md +653 -0
- package/augment-extensions/writing-standards/literature/shakespeare/module.json +72 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/character-themes/character-development.md +608 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/character-themes/thematic-elements.md +471 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/drama/comedy.md +763 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/drama/history-plays.md +507 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/drama/scene-construction.md +870 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/drama/tragedy.md +743 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/language/elizabethan-english.md +400 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/language/rhetoric-wordplay.md +602 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/language/vocabulary-guide.md +662 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/poetry/iambic-pentameter.md +447 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/poetry/narrative-poetry.md +453 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/poetry/sonnets.md +435 -0
- package/augment-extensions/writing-standards/literature/shakespeare/rules/poetry/verse-forms.md +565 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/MIGRATION.md +213 -158
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/README.md +309 -157
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/REFACTORING-SUMMARY.md +99 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/module.json +33 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/monty-python/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/monty-python/rules/monty-python.md +243 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/saturday-night-live/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/comedy-formats/saturday-night-live/rules/saturday-night-live.md +153 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/README.md +127 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/alfred-hitchcock/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/alfred-hitchcock/rules/alfred-hitchcock.md +168 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/ari-aster/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/ari-aster/rules/ari-aster.md +414 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brad-bird/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brad-bird/rules/brad-bird.md +362 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brian-de-palma/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/brian-de-palma/rules/brian-de-palma.md +445 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/buster-keaton/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/buster-keaton/rules/buster-keaton.md +508 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/christopher-nolan/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/christopher-nolan/rules/christopher-nolan.md +147 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/clint-eastwood/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/clint-eastwood/rules/clint-eastwood.md +639 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/coen-brothers/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/coen-brothers/rules/coen-brothers.md +167 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/darren-aronofsky/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/darren-aronofsky/rules/darren-aronofsky.md +474 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-fincher/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-fincher/rules/david-fincher.md +203 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-lynch/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/david-lynch/rules/david-lynch.md +136 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/denis-villeneuve/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/denis-villeneuve/rules/denis-villeneuve.md +131 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/francis-ford-coppola/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/francis-ford-coppola/rules/francis-ford-coppola.md +190 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gary-marshall/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gary-marshall/rules/gary-marshall.md +181 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-a-romero/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-a-romero/rules/george-a-romero.md +391 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-lucas/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/george-lucas/rules/george-lucas.md +129 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/guillermo-del-toro/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/guillermo-del-toro/rules/guillermo-del-toro.md +350 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gus-van-sant/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/gus-van-sant/rules/gus-van-sant.md +353 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/james-ivory-ismail-merchant/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/james-ivory-ismail-merchant/rules/james-ivory-ismail-merchant.md +164 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jim-jarmusch/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jim-jarmusch/rules/jim-jarmusch.md +426 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-carpenter/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-carpenter/rules/john-carpenter.md +450 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-ford/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-ford/rules/john-ford.md +429 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-huston/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-huston/rules/john-huston.md +357 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-landis/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/john-landis/rules/john-landis.md +483 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jonathan-demme/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/jonathan-demme/rules/jonathan-demme.md +394 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/joseph-l-mankiewicz/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/joseph-l-mankiewicz/rules/joseph-l-mankiewicz.md +406 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kathryn-bigelow/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kathryn-bigelow/rules/kathryn-bigelow.md +443 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kelly-reichardt/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kelly-reichardt/rules/kelly-reichardt.md +365 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kevin-smith/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/kevin-smith/rules/kevin-smith.md +546 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/linda-shayne/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/linda-shayne/rules/linda-shayne.md +341 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/martin-scorsese/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/martin-scorsese/rules/martin-scorsese.md +188 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mel-brooks/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mel-brooks/rules/mel-brooks.md +215 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-curtiz/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-curtiz/rules/michael-curtiz.md +429 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-mann/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/michael-mann/rules/michael-mann.md +416 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mike-nichols/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/mike-nichols/rules/mike-nichols.md +383 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/module.json +410 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/orson-welles/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/orson-welles/rules/orson-welles.md +400 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/park-chan-wook/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/park-chan-wook/rules/park-chan-wook.md +357 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/paul-thomas-anderson/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/paul-thomas-anderson/rules/paul-thomas-anderson.md +143 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/penny-marshall/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/penny-marshall/rules/penny-marshall.md +139 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/peter-bogdanovich/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/peter-bogdanovich/rules/peter-bogdanovich.md +411 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/quentin-tarantino/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/quentin-tarantino/rules/quentin-tarantino.md +178 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/richard-linklater/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/richard-linklater/rules/richard-linklater.md +463 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/rob-reiner/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/rob-reiner/rules/rob-reiner.md +470 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-altman/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-altman/rules/robert-altman.md +447 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-eggers/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-eggers/rules/robert-eggers.md +361 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-zemeckis/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/robert-zemeckis/rules/robert-zemeckis.md +489 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sam-peckinpah/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sam-peckinpah/rules/sam-peckinpah.md +475 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sidney-lumet/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sidney-lumet/rules/sidney-lumet.md +387 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/spike-lee/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/spike-lee/rules/spike-lee.md +500 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-donen-gene-kelly/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-donen-gene-kelly/rules/stanley-donen-gene-kelly.md +406 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-kubrick/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/stanley-kubrick/rules/stanley-kubrick.md +183 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steve-martin/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steve-martin/rules/steve-martin.md +138 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steven-spielberg/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/steven-spielberg/rules/steven-spielberg.md +179 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sydney-pollack/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/sydney-pollack/rules/sydney-pollack.md +356 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/terry-gilliam/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/terry-gilliam/rules/terry-gilliam.md +546 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tim-burton/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tim-burton/rules/tim-burton.md +356 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tobe-hooper/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/tobe-hooper/rules/tobe-hooper.md +596 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/wes-anderson/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/wes-anderson/rules/wes-anderson.md +146 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/william-friedkin/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/directors/william-friedkin/rules/william-friedkin.md +378 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/examples/style-applications.md +492 -9
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/blue-ruin/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/blue-ruin/rules/blue-ruin.md +721 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/module.json +27 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/films/rules/blue-ruin.md.bak +667 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/fast-and-furious/module.json +17 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/fast-and-furious/rules/the-fast-and-furious-saga.md +427 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/harry-potter/module.json +17 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/harry-potter/rules/harry-potter.md +170 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/james-bond/module.json +17 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/james-bond/rules/james-bond.md +440 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/john-wick/module.json +17 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/john-wick/rules/john-wick.md +375 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/lord-of-the-rings/module.json +17 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/lord-of-the-rings/rules/lord-of-the-rings.md +437 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/mcu/module.json +29 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/mcu/rules/mcu-avengers.md +985 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/mcu/rules/mcu-avengers.md.bak +933 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/module.json +93 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/module.json +46 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-deep-space-nine.md +146 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-enterprise.md +149 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-strange-new-world.md +156 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-the-next-generation.md +163 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-tos.md +148 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek-voyager.md +148 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-trek/rules/star-trek.md +163 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-wars/module.json +17 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/franchises/star-wars/rules/star-wars.md +213 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/module.json +128 -63
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/joseph-campbell/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/joseph-campbell/rules/joseph-campbell.md +178 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/narrative-theory/module.json +27 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/bruckheimer-and-simpson/module.json +50 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/bruckheimer-and-simpson/rules/bruckheimer-and-simpson.md +376 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/producers/module.json +26 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/blue-ruin.md +667 -667
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/christopher-nolan.md +126 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/coen-brothers.md +154 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/david-lynch.md +124 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/denis-villeneuve.md +119 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/francis-ford-coppola.md +176 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/george-lucas.md +116 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/joseph-campbell.md +167 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/martin-scorsese.md +174 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/mcu-avengers.md +933 -933
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/monty-python.md +231 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/quentin-tarantino.md +167 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/saturday-night-live.md +141 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/stanley-kubrick.md +169 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/star-wars.md +200 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/steven-spielberg.md +165 -0
- package/augment-extensions/writing-standards/screenplay/cinematic-styles/rules/wes-anderson.md +134 -0
- package/augment-extensions/writing-standards/screenplay/module.json +21 -2
- package/cli/AGENTS.md +22 -0
- package/cli/dist/__test_hook-system.d.ts +2 -0
- package/cli/dist/__test_hook-system.d.ts.map +1 -0
- package/cli/dist/__test_hook-system.js +4 -0
- package/cli/dist/__test_hook-system.js.map +1 -0
- package/cli/dist/cli.js +21 -0
- package/cli/dist/cli.js.map +1 -1
- package/cli/dist/commands/generate-shot-list/error-detector.d.ts +92 -0
- package/cli/dist/commands/generate-shot-list/error-detector.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/error-detector.js +131 -0
- package/cli/dist/commands/generate-shot-list/error-detector.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/error-recovery.d.ts +85 -0
- package/cli/dist/commands/generate-shot-list/error-recovery.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/error-recovery.js +208 -0
- package/cli/dist/commands/generate-shot-list/error-recovery.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/errors.d.ts +52 -0
- package/cli/dist/commands/generate-shot-list/errors.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/errors.js +287 -0
- package/cli/dist/commands/generate-shot-list/errors.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/exit-codes.d.ts +42 -0
- package/cli/dist/commands/generate-shot-list/exit-codes.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/exit-codes.js +83 -0
- package/cli/dist/commands/generate-shot-list/exit-codes.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/base-formatter.d.ts +48 -0
- package/cli/dist/commands/generate-shot-list/formatter/base-formatter.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/base-formatter.js +113 -0
- package/cli/dist/commands/generate-shot-list/formatter/base-formatter.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/csv-formatter.d.ts +45 -0
- package/cli/dist/commands/generate-shot-list/formatter/csv-formatter.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/csv-formatter.js +110 -0
- package/cli/dist/commands/generate-shot-list/formatter/csv-formatter.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/html-formatter.d.ts +38 -0
- package/cli/dist/commands/generate-shot-list/formatter/html-formatter.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/html-formatter.js +82 -0
- package/cli/dist/commands/generate-shot-list/formatter/html-formatter.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/html-template.d.ts +11 -0
- package/cli/dist/commands/generate-shot-list/formatter/html-template.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/html-template.js +628 -0
- package/cli/dist/commands/generate-shot-list/formatter/html-template.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/index.d.ts +13 -0
- package/cli/dist/commands/generate-shot-list/formatter/index.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/index.js +41 -0
- package/cli/dist/commands/generate-shot-list/formatter/index.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/json-formatter.d.ts +34 -0
- package/cli/dist/commands/generate-shot-list/formatter/json-formatter.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/json-formatter.js +123 -0
- package/cli/dist/commands/generate-shot-list/formatter/json-formatter.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/jsonl-formatter.d.ts +37 -0
- package/cli/dist/commands/generate-shot-list/formatter/jsonl-formatter.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/jsonl-formatter.js +100 -0
- package/cli/dist/commands/generate-shot-list/formatter/jsonl-formatter.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/markdown-formatter.d.ts +34 -0
- package/cli/dist/commands/generate-shot-list/formatter/markdown-formatter.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/markdown-formatter.js +159 -0
- package/cli/dist/commands/generate-shot-list/formatter/markdown-formatter.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/txt-formatter.d.ts +37 -0
- package/cli/dist/commands/generate-shot-list/formatter/txt-formatter.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/txt-formatter.js +125 -0
- package/cli/dist/commands/generate-shot-list/formatter/txt-formatter.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/types.d.ts +75 -0
- package/cli/dist/commands/generate-shot-list/formatter/types.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/formatter/types.js +8 -0
- package/cli/dist/commands/generate-shot-list/formatter/types.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/generator/context-builder.d.ts +55 -0
- package/cli/dist/commands/generate-shot-list/generator/context-builder.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/generator/context-builder.js +168 -0
- package/cli/dist/commands/generate-shot-list/generator/context-builder.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/generator/index.d.ts +40 -0
- package/cli/dist/commands/generate-shot-list/generator/index.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/generator/index.js +168 -0
- package/cli/dist/commands/generate-shot-list/generator/index.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/generator/metadata-extractor.d.ts +46 -0
- package/cli/dist/commands/generate-shot-list/generator/metadata-extractor.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/generator/metadata-extractor.js +170 -0
- package/cli/dist/commands/generate-shot-list/generator/metadata-extractor.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/generator/scene-segmenter.d.ts +49 -0
- package/cli/dist/commands/generate-shot-list/generator/scene-segmenter.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/generator/scene-segmenter.js +130 -0
- package/cli/dist/commands/generate-shot-list/generator/scene-segmenter.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/generator/types.d.ts +118 -0
- package/cli/dist/commands/generate-shot-list/generator/types.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/generator/types.js +8 -0
- package/cli/dist/commands/generate-shot-list/generator/types.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/generator/validator.d.ts +40 -0
- package/cli/dist/commands/generate-shot-list/generator/validator.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/generator/validator.js +117 -0
- package/cli/dist/commands/generate-shot-list/generator/validator.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/help-text.d.ts +11 -0
- package/cli/dist/commands/generate-shot-list/help-text.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/help-text.js +160 -0
- package/cli/dist/commands/generate-shot-list/help-text.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/logger/index.d.ts +25 -0
- package/cli/dist/commands/generate-shot-list/logger/index.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/logger/index.js +98 -0
- package/cli/dist/commands/generate-shot-list/logger/index.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/logger/jsonl-writer.d.ts +43 -0
- package/cli/dist/commands/generate-shot-list/logger/jsonl-writer.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/logger/jsonl-writer.js +123 -0
- package/cli/dist/commands/generate-shot-list/logger/jsonl-writer.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/logger/shot-list-logger.d.ts +43 -0
- package/cli/dist/commands/generate-shot-list/logger/shot-list-logger.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/logger/shot-list-logger.js +142 -0
- package/cli/dist/commands/generate-shot-list/logger/shot-list-logger.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/logger/types.d.ts +145 -0
- package/cli/dist/commands/generate-shot-list/logger/types.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/logger/types.js +8 -0
- package/cli/dist/commands/generate-shot-list/logger/types.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/parser/fountain-parser.d.ts +33 -0
- package/cli/dist/commands/generate-shot-list/parser/fountain-parser.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/parser/fountain-parser.js +249 -0
- package/cli/dist/commands/generate-shot-list/parser/fountain-parser.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/parser/index.d.ts +24 -0
- package/cli/dist/commands/generate-shot-list/parser/index.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/parser/index.js +117 -0
- package/cli/dist/commands/generate-shot-list/parser/index.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/parser/markdown-parser.d.ts +21 -0
- package/cli/dist/commands/generate-shot-list/parser/markdown-parser.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/parser/markdown-parser.js +197 -0
- package/cli/dist/commands/generate-shot-list/parser/markdown-parser.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/parser/plaintext-parser.d.ts +29 -0
- package/cli/dist/commands/generate-shot-list/parser/plaintext-parser.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/parser/plaintext-parser.js +213 -0
- package/cli/dist/commands/generate-shot-list/parser/plaintext-parser.js.map +1 -0
- package/cli/dist/commands/generate-shot-list/parser/types.d.ts +133 -0
- package/cli/dist/commands/generate-shot-list/parser/types.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list/parser/types.js +22 -0
- package/cli/dist/commands/generate-shot-list/parser/types.js.map +1 -0
- package/cli/dist/commands/generate-shot-list.d.ts +13 -0
- package/cli/dist/commands/generate-shot-list.d.ts.map +1 -0
- package/cli/dist/commands/generate-shot-list.js +115 -0
- package/cli/dist/commands/generate-shot-list.js.map +1 -0
- package/cli/dist/index.d.ts +7 -0
- package/cli/dist/index.d.ts.map +1 -0
- package/cli/dist/index.js +10 -0
- package/cli/dist/index.js.map +1 -0
- package/cli/dist/utils/mcp-integration.d.ts +1 -2
- package/cli/dist/utils/mcp-integration.d.ts.map +1 -1
- package/cli/dist/utils/mcp-integration.js +102 -13
- package/cli/dist/utils/mcp-integration.js.map +1 -1
- package/package.json +4 -1
|
@@ -0,0 +1,628 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* HTML Template for Shot List
|
|
4
|
+
*
|
|
5
|
+
* Semantic HTML structure with CSS styling, responsive design, and accessibility
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.SHOT_CARD_TEMPLATE = exports.HTML_TEMPLATE = void 0;
|
|
9
|
+
exports.HTML_TEMPLATE = `<!DOCTYPE html>
|
|
10
|
+
<html lang="en">
|
|
11
|
+
<head>
|
|
12
|
+
<meta charset="UTF-8">
|
|
13
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
14
|
+
<meta name="description" content="AI-Generated Shot List">
|
|
15
|
+
<title>{{TITLE}} - Shot List</title>
|
|
16
|
+
<style>
|
|
17
|
+
/* Reset and Base Styles */
|
|
18
|
+
* {
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: 0;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:root {
|
|
25
|
+
--color-primary: #2563eb;
|
|
26
|
+
--color-success: #10b981;
|
|
27
|
+
--color-warning: #f59e0b;
|
|
28
|
+
--color-danger: #ef4444;
|
|
29
|
+
--color-text: #1f2937;
|
|
30
|
+
--color-text-light: #6b7280;
|
|
31
|
+
--color-border: #e5e7eb;
|
|
32
|
+
--color-bg: #ffffff;
|
|
33
|
+
--color-bg-alt: #f9fafb;
|
|
34
|
+
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
35
|
+
--font-mono: 'Courier New', Courier, monospace;
|
|
36
|
+
--spacing-xs: 0.25rem;
|
|
37
|
+
--spacing-sm: 0.5rem;
|
|
38
|
+
--spacing-md: 1rem;
|
|
39
|
+
--spacing-lg: 1.5rem;
|
|
40
|
+
--spacing-xl: 2rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
body {
|
|
44
|
+
font-family: var(--font-sans);
|
|
45
|
+
color: var(--color-text);
|
|
46
|
+
background: var(--color-bg);
|
|
47
|
+
line-height: 1.6;
|
|
48
|
+
padding: var(--spacing-lg);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Print Styles */
|
|
52
|
+
@media print {
|
|
53
|
+
body {
|
|
54
|
+
padding: 0;
|
|
55
|
+
background: white;
|
|
56
|
+
}
|
|
57
|
+
.no-print {
|
|
58
|
+
display: none !important;
|
|
59
|
+
}
|
|
60
|
+
.shot-card {
|
|
61
|
+
page-break-inside: avoid;
|
|
62
|
+
border: 1px solid #000;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Header */
|
|
67
|
+
.header {
|
|
68
|
+
max-width: 1200px;
|
|
69
|
+
margin: 0 auto var(--spacing-xl);
|
|
70
|
+
padding-bottom: var(--spacing-lg);
|
|
71
|
+
border-bottom: 2px solid var(--color-border);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.header h1 {
|
|
75
|
+
font-size: 2rem;
|
|
76
|
+
margin-bottom: var(--spacing-sm);
|
|
77
|
+
color: var(--color-primary);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.metadata {
|
|
81
|
+
display: grid;
|
|
82
|
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
83
|
+
gap: var(--spacing-md);
|
|
84
|
+
margin-top: var(--spacing-md);
|
|
85
|
+
padding: var(--spacing-md);
|
|
86
|
+
background: var(--color-bg-alt);
|
|
87
|
+
border-radius: 8px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.metadata-item {
|
|
91
|
+
display: flex;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.metadata-label {
|
|
96
|
+
font-size: 0.875rem;
|
|
97
|
+
color: var(--color-text-light);
|
|
98
|
+
font-weight: 600;
|
|
99
|
+
text-transform: uppercase;
|
|
100
|
+
letter-spacing: 0.05em;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.metadata-value {
|
|
104
|
+
font-size: 1.25rem;
|
|
105
|
+
font-weight: 700;
|
|
106
|
+
color: var(--color-text);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* Shot List Container */
|
|
110
|
+
.shot-list {
|
|
111
|
+
max-width: 1200px;
|
|
112
|
+
margin: 0 auto;
|
|
113
|
+
display: grid;
|
|
114
|
+
gap: var(--spacing-lg);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Shot Card */
|
|
118
|
+
.shot-card {
|
|
119
|
+
background: var(--color-bg);
|
|
120
|
+
border: 1px solid var(--color-border);
|
|
121
|
+
border-radius: 8px;
|
|
122
|
+
padding: var(--spacing-lg);
|
|
123
|
+
transition: box-shadow 0.2s ease;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.shot-card:hover {
|
|
127
|
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.shot-header {
|
|
131
|
+
display: flex;
|
|
132
|
+
justify-content: space-between;
|
|
133
|
+
align-items: flex-start;
|
|
134
|
+
margin-bottom: var(--spacing-md);
|
|
135
|
+
padding-bottom: var(--spacing-sm);
|
|
136
|
+
border-bottom: 1px solid var(--color-border);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.shot-number {
|
|
140
|
+
font-size: 1.5rem;
|
|
141
|
+
font-weight: 700;
|
|
142
|
+
color: var(--color-primary);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.shot-duration {
|
|
146
|
+
font-family: var(--font-mono);
|
|
147
|
+
font-size: 0.875rem;
|
|
148
|
+
color: var(--color-text-light);
|
|
149
|
+
background: var(--color-bg-alt);
|
|
150
|
+
padding: var(--spacing-xs) var(--spacing-sm);
|
|
151
|
+
border-radius: 4px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.shot-scene {
|
|
155
|
+
font-size: 1.125rem;
|
|
156
|
+
font-weight: 600;
|
|
157
|
+
margin-bottom: var(--spacing-sm);
|
|
158
|
+
color: var(--color-text);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.shot-description {
|
|
162
|
+
font-size: 1rem;
|
|
163
|
+
line-height: 1.8;
|
|
164
|
+
margin-bottom: var(--spacing-md);
|
|
165
|
+
padding: var(--spacing-md);
|
|
166
|
+
background: var(--color-bg-alt);
|
|
167
|
+
border-radius: 4px;
|
|
168
|
+
min-height: 3em;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Editable fields */
|
|
172
|
+
[contenteditable="true"] {
|
|
173
|
+
outline: 2px solid transparent;
|
|
174
|
+
transition: outline-color 0.2s ease;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
[contenteditable="true"]:focus {
|
|
178
|
+
outline-color: var(--color-primary);
|
|
179
|
+
background: white;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
[contenteditable="true"]:hover {
|
|
183
|
+
outline-color: var(--color-border);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* Character Counter */
|
|
187
|
+
.char-counter {
|
|
188
|
+
display: flex;
|
|
189
|
+
align-items: center;
|
|
190
|
+
gap: var(--spacing-sm);
|
|
191
|
+
font-size: 0.875rem;
|
|
192
|
+
margin-top: var(--spacing-sm);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.char-count {
|
|
196
|
+
font-family: var(--font-mono);
|
|
197
|
+
font-weight: 600;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.char-count.success {
|
|
201
|
+
color: var(--color-success);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.char-count.warning {
|
|
205
|
+
color: var(--color-warning);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.char-count.danger {
|
|
209
|
+
color: var(--color-danger);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.char-progress {
|
|
213
|
+
flex: 1;
|
|
214
|
+
height: 8px;
|
|
215
|
+
background: var(--color-border);
|
|
216
|
+
border-radius: 4px;
|
|
217
|
+
overflow: hidden;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.char-progress-bar {
|
|
221
|
+
height: 100%;
|
|
222
|
+
transition: width 0.3s ease, background-color 0.3s ease;
|
|
223
|
+
border-radius: 4px;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.char-progress-bar.success {
|
|
227
|
+
background: var(--color-success);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.char-progress-bar.warning {
|
|
231
|
+
background: var(--color-warning);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.char-progress-bar.danger {
|
|
235
|
+
background: var(--color-danger);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* Responsive Design */
|
|
239
|
+
@media (max-width: 768px) {
|
|
240
|
+
body {
|
|
241
|
+
padding: var(--spacing-sm);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.header h1 {
|
|
245
|
+
font-size: 1.5rem;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.metadata {
|
|
249
|
+
grid-template-columns: 1fr;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.shot-header {
|
|
253
|
+
flex-direction: column;
|
|
254
|
+
gap: var(--spacing-sm);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/* Accessibility */
|
|
259
|
+
.sr-only {
|
|
260
|
+
position: absolute;
|
|
261
|
+
width: 1px;
|
|
262
|
+
height: 1px;
|
|
263
|
+
padding: 0;
|
|
264
|
+
margin: -1px;
|
|
265
|
+
overflow: hidden;
|
|
266
|
+
clip: rect(0, 0, 0, 0);
|
|
267
|
+
white-space: nowrap;
|
|
268
|
+
border-width: 0;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* Utility Classes */
|
|
272
|
+
.text-muted {
|
|
273
|
+
color: var(--color-text-light);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.font-mono {
|
|
277
|
+
font-family: var(--font-mono);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/* Toolbar Styles */
|
|
281
|
+
.toolbar {
|
|
282
|
+
display: flex;
|
|
283
|
+
gap: var(--spacing-md);
|
|
284
|
+
margin-top: var(--spacing-lg);
|
|
285
|
+
padding: var(--spacing-md);
|
|
286
|
+
background: var(--color-bg-alt);
|
|
287
|
+
border-radius: 8px;
|
|
288
|
+
flex-wrap: wrap;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.btn {
|
|
292
|
+
padding: var(--spacing-sm) var(--spacing-lg);
|
|
293
|
+
border: none;
|
|
294
|
+
border-radius: 6px;
|
|
295
|
+
font-size: 0.875rem;
|
|
296
|
+
font-weight: 600;
|
|
297
|
+
cursor: pointer;
|
|
298
|
+
transition: all 0.2s ease;
|
|
299
|
+
display: inline-flex;
|
|
300
|
+
align-items: center;
|
|
301
|
+
gap: var(--spacing-xs);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.btn:hover {
|
|
305
|
+
transform: translateY(-1px);
|
|
306
|
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.btn:active {
|
|
310
|
+
transform: translateY(0);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.btn-primary {
|
|
314
|
+
background: var(--color-primary);
|
|
315
|
+
color: white;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.btn-primary:hover {
|
|
319
|
+
background: #1d4ed8;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.btn-success {
|
|
323
|
+
background: var(--color-success);
|
|
324
|
+
color: white;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.btn-success:hover {
|
|
328
|
+
background: #059669;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.btn-secondary {
|
|
332
|
+
background: var(--color-text-light);
|
|
333
|
+
color: white;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.btn-secondary:hover {
|
|
337
|
+
background: #4b5563;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.toast {
|
|
341
|
+
position: fixed;
|
|
342
|
+
bottom: var(--spacing-xl);
|
|
343
|
+
right: var(--spacing-xl);
|
|
344
|
+
padding: var(--spacing-md) var(--spacing-lg);
|
|
345
|
+
background: var(--color-success);
|
|
346
|
+
color: white;
|
|
347
|
+
border-radius: 8px;
|
|
348
|
+
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
|
|
349
|
+
opacity: 0;
|
|
350
|
+
transform: translateY(20px);
|
|
351
|
+
transition: all 0.3s ease;
|
|
352
|
+
z-index: 1000;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.toast.show {
|
|
356
|
+
opacity: 1;
|
|
357
|
+
transform: translateY(0);
|
|
358
|
+
}
|
|
359
|
+
</style>
|
|
360
|
+
</head>
|
|
361
|
+
<body>
|
|
362
|
+
<header class="header" role="banner">
|
|
363
|
+
<h1>{{TITLE}}</h1>
|
|
364
|
+
<p class="text-muted">{{SUBTITLE}}</p>
|
|
365
|
+
|
|
366
|
+
<div class="metadata" role="region" aria-label="Shot list metadata">
|
|
367
|
+
<div class="metadata-item">
|
|
368
|
+
<span class="metadata-label">Total Shots</span>
|
|
369
|
+
<span class="metadata-value" id="total-shots">{{TOTAL_SHOTS}}</span>
|
|
370
|
+
</div>
|
|
371
|
+
<div class="metadata-item">
|
|
372
|
+
<span class="metadata-label">Total Duration</span>
|
|
373
|
+
<span class="metadata-value" id="total-duration">{{TOTAL_DURATION}}</span>
|
|
374
|
+
</div>
|
|
375
|
+
<div class="metadata-item">
|
|
376
|
+
<span class="metadata-label">Total Characters</span>
|
|
377
|
+
<span class="metadata-value" id="total-characters">{{TOTAL_CHARACTERS}}</span>
|
|
378
|
+
</div>
|
|
379
|
+
<div class="metadata-item">
|
|
380
|
+
<span class="metadata-label">Generated</span>
|
|
381
|
+
<span class="metadata-value font-mono">{{GENERATED_DATE}}</span>
|
|
382
|
+
</div>
|
|
383
|
+
</div>
|
|
384
|
+
|
|
385
|
+
<!-- Toolbar (hidden when printing) -->
|
|
386
|
+
<div class="toolbar no-print" role="toolbar" aria-label="Shot list actions">
|
|
387
|
+
<button class="btn btn-primary" onclick="saveAsHTML()" aria-label="Download as HTML">
|
|
388
|
+
💾 Download HTML
|
|
389
|
+
</button>
|
|
390
|
+
<button class="btn btn-success" onclick="copyToClipboard()" aria-label="Copy to clipboard">
|
|
391
|
+
📋 Copy to Clipboard
|
|
392
|
+
</button>
|
|
393
|
+
<button class="btn btn-secondary" onclick="exportAsJSON()" aria-label="Export as JSON">
|
|
394
|
+
📄 Export JSON
|
|
395
|
+
</button>
|
|
396
|
+
</div>
|
|
397
|
+
</header>
|
|
398
|
+
|
|
399
|
+
<main class="shot-list" role="main" aria-label="Shot list">
|
|
400
|
+
{{SHOTS}}
|
|
401
|
+
</main>
|
|
402
|
+
|
|
403
|
+
<!-- Toast notification -->
|
|
404
|
+
<div id="toast" class="toast no-print" role="status" aria-live="polite"></div>
|
|
405
|
+
|
|
406
|
+
<script>
|
|
407
|
+
// Character counter functionality
|
|
408
|
+
function updateCharacterCount(element, maxChars = 400) {
|
|
409
|
+
const shotCard = element.closest('.shot-card');
|
|
410
|
+
const counter = shotCard.querySelector('.char-count');
|
|
411
|
+
const progressBar = shotCard.querySelector('.char-progress-bar');
|
|
412
|
+
|
|
413
|
+
const text = element.textContent || '';
|
|
414
|
+
const charCount = text.length;
|
|
415
|
+
const percentage = (charCount / maxChars) * 100;
|
|
416
|
+
|
|
417
|
+
// Update counter text
|
|
418
|
+
counter.textContent = \`\${charCount} / \${maxChars}\`;
|
|
419
|
+
|
|
420
|
+
// Update progress bar
|
|
421
|
+
progressBar.style.width = \`\${Math.min(percentage, 100)}%\`;
|
|
422
|
+
|
|
423
|
+
// Update color based on percentage
|
|
424
|
+
// Green: <90% (safe), Yellow: 90-99% (warning), Red: ≥100% (error)
|
|
425
|
+
counter.classList.remove('success', 'warning', 'danger');
|
|
426
|
+
progressBar.classList.remove('success', 'warning', 'danger');
|
|
427
|
+
|
|
428
|
+
if (percentage < 90) {
|
|
429
|
+
counter.classList.add('success');
|
|
430
|
+
progressBar.classList.add('success');
|
|
431
|
+
} else if (percentage < 100) {
|
|
432
|
+
counter.classList.add('warning');
|
|
433
|
+
progressBar.classList.add('warning');
|
|
434
|
+
} else {
|
|
435
|
+
counter.classList.add('danger');
|
|
436
|
+
progressBar.classList.add('danger');
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
// Update total character count
|
|
440
|
+
updateTotalCharacters();
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
// Update total character count across all shots
|
|
444
|
+
function updateTotalCharacters() {
|
|
445
|
+
const descriptions = document.querySelectorAll('.shot-description[contenteditable="true"]');
|
|
446
|
+
let total = 0;
|
|
447
|
+
descriptions.forEach(desc => {
|
|
448
|
+
total += (desc.textContent || '').length;
|
|
449
|
+
});
|
|
450
|
+
document.getElementById('total-characters').textContent = total.toLocaleString();
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// Initialize character counters
|
|
454
|
+
document.addEventListener('DOMContentLoaded', () => {
|
|
455
|
+
const editableFields = document.querySelectorAll('.shot-description[contenteditable="true"]');
|
|
456
|
+
|
|
457
|
+
editableFields.forEach(field => {
|
|
458
|
+
const maxChars = parseInt(field.dataset.maxChars || '400', 10);
|
|
459
|
+
|
|
460
|
+
// Initial count
|
|
461
|
+
updateCharacterCount(field, maxChars);
|
|
462
|
+
|
|
463
|
+
// Update on input
|
|
464
|
+
field.addEventListener('input', () => {
|
|
465
|
+
updateCharacterCount(field, maxChars);
|
|
466
|
+
});
|
|
467
|
+
});
|
|
468
|
+
});
|
|
469
|
+
|
|
470
|
+
// Save functionality
|
|
471
|
+
function saveAsHTML() {
|
|
472
|
+
try {
|
|
473
|
+
// Get the entire HTML document
|
|
474
|
+
const htmlContent = document.documentElement.outerHTML;
|
|
475
|
+
|
|
476
|
+
// Create a blob with the HTML content
|
|
477
|
+
const blob = new Blob([htmlContent], { type: 'text/html;charset=utf-8' });
|
|
478
|
+
|
|
479
|
+
// Create a download link
|
|
480
|
+
const link = document.createElement('a');
|
|
481
|
+
const title = document.querySelector('h1').textContent.trim();
|
|
482
|
+
const filename = \`\${title.replace(/[^a-z0-9]/gi, '-').toLowerCase()}-shot-list.html\`;
|
|
483
|
+
|
|
484
|
+
link.href = URL.createObjectURL(blob);
|
|
485
|
+
link.download = filename;
|
|
486
|
+
|
|
487
|
+
// Trigger download
|
|
488
|
+
document.body.appendChild(link);
|
|
489
|
+
link.click();
|
|
490
|
+
document.body.removeChild(link);
|
|
491
|
+
|
|
492
|
+
// Clean up
|
|
493
|
+
URL.revokeObjectURL(link.href);
|
|
494
|
+
|
|
495
|
+
showToast('✅ HTML file downloaded successfully!');
|
|
496
|
+
} catch (error) {
|
|
497
|
+
showToast('❌ Error downloading HTML: ' + error.message, 'error');
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
function copyToClipboard() {
|
|
502
|
+
try {
|
|
503
|
+
// Get the entire HTML document
|
|
504
|
+
const htmlContent = document.documentElement.outerHTML;
|
|
505
|
+
|
|
506
|
+
// Copy to clipboard using the Clipboard API
|
|
507
|
+
navigator.clipboard.writeText(htmlContent).then(() => {
|
|
508
|
+
showToast('✅ HTML copied to clipboard!');
|
|
509
|
+
}).catch(err => {
|
|
510
|
+
// Fallback for older browsers
|
|
511
|
+
const textarea = document.createElement('textarea');
|
|
512
|
+
textarea.value = htmlContent;
|
|
513
|
+
textarea.style.position = 'fixed';
|
|
514
|
+
textarea.style.opacity = '0';
|
|
515
|
+
document.body.appendChild(textarea);
|
|
516
|
+
textarea.select();
|
|
517
|
+
document.execCommand('copy');
|
|
518
|
+
document.body.removeChild(textarea);
|
|
519
|
+
showToast('✅ HTML copied to clipboard!');
|
|
520
|
+
});
|
|
521
|
+
} catch (error) {
|
|
522
|
+
showToast('❌ Error copying to clipboard: ' + error.message, 'error');
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
function exportAsJSON() {
|
|
527
|
+
try {
|
|
528
|
+
// Extract shot data from the DOM
|
|
529
|
+
const shots = [];
|
|
530
|
+
const shotCards = document.querySelectorAll('.shot-card');
|
|
531
|
+
|
|
532
|
+
shotCards.forEach(card => {
|
|
533
|
+
const shotNumber = card.querySelector('.shot-number').textContent.trim();
|
|
534
|
+
const duration = card.querySelector('.shot-duration').textContent.trim();
|
|
535
|
+
const sceneHeading = card.querySelector('.shot-scene').textContent.trim();
|
|
536
|
+
const description = card.querySelector('.shot-description').textContent.trim();
|
|
537
|
+
const charCount = card.querySelector('.char-count').textContent.split('/')[0].trim();
|
|
538
|
+
|
|
539
|
+
shots.push({
|
|
540
|
+
shotNumber,
|
|
541
|
+
duration,
|
|
542
|
+
sceneHeading,
|
|
543
|
+
description,
|
|
544
|
+
characterCount: parseInt(charCount, 10)
|
|
545
|
+
});
|
|
546
|
+
});
|
|
547
|
+
|
|
548
|
+
const data = {
|
|
549
|
+
title: document.querySelector('h1').textContent.trim(),
|
|
550
|
+
subtitle: document.querySelector('.text-muted').textContent.trim(),
|
|
551
|
+
totalShots: document.getElementById('total-shots').textContent.trim(),
|
|
552
|
+
totalDuration: document.getElementById('total-duration').textContent.trim(),
|
|
553
|
+
totalCharacters: document.getElementById('total-characters').textContent.trim(),
|
|
554
|
+
generatedDate: document.querySelector('.metadata-value.font-mono').textContent.trim(),
|
|
555
|
+
shots
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
// Create JSON blob
|
|
559
|
+
const blob = new Blob([JSON.stringify(data, null, 2)], { type: 'application/json' });
|
|
560
|
+
|
|
561
|
+
// Create download link
|
|
562
|
+
const link = document.createElement('a');
|
|
563
|
+
const filename = \`\${data.title.replace(/[^a-z0-9]/gi, '-').toLowerCase()}-shot-list.json\`;
|
|
564
|
+
|
|
565
|
+
link.href = URL.createObjectURL(blob);
|
|
566
|
+
link.download = filename;
|
|
567
|
+
|
|
568
|
+
// Trigger download
|
|
569
|
+
document.body.appendChild(link);
|
|
570
|
+
link.click();
|
|
571
|
+
document.body.removeChild(link);
|
|
572
|
+
|
|
573
|
+
// Clean up
|
|
574
|
+
URL.revokeObjectURL(link.href);
|
|
575
|
+
|
|
576
|
+
showToast('✅ JSON file exported successfully!');
|
|
577
|
+
} catch (error) {
|
|
578
|
+
showToast('❌ Error exporting JSON: ' + error.message, 'error');
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
function showToast(message, type = 'success') {
|
|
583
|
+
const toast = document.getElementById('toast');
|
|
584
|
+
toast.textContent = message;
|
|
585
|
+
toast.style.background = type === 'error' ? 'var(--color-danger)' : 'var(--color-success)';
|
|
586
|
+
toast.classList.add('show');
|
|
587
|
+
|
|
588
|
+
setTimeout(() => {
|
|
589
|
+
toast.classList.remove('show');
|
|
590
|
+
}, 3000);
|
|
591
|
+
}
|
|
592
|
+
</script>
|
|
593
|
+
</body>
|
|
594
|
+
</html>`;
|
|
595
|
+
/**
|
|
596
|
+
* Shot card template
|
|
597
|
+
*/
|
|
598
|
+
exports.SHOT_CARD_TEMPLATE = `
|
|
599
|
+
<article class="shot-card" role="article" aria-labelledby="shot-{{SHOT_NUMBER}}-title">
|
|
600
|
+
<div class="shot-header">
|
|
601
|
+
<h2 class="shot-number" id="shot-{{SHOT_NUMBER}}-title">
|
|
602
|
+
<span class="sr-only">Shot</span> {{SHOT_NUMBER}}
|
|
603
|
+
</h2>
|
|
604
|
+
<span class="shot-duration" aria-label="Duration">{{DURATION}}</span>
|
|
605
|
+
</div>
|
|
606
|
+
|
|
607
|
+
<div class="shot-scene" aria-label="Scene heading">
|
|
608
|
+
{{SCENE_HEADING}}
|
|
609
|
+
</div>
|
|
610
|
+
|
|
611
|
+
<div
|
|
612
|
+
class="shot-description"
|
|
613
|
+
contenteditable="true"
|
|
614
|
+
role="textbox"
|
|
615
|
+
aria-label="Shot description (editable)"
|
|
616
|
+
aria-multiline="true"
|
|
617
|
+
data-max-chars="{{MAX_CHARS}}"
|
|
618
|
+
>{{DESCRIPTION}}</div>
|
|
619
|
+
|
|
620
|
+
<div class="char-counter" aria-live="polite">
|
|
621
|
+
<span class="char-count success">{{CHAR_COUNT}} / {{MAX_CHARS}}</span>
|
|
622
|
+
<div class="char-progress" role="progressbar" aria-valuenow="{{CHAR_PERCENTAGE}}" aria-valuemin="0" aria-valuemax="100">
|
|
623
|
+
<div class="char-progress-bar success" style="width: {{CHAR_PERCENTAGE}}%"></div>
|
|
624
|
+
</div>
|
|
625
|
+
</div>
|
|
626
|
+
</article>
|
|
627
|
+
`;
|
|
628
|
+
//# sourceMappingURL=html-template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-template.js","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/formatter/html-template.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEU,QAAA,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAykBrB,CAAC;AAET;;GAEG;AACU,QAAA,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BjC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shot List Formatter
|
|
3
|
+
*
|
|
4
|
+
* Main orchestration for formatting shot lists to various output formats
|
|
5
|
+
*/
|
|
6
|
+
import { OutputFormat, Formatter } from './types';
|
|
7
|
+
import { BaseFormatter, timeFormatter, textWrapper } from './base-formatter';
|
|
8
|
+
export { BaseFormatter, timeFormatter, textWrapper };
|
|
9
|
+
/**
|
|
10
|
+
* Formatter factory
|
|
11
|
+
*/
|
|
12
|
+
export declare function createFormatter(format: OutputFormat): Formatter;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/formatter/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAS7E,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC;AAErD;;GAEG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,CAiB/D"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Shot List Formatter
|
|
4
|
+
*
|
|
5
|
+
* Main orchestration for formatting shot lists to various output formats
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.textWrapper = exports.timeFormatter = exports.BaseFormatter = void 0;
|
|
9
|
+
exports.createFormatter = createFormatter;
|
|
10
|
+
const base_formatter_1 = require("./base-formatter");
|
|
11
|
+
Object.defineProperty(exports, "BaseFormatter", { enumerable: true, get: function () { return base_formatter_1.BaseFormatter; } });
|
|
12
|
+
Object.defineProperty(exports, "timeFormatter", { enumerable: true, get: function () { return base_formatter_1.timeFormatter; } });
|
|
13
|
+
Object.defineProperty(exports, "textWrapper", { enumerable: true, get: function () { return base_formatter_1.textWrapper; } });
|
|
14
|
+
const html_formatter_1 = require("./html-formatter");
|
|
15
|
+
const markdown_formatter_1 = require("./markdown-formatter");
|
|
16
|
+
const json_formatter_1 = require("./json-formatter");
|
|
17
|
+
const jsonl_formatter_1 = require("./jsonl-formatter");
|
|
18
|
+
const csv_formatter_1 = require("./csv-formatter");
|
|
19
|
+
const txt_formatter_1 = require("./txt-formatter");
|
|
20
|
+
/**
|
|
21
|
+
* Formatter factory
|
|
22
|
+
*/
|
|
23
|
+
function createFormatter(format) {
|
|
24
|
+
switch (format) {
|
|
25
|
+
case 'md':
|
|
26
|
+
return new markdown_formatter_1.MarkdownFormatter();
|
|
27
|
+
case 'json':
|
|
28
|
+
return new json_formatter_1.JSONFormatter();
|
|
29
|
+
case 'jsonl':
|
|
30
|
+
return new jsonl_formatter_1.JSONLFormatter();
|
|
31
|
+
case 'csv':
|
|
32
|
+
return new csv_formatter_1.CSVFormatter();
|
|
33
|
+
case 'txt':
|
|
34
|
+
return new txt_formatter_1.TXTFormatter();
|
|
35
|
+
case 'html':
|
|
36
|
+
return new html_formatter_1.HTMLFormatter();
|
|
37
|
+
default:
|
|
38
|
+
throw new Error(`Unsupported format: ${format}`);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/commands/generate-shot-list/formatter/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAiBH,0CAiBC;AA/BD,qDAA6E;AASpE,8FATA,8BAAa,OASA;AAAE,8FATA,8BAAa,OASA;AAAE,4FATA,4BAAW,OASA;AARlD,qDAAiD;AACjD,6DAAyD;AACzD,qDAAiD;AACjD,uDAAmD;AACnD,mDAA+C;AAC/C,mDAA+C;AAK/C;;GAEG;AACH,SAAgB,eAAe,CAAC,MAAoB;IAClD,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,IAAI;YACP,OAAO,IAAI,sCAAiB,EAAE,CAAC;QACjC,KAAK,MAAM;YACT,OAAO,IAAI,8BAAa,EAAE,CAAC;QAC7B,KAAK,OAAO;YACV,OAAO,IAAI,gCAAc,EAAE,CAAC;QAC9B,KAAK,KAAK;YACR,OAAO,IAAI,4BAAY,EAAE,CAAC;QAC5B,KAAK,KAAK;YACR,OAAO,IAAI,4BAAY,EAAE,CAAC;QAC5B,KAAK,MAAM;YACT,OAAO,IAAI,8BAAa,EAAE,CAAC;QAC7B;YACE,MAAM,IAAI,KAAK,CAAC,uBAAuB,MAAM,EAAE,CAAC,CAAC;IACrD,CAAC;AACH,CAAC"}
|