173 Commits

Author SHA1 Message Date
konstantin-paulus
d3260cb452 Update package versions to 0.211.0 across all relevant files
- Incremented version number from 0.210.0 to 0.211.0 in package.json and package-lock.json for the editor, cli, desktop, web, and jsx packages.
- Ensured consistency in versioning across the project to reflect the latest updates.
2026-10-11 00:35:54 +02:00
konstantin-paulus
1fc4d16bf8 Enhance project initialization handling and update project configuration
- Updated the SceneInitOverlay component to differentiate between new and existing projects, ensuring the prompt only appears for projects that have never had content.
- Introduced a new useProjectConfig hook to manage project state and track whether the stage has been initialized.
- Enhanced ProjectConfig class to include reactive signals for loaded and initialized states, allowing for better project lifecycle management.
- Updated documentation to clarify the role of the initialized state in project management.
2026-10-10 14:22:17 +02:00
konstantin-paulus
0e57cd2edc Refactor EditValue to PropValue across edit types
- Removed the EditValue type and replaced it with PropValue in edit-types.ts and edit.ts files.
- Updated related interfaces and functions to ensure consistency in type usage for properties in editing operations.
- Enhanced type clarity by standardizing the value types used in source edits and property management.
2026-10-09 23:28:10 +02:00
konstantin-paulus
5552978747 Enhance path editing capabilities and introduce new SVG icons
- Updated the source file to include 'path' in the set of ambiguous SVG tags.
- Added new SVG icons for path trimming (trim-start, trim-end, trim-offset) and a small pen tool icon.
- Implemented a PathSettings component to manage path-specific properties such as fill rule and trim settings.
- Enhanced the Toolbar and ToolMenu components to include the new Pen tool for drawing and editing paths.
- Integrated path editing functionality, allowing users to edit vertices and manage path outlines directly on the canvas.
- Updated the inspector components to support path properties and interactions, improving the overall user experience for path manipulation.
- Enhanced documentation to include details about the new path features and SVG elements.
2026-10-09 23:18:37 +02:00
konstantin-paulus
eaacc15fc8 Add ellipse and polygon shapes to drawing tools
- Introduced new shape tools for Ellipse and Polygon, enhancing the drawing capabilities within the application.
- Updated the Toolbar component to include shape tools, allowing users to select and utilize these new shapes.
- Enhanced the ToolMenu to provide options for selecting Ellipse and Polygon tools.
- Implemented functionality for managing point counts in polygons and added relevant controls in the AppearanceSettings.
- Updated the rendering engine to support the new shapes, ensuring they can be drawn and manipulated effectively.
- Enhanced documentation to include details about the new shapes and their properties.
2026-10-09 13:44:11 +02:00
konstantin-paulus
3e376ca95f Enhance analytics tracking in desktop and web applications
- Updated the `startAnalytics` function to accept a `WindowHost` parameter, allowing for improved tracking of app usage.
- Introduced a timer to track app usage every minute when the window is active.
- Added similar usage tracking functionality in the web application's analytics module, ensuring consistent tracking across platforms.
2026-10-07 18:28:03 +02:00
konstantin-paulus
55e1f1189f Refactor media command structure and update documentation
- Removed the `media` prefix from various commands (`media_grab`, `media_transcribe`, etc.) to simplify usage and improve consistency across the CLI and API.
- Updated the corresponding handlers and references in the codebase to reflect the new command names.
- Enhanced the README and documentation to clarify the changes in command structure and provide updated examples for users.
- Introduced new handlers for `grab`, `transcribe`, `filmstrip`, `waveform`, and `listen`, ensuring they align with the updated command naming conventions.
- Improved error handling and validation in the new command implementations for better user experience.
2026-10-07 15:04:15 +02:00
konstantin-paulus
4e232a3c5d Update package versions to 0.210.0 across all modules
- Bumped version numbers in package.json and package-lock.json for the editor, CLI, desktop, web, and JSX packages to 0.210.0, ensuring consistency across the project.
- This update may include new features, bug fixes, or improvements as part of the version increment.
2026-10-07 12:35:25 +02:00
konstantin-paulus
fe3f1d68e7 Implement estimate option in generate tool for cost and time prediction
- Added an `--estimate` option to the `generate` command, allowing users to retrieve the estimated credits and execution time without starting a job.
- Updated the `generate` function to handle the new estimate logic, returning a structured response with `credits` and `etaSeconds`.
- Enhanced documentation to clarify the usage of the estimate feature and its implications for job execution.
- Modified related types and validation to accommodate the new estimate functionality, ensuring robust input handling.
2026-10-07 12:04:03 +02:00
konstantin-paulus
e18ab84562 Remove media segment functionality and related tests
- Eliminated the `media_segment` command and its associated options from the CLI, streamlining the media handling process.
- Removed references to `media_segment` in the API handlers and tests, ensuring a cleaner codebase.
- Updated the `present` function to no longer handle `media_segment`, focusing on other media processing tasks.
- Adjusted related documentation to reflect the removal of the `media_segment` functionality, enhancing clarity for developers.
2026-10-07 10:29:55 +02:00
konstantin-paulus
6a0ef3c188 Implement generate and job endpoints in the web API
- Added `generate` and `job` handlers to facilitate media generation and job management through the API.
- Enhanced the `generate` function to handle file uploads and return job details, including estimated run time and credit costs.
- Implemented the `job` function to retrieve job status and results, allowing users to poll for job completion and access generated files.
- Updated documentation to reflect the new endpoints and their usage, improving clarity for developers integrating with the API.
2026-10-06 23:14:59 +02:00
konstantin-paulus
73e578f47c Refactor analytics tracking and configuration in desktop application
- Replaced the Umami tracking implementation with a new analytics system that utilizes a queue for event tracking.
- Introduced `configureAnalytics` function to set API URL and token for event tracking.
- Updated event tracking methods to handle canvas edits and code changes, improving the granularity of analytics data.
- Modified main channels to reflect the new analytics configuration, enhancing the integration between the main and renderer processes.
- Improved documentation and code organization for better maintainability and clarity.
2026-10-06 18:11:41 +02:00
konstantin-paulus
68b3095405 Enhance project deletion logic to handle non-existent directories
- Updated the `deleteProject` function to check if the directory exists before attempting to move it to the trash, preventing errors when trying to delete already deleted projects.
- Improved documentation to clarify that a project can still be removed from the list even if its folder is already gone.
2026-10-06 16:08:32 +02:00
konstantin-paulus
631d457373 Export sourceFiles function for external use and integrate migrateGenerations in compileProject to handle legacy asset migrations. This enhances project compatibility with previous versions. 2026-10-04 11:33:51 +02:00
konstantin-paulus
1a8968a396 Refactor generative AI components and update dependencies
- Removed unused imports and code related to generative assets in various components.
- Updated the `package-lock.json` to remove `@diffusionstudio/api-contract` and `@trpc` dependencies.
- Introduced a placeholder mechanism for generative AI features that are currently being rebuilt.
- Adjusted the CLI and documentation to reflect changes in available commands and features.
- Enhanced the handling of timeouts in the CLI client for media analysis and rendering tasks.
2026-10-04 11:12:49 +02:00
konstantin-paulus
c99d8c2d3a Update package versions to 0.209.1 across all modules
- Incremented version numbers in `package.json` and `package-lock.json` for the main editor, CLI, desktop, and web applications to reflect the new release.
2026-10-02 10:27:42 +02:00
konstantin-paulus
c4fbd51f1d Add WINDOW_SHOW channel and integrate into upgrade dialog
- Introduced a new channel `WINDOW_SHOW` to manage window visibility.
- Updated `main-channels.ts` to define the new channel and its request/response structure.
- Integrated the `WINDOW_SHOW` channel in `main.ts` to handle window display requests.
- Modified the `showUpgradeDialog` function in `upgrade-dialog.tsx` to call the new channel when the dialog is opened, enhancing user experience.
2026-10-02 09:47:21 +02:00
konstantin-paulus
b59fdff188 Enhance config write handling and claim management
- Introduced a mechanism to manage overlapping config writes, ensuring that only the last write is retained while previous writes are settled.
- Added a claims system to track writes and prevent unnecessary updates, improving performance during rapid changes.
- Updated tests to verify the behavior of config writes and outside edits, ensuring accurate reporting and state management.
2026-10-02 09:10:24 +02:00
konstantin-paulus
f1f6d87862 Add prePackage hook for Windows signing validation
- Implemented a prePackage hook in the Forge configuration to check for necessary environment variables for Windows signing.
- Updated the windowsSign function to return undefined instead of throwing an error if required variables are missing, improving error handling during the signing process.
2026-10-01 10:38:37 +02:00
konstantin-paulus
ce9724df2c Update package versions to 0.209.0 across all modules
- Incremented version numbers in `package.json` and `package-lock.json` for the main editor, CLI, desktop, and web applications to reflect the new release.
2026-10-01 10:02:22 +02:00
konstantin-paulus
dd961f9ec2 Add tray menu icons and enhance theme support
- Introduced new tray menu icons for various application states (open, hide, ready, busy, project, quit) to improve user experience.
- Enhanced the `AppTray` class to support dynamic icon updates based on the current theme (light/dark).
- Updated the context menu to include icons alongside labels for better visual representation.
- Added a new script command in `package.json` for generating tray menu icons.
2026-10-01 09:23:27 +02:00
konstantin-paulus
d2f0ecb1de Enhance CLI and Desktop Functionality
- Updated the CLI to include a new `window` command for managing the application window state (show/hide).
- Improved the background launch logic to prevent launching the app if it is already running in the background.
- Added new tray icons for different application states (busy, idle, window) to enhance user experience.
- Refactored the `agent-chat` module to improve the handling of the agent chat endpoint and its lifecycle.
- Introduced a `WindowHost` class to manage the main window's lifecycle, ensuring it only exists when needed and integrates with the tray functionality.
- Removed the deprecated `headless` module and adjusted related logic to streamline the application flow.
- Updated the DAPI server to support window management, allowing tools to interact with the main window effectively.
2026-10-01 09:11:07 +02:00
konstantin-paulus
f7f6ee02a3 Update package versions to 0.208.0 across all modules
- Incremented version numbers in `package.json` and `package-lock.json` for the main editor, CLI, desktop, and web applications to reflect the new release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 12:47:39 +02:00
konstantin-paulus
fc63b73214 Add Google Fonts Support and Enhance Font Picker Functionality
- Introduced new options for the `fonts` command to filter by provider and popular fonts, enhancing user experience in font selection.
- Updated the documentation to reflect the inclusion of Google Fonts and local fonts, clarifying how to access and utilize them in projects.
- Implemented a new `FontDropdown` component in the web inspector for improved font selection, allowing users to choose from popular and Google Fonts seamlessly.
- Refactored existing components to integrate the new font selection logic, ensuring consistency across the application.
2026-09-30 11:57:25 +02:00
konstantin-paulus
8c5529eacf Implement Background Track Handling in Media Segment Tool
- Enhanced the `present` function to support background track processing in the `media_segment` tool, allowing for real-time tracking and reporting of mask states.
- Introduced a new `presentContext` function to manage the output of background tracks, including their progress and contact sheets.
- Updated the `context` tool to report the status of ongoing background tracks, including their state and associated images.
- Modified the `media_segment` tool to return tracking states and paths, improving integration with the `<mask>` component in the editor.
- Enhanced documentation to clarify the new behavior and usage of background tracks in the context of media segmentation.
2026-09-29 01:29:31 +02:00
konstantin-paulus
77f7513960 Update package versions to 0.207.0 across all modules
- Incremented version numbers in `package.json` and `package-lock.json` for the main editor, CLI, desktop, web applications, and JSX package to reflect the new release.
- Ensured consistency in versioning across all related packages to maintain compatibility.
2026-09-29 00:08:50 +02:00
konstantin-paulus
ae33eabe52 Enhance Text Editing Functionality in JSX Elements
- Added tests to verify that text edits preserve associated paint elements and only replace the text content within JSX elements.
- Updated the `setText` function to ensure that only the text is replaced while retaining other child elements, such as paint and comments.
- Improved the logic for identifying which parts of an element's children are considered as text, enhancing the accuracy of text replacements.
- Enhanced documentation to clarify the behavior of text replacements in JSX structures.
2026-09-28 23:22:22 +02:00
konstantin-paulus
67e783e5c8 Add Media Segment Tool for Object Tracking in Video
- Introduced the `media_segment` tool to segment objects in video footage using SAM 2.1, allowing users to track objects and generate mask files.
- Implemented input validation for prompts, ensuring at least one point or a bounding box is provided for segmentation.
- Enhanced the output structure to include mask paths and tracking details, improving integration with the `<mask>` component in the editor.
- Added comprehensive documentation for the new tool, detailing usage, input parameters, and expected outputs.
- Updated related components and tests to support the new functionality, ensuring robust performance and user experience.
2026-09-28 15:35:40 +02:00
konstantin-paulus
2a3632aad5 Remove Windows support implementation plan document
- Deleted the `WINDOWS.md` file, which contained the implementation plan for Windows support in the desktop application.
- This document outlined goals, design decisions, and stages for achieving feature parity with macOS, but is no longer needed as the project progresses.
2026-09-23 15:49:32 +02:00
konstantin-paulus
2f05fbea8f Refactor CLI installation and status handling to support diffusion command
- Updated the CLI installation logic to use `diffusion` instead of `dapi`, including changes to link paths and installation scripts for macOS.
- Enhanced the status checking functions to reflect the new command structure, ensuring accurate detection of installed links.
- Adjusted comments and documentation throughout the codebase to improve clarity regarding the `diffusion` command and its aliases.
- Ensured backward compatibility by maintaining `dapi` as an alias where necessary.
2026-09-23 15:31:40 +02:00
konstantin-paulus
7a9393d4e2 Refactor CLI command references from dapi to diffusion in source files
- Updated all instances of the CLI command from `dapi` to `diffusion` in the desktop and web applications for consistency.
- Adjusted related comments and documentation to reflect the new command name, improving clarity for users and developers.
- Ensured that the changes are applied across relevant files, including configuration and dashboard components.
2026-09-23 15:21:24 +02:00
konstantin-paulus
943912f247 Add OpenCode support in MCP configuration
- Introduced OpenCode as a new agent in the MCP configuration, updating the `ServerEntry` type to include boolean values.
- Enhanced the `agentTarget` function to accommodate OpenCode's specific entry format.
- Updated tests to verify OpenCode's integration and ensure proper handling of its configuration settings.
- Added OpenCode's icon to the agent icons mapping in the web application.
2026-09-23 15:05:22 +02:00
konstantin-paulus
1539fbc2e9 Refactor CLI command names from dapi to diffusion across documentation and codebase
- Updated all instances of the CLI command from `dapi` to `diffusion` in README, documentation, and source files for consistency.
- Adjusted related scripts and examples to reflect the new command name, enhancing clarity for users and developers.
- Ensured backward compatibility by maintaining `dapi` as an alias where necessary.
2026-09-23 14:49:01 +02:00
konstantin-paulus
baeaad6b0a Update package versions to 0.206.0 across all modules
- Bumped version number from 0.205.2 to 0.206.0 in package.json and package-lock.json for the editor, CLI, desktop, and web applications, ensuring consistency across the project.
2026-09-23 14:37:21 +02:00
konstantin-paulus
dc8f95eba7 Update installation spinner asset and adjust background colors in win-assets.py
- Replaced the installation spinner GIF with an updated version to enhance the installation UI.
- Modified background and track colors in the `win-assets.py` script for improved visual consistency during the installation process.
2026-09-22 15:32:41 +02:00
konstantin-paulus
bdf04a858e Add Windows-specific assets and update build scripts
- Introduced `assets/icon-win.png` for a Windows-optimized application icon.
- Added `assets/install-spinner.gif` for a custom installation spinner, enhancing the user experience during installation.
- Replaced the previous `make-ico.sh` script with a new `win-assets.py` script to generate both the icon and spinner assets, streamlining the asset generation process.
- Updated `package.json` to include new npm scripts for generating Windows assets, improving build automation.
2026-09-22 15:26:26 +02:00
konstantin-paulus
3beb859f31 Enhance Windows build process in forge.config.ts
- Added a preMake hook to ensure the presence of 7zip binaries for Windows builds.
- Introduced the ensure7zip function to copy necessary 7zip files if they are missing, improving the Windows signing process.
2026-09-22 15:04:49 +02:00
konstantin-paulus
39e65953ea Add description to MakerSquirrel configuration in forge.config.ts 2026-09-22 14:55:05 +02:00
konstantin-paulus
3198fbade4 Update README and enhance Windows signing process
- Revised the README to include download options for both macOS and Windows, improving clarity for users.
- Enhanced the `release.yml` workflow to include a new `publish-windows` job for signing and publishing Windows builds using Azure Artifact Signing.
- Updated `forge.config.ts` to implement Windows signing configuration, ensuring all executables and packages are properly signed.
- Improved the desktop app download functionality to support both macOS and Windows, providing a better user experience across platforms.
2026-09-22 14:28:29 +02:00
konstantin-paulus
98251a55cd Update Windows documentation and enhance DAPI functionality
- Revised `WINDOWS.md` to reflect the successful execution of various DAPI commands on Windows, including checks for drag, double-click, scaling, theme switch, and fullscreen functionality.
- Updated the status of the CLI installation process on Windows, confirming the dev path runs and the packaged path awaits installer checks.
- Clarified the status of agent connections and session handling, ensuring accurate documentation of current capabilities and remaining tasks.
2026-09-22 10:53:01 +02:00
konstantin-paulus
82bc3fd294 Enhance Windows DAPI functionality and update environment handling
- Updated `WINDOWS.md` to reflect the successful execution of `dapi fonts` and `dapi screenshot` on Windows, including functionality from minimized windows.
- Improved temporary directory handling in `present.ts` to resolve issues with short names in the `%TEMP%` directory.
- Modified `knownDirs` in `env.ts` to ensure proper paths for local application data on Windows, enhancing compatibility for the agent chat feature.
2026-09-22 10:46:13 +02:00
konstantin-paulus
1324e365cf Update Windows documentation and enhance DAPI functionality
- Revised the `WINDOWS.md` file to reflect the current status of DAPI tools running on Windows, including successful connections and functionality checks.
- Implemented a new `tempDir` function in `present.ts` to ensure correct handling of temporary directories on Windows, improving compatibility.
- Updated the `store.ts` file to reorder preferred models for better prioritization in the agent chat feature.
2026-09-22 10:35:14 +02:00
konstantin-paulus
79765f55ad Enhance CLI linking process and update Windows documentation
- Updated the `dev-link.mjs` script to add the `dapi` command to the user PATH on Windows, improving accessibility for users.
- Revised the README to include instructions for running tests and clarified the linking process for the CLI.
- Enhanced the `WINDOWS.md` documentation to reflect the new user PATH entry functionality and its integration with the CLI installation process.
2026-09-22 09:54:37 +02:00
konstantin-paulus
2e1ccb14f9 Refactor CLI linking process and update documentation
- Replaced the `symlink:create` and `shim:create` scripts with a unified `link` script for creating a `dapi` command link on both macOS and Windows.
- Introduced a new `dev-link.mjs` script to handle the linking logic, ensuring the latest CLI build is accessible.
- Updated the README and various documentation files to reflect the new linking process and clarify installation instructions for the CLI.
- Removed the obsolete `dev-shim.mjs` script, streamlining the development workflow.
2026-09-22 09:37:31 +02:00
konstantin-paulus
4d4d2ebe39 Refactor Windows color mode handling and remove Mica implementation
- Simplified the color mode handling for Windows by removing the preference parameter from the `WINDOW_SET_COLOR_MODE` channel, ensuring a more straightforward integration with the title bar overlay.
- Eliminated the Mica implementation due to inconsistencies in visual appearance compared to macOS, reverting to a solid window style.
- Updated the `PreferencesMenu` to retrieve stored theme preferences more robustly, enhancing user experience.
- Removed unused backdrop-related code and CSS, streamlining the application and improving maintainability.
2026-09-21 16:59:10 +02:00
konstantin-paulus
a34c00d46a Enhance Windows Mica integration and sidebar styling
- Updated the Windows Mica implementation to improve color consistency between dark and light modes, adjusting sidebar transparency for better visual coherence.
- Modified CSS to define sidebar colors based on the Mica backdrop, ensuring appropriate alpha levels for dark mode.
- Refined the Windows title bar component to eliminate its background, allowing the sidebar color to show through, enhancing the overall aesthetic.
2026-09-21 16:53:15 +02:00
konstantin-paulus
7145e692be Implement Windows Mica support and enhance color mode handling
- Introduced Mica support for Windows 11, allowing the app to utilize a transparent backdrop that follows the system theme.
- Updated the color mode handling to differentiate between the displayed mode and user preference, ensuring a consistent user experience.
- Enhanced the title bar overlay logic to accommodate Mica, improving visual integration with the Windows environment.
- Adjusted the preload and main channels to pass backdrop information, enabling transparent rendering in the web context.
- Refactored various components to ensure proper functionality and styling under the new backdrop conditions.
2026-09-21 16:47:22 +02:00
konstantin-paulus
88b584f01b Update Windows overlay colors for improved UI consistency
- Adjusted the symbol colors in the Windows overlay to align with the sidebar's muted foreground, enhancing visual coherence across the application.
- Updated comments to clarify the design intent behind the Windows overlay and its color scheme.
2026-09-21 15:20:54 +02:00
konstantin-paulus
1bcbea6093 Remove whoami command and related references from the CLI and documentation
- Deleted the `whoami` command from the CLI, including its associated action and description.
- Updated various documentation files to remove references to the `whoami` tool, ensuring consistency across the project.
- Adjusted related test cases and API handlers to reflect the removal of the `whoami` functionality.
2026-09-20 20:52:52 +02:00
konstantin-paulus
307a6a4a76 Implement Windows CLI shim and update installation process
- Added a new `dev-shim.mjs` script for creating and removing a Windows shim for the `dapi` command, ensuring it points to the correct executable.
- Updated the `package.json` to include new npm scripts for creating and removing the shim.
- Refactored the CLI installation logic to support Windows, including the addition of `refreshCliShim` to rewrite the shim on app updates.
- Enhanced the `mcp-config` to accommodate Windows-specific command handling for the `dapi` binary.
- Introduced tests for the Windows CLI installation and cloud sync functionalities to ensure reliability across platforms.
2026-09-20 15:28:14 +02:00