Refactor various components in the dashboard and scene initialization overlay to enhance visual appeal and user interaction. Changes include updating button and card background colors, adjusting separator styles, and modifying sidebar item active states. These updates contribute to a more cohesive and polished user interface across the application.
Change the button class from "text-muted-foreground" to "text-foreground" in the Alignment component to enhance its visibility and ensure better user interaction. This update contributes to a more consistent and appealing user interface.
Update the restoreWorld function to validate camera properties before applying them, ensuring only valid camera configurations are used. Introduce a fallback mechanism for the camera and background settings. In the camera controller, adjust the scaling logic to prevent zero or negative dimensions, enhancing stability and user experience. This change improves the robustness of the camera system and ensures a more reliable rendering process.
Update the VolumeMeter component to apply rounded corners to individual VerticalMeter instances. Introduce a class prop to VerticalMeter for flexible styling. Enhance the rendering logic to utilize clip-path for the meter overlay, improving visual representation. Additionally, update color classes for better UI consistency in MeterScale. This change enhances the overall user experience and visual appeal of the soundboard interface.
Introduce a new function to assign center constraints for both horizontal and vertical alignment in the ConstraintsRow component. Update the CSS classes to enhance hover effects for better user interaction, ensuring a more responsive and visually appealing interface. This change improves the overall usability of the constraints feature in the UI.
Modify various color variables in CSS to enhance visual consistency across the application. Adjust background color defaults in the engine to ensure a cohesive look. Update HUD system colors for better contrast and readability. Refactor asset and folder item components to use a unified text color, improving overall UI clarity. Introduce an IncrementDecrementControl component for better user interaction in time settings. This change enhances the user experience by providing a more polished and consistent interface.
Add TypeGPU as a dependency and configure ESLint to include the TypeGPU plugin for enhanced type checking in JavaScript and TypeScript files. Update the Vite configuration to utilize the TypeGPU plugin, improving the development experience for GPU programming. Additionally, modify the .gitignore to exclude new AI-related files. This change enhances the project's capabilities for GPU-based computations and ensures consistent linting practices.
Add native corner radius and backdrop functionality for macOS, improving the visual integration of the application. Update the build process to include a new native build script. Additionally, introduce new CSS variables for stronger border styling across the web application, ensuring a consistent and polished user interface. This change enhances the overall user experience on macOS and improves visual consistency across platforms.
Introduce the `animations` prop across multiple components, including audio, elements, and text, allowing for preset in/out animations. Update related documentation to reflect this new feature and enhance the `animations` handling in the node patching process. This change improves the flexibility and visual dynamics of the UI elements.
Update the main window configuration to support macOS native vibrancy, allowing for a transparent background and improved visual integration. Introduce new CSS variables for sidebar colors in both light and dark themes, ensuring a consistent look across platforms. Additionally, adjust component styles to reflect these changes, enhancing the overall user interface and experience.
Update the output format for various asset and folder commands to ensure JSON Lines are emitted on stdout, providing a consistent structure across commands. Enhance error handling to ensure that unknown ids or invalid inputs fail the entire command, improving user feedback and command reliability. This change streamlines the user experience and aligns with the fail-fast convention for batch commands.
Add an `output` option to the `CaptureOptions` type, allowing users to specify a directory for saving captured PNG files. Update the `nodeCapture` function to create the specified directory recursively if it doesn't exist, improving flexibility in file management during node captures. This change enhances user experience by providing control over file output locations.
Update the `errnoCode` function to ensure it only processes TRPCClientError instances, enhancing error handling accuracy. Additionally, modify the media processing functions to create output directories recursively, ensuring that the necessary paths exist before file operations. This change improves robustness and reliability in file handling within the CLI application.
Refactor the file dialog logic to support both Electron and standard web file picking methods. Introduce a new `getPathForFile` function to retrieve file paths in the desktop context, improving file handling consistency. Update the `ElectronFileHandle` class to facilitate the creation of file handles from files, ensuring seamless integration with the existing file system APIs. Additionally, enhance permission handling in the `queryPermission` method to provide a fallback mechanism for permission requests. This change improves user experience and file management capabilities across the applications.
Refactor the `drawRuler` function to optimize label rendering on the canvas. Introduce a mechanism to prevent overlapping labels by tracking the end position of the last drawn label and ensuring new labels are only drawn if they fit within the available space. This change improves the clarity and readability of the ruler display in the UI.
Introduce parsing for SRT and WebVTT subtitle formats, allowing transcripts to be mounted directly from these files. Update the asset detection logic to recognize subtitle MIME types and adjust the caption handling in the playback system to ensure proper integration. Additionally, enhance the documentation to clarify the usage of the `<captions>` component for manual transcript sourcing.
Simplify the `nodeCapture` function by consolidating time parsing logic and ensuring default values are handled more gracefully. Update the CLI command description to clarify the default time behavior for captures. This change enhances code readability and user experience by providing clearer expectations for time input.
Implement a caching mechanism for image decoders, allowing multiple entities to share a single decoder instance. Introduce the `SharedImageDecoder` class to manage reference counting and disposal of decoders, enhancing memory efficiency. Update the `resolveImageDecoder` function to utilize the cache, ensuring that asset changes properly release old decoders while acquiring new ones. This change improves performance and resource management in the image decoding process.
Update the `dispose` function initialization to include a space for consistency. Remove the `rootCreated` property from the `WorldDocument` class, simplifying the state management during scene handling. This change enhances code readability and maintains functionality in scene mounting and node insertion processes.
When dapi mount creates a scene root that did not exist before (no node
with the same key), the camera now fits it into view after it becomes
the active scene. Re-mounts of an existing key still switch the active
scene but leave the camera untouched, so iterating on a project does not
yank the viewport.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Update the image encoder configuration to include a new `resolution` parameter, allowing for customizable output height during node captures. Modify the CLI command description to reflect the fixed 720p height for captures, ensuring consistency in output quality. This change improves the flexibility and precision of the image capturing process, enhancing the overall user experience.
Introduce a new `ImageEncoder` to render frames of an entity into standalone PNGs, enhancing the node capture functionality. Update the `handleNodeCapture` function to utilize the new encoder, allowing for more precise frame capturing with optional timestamp labeling. This change streamlines the capture process and improves the quality of output images, ensuring better representation of animated entities.
Update the `nodeCapture` function to require a non-optional `id` parameter, enhancing type safety. Revise the CLI command to reflect this change, ensuring users must provide a node ID for capturing. Additionally, streamline the `handleNodeCapture` function by asserting canvas readiness and simplifying scene handling, which improves the robustness and clarity of the node capture process.
Introduce a new `inflightLoads` WeakMap to manage concurrent asset loading requests, ensuring that only one promise per asset hash is created and awaited. This change enhances the asset loading process by deduplicating requests for the same asset, improving performance and resource management in the asset subsystem.
Revise the JSX documentation for `<audio>` and `<video>` components to clarify the `volume` prop, now expressed in decibels instead of a linear scale. Update example usages in the README and ensure consistency across related documentation. Additionally, modify the description of volume handling in the CLI to align with the new decibel representation, enhancing user understanding of audio properties.
Revise the documentation for JSX elements, specifically the `<group>`, `<text>`, and paint elements, to enhance clarity regarding their properties and behaviors. The `<group>` now emphasizes its auto-sizing feature based on children, while `<text>` and paint elements have been updated to reflect the use of `fill` instead of `color`. Additionally, the README has been updated to describe the pseudo-SVG nature of the markup, ensuring users have accurate and comprehensive information.
Update timing-related properties across various JSX elements, replacing `inPoint`, `outPoint`, and `startTime` with `start`, `end`, `sourceIn`, and `sourceOut`. This change enhances the clarity of temporal placement semantics and aligns with the new structure for managing media timelines. Additionally, update related documentation to reflect these changes, ensuring users have accurate information on timing properties.
Introduce the `@webgpu/types` package to support WebGPU functionalities in the CLI and web applications. Update the media frame handling logic to include an `auto` option, allowing for automatic frame selection based on visual state changes. This enhancement improves the user experience by providing a more intuitive way to capture frames from video assets, ensuring better quality and relevance in the output.
Modify the `ls` command in the asset and selection sections to allow for multiple aliases, enhancing user flexibility in command usage. This change aims to improve the overall user experience by providing alternative command options while maintaining existing functionality.
Revise descriptions across various CLI commands to enhance user understanding. Changes include clearer explanations for the `context`, `open`, `mount`, `asset`, and `media` commands, ensuring users have precise information on functionality and usage. Additionally, update argument and option descriptions for better context and error handling, contributing to an overall improved user experience in the CLI.
Change the development script commands in `package.json` to improve organization and clarity. Introduce a separate `dev:web` command for the web workspace and update the `dev:desktop` command to run a specific script. Additionally, revise the README to reflect these changes, ensuring users have clear instructions for running the development environment. Set the Vite server to use port 5173 with strict port enforcement for better configuration.
Enhance the `handleNodeCapture` function by integrating multiple rendering systems, including playback, motion, transform, render, and HUD systems. This update ensures that the canvas is updated correctly during the capture process, preventing stale frames and improving the accuracy of captured images. Additionally, add error handling for canvas readiness to enhance robustness. This change builds on previous enhancements to the node capture functionality, further refining the image capture experience.
Add a `--no-timestamp` option to the `node capture` command, allowing users to disable timestamp labeling on captured images. Update the command description and related documentation to reflect this new functionality, ensuring clarity on the capture process and output format. Additionally, implement a utility function for consistent timestamp labeling across the application, improving the overall user experience when capturing node images.
Refactor the `node capture` command to allow capturing images at multiple specified timeline positions, updating the output format to return a JSON line for each capture with the corresponding time and path. Adjust related documentation and descriptions to reflect these changes, improving clarity and usability for users. This update enhances the command's functionality, enabling more precise captures in the application.
Rename the `screenshot` command to `capture` across the codebase and documentation for consistency. Update related descriptions and references to reflect this change, enhancing clarity in the CLI usage and improving user understanding of the command's functionality. This refactor also includes adjustments in the API handling and documentation to ensure a seamless transition.
Introduce a script in `index.html` that detects and applies the user's preferred color scheme (light or dark) based on system settings or stored preferences. This enhancement improves the visual consistency and accessibility of the application by adapting to user preferences.
Revise the `README.md` to update the `dapi node` command description, replacing `export` with `render`. Enhance timestamp handling in the media processing code by ensuring that negative first timestamps are clamped to zero, preventing over-reporting of media track durations. This improves accuracy in video and audio processing functionalities.
Refactor the `grab` command to support new options for frame extraction, including `--count`, `--start`, `--end`, and `--quality`, allowing users to specify the number of frames, sampling window, and resolution presets. Update error handling to ensure proper validation of input parameters. Revise command descriptions for clarity, improving user understanding of frame extraction capabilities and enhancing overall usability in media analysis.
Update the output structure for the `filmstrip` command to simplify the JSON response by removing grid geometry details. Enhance the `waveform` command to include silent stretches in the output, providing users with additional information about audio silence periods. Adjust type definitions and documentation to reflect these changes, improving clarity and usability for media analysis tools.
Refactor the `transcodeForAnalysis` function to accept specific asset types (VideoAsset | AudioAsset) for improved type safety. Increase the `MAX_WIDTH_IN_TOKENS` and `THUMBNAIL_HEIGHT_IN_TOKENS` constants to accommodate larger visual elements. Remove redundant ruler drawing logic to streamline the rendering process, enhancing overall performance and clarity in the transcode utility.
Replace the `visualize` command with `filmstrip` and introduce a new `waveform` command for rendering audio waveforms. Update type definitions and API handling to reflect these changes, ensuring consistency across the application. Revise documentation to clarify command functionalities and improve user understanding of media asset inspection tools, enhancing overall usability.
Add a `--keep-video` option to the `listen` command, allowing users to retain the video track during analysis. Update command descriptions for clarity, including changing the default behavior in the documentation to reflect the new option. This improves user experience by providing more flexibility in media analysis.
Transition the CLI from using `asset` to `media` for various commands, including `probe`, `frame`, `transcribe`, `visualize`, and `listen`. Update type definitions and API handling to reflect this change, ensuring consistency across the application. Revise documentation to enhance user understanding of media asset functionalities, improving overall usability and organization of commands.
Update the CLI to replace the `analyze` command with `listen`, focusing on audio track analysis. Modify related documentation and command descriptions to reflect this change, ensuring clarity on the command's functionality. Adjust type definitions and API handling to support the new command structure, enhancing the user experience when working with audio assets.
Update the CLI descriptions for the `visualize` and `analyze` commands to enhance clarity and usability. The `visualize` command now includes additional aliases and a more comprehensive description of its functionality. The `analyze` command's description has been refined to emphasize its audio-first approach and clarify asset type requirements. Additionally, streamline asset type assertions in the analysis handling to focus on video and audio assets only, improving error messaging and code readability.
Introduce a new `media` command group to replace the previous `asset` command for media inspection tasks, including `probe`, `grab`, `visualize`, `transcribe`, and `analyze`. Update CLI descriptions and documentation to reflect this change, ensuring users can easily understand the functionalities related to media files. This refactor enhances the organization of commands and improves the user experience when working with media assets.
Update the CLI description for the `grab` command to clarify that it outputs high-resolution PNGs with timestamp labels, improving usability for frame inspection. Additionally, export the `formatTimestamp` function for broader use and integrate it into the asset frame handling process, allowing for better timestamp visualization on frames.
Change the `--strip-video` option to `--keep-video` in the asset analysis command, improving the default behavior to include the video stream during analysis. Update related documentation and error handling to reflect this change. Additionally, enhance descriptions for various asset commands to provide clearer guidance on their functionalities and use cases.
Introduce a new `getAssetFile` function to centralize the logic for retrieving asset files, enhancing performance through caching of file handles. Update all relevant components to utilize this new function, ensuring consistent file access across the application. This change simplifies the codebase and improves the efficiency of asset handling.