summaryrefslogtreecommitdiff
path: root/apps
Commit message (Collapse)AuthorAgeFilesLines
* fix(release): pin electron version for electron-builderv0.1.0cashmere2026-07-301-1/+1
| | | | | electron-builder refuses range specifiers in CI where it cannot traverse installed node_modules.
* feat: Electron desktop app, native ffmpeg export, fully static webcashmere2026-07-3053-1890/+914
| | | | | | | | | | | | | | | | - apps/desktop: Electron shell serving the static web build over a privileged opencut:// protocol; exports stream frames over IPC to a bundled ffmpeg (libx264/libvpx-vp9, BT.709 tagged) with backpressure. electron-builder packaging: AppImage, deb, rpm. - apps/web: dead backend deleted (better-auth, drizzle/pg, upstash, botid, freesound proxy, blog, rss, env validation); next build emits a zero-env static export; /editor/[project_id] -> /editor?project=. - Native exporter mirrors SceneExporter; activates when the preload bridge is present; web keeps the mediabunny path. - Docker self-hosting now builds and serves the static export via nginx. - Release workflow: v* tags publish static web tarball + Linux packages. - Changelog 0.4.0; README/AGENTS/CONTRIBUTING/roadmap updated. - GPUI/Rust rewrite parked on branch rust-rewrite.
* feat: ripple-extend resize, timeline filmstrip, export hardeningcashmere2026-07-2823-383/+1755
| | | | | | | | Yesterday's verified web session (gates green: 316 tests, tsc, build): - ripple-extend pushes right-hand chain on static-element resize - per-position video filmstrip thumbnails with zoom-adaptive density - fps-aware export bitrate, 2s keyframes, even-dim export canvas - freeze frame uses fixed 3s duration, prompt removed
* feat: wire versioning/transfer/voice-over actions and header UIcashmere2026-07-273-18/+149
| | | | | | | | | Shared wiring for the six roadmap slices in one commit: action ids and handlers for create-checkpoint, toggle-versions-panel, export-project-archive, and voice-over; the freeze-frame handler awaits the duration prompt before capture; editor header gains the versions popover and export menu item (and loses the feedback popover and Discord item, part of the branding strip).
* feat: voice-over recording into the timelinecashmere2026-07-276-0/+592
| | | | | | | | | MediaRecorder mic capture (defensive mimeType picking, permission/no-mic toasts) with elapsed display in the timeline toolbar. Stop produces an audio asset and inserts it at the playhead on an audio track as ONE BatchCommand undo step, freeze-frame precedent. voice-over action registered, no default keybinding. 20 tests; smoke-tested in Chromium with a fake mic end to end.
* feat: single-file project import/export (.ocp)cashmere2026-07-2712-2/+1590
| | | | | | | | | | | fflate zip container: project.json (serialized project incl. schema version) + media files with a manifest. Export gathers all project media (missing blobs warn, never abort) after save-flush; import validates everything before any write, migrates older archives through the storage migration registry, remaps media ids, and creates a new project with rollback on failure. Entry points: projects page import/export, editor header menu, export-project-archive action. 29 tests incl. full round-trip.
* feat: git-like project versioning (v1)cashmere2026-07-2719-72/+1698
| | | | | | | | | | | Linear per-project history per notes/project-versioning.md: named checkpoints (thumbnail via renderer.captureFrame) plus auto-checkpoints on save (60s throttle, ring of 20, named never rotate). Restore writes a safety checkpoint first, then swaps the document outside undo/redo. Media assets referenced by any version are pinned against deletion. Migration v31-v32 stamps the schema; the version store lives in its own IDB database with an in-memory fallback for tests. Versions popover in the editor header for jump/rename/delete. 12 new tests.
* refactor: strip landing page and upstream brandingcashmere2026-07-2713-603/+33
| | | | | | / redirects to /projects; marketing landing components, the feedback popover + API route, and all Discord links removed (editor header, footer, onboarding copy).
* feat: freeze-duration promptcashmere2026-07-274-0/+281
| | | | | | | Freeze frame now asks for the duration (decimal seconds, 0 < d <= 600) before capture, via a promise-based zustand store mounted as an editor-global dialog. Last-used duration persists and prefills. Cancel aborts before capture with no commands.
* feat: gate sounds/stickers/effects UI behind feature flagscashmere2026-07-275-9/+31
| | | | | | | FEATURES in src/features.ts (all false) hides the assets-panel tabs and views, the clip effects properties tab, and the timeline effects badge. Existing project data still renders and stays editable (standalone effect tab, sticker config, renderer nodes untouched).
* test: repair broken tests for a green baselinecashmere2026-07-273-8/+18
| | | | | | | | | Mask insertion test expected zero handles; the de Casteljau split correctly produces colinear shape-preserving ones. Box scale snap now reports both symmetric snap lines. Fractional ticks and unbranded MediaTime expectations fixed. Text-measurement test skipped (no canvas 2d in bun). CI-hostile it.only reference removed. Suite: 221 pass, 1 skip, 0 fail.
* fix: update stale adapter and registry call sitescashmere2026-07-273-22/+22
| | | | | | IndexedDBAdapter and DefinitionRegistry.register switched to object params; these call sites still used positional args and were silent no-ops at runtime (sticker providers never actually registered).
* fix: restore missing keybinding validation guardscashmere2026-07-273-0/+50
| | | | | | | | persistence.ts imported isActionWithOptionalArgs and isShortcutKey, neither of which existed at runtime — loading persisted custom keybindings would crash. Adds actions/guards.ts (excluding required-args actions per TActionArgsMap) and isShortcutKey in keybinding.ts; the nine previously dead persistence tests now pass.
* fix: guard MediaPreview against image assets without urlcashmere2026-07-261-1/+12
| | | | | | | The image branch rendered <Image src={item.url ?? ""}>, crashing the assets panel for any image asset lacking url. It now falls back to thumbnailUrl and then to the existing MediaTypePlaceholder, mirroring the video branch's fallback.
* feat: single undo step for freeze framecashmere2026-07-264-21/+261
| | | | | | | | | The handler fired four separate commands (asset add, split, move, insert), producing four undo steps. It now builds one BatchCommand and executes it once. The new ShiftSplitRemainderCommand resolves the split's right-side elements lazily at execute() so it can be composed after the split in the batch, and rebuilds the inner move on redo since a re-executed split generates fresh element ids.
* test: preload opencut-wasm mock for bun testcashmere2026-07-261-0/+161
| | | | | | | | The published opencut-wasm package is wasm-pack bundler-target glue whose .wasm ESM import bun's test runner does not instantiate, so any test importing @/wasm failed at module evaluation. Register a faithful pure-TS stand-in (mirrors rust/crates/time semantics) via a bunfig [test] preload before any test module evaluates.
* feat: freeze frame at playheadcashmere2026-07-265-9/+142
| | | | | | | | | | | Enable the timeline toolbar freeze-frame button: capture the composited canvas as PNG, add it as an image media asset, split the video element at the playhead, shift the right part by the freeze duration, and insert a 3-second image element in the gap. Adds RendererManager.captureFrame(), reused by createSnapshot(). Also adds the Nix devshell (flake.nix/flake.lock: bun + nodejs) and AGENTS.md repository guidelines.
* Merge branch 'domain-import'Maze Winther2026-05-021-27/+0
|\
| * docs: move NOTES.md fileMaze Winther2026-05-022-176/+149
| |
* | refactor: collapse mask definition registry to a single keyed registryMaze Winther2026-05-023-47/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The freeform mask was assembled on every getMaskDefinition("freeform") call, re-spreading params and injecting a wrong SquareIcon placeholder, with a type cast to suppress the structural mismatch. Root cause: MasksRegistry was keyed on BuiltinMaskType, so freeform had no entry. - Re-key MasksRegistry from BuiltinMaskType to MaskType - Register freeform alongside builtins in registerDefaultMasks, with PenToolAddIcon as its menu icon - getMaskDefinition and getMaskDefinitionsForMenu become plain registry lookups with no branching, no manual spreading, no cast - Rename RegisteredBuiltinMaskDefinition to RegisteredMaskDefinition and tighten computeParamUpdate return type to Partial<BaseMaskParams> Co-authored-by: Cursor <cursoragent@cursor.com>
* | refactor: remove dead tangent handle variantMaze Winther2026-05-023-49/+22
| | | | | | | | | | | | | | | | | | | | | | The { kind: "tangent" } MaskHandleId variant was never constructed — neither getFreeformDisplayHandles nor any other code ever produced a tangent handle object. The in/out control-arm branches in computeFreeformParamUpdate, the tangent case in maskHandleIdKey, and the CUSTOM_MASK_TANGENT_SIZE rendering path in mask-handles.tsx were all unreachable. Removed all four dead paths and removed "tangent" from MaskHandleKind. Co-authored-by: Cursor <cursoragent@cursor.com>
* | fix: address review findings in masks substrateMaze Winther2026-05-025-12/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove dead ternary in getPreferredEdges (always returned undefined; the all-false object was never reached by Object.values().some(Boolean)) - Document why drawWithFeather descriptors zero the feather field in the compositor (analytical renderer handles softness itself; zeroing prevents a second JFA feather pass) - Remove legacyType from V30→V31 migration (not consumed anywhere; a down-migration can map type:"freeform" back to "custom" directly) - Add V30→V31 test coverage: skip-guard branches, freeform passthrough, elements without a masks array - Add snap tests for vertical-edge (bottom) and uniform-scale handle paths Co-authored-by: Cursor <cursoragent@cursor.com>
* | refactor: split builtin and freeform masksMaze Winther2026-05-0232-273/+508
| | | | | | | | Made-with: Cursor
* | refactor: type mask handle identifiersMaze Winther2026-05-0211-209/+252
| | | | | | | | Made-with: Cursor
* | refactor: make mask renderer dispatch explicitMaze Winther2026-05-0214-559/+660
| | | | | | | | Made-with: Cursor
* | refactor: split mask snap dispatchMaze Winther2026-05-024-45/+85
| | | | | | | | Made-with: Cursor
* | refactor: animate params over timeMaze Winther2026-05-0231-1085/+1397
| |
* | chore: cleanupMaze Winther2026-05-0210-272/+41
| |
* | refactor: unify element paramsMaze Winther2026-05-0253-1360/+2019
| |
* | chore: switch from biome to eslint + prettier; fix ton of lint issuesMaze Winther2026-05-02147-4517/+3134
| |
* | refactor: split animation helpers by domainMaze Winther2026-04-2656-1239/+2335
|\|
| * refactor: split animation helpers by domainMaze Winther2026-04-2643-1322/+1628
| |
| * refactor: centralize editor interaction stateMaze Winther2026-04-2535-4667/+5547
| | | | | | | | | | | | | | | | Move timeline and preview gestures into dedicated controllers so hooks stay thin around editor state and DOM events. This also routes drag and playback synchronization through manager APIs and reuses persistent wasm surfaces so scrubbing, seeking, and preview rendering stay in sync. Made-with: Cursor
| * fix: surface unsupported video codec on import, fix Input leaksMaze Winther2026-04-254-144/+165
| |
| * perf: improve rendering performance by ~20xMaze Winther2026-04-226-302/+641
| |
* | refactor: thinner hooksMaze Winther2026-04-2647-4240/+5331
| |
* | fix: linterMaze Winther2026-04-262-16/+23
| |
* | fix: follow-up to prev commitMaze Winther2026-04-261-1/+2
| |
* | fix: model editor time as wasm MediaTime ticks end-to-endMaze Winther2026-04-2679-511/+1589
|/
* chore: remove stale filesMaze Winther2026-04-224-699/+0
|
* chore: bump opencut-wasm versionMaze Winther2026-04-221-1/+1
|
* refactor: migration run() and pure v1-to-v2 transformMaze Winther2026-04-2236-828/+990
|
* chore: formattingMaze Winther2026-04-227-37/+54
|
* fix: project loading thingMaze Winther2026-04-212-17/+43
|
* chore: delete ffmpeg public assetsMaze Winther2026-04-212-18/+0
|
* refactor: restructure files to their domains, new preview overlay system, ↵Maze Winther2026-04-20490-2371/+3564
| | | | and dep graph
* fix: WebGL frame rendering and opencut-wasm 0.2.8Maze Winther2026-04-195-39/+61
|
* fix: migrate commands to CommandResult selection contractMaze Winther2026-04-186-19/+51
|
* fix: default audio waveform color from timeline themeMaze Winther2026-04-182-2/+5
|
* fix: align LayerUniformBuffer to 16 bytes for WebGL compatMaze Winther2026-04-181-1/+1
|