43 Commits

Author SHA1 Message Date
konstantin-paulus
67dcb6fdcc Refactor asset and folder command outputs for consistency and clarity
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.
2026-07-15 12:39:25 +02:00
konstantin-paulus
429a6c8153 Enhance node capture functionality with output directory option
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.
2026-07-15 11:48:28 +02:00
konstantin-paulus
95f4a8d5f5 Refactor error handling and improve directory creation in CLI client
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.
2026-07-15 07:35:31 +02:00
konstantin-paulus
54cd22f038 Refactor node capture logic for improved clarity and default handling
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.
2026-07-14 09:42:27 +02:00
konstantin-paulus
dd1d764641 Focus camera on newly mounted scenes
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>
2026-07-13 23:09:19 +02:00
konstantin-paulus
66a37207c2 Enhance node capture functionality with resolution support
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.
2026-07-13 22:59:14 +02:00
konstantin-paulus
35534e3189 Implement image encoding for entity frames in node capture
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.
2026-07-13 10:13:11 +02:00
konstantin-paulus
92c2459a5b Refactor node capture functionality for improved type safety and clarity
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.
2026-07-12 15:52:47 +02:00
konstantin-paulus
8fcf8884b8 Update audio and video documentation to reflect volume changes in decibels
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.
2026-07-12 13:57:58 +02:00
konstantin-paulus
586cd78164 Add WebGPU types and enhance media frame handling with auto selection feature
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.
2026-07-11 15:21:43 +02:00
konstantin-paulus
b461d278a9 Update CLI asset and selection commands to support multiple aliases for improved usability
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.
2026-07-11 11:51:16 +02:00
konstantin-paulus
babbd0b60d Update CLI command descriptions for improved clarity and usability
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.
2026-07-11 09:40:05 +02:00
konstantin-paulus
125a156fcb Enhance node capture command with timestamp options and documentation updates
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.
2026-07-11 08:16:32 +02:00
konstantin-paulus
6878007846 Enhance node capture functionality to support multiple timeline positions
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.
2026-07-11 08:10:27 +02:00
konstantin-paulus
6199baf1ab Refactor screenshot command to capture and update documentation
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.
2026-07-11 08:04:38 +02:00
konstantin-paulus
fda2c7e78c Update transcribe command description to include ultra-precise millisecond-level timestamps for improved clarity and usability in media analysis. 2026-07-10 13:13:06 +02:00
konstantin-paulus
e22e4bbc30 Enhance media frame grabbing functionality and update documentation
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.
2026-07-10 13:08:48 +02:00
konstantin-paulus
25b4187691 Refactor media output structures and enhance waveform functionality
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.
2026-07-10 12:13:42 +02:00
konstantin-paulus
d52f63ec76 Refactor media inspection commands and enhance documentation
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.
2026-07-10 11:01:48 +02:00
konstantin-paulus
26f5874b80 Enhance media listen command with new option and improved descriptions
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.
2026-07-10 10:25:10 +02:00
konstantin-paulus
5c117fc4bc Refactor media command structure and update asset handling for improved clarity
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.
2026-07-10 10:19:56 +02:00
konstantin-paulus
121ab67a2d Refactor media command: replace analyze with listen for audio analysis
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.
2026-07-10 08:43:52 +02:00
konstantin-paulus
8d073389fa Refactor media command descriptions and improve asset type handling
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.
2026-07-10 08:17:02 +02:00
konstantin-paulus
4a92a1913b Refactor media command structure and update documentation for clarity
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.
2026-07-10 07:48:28 +02:00
konstantin-paulus
526d1d934f Enhance asset frame grabbing and timestamp formatting
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.
2026-07-10 07:34:12 +02:00
konstantin-paulus
f159d2c073 Refactor asset analysis options and update CLI descriptions for clarity
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.
2026-07-10 06:34:46 +02:00
konstantin-paulus
0d6cc73d83 Update CLI description and asset command details for improved clarity and functionality
Revise the CLI description to better convey its capabilities in media analysis, generation, and editing. Enhance the `asset` command description to include details on managing, analyzing, and generating assets, providing users with a clearer understanding of its functionalities.
2026-07-09 15:00:41 +02:00
konstantin-paulus
f392e72819 Rename dapi asset frame command to dapi asset grab for clarity and update related documentation. Modify input parameters across various asset commands to indicate that local files can be analyzed or visualized without being added to the library. Enhance type safety in the CLI by introducing a unified AssetRef type for asset references, streamlining asset handling in the codebase. 2026-07-09 13:56:53 +02:00
konstantin-paulus
6579490978 Update CLI and Electron integration with tRPC and WebSocket enhancements
Refactor the CLI and Electron communication to utilize tRPC for improved type safety and structure. Introduce WebSocket support for direct communication between the CLI and renderer, enhancing performance and responsiveness. Update various CLI commands to leverage the new editor API for asset management, folder operations, and project handling. Additionally, enhance TypeScript configurations and dependencies for better development experience. This update streamlines the overall architecture and improves user interaction with the CLI.
2026-07-09 10:54:07 +02:00
konstantin-paulus
6f3b3e9427 Enhance asset frame handling by adding resolution parameter for improved frame processing
Update the `AssetFrameRequest` type to include an optional `resolution` parameter, allowing users to specify the pixel count for each decoded frame. Modify the `assetFrame` function in the CLI and Electron context to handle this new parameter, ensuring proper validation and defaulting behavior. Update the CLI documentation to reflect the new `--resolution` option, enhancing user experience and functionality.
2026-07-09 09:23:46 +02:00
konstantin-paulus
2e03b6349b Enhance dapi asset analyze command with --strip-video option for audio-only analysis
Add a new `--strip-video` flag to the `asset analyze` command, allowing users to analyze only the audio track of video assets, significantly improving performance. Update the implementation to handle this option in the API request and adjust the documentation accordingly. Ensure proper validation for asset types when using the new option, enhancing user experience and functionality.
2026-07-09 08:36:02 +02:00
konstantin-paulus
7414220589 Enhance dapi asset transcribe command with options for time range selection
Update the `transcribe` command to support optional `--start` and `--end` parameters, allowing users to specify a range for the transcript output. Modify the implementation to handle these options in the API request and ensure proper validation of the time inputs. Additionally, update the documentation to reflect these changes, improving user experience and functionality.
2026-07-09 08:24:15 +02:00
konstantin-paulus
c34d13c93d Enhance dapi fetch command options for video downloads with yt-dlp
Update the documentation and implementation of the `-f, --format` option to specify a default preference for mp4/m4a streams and clarify the behavior of the `-a, --audio` option, ensuring users understand the precedence of audio extraction over format selection. This improves user experience and documentation clarity.
2026-07-09 07:54:51 +02:00
konstantin-paulus
41cbb54c2d Add dapi fetch command for downloading videos with yt-dlp
Introduce a new command `dapi fetch <url>` to download videos using yt-dlp, which must be installed separately. The command supports various options for output path, format selection, and audio extraction. Update the README to include the new command in the CLI reference, enhancing documentation for user accessibility.
2026-07-09 00:20:17 +02:00
konstantin-paulus
5e3b6d577a Remove outdated API documentation files and introduce new reference files for dapi CLI commands, including context, fonts, models, mount, open, and others. Update the main reference README to reflect the new command structure and organization, ensuring clarity and accessibility for users. This restructuring enhances the overall documentation quality and usability. 2026-07-08 22:33:29 +02:00
konstantin-paulus
de6326f42f Update versioning across applications to 0.129.0, add release workflow for GitHub Actions, and enhance desktop app with CLI installation feature. Introduce new scripts for release management and asset handling, including staging the CLI for distribution. Update dependencies and documentation to reflect changes in the build process and application structure. 2026-07-08 15:20:21 +02:00
konstantin-paulus
31332d23a1 Refactor and replace @diffusionstudio/ai and @diffusionstudio/solid with @diffusionstudio/jsx across the codebase. Update dependencies in package-lock.json and documentation to reflect the new JSX runtime and asset generation capabilities. Remove the @diffusionstudio/ai package and its references, ensuring a cohesive transition to the new structure. 2026-07-08 13:30:09 +02:00
konstantin-paulus
28f71e565c Enhance asset management commands in CLI by introducing dapi asset ls [ids...] for listing raw asset records and dapi asset tree for displaying the asset library as a folder tree. Updated related types and functions to support these changes, ensuring improved flexibility and clarity in asset handling. Adjusted documentation to reflect new command structures and behaviors. 2026-07-07 23:23:32 +02:00
konstantin-paulus
0e2dac7eec Rename transcript command to transcribe across CLI, API, and documentation for consistency. Updated related types, functions, and command descriptions to reflect the new terminology. 2026-07-07 22:21:53 +02:00
konstantin-paulus
bd723d4334 Implement @diffusionstudio/ai and @diffusionstudio/solid packages for generative asset management and Solid JSX runtime. Updated dependencies in package-lock.json and README to reflect new imports. Refactored CLI and documentation to utilize the new packages, ensuring consistency across asset generation and rendering processes. 2026-07-07 21:09:37 +02:00
konstantin-paulus
aac0dad45e Refactor CLI commands and documentation to replace export with render for scene rendering. Updated README, API specifications, and various documentation files to reflect this change and clarify the new syncTo feature for audio alignment. 2026-07-07 16:59:03 +02:00
konstantin-paulus
997d9f30b9 Refactor documentation and descriptions in CLI commands and comments. Removed references to JSX_API.md for clarity and improved readability in compile-project.ts, index.ts, and jsx.ts files. 2026-07-07 13:37:31 +02:00
konstantin-paulus
c3c105aa22 Initial open source release.
This repository contains the initial public version of the project.
The previous development history was intentionally not included.
2026-07-07 09:27:28 +02:00