From f8ceb980a1de5f9782627927aa5fff3e73ea3601 Mon Sep 17 00:00:00 2001 From: OmO Orchestrator Date: Wed, 18 Nov 2026 14:17:16 -0500 Subject: [PATCH] feat(e2e): add playwright-recast motion graphics to the demo video pipeline Adds cursor overlay, click ripples, auto-zoom, kinetic-typography intro/outro cards, real per-beat captions, and a self-synthesized ambient music bed to the main demo scene via playwright-recast, with ffmpeg-static/ffprobe-static as real devDependencies. Fixes a concat-stage audio/duration regression found during verification (a single filter_complex mixing a real audio stream with an anullsrc generator node silently truncated output duration) by splitting the final concat into three separately-verified ffmpeg passes. --- e2e/demoVideoFull.e2e.mjs | 332 +++++++++++- package-lock.json | 1070 +++++++++++++++++++++++++++++++++++++ package.json | 3 + 3 files changed, 1388 insertions(+), 17 deletions(-) diff --git a/e2e/demoVideoFull.e2e.mjs b/e2e/demoVideoFull.e2e.mjs index 5996714..ef4b9c3 100644 --- a/e2e/demoVideoFull.e2e.mjs +++ b/e2e/demoVideoFull.e2e.mjs @@ -12,21 +12,44 @@ // technique e2e/fairDrawWalletCredit.e2e.mjs already uses) so Fair // Draw's real commit/reveal/verify cycle deterministically resolves to // "You" winning, making the wallet-credit beat reliably demonstrable on -// camera without touching any other real logic. +// camera without touching any other real logic. The raw capture is then +// run through `playwright-recast` (a real trace-based motion-graphics +// pipeline - see .omo/ulw-research/20261118-121942/ for the research +// that picked it over a from-scratch Remotion/Manim rebuild) to add a +// synthetic cursor, click ripples, and auto-zoom onto the exact element +// being interacted with, derived from the real Playwright trace - not +// hand-authored keyframes. It also gets a motion-graphics polish pass +// (see .omo/evidence/full-feature-demo/DEMO_VIDEO_NOTES.md for the +// research behind each choice): a kinetic-typography title card as a +// cold open/outro (crossfaded in via `.intro()`/`.outro()` - the same +// "bold statement before the product" hook used by Linear/Apple/Raycast +// launch films), real on-screen captions generated from this script's +// own beat-log narration (written into the trace via +// `context.tracing.group()` using the exact marker convention +// `subtitlesFromTrace()` already looks for, so no voiceover/TTS key is +// needed - captions carry the explanation instead), and a short +// self-synthesized ambient pad (`ffmpeg` sine-wave tones, not a +// copyrighted track) via `.backgroundMusic()` so the video isn't silent. // // Scene 2 ("assembly-sync"): TWO genuinely isolated browser contexts // (separate storage origins - the same discipline // e2e/assemblyScreenSync.e2e.mjs already proved out) open the real // shipped Assembly screen and drive its real "Sync with nearby devices" // toggle through connect -> partition -> heal -> converge, recorded as -// two side-by-side panes. +// two side-by-side panes. Left as a plain capture (no recast pass): the +// point of this scene is the side-by-side proof of independent device +// state, which a zoom/cursor layer would only obscure. // // The two scenes are concatenated (scale/pad to one common canvas) into -// a single final video with the Playwright-bundled ffmpeg binary. +// a single final video with a real ffmpeg binary. import { chromium } from "playwright"; import { createServer as createViteServer } from "vite"; +import { Recast } from "playwright-recast"; +import { NARRATE_TITLE_PREFIX } from "playwright-recast/helpers"; +import ffmpegStatic from "ffmpeg-static"; +import ffprobeStatic from "ffprobe-static"; import { spawn, execFileSync } from "node:child_process"; -import { mkdirSync, writeFileSync, existsSync } from "node:fs"; +import { mkdirSync, writeFileSync, existsSync, readdirSync } from "node:fs"; import { dirname, resolve } from "node:path"; import { fileURLToPath } from "node:url"; @@ -40,15 +63,33 @@ const FINAL_VIDEO = resolve(ROOT, ".omo/evidence/full-feature-demo/the-commons-h // is a `--disable-everything` build meant only for Playwright's own // frame-to-webm screencast conversion: it has no `hstack`/`concat`/ // `setsar`/`fps` filters and no libx264 encoder at all, so it cannot do -// the compositing/concatenation this script needs. `ffmpeg-static` -// (installed into an isolated /tmp dir, never touching this project's -// package.json) provides a real full static build instead. -const FFMPEG_BIN = process.env.FFMPEG_BIN ?? "/tmp/ffmpeg-tool/node_modules/ffmpeg-static/ffmpeg"; +// the compositing/concatenation this script needs, nor what +// `playwright-recast` needs (`zoompan`, `xfade`, `overlay`, `subtitles`/ +// `ass` - confirmed present; `drawtext` confirmed ABSENT, so `.urlBar()` +// is not used anywhere in this script). `ffmpeg-static`/`ffprobe-static` +// are real devDependencies of this project (not a throwaway /tmp +// install) providing a full static build of both binaries; their +// directory is prepended to PATH so `playwright-recast`'s own internal +// `execFileSync('ffmpeg'|'ffprobe', ...)` calls find them too. +const FFMPEG_BIN = process.env.FFMPEG_BIN ?? ffmpegStatic; +const FFPROBE_BIN = process.env.FFPROBE_BIN ?? ffprobeStatic.path; if (!existsSync(FFMPEG_BIN)) { throw new Error(`ffmpeg binary not found at ${FFMPEG_BIN}. Set FFMPEG_BIN env var to override.`); } +if (!existsSync(FFPROBE_BIN)) { + throw new Error(`ffprobe binary not found at ${FFPROBE_BIN}. Set FFPROBE_BIN env var to override.`); +} +process.env.PATH = `${dirname(FFMPEG_BIN)}:${dirname(FFPROBE_BIN)}:${process.env.PATH ?? ""}`; const PANE = { width: 414, height: 896 }; +// The main scene is recorded at 2x device-pixel density (recast's own +// documented fix for sharp zoomed/overlaid text - plain `deviceScaleFactor` +// never reaches a headless recording; it needs BOTH the +// `--force-device-scale-factor` launch arg AND a matching `recordVideo` +// `size`, confirmed by this project's own test render during the research +// pass, which otherwise warned of a 4.64x upscale and visibly soft text). +const RECAST_SCALE = 2; +const MAIN_VIDEO_SIZE = { width: PANE.width * RECAST_SCALE, height: PANE.height * RECAST_SCALE }; const FINAL_W = PANE.width * 2; const FINAL_H = PANE.height; @@ -74,8 +115,18 @@ async function waitFor(fn, label, timeoutMs = 20000) { throw new Error(`timeout waiting for: ${label}${lastErr ? ` (last error: ${lastErr})` : ""}`); } -function makeBeatLog(sceneName, sceneStartRef) { +// `context` is optional (Scene 2's dualBeat has its own logger and never +// passes one): when present, each beat also opens a `context.tracing.group()` +// titled with recast's own `NARRATE_TITLE_PREFIX` marker - the exact +// convention its `subtitlesFromTrace()` stage already looks for (confirmed +// against `helpers.d.ts` and a standalone trace-parse probe), so this +// script's real beat narration becomes real on-screen captions without +// needing playwright-bdd or a TTS key. Each caption's window runs from its +// own beat to the next one's (or scene end), matching `narrate()`'s own +// documented span semantics. +function makeBeatLog(sceneName, sceneStartRef, context) { const beats = []; + let captionOpen = false; return { beats, async log(label, note, page) { @@ -87,10 +138,96 @@ function makeBeatLog(sceneName, sceneStartRef) { } beats.push({ scene: sceneName, label, note, sceneRelativeMs, screenshot }); console.log(`[${sceneName} +${(sceneRelativeMs / 1000).toFixed(1)}s] ${label}: ${note}`); + if (context) { + if (captionOpen) await context.tracing.groupEnd(); + await context.tracing.group(`${NARRATE_TITLE_PREFIX}${note}`); + captionOpen = true; + } + }, + async closeCaption() { + if (context && captionOpen) { + await context.tracing.groupEnd(); + captionOpen = false; + } }, }; } +// --------------------------------------------------------------------- +// Motion-graphics assets: a kinetic-typography title card (cold-open hook +// + outro, the same "bold statement before the product" pattern +// reverse-engineered from Linear/Apple/Raycast launch films - see +// DEMO_VIDEO_NOTES.md) and a short self-synthesized ambient pad (plain +// `ffmpeg` sine oscillators - no third-party/copyrighted audio file). +// Both are rendered with the same Chromium/ffmpeg this script already +// uses, at the exact resolution `addMotionGraphics()` needs so recast's +// internal `xfade`/`amix` compositing doesn't choke on a mismatch. +// --------------------------------------------------------------------- +const TITLE_CARD_CSS = ` + * { margin:0; padding:0; box-sizing:border-box; } + html,body { width:100%; height:100%; background:#05070d; overflow:hidden; font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif; } + .wrap { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; padding:0 60px; text-align:center; } + .glow { position:absolute; width:900px; height:900px; border-radius:50%; background:radial-gradient(circle, rgba(22,119,255,0.35) 0%, rgba(22,119,255,0) 70%); filter:blur(10px); } + .eyebrow { color:#4f9dff; letter-spacing:0.4em; font-size:20px; font-weight:600; text-transform:uppercase; opacity:0; transform:translateY(14px); animation: rise 0.6s ease forwards 0.15s; } + .title { color:#f5f7ff; font-size:72px; font-weight:800; letter-spacing:-0.02em; margin-top:18px; line-height:1.05; opacity:0; transform:translateY(20px); animation: rise 0.7s ease forwards 0.45s; } + .rule { width:110px; height:4px; background:#1677FF; margin-top:26px; transform:scaleX(0); transform-origin:center; animation: grow 0.6s ease forwards 0.95s; } + .tagline { color:#9fb3d9; font-size:26px; font-weight:400; margin-top:26px; max-width:620px; opacity:0; transform:translateY(14px); animation: rise 0.6s ease forwards 1.3s; } + @keyframes rise { to { opacity:1; transform:translateY(0); } } + @keyframes grow { to { transform:scaleX(1); } } +`; + +function titleCardHtml({ eyebrow, title, tagline }) { + return ` +
+
${eyebrow}
+
${title}
+
+
${tagline}
+
`; +} + +// Records the title card through a real throwaway Playwright context (same +// `recordVideo` mechanism as the real scenes) so the reveal animation plays +// out as genuine composited video frames, not a hand-assembled still. +async function renderTitleCard({ html, size, durationMs, outDir }) { + mkdirSync(outDir, { recursive: true }); + const browser = await chromium.launch({ headless: true }); + const context = await browser.newContext({ viewport: size, recordVideo: { dir: outDir, size } }); + const page = await context.newPage(); + await page.setContent(html, { waitUntil: "load" }); + await page.waitForTimeout(durationMs); + await context.close(); + await browser.close(); + const file = readdirSync(outDir).find((f) => f.endsWith(".webm")); + if (!file) throw new Error(`title card recording produced no .webm in ${outDir}`); + return resolve(outDir, file); +} + +// A soft three-note pad (C3/E3/G3) with slow tremolo, faded in and out - +// generated entirely by ffmpeg's `lavfi` sine-wave source, so there's no +// licensing question around the audio bed `.backgroundMusic()` needs. +function generateAmbientTrack(outPath, durationSeconds = 26) { + mkdirSync(dirname(outPath), { recursive: true }); + const fadeOutStart = Math.max(0, durationSeconds - 4); + execFileSync( + FFMPEG_BIN, + [ + "-y", + "-f", "lavfi", "-i", `sine=frequency=130.81:duration=${durationSeconds}`, + "-f", "lavfi", "-i", `sine=frequency=164.81:duration=${durationSeconds}`, + "-f", "lavfi", "-i", `sine=frequency=196.00:duration=${durationSeconds}`, + "-filter_complex", + `[0][1][2]amix=inputs=3:duration=longest:weights=1 0.8 0.7[mix];` + + `[mix]tremolo=f=0.15:d=0.3,volume=0.14,afade=t=in:st=0:d=3,afade=t=out:st=${fadeOutStart}:d=4[out]`, + "-map", "[out]", + "-c:a", "libmp3lame", "-b:a", "128k", + outPath, + ], + { stdio: ["ignore", "pipe", "pipe"] }, + ); + return outPath; +} + function startSignaling() { return new Promise((resolvePromise, reject) => { const child = spawn("node", ["node_modules/y-webrtc/bin/server.js"], { @@ -159,15 +296,25 @@ async function recordMainScene() { const videoDir = resolve(VIDEO_TMP_DIR, "main"); mkdirSync(videoDir, { recursive: true }); - const browser = await chromium.launch({ headless: true, args: ["--no-sandbox"] }); + const browser = await chromium.launch({ + headless: true, + args: ["--no-sandbox", `--force-device-scale-factor=${RECAST_SCALE}`], + }); const context = await browser.newContext({ viewport: PANE, - recordVideo: { dir: videoDir, size: PANE }, + deviceScaleFactor: RECAST_SCALE, + recordVideo: { dir: videoDir, size: MAIN_VIDEO_SIZE }, }); + // Real Playwright tracing (actions, screencast frames, cursor positions) + // is what playwright-recast's autoZoom()/cursorOverlay()/clickEffect() + // read to find click/fill coordinates - this is the one new line of + // capture this motion-graphics pass needed; the tour script below is + // completely unmodified. + await context.tracing.start({ screenshots: true, snapshots: true }); await forceLocalIdentityWinsFairDraw(context); const page = await context.newPage(); const sceneStartRef = { value: Date.now() }; - const beatLog = makeBeatLog("main", sceneStartRef); + const beatLog = makeBeatLog("main", sceneStartRef, context); try { // --- Cold start: real non-custodial identity resolves, honest empty state --- @@ -486,14 +633,118 @@ async function recordMainScene() { await page.getByRole("button", { name: "Counter Widget" }).waitFor({ state: "visible" }); await beatLog.log("upload-tile-appears", "the uploaded mini-app now appears as a real tile on the home grid", page); await sleep(1400); + await beatLog.closeCaption(); } finally { + await context.tracing.stop({ path: resolve(videoDir, "trace.zip") }); await context.close(); await browser.close(); } const videoPath = await page.video().path(); console.log(`Scene 1 recorded: ${videoPath} (${((Date.now() - sceneStartRef.value) / 1000).toFixed(1)}s wall-clock)`); - return { videoPath, beats: beatLog.beats }; + + const enhancedPath = await addMotionGraphics(videoDir); + return { videoPath: enhancedPath, rawVideoPath: videoPath, beats: beatLog.beats }; +} + +// Runs the real Playwright trace this scene just recorded through +// playwright-recast: a synthetic cursor + click ripples at every real +// click/selectOption action, and an auto-zoom onto the exact element a +// fill/type/click action targeted, timed to that action's own real +// duration - all derived from the trace, never hand-authored keyframes. +// `.subtitlesFromTrace()` is required by `.autoZoom()` (confirmed by +// actually running this pipeline - it throws "autoZoom() requires +// subtitles() first" otherwise); it now also carries real captions, since +// `beatLog.log()` writes each beat's narration into the trace via +// `context.tracing.group()` using recast's own marker convention. +// +// Motion-graphics pass (see DEMO_VIDEO_NOTES.md for the research this is +// drawn from): +// 1. Kinetic-typography intro/outro title cards, crossfaded in/out - +// the "bold statement before the product" cold-open hook reverse- +// engineered from Linear/Apple/Raycast launch films. +// 2. Real captions (above) with a restyled, high-contrast caption box +// instead of the library default - legible on a 414px-wide pane and +// consistent with the app's own accent blue (#1677FF). +// 3. A short self-synthesized ambient pad via `.backgroundMusic()` - no +// voiceover (no TTS key in this environment), so sound design leans +// on music + pacing instead, at a volume low enough not to compete +// with the captions. +async function addMotionGraphics(videoDir) { + console.log("\nAdding motion graphics (cursor, click ripples, auto-zoom, intro/outro, captions, music) via playwright-recast..."); + const outputPath = resolve(videoDir, "main-enhanced.mp4"); + + const assetsDir = resolve(VIDEO_TMP_DIR, "assets"); + const introPath = await renderTitleCard({ + html: titleCardHtml({ + eyebrow: "PatriotHacks 2026", + title: "THE COMMONS", + tagline: "One identity. One signed ledger. No backend.", + }), + size: MAIN_VIDEO_SIZE, + durationMs: 2600, + outDir: resolve(assetsDir, "intro"), + }); + const outroPath = await renderTitleCard({ + html: titleCardHtml({ + eyebrow: "Built in 36 hours", + title: "The Commons", + tagline: "13 mini-apps. 1 wallet. Every balance a signed, replayable event.", + }), + size: MAIN_VIDEO_SIZE, + durationMs: 2600, + outDir: resolve(assetsDir, "outro"), + }); + const musicPath = generateAmbientTrack(resolve(assetsDir, "ambient.mp3"), 26); + + await Recast.from(videoDir) + .parse() + .speedUp({ duringIdle: 3.0, duringUserAction: 1.0, duringNetworkWait: 2.0, duringNavigation: 2.0, minSegmentDuration: 500 }) + .subtitlesFromTrace() + .autoZoom({ inputLevel: 1.4, clickLevel: 1.25, centerBias: 0.3 }) + .cursorOverlay() + .clickEffect() + .intro({ path: introPath, fadeDuration: 600 }) + .outro({ path: outroPath, fadeDuration: 600 }) + .backgroundMusic({ path: musicPath, volume: 0.1, ducking: false, fadeOutMs: 2500, loop: true }) + .render({ + format: "mp4", + resolution: MAIN_VIDEO_SIZE, + fps: 30, + // `burnSubtitles` defaults to false (confirmed in + // `dist/render/renderer.js`) - without it, `subtitlesFromTrace()`'s + // cues are parsed but never drawn, which is exactly what an earlier + // test render of this change showed (real captions in the trace, + // nothing burned into the frames). + burnSubtitles: true, + // `fontSize` is calibrated against the library's internal + // 1080p-widescreen reference canvas - on this project's narrow + // 828px-wide portrait canvas the library's own default ran text off + // the right edge uncut (confirmed by an earlier test render's + // extracted frames), so it's scaled down to roughly the 0.43x width + // ratio (828/1920) instead of reused verbatim. `chunkOptions` was + // tried and reverted: it splits one beat's full caption into many + // ~17-char fragments each on its own short timer, which flashed + // past before a viewer could read it (confirmed by frame extraction + // showing a single orphaned word per frame) - `wrapStyle: 'smart'` + // alone lets libass wrap the full line across 2-3 lines and hold it + // for the beat's whole on-screen window instead. + subtitleStyle: { + fontSize: 30, + primaryColor: "#F5F7FF", + backgroundColor: "#05070D", + backgroundOpacity: 0.82, + padding: 16, + position: "bottom", + marginVertical: 70, + marginHorizontal: 36, + bold: true, + wrapStyle: "smart", + }, + }) + .toFile(outputPath); + console.log(`Motion-graphics pass written: ${outputPath}`); + return outputPath; } // ======================================================================= @@ -671,16 +922,63 @@ function compositeSideBySide(videoPathA, videoPathB, outPath) { function concatToFinal(mainVideoPath, assemblyCompositePath) { mkdirSync(dirname(FINAL_VIDEO), { recursive: true }); - const filter = + // mainVideoPath may carry a real audio track (intro/outro/background + // music muxed in by addMotionGraphics()); assemblyCompositePath never + // does. concat requires matching stream counts per segment, so a + // silent pad stands in for segment 2's missing audio rather than + // dropping audio for both (which silently lost it before, and - the + // real bug this fixes - a `-map "[v]"`-only map with an unreferenced + // audio stream still present on input 0 was truncating the output's + // duration well short of its real video length). + // A single filter_complex mixing a real [0:a] stream with a + // filter-graph-generated anullsrc pad truncated this video's duration + // hard (confirmed by direct testing: per-stream ffprobe showed both + // main-enhanced streams genuinely ~43.5s, but that one-pass concat + // produced a ~26s output) - so this does it as three separately + // verifiable passes instead: video-only concat (the pattern already + // proven to work), a real silent file concatenated onto a real + // extracted copy of the main audio (not a filter-graph source node), + // then a final mux. + const assemblyDuration = ffmpegDurationSeconds(assemblyCompositePath) ?? 10; + const tmpVideo = resolve(VIDEO_TMP_DIR, "final-video-only.mp4"); + const tmpSilence = resolve(VIDEO_TMP_DIR, "silence.m4a"); + const tmpMainAudio = resolve(VIDEO_TMP_DIR, "main-audio.m4a"); + const tmpAudio = resolve(VIDEO_TMP_DIR, "padded-audio.m4a"); + const tmpAudioList = resolve(VIDEO_TMP_DIR, "audio-concat-list.txt"); + + const vfilter = `[0:v]scale=${FINAL_W}:${FINAL_H}:force_original_aspect_ratio=decrease,pad=${FINAL_W}:${FINAL_H}:(ow-iw)/2:(oh-ih)/2:color=black,setsar=1,fps=25[v0];` + `[1:v]scale=${FINAL_W}:${FINAL_H}:force_original_aspect_ratio=decrease,pad=${FINAL_W}:${FINAL_H}:(ow-iw)/2:(oh-ih)/2:color=black,setsar=1,fps=25[v1];` + "[v0][v1]concat=n=2:v=1:a=0[v]"; execFileSync(FFMPEG_BIN, [ "-y", "-i", mainVideoPath, "-i", assemblyCompositePath, - "-filter_complex", filter, "-map", "[v]", - "-c:v", "libx264", "-pix_fmt", "yuv420p", "-movflags", "+faststart", - FINAL_VIDEO, + "-filter_complex", vfilter, "-map", "[v]", + "-c:v", "libx264", "-pix_fmt", "yuv420p", + tmpVideo, ], { stdio: ["ignore", "pipe", "pipe"] }); + + const hasAudio = (() => { + try { + execFileSync(FFMPEG_BIN, ["-i", mainVideoPath, "-vn", "-c:a", "copy", "-f", "null", "-"], { stdio: ["ignore", "pipe", "pipe"] }); + return true; + } catch { + return false; + } + })(); + + if (hasAudio) { + execFileSync(FFMPEG_BIN, ["-y", "-f", "lavfi", "-i", "anullsrc=channel_layout=stereo:sample_rate=44100", "-t", String(assemblyDuration), "-c:a", "aac", tmpSilence], { stdio: ["ignore", "pipe", "pipe"] }); + execFileSync(FFMPEG_BIN, ["-y", "-i", mainVideoPath, "-vn", "-c:a", "aac", tmpMainAudio], { stdio: ["ignore", "pipe", "pipe"] }); + writeFileSync(tmpAudioList, `file '${tmpMainAudio}'\nfile '${tmpSilence}'\n`); + execFileSync(FFMPEG_BIN, ["-y", "-f", "concat", "-safe", "0", "-i", tmpAudioList, "-c:a", "aac", tmpAudio], { stdio: ["ignore", "pipe", "pipe"] }); + execFileSync(FFMPEG_BIN, [ + "-y", "-i", tmpVideo, "-i", tmpAudio, + "-c:v", "copy", "-c:a", "aac", "-b:a", "128k", "-shortest", "-movflags", "+faststart", + FINAL_VIDEO, + ], { stdio: ["ignore", "pipe", "pipe"] }); + } else { + execFileSync(FFMPEG_BIN, ["-y", "-i", tmpVideo, "-c:v", "copy", "-movflags", "+faststart", FINAL_VIDEO], { stdio: ["ignore", "pipe", "pipe"] }); + } } function ffmpegDurationSeconds(videoPath) { diff --git a/package-lock.json b/package-lock.json index f1e475d..908e9e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,9 +33,12 @@ "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.2", "fake-indexeddb": "^6.2.8", + "ffmpeg-static": "^5.3.0", + "ffprobe-static": "^3.1.0", "happy-dom": "^21.0.4", "oxlint": "^1.90.0", "playwright": "^1.65.1", + "playwright-recast": "^0.23.0", "typescript": "~7.0.2", "vite": "^8.3.6", "vite-plugin-pwa": "^2.0.0", @@ -1610,6 +1613,22 @@ "node": ">=6.9.0" } }, + "node_modules/@derhuerst/http-basic": { + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/@derhuerst/http-basic/-/http-basic-8.2.4.tgz", + "integrity": "sha512-F9rL9k9Xjf5blCz8HsJRO4diy111cayL2vkY2XE4r4t3n0yPXVYy3KD3nJ1qbrSn9743UWSXH4IwuCa/HWlGFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "caseless": "^0.12.0", + "concat-stream": "^2.0.0", + "http-response-object": "^3.0.1", + "parse-cache-control": "^1.0.1" + }, + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/@emnapi/core": { "version": "2.0.0-beta.2", "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-2.0.0-beta.2.tgz", @@ -1644,6 +1663,19 @@ "tslib": "^2.4.0" } }, + "node_modules/@hono/node-server": { + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.9.tgz", + "integrity": "sha512-Sk4NQd3GFY0WZWCzndwFMPwJhtD0y9qjsQ+pjID0/03nK9pxyBCUoUHCho8QYBLBVhi0ssL8UkNPHqbgSOFPIQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=20" + }, + "peerDependencies": { + "hono": "^4 || ^5.0.0-0" + } + }, "node_modules/@isaacs/cliui": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-9.0.0.tgz", @@ -1715,6 +1747,47 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@modelcontextprotocol/sdk": { + "version": "1.32.2", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.32.2.tgz", + "integrity": "sha512-SWsVtH/0vULSQStoZ6xxH2K09Li8fXYTMC64ZeogCdpZ3XSi1eCPOByV1OpuJxuI3OcmHhosDWYyii07tpPsLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@hono/node-server": "^1.19.9 || ^2.0.5", + "ajv": "^8.17.1", + "ajv-formats": "^3.0.1", + "content-type": "^1.0.5", + "cors": "^2.8.5", + "cross-spawn": "^7.0.5", + "eventsource": "^3.0.2", + "eventsource-parser": "^3.0.0", + "express": "^5.2.1", + "express-rate-limit": "^8.2.1", + "hono": "^4.11.4", + "jose": "^6.1.3", + "json-schema-typed": "^8.0.2", + "pkce-challenge": "^5.0.0", + "raw-body": "^3.0.0", + "zod": "^3.25 || ^4.0", + "zod-to-json-schema": "^3.25.1" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@cfworker/json-schema": "^4.1.1", + "zod": "^3.25 || ^4.0" + }, + "peerDependenciesMeta": { + "@cfworker/json-schema": { + "optional": true + }, + "zod": { + "optional": false + } + } + }, "node_modules/@napi-rs/wasm-runtime": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.6.tgz", @@ -3619,6 +3692,20 @@ "url": "https://opencollective.com/vitest" } }, + "node_modules/accepts": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/acorn": { "version": "8.19.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.19.0.tgz", @@ -3632,6 +3719,19 @@ "node": ">=0.4.0" } }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, "node_modules/ajv": { "version": "8.20.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", @@ -3649,6 +3749,24 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, "node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", @@ -3859,6 +3977,45 @@ "node": ">=6.0.0" } }, + "node_modules/body-parser": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.4.0.tgz", + "integrity": "sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "^3.1.2", + "content-type": "^2.1.0", + "debug": "^4.4.3", + "http-errors": "^2.0.1", + "iconv-lite": "^0.7.3", + "on-finished": "^2.4.1", + "qs": "^6.16.1", + "raw-body": "^3.0.2", + "type-is": "^2.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/body-parser/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/brace-expansion": { "version": "5.0.13", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.13.tgz", @@ -3950,6 +4107,16 @@ "node": ">=4.0" } }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/call-bind": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.9.tgz", @@ -4030,6 +4197,13 @@ ], "license": "CC-BY-4.0" }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==", + "dev": true, + "license": "Apache-2.0" + }, "node_modules/chai": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/chai/-/chai-6.3.0.tgz", @@ -4086,6 +4260,46 @@ "node": ">=4.0.0" } }, + "node_modules/concat-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", + "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", + "dev": true, + "engines": [ + "node >= 6.0" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.0.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/content-disposition": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-2.0.1.tgz", + "integrity": "sha512-e+H0ZXHSWYrENhQzw1LPuP4oF5MzVKmDU6d3hxlvaPEYLLg62MxtQNPRx4SYSuYJSBUgnQIG4HIN2tEtNv7Dog==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/convert-source-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", @@ -4106,6 +4320,16 @@ "url": "https://opencollective.com/express" } }, + "node_modules/cookie-signature": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.6.0" + } + }, "node_modules/core-js-compat": { "version": "3.51.0", "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.51.0.tgz", @@ -4123,6 +4347,24 @@ "url": "https://opencollective.com/core-js" } }, + "node_modules/cors": { + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz", + "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", @@ -4288,6 +4530,16 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/dequal": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", @@ -4343,6 +4595,13 @@ "node": ">= 0.4" } }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "dev": true, + "license": "MIT" + }, "node_modules/ejs": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", @@ -4372,6 +4631,20 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "license": "MIT" }, + "node_modules/encodeurl": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.3.tgz", + "integrity": "sha512-mIteYONiEfc4xWf2F1WXovh1c8npzS00vNeiUPdwFF+QlVJni+gNvpQltLMQhob8rew/bWWc/bGTuUr0EUGt0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/entities": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz", @@ -4385,6 +4658,16 @@ "url": "https://github.com/fb55/entities?sponsor=1" } }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/err-code": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/err-code/-/err-code-3.0.1.tgz", @@ -4566,6 +4849,13 @@ "node": ">=6" } }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "dev": true, + "license": "MIT" + }, "node_modules/estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", @@ -4596,6 +4886,39 @@ "url": "https://github.com/bgub/eta?sponsor=1" } }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/eventsource": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz", + "integrity": "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eventsource-parser": "^3.0.1" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/eventsource-parser": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.1.1.tgz", + "integrity": "sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/expect-type": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz", @@ -4606,6 +4929,94 @@ "node": ">=12.0.0" } }, + "node_modules/express": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/express/-/express-5.3.0.tgz", + "integrity": "sha512-qCqy1xSoaugxOD4IVHb1ZWdkvCF2W3aE2okKouWj8VwJ+ztskSiXoBnCSJqfKT+cVPJhuJqe9YLbY425+Zh00g==", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "^2.0.0", + "body-parser": "^2.3.0", + "content-disposition": "^2.0.1", + "content-type": "^2.0.0", + "cookie": "^0.7.1", + "cookie-signature": "^1.2.1", + "debug": "^4.4.0", + "depd": "^2.0.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "finalhandler": "^2.1.0", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "merge-descriptors": "^2.0.0", + "mime-types": "^3.0.0", + "on-finished": "^2.4.1", + "once": "^1.4.0", + "parseurl": "^1.3.3", + "proxy-addr": "^2.0.8", + "qs": "^6.16.0", + "range-parser": "^1.2.1", + "router": "^2.2.0", + "send": "^1.1.0", + "serve-static": "^2.2.0", + "statuses": "^2.0.1", + "type-is": "^2.1.0", + "vary": "^1.1.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express-rate-limit": { + "version": "8.7.4", + "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.7.4.tgz", + "integrity": "sha512-LKBXzX700wz3zAGNNmVnjRI5mEbYkLv7UbMI4+9Xa+JPcg2UZh6AgY/2CZh9RrJjFM5ttC/N1lD+KzyFoZITCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "ip-address": "^10.2.0" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/express-rate-limit" + }, + "peerDependencies": { + "express": ">= 4.11" + } + }, + "node_modules/express/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/express/node_modules/cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/fake-indexeddb": { "version": "6.2.8", "resolved": "https://registry.npmjs.org/fake-indexeddb/-/fake-indexeddb-6.2.8.tgz", @@ -4665,6 +5076,37 @@ } } }, + "node_modules/fflate": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.3.tgz", + "integrity": "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==", + "dev": true, + "license": "MIT" + }, + "node_modules/ffmpeg-static": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/ffmpeg-static/-/ffmpeg-static-5.3.0.tgz", + "integrity": "sha512-H+K6sW6TiIX6VGend0KQwthe+kaceeH/luE8dIZyOP35ik7ahYojDuqlTV1bOrtEwl01sy2HFNGQfi5IDJvotg==", + "dev": true, + "hasInstallScript": true, + "license": "GPL-3.0-or-later", + "dependencies": { + "@derhuerst/http-basic": "^8.2.0", + "env-paths": "^2.2.0", + "https-proxy-agent": "^5.0.0", + "progress": "^2.0.3" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/ffprobe-static": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/ffprobe-static/-/ffprobe-static-3.1.0.tgz", + "integrity": "sha512-Dvpa9uhVMOYivhHKWLGDoa512J751qN1WZAIO+Xw4L/mrUSPxS4DApzSUDbCFE/LUq2+xYnznEahTd63AqBSpA==", + "dev": true, + "license": "MIT" + }, "node_modules/filelist": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.6.tgz", @@ -4705,6 +5147,28 @@ "node": ">=10" } }, + "node_modules/finalhandler": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", + "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" + }, + "engines": { + "node": ">= 18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -4751,6 +5215,26 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/fs-extra": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", @@ -5090,6 +5574,85 @@ "node": ">= 0.4" } }, + "node_modules/hono": { + "version": "4.13.19", + "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.19.tgz", + "integrity": "sha512-KmXvQAXwcAHV+muzbIwoJ23niEB5nMoDVr9WcRkU8mvjUECm/1+7v4Jgp7P7a+H6MLFrh+vXrGonGrGS+RQfkA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/http-response-object": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/http-response-object/-/http-response-object-3.0.2.tgz", + "integrity": "sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "^10.0.3" + } + }, + "node_modules/http-response-object/node_modules/@types/node": { + "version": "10.17.60", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", + "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==", + "dev": true, + "license": "MIT" + }, + "node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/iconv-lite": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", + "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/idb": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/idb/-/idb-7.1.1.tgz", @@ -5148,6 +5711,26 @@ "node": ">= 0.4" } }, + "node_modules/ip-address": { + "version": "10.7.6", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.6.tgz", + "integrity": "sha512-00LYkM6byILa9eQIx6qoaXCM40xTLd56AZ4vyaPW3YTyb49VZYPo5xsiAq4tuQ54GH4R7gVdYScJ1B7B77PuTg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, "node_modules/is-array-buffer": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", @@ -5404,6 +5987,13 @@ "node": ">=0.10.0" } }, + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", + "dev": true, + "license": "MIT" + }, "node_modules/is-regex": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", @@ -5636,6 +6226,16 @@ "integrity": "sha512-+qUYrubmn227YTz25uf9wOTlgB3wFKGtutECxL1shjOkgi/Tcn3SpnC7+T9rxhv/JNOxLIfZ3O6wEx0FwLlXbw==", "license": "Unlicense" }, + "node_modules/jose": { + "version": "6.2.17", + "resolved": "https://registry.npmjs.org/jose/-/jose-6.2.17.tgz", + "integrity": "sha512-wOuK9V1yujQFH5S0ZWmLcDZN7+IKh9bUCC2ZPCf2HDlol3WWHy+PPyNjEI75FXRLMp3vDKQcupP59xhVU95hcg==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/panva" + } + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -5663,6 +6263,13 @@ "dev": true, "license": "MIT" }, + "node_modules/json-schema-typed": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.2.tgz", + "integrity": "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==", + "dev": true, + "license": "BSD-2-Clause" + }, "node_modules/json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", @@ -6069,6 +6676,60 @@ "node": ">= 0.4" } }, + "node_modules/media-typer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.1.tgz", + "integrity": "sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/merge-descriptors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mime-db": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "^1.54.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/min-indent": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", @@ -6130,6 +6791,37 @@ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, + "node_modules/negotiator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.1.0.tgz", + "integrity": "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==", + "dev": true, + "license": "MIT", + "dependencies": { + "content-type": "^2.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/negotiator/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/node-releases": { "version": "2.0.65", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.65.tgz", @@ -6140,6 +6832,16 @@ "node": ">=18" } }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/object-inspect": { "version": "1.13.4", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", @@ -6198,6 +6900,33 @@ "node": ">=12.20.0" } }, + "node_modules/on-finished": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.2.tgz", + "integrity": "sha512-ATWUv387i+nLD49EiDoOft5scf32Vsdz3ktrQJG9bi7jRFmaXTssvyvj1EmeKVVgvesbqUtvQQvaS2TpTukAZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, "node_modules/own-keys": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.2.tgz", @@ -6309,6 +7038,22 @@ "dev": true, "license": "BlueOak-1.0.0" }, + "node_modules/parse-cache-control": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz", + "integrity": "sha512-60zvsJReQPX5/QP0Kzfd/VrpjScIQ7SHBW6bFCYfEP+fp0Eppr1SHhIO5nd1PjZtvclzSzES9D/p5nFJurwfWg==", + "dev": true + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -6362,6 +7107,17 @@ "node": "20 || >=22" } }, + "node_modules/path-to-regexp": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", @@ -6382,6 +7138,16 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/pkce-challenge": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.1.tgz", + "integrity": "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16.20.0" + } + }, "node_modules/playwright": { "version": "1.65.1", "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.1.tgz", @@ -6411,6 +7177,46 @@ "node": ">=20" } }, + "node_modules/playwright-recast": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/playwright-recast/-/playwright-recast-0.23.0.tgz", + "integrity": "sha512-PYi4abiyPPlqXaigh/jYdMJvfRrWFL1MUm7KBn/DLbQ0BdEI7JvRAc2MeZK/m4lczFxqS3nds3+d9mPjXvZU8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@modelcontextprotocol/sdk": "^1.29.0", + "fflate": "^0.8.2", + "zod": "^4.3.6" + }, + "bin": { + "playwright-recast": "dist/cli.js", + "recast-mcp": "dist/mcp/server.js", + "recast-studio": "dist/studio/cli.js" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@aws-sdk/client-polly": ">=3.500.0", + "@elevenlabs/elevenlabs-js": ">=2.0.0", + "@playwright/test": ">=1.40.0", + "openai": ">=5.0.0" + }, + "peerDependenciesMeta": { + "@aws-sdk/client-polly": { + "optional": true + }, + "@elevenlabs/elevenlabs-js": { + "optional": true + }, + "@playwright/test": { + "optional": true + }, + "openai": { + "optional": true + } + } + }, "node_modules/pngjs": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz", @@ -6488,6 +7294,34 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, + "node_modules/progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.8.tgz", + "integrity": "sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/qrcode": { "version": "1.5.4", "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.4.tgz", @@ -6505,6 +7339,23 @@ "node": ">=10.13.0" } }, + "node_modules/qs": { + "version": "6.17.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.17.1.tgz", + "integrity": "sha512-jd3COkaKVgGUW+ZHyEHCG9bH7RoaaiWuMgzsIBjUMVjLAaWGWpoUAVwljVvBHxRu/2qEHnadLGZrkutYUBPQJA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "es-define-property": "^1.0.1", + "side-channel": "^1.1.1" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -6534,6 +7385,36 @@ "safe-buffer": "^5.1.0" } }, + "node_modules/range-parser": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.3.0.tgz", + "integrity": "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/raw-body": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", + "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.7.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/react": { "version": "19.3.1", "resolved": "https://registry.npmjs.org/react/-/react-19.3.1.tgz", @@ -6859,6 +7740,27 @@ "fsevents": "~2.3.2" } }, + "node_modules/router": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.3.0.tgz", + "integrity": "sha512-bpowRfGjEPe8t9R6fJIzhwmyCGAXwKvxBUsgJm+bJukwdcWmUXbMo7p22w7aYmQBPQTUMNqMV39YX0kMou3z8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.4.0", + "depd": "^2.0.0", + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/safe-array-concat": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.4.tgz", @@ -6934,6 +7836,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "license": "MIT" + }, "node_modules/scheduler": { "version": "0.28.0", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz", @@ -6950,6 +7859,33 @@ "semver": "bin/semver.js" } }, + "node_modules/send": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", + "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.1", + "mime-types": "^3.0.2", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.2" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/serialize-javascript": { "version": "7.1.4", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-7.1.4.tgz", @@ -6960,6 +7896,26 @@ "node": ">=20.0.0" } }, + "node_modules/serve-static": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", + "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.2.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/set-blocking": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", @@ -7021,6 +7977,13 @@ "node": ">= 0.4" } }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "dev": true, + "license": "ISC" + }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -7213,6 +8176,16 @@ "node": ">=0.10.0" } }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/std-env": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/std-env/-/std-env-4.3.0.tgz", @@ -7493,6 +8466,16 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, "node_modules/ts-fsrs": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/ts-fsrs/-/ts-fsrs-6.0.0.tgz", @@ -7526,6 +8509,39 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/type-is": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz", + "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==", + "dev": true, + "license": "MIT", + "dependencies": { + "content-type": "^2.0.0", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" + }, + "engines": { + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/type-is/node_modules/content-type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.1.0.tgz", + "integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/typed-array-buffer": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz", @@ -7603,6 +8619,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", + "dev": true, + "license": "MIT" + }, "node_modules/typescript": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz", @@ -7731,6 +8754,16 @@ "node": ">= 10.0.0" } }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/upath": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", @@ -7779,6 +8812,16 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "license": "MIT" }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/vite": { "version": "8.3.8", "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.8.tgz", @@ -8364,6 +9407,13 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true, + "license": "ISC" + }, "node_modules/ws": { "version": "8.23.0", "resolved": "https://registry.npmjs.org/ws/-/ws-8.23.0.tgz", @@ -8517,6 +9567,26 @@ "type": "GitHub Sponsors ❤", "url": "https://github.com/sponsors/dmonad" } + }, + "node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zod-to-json-schema": { + "version": "3.25.2", + "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.2.tgz", + "integrity": "sha512-O/PgfnpT1xKSDeQYSCfRI5Gy3hPf91mKVDuYLUHZJMiDFptvP41MSnWofm8dnCm0256ZNfZIM7DSzuSMAFnjHA==", + "dev": true, + "license": "ISC", + "peerDependencies": { + "zod": "^3.25.28 || ^4" + } } } } diff --git a/package.json b/package.json index 3d4b22e..feb0cc6 100644 --- a/package.json +++ b/package.json @@ -37,9 +37,12 @@ "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.2", "fake-indexeddb": "^6.2.8", + "ffmpeg-static": "^5.3.0", + "ffprobe-static": "^3.1.0", "happy-dom": "^21.0.4", "oxlint": "^1.90.0", "playwright": "^1.65.1", + "playwright-recast": "^0.23.0", "typescript": "~7.0.2", "vite": "^8.3.6", "vite-plugin-pwa": "^2.0.0",