110 Commits

Author SHA1 Message Date
konstantin-paulus
f7bedbb59f Enhance TimeSettings functionality and refactor inspector components
- Integrated `TimeSettings` into the `Inspector` component, allowing for improved time management of selected entities.
- Refactored `time.tsx` to utilize new hooks and streamline time property edits, enhancing performance and maintainability.
- Updated asset actions to support frame rate adjustments for sequences, ensuring accurate playback timing.
- Cleaned up commented-out code and improved readability across related components, preparing for future feature expansions.
- Updated migration documentation to reflect changes in time handling and inspector functionality.
2026-08-19 16:48:33 +02:00
konstantin-paulus
a498cb2192 Refactor asset management and enhance inspector functionality
- Updated `asset-item` and `assets` components to utilize new asset actions for replacing media and inserting assets at the playhead, improving usability and consistency.
- Introduced `useAssetSelection` hook to manage selected assets across the application, streamlining asset handling in the inspector and assets panel.
- Enhanced `AssetInfoPanel` to display asset metadata and support asset replacement, ensuring a cohesive user experience.
- Refactored related components to integrate the new asset selection state, improving maintainability and clarity in asset interactions.
2026-08-19 16:22:57 +02:00
konstantin-paulus
077a335b5e Refactor inspector component and introduce selection handling
- Updated the `Inspector` component to utilize the new `useSelection` hook for managing selected nodes and keyframes, improving clarity and maintainability.
- Implemented a classification function to determine the type of selected entity, enhancing the inspector's functionality.
- Commented out unused panel imports as they transition to the new architecture, preparing for future integration.
- Added `useSelection` hook to manage selection state, splitting selected entities into nodes and keyframes for better organization.
- Updated migration documentation to reflect changes in the inspector and selection handling.
2026-08-19 15:56:39 +02:00
konstantin-paulus
b7388afa76 Add caching for asset thumbnails and audio peaks
- Introduced `AssetCache` to manage derived data such as thumbnails and audio peaks, stored under a new `cache/` directory.
- Implemented methods for deriving and retrieving thumbnails and audio peaks, enhancing performance by reducing redundant calculations.
- Updated asset management to utilize the cache, ensuring efficient access to derived data during rendering.
- Enhanced the `AssetThumbnail` component to support cached thumbnails, improving loading times and user experience.
- Refactored related components and systems to integrate caching functionality, streamlining asset handling across the application.
2026-08-19 14:22:18 +02:00
konstantin-paulus
ac181f985e Update asset management and enhance project features
- Added support for asset manifests with read and write capabilities, allowing for better organization of project assets.
- Introduced new project channels for manifest reading and writing, enhancing communication between main and renderer processes.
- Improved file system interactions with new methods for listing, statting, and removing project files, streamlining asset management.
- Updated package dependencies to include `yaml` for manifest handling and linked `@diffusionstudio/assets` for asset management.
- Refactored existing code to integrate new asset handling features and improve overall project structure.
2026-08-19 11:11:02 +02:00
konstantin-paulus
c88f7ff25f Add mask support to <rect> and enhance entity management 2026-08-18 22:49:27 +02:00
konstantin-paulus
9206d58d85 Enhance text handling with new TextCase and TextRange features
- Introduced `TextCase` type for controlling glyph casing during rendering, with options for original, upper, and lower case.
- Added `TextRange` as a sub-entity for `<text>`, allowing style overrides for specific runs of glyphs by character index.
- Updated `TextProps` to include new properties such as `letterSpacing`, `leading`, and `textCase`, enhancing text styling capabilities.
- Enhanced rendering logic to support the new `TextRange` functionality, ensuring proper application of styles and colors.
- Updated migration documentation to reflect the addition of text handling features, detailing their usage and integration within existing structures.
2026-08-18 20:46:08 +02:00
konstantin-paulus
1760028e96 Add blend mode and surface handling in JSX and runtime
- Introduced `BlendMode` type for composite operations, enhancing visual effects management.
- Added `SurfaceHandle` and `SurfacePaintProps` to support surface rendering, allowing for dynamic canvas handling.
- Updated `CommonProps` to include `CompositeProps`, integrating blend mode and visibility properties.
- Enhanced rendering systems to accommodate new surface and blend mode functionalities, ensuring accurate visual output.
- Updated migration documentation to reflect the addition of blend mode and surface features, detailing their usage and integration within existing structures.
2026-08-18 20:22:06 +02:00
konstantin-paulus
ce04be1ddc Refactor animation and keyframe handling in JSX and runtime
- Removed `PATCH_PROP_KEYS` and `PatchProps`, streamlining property management as the document structure no longer requires patching by prop name.
- Updated type definitions to introduce new internal prop groups (`IdentityProps`, `PositionProps`, `OffsetProps`, `SizeProps`, `TransformProps`, `TimingProps`, `SequenceItemProps`), enhancing clarity and organization of properties.
- Refactored animation and keyframe structures to utilize `<animation>` and `<keyframeTrack>` elements, ensuring consistent handling of animatable properties.
- Updated migration documentation to reflect the removal of obsolete structures and the introduction of new prop groups, detailing their usage in the context of animations and keyframes.
2026-08-18 18:50:18 +02:00
konstantin-paulus
64ab858182 Add animation support in JSX and runtime
- Introduced `<animation>` as a new sub-entity, enabling the management of animations with properties such as `type`, `phase`, `duration`, and `delay`.
- Updated type definitions to include `AnimationProps` and `AnimationType`, defining properties for various animation effects.
- Enhanced rendering and entity management to accommodate animation entities, ensuring proper handling during rendering.
- Updated migration documentation to reflect the addition of animation features, detailing their usage and integration within existing structures.
2026-08-18 18:45:17 +02:00
konstantin-paulus
5b690f4ba3 Add keyframe and keyframe track support in JSX and runtime
- Introduced `<keyframe>` and `<keyframeTrack>` as new sub-entities, enabling the management of animatable properties through keyframes.
- Updated type definitions to include `KeyframeProps`, `KeyframeTrackProps`, and `AnimatableProperty`, defining properties for keyframe animations.
- Enhanced rendering and entity management to accommodate keyframe entities, ensuring proper handling of animations during rendering.
- Updated migration documentation to reflect the addition of keyframe features, detailing their usage and integration within existing structures.
2026-08-18 18:42:15 +02:00
konstantin-paulus
59c975714c Add effect support in JSX and runtime
- Introduced `<effect>` as a new sub-entity, allowing for filter effects to be applied to rendered pixels of parent entities.
- Updated type definitions to include `EffectProps` and `EffectType`, defining properties for various filter effects.
- Enhanced rendering and entity management to accommodate effect entities, ensuring proper application of filters during rendering.
- Updated migration documentation to reflect the addition of effect features, detailing their usage and integration within existing structures.
2026-08-18 17:09:44 +02:00
konstantin-paulus
2374c33baa Add stroke and shadow support in JSX and runtime
- Introduced `<stroke>` and `<shadow>` as new sub-entities, allowing for enhanced styling options in geometry elements.
- Updated type definitions to include `StrokeProps` and `ShadowProps`, defining properties for stroke styles and shadow effects.
- Enhanced rendering and entity management to accommodate stroke and shadow entities, ensuring proper application of styles during rendering.
- Updated migration documentation to reflect the addition of stroke and shadow features, detailing their usage and integration within existing structures.
2026-08-18 16:59:27 +02:00
konstantin-paulus
799dd5c8c2 Refactor rendering and entity management for improved paint and opacity handling
- Introduced new `Opacity` and `BlendMode` traits to replace the previous `Appearance` trait, enhancing clarity in managing entity properties.
- Updated rendering systems to utilize the new traits, ensuring accurate application of opacity and blend modes during rendering.
- Enhanced gradient handling to support color stops with opacity, improving visual fidelity in gradient rendering.
- Refactored various systems to streamline the management of color and opacity, ensuring consistent behavior across entities.
- Removed obsolete properties related to color stops, simplifying the data structure and improving maintainability.
2026-08-18 16:55:01 +02:00
konstantin-paulus
47e364d3d0 Enhance entity management and rendering capabilities in the runtime
- Updated the encoder to exclude geometries from scene fills, ensuring accurate rendering of paint entities.
- Introduced intrinsic paint handling for geometries, allowing them to manage their own paint traits.
- Enhanced the rendering system to support intrinsic media, improving the visual output of image, video, and sequence paints.
- Refactored time management functions to account for asset changes and intrinsic properties, ensuring accurate duration calculations.
- Improved observer functionality to react to asset removals, maintaining consistency in entity state management.
2026-08-18 16:09:54 +02:00
konstantin-paulus
f10ee0486a Add copy and paste functionality to DocumentEditor and keyboard shortcuts
- Implemented `copy` and `paste` methods in `DocumentEditor` to manage entity copying and pasting, allowing users to duplicate entities within the document structure.
- Introduced `copySelection` and `pasteSelection` functions in `shortcuts.ts` to bind the copy and paste actions to keyboard shortcuts (mod + c and mod + v).
- Enhanced clipboard management to store the copied entities and their parent context, ensuring accurate pasting behavior.
- Updated migration documentation to reflect the new copy and paste features and their interaction with the document structure.
2026-08-18 15:32:43 +02:00
konstantin-paulus
ca39447b10 Implement duplicate functionality in DocumentEditor and keyboard shortcuts
- Added a new `duplicate` method in `DocumentEditor` to copy selected entities and their subtrees, ensuring they are inserted correctly in the document structure.
- Introduced `duplicateSelection` function in `shortcuts.ts` to bind the duplication action to the keyboard shortcut (mod + d).
- Enhanced the `authoredTree` function to retrieve the subtree structure for duplication, and implemented `renderAuthored` to build host nodes from the authored tree.
- Updated the migration documentation to reflect the new duplication feature and its behavior regarding entity selection and positioning.
2026-08-18 15:20:51 +02:00
konstantin-paulus
03d8e69244 Add support for <group> and <sequence> entities in RuntimeDocument
- Implemented handling for `<group>` entities, which now consist of `Group` and `Position` traits, with their size determined by the union of their children's bounds.
- Introduced `<sequence>` entities that utilize the `Sequential` trait, ensuring they maintain spatial traits off and sit at their parent's origin.
- Updated error handling to include new entity types in the unsupported tag message.
- Enhanced property setting logic to prevent spatial properties from being applied to `Sequential` entities, improving entity management and consistency in the document structure.
2026-08-18 15:06:08 +02:00
konstantin-paulus
1bc0d85242 Enhance loop handling and editing capabilities in the editor
- Introduced `SourceUnroll` and `LoopIteration` types to support unrolling loop elements into individual iterations, allowing for more granular editing of looped content.
- Updated `DocumentEditor` to manage unroll edits, ensuring that edits to looped entities are handled correctly and reported accurately.
- Enhanced `EditWriter` to process unroll edits first during project writes, ensuring proper management of looped elements.
- Added `LOOP_ATTR` to track the source of loop elements, facilitating the editor's ability to manage and unroll loops effectively.
- Refactored related components and types to improve clarity and maintainability in handling looped entities and their iterations.
2026-08-18 14:42:04 +02:00
konstantin-paulus
6f26053a9f Enhance editing and movement capabilities in the editor
- Introduced `SourceMove` interface to facilitate element movement within the JSX structure, allowing elements to be repositioned without altering their content.
- Updated `DocumentEditor` to support reparenting of entities, enabling dynamic changes in the entity hierarchy while maintaining accurate reporting of moves.
- Refactored `EditWriter` to handle move edits alongside insertions, ensuring proper management of element positions during project writes.
- Improved cursor update logic in `CameraController` to reflect the current interaction state, enhancing user experience during editing operations.
- Streamlined event handling in the engine to support new pointer event types, improving responsiveness to user interactions.
- Removed obsolete `use-running` hook to simplify the codebase and improve clarity in engine state management.
2026-08-18 10:59:13 +02:00
konstantin-paulus
16a0f6b280 Remove MIGRATION.md file as it is no longer needed for tracking the migration status from bitecs to koota. This cleanup aligns with the ongoing refactoring efforts to streamline the codebase and improve documentation clarity. 2026-08-17 19:43:57 +02:00
konstantin-paulus
8bc0693a36 Refactor engine creation and system management
- Updated the engine instantiation in `EngineProvider` to use a new `createEngine` function for improved clarity.
- Refactored the `Engine` class to directly manage system execution, replacing the previous `runSystems` function with individual system calls for playback, motion, transform, and rendering.
- Removed the obsolete `schedule` system file to streamline the engine's architecture.
- Enhanced the overall structure and readability of the engine code, aligning with best practices for modular design.
2026-08-17 19:10:56 +02:00
konstantin-paulus
8e4138a31d Refactor scene activation management in the editor
- Replaced `switchActiveScene` with a new `activate` method in `DocumentEditor` to manage the active entity more effectively.
- Updated `DrawOverlay` and `SceneInitOverlay` components to utilize the new `activate` method, streamlining scene selection.
- Introduced `Active` trait to represent the active entity directly, enhancing clarity in entity management.
- Refactored related hooks and actions to align with the new active entity handling, improving overall code consistency and maintainability.
2026-08-17 15:48:08 +02:00
konstantin-paulus
ae004e49aa Implement selection management for entities in the editor
- Introduced `selected` property in `PatchProps` to track entity selection state, allowing for better management of selected elements.
- Enhanced `DocumentEditor` with `select`, `deselect`, and `clearSelection` methods to handle entity selection and deselection, improving user interaction.
- Updated `setProp` function to remove attributes for boolean props when set to false, ensuring cleaner output and accurate representation of selection state.
- Refactored `DrawOverlay` and `SceneInitOverlay` components to utilize the new selection management, streamlining the selection process in the editor.
- Adjusted related types and documentation to reflect the new selection handling capabilities.
2026-08-17 15:33:25 +02:00
konstantin-paulus
19a7639a70 Enhance editing capabilities with text node support and tool integration
- Updated `SourceInsert` and `InsertEdit` interfaces to include `text` for handling literal text content in elements.
- Introduced `jsxText` function for proper text content formatting in JSX.
- Refactored `DrawOverlay` and `SceneInitOverlay` components to utilize the new text handling features and improved tool management.
- Implemented `useTool` hook for reactive access to the current tool, enhancing the toolbar and tool menu functionality.
- Enhanced `DocumentEditor` to manage text node insertion and editing, improving overall document interaction.
2026-08-17 15:11:51 +02:00
konstantin-paulus
9b5bf09f32 Refactor document structure to support text nodes and enhance editing capabilities
- Introduced `TextNode` and `HostNode` types to accommodate text entities alongside scene nodes, improving the document's flexibility.
- Updated `RuntimeDocument` and `DocumentEditor` to handle text node creation, property management, and insertion logic.
- Enhanced methods for text node manipulation, including `createTextNode`, `replaceText`, and `isTextNode`, ensuring proper handling of text within the document structure.
- Refactored entity management to support the new text handling features, improving overall document interaction and editing capabilities.
2026-08-17 14:15:59 +02:00
konstantin-paulus
6b0b4d34b7 Refactor editor integration and enhance editing capabilities
- Introduced a new `useEditor` hook to streamline document editing operations, replacing the previous `useDocument` hook.
- Updated components (BackgroundSettings, InspectorHeader, CameraController) to utilize the new `useEditor` for managing property edits and reporting changes.
- Enhanced the `DocumentEditor` class to handle property edits and element insertions, improving the connection between the editor and the JSX source.
- Refactored the `EditWriter` class to manage pending edits and ensure accurate write-backs to the project, supporting real-time updates.
- Removed the obsolete `useProject` hook to simplify project management and improve code clarity.
2026-08-17 11:53:34 +02:00
konstantin-paulus
d4d3475cee Refactor document structure to stage model
- Replaced references to `DocumentRoot` with `Stage` across the codebase, aligning with the new stage model.
- Updated entity management and hierarchy functions to reflect the transition from document-based to stage-based parenting.
- Adjusted comments and documentation to clarify the role of the stage in the entity structure.
- Enhanced queries and actions to utilize the new stage terminology, ensuring consistency throughout the runtime environment.
2026-08-17 10:05:00 +02:00
konstantin-paulus
48d6d9b3e1 Enhance time trait handling in RuntimeDocument
- Introduced new time-related traits: `Start`, `End`, `SourceIn`, and `SourceOut`, to better manage authored time values.
- Implemented `toSeconds` function for parsing time inputs, ensuring accurate conversion to project frames based on the `FrameRate` trait.
- Updated entity management to handle the new time traits, allowing for dynamic addition and removal based on user input.
- Streamlined the logic for managing time properties within entities, improving responsiveness to changes in authored time values.
2026-08-17 09:52:26 +02:00
konstantin-paulus
4e15ad775c Refactor timing traits and entity management in Runtime
- Replaced the `Delay` and `Trim` traits with four distinct traits: `Start`, `End`, `SourceIn`, and `SourceOut`, to better represent authored time values.
- Updated entity creation and serialization processes to accommodate the new timing traits, ensuring accurate handling of time-related properties.
- Refactored time range computation logic to utilize the new traits, enhancing clarity and consistency in how entities are managed within the timeline.
- Streamlined the propagation of time changes across entities, improving responsiveness to edits in authored time values.
2026-08-17 09:36:07 +02:00
konstantin-paulus
e1b0750afd Refactor entity creation and management in RuntimeDocument
- Replaced direct entity spawning with a new `createEntity` function for improved clarity and consistency.
- Updated the handling of `<scene>` and `<rect>` elements to utilize the new entity creation approach, ensuring proper component addition and resizing.
- Streamlined child entity management by refining the append and remove logic, enhancing overall document interaction.
2026-08-16 21:34:55 +02:00
konstantin-paulus
0c268bd184 Implement scene support and refactor related components
- Removed the `<rect>` element's promotion to a scene, simplifying the element structure.
- Introduced `<scene>` as a new top-level element under `<stage>`, allowing for clipped, playable frames in compositions.
- Updated `RuntimeDocument` to handle `<scene>` creation and management, ensuring proper entity spawning and timeline ownership.
- Enhanced type definitions in the JSX package to include `SceneProps`, improving integration with the new scene functionality.
- Refactored entity management methods to support the new scene structure and ensure correct parent-child relationships in the document.
2026-08-16 19:24:42 +02:00
konstantin-paulus
61e1e9a0d2 Refactor camera handling and integrate document reporting
- Updated camera control functions to utilize the new useDocument hook for reporting camera edits.
- Enhanced CameraController to report camera matrix changes directly to the document, ensuring real-time updates.
- Refactored InspectorHeader and BackgroundSettings to improve clarity and consistency in camera and background management.
- Introduced CameraMatrix type for better type handling in camera-related operations, enhancing overall code quality.
2026-08-16 17:52:06 +02:00
konstantin-paulus
b2fc9a9619 Enhance project editing capabilities and integrate new JSX features
- Added support for writing project edits back to JSX, allowing real-time updates from the editor to the source files.
- Introduced new `writeProject` function to handle edits, ensuring changes are reflected in the project's JSX without triggering a full compile.
- Updated `main-channels` to include a new `PROJECTS_WRITE` channel for handling write requests.
- Enhanced `RuntimeDocument` to manage edits and maintain a connection between the editor and the JSX source.
- Improved type definitions in the JSX package to support new source properties, ensuring better integration with the editing workflow.
2026-08-16 17:13:33 +02:00
konstantin-paulus
e21b7bbffd Refactor background handling and document interactions
- Updated BackgroundSettings to utilize the new useDocument hook for managing background properties.
- Enhanced RuntimeDocument to streamline background color parsing and setting, ensuring consistent handling of background traits.
- Refactored mount function to create RuntimeDocument instances through a dedicated factory method, improving clarity and encapsulation.
- Adjusted color parsing logic to handle both string and number inputs, enhancing flexibility in background color management.
2026-08-16 15:59:31 +02:00
konstantin-paulus
d08c07f2a1 Implement camera controls and refactor related components
- Introduced CameraController to manage camera input and gestures, enhancing user interaction with the canvas.
- Updated Canvas component to include CameraController alongside EngineCanvas for improved functionality.
- Refactored InspectorHeader to utilize new camera scaling and zooming methods, streamlining the zoom management process.
- Enhanced camera-related hooks and actions for better integration with the new camera system.
- Updated documentation and comments to clarify the new camera management approach and its implications for component interactions.
2026-08-16 14:16:00 +02:00
konstantin-paulus
35b9185c65 Refactor world trait access to utilize Root entity
- Updated various components and systems to replace direct world access with the Root entity for managing traits like Camera and Background.
- Enhanced BackgroundSettings and useCamera hooks to reflect the new approach in trait retrieval.
- Simplified entity management in the RuntimeDocument and other systems by ensuring consistent access to the Root entity.
- Removed deprecated getDocument function and adjusted related logic for improved clarity and performance.
2026-08-16 12:13:37 +02:00
konstantin-paulus
0aa7bf67eb Refactor entity queries to remove Deleted trait checks
- Updated various systems and actions to eliminate checks for the Deleted trait in entity queries, simplifying the logic and improving performance.
- Adjusted the handling of entity collections to ensure proper management of active entities without relying on soft deletion.
- Enhanced documentation to clarify the changes in entity lifecycle management and the implications for system behavior.
2026-08-16 11:15:03 +02:00
konstantin-paulus
880a11214d Refactor world and document interactions to utilize getDocument for trait management
- Updated various components to replace direct world access with getDocument for managing Camera and Background traits.
- Enhanced BackgroundSettings and useCamera hooks to reflect changes in trait retrieval.
- Adjusted encoder and rendering systems to ensure consistent access to document-level state.
- Improved documentation comments to clarify the new approach to managing document traits.
2026-08-16 11:00:57 +02:00
konstantin-paulus
ad248f6e3a Refactor RuntimeDocument to streamline entity management and improve type handling
- Updated the `RuntimeDocument` class to manage entities directly, removing the `SceneNode` interface for a more straightforward approach.
- Simplified the `createElement` and `insertNode` methods to work with `Entity` types, enhancing clarity and reducing complexity.
- Improved background handling by directly setting the `Background` trait in the world.
- Refactored methods for node management, ensuring better integration with the entity system and removing deprecated code.
- Enhanced the `getParentNode` and child retrieval methods for improved hierarchy management.
2026-08-16 10:48:48 +02:00
konstantin-paulus
495fb62065 Enhance rendering and styling logic for intrinsic fills
- Updated the `setFill` method in `RuntimeDocument` to directly manage the entity's `Color` trait, simplifying fill handling.
- Introduced `renderIntrinsicFill` function to ensure the geometry's solid fill is rendered correctly beneath paint sub-entities.
- Enhanced text rendering to support intrinsic fills, allowing for better visual consistency in text elements.
- Updated comments and documentation for clarity on the role of the `Color` trait in rendering.
2026-08-16 09:46:07 +02:00
konstantin-paulus
c419c4bc3b Refactor project structure and remove deprecated components
- Commented out the SceneInitOverlay in Canvas component to streamline rendering.
- Integrated useProject hook in EditorPage for improved project context handling.
- Removed ProjectLoader from ProjectPage to simplify project management.
- Updated project exports to include use-project instead of loader.
- Deleted the unused ProjectLoader component to clean up the codebase.
2026-08-15 22:48:36 +02:00
konstantin-paulus
2f5cc9d945 Refactor project components and improve rendering logic
- Renamed the default export function in the starter template from Scene to Project for clarity.
- Updated StageProps interface to include a background property for customizable canvas color.
- Removed redundant project-related UI elements from the dashboard view to streamline the user experience.
- Simplified the ProjectLoader component by eliminating unused camera fitting logic and related comments.
- Enhanced the RuntimeDocument class to better manage the stage and rect entities, including background handling.
2026-08-15 22:41:44 +02:00
konstantin-paulus
ba1dd1b8cd Refactor dashboard and project routing for improved navigation
- Replaced HomePage with DashboardPage as the main entry point in app.tsx.
- Introduced ProjectPage for project-specific routes.
- Updated routing logic to utilize useParams for project identification.
- Removed deprecated dashboard component files and adjusted related imports.
- Enhanced project management features in the dashboard, including navigation and project handling.
- Updated context imports to use dapi instead of editor-api for consistency.
2026-08-15 22:03:07 +02:00
konstantin-paulus
434b994881 Update project management features and dependencies
- Bumped version numbers for all packages to 0.132.1 in package-lock.json.
- Introduced new project management channels in main-channels.ts for creating, listing, and compiling projects.
- Enhanced main.ts to handle new project-related requests.
- Updated dashboard projects view to support project creation, deletion, and duplication with improved UI interactions.
- Integrated project management functionality into the file menu for easier access.
- Added a new reconciler package to manage project content on disk.
- Improved project ID handling in use-project-id.ts to ensure valid folder names.
2026-08-15 20:03:45 +02:00
konstantin-paulus
e85cee917a Refactor CLI and API structure by removing deprecated components
Eliminated the `compile-project.ts` and `open-folder.ts` files from the CLI, streamlining the codebase. Updated the README to reflect changes in CLI commands, including the removal of outdated examples. Adjusted the API to enhance clarity and maintainability by consolidating asset handling functions and removing unused types. This refactor improves the overall architecture and reduces complexity in the CLI interactions.
2026-08-14 14:52:20 +02:00
konstantin-paulus
353dc76685 Update migration documentation and entity serialization to clarify the distinction between in-memory snapshots and persisted formats. Adjusted EntityRecord description to reflect its role in cloning and entity management without backward compatibility constraints. 2026-08-14 13:18:01 +02:00
konstantin-paulus
b1b2854bd9 Update encoder and runtime packages to include new contact sheet and audio sync features
Added exports for the new `contact-sheet` module in the encoder package and included `audio-sync` in the runtime media index. Updated migration documentation to reflect these changes, ensuring better organization and functionality for media handling within the application.
2026-08-12 16:02:10 +02:00
konstantin-paulus
664eb897c8 Update runtime package to include encoder system and enhance rendering capabilities
Added a new encoder package (`@diffusionstudio/encoder`) for handling media encoding, separating it from the main runtime. Updated the migration documentation to reflect the new encoder structure and its integration with the runtime. Enhanced the render system to support hit regions and callback-less interactions, improving the rendering process. Updated various system modules to ensure proper integration and functionality within the runtime package.
2026-08-12 13:36:54 +02:00
konstantin-paulus
df07fd1209 Implement playback system in runtime package for time advancement and media synchronization
Added a comprehensive playback system that advances root playheads, manages local time and visibility for entities, and synchronizes audio and video decoders. The system supports looping and handles audio playback state transitions. Updated the index files to export the new playback module and integrated it into the existing systems structure, enhancing media handling capabilities within the runtime package.
2026-08-12 12:47:44 +02:00