474 Commits

Author SHA1 Message Date
konstantin-paulus
04cd2109b1 v0.204.0 v0.204.0 2026-09-01 14:58:35 +02:00
konstantin-paulus
c55b03d434 Enhance Redraw example with resolution handling
- Updated `11-redraw.tsx` to incorporate `useResolution`, ensuring sharp rendering at any export size by adapting the bitmap to the display's pixel ratio.
- Modified the `draw` function to accept a resolution parameter, allowing dynamic adjustments during rendering.
- Enhanced documentation in `README.md` to reflect the new resolution handling feature in the Redraw example.
2026-09-01 14:58:28 +02:00
konstantin-paulus
54ffda3c66 Add example for Redraw integration on a <surface>
- Introduced a new example file `11-redraw.tsx` demonstrating the "hello" write-on stroke using Redraw, a 2D renderer on WebGPU.
- Implemented a gradient along a handwritten path with adjustable parameters for animation cycles and stroke width.
- Updated `README.md` to include the new example and installation instructions for the required `redraw` tarball package.
- Clarified dependencies for `10-typegpu.tsx` and `11-redraw.tsx` in the documentation.
2026-09-01 14:18:07 +02:00
konstantin-paulus
44f3a081fc Add TypeGPU caustics example and update documentation
- Introduced a new example file `10-typegpu.tsx` demonstrating an underwater caustics shader using TypeGPU and Solid.js.
- Implemented shader functionality with adjustable parameters for tile density, speed, fog color, and ambient light.
- Updated `README.md` to include the new example and installation instructions for required packages.
- Enhanced `module.md` with details on using TypeGPU's compile-time plugins in the project's Babel configuration.
2026-09-01 13:36:27 +02:00
konstantin-paulus
716a632dd9 Enhance Babel integration in project configuration
- Updated babelOptions to accept project-specific plugins, allowing for more flexible Babel configurations.
- Introduced projectBabelPlugins function to load plugins from the project's Babel config, improving compatibility with custom setups.
- Modified solidLoader to utilize project-specific plugins during the transformation process, ensuring better integration with user-defined settings.
2026-09-01 13:09:41 +02:00
Konstantin Paulus
ae3104cea0
Merge pull request #47 from diffusionstudio/headless-export
Headless export
v0.203.0
2026-09-01 10:53:53 +02:00
konstantin-paulus
3b0c2608a4 Refine export command description in CLI
- Updated the export command description to clarify the encoding process and settings retrieval from the project's package.json.
- Simplified language for better readability while retaining essential details about output formats and export behavior.
2026-09-01 10:51:42 +02:00
konstantin-paulus
1e8f1d130c v0.203.0 2026-09-01 10:44:52 +02:00
konstantin-paulus
b06d72388e Add export functionality to CLI with configurable settings
- Introduced new export command in the CLI to encode scenes into video files, utilizing settings from the project's package.json.
- Added types for export formats and settings, including video and audio configurations.
- Implemented exportScene function to handle the export process and output results.
- Updated README.md to include documentation for the new export command.
2026-09-01 10:40:24 +02:00
Konstantin Paulus
585fb010dc
Merge pull request #45 from diffusionstudio/fix-skill-install
Fix skill install
2026-08-31 23:57:35 +02:00
konstantin-paulus
7121364d11 Update package versions to 0.202.1 across all modules
- Bumped version from 0.202.0 to 0.202.1 in package.json and package-lock.json for the editor, CLI, desktop, and web applications.
- Ensured consistency in versioning across all related packages to reflect the latest updates.
v0.202.1
2026-08-31 23:56:41 +02:00
konstantin-paulus
b441cba6d0 Add skills staging and installation enhancements
- Updated .gitignore to include the new skills directory.
- Modified forge.config.ts to stage skills as an app resource.
- Added new script stage-skills.mjs for staging agent skills.
- Enhanced skills installation logic in skills-install.ts to support symlinking skills and added a healing function for broken links.
- Updated main.ts to call the new healing function on app launch.
- Adjusted onboarding page to streamline skills installation feedback and removed unnecessary checks for Node.js availability.
2026-08-31 23:54:52 +02:00
konstantin-paulus
98de09a10f Update README.md to change download link and enhance getting started section
- Updated the download link for the macOS Apple Silicon version to point to the main website.
- Revised the getting started section to emphasize downloading the desktop app and included a new download badge for easier access.
2026-08-31 20:40:38 +02:00
Konstantin Paulus
921e50f16f
Merge pull request #43 from diffusionstudio/bugfixes-01
Bugfixes 01
v0.202.0
2026-08-31 20:29:33 +02:00
konstantin-paulus
606f633d8d Update package versions to 0.202.0 across all modules
- Bumped version from 0.201.0 to 0.202.0 in package.json and package-lock.json for the editor, CLI, desktop, and web applications.
- Ensured consistency in versioning across all related packages to reflect the latest updates.
2026-08-31 17:48:24 +02:00
konstantin-paulus
60cc903be4 Add CLI and skills installation functionality
- Introduced CLI installation logic in cli-install.ts, allowing the app to link the dapi command line tool into the user's PATH with appropriate permissions.
- Updated main-channels.ts to include new channels for checking CLI installation status and initiating CLI installation.
- Integrated CLI installation handling in main.ts, enabling the app to respond to installation requests.
- Created skills-install.ts to manage the installation of agent skills, checking for existing installations and executing the installation command.
- Enhanced the app menu to provide an option for installing the dapi CLI, with user feedback on installation success or failure.
- Developed an onboarding page to guide users through CLI and skills setup, improving the initial user experience.
2026-08-31 17:39:37 +02:00
konstantin-paulus
814caddf1d Refactor export resolution handling and update utility functions
- Modified the ExportPanel to calculate resolution based on the shorter side of the scene, improving output consistency for both landscape and portrait formats.
- Replaced the computeOutputSize function with scaleSize for better clarity in scaling logic.
- Updated the VideoConfig interface to reflect the new resolution definition, emphasizing the output's shorter side.
- Enhanced the computeOutputSize function to align with the new resolution handling, ensuring accurate output sizes for various scene dimensions.
2026-08-31 16:00:04 +02:00
konstantin-paulus
f0c847fb28 Enhance export functionality with resolution handling
- Added width and height properties to the ExportProgress component for better display of video dimensions.
- Implemented resolution options and selection logic in the ExportPanel, allowing users to choose output resolutions dynamically.
- Integrated video encoding checks in the ExportProvider to ensure compatibility with selected resolutions and codecs.
- Updated rendering logic to reflect actual output sizes based on scene dimensions and selected resolution, improving user feedback during exports.
2026-08-31 15:43:12 +02:00
konstantin-paulus
b087c67c48 Update JSX version handling in projects.ts
- Changed the JSX_VERSION from a function to a static string "latest" for consistency and simplicity.
- Updated the packageJson function to reflect this change in the devDependencies section, ensuring the correct version is used for the @diffusionstudio/jsx package.
2026-08-31 12:13:59 +02:00
konstantin-paulus
4c53ded4ca Enhance timeline functionality and state management
- Updated the `EXCLUDED_PROPS` in `history.ts` to include 'timeline', ensuring proper state handling.
- Introduced `reportView` function in `controller.ts` to track timeline view changes, integrating it into the timeline update process.
- Modified `timeline.ts` to call `updateTimelineTransform` every draw pass, improving responsiveness to view changes.
- Added `timeline` property to `SceneProps` in `types.ts` to store the scene's timeline viewport state.
- Updated documentation to reflect the new `timeline` property and its implications for scene state management.
2026-08-31 12:03:21 +02:00
konstantin-paulus
f2728f616b Update keyframe documentation to clarify source-local time semantics
- Revised the `KeyframeProps` type definition to specify that `time` is source-local, meaning it refers to the source's first frame rather than the clip's start.
- Enhanced the `keyframes.md` documentation to reflect this change, providing clearer guidance on how keyframes relate to trimmed clips and playback rates.
- Added an example to illustrate the impact of `sourceIn` on keyframe timing, improving understanding for developers.
2026-08-31 11:28:12 +02:00
Konstantin Paulus
8b8d112f40
Merge pull request #35 from diffusionstudio/variable-api
Variable api
2026-08-29 17:24:07 +02:00
konstantin-paulus
7879a04539 v0.201.0 v0.201.0 2026-08-29 17:18:43 +02:00
konstantin-paulus
49e8e2f7be Add documentation for @inspect variables in JSX reference
- Included a new entry in the JSX documentation for `@inspect` variables, detailing their role as annotated constants that serve as live inspector controls.
- This addition enhances the clarity and usability of the documentation for developers working with variable annotations.
2026-08-29 15:49:35 +02:00
konstantin-paulus
a4b785b5cc Refactor variable handling in inspector and editor
- Updated the VariableControl component to use the committed value instead of the live value for font family selection, improving consistency in variable previews.
- Modified the DocumentEditor to commit changes against the last committed value, ensuring accurate tracking of variable edits.
- Enhanced the InspectEntry interface to include committed values and a commit method, allowing for better management of variable states.
2026-08-29 15:36:41 +02:00
konstantin-paulus
914c2222aa Enhance @inspect variable functionality and UI controls
- Added support for boolean and select types in the @inspect annotation, allowing for more diverse variable configurations.
- Implemented UI controls for boolean toggles and select dropdowns in the inspector, improving user interaction.
- Updated the inspect plugin to validate options for select types and ensure proper initialization.
- Enhanced documentation to reflect the new variable types and their usage in the inspector.
2026-08-29 13:25:06 +02:00
konstantin-paulus
d9cc6b0819 Add @inspect variable support in editor and inspector
- Introduced the `@inspect` annotation for top-level constants, allowing live editing through the inspector.
- Implemented the `VariablesSettings` component to manage and display `@inspect` variables in the sidebar.
- Enhanced the editor to handle variable edits, ensuring changes are reflected in the source code.
- Updated the history management to track variable changes, allowing for undo functionality.
- Added utility functions to manage `@inspect` entries within the project, ensuring consistent access across components.
2026-08-29 13:18:15 +02:00
Konstantin Paulus
aeb873bfc6
Fix grammatical error in README.md untagged-2f8ea794a3870bc8e7b1 2026-08-27 14:08:45 +02:00
Konstantin Paulus
853f3afb1f
Merge pull request #33 from diffusionstudio/koota-migration
Koota migration
v0.200.0
2026-08-27 14:04:22 +02:00
konstantin-paulus
f1282fb3ad Refactor JSX version handling and remove unused hook
- Updated the JSX version assignment in `projects.ts` to dynamically retrieve the app version, enhancing maintainability.
- Deleted the `use-running.ts` hook as it was no longer needed, streamlining the codebase.
2026-08-27 13:47:02 +02:00
konstantin-paulus
d0d02b3601 Update package versions to 0.200.0 across all modules
- Bumped version numbers for the editor, CLI, desktop, web applications, and JSX package to 0.200.0 in package.json and package-lock.json.
- Ensured consistency in versioning across all related packages to reflect the latest updates and improvements.
2026-08-27 13:31:48 +02:00
konstantin-paulus
70a22aca4f Refine README.md for clarity on composition IDs and editing process
- Updated the README.md to enhance clarity regarding the structure of compositions as SolidJS modules.
- Improved explanations on how elements carry IDs for bidirectional editing, ensuring users understand the write-back mechanism for canvas interactions.
2026-08-27 13:24:13 +02:00
konstantin-paulus
2a8db05ad0 Update package.json scripts and enhance README.md for clarity
- Changed the default development script to run the desktop version instead of the web version.
- Updated the README.md to clarify the functionality of Diffusion Studio, emphasizing the bidirectional editing capabilities and the structure of compositions as SolidJS modules.
- Improved command descriptions and examples in the documentation to better reflect the current functionality and usage.
2026-08-27 13:23:03 +02:00
konstantin-paulus
13a06a671e Update README.md to clarify installation command and enhance project description
- Removed the global flag from the installation command for the skills package to simplify usage.
- Revised the project description to emphasize the unique coding aspect of video editing in Diffusion Studio.
- Improved clarity in the documentation regarding the desktop app's functionality and command line capabilities.
2026-08-27 13:04:26 +02:00
konstantin-paulus
6890734acf Update package versions to 0.132.2 and refine dashboard features
- Bumped version numbers for the editor, CLI, desktop, and web applications to 0.132.2 in package.json and package-lock.json.
- Updated the dashboard feature labels in the web application to better reflect current offerings, enhancing clarity for users.
- Removed outdated features and added new ones to align with the latest capabilities of the platform.
2026-08-27 13:02:32 +02:00
konstantin-paulus
22c75e7e26 Update capture command to render scene frames and improve documentation
- Modified the `capture` command to render single frames of a scene instead of a node, ensuring the output matches the export's encoding.
- Updated command descriptions and argument details to reflect the new functionality, including changes to the time reference and scene handling.
- Enhanced documentation for the `capture` command and related references to clarify usage and expected behavior.
- Improved error messages for invalid scene captures, guiding users to capture the correct scene id.
2026-08-27 12:08:41 +02:00
konstantin-paulus
cb30dc839d Enhance file system handling with real path support
- Added a new channel `PROJECTS_FS_REAL_PATH` to resolve the real path of a given source, accommodating symbolic links.
- Updated the `listEntries` function to include a `link` property for entries that are symbolic links, improving asset management.
- Introduced the `realPathEntry` function to handle symlink resolution, ensuring accurate path retrieval.
- Enhanced the `removeEntry` function to prevent deletion of files outside the project directory, maintaining project integrity.
- Updated documentation to clarify symlink handling and the implications of linked assets in the project.
2026-08-27 11:07:24 +02:00
konstantin-paulus
9a4d56311c Update documentation and examples for anime.js integration
- Replaced references to GSAP with anime.js in the JSX documentation, ensuring consistency with the current animation framework.
- Updated code examples to reflect the new anime.js syntax and functionality, enhancing clarity for users transitioning from GSAP.
- Improved explanations regarding timeline creation and usage, emphasizing the benefits of using anime.js for frame-accurate animations.
2026-08-27 10:36:33 +02:00
konstantin-paulus
2282835eed Improve error handling and logging in EditorPage
- Added console error logging for compile, render, and load failures in the EditorPage component to enhance debugging capabilities.
- Refactored the loadProject function call into a separate load function to handle errors more gracefully during project loading.
- Updated the motion system to use getLocalWindow instead of getSourceWindow for improved accuracy in local frame calculations.
2026-08-27 10:31:58 +02:00
konstantin-paulus
e6838d4abd Enhance asset handling and documentation for symlink support
- Updated the `listEntries` function in `projects.ts` to include support for symbolic links, ensuring they are treated as valid entries.
- Revised the `media.md` documentation to clarify the handling of symlinks in the asset library, emphasizing the benefits of linking over copying files.
- Improved the description of the `assets/` directory in `module.md` to reflect the inclusion of symlinks and their role in the asset management process.
2026-08-27 09:48:52 +02:00
konstantin-paulus
aea37e16ce Add dapi check command for structural analysis of nodes
- Introduced a new command `dapi check` to analyze a node's subtree for structural issues, including black frames, never-visible nodes, and source errors.
- Implemented types for check requests and results, detailing the structure of issues found during analysis.
- Added a new `check.ts` file to handle the logic for checking nodes, including coverage calculations and issue reporting.
- Updated the `README.md` and reference documentation to include usage instructions and details about the new command.
- Enhanced the CLI with a new command option for checking node integrity without rendering, providing instant feedback on potential issues in the project.
2026-08-26 19:23:29 +02:00
konstantin-paulus
df23d9c649 Update project and media documentation for asset handling
- Revised the description of the `assets/` directory in `projects.ts` to clarify its role in the library and the handling of media files.
- Expanded the `media.md` documentation to include instructions on adding assets to the library, detailing the process for importing files and managing image sequences.
- Updated the `README.md` to reflect changes in the `media.md` section, ensuring consistency in documentation across the project.
2026-08-26 16:25:47 +02:00
konstantin-paulus
f33d5570cc Refactor caption handling and enhance transcript duration management
- Removed the `sceneSpan` function from the `useAutoCaptions` hook to simplify caption insertion logic.
- Updated the `insertFresh` function to streamline caption creation by removing unnecessary parameters.
- Introduced new functions in the `timing.ts` file to manage transcript duration and caption source handling, improving accuracy in timing calculations.
- Added caching for transcript lengths in `utils.ts`, allowing for synchronous access to transcript durations after initial reading.
- Enhanced the overall caption handling process to ensure better integration with the timing system and improve performance.
2026-08-26 14:20:38 +02:00
konstantin-paulus
21a689708b Refactor caption handling and improve styling logic
- Updated the `CaptionSettings` component to clarify the relationship between caption presets and authored styles, enhancing user understanding.
- Simplified the `Inspector` component by removing unnecessary checks for caption targets, streamlining the rendering logic.
- Wrapped the "Grow" control in the `TextPanel` with a conditional display to ensure it only appears when text is selected, improving UI responsiveness.
- Introduced new constants for caption preset styles and fills, centralizing style management and ensuring consistency across different caption types.
- Enhanced the `applyStyles` method in various caption decoders to utilize the new preset styles, improving the overall styling process and ensuring authored properties are correctly applied.
2026-08-26 13:53:08 +02:00
konstantin-paulus
ce691821bb Update caption handling and seed management in auto-captions feature
- Modified the `sceneSpan` function to calculate frames based on `computed.duration` for improved accuracy.
- Enhanced the `insertFresh` function to include a unique seed for each caption insertion, ensuring fresh transcriptions.
- Refactored the seed management logic to utilize `Date.now()` for generating new seeds, streamlining the re-transcription process.
- Cleaned up the `CaptionSettings` component by removing unused alignment logic and context menu, simplifying the UI and improving maintainability.
- Adjusted the `EditorGenAi` class to ensure proper key management for generated assets, preventing unnecessary re-transcriptions.
2026-08-26 11:47:13 +02:00
konstantin-paulus
f54ff6fe80 Refactor label assignment logic in renderClip function
- Updated the label assignment logic to use an else-if structure for better clarity and to prevent unnecessary evaluations when checking for text entities.
- Ensured that the label is correctly derived from captions or text entities, improving the overall readability and maintainability of the code.
2026-08-26 11:13:03 +02:00
konstantin-paulus
9d543aeb20 Enhance AI attachment logic in editor functionality
- Updated the `attachAi` function to accept an optional `dir` parameter, allowing for better project folder management during AI attachment.
- Modified the `EditorGenAi` constructor to incorporate the `dir` parameter, facilitating improved asset transcription handling based on the project's directory.
- Adjusted the `createCapture` function call to utilize the new `dir` property, ensuring accurate source compilation during audio capture processes.
2026-08-26 11:04:54 +02:00
konstantin-paulus
cad0a98986 Enhance asset naming and insertion logic in generation functions
- Updated the `insertGenerated` function to accept an array of asset references, allowing for dynamic naming of generated entities based on their corresponding assets.
- Modified the `useGenerateAudio`, `useGenerateImage`, `useGenerateVideo`, and `useGenerateVoice` hooks to pass asset references during insertion, ensuring generated elements are appropriately named.
- Introduced a new `nameAfterGeneration` function to handle the naming process asynchronously, improving the clarity and organization of the codebase.
2026-08-26 10:57:20 +02:00
konstantin-paulus
48cc213686 Refactor aspect ratio synchronization in RuntimeDocument
- Replaced direct handling of the `keepAspectRatio` property with a dedicated `syncAspectLock` method to streamline aspect ratio management.
- Updated logic to ensure the aspect ratio lock is consistently applied based on node properties, enhancing the integrity of resizing operations.
- Added documentation for the new `syncAspectLock` method to clarify its role in maintaining authored bounds during resizing.
2026-08-26 10:47:26 +02:00
konstantin-paulus
0349c75096 Update Rect components to maintain aspect ratio in image and video generation
- Modified the `useGenerateImage` and `useGenerateVideo` hooks to include the `keepAspectRatio` property in the `Rect` components, ensuring consistent aspect ratio handling for generated assets.
- Updated the `insertAsset` function to apply the `keepAspectRatio` property for both video and image assets, enhancing layout integrity during asset insertion.
2026-08-26 10:26:06 +02:00