decklight 0.1.0 → 0.3.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 (139) hide show
  1. package/LICENSE +202 -21
  2. package/README.md +105 -183
  3. package/SPEC.md +861 -74
  4. package/cli/agents.mjs +206 -0
  5. package/cli/associate.mjs +279 -0
  6. package/cli/audit.mjs +424 -0
  7. package/cli/bundle.mjs +210 -45
  8. package/cli/deckfile.mjs +233 -0
  9. package/cli/decklight.mjs +216 -5
  10. package/cli/dev.mjs +455 -0
  11. package/cli/edit.mjs +733 -63
  12. package/cli/extension.mjs +108 -0
  13. package/cli/git.mjs +141 -0
  14. package/cli/import.mjs +398 -0
  15. package/cli/init.mjs +465 -121
  16. package/cli/loader.mjs +263 -0
  17. package/cli/marketplace.mjs +730 -0
  18. package/cli/pdf.mjs +156 -0
  19. package/cli/pkg.mjs +69 -0
  20. package/cli/plugin.mjs +646 -0
  21. package/cli/port-conflict.mjs +94 -0
  22. package/cli/present.mjs +560 -0
  23. package/cli/publish.mjs +342 -0
  24. package/cli/qr.mjs +334 -0
  25. package/cli/rec.mjs +12 -8
  26. package/cli/remote.mjs +149 -0
  27. package/cli/report-bug.mjs +97 -0
  28. package/cli/restore.mjs +174 -0
  29. package/cli/serve.mjs +247 -0
  30. package/cli/sign.mjs +216 -0
  31. package/cli/skill-content.mjs +222 -0
  32. package/cli/skills.mjs +338 -0
  33. package/cli/supervise.mjs +57 -0
  34. package/cli/theme.mjs +201 -0
  35. package/cli/units.mjs +488 -0
  36. package/cli/upgrade.mjs +250 -0
  37. package/cli/util.mjs +90 -0
  38. package/cli/wizard.mjs +432 -0
  39. package/cli/zip.mjs +121 -0
  40. package/dist/decklight.css +949 -72
  41. package/dist/decklight.js +220 -103
  42. package/dist/decklight.js.map +4 -4
  43. package/docs/architecture.svg +1 -1
  44. package/package.json +9 -6
  45. package/themes/README.md +6 -4
  46. package/themes/aurora.css +4 -1
  47. package/themes/berry.css +4 -1
  48. package/themes/carbon.css +4 -1
  49. package/themes/citrus.css +4 -1
  50. package/themes/coastal.css +4 -1
  51. package/themes/cosmos.css +4 -1
  52. package/themes/dune.css +4 -1
  53. package/themes/eclipse.css +4 -1
  54. package/themes/ember.css +4 -1
  55. package/themes/fjord.css +4 -1
  56. package/themes/gallery.html +3 -11
  57. package/themes/glacier.css +4 -1
  58. package/themes/graphite.css +4 -1
  59. package/themes/harvest.css +4 -1
  60. package/themes/ibm-modern.css +4 -1
  61. package/themes/ink.css +4 -1
  62. package/themes/latte.css +4 -1
  63. package/themes/linen.css +4 -1
  64. package/themes/meadow.css +4 -1
  65. package/themes/metropolis.css +4 -1
  66. package/themes/midnight.css +4 -1
  67. package/themes/mint.css +4 -1
  68. package/themes/moss.css +4 -1
  69. package/themes/obsidian.css +4 -1
  70. package/themes/orchid.css +4 -1
  71. package/themes/packs.json +4 -31
  72. package/themes/paper.css +4 -1
  73. package/themes/peony.css +4 -1
  74. package/themes/porcelain.css +4 -1
  75. package/themes/reveal-beige.css +4 -1
  76. package/themes/reveal-black.css +4 -1
  77. package/themes/reveal-blood.css +4 -1
  78. package/themes/reveal-dracula.css +4 -1
  79. package/themes/reveal-league.css +4 -1
  80. package/themes/reveal-moon.css +4 -1
  81. package/themes/reveal-night.css +4 -1
  82. package/themes/reveal-serif.css +4 -1
  83. package/themes/reveal-simple.css +4 -1
  84. package/themes/reveal-sky.css +4 -1
  85. package/themes/reveal-solarized.css +4 -1
  86. package/themes/reveal-white.css +4 -1
  87. package/themes/sepia.css +4 -1
  88. package/themes/seriph.css +4 -1
  89. package/themes/slate.css +4 -1
  90. package/themes/storm.css +4 -1
  91. package/themes/synthwave.css +4 -1
  92. package/themes/velvet.css +4 -1
  93. package/themes/yamabuki.css +120 -0
  94. package/tools/args.mjs +32 -0
  95. package/tools/bridge.mjs +30 -0
  96. package/tools/chrome.mjs +52 -0
  97. package/tools/color.mjs +110 -0
  98. package/tools/deck-html.mjs +138 -0
  99. package/tools/elevenlabs-tts.mjs +248 -0
  100. package/tools/escape.mjs +40 -0
  101. package/tools/extension-check-runner.mjs +41 -0
  102. package/tools/extension-check.mjs +266 -0
  103. package/tools/gemini-tts.mjs +44 -4
  104. package/tools/lipsync-engines.mjs +81 -0
  105. package/tools/lipsync-server.mjs +290 -0
  106. package/tools/lipsync.mjs +181 -0
  107. package/tools/local-voice.mjs +209 -0
  108. package/tools/ooxml.mjs +151 -0
  109. package/tools/pptx.mjs +320 -0
  110. package/tools/publish-site-voices.mjs +5 -1
  111. package/tools/publish-targets.mjs +143 -0
  112. package/tools/publish-voices.mjs +230 -0
  113. package/tools/shot.mjs +129 -0
  114. package/tools/theme-check.mjs +139 -0
  115. package/tools/tts-engines.mjs +455 -0
  116. package/tools/tts-setup.mjs +257 -0
  117. package/tools/veo.mjs +204 -0
  118. package/tools/video.mjs +316 -0
  119. package/tools/visemes.mjs +26 -0
  120. package/tools/voiceover-server.mjs +0 -0
  121. package/tools/voiceover.mjs +73 -39
  122. package/tools/zip.mjs +143 -0
  123. package/docs/demo.svg +0 -124
  124. package/themes/aliens.css +0 -84
  125. package/themes/apple2.css +0 -126
  126. package/themes/blade-runner.css +0 -83
  127. package/themes/c64.css +0 -85
  128. package/themes/friends.css +0 -82
  129. package/themes/gameboy.css +0 -118
  130. package/themes/genesis.css +0 -84
  131. package/themes/godfather.css +0 -82
  132. package/themes/ibm-oldschool.css +0 -84
  133. package/themes/miami-vice.css +0 -84
  134. package/themes/pulp-fiction.css +0 -84
  135. package/themes/severance.css +0 -82
  136. package/themes/snes.css +0 -82
  137. package/themes/star-wars.css +0 -85
  138. package/themes/stranger-things.css +0 -84
  139. package/themes/terminator.css +0 -84
package/themes/snes.css DELETED
@@ -1,82 +0,0 @@
1
- /* ═══════════════════════════════════════════════════════════════
2
- Decklight theme · snes
3
- light · console gray, purple accents, ABXY color pops
4
- Inspired by the Super Nintendo console + its four action buttons — palette kept canonical where possible,
5
- every gated pair fitted to the WCAG contract.
6
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
7
- ═══════════════════════════════════════════════════════════════ */
8
-
9
- .decklight {
10
- /* ── canvas ─────────────────────────────── */
11
- --bg: #d8d8dd;
12
- --bg-accent: none;
13
- --fg: #26262e;
14
- --muted: #5f5f6c;
15
-
16
- /* ── type ───────────────────────────────── */
17
- --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
18
- --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
19
- --font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
20
- --heading-color: #3c33a0;
21
- --heading-weight: 700;
22
- --link: #4f43ae;
23
-
24
- /* ── accent ─────────────────────────────── */
25
- --accent: #5546c8;
26
- --accent-contrast: #fbfbfa;
27
-
28
- /* ── blocks ─────────────────────────────── */
29
- --block-bg: #cbcbd5;
30
- --block-border: 1px solid #adadc1;
31
- --block-radius: 10px;
32
- --shadow: 0 5px 18px rgba(30, 30, 40, 0.12);
33
-
34
- /* ── code ───────────────────────────────── */
35
- --code-bg: #26262e;
36
- --code-fg: #e8e8ee;
37
- --hl-keyword: #b2a5fc;
38
- --hl-string: #8bdc9d;
39
- --hl-number: #f0d060;
40
- --hl-comment: #8a8a97;
41
- --hl-function: #7fc0f0;
42
- --hl-type: #f0a0a8;
43
- --hl-punct: #c8c8d4;
44
-
45
- /* ── diagram ────────────────────────────── */
46
- --d-stroke: #5f5f6c;
47
- --d-text: #26262e;
48
- --d-muted: #5f5f6c;
49
- --d-accent: #5546c8;
50
- --d-fill-1: #c3c0d7;
51
- --d-fill-2: #d7b7b7;
52
- --d-fill-3: #b4c7da;
53
- --d-fill-4: #d7d7c0;
54
- --d-fill-5: #b7d7b7;
55
- --d-fill-6: #cdb4da;
56
-
57
- /* ── terminal ───────────────────────────── */
58
- --term-bg: #2a2a33;
59
- --term-fg: #eceae6;
60
- --term-prompt: #7669d3;
61
- --term-cursor: #7669d3;
62
- --term-selection: rgba(85, 70, 200, 0.28);
63
- --ansi-black: #9a9aa5;
64
- --ansi-red: #e05a5a;
65
- --ansi-green: #3fa050;
66
- --ansi-yellow: #e8c840;
67
- --ansi-blue: #4f7fd0;
68
- --ansi-magenta: #a878d8;
69
- --ansi-cyan: #5fb8c8;
70
- --ansi-white: #ececf2;
71
- --ansi-bright-black: #babac2;
72
- --ansi-bright-red: #ea8e8e;
73
- --ansi-bright-green: #5dbf6e;
74
- --ansi-bright-yellow: #efd877;
75
- --ansi-bright-blue: #7fa2dd;
76
- --ansi-bright-magenta: #c7a7e6;
77
- --ansi-bright-cyan: #8dccd8;
78
- --ansi-bright-white: #f3f3f7;
79
-
80
- /* ── builds ─────────────────────────────── */
81
- --dim-opacity: 0.3;
82
- }
@@ -1,85 +0,0 @@
1
- /* ═══════════════════════════════════════════════════════════════
2
- Decklight theme · star-wars
3
- dark · deep space black, crawl yellow, saber blue
4
- Inspired by Star Wars — the opening crawl — palette kept canonical where possible,
5
- every gated pair fitted to the WCAG contract.
6
- rule-exception: R3 the canonical crawl yellow (#ffe81f) is the identity
7
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
8
- ═══════════════════════════════════════════════════════════════ */
9
-
10
- .decklight {
11
- /* ── canvas ─────────────────────────────── */
12
- --bg: #0a0a10;
13
- --bg-accent: none;
14
- --fg: #e6e2d2;
15
- --muted: #98948a;
16
-
17
- /* ── type ───────────────────────────────── */
18
- --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
19
- --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
20
- --font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
21
- --heading-color: #ffe81f;
22
- --heading-weight: 800;
23
- --link: #f0d860;
24
-
25
- /* ── accent ─────────────────────────────── */
26
- --accent: #e8c825;
27
- --accent-contrast: #131313;
28
-
29
- /* ── blocks ─────────────────────────────── */
30
- --block-bg: #11111d;
31
- --block-border: 1px solid #262631;
32
- --block-radius: 4px;
33
- --shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
34
-
35
- /* ── code ───────────────────────────────── */
36
- --code-bg: #10101a;
37
- --code-fg: #e8e4d8;
38
- --hl-keyword: #f0d860;
39
- --hl-string: #7fc8f0;
40
- --hl-number: #f0a860;
41
- --hl-comment: #70706a;
42
- --hl-function: #8fd08f;
43
- --hl-type: #e88a80;
44
- --hl-punct: #b8b4a8;
45
-
46
- /* ── diagram ────────────────────────────── */
47
- --d-stroke: #98948a;
48
- --d-text: #e6e2d2;
49
- --d-muted: #98948a;
50
- --d-accent: #4fb8f0;
51
- --d-fill-1: #211f18;
52
- --d-fill-2: #1a2129;
53
- --d-fill-3: #311c1c;
54
- --d-fill-4: #182118;
55
- --d-fill-5: #1a1d29;
56
- --d-fill-6: #31281c;
57
-
58
- /* ── terminal ───────────────────────────── */
59
- --term-bg: #08080e;
60
- --term-fg: #e6e6e2;
61
- --term-prompt: #e8c825;
62
- --term-cursor: #e8c825;
63
- --term-selection: rgba(232, 200, 37, 0.28);
64
- --ansi-black: #9f9b89;
65
- --ansi-red: #d97963;
66
- --ansi-green: #63d973;
67
- --ansi-yellow: #d9c763;
68
- --ansi-blue: #638ed9;
69
- --ansi-magenta: #cb63d9;
70
- --ansi-cyan: #63d9d5;
71
- --ansi-white: #e3e2de;
72
- --ansi-bright-black: #b4b2a7;
73
- --ansi-bright-red: #eaa08f;
74
- --ansi-bright-green: #8fea9b;
75
- --ansi-bright-yellow: #eadd8f;
76
- --ansi-bright-blue: #8fb0ea;
77
- --ansi-bright-magenta: #e08fea;
78
- --ansi-bright-cyan: #8feae7;
79
- --ansi-bright-white: #f3f3f2;
80
-
81
- /* ── builds ─────────────────────────────── */
82
- --dim-opacity: 0.3;
83
- }
84
-
85
- .decklight h1, .decklight h2 { text-transform: uppercase; letter-spacing: 0.04em; }
@@ -1,84 +0,0 @@
1
- /* ═══════════════════════════════════════════════════════════════
2
- Decklight theme · stranger-things
3
- dark · upside-down black, title red, a serif that means business
4
- Inspired by Stranger Things — the red title in the dark — palette kept canonical where possible,
5
- every gated pair fitted to the WCAG contract.
6
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
7
- ═══════════════════════════════════════════════════════════════ */
8
-
9
- .decklight {
10
- /* ── canvas ─────────────────────────────── */
11
- --bg: #0d0a0e;
12
- --bg-accent: none;
13
- --fg: #e8dfd8;
14
- --muted: #9a8d88;
15
-
16
- /* ── type ───────────────────────────────── */
17
- --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
18
- --font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
19
- --font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
20
- --heading-color: #e2242e;
21
- --heading-weight: 700;
22
- --link: #ef6a5e;
23
-
24
- /* ── accent ─────────────────────────────── */
25
- --accent: #c42832;
26
- --accent-contrast: #fbfbfa;
27
-
28
- /* ── blocks ─────────────────────────────── */
29
- --block-bg: #18121b;
30
- --block-border: 1px solid #2d2530;
31
- --block-radius: 4px;
32
- --shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
33
-
34
- /* ── code ───────────────────────────────── */
35
- --code-bg: #141014;
36
- --code-fg: #e8e0da;
37
- --hl-keyword: #ee7c72;
38
- --hl-string: #cab988;
39
- --hl-number: #e8a860;
40
- --hl-comment: #7a6f6c;
41
- --hl-function: #a8b8e0;
42
- --hl-type: #d8c0a0;
43
- --hl-punct: #b0a8a4;
44
-
45
- /* ── diagram ────────────────────────────── */
46
- --d-stroke: #9a8d88;
47
- --d-text: #e8dfd8;
48
- --d-muted: #9a8d88;
49
- --d-accent: #c42832;
50
- --d-fill-1: #201718;
51
- --d-fill-2: #281e19;
52
- --d-fill-3: #1b1e30;
53
- --d-fill-4: #201d17;
54
- --d-fill-5: #231928;
55
- --d-fill-6: #1b2930;
56
-
57
- /* ── terminal ───────────────────────────── */
58
- --term-bg: #0a080b;
59
- --term-fg: #e6e6e2;
60
- --term-prompt: #c42832;
61
- --term-cursor: #c42832;
62
- --term-selection: rgba(196, 40, 50, 0.28);
63
- --ansi-black: #9f898b;
64
- --ansi-red: #ce866e;
65
- --ansi-green: #6ece81;
66
- --ansi-yellow: #cec66e;
67
- --ansi-blue: #6e8bce;
68
- --ansi-magenta: #c96ece;
69
- --ansi-cyan: #6ecbce;
70
- --ansi-white: #e3dede;
71
- --ansi-bright-black: #b4a7a8;
72
- --ansi-bright-red: #e3a997;
73
- --ansi-bright-green: #97e3a5;
74
- --ansi-bright-yellow: #e3dc97;
75
- --ansi-bright-blue: #97aee3;
76
- --ansi-bright-magenta: #df97e3;
77
- --ansi-bright-cyan: #97e1e3;
78
- --ansi-bright-white: #f3f2f2;
79
-
80
- /* ── builds ─────────────────────────────── */
81
- --dim-opacity: 0.25;
82
- }
83
-
84
- .decklight h1, .decklight h2 { text-transform: uppercase; letter-spacing: 0.08em; }
@@ -1,84 +0,0 @@
1
- /* ═══════════════════════════════════════════════════════════════
2
- Decklight theme · terminator
3
- dark · gunmetal chrome, target-lock red, cold machine grays
4
- Inspired by The Terminator — chrome endoskeleton, HUD red — palette kept canonical where possible,
5
- every gated pair fitted to the WCAG contract.
6
- Token contract: SPEC.md §5 — validated by test/contrast.mjs
7
- ═══════════════════════════════════════════════════════════════ */
8
-
9
- .decklight {
10
- /* ── canvas ─────────────────────────────── */
11
- --bg: linear-gradient(180deg, #16181d 0%, #0d0e12 100%);
12
- --bg-accent: none;
13
- --fg: #dde1e8;
14
- --muted: #8f95a0;
15
-
16
- /* ── type ───────────────────────────────── */
17
- --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
18
- --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
19
- --font-mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
20
- --heading-color: #e04248;
21
- --heading-weight: 800;
22
- --link: #ef7a74;
23
-
24
- /* ── accent ─────────────────────────────── */
25
- --accent: #c42f38;
26
- --accent-contrast: #fbfbfa;
27
-
28
- /* ── blocks ─────────────────────────────── */
29
- --block-bg: #1e212a;
30
- --block-border: 1px solid #31353f;
31
- --block-radius: 3px;
32
- --shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
33
-
34
- /* ── code ───────────────────────────────── */
35
- --code-bg: #101318;
36
- --code-fg: #dfe3ea;
37
- --hl-keyword: #e78186;
38
- --hl-string: #a4b8cc;
39
- --hl-number: #e2a866;
40
- --hl-comment: #6a707a;
41
- --hl-function: #8fb8e0;
42
- --hl-type: #c3c9dd;
43
- --hl-punct: #a0a6b0;
44
-
45
- /* ── diagram ────────────────────────────── */
46
- --d-stroke: #8f95a0;
47
- --d-text: #dde1e8;
48
- --d-muted: #8f95a0;
49
- --d-accent: #d55159;
50
- --d-fill-1: #22272f;
51
- --d-fill-2: #382425;
52
- --d-fill-3: #253841;
53
- --d-fill-4: #22222f;
54
- --d-fill-5: #382e24;
55
- --d-fill-6: #254141;
56
-
57
- /* ── terminal ───────────────────────────── */
58
- --term-bg: #0b0d11;
59
- --term-fg: #e6e6e2;
60
- --term-prompt: #c42f38;
61
- --term-cursor: #c42f38;
62
- --term-selection: rgba(196, 47, 56, 0.28);
63
- --ansi-black: #9f898a;
64
- --ansi-red: #cb8872;
65
- --ansi-green: #72cb83;
66
- --ansi-yellow: #cbc372;
67
- --ansi-blue: #728dcb;
68
- --ansi-magenta: #c672cb;
69
- --ansi-cyan: #72c8cb;
70
- --ansi-white: #e3dede;
71
- --ansi-bright-black: #b4a7a8;
72
- --ansi-bright-red: #e0ab99;
73
- --ansi-bright-green: #99e0a7;
74
- --ansi-bright-yellow: #e0da99;
75
- --ansi-bright-blue: #99afe0;
76
- --ansi-bright-magenta: #dd99e0;
77
- --ansi-bright-cyan: #99dee0;
78
- --ansi-bright-white: #f3f2f2;
79
-
80
- /* ── builds ─────────────────────────────── */
81
- --dim-opacity: 0.25;
82
- }
83
-
84
- .decklight h1, .decklight h2 { text-transform: uppercase; letter-spacing: 0.03em; }