Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
feat(demo): synthesize the demo film narration up front on the Edge voice lane
nirholas563028c969a0
diff --git a/STRUCTURE.md b/STRUCTURE.mdindex 19e851254..a53065b62 100644--- a/STRUCTURE.md+++ b/STRUCTURE.md@@ -452,7 +452,7 @@ array. Runbook: [docs/contributing.md](docs/contributing.md#publishing-packages-- **API endpoints** — [api/](api) (serverless-style handlers, served in production by the [server/](server) Cloud Run container), [workers/](workers) (long-running workers)- **Examples & demos** — [examples/](examples), [multiplayer/](multiplayer)- **Announcement pipeline**: [docs/announcements/](docs/announcements/README.md) (one pack per feature: the claim and its evidence, the postable text, the media by shot id, the Telegram variant), [data/announcements.json](data/announcements.json) (the ledger: every shipped surface, whether it was ever announced, its score and its stage), [data/announce-media.json](data/announce-media.json) (media recipes captured from the live product into `public/announce/`), [docs/announce-voice.md](docs/announce-voice.md) (the voice contract, derived from the engagement archive). `npm run announce:rank` ranks the backlog, `npm run announce:media` captures the frames, `npm run check:announce` gates a pack. Nothing here posts: publishing stays owner-gated.-- **Marketing assets** — [marketing/](marketing/README.md) (produced promo videos + re-render scripts, e.g. [marketing/imessage-video/](marketing/imessage-video); source-of-truth assets, not shipped to production)+- **Marketing assets** — [marketing/](marketing/README.md) (produced promo videos + re-render scripts, e.g. [marketing/imessage-video/](marketing/imessage-video); source-of-truth assets, not shipped to production). The narrated product demo lives in [marketing/product-demo/](marketing/product-demo/README.md): [scripts/make-product-demo.mjs](scripts/make-product-demo.mjs) (`npm run demo:video`) films a presenter walking every feature page on the live site, chaptered, with narration from the platform's own TTS lane. Its route is the Feature Tour curriculum, so a new page is in the next recording without editing a script. Docs: [docs/product-demo.md](docs/product-demo.md)- **Platform agents (server-side)**: [agents/](agents/README.md) (endpoint-shopper, fact-checker, tutor, unstoppable, x402-buildout: library modules imported by `api/` handlers, each with its own README)- **Site data files**: [data/](data/README.md) (pages.json, changelog.json, skills seed, RSS items: what each file drives and which script regenerates it)- **Repository guards**: [data/guards.json](data/guards.json) is the registry of every mechanical check and the stage it runs in (prebuild, gate, deploy build, pre-push, on demand). [scripts/audit-guards.mjs](scripts/audit-guards.mjs) proves each entry is real and each stage claim is true, [scripts/build-guards.mjs](scripts/build-guards.mjs) publishes it to `public/guards.json`, [pages/guards.html](pages/guards.html) renders it at `/guards`, and [docs/guards.md](docs/guards.md) plus [docs/tutorials/write-a-guard.md](docs/tutorials/write-a-guard.md) document it. There is no CI here, so this is the enforcement layer.diff --git a/marketing/README.md b/marketing/README.mdindex 14ad40ed4..77963fddd 100644--- a/marketing/README.md+++ b/marketing/README.md@@ -8,6 +8,7 @@ Campaign assets for three.ws announcements and distribution: video scripts and r| [imessage-video](imessage-video/README.md) | A 9:16 vertical video of a fake iMessage thread that lands the AR Forge and OpenAI collaboration beats, built for X, TikTok, and Reels. || [nvidia-inception](nvidia-inception/README.md) | The NVIDIA Inception announcement pack: paste-ready X, LinkedIn, and Telegram copy for a membership that was never announced, plus the badge and no-endorsement rules. || [openai-select-partner](openai-select-partner/README.md) | The OpenAI Select Partner announcement pack: draft press release, approved social copy, badge assets, and the usage rules that govern them. |+| [product-demo](product-demo/README.md) | The narrated product demo: a presenter walking every feature of three.ws on the live site, filmed at 1080p in chapters by `npm run demo:video`. || [pumpfun-verified](pumpfun-verified/README.md) | The $THREE pump.fun verification graphics: a three.ws / pump.fun lockup on black in 16:9 and 1:1, plus the HTML source they render from. || [quicknode](quicknode/) | Finished QuickNode announcement graphics, dark and light PNG variants. || [x402-milestone](x402-milestone/README.md) | A 25-second stats film for the x402 economy's first 25 days on Solana mainnet: Veo 3 footage composited with exact overlaid numbers. |diff --git a/marketing/product-demo/README.md b/marketing/product-demo/README.mdnew file mode 100644index 000000000..e8fb473e0--- /dev/null+++ b/marketing/product-demo/README.md@@ -0,0 +1,41 @@+# marketing/product-demo/++The narrated product demo: a presenter walking the whole of three.ws, feature by feature, on the+live site. This directory holds what the recorder produces.++Make it, or make it again, with:++```bash+npm run demo:video # every feature, all chapters+npm run demo:video:highlights # the short cut, flagship stops only+```++The recorder is [scripts/make-product-demo.mjs](../../scripts/make-product-demo.mjs) and the full+guide is [docs/product-demo.md](../../docs/product-demo.md).++## What lands here++| File | What it is |+| --- | --- |+| `three-ws-demo.mp4` | The whole film, every chapter joined, 1920x1080 with narration |+| `three-ws-demo-01-main.mp4` … | One file per chapter, in route order, so a chapter can be posted or re-shot on its own |+| `demo-manifest.json` | The run record: origin, route, narration lane and voice, stop count, per-chapter durations, and every stop that was skipped with the reason |+| `.raw/` | Working directory: the narration clip cache and per-chapter audio tracks. Safe to delete; deleting the voice cache means the next run re-synthesizes it |++**The mp4s are gitignored.** Each chapter is a 1080p screen recording and the set runs to hundreds of+megabytes, which is not something a git history should carry forever. `demo-manifest.json` is+committed, so the repo still records what was filmed and when. Re-run the recorder to get the film+back.++## What is in it++The route is the same curriculum the in-product Feature Tour walks+([`public/tour/curriculum.json`](../../public/tour/curriculum.json), generated from+`data/pages.json`), so the film covers every feature page the platform declares and a page that+ships tomorrow is in the next recording without anyone editing a script. Chapters are that+curriculum's sections: Main, Build, Crypto, Labs, Agent Tools, Learn.++Every frame is the live site. The flagship surfaces are really used (the marketplace is searched,+the forge switches lanes, an agent answers a message, a model turns under a drag), and a page that+fails is reported as a skipped stop rather than filmed as a still frame. The narration is spoken by+the platform's own TTS lane, so three.ws narrates three.ws.diff --git a/scripts/lib/demo-stage.mjs b/scripts/lib/demo-stage.mjsindex 0765ac147..f29ba643b 100644--- a/scripts/lib/demo-stage.mjs+++ b/scripts/lib/demo-stage.mjs@@ -19,7 +19,7 @@*/import { spawnSync } from 'node:child_process';import { createHash } from 'node:crypto';-import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'node:fs';+import { existsSync, mkdirSync, writeFileSync, readFileSync, rmSync } from 'node:fs';import { fileURLToPath } from 'node:url';import path from 'node:path';@@ -223,6 +223,20 @@ export function installOverlay() {else build();}+/**+ * The QA session as a Cookie header, for the API calls a recording makes on its+ * own behalf (the narration lane is signed-in-only, and its anonymous bucket is+ * far too small for a film).+ */+export function sessionCookie() {+ if (!existsSync(AUTH_STATE)) return null;+ const state = JSON.parse(readFileSync(AUTH_STATE, 'utf8'));+ const jar = (state.cookies || [])+ .filter((c) => String(c.domain || '').includes('three.ws'))+ .map((c) => `${c.name}=${c.value}`);+ return jar.length ? jar.join('; ') : null;+}+/*** A mouse that behaves like a hand on a demo machine: it bows its path, speeds* up in the middle, decelerates into the target, and pauses a beat before it@@ -490,15 +504,47 @@ export function ffmpeg(argv, { quiet = true } = {}) {* changed costs no synthesis at all, and a section re-recorded on its own gets* exactly the audio the full run would have given it.*/+export const NARRATOR_LANES = {+ /* Microsoft Edge Neural voices, proxied and cached in R2 by the platform.+ Signed in, it allows 20 unique lines a minute, which is what makes a film+ with a few hundred spoken lines possible at all. */+ edge: {+ endpoint: '/api/tts/edge',+ voice: 'en-US-AndrewMultilingualNeural',+ ext: 'mp3',+ body: (text, voice) => ({ text, voice }),+ perMinute: 20,+ },+ /* The platform's own free NVIDIA Magpie lane. Better suited to a handful of+ lines than to a full film: it allows 40 an hour for a signed-in caller. */+ speak: {+ endpoint: '/api/tts/speak',+ voice: 'nova',+ ext: 'wav',+ body: (text, voice) => ({ text, voice, format: 'wav' }),+ perMinute: 0.6,+ },+};+export class Narrator {- constructor({ origin, dir, voice = 'nova', log = () => {}, enabled = true }) {+ constructor({ origin, dir, lane = 'edge', voice = null, cookie = null, speechify = (t) => t, log = () => {}, enabled = true }) {+ this.lane = NARRATOR_LANES[lane];+ if (!this.lane) throw new Error(`unknown narrator lane "${lane}"; use ${Object.keys(NARRATOR_LANES).join(' or ')}`);+ this.laneId = lane;this.origin = origin;this.dir = dir;- this.voice = voice;+ this.voice = voice || this.lane.voice;+ this.cookie = cookie;+ /* What is written on screen and what is spoken are not the same string:+ a caption reads "three.ws", a synthesizer needs "three dot w s". The+ cache is keyed on the spoken form, since that is what was rendered. */+ this.speechify = speechify;this.log = log;this.enabled = enabled;this.clips = [];this.t0 = 0;+ this.spacingMs = Math.ceil(60_000 / this.lane.perMinute) + 400;+ this.lastCall = 0;mkdirSync(dir, { recursive: true });}@@ -508,21 +554,76 @@ export class Narrator {this.t0 = t0;}+ fileFor(text) {+ const key = createHash('sha1').update(`${this.laneId}\u0000${this.voice}\u0000${text}`).digest('hex').slice(0, 20);+ return path.join(this.dir, `${key}.wav`);+ }++ /**+ * One line of speech, cached on disk by lane, voice and text.+ *+ * Every lane is rate limited (that is the point of a shared endpoint), so a+ * 429 is a wait rather than a failure: the response carries how long, and a+ * film with hundreds of lines will meet one. Requests are also spaced to the+ * lane's own budget so the limiter is usually never reached.+ */async synth(text) {- const key = createHash('sha1').update(`${this.voice}\u0000${text}`).digest('hex').slice(0, 20);- const file = path.join(this.dir, `${key}.wav`);- if (!existsSync(file)) {- const res = await fetch(`${this.origin}/api/tts/speak`, {+ const file = this.fileFor(text);+ if (existsSync(file)) return { file, ms: ffprobeDuration(file) };++ const raw = `${file}.${this.lane.ext}`;+ for (let attempt = 0; attempt < 5; attempt += 1) {+ const wait = this.spacingMs - (Date.now() - this.lastCall);+ if (wait > 0) await sleep(wait);+ this.lastCall = Date.now();+ const res = await fetch(`${this.origin}${this.lane.endpoint}`, {method: 'POST',- headers: { 'content-type': 'application/json' },- body: JSON.stringify({ text, voice: this.voice, format: 'wav' }),+ headers: {+ 'content-type': 'application/json',+ ...(this.cookie ? { cookie: this.cookie } : {}),+ },+ body: JSON.stringify(this.lane.body(text, this.voice)),});- if (!res.ok) throw new Error(`TTS ${res.status}: ${(await res.text()).slice(0, 200)}`);+ if (res.status === 429) {+ const body = await res.text();+ const after = Number(res.headers.get('retry-after')) || JSON.parse(body || '{}').retry_after || 60;+ this.log(`narrator rate limited, waiting ${after}s`);+ await sleep(Math.min(after, 300) * 1000 + 500);+ continue;+ }+ if (!res.ok) throw new Error(`TTS ${res.status} on ${this.lane.endpoint}: ${(await res.text()).slice(0, 180)}`);const buf = Buffer.from(await res.arrayBuffer());if (buf.length < 1024) throw new Error(`TTS returned ${buf.length} bytes for "${text.slice(0, 40)}"`);- writeFileSync(file, buf);+ writeFileSync(raw, buf);+ /* One format for every clip, so the track is a concatenation rather+ than a re-encode per line. */+ ffmpeg(['-i', raw, '-ar', '44100', '-ac', '1', '-c:a', 'pcm_s16le', file]);+ rmSync(raw, { force: true });+ return { file, ms: ffprobeDuration(file) };+ }+ throw new Error(`TTS stayed rate limited for "${text.slice(0, 40)}"`);+ }++ /**+ * Synthesize a whole script before the camera rolls.+ *+ * Filming is real time, so a line that is fetched mid-take is dead air in+ * the film. Warming the cache first moves every one of those waits out of+ * the recording, and a rerun pays none of it twice.+ */+ async warm(texts) {+ if (!this.enabled) return { made: 0, cached: 0 };+ const unique = [...new Set(texts.map((t) => this.speechify(String(t || '')).trim()).filter(Boolean))];+ const todo = unique.filter((t) => !existsSync(this.fileFor(t)));+ this.log(`narration: ${unique.length} lines, ${unique.length - todo.length} already synthesized`);+ if (!todo.length) return { made: 0, cached: unique.length };+ const eta = Math.ceil((todo.length * this.spacingMs) / 60_000);+ this.log(`synthesizing ${todo.length} lines on the ${this.laneId} lane (about ${eta} min)`);+ for (const [i, text] of todo.entries()) {+ await this.synth(text);+ if ((i + 1) % 20 === 0 || i + 1 === todo.length) this.log(` ${i + 1}/${todo.length} lines`);}- return { file, ms: ffprobeDuration(file) };+ return { made: todo.length, cached: unique.length - todo.length };}/**@@ -532,7 +633,7 @@ export class Narrator {async say(presenter, text, { kicker = '', caption = true } = {}) {if (caption) await presenter.caption(text, kicker);if (!this.enabled) return Date.now() + Math.min(9000, 900 + text.length * 46);- const { file, ms } = await this.synth(text);+ const { file, ms } = await this.synth(this.speechify(text));this.clips.push({ at: Math.max(0, Date.now() - this.t0), file, ms });return Date.now() + ms;}diff --git a/scripts/make-product-demo.mjs b/scripts/make-product-demo.mjsindex 36603ae7c..813e8783b 100644--- a/scripts/make-product-demo.mjs+++ b/scripts/make-product-demo.mjs@@ -33,7 +33,8 @@* --authed replay .auth/audit-state.json (signed-in surfaces)* --origin= film a dev server instead of https://three.ws* --out= output directory (default marketing/product-demo)- * --voice= TTS voice id (default nova)+ * --narrator=edge|speak which TTS lane to synthesize on (default edge)+ * --voice= voice id for that lane (default en-US-AndrewMultilingualNeural)* --no-voice caption-only, no narration track* --reuse keep chapter mp4s that already exist* --strict a failed stop fails the run@@ -45,7 +46,7 @@ import { existsSync, mkdirSync, rmSync, writeFileSync } from 'node:fs';import path from 'node:path';import {ROOT, STAGE, FPS, Presenter, Narrator, installOverlay, launchOptions, contextOptions,- encodeSection, concatParts, mediaInfo, readJson, sleep,+ encodeSection, concatParts, mediaInfo, readJson, sleep, sessionCookie,} from './lib/demo-stage.mjs';const args = Object.fromEntries(process.argv.slice(2).map((a) => {@@ -55,7 +56,8 @@ const args = Object.fromEntries(process.argv.slice(2).map((a) => {const ORIGIN = String(args.origin || 'https://three.ws').replace(/\/$/, '');const OUT = path.resolve(ROOT, String(args.out || 'marketing/product-demo'));const WORK = path.join(OUT, '.raw');-const VOICE = String(args.voice || 'nova');+const LANE = String(args.narrator || 'edge');+const VOICE = args.voice ? String(args.voice) : null;const CRF = Number(args.crf || 22);const STRICT = Boolean(args.strict);const LIMIT = args.limit ? Number(args.limit) : Infinity;@@ -65,17 +67,33 @@ const log = (...m) => console.log('[demo]', ...m);const curriculum = readJson(path.join(ROOT, 'public/tour/curriculum.json'));-const OPENING = 'This is three dot w s, the 3D agent layer of the internet. Over the next few chapters '+const OPENING = 'This is three.ws, the 3D agent layer of the internet. Over the next few chapters '+ 'I am going to walk the whole platform with you, feature by feature, on the live site. Everything you '+ 'are about to see is the real product answering in real time.';const CLOSING = 'That is the whole platform: build a body, give it a brain, put it to work, and let it '- + 'hold its own wallet. Everything in this film is live at three dot w s right now.';--/* A caption is read, narration is heard, and neither wants a raw slug. */-const say = (text) => String(text || '')+ + 'hold its own wallet. Everything in this film is live at three.ws right now.';++/* Captions carry the words as they are written; the synthesizer is handed the+ same line with the pieces a reader parses silently spelled out for it. */+const SPOKEN = {+ 'three.ws': 'three dot w s',+ x402: 'x four oh two',+ 'ERC-8004': 'E R C 8004',+ USDC: 'U S D C',+ GLB: 'G L B',+ SDK: 'S D K',+ API: 'A P I',+ APIs: 'A P Is',+ MCP: 'M C P',+ HTML: 'H T M L',+ URL: 'U R L',+ IK: 'I K',+ FK: 'F K',+};+const SPOKEN_RE = new RegExp(`\\b(${Object.keys(SPOKEN).map((k) => k.replace(/[.\-]/g, '\\$&')).join('|')})\\b`, 'g');+const speech = (text) => String(text || '')+ .replace(SPOKEN_RE, (m) => SPOKEN[m] || m).replace(/three\.ws/gi, 'three dot w s')- .replace(/\bx402\b/gi, 'x four oh two')- .replace(/\bERC-8004\b/gi, 'E R C 8004')/* build-tour.mjs writes the page descriptions with colons where the sourcecopy had a dash, which a synthesizer reads as a full stop mid-clause. */.replace(/(\w):\s+(?=[a-z])/g, '$1, ')@@ -134,7 +152,7 @@ const ACTS = {'/discover': async (p, { beat }) => {await p.type('input[placeholder*="Search by name"]', 'agent', { cps: 13, settle: 1200 });- await beat('Every agent here is registered on chain, on Solana and on the E R C 8004 registries, so the directory is not ours to fake.');+ await beat('Every agent here is registered on chain, on Solana and on the ERC-8004 registries, so the directory is not ours to fake.');await p.clickIfPresent('button.tws-lc-chip:has-text("All agents")', { after: 1500 });await p.readDown(760, { ms: 1500 });},@@ -228,16 +246,16 @@ const ACTS = {'/agents': async (p, { beat }) => {await p.type('#ag-search', 'trader', { cps: 12, settle: 1300 });- await beat('Every agent anyone has built on three dot w s, searchable, each with its own page.');+ await beat('Every agent anyone has built on three.ws, searchable, each with its own page.');await p.readDown(700, { ms: 1400 });},'/pay': async (p, { beat }) => {- await beat('This is machine to machine payment. An A P I answers a request with a price instead of a refusal, and the agent pays it.');+ await beat('This is machine to machine payment. An API answers a request with a price instead of a refusal, and the agent pays it.');await p.clickIfPresent('button.chain-tab:has-text("BNB")', { after: 1300 });await p.clickIfPresent('button.chain-tab:has-text("Solana")', { after: 1300 });await p.type('#prompt', 'validate https://example.com', { cps: 16, settle: 700 });- await beat('Solana first, in U S D C, settling in under a second and costing a fraction of a cent.');+ await beat('Solana first, in USDC, settling in under a second and costing a fraction of a cent.');await p.readThrough({ budgetMs: 3500 });},@@ -283,7 +301,7 @@ const ACTS = {'/docs': async (p, { beat }) => {await p.readThrough({ budgetMs: 4500 });- await beat('Every surface in this film has an A P I, an S D K, and a page in here explaining it.');+ await beat('Every surface in this film has an API, an SDK, and a page in here explaining it.');},};@@ -345,7 +363,39 @@ if (args['dry-run']) {mkdirSync(OUT, { recursive: true });mkdirSync(WORK, { recursive: true });const voiceDir = path.join(WORK, 'voice');-const narrator = new Narrator({ origin: ORIGIN, dir: voiceDir, voice: VOICE, log, enabled: !args['no-voice'] });+const narrator = new Narrator({+ origin: ORIGIN,+ dir: voiceDir,+ lane: LANE,+ voice: VOICE,+ cookie: sessionCookie(),+ speechify: speech,+ log,+ enabled: !args['no-voice'],+});++/*+ * Every line the film will speak, synthesized before the camera rolls.+ *+ * Filming is real time, so a line fetched mid-take is dead air on screen: the+ * first cut of this film opened on 52 seconds of silence because the longest+ * line in it was being synthesized while the page sat there. The stop lines and+ * chapter intros are data, and an act's own beats are string literals in its+ * source, so the whole script can be collected up front.+ */+const BEAT_RE = /beat\(\s*'((?:[^'\\]|\\.)*)'\s*\)/g;+function scriptLines() {+ const lines = [OPENING, CLOSING];+ for (const chapter of chapters) {+ lines.push(chapter.intro);+ for (const stop of chapter.stops) lines.push(lineFor(stop));+ }+ for (const act of Object.values(ACTS)) {+ for (const m of String(act).matchAll(BEAT_RE)) lines.push(m[1].replace(/\\'/g, "'"));+ }+ return lines;+}+await narrator.warm(scriptLines());const skipped = [];const parts = [];@@ -379,23 +429,25 @@ try {they are spoken, so the caption bar stays out of its way. */const first = chapter.stops[0];await page.goto(`${ORIGIN}${first.path}`, { waitUntil: 'domcontentloaded', timeout: 60_000 }).catch(() => {});- await page.waitForTimeout(2600);- await p.ready();+ /* The card goes up as soon as the document exists, so the chapter opens+ on a title rather than on a page still streaming its 3D scene in. */await p.showCursor(false);if (ci === 0) {/* The opening already welcomes the viewer, so chapter one does notalso read the guide's own welcome line back to them. */- await p.chapter('', 'three.ws', say(OPENING));- const until = await narrator.say(p, say(OPENING), { caption: false });+ await p.chapter('', 'three.ws', OPENING);+ const until = await narrator.say(p, OPENING, { caption: false });await narrator.settle(until);await p.chapter('Chapter 1', chapter.title, '');await sleep(2600);} else {- const intro = say(chapter.intro);+ const intro = chapter.intro;await p.chapter(`Chapter ${ci + 1}`, chapter.title, intro);const introUntil = await narrator.say(p, intro, { caption: false });await narrator.settle(introUntil);}+ await page.waitForLoadState('load', { timeout: 15_000 }).catch(() => {});+ await p.ready();await p.chapter('', '', '');await p.showCursor(true);await sleep(700);@@ -406,20 +458,19 @@ try {if (new URL(page.url()).pathname !== stop.path) {await page.goto(`${ORIGIN}${stop.path}`, { waitUntil: 'domcontentloaded', timeout: 45_000 });}- await p.ready();+ /* The line starts against the document as soon as it exists, so+ the film never sits in silence waiting for a 3D scene to+ stream in, and the caption is up while it arrives. */await p.badge(`three.ws${stop.path === '/' ? '' : stop.path}`);- /* The line starts while the page is still settling, so the film- never sits in silence waiting for a 3D scene to stream in. */- const until = await narrator.say(p, say(lineFor(stop)), { kicker: chapter.title });- await page.waitForLoadState('load', { timeout: 20_000 }).catch(() => {});- await sleep(stop.highlight ? 1800 : 900);+ const until = await narrator.say(p, lineFor(stop), { kicker: chapter.title });+ await page.waitForLoadState('load', { timeout: 12_000 }).catch(() => {});+ await sleep(stop.highlight ? 1500 : 700);await p.ready();/* A line spoken from inside an act: the presenter keeps talkingwhile they click, which is what keeps the film from clickingin silence on the surfaces that take a while to show. */const beat = async (text) => {- const line = say(text);- const done = await narrator.say(p, line, { kicker: chapter.title });+ const done = await narrator.say(p, text, { kicker: chapter.title });await narrator.settle(done, { tail: 260 });};const act = ACTS[stop.path] || ((pp, c) => genericAct(pp, c.stop));@@ -438,8 +489,8 @@ try {await p.caption('', '');await p.badge('');await p.showCursor(false);- await p.chapter('', 'three.ws', say(CLOSING));- const until = await narrator.say(p, say(CLOSING), { caption: false });+ await p.chapter('', 'three.ws', CLOSING);+ const until = await narrator.say(p, CLOSING, { caption: false });await narrator.settle(until, { tail: 1400 });}@@ -473,7 +524,7 @@ const manifest = {origin: ORIGIN,route: ROUTE,authed: Boolean(args.authed),- voice: args['no-voice'] ? null : VOICE,+ narrator: args['no-voice'] ? null : { lane: LANE, voice: narrator.voice },stage: `${STAGE.width}x${STAGE.height}@${FPS}`,stops: totalStops,recorded: totalStops - skipped.length,