Merged
Conversation
Member
|
thank you for this @emanuele-toma ❤️ |
BenjisCollector
added a commit
to BenjisCollector/videoeditor
that referenced
this pull request
Apr 17, 2026
Phase 2 Wave 2 — pure algorithmic half of UNDO-01. - app/lib/agentic-mode/diff-emitter.client.ts: computeDiffEvent(before, after, ...) returns a structured DiffEvent with RFC 6902 patches via rfc6902@^5.2.0 (Mutative's enablePatches requires a producer function; wrong tool for diffing independent snapshots — research correction trykimu#1). - extractScrubberIds() parses patch paths (/tracks/N/scrubbers/M/*) and collapses dupes. Falls back to before-snapshot for removed scrubbers. - postDiffEvent() — thin fetch wrapper for http://127.0.0.1:8000/agentic/ diff-log/append (loopback-only per AGPL §13 / HYGIENE-03). - Tests: 10 vitest in app/lib/agentic-mode/tests/ covering change detection, no-op shortcut, id extraction (including remove case), pin+meta passthrough, ISO timestamp shape, and fetch integration with 200/500 responses. - vitest.config.ts root adds 'app-lib' project for pure-TS tests. - rfc6902@^5.2.0 installed at workspace root (-w -D). What's NOT in this commit: useDiffEmitter React hook, useTimeline.ts upstream fix, drag-dedupe (is_dragging flush). Those touch Kimu's state management and are follow-up work in a fresh session — this ship is the self-contained algorithm + its tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dockerfile still doesn't work because of this error:
Click to view full logs
Also added docker compose file that starts the project in dev mode, takes a couple of seconds to load the webpage for the first time.