From cd53ff0be8971b592d8d01836a6572c4123e5495 Mon Sep 17 00:00:00 2001 From: skal Date: Tue, 17 Feb 2026 07:52:48 +0100 Subject: feat: add Sequence V2 format support to timeline editor Implements full support for the sequence v2 DAG format with explicit node routing and arrow syntax. New features: - timeline-format.js module for parsing/serializing v2 format - NODE declarations with typed buffers (u8x4_norm, f32x4, etc.) - Arrow syntax for effect routing: input1 input2 -> output1 output2 - Buffer chain visualization in properties panel and tooltips - Node editor modal for adding/deleting node declarations - Validation for undeclared node references (when NODEs explicit) - Backward compatible with auto-inferred nodes Files added: - tools/timeline_editor/timeline-format.js (214 lines) - tools/timeline_editor/test_format.html (automated tests) - workspaces/test/timeline_v2_test.seq (test file with NODE declarations) Files modified: - tools/timeline_editor/index.html (~40 changes for v2 support) All success criteria met. Round-trip tested with existing timelines. handoff(Claude): Timeline editor now fully supports v2 format with explicit node routing, NODE declarations, and buffer chain visualization. Parser handles both explicit NODE declarations and auto-inferred nodes. Validation only runs when explicit NODEs exist. Ready for production use. Co-Authored-By: Claude Sonnet 4.5 --- tools/timeline_editor/test_format.html | 127 +++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 tools/timeline_editor/test_format.html (limited to 'tools/timeline_editor/test_format.html') diff --git a/tools/timeline_editor/test_format.html b/tools/timeline_editor/test_format.html new file mode 100644 index 0000000..12b788f --- /dev/null +++ b/tools/timeline_editor/test_format.html @@ -0,0 +1,127 @@ + + + + + Timeline Format Test + + + +

Timeline Format V2 Test

+
+ + + + -- cgit v1.2.3