- Introduced `useMediaSelection` to streamline the management of selected image and video nodes. - Updated `ActionBar` to utilize the new media selection logic, simplifying the determination of media types. - Refactored `PromptInputActions` to leverage `useMediaSelection`, enhancing clarity and reducing complexity in handling selected nodes. - Removed obsolete functions related to media type determination, improving code maintainability. - Added new constants for voice model and aspect ratio dimensions in `config.ts`, enhancing configurability for media generation.
@diffusionstudio/runtime
Headless editor runtime built on koota: traits, world creation and serialization, actions, deterministic systems, media decoding, and capture.
Must work without a DOM and without solid-js so the CLI and node capture can consume it directly. Browser-only concerns (input, keyboard, HUD, timeline canvas UI, persistence) live in apps/web; Solid reactivity bindings live in @diffusionstudio/koota-solid.
The bitecs to koota migration is in progress; see MIGRATION.md for status, design decisions, koota gotchas (including the local koota patch), and the remaining work.