- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.