decklight 0.8.0 → 0.9.0

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 (133) hide show
  1. package/PLATFORM.md +666 -0
  2. package/README.md +224 -150
  3. package/SPEC.md +732 -886
  4. package/cli/agent-review.mjs +245 -0
  5. package/cli/agents.mjs +25 -5
  6. package/cli/associate.mjs +12 -12
  7. package/cli/audit.mjs +42 -10
  8. package/cli/banner.mjs +41 -17
  9. package/cli/bundle-audio.mjs +183 -0
  10. package/cli/bundle.mjs +383 -31
  11. package/cli/cast.mjs +7 -7
  12. package/cli/check.mjs +961 -0
  13. package/cli/clone-deck.mjs +179 -0
  14. package/cli/commands.mjs +345 -0
  15. package/cli/comments.mjs +64 -18
  16. package/cli/commit-flow.mjs +44 -19
  17. package/cli/commit-message.mjs +51 -74
  18. package/cli/commit-split.mjs +601 -0
  19. package/cli/deck-refs.mjs +59 -0
  20. package/cli/deck-routes.mjs +67 -0
  21. package/cli/deckfile.mjs +3 -5
  22. package/cli/decklight.mjs +68 -289
  23. package/cli/design-system-deps.mjs +209 -0
  24. package/cli/design-system-edit.mjs +194 -0
  25. package/cli/design-system-refs.mjs +409 -0
  26. package/cli/design-system.mjs +429 -0
  27. package/cli/doctor.mjs +115 -0
  28. package/cli/edit-git.mjs +353 -0
  29. package/cli/edit-handover.mjs +445 -0
  30. package/cli/edit-look.mjs +388 -0
  31. package/cli/edit-slides.mjs +683 -0
  32. package/cli/edit.mjs +2126 -842
  33. package/cli/enhance.mjs +483 -0
  34. package/cli/extension.mjs +10 -10
  35. package/cli/font-refs.mjs +273 -0
  36. package/cli/font.mjs +246 -0
  37. package/cli/git-tree.mjs +1 -1
  38. package/cli/git.mjs +65 -11
  39. package/cli/import.mjs +56 -10
  40. package/cli/init.mjs +400 -234
  41. package/cli/library.mjs +127 -0
  42. package/cli/loader.mjs +3 -1
  43. package/cli/marketplace.mjs +215 -21
  44. package/cli/narrate.mjs +176 -0
  45. package/cli/open-browser.mjs +63 -0
  46. package/cli/open.mjs +943 -0
  47. package/cli/pdf.mjs +41 -13
  48. package/cli/pkg.mjs +44 -2
  49. package/cli/plugin.mjs +43 -41
  50. package/cli/port-conflict.mjs +53 -23
  51. package/cli/pptx-export.mjs +71 -26
  52. package/cli/publish.mjs +8 -4
  53. package/cli/qr.mjs +1 -1
  54. package/cli/record.mjs +14 -12
  55. package/cli/remote.mjs +11 -11
  56. package/cli/restore.mjs +11 -4
  57. package/cli/review-ref.mjs +125 -0
  58. package/cli/review-remote.mjs +92 -48
  59. package/cli/review-routes.mjs +254 -0
  60. package/cli/review-store.mjs +47 -7
  61. package/cli/review-submit.mjs +47 -57
  62. package/cli/runtime-link.mjs +560 -0
  63. package/cli/serve.mjs +235 -44
  64. package/cli/setup.mjs +112 -0
  65. package/cli/sign.mjs +1 -1
  66. package/cli/skill-content.mjs +190 -33
  67. package/cli/skills.mjs +107 -24
  68. package/cli/start.mjs +110 -0
  69. package/cli/supervise.mjs +6 -6
  70. package/cli/theme-refs.mjs +515 -0
  71. package/cli/theme.mjs +181 -137
  72. package/cli/trust.mjs +83 -0
  73. package/cli/units.mjs +39 -42
  74. package/cli/update-check.mjs +1 -5
  75. package/cli/upgrade.mjs +194 -28
  76. package/cli/upstream.mjs +4 -3
  77. package/cli/util.mjs +4 -4
  78. package/cli/wizard.mjs +6 -6
  79. package/dist/build-info.json +1 -1
  80. package/dist/decklight.css +1126 -49
  81. package/dist/decklight.js +212 -115
  82. package/dist/decklight.js.map +4 -4
  83. package/docs/GLOSSARY.md +141 -0
  84. package/docs/architecture.svg +17 -17
  85. package/package.json +4 -2
  86. package/themes/README.md +9 -8
  87. package/themes/reveal-solarized.css +10 -0
  88. package/tools/args.mjs +20 -0
  89. package/tools/atomic-write.mjs +48 -0
  90. package/tools/brand-palette.mjs +717 -0
  91. package/tools/bridge.mjs +1 -1
  92. package/tools/build-groups.mjs +42 -0
  93. package/tools/color.mjs +48 -0
  94. package/tools/deck-html.mjs +396 -11
  95. package/tools/design-system-format.mjs +753 -0
  96. package/tools/elevenlabs-tts.mjs +110 -17
  97. package/tools/exec.mjs +35 -2
  98. package/tools/extension-check.mjs +31 -7
  99. package/tools/font-format.mjs +190 -0
  100. package/tools/font-stacks.mjs +24 -0
  101. package/tools/gemini-tts.mjs +3 -0
  102. package/tools/lipsync-config.mjs +103 -0
  103. package/tools/lipsync-engines.mjs +205 -2
  104. package/tools/lipsync-server.mjs +264 -41
  105. package/tools/lipsync.mjs +37 -18
  106. package/tools/local-voice.mjs +32 -42
  107. package/tools/narration-manifest.mjs +196 -0
  108. package/tools/narration-synth.mjs +416 -0
  109. package/tools/pptx.mjs +776 -19
  110. package/tools/publish-targets.mjs +1 -1
  111. package/tools/publish-voices.mjs +3 -3
  112. package/tools/recording-impact.mjs +7 -3
  113. package/tools/render-theme.mjs +33 -0
  114. package/tools/review-anchor.mjs +28 -12
  115. package/tools/semver.mjs +40 -0
  116. package/tools/sentences.mjs +180 -0
  117. package/tools/shot.mjs +14 -7
  118. package/tools/site-voices.mjs +232 -0
  119. package/tools/template-theme.mjs +1 -1
  120. package/tools/test-impact.mjs +19 -10
  121. package/tools/theme-check.mjs +30 -3
  122. package/tools/tts-cache.mjs +4 -3
  123. package/tools/tts-engines.mjs +38 -20
  124. package/tools/tts-setup.mjs +7 -7
  125. package/tools/video-options.mjs +34 -0
  126. package/tools/video.mjs +461 -48
  127. package/tools/voiceover-server.mjs +185 -104
  128. package/tools/voiceover.mjs +119 -261
  129. package/tools/zip.mjs +1 -1
  130. package/cli/dev.mjs +0 -623
  131. package/cli/present.mjs +0 -853
  132. package/cli/review.mjs +0 -361
  133. package/tools/publish-site-voices.mjs +0 -75
package/cli/wizard.mjs CHANGED
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * **Core renders; a plugin only declares.** A plugin supplies a schema —
16
16
  * questions, field types, a validation endpoint — and never paints UI into the
17
- * deck. That is not a stylistic preference. "The wizard only appears in author
17
+ * deck. That is not a stylistic preference. "The wizard only appears in write mode
18
18
  * mode" has to be *enforceable*, and it stops being enforceable the moment a
19
19
  * plugin can put arbitrary markup on a slide: whatever rule core writes, the
20
20
  * plugin's own HTML is the thing that would have to honour it. So the field
@@ -23,7 +23,7 @@
23
23
  *
24
24
  * ## Credentials
25
25
  *
26
- * Pasted in the player, posted to the author server, and stored under the
26
+ * Pasted in the player, posted to the edit server, and stored under the
27
27
  * config home RESTRICTED TO THE ACCOUNT THAT PASTED THEM — `0600` on POSIX,
28
28
  * and on Windows an explicit ACL granting only that user, because `0600` there
29
29
  * is a number with no meaning and inheriting whatever the profile hands out is
@@ -32,12 +32,12 @@
32
32
  * BACK rather than repeating what the write intended: the one thing worse than
33
33
  * a key with weak permissions is a key with weak permissions and a CLI saying
34
34
  * otherwise. Loopback-only by construction rather than by check: the author
35
- * server refuses every `/edit/*` mutation off-loopback unconditionally
35
+ * server refuses every `/deck/edit/*` mutation off-loopback unconditionally
36
36
  * (`allowRemote`), flag or no flag. Never logged, never written into the deck,
37
37
  * never picked up by `bundle` — a key that reached a deck would travel with it.
38
38
  *
39
39
  * A credential prompt in a deck you were *emailed* is a phishing primitive, so
40
- * `present` registers none of this and a bundled deck has nothing to post to.
40
+ * `--no-trust` registers none of this and a bundled deck has nothing to post to.
41
41
  *
42
42
  * And the prompt itself names its asker and its destination (#232): every
43
43
  * string a schema puts on screen — the title, each field's label — was written
@@ -73,7 +73,7 @@ const NAME_RE = /^[A-Za-z][\w-]{0,63}$/;
73
73
  * Validate a plugin's declared wizard, returning a normalized copy.
74
74
  *
75
75
  * Deliberately strict, and deliberately explicit about *why* each rejection
76
- * happens: a plugin author reading the error should be able to fix the schema
76
+ * happens: a plugin write mode reading the error should be able to fix the schema
77
77
  * without reading this file. Unknown keys are refused rather than ignored —
78
78
  * silently dropping a key a plugin thought was doing something is how a plugin
79
79
  * ends up shipping a wizard that asks for less than its author believed.
@@ -260,7 +260,7 @@ export const BRIDGE_ADDR = '127.0.0.1:8787';
260
260
  * untrusted party chose the question and the recipient. So the card also says
261
261
  * who is asking and where the answer goes, in words the plugin did not write:
262
262
  * `qualified` is the entry's registry name (`name@marketplace`, resolved by
263
- * the author server from the catalog, never read from the schema), and the
263
+ * the edit server from the catalog, never read from the schema), and the
264
264
  * destination is derived from the *vetted* schema's endpoint declarations.
265
265
  * One function so the wording exists once; the player prints both strings
266
266
  * verbatim (as text, never markup) and refuses a schema that lacks them.
@@ -1 +1 @@
1
- {"tag":"0.8.0","commits":0,"commit":"56f6289","dirty":false}
1
+ {"tag":"0.9.0","commits":0,"commit":"a3046d2","dirty":false}