decklight 0.9.0 → 0.11.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.
- package/NOTICE +2 -0
- package/PLATFORM.md +61 -3
- package/README.md +58 -28
- package/SPEC.md +1326 -85
- package/cli/agent-review.mjs +5 -4
- package/cli/agents.mjs +148 -18
- package/cli/bundle-audio.mjs +10 -3
- package/cli/bundle-module.mjs +95 -0
- package/cli/bundle.mjs +125 -7
- package/cli/cast.mjs +86 -19
- package/cli/check-fixes.mjs +194 -0
- package/cli/check-watch.mjs +151 -0
- package/cli/check.mjs +491 -75
- package/cli/code-editor.mjs +287 -0
- package/cli/commands.mjs +13 -2
- package/cli/commit-flow.mjs +7 -3
- package/cli/commit-message.mjs +35 -8
- package/cli/commit-split.mjs +125 -25
- package/cli/deck-refs.mjs +8 -3
- package/cli/decklight.mjs +11 -1
- package/cli/design-system-edit.mjs +37 -1
- package/cli/design-system-refs.mjs +263 -6
- package/cli/design-system.mjs +82 -14
- package/cli/edit-address.mjs +184 -0
- package/cli/edit-git.mjs +23 -6
- package/cli/edit-handover.mjs +257 -40
- package/cli/edit-look.mjs +293 -6
- package/cli/edit-open.mjs +143 -0
- package/cli/edit-slides.mjs +1043 -67
- package/cli/edit-translate.mjs +243 -0
- package/cli/edit.mjs +3680 -319
- package/cli/editor-support.mjs +286 -0
- package/cli/enhance.mjs +157 -27
- package/cli/find-replace.mjs +142 -0
- package/cli/fix-review.mjs +368 -0
- package/cli/git.mjs +13 -0
- package/cli/init.mjs +101 -22
- package/cli/keep-awake.mjs +68 -0
- package/cli/marketplace-autocheck.mjs +200 -0
- package/cli/marketplace.mjs +250 -13
- package/cli/migrate-writing.mjs +214 -0
- package/cli/narrate.mjs +121 -5
- package/cli/open.mjs +53 -15
- package/cli/outside-edit.mjs +257 -0
- package/cli/paste.mjs +92 -0
- package/cli/pdf.mjs +88 -10
- package/cli/pptx-export.mjs +10 -5
- package/cli/publish.mjs +24 -3
- package/cli/record.mjs +86 -15
- package/cli/remote.mjs +32 -6
- package/cli/rewrite.mjs +265 -0
- package/cli/runtime-link.mjs +218 -17
- package/cli/serve.mjs +9 -6
- package/cli/setup.mjs +2 -2
- package/cli/skill-content.mjs +251 -10
- package/cli/skills/slide-writing.md +333 -0
- package/cli/skills/voiceover.md +423 -0
- package/cli/skills.mjs +282 -15
- package/cli/starter-full.mjs +353 -0
- package/cli/supervise.mjs +14 -0
- package/cli/theme-refs.mjs +14 -2
- package/cli/theme.mjs +3 -2
- package/cli/translate-core.mjs +466 -0
- package/cli/translate-files.mjs +149 -0
- package/cli/translate.mjs +458 -0
- package/cli/units.mjs +75 -7
- package/cli/util.mjs +25 -0
- package/cli/vocabulary-docs.mjs +138 -0
- package/dist/decklight.css +2506 -113
- package/dist/decklight.js +385 -175
- package/dist/decklight.js.map +4 -4
- package/docs/GLOSSARY.md +9 -2
- package/docs/WRITING_RESEARCH.md +327 -0
- package/package.json +5 -3
- package/themes/coastal.css +3 -0
- package/themes/metropolis.css +2 -0
- package/themes/reveal-blood.css +3 -0
- package/themes/reveal-league.css +2 -0
- package/themes/reveal-moon.css +2 -0
- package/themes/reveal-serif.css +1 -0
- package/themes/reveal-sky.css +1 -0
- package/themes/reveal-solarized.css +4 -0
- package/tools/brand-palette.mjs +6 -1
- package/tools/build-groups.mjs +28 -8
- package/tools/cdp.mjs +176 -0
- package/tools/chart-spec.mjs +242 -0
- package/tools/click-match.mjs +70 -0
- package/tools/code-options.mjs +174 -0
- package/tools/conversation.mjs +49 -0
- package/tools/deck-family.mjs +101 -0
- package/tools/deck-html.mjs +212 -15
- package/tools/design-system-format.mjs +40 -1
- package/tools/design-system-migrations.mjs +207 -0
- package/tools/diagram-shapes.mjs +221 -0
- package/tools/elevenlabs-tts.mjs +62 -53
- package/tools/exec.mjs +10 -2
- package/tools/face-clip.mjs +96 -0
- package/tools/face-layout.mjs +94 -0
- package/tools/gemini-tts.mjs +1 -1
- package/tools/invisible-in-print.mjs +27 -0
- package/tools/lipsync-auto.mjs +197 -0
- package/tools/lipsync-config.mjs +16 -0
- package/tools/lipsync-engines.mjs +22 -4
- package/tools/lipsync-server.mjs +8 -5
- package/tools/lipsync.mjs +122 -30
- package/tools/local-voice.mjs +1 -1
- package/tools/mouth-file.mjs +26 -0
- package/tools/mouth.mjs +320 -0
- package/tools/narration-manifest.mjs +100 -6
- package/tools/narration-synth.mjs +96 -76
- package/tools/recording-impact.mjs +16 -1
- package/tools/sentences.mjs +7 -1
- package/tools/site-clip.mjs +114 -0
- package/tools/starters.mjs +402 -0
- package/tools/steps.mjs +118 -0
- package/tools/take-check.mjs +146 -0
- package/tools/template-theme.mjs +3 -1
- package/tools/test-impact.mjs +36 -12
- package/tools/theme-check.mjs +196 -1
- package/tools/tone-cue.mjs +108 -0
- package/tools/tts-cache.mjs +9 -3
- package/tools/tts-engines.mjs +100 -11
- package/tools/video-cache.mjs +93 -0
- package/tools/video-live.mjs +349 -0
- package/tools/video-options.mjs +11 -0
- package/tools/video.mjs +825 -117
- package/tools/viseme-fit.mjs +27 -0
- package/tools/viseme-match.mjs +77 -0
- package/tools/vocabulary.mjs +397 -0
- package/tools/voice-renumber.mjs +605 -0
- package/tools/voiceover-server.mjs +42 -11
- package/tools/voiceover.mjs +48 -20
- package/dist/build-info.json +0 -1
package/NOTICE
ADDED
package/PLATFORM.md
CHANGED
|
@@ -106,8 +106,10 @@ marketplace keeps no checkout: its own directory already is one. An entry whose
|
|
|
106
106
|
fetched as written.
|
|
107
107
|
|
|
108
108
|
**The invariant everything above serves: registering is not fetching.** The
|
|
109
|
-
network is touched only by an explicit `add` or `
|
|
110
|
-
|
|
109
|
+
network is touched only by an explicit `add`, `update` or `outdated` of a
|
|
110
|
+
remote source (and `outdated` only asks where a ref points; it fetches no
|
|
111
|
+
file; the auto-check the author turned on is that same `outdated`): never at
|
|
112
|
+
registration, never when a deck loads, never while presenting. The
|
|
111
113
|
first-party marketplace is registered on first CLI run as a pure filesystem
|
|
112
114
|
write; its first fetch happens at the first browse or `update`, so first run
|
|
113
115
|
offline is silent and instant, and a deck on conference wifi, on a plane, or
|
|
@@ -117,6 +119,32 @@ presenting path imports the marketplace module at all (pinned by
|
|
|
117
119
|
state: `list` reads only the cache, and a fetch failure is fast and names the
|
|
118
120
|
marketplace and the reason, no spinner, no hang.
|
|
119
121
|
|
|
122
|
+
**The in-deck door.** In write mode, `/` → **Marketplaces…** lists every
|
|
123
|
+
registered catalog, says which are behind their source, updates them and says
|
|
124
|
+
what's new, and registers a new one without leaving the deck (SPEC
|
|
125
|
+
`MARKETPLACES_SCREEN` has the flow). Checking, updating and adding each run the
|
|
126
|
+
`decklight marketplace` command (`outdated`, `update`, `add`) as a child
|
|
127
|
+
process. Checking is the one network act that fetches nothing: `outdated` asks
|
|
128
|
+
each remote where its ref points (`git ls-remote`) and compares a local
|
|
129
|
+
directory's manifest with the cached copy, and it runs only when asked: C on
|
|
130
|
+
the screen, or, once the author has turned on *Check for updates when decklight
|
|
131
|
+
starts* (off until then), an edit server as it starts, at most twice a day.
|
|
132
|
+
Either way it only ever offers; an update is still asked for. Adding takes the
|
|
133
|
+
same three forms and `--branch`, and the edit server runs **`decklight marketplace add`
|
|
134
|
+
itself**, as a child process: the same command, the caller's git credentials on
|
|
135
|
+
this machine, the same refusals, so `marketplace list` cannot tell which door a
|
|
136
|
+
marketplace came in by, and a failed add leaves nothing registered from either.
|
|
137
|
+
It is still an explicit act, and still the only fetch: the row says what it is
|
|
138
|
+
about to clone (or which directory it would read in place) and asks for a
|
|
139
|
+
second ⏎ before it does, as publish does, since a clone is network access as
|
|
140
|
+
the person. A relative path is the **deck's** folder's, registered as an
|
|
141
|
+
absolute one, because the registry keeps a source as given and a relative path
|
|
142
|
+
would mean something else to the next `update`. Nothing is fetched on a later
|
|
143
|
+
open. A deck opened `--no-trust` has neither the row nor the routes
|
|
144
|
+
(`GET /deck/edit/marketplaces`, `POST /deck/edit/marketplace/check`,
|
|
145
|
+
`/update` and `/add`), which sit behind the server's mode gate with every
|
|
146
|
+
other write.
|
|
147
|
+
|
|
120
148
|
**The unit library** (`UNITS#REST`) is where the installable kinds land:
|
|
121
149
|
`~/.decklight/skills/`, `.../importers/`, `.../voices/`,
|
|
122
150
|
beside the `plugins/` that `NO_TRUST#PLUGINS` writes. One seam installs all of
|
|
@@ -125,7 +153,20 @@ each is used by the command that needs it. A deck template, a whole deck install
|
|
|
125
153
|
|
|
126
154
|
A marketplace skill installs
|
|
127
155
|
into the library and therefore sits **alongside** the authoring skill
|
|
128
|
-
`decklight skills` writes into a project, never replacing it.
|
|
156
|
+
`decklight skills` writes into a project, never replacing it. Its consumer is
|
|
157
|
+
an agent, not a decklight command, and no agent reads `~/.decklight/skills/`,
|
|
158
|
+
so `library add skill` also **hands it on** to the agents `decklight skills`
|
|
159
|
+
writes for: a copy in `.claude/skills/<name>/` (the current directory's when
|
|
160
|
+
it already has a `.claude/` or a Decklight AGENTS.md, `--dir` for a named
|
|
161
|
+
project, `--global` for Claude's config home; run anywhere else, it copies
|
|
162
|
+
nothing and says how to), and a line naming it and its `SKILL.md` in every
|
|
163
|
+
AGENTS.md that carries the Decklight section. A copy
|
|
164
|
+
carries a `.decklight-library` mark, and only a marked directory is ever
|
|
165
|
+
replaced or removed, so a skill of the same name the author wrote is left
|
|
166
|
+
alone. `library remove skill` takes both away; `decklight skills` and `init`
|
|
167
|
+
copy the missing ones and keep the rest as they are. The authoring skill
|
|
168
|
+
itself says where installed skills live, so an agent with neither still finds
|
|
169
|
+
them. An import adapter
|
|
129
170
|
is **offered at the point of failure**: `decklight import talk.marp` names the
|
|
130
171
|
adapter that reads `.marp` and how to get it, which is the ENGINES pattern
|
|
131
172
|
(offer at the moment of need) rather than a setup step nobody performs in
|
|
@@ -591,6 +632,23 @@ extend it, but an agent unit is a **descriptor, never code**:
|
|
|
591
632
|
preference > the first detected agent. Choosing one in the `A` dialog
|
|
592
633
|
persists it (`POST /deck/edit/agent/prefer`); it is a fact about the machine, so
|
|
593
634
|
it is written beside the unit library and **never into the deck**.
|
|
635
|
+
- **So is the model it runs on, per agent, for decklight alone.** The same
|
|
636
|
+
file holds `models` (an edit's) and `askModels` (a question's: the commit
|
|
637
|
+
subject, the commit plan, enhance), e.g. `{ "preferred": "claude", "models":
|
|
638
|
+
{ "claude": "sonnet" } }`, set from the model field beside the `A` dialog's
|
|
639
|
+
agent picker (`POST /deck/edit/agent/model { agent, model, task? }`). It is
|
|
640
|
+
passed as that agent's own model flag (each roster entry says which:
|
|
641
|
+
`--model`, `-m`; a unit's descriptor may add `"model": ["--model",
|
|
642
|
+
"{model}"]`), so the user's own default (`"model"` in a Claude Code
|
|
643
|
+
settings file) is untouched and a plain `claude` in the same folder opens on
|
|
644
|
+
it as before. Precedence: this run (`--agent-model` / `DECKLIGHT_AGENT_MODEL`,
|
|
645
|
+
and `--agent-ask-model` / `DECKLIGHT_AGENT_ASK_MODEL` for questions) > the
|
|
646
|
+
remembered one, a question falling back to the edit's model > nothing at all,
|
|
647
|
+
when no flag is passed and the agent's own default applies. An agent whose CLI
|
|
648
|
+
takes no model flag (IBM Bob, Goose) shows the field disabled and is named at
|
|
649
|
+
startup if one is set for it, never handed a flag it would reject or a
|
|
650
|
+
setting it would ignore. A model the agent rejects fails the run with the
|
|
651
|
+
agent's own error; decklight never retries on another one.
|
|
594
652
|
- **A remembered agent that is missing is named, never substituted.** Which
|
|
595
653
|
agent edits your deck is not an interchangeable detail, so an unavailable
|
|
596
654
|
preference does not quietly fall back to another one: the edit server says
|
package/README.md
CHANGED
|
@@ -7,7 +7,8 @@ and a theme, with no dependencies and no build step. It opens straight from
|
|
|
7
7
|
every byte of it.
|
|
8
8
|
|
|
9
9
|
It is live at [decklight.io](https://decklight.io). The two-minute version is
|
|
10
|
-
`demo/intro.html`, the
|
|
10
|
+
`demo/intro.html`, the whole journey (an empty folder to a published talk) is
|
|
11
|
+
`demo/showcase.html`, and the contract
|
|
11
12
|
everything is built against is [`SPEC.md`](SPEC.md), with the marketplace
|
|
12
13
|
and library half in [`PLATFORM.md`](PLATFORM.md).
|
|
13
14
|
|
|
@@ -37,7 +38,12 @@ agent that reads `AGENTS.md`) has the real authoring contract on hand instead of
|
|
|
37
38
|
guessing from Reveal.js memory. Then it asks whether to open the deck in write
|
|
38
39
|
mode: live reload, edits from the browser, an AI agent on `A`, and git
|
|
39
40
|
underneath: your work snapshotted as you go, committed when you press `K`.
|
|
40
|
-
Say yes. Leave out `--dir` to start the deck in the current directory.
|
|
41
|
+
Say yes. Leave out `--dir` to start the deck in the current directory. Add
|
|
42
|
+
`--starter full` for a reference deck instead of the two-slide starter: one
|
|
43
|
+
slide per feature (builds, notes, two columns, a table, code, math, a picture,
|
|
44
|
+
a chart, a diagram with connectors, chapters, sources), each under a comment
|
|
45
|
+
naming the SPEC section to read, so there is always a working slide to copy
|
|
46
|
+
from. Keep the
|
|
41
47
|
`@latest`: npx resolves it against the registry on every run, so you always
|
|
42
48
|
get the current release, whereas a bare `npx decklight` runs any decklight
|
|
43
49
|
already installed in the project or globally, however old.
|
|
@@ -63,7 +69,9 @@ decklight doctor # what this machine can do, and how to get the rest
|
|
|
63
69
|
```
|
|
64
70
|
|
|
65
71
|
Type a command wrong and it tells you which one you meant. Or skip the scaffold
|
|
66
|
-
and write the HTML yourself
|
|
72
|
+
and write the HTML yourself: `decklight vscode` gives VS Code the completions and
|
|
73
|
+
snippets for it, and `decklight check` names a slip like `data-buld` with what
|
|
74
|
+
you meant. A deck you author is *data* (slides and a JSON
|
|
67
75
|
configuration block) and `decklight <deck>` adds the runtime as it serves it, in write mode and in `--no-trust`;
|
|
68
76
|
`bundle` embeds it when you hand the file over. This is the whole anatomy:
|
|
69
77
|
|
|
@@ -73,7 +81,7 @@ configuration block) and `decklight <deck>` adds the runtime as it serves it, in
|
|
|
73
81
|
<head>
|
|
74
82
|
<meta charset="utf-8">
|
|
75
83
|
<script type="application/json" data-decklight-config>
|
|
76
|
-
{ "decklight": "0.
|
|
84
|
+
{ "decklight": "0.11.0", "theme": "aurora", "transition": "fade" }
|
|
77
85
|
</script>
|
|
78
86
|
</head>
|
|
79
87
|
<body>
|
|
@@ -98,22 +106,34 @@ itself (`<script src="decklight/dist/decklight.js">` and a
|
|
|
98
106
|
|
|
99
107
|
## What's in the box
|
|
100
108
|
|
|
101
|
-
- **Editing in the browser.** In write mode
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
- **Editing in the browser.** In write mode the slide is the editor, and
|
|
110
|
+
small changes never need the HTML or an agent. Double-click any text to
|
|
111
|
+
change it (`⌘B`, `⌘I`, `⌘E` and `⌘K` for bold, italic, code and a link); in
|
|
112
|
+
a list `⏎` starts the next point, `⇥` nests it and `⌃⇧↑` / `⌃⇧↓` (Control-Shift
|
|
113
|
+
on every platform) moves it,
|
|
114
|
+
and in a table `⇥` walks the cells. The bar's **Add** puts a heading, text,
|
|
115
|
+
a list, a quote, a table, code, two columns, a diagram or a chart on the
|
|
116
|
+
slide, ready to type, and a new slide comes as a kind (title and bullets,
|
|
117
|
+
two columns, a section title…). Select an element to move it
|
|
118
|
+
(`⌃⇧↑` / `⌃⇧↓`, or drag its handle), duplicate it (`⌘D`) or remove it (`⌫`);
|
|
119
|
+
a right-click has the rest, with a row for a table, a picture or a wire
|
|
120
|
+
where one is selected. **Open in your editor** (the right-click menu, or
|
|
121
|
+
the palette for the slide) opens the deck file in VS Code, Cursor, Zed or a
|
|
122
|
+
command of your own at that element's or that slide's line, for the edit
|
|
123
|
+
the browser does not offer; it asks once which editor, and Settings changes
|
|
124
|
+
it. Drop a picture and drag its corners to size it, give
|
|
125
|
+
it alt text, a caption, or make it the slide's background. A chart's
|
|
126
|
+
numbers are a grid in the inspector's Data tab. In a diagram, drag a shape
|
|
127
|
+
to move it, its corners to resize it, and from a dot on its side to another
|
|
128
|
+
shape to connect them: the arrow stays attached when either moves, and
|
|
129
|
+
guides line shapes up as you drag. `I` opens the inspector on whatever is
|
|
130
|
+
selected, with Colors and Type tabs that save as you pick. Every edit lands
|
|
131
|
+
in the file at once, and `⌘Z` (`Ctrl+Z`) takes it back. `decklight check`
|
|
113
132
|
reports what an author or an agent would otherwise only see by looking:
|
|
114
133
|
clipped slides, crowded ones, missing images, notes whose [click] count
|
|
115
|
-
disagrees with the builds
|
|
116
|
-
|
|
134
|
+
disagrees with the builds, a wire that names a shape its diagram lacks. In
|
|
135
|
+
the deck, the palette's *Review: Check deck…* lists the same in one docked
|
|
136
|
+
panel, each finding with its quick fix.
|
|
117
137
|
- **Chapters.** `data-module` marks chapters, and `G` shows the outline.
|
|
118
138
|
- **Builds.** `data-build` on a container makes each child a step. The layout
|
|
119
139
|
never jumps.
|
|
@@ -127,7 +147,9 @@ itself (`<script src="decklight/dist/decklight.js">` and a
|
|
|
127
147
|
- **Code and math.** highlight.js styled through theme tokens, LaTeX rendered
|
|
128
148
|
to MathML with bundled Temml. No webfonts, no build step.
|
|
129
149
|
- **Charts.** `data-chart` plus a small JSON block gives you a theme-aware SVG
|
|
130
|
-
chart: bar, line, area, pie, donut, scatter.
|
|
150
|
+
chart: bar, line, area, pie, donut, scatter. A line can turn dashed at
|
|
151
|
+
"now" and carry a shaded band, so a forecast, a learned range, a marked
|
|
152
|
+
anomaly and a threshold are data too.
|
|
131
153
|
- **Terminals.** `decklight cast` records a real PTY session and the deck
|
|
132
154
|
replays it, typing and streaming. Never a video.
|
|
133
155
|
- **Narration.** Text-to-speech reads your notes in sync with the builds, or you
|
|
@@ -141,6 +163,9 @@ itself (`<script src="decklight/dist/decklight.js">` and a
|
|
|
141
163
|
ElevenLabs voices are listed by language, and the voice library finds a
|
|
142
164
|
native one for a translated deck. A synthesized recording tells you what it
|
|
143
165
|
cost: clips reused against clips sent to the engine.
|
|
166
|
+
- **Translation.** `decklight translate talk.html --to fr` generates a French
|
|
167
|
+
deck beside the source. Use **Languages…** in write mode to see what needs
|
|
168
|
+
updating and switch between versions. Each language has its own narration tracks.
|
|
144
169
|
- **A face for the voice.** `V` → Character: a 2D narrator whose lips follow
|
|
145
170
|
the voice, or a talking head made from your photo (or from a few seconds of
|
|
146
171
|
you filmed in the deck) lip-synced with Wav2Lip on your own machine, set up
|
|
@@ -184,23 +209,27 @@ narrate, template, library, gate) are defined once in
|
|
|
184
209
|
|
|
185
210
|
| Writing | |
|
|
186
211
|
|---|---|
|
|
187
|
-
| `init ["Title"]` | scaffold a deck and the agent skill, then open it in write mode (`--no-open` keeps the browser closed) |
|
|
188
|
-
| `
|
|
212
|
+
| `init ["Title"]` | scaffold a deck and the agent skill, then open it in write mode (`--no-open` keeps the browser closed; `--starter full` writes one slide per feature to copy from) |
|
|
213
|
+
| `vscode [deck.html]` | write `.vscode/` beside a deck so VS Code helps you type it: every `data-*` attribute Decklight reads completes with its values and a line on what it does, and `dl-slide`, `dl-build`, `dl-notes`, `dl-diagram`, `dl-chart`, `dl-compare`, `dl-figure` and `dl-conversation` expand to the markup. An existing `settings.json` gains one key and keeps the rest (`init --vscode` does it for a new deck) |
|
|
214
|
+
| `skills [agent…]` | install the authoring, slide-writing and voiceover skills for Claude, Codex, OpenCode or IBM Bob. Write mode reports when an installed skill needs an update |
|
|
189
215
|
| `<deck.html \| url>` | the deck is the command. Write mode: live reload plus every bridge this machine can run, under one Ctrl-C (`--open` for the browser; a git URL clones the repo and opens the deck inside). In the browser editing is on: double-click text to edit it (`⌘B`, `⌘I`, `⌘E` for bold, italic and code while you do), drop a picture onto a slide, the bar's Layout for a layout, `S` for notes, `O` to rearrange slides; `Lock deck` in the palette turns changes off until you unlock |
|
|
190
|
-
| `check deck.html` | lint it headlessly: clipped slides, missing assets, [click] beats out of step with the builds (`--json`) |
|
|
216
|
+
| `check deck.html` | lint it headlessly: clipped slides, missing assets, [click] beats out of step with the builds, a misspelled attribute, build effect or configuration key with what was meant (`--json`; `--watch` checks again on every save, in a terminal beside your editor, until Ctrl-C) |
|
|
191
217
|
| `narrate deck.html` | the narration into a folder beside the deck: an engine reads the notes, or you do with `--mic`, one [click] beat at a time (`--slides 7` for one slide); `--face` gives the recorded track its lip-sync, so the character plays it with nothing running |
|
|
218
|
+
| `translate deck.html --to fr` | translate the slide text and speaker notes into French. `--status` reports what needs updating, and `--slides` limits the run to specific slides |
|
|
192
219
|
| `cast script.term.yaml` | record a terminal session in a real PTY (`cast refresh` re-runs, `cast export` writes asciicast) |
|
|
193
220
|
|
|
194
221
|
| Sharing | |
|
|
195
222
|
|---|---|
|
|
196
223
|
| `<deck> --no-trust` | open a deck you didn't write in no-trust mode: every edit route refuses, it is served under a CSP, and what it will execute is listed first (`--audit` prints that label and exits; a repository URL clones it first, into the same clone write mode uses). Comments (`M`) work here too; a `.decklight` is without trust by nature |
|
|
197
|
-
| `bundle deck.html` | one self-contained HTML file (`--all` merges a playlist, `--sign`, `--deck`) |
|
|
198
|
-
| `publish deck.html` | bundle and push to GitHub Pages, Netlify, Vercel or a folder |
|
|
224
|
+
| `bundle deck.html` | one self-contained HTML file (`--all` merges a playlist, `--module` takes one chapter with its narration, `--sign`, `--deck`) |
|
|
225
|
+
| `publish deck.html` | bundle and push to GitHub Pages, Netlify, Vercel or a folder (`--audio` carries the narration inside the page) |
|
|
199
226
|
| `pdf deck.html` | one slide per page (`--notes`, `--handout`) |
|
|
200
227
|
| `pptx deck.html` | a PowerPoint file, every slide a picture, notes as notes |
|
|
201
|
-
| `video deck.html` | a narrated video
|
|
228
|
+
| `video deck.html` | a narrated video in MP4, MOV or WebM, with optional subtitles. Choose `--render exact` (the default) or `--render live`, in the CLI or **Export a video…** in the palette. Use `--slides 5-9` for part of the deck and `--voiceover` to synthesize narration first. |
|
|
202
229
|
| `enhance deck.html --slides 3` | add ElevenLabs v4 audio tags to the notes with the prompt ElevenLabs publishes: your agent drafts, decklight checks no word changed (`--all`, `--dry-run`) |
|
|
203
230
|
| `enhance deck.html --spoken --slides 3` | write terse notes for the ear, as sentences a person would say: your agent rewrites, decklight checks every `[click]` and `[pause]` survived |
|
|
231
|
+
| `enhance deck.html --match-slide --slides 3` | reword the notes to agree with what the slide shows, its terms, numbers and order: checked like `--spoken` |
|
|
232
|
+
| `enhance deck.html --rewrite --slides 3` | say the same thing more clearly, nothing added or dropped: checked like `--spoken` |
|
|
204
233
|
|
|
205
234
|
| Keeping track | |
|
|
206
235
|
|---|---|
|
|
@@ -216,7 +245,8 @@ narrate, template, library, gate) are defined once in
|
|
|
216
245
|
| `marketplace add owner/repo` | register a catalog; it is cloned with your git credentials, then read from disk |
|
|
217
246
|
| `design-system add acme@acme-mkt talk.html` | reference a company's design system: its tokens, art and slide templates, served from the marketplace on this machine (`list`, `templates`, and `gate`, the gate a catalog runs) |
|
|
218
247
|
| `font add inter@type-mkt talk.html --use` | reference a typeface from a marketplace: its faces and licence travel with the deck and its bundle, offline; `--use` opens the deck in it (`list`, and `gate`, the gate a catalog runs) |
|
|
219
|
-
| `marketplace list` / `update <name>` | what each catalog offers, and what it now has newer than what you installed (`nord@acme 1.0.0 → 1.1.0`, and the command that takes it) |
|
|
248
|
+
| `marketplace list` / `outdated` / `update <name>` | what each catalog offers; which are behind their source (asked, nothing fetched); and an update, which says what's new in the catalog and what it now has newer than what you installed (`nord@acme 1.0.0 → 1.1.0`, and the command that takes it). In write mode, `/` → **Marketplaces…** does all of it, and adds one, from the deck |
|
|
249
|
+
| `marketplace auto-check on\|off` | off until you turn it on: an edit server that starts asks whether a marketplace is behind (at most twice a day, nothing fetched), and the deck offers the update. It never takes one by itself. **O** on **Marketplaces…** is the same switch |
|
|
220
250
|
| `library add <kind> <name>` | install into your own library: a `plugin` (presenter chrome over any deck you open, with or without trust; `bundle` never carries it), a `skill`, an `importer`, a `transform`, an `engine`, a `voice` or an `agent` (`remove`, `list [kind]`) |
|
|
221
251
|
| `library gate <kind> <path>` | the marketplace admission gate for a `transform` or a `plugin` |
|
|
222
252
|
|
|
@@ -243,10 +273,10 @@ the CLI only.
|
|
|
243
273
|
| `⎵` | play / pause the voice once one is chosen; otherwise it advances |
|
|
244
274
|
| `V` | everything about the voice: tracks, live voice, character, record, captions, speed |
|
|
245
275
|
| `M` | review comments: `⏎` jumps to the slide, `R` marks one done and again reopens it, `D` hides the done ones, `⌫` deletes one of yours; `⇧M` writes one |
|
|
246
|
-
| `K` | commit what you changed, with a message; `⌘Z` / `Ctrl+Z` undoes an edit; `⌘⏎` / `Ctrl+Enter` fullscreen, `⇧F` hides the arrows and slide number there |
|
|
276
|
+
| `K` | commit what you changed, with a message; `⌘Z` / `Ctrl+Z` undoes an edit; `⌘⏎` / `Ctrl+Enter` fullscreen, `⇧F` hides the arrows and slide number there and while the speaker view is open |
|
|
247
277
|
| `H` | the deck's history, every version previewed live, `⏎` restores one |
|
|
248
278
|
| `I` | the inspector: everything about this slide, or the selected shape's colours and type; its sources |
|
|
249
|
-
| `/` | command palette: every action at the root, named `Category: Action` (`Voice:
|
|
279
|
+
| `/` | command palette: every action at the root, named `Category: Action` (`Voice: AI voice…`), filtered by any words you type; *Preferences: Settings…* holds the knobs (clock, progress bar, captions, voice speed, the editing bar). `G` finds a slide, `O` rearranges them, `A` asks the agent |
|
|
250
280
|
| `?` | every key |
|
|
251
281
|
|
|
252
282
|
## Working from a checkout
|