21 Commits

Author SHA1 Message Date
konstantin-paulus
7d9d2330a5 Enhance app launch functionality and update route key
- Modified the `launchApp` function in `cli-client.ts` to ensure the environment is correctly passed when launching the app, preventing issues with Electron running as Node.
- Updated the `ROUTE_KEY` in `persist-route.tsx` to a new versioned key, improving route persistence management.
2026-09-13 21:27:24 +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
7a95fada7a Refactor MCP integration and update dependencies
- Removed the `@modelcontextprotocol/sdk` dependency from `package-lock.json` and `package.json`.
- Updated the CLI client to connect via Streamable HTTP instead of a socket, enhancing communication with the MCP server.
- Simplified the `ping` and `call` functions in `cli-client.ts` to utilize the new connection method.
- Removed the `mcp-proxy.ts` file as it is no longer needed with the new HTTP integration.
- Updated documentation to reflect changes in MCP server access and removed references to the socket transport.
- Cleaned up unused imports and refactored related code for improved clarity and maintainability.
2026-09-12 09:18:46 +02:00
konstantin-paulus
5c0e109cd5 Refactor CLI tool input handling and update documentation
- Replaced the `time` argument with `times` in the CLI commands for consistency across tools.
- Updated the `capture` and `media_grab` tools to handle multiple timestamps, improving flexibility in frame extraction.
- Refactored input validation to utilize `zod` for better error handling and user feedback.
- Removed the `help.ts` module as its functionality has been integrated into the main CLI structure.
- Updated documentation to reflect changes in command syntax and input handling, ensuring clarity for users.
2026-09-09 11:37:43 +02:00
konstantin-paulus
a7039fe8b2 Enhance MCP server integration and add help functionality
- Added `zod` as a dependency in package-lock.json and apps/cli/package.json for input validation.
- Introduced new help.ts module to provide descriptions and validation for CLI commands, ensuring consistency with the app's tool catalog.
- Refactored cli-client.ts to improve timeout handling for tool calls, enhancing error management.
- Created mcp-proxy.ts to facilitate communication between agents and the app's MCP server.
- Updated index.ts to streamline command execution and improve error handling.
- Implemented mcp-config.ts and mcp-install.ts for managing MCP server configurations across different agents.
- Enhanced desktop application to support MCP registration from the menu, improving user experience.
2026-09-08 12:17:03 +02:00
konstantin-paulus
059e1f6e76 Update dependencies and refactor CLI integration
- Added @modelcontextprotocol/sdk as a dependency in package-lock.json and apps/cli/package.json.
- Removed unused @types/ws dependency from package-lock.json and apps/cli/package.json.
- Refactored cli-client.ts to utilize the new SDK for tool interactions, enhancing modularity and performance.
- Updated media handling functions in index.ts to streamline output handling and improve clarity.
- Deleted obsolete protocol.ts and ytdlp.ts files, consolidating functionality within the new SDK.
- Introduced edit-types.ts to define types for source edits, improving type safety and maintainability in the editing process.
- Updated package.json files to include vitest for testing support in both CLI and desktop applications.
2026-09-03 15:53:35 +02:00
konstantin-paulus
905d649141 Refactor CLI and DAPI integration
- Removed @trpc/client and @trpc/server dependencies from package-lock.json and apps/cli/package.json.
- Updated TypeScript configuration in apps/cli/tsconfig.json to simplify compiler options.
- Refactored cli-client.ts to replace TRPC client calls with direct calls to the DAPI, enhancing modularity and performance.
- Adjusted media handling functions in index.ts to utilize the new call method for better clarity and maintainability.
- Cleaned up protocol.ts by introducing encoding and decoding functions for replies, improving data handling consistency.
2026-09-03 10:04:02 +02:00
konstantin-paulus
4d94b87881 Integrate @diffusionstudio/dapi into CLI and desktop applications
- Added @diffusionstudio/dapi as a dependency in package-lock.json, apps/cli/package.json, apps/desktop/package.json, and apps/web/package.json.
- Refactored imports in CLI and desktop source files to utilize types and constants from @diffusionstudio/dapi, enhancing code modularity and maintainability.
- Removed the cli-channels.ts file as its functionality is now encapsulated within the new dapi package.
- Introduced a new MCP server design proposal in docs/mcp-server.md, outlining the transition to a unified API for tool interactions.
2026-09-03 09:40:50 +02:00
konstantin-paulus
b06d72388e Add export functionality to CLI with configurable settings
- Introduced new export command in the CLI to encode scenes into video files, utilizing settings from the project's package.json.
- Added types for export formats and settings, including video and audio configurations.
- Implemented exportScene function to handle the export process and output results.
- Updated README.md to include documentation for the new export command.
2026-09-01 10:40:24 +02:00
konstantin-paulus
3099d1c122 Refactor asset reference handling and improve media command descriptions
- Updated the `AssetRef` type to only accept paths, simplifying asset reference management.
- Refactored media command descriptions to clarify that local files and URLs can be used without an open project, while library paths require one.
- Enhanced error handling in media commands to specify when paths cannot be resolved, improving user feedback.
- Removed the deprecated `ShellApi` component and integrated its functionality into the new `EditorApi` for better organization and clarity.
2026-08-25 10:27:25 +02:00
konstantin-paulus
66a2ef085a Refactor editor API to use new DAPI context
Updated imports in cli-client and sidebar-left components to reference the new DAPI context instead of the deprecated editor-api. Removed the editor-api module and its associated files, streamlining the codebase and improving maintainability. This change enhances the overall architecture by consolidating API interactions under the new DAPI structure.
2026-08-14 13:40:44 +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
dbd1a7393b Refactor Electron context to use Editor API and enhance type safety
Replace the Electron context with a new Editor API context, improving type safety and structure across the application. Update various components to utilize the new context, including sidebar and project headers, while removing the outdated Electron provider and router. Introduce new API handlers for assets, folders, and project management, streamlining interactions and enhancing overall performance. This update lays the groundwork for future enhancements and better integration with the editor's functionality.
2026-07-09 12:45:23 +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
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
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
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