The VS Code of video editing, built for agents.
TypeScript
Merge branch 'main' into koota-migration
konstantin-paulus5b8e5e7f6641
diff --cc README.mdindex 057fd81c,80bd40a7..a84ad74c--- a/README.md+++ b/README.md@@@ -122,14 -176,26 +176,22 @@@ dapi capture 4## CLI at a glance+ The core loop is three commands:++ ```sh+ dapi open # use -b to run the editor headless+ dapi mount hero.tsx # render a composition into it+ dapi node render -o hero.mp4 # encode the scene to disk+ ```+| Command | Purpose || --- | --- |-| `dapi open` | Launch the app, open a file, or turn a folder of footage into a project || `dapi context` | Summary of the open project: scenes, playhead, fonts |-| `dapi mount` | Compile and mount a JSX composition |-| `dapi node …` | The scene graph: `ls`, `tree`, `grep`, `patch`, `insert`, `cp`, `rm`, `capture`, `render` |-| `dapi asset …` | The media library: `add`, `ls`, `tree`, `mv`, `rm`, `export` |+| `dapi capture` | Render a node in isolation to a labelled contact sheet, or one PNG per position || `dapi media …` | Inspect a file by id or path: `probe`, `grab`, `filmstrip`, `waveform`, `transcribe`, `listen` |-| `dapi project …` / `dapi folder …` / `dapi selection …` | Projects, library folders, canvas selection || `dapi models` / `dapi voices` / `dapi fonts` | Discover generation models, speech voices, local fonts || `dapi screenshot` / `dapi logs` | The app itself: capture the window, read recent console output |-| `dapi fetch` | Download a video from yt/tt/ig, ready for `dapi asset add` |+| `dapi fetch` | Download a video from yt/tt/ig || `dapi whoami` | The authenticated account || `dapi report` | Report a bug in the CLI or the app: diagnostics bundled, filed as a GitHub issue via `gh` |diff --cc apps/web/src/components/canvas/canvas.tsxindex 6225de31,c065ef7e..e4764303--- a/apps/web/src/components/canvas/canvas.tsx+++ b/apps/web/src/components/canvas/canvas.tsx@@@ -4,9 -4,9 +4,10 @@@import { useEngine } from "@/context/engine";import { loadAsset, getAssetFile } from "@/components/engine";+import { EngineCanvas } from "@/engine";import { Toolbar } from "./toolbar";import { DrawOverlay } from "./draw-overlay";+ import { DesktopAppBanner } from "./desktop-app-banner";import { toast } from "somoto"import { findSceneAt, screenToWorld, worldToLocal, secondsToFrames, GeometryType, PaintType, createEntity, addComponent, appendChild, setComponent, resizeEntity } from "../engine";import { SceneInitOverlay } from "./scene-init-overlay";@@@ -147,12 -147,9 +148,13 @@@ export function Canvas()return (<div class="relative size-full bg-background">- <div class="absolute inset-0">+ <div+ class="absolute inset-0"+ on:drop={handleDropEvent}+ on:dragover={handleDragOver}+ ><Toolbar />+ <DesktopAppBanner /><DrawOverlay /><SceneInitOverlayonDrop={handleDropEvent}