6 Commits

Author SHA1 Message Date
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
5a229bd7a9 Update ClaudeSession to disallow specific tools and modify Codex spawn arguments
- Added `disallowedTools` property to `ClaudeSession` to restrict usage of "Agent" and "Task".
- Updated the arguments in `spawnAppServer` function in `codex.ts` to disable multi-agent features, enhancing configuration control.
2026-09-14 21:01:21 +02:00
konstantin-paulus
df9d7d9f84 Remove fetch command and related functionality from the application
- Deleted the `fetch` command from the CLI and associated handlers, streamlining the toolset.
- Updated documentation to reflect the removal of the `fetch` command, emphasizing the use of `yt-dlp` directly for downloading videos.
- Adjusted various components and types to remove references to `fetch`, ensuring consistency across the codebase.
- Enhanced error handling to clarify the absence of the `fetch` functionality.
2026-09-13 16:08:07 +02:00
konstantin-paulus
04f388ff33 Add project initialization tests and refactor project handling logic
- Introduced a new test suite in `projects.init.test.ts` to validate the behavior of the `initProject` function, ensuring it correctly initializes new projects and handles existing project directories.
- Refactored the `initProject` function in `projects.ts` to streamline project setup, including improved handling of entry files and package.json records.
- Enhanced error handling for invalid paths in the `initProject` function, ensuring only absolute paths are accepted.
- Updated the `scaffold` function to utilize the new `ensureRecord` function, improving code clarity and maintainability.
- Added tests for various scenarios, including creating new projects, preserving existing project data, and handling invalid inputs, to ensure robust project management functionality.
2026-09-13 15:53:07 +02:00
konstantin-paulus
c893dd6537 Enhance tool item functionality to support image display
- Updated the `ToolItem` component to include support for displaying images associated with tool results.
- Modified the `expandable` logic to account for images in addition to existing detail and output properties.
- Introduced a new `collectResult` function to process tool result parts, allowing for the inclusion of images while managing output text.
- Added tests for the `collectResult` function to ensure proper handling of text and image parts, including limits on the number of images and text truncation.
2026-09-12 00:41:57 +02:00
konstantin-paulus
db2a3bd1f3 Implement agent chat functionality in desktop and web applications
- Added `agent-chat.ts` to manage the agent chat host process, including spawning and communication with the host.
- Updated `main.ts` and `main-channels.ts` to integrate agent chat endpoint handling and lifecycle management.
- Introduced new components for the agent chat interface, including `ChatPanel`, `Composer`, and `HeaderActions`, enhancing user interaction.
- Implemented file attachment handling in the chat with `attachments.tsx` and related functionality.
- Updated package dependencies to include `@diffusionstudio/agent-chat` and related libraries for improved chat capabilities.
- Refactored project deletion logic to ensure associated chats are properly managed.
2026-09-11 18:31:56 +02:00