494 Commits

Author SHA1 Message Date
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
371841b253 Implement file attachment handling in agent chat
- Added functionality to pick files from the system and handle dropped attachments in the chat composer.
- Introduced a new `pickAttachments` function to facilitate file selection, enhancing user experience.
- Updated the composer and home view to integrate the new attachment handling, allowing users to add files easily.
- Refactored attachment merging logic to streamline the process of managing attachments in the chat interface.
2026-10-02 09:26:14 +02:00
konstantin-paulus
f2d6f553b3 Refine alt-drag interaction handling in DocumentEditor
- Updated the alt-drag functionality to clarify that it duplicates elements before moving them, enhancing the user experience.
- Introduced a call to `transformSystem` during dragstart when alt is pressed and duplicates are present, ensuring proper state management during interactions.
- Improved documentation to reflect these changes for better understanding of the interaction model.
2026-10-02 09:19:01 +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
11995532b6 Refactor Export Progress Component and Enhance Cancel Functionality
- Updated the `ExportProgress` component to include an alert dialog for confirming export cancellation, improving user experience during export operations.
- Removed unnecessary props from the component, simplifying its interface and enhancing maintainability.
- Adjusted the rendering logic to display audio or video export status based on the `audioOnly` prop.
- Modified the `ExportProvider` to pass the new `audioOnly` state, ensuring accurate progress reporting.
- Streamlined the `RenderOverlayState` to focus on essential properties, enhancing clarity in the export process.
2026-09-30 12:29:16 +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
b06d5b21c7 Remove Tracking Settings Component from Inspector
- Deleted the `TrackingSettings` component and its associated logic from the inspector, streamlining the sidebar functionality.
- Updated the inspector to no longer display tracking settings for shape targets, improving clarity and focus on relevant settings.
2026-09-30 10:49:14 +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
22d32d9c22 Enhance Support for Mask Assets Across Components
- Updated various components to recognize and handle mask assets, including `getLayerIcon`, `insertAsset`, and `resolveStill`.
- Modified rendering and styling logic in the timeline to accommodate mask types, ensuring consistent behavior with other asset types.
- Enhanced documentation to clarify the handling of mask assets in the timeline and related functionalities.
2026-09-29 01:00:11 +02:00
konstantin-paulus
a6e27ef3f2 Implement Clip Path Tool and Enhance Toolbar Functionality
- Added the `ClipPathBar` component to the toolbar for managing clip paths.
- Updated the toolbar logic to clear the clip path target when switching tools.
- Refactored the toolbar's tool selection to use a `Switch` statement for better readability.
- Integrated clip path functionality into the inspector, allowing users to begin clip paths directly from the UI.
- Updated cursor settings to reflect the new clip path tool type.
- Enhanced keyboard shortcuts to support clip path actions, improving user interaction.
2026-09-29 00:42:45 +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
794c5d8a83 Enhance Asset Thumbnail Component to Support Mask Assets
- Updated the `AssetThumbnail` component to recognize and handle mask assets by introducing a new `hasPicture` function.
- Modified the thumbnail rendering logic to include masks alongside images and videos, improving asset representation.
- Enhanced documentation to clarify the types of assets supported for thumbnail generation.
2026-09-28 23:31:43 +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
a2ff21575a Refactor Appearance Settings and Source Rows Integration
- Updated the `AppearanceSettings` component to include `SourceRows`, which displays source information only when the node has an intrinsic paint or fill.
- Removed the deprecated `SourceSettings` component from the `Inspector`, streamlining the inspector's structure.
- Enhanced the `SourceRows` component to manage media and solid fill display logic, improving clarity and usability in the appearance panel.
- Adjusted documentation and comments for better understanding of the source rendering logic.
2026-09-28 23:03:08 +02:00
konstantin-paulus
b195be7d01 Enhance Text Rendering and Inspector Logic
- Updated the `DrawOverlay` component to include a `SolidPaint` element within the `Text` component, allowing for customizable text color.
- Modified the `Inspector` component to expand the target check for text elements, improving the settings display for text-related shapes.
- Refactored the `SolidFillRow` logic to dynamically determine the property to edit based on the node type, enhancing flexibility in color management.
2026-09-28 22:00:34 +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
16fe0cbec0 Update DropdownMenuContent and SelectContent for Improved Height Management
- Modified the `DropdownMenuContent` in `EffectsInspector` to include a maximum height constraint, enhancing usability by preventing overflow.
- Updated the `SelectContent` in `ObjectMaskInspector` to similarly enforce a maximum height, ensuring a consistent and user-friendly interface across components.
2026-09-28 14:39:20 +02:00
konstantin-paulus
95b9531719 Implement Object Mask Tool Integration and Refactor Logic
- Introduced the `useObjectMaskTool` hook for reactive management of the object mask tool's state, including mode, operation, and brush radius.
- Refactored the `ObjectMaskBar` and related components to utilize the new hook, enhancing clarity and maintainability.
- Updated interaction logic to streamline the handling of object mask operations, ensuring consistent behavior across the application.
- Improved documentation and code organization to support the new structure and enhance developer understanding.
2026-09-28 14:35:08 +02:00
konstantin-paulus
7e788582a4 Enhance Object Mask Bar and Interaction Logic
- Updated the `OpMenu` component to conditionally disable based on the object mask mode, improving user experience by preventing invalid operations.
- Refined the `handleObjectMaskInteraction` function to clarify the brush's behavior, ensuring it only adds to the mask while points can subtract.
- Adjusted the brush outline drawing logic to simplify the visual feedback during interactions, enhancing clarity for users.
- Improved documentation for better understanding of the interaction mechanics and brush functionality.
2026-09-28 14:13:03 +02:00
konstantin-paulus
b603f8b1da Refactor Object Mask Bar and Enhance Progress Display
- Updated the `ObjectMaskBar` to improve the tracking progress display, utilizing a new `FixedWidth` component for better alignment and readability.
- Removed deprecated destination logic from the tooltip content, streamlining the user interface.
- Introduced `ModelProgress` component to show model loading progress alongside its label, enhancing user feedback during operations.
- Added `resetObjectMaskTools` function to reset object mask settings when the tool is put down, improving user experience and consistency.
- Improved overall code organization and documentation for better maintainability.
2026-09-28 13:04:51 +02:00
konstantin-paulus
b528d8844c Enhance Object Mask Bar with Hover Functionality and Improved Documentation
- Introduced hover functionality in the `ObjectMaskBar` to display model-specific hints, enhancing user interaction.
- Updated model notes for clarity on when to use each model, improving user guidance.
- Refactored the `ModelMenu` to integrate the new hover state and tooltip-like hints, streamlining the user experience.
- Improved overall code organization and documentation for better maintainability and clarity.
2026-09-28 12:35:46 +02:00
konstantin-paulus
3f38c5eb60 Enhance Object Mask Tool Functionality and UI Integration
- Integrated the `ObjectMaskBar` into the `Toolbar`, allowing for dynamic display based on the selected tool.
- Updated the `Inspector` component to remove the deprecated `ObjectMaskPanel`, streamlining the interface.
- Refactored shortcut handling to include new actions for the object mask tool, improving user interaction.
- Enhanced object mask interaction logic to support dynamic operation modes (add/subtract) based on user input.
- Improved overall code organization and documentation for better clarity and maintainability.
2026-09-28 12:27:37 +02:00
konstantin-paulus
caefe16d67 Refactor Object Mask Handling and Introduce useObjectMasks Hook
- Updated the `EffectsInspector`, `ObjectMaskInspector`, and `TrackingSettings` components to utilize the new `useObjectMasks` hook for improved mask management.
- Removed deprecated functions and streamlined mask retrieval logic, enhancing performance and readability.
- Adjusted rendering conditions to reflect the new structure, ensuring accurate display of footage and associated masks.
- Improved overall code organization and documentation to support the new mask handling approach.
2026-09-28 11:50:33 +02:00
konstantin-paulus
f40cadc07f Add Tracking Settings to Inspector Component
- Integrated the new `TrackingSettings` component into the `Inspector`, allowing users to manage tracking options for shapes.
- Updated the rendering logic to conditionally display `TrackingSettings` based on the selected target, enhancing user interaction and functionality.
- Improved the overall structure of the inspector to accommodate the new settings, ensuring a cohesive user experience across components.
2026-09-28 11:36:25 +02:00
konstantin-paulus
5d1d023ea0 Remove Object Mask SVG Icon and Update Toolbar References
- Deleted the `tool.object-mask.svg` file to streamline icon assets.
- Updated the `Toolbar` component to reference the new icon name for the Object Mask tool, ensuring consistency in the UI.
- Refactored the `EffectsInspector` and `ObjectMaskInspector` components to improve mask handling and UI interactions, enhancing overall user experience.
2026-09-28 10:42:36 +02:00
konstantin-paulus
c7eb628ac0 Refactor Object Mask Commit Logic and Cleanup
- Removed the unused `slug` function from the `copy.tsx` file to streamline the codebase.
- Updated the `commit.tsx` file to enhance the naming convention for stored mask files, ensuring they follow the format `Tracking <n>.mask` within the appropriate folder.
- Improved documentation to clarify the structure of mask file storage and the logic for generating unique tracking names.
- Refactored the asset storage logic to utilize a more concise approach for folder and name generation, enhancing code readability.
2026-09-28 10:17:44 +02:00
konstantin-paulus
4d5d9fc780 Refactor Mask Terminology and Functionality
- Updated references from "matte" to "mask" across various components and files to align with new terminology.
- Adjusted related logic in the `EffectsInspector`, `ObjectMaskInspector`, and other components to ensure consistent behavior with the updated mask handling.
- Refactored caching and serialization processes to accommodate the new mask structure, enhancing overall functionality.
- Improved documentation and type definitions to reflect the transition from mattes to masks, ensuring clarity for developers.
2026-09-28 10:14:19 +02:00
konstantin-paulus
cde1cc1b53 Refactor Mask Functionality to Clip Path
- Renamed mask-related components and functions to reflect the new terminology of "clip path" throughout the codebase.
- Introduced a new `ClipPathsSettings` component for managing clip paths in the inspector.
- Updated the `Inspector` to integrate clip path settings and adjusted related logic to accommodate the new structure.
- Enhanced the `ObjectMenu` to change "Set mask target" to "Set clip path target" for clarity.
- Refactored various utility functions and traits to replace mask references with clip path equivalents, ensuring consistent behavior across the application.
- Updated documentation and type definitions to reflect the transition from masks to clip paths, improving clarity for developers.
2026-09-28 09:56:30 +02:00
konstantin-paulus
b7866279fa Implement Object Mask Tool Enhancements and UI Integration
- Added new `ObjectMaskPanel` component to manage object masks within the effects inspector.
- Introduced functionality for adding and managing object masks, including dropdown menus for selecting masks and controls for editing.
- Enhanced the `EffectsInspector` to support object mask interactions, including displaying existing masks and allowing users to track new objects.
- Implemented brush functionality for painting masks directly onto video clips, improving user experience for object segmentation.
- Updated cursor styles for the object mask tool to provide clearer visual feedback during interactions.
- Refactored related components and utilities to support the new object mask features, ensuring seamless integration with existing functionality.
2026-09-28 09:41:49 +02:00
konstantin-paulus
e63f1c7a0f Implement Object Mask Tool and Enhance UI Components
- Added the `Object Mask` tool to the toolbar and sidebar menu, allowing users to select and utilize this new functionality.
- Introduced a new SVG icon for the `Object Mask` tool to improve visual representation in the UI.
- Updated the `Inspector` component to display the `ObjectMaskPanel` when the `Object Mask` tool is selected.
- Enhanced the `Effect` options to include `opacity`, allowing for more refined control over visual effects.
- Updated documentation to reflect the new `<mask>` element and its properties, improving clarity for developers.
- Refactored related components to ensure seamless integration of the new tool and its functionalities.
2026-09-26 20:40:12 +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