- 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.
- Added a new `test` script to the `scripts` section of package.json, enabling testing across workspaces when present.
- Ensured consistency in script execution by maintaining the existing `check` script functionality.
- Updated the `createNewProject` function to simplify project creation flow by removing unnecessary parameters and handling folder selection directly.
- Modified the `DashboardPage` component to replace the project creation logic with folder picking functionality, enhancing user experience.
- Removed unused imports and streamlined interaction handling in the `interactions.ts` file, improving code clarity and maintainability.
- Adjusted the `DocumentEditor` class to reset asset selection when a new selection is made, ensuring consistent state management.
- Introduced a new constant `PROMPT_MAX_HEIGHT_PX` to limit the maximum height of the textarea.
- Implemented a height adjustment mechanism for the textarea that dynamically sets its height based on content, ensuring it does not exceed the defined maximum height.
- Updated the textarea class to allow for vertical scrolling when content exceeds the visible area, enhancing user experience.
- Added `playhead` property to the scene, allowing the editor to track the playhead's position when the project is opened, improving playback accuracy.
- Introduced `editPlayhead` function to manage playhead updates, ensuring the file reflects the playhead's position during scrubbing and timeline interactions.
- Updated documentation to clarify the role of the `playhead` property in the scene, emphasizing its importance for project state management.
- Introduced a new constant `PREFERRED_MODELS` to prioritize model families during selection.
- Updated the `currentModel` function to first check for remembered models, then preferred models, and finally fallback to the first ready default, improving the model selection process for users.
- 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.
- Enhanced the `scene.md` documentation to clarify the `workarea` property and its implications for playback and export.
- Revised the `stage.md` documentation to provide clearer guidance on the `camera` property, emphasizing the importance of setting a camera for non-standard compositions.
- Updated the default camera settings in the `world.ts` and `types.ts` files to better frame typical project dimensions, ensuring a more intuitive starting point for users.
- Deleted the `skills-cleanup.ts` file and removed the `pruneLegacySkills` function from `main.ts`, streamlining the codebase by eliminating unused features related to legacy skills management.
- Updated the main application logic to reflect the removal of the legacy skills pruning process.
- Deleted the old `agent-cursor.svg` and `antigravity.svg` icons, along with several other outdated icons.
- Introduced new SVG icons including `agent.claude-code.svg`, `agent.codex.svg`, `agent.cursor.svg`, `agent.devin-windsurf.svg`, `agent.google-antigravity.svg`, `agent.google-gemini-cli.svg`, `agent.vscode-copilot.svg`, and `dapi-cli.svg`.
- Updated the dashboard component to utilize new icons and improved the layout for better user experience.
- Refactored the `mcp-view.tsx` to enhance the handling of agent connections with a new toggle switch component.
- 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.
- 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.
- Removed the `PROJECTS_LIST` channel and associated `listProjects` function, streamlining project retrieval to focus on direct project records.
- Updated the `MainRequestMap` to reflect the removal of the `PROJECTS_LIST` channel.
- Introduced `openProjectFromList` function to handle project opening logic, ensuring accurate project state management.
- Adjusted various components to utilize the new project handling methods, enhancing overall project management and user experience.
- Bumped version numbers in `package.json` and `package-lock.json` for the main editor and all related applications (CLI, desktop, web, and JSX) to 0.205.0, ensuring consistency across the project.
- Introduced a new `PROJECTS_SCAN` channel in `main-channels.ts` to facilitate scanning for project folders.
- Implemented the `scanProjects` function in `projects.ts` to retrieve direct child directories of a specified root that could hold projects.
- Updated the main process in `main.ts` to handle requests for scanning projects.
- Adjusted the `DashboardProjectsFolderBar` component to improve the display of the selected projects folder.
- Refactored project root handling to utilize localStorage for better performance and user experience.
- Introduced a new `createNewProject` function to centralize project creation logic, improving code reuse and clarity.
- Removed desktop-specific checks from project creation in `DashboardHomeView` and `DashboardProjectsView`, simplifying the user experience.
- Updated the `DashboardPage` to handle keyboard shortcuts for creating new projects, enhancing accessibility and user interaction.
- Improved error handling during project creation to provide clearer feedback to users.
- Updated the `ProjectInfo` documentation to clarify project folder definitions.
- Changed request parameters in `MainRequestMap` for `PROJECTS_LIST` and `PROJECTS_RESOLVE` to use `dirs` and `dir` respectively, enhancing clarity and consistency.
- Refactored the `listProjects` function to accept an array of directories instead of a single root, improving project listing logic.
- Adjusted the `resolveProject` function to streamline project resolution based on directory input.
- Updated various components to reflect changes in project data handling, ensuring compatibility with the new structure.
- Added `runtime` to `.gitignore` to prevent unnecessary file tracking.
- Updated `forge.config.ts` to include `runtime` in the `extraResource` array for proper resource staging.
- Modified `package.json` scripts to include a new `stage:runtime` command, ensuring the runtime is staged alongside other resources during build processes.
- Adjusted `projects.ts` to load modules from the new `runtime` directory, enhancing the application's resource management.
- Added a `class` prop to the `AttachmentTile` component for customizable styling.
- Updated the `composer.tsx` to apply a new class for better layout and spacing of attachment tiles, improving the overall user interface.
- Updated the README to clarify how the app's MCP server interacts with agents, emphasizing the guidance provided during sessions.
- Removed outdated comments and code related to skill directories in `skills-cleanup.ts`, streamlining the cleanup process.
- Simplified the `docs.test.ts` file by removing unnecessary tests and focusing on the core functionality of the instructions.
- Refactored the `docs.ts` file to improve the instructions function, ensuring it accurately reflects the current documentation structure and skill usage.
- Enhanced the `server.ts` file by removing the registration of prompts, as this functionality has been deprecated, and clarified the documentation structure in comments.
- Updated `INSTRUCTIONS.md` to provide clearer guidance on using skills and their corresponding documentation, improving user onboarding.
- Introduced a new `atomic.ts` module for atomic file writing, ensuring that files are written to temporary locations before being renamed to their final destination, preventing partial reads.
- Updated the `onWrite` callback in `SourceContext` to include the text being written, allowing watchers to differentiate between app writes and external changes.
- Refactored file writing logic in `edit.ts`, `projects.ts`, and `main.ts` to utilize the new atomic writing method, enhancing reliability during file operations.
- Added tests to verify the behavior of the new atomic writing functionality and its interaction with the file watcher.
- Improved project file handling to ensure that changes made by the app do not trigger unnecessary reloads in the watcher.
- Updated the `PromptInput` component to improve layout responsiveness by adjusting the maximum width.
- Refactored the `useMediaSelection` hook to streamline the selection of media nodes, introducing a new `resolve` function for better clarity.
- Enhanced the `useGenerationRecords` function to utilize the updated media selection logic, ensuring accurate source declarations.
- Added a new `sourceWidth` function in the `AssetThumbnail` component to optimize thumbnail sizing based on asset dimensions and display settings.
- Adjusted the `PartialAssetItem` component to improve icon sizing for better visual consistency.
- Updated the file writing logic in `main.ts` to ensure that generated asset folders are properly marked to prevent unwanted reloads during writes.
- Introduced detailed logging for model call procedures in `trpc.ts`, capturing input arguments and execution time for better debugging and monitoring.
- Simplified logging in `gen-ai.ts` by removing unnecessary details from generation logs.
- Enhanced asset management in `library.ts` by adding functionality to handle partial assets and ensuring unique paths for stored assets.
- Replaced the `useModifiers` hook with `useTransforms` to better reflect the new transform functionality.
- Updated components to utilize the new `useTransforms` hook, including `ActionBar` and `PromptInputActions`, improving the handling of transformations.
- Introduced new `TransformItem` component for managing transform actions in the UI.
- Refactored asset handling logic to accommodate the new transform types and ensure compatibility with existing features.
- Removed deprecated modifier-related code and documentation, streamlining the codebase and enhancing clarity.
- Updated documentation to reflect changes in transform functionality and usage examples.
- Updated the `Assets` component to include support for partial assets, allowing for better management of assets that are still generating.
- Introduced a new `PartialAssetItem` component to represent partial documents in the asset panel, providing options to retry or delete failed generations.
- Modified the `AssetInfoPanel` to display information about partial assets, including their status and error messages.
- Refactored the `useAssetSelection` hook to accommodate both assets and partial assets, improving the selection logic.
- Updated the `FolderItem` component to count partial assets alongside regular assets, enhancing folder statistics.
- Removed the `sourceErrorSystem` as part of the cleanup, streamlining error handling for asset generations.
- Added documentation updates to reflect changes in asset handling and the introduction of partial assets.
- Removed the `ldrs` package from `package.json` and `package-lock.json` to streamline dependencies.
- Added a new `activity.css` file to enhance the visual representation of agent chat activities.
- Updated components to utilize the new activity styles, improving the user experience during chat interactions.
- Refactored the `RunningIndicator` and `Transcript` components to align with the new styling and functionality.
- Added the `ldrs` package to `package.json` and `package-lock.json` for improved functionality.
- Updated the `Transcript` component to include a `waiting` prop, allowing for better handling of chat states.
- Integrated a `RunningIndicator` to visually represent ongoing chat processes when not waiting for user input.
- Introduced a new CLI command to serve the MCP server over stdio for agents unable to connect via URL.
- Updated the dashboard to include a dedicated MCP section, allowing users to manage agent connections and view MCP status.
- Enhanced the sidebar navigation to include a link to the MCP settings, improving user accessibility.
- Added new types and handlers for MCP-related requests in the main application logic.
- Updated the dashboard components to support displaying MCP-related information and actions.
- 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.
- 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.
- Introduced a visual cue for the "Tab" key using the Kbd component to enhance user experience.
- Implemented logic to set the prompt when the "Tab" key is pressed and the input field is empty.
- Updated aria attributes to improve accessibility and provide context for keyboard shortcuts.
- Updated the `media_transcribe` command to write transcripts to a JSON file, including an output option for specifying the file path.
- Implemented a new `presentTranscript` function to handle the writing of transcripts and return relevant metadata.
- Added filtering options for the `logs` command, including `since` and `contains`, to improve log retrieval capabilities.
- Introduced tests for the new logging features and updated documentation to reflect changes in the `media_transcribe` tool and logging options.
- Changed references from `knowledge` to `docs` in README and various files to reflect the new documentation structure.
- Updated `.gitignore` to exclude the `docs` directory instead of `knowledge`.
- Refactored `forge.config.ts` and `main.ts` to utilize the new `docs` directory for staging resources.
- Introduced `stage-docs.mjs` script to manage the staging of documentation files.
- Added new documentation files under `docs/`, including `INSTRUCTIONS.md`, brand guidelines, and design specifications.
- Removed outdated `knowledge` related tests and files to streamline the codebase.
- Updated icon sizes for better visibility in the HistoryMenu.
- Added conditional rendering for chat status messages based on the selected chat.
- Replaced RemoveButton with a button element for enhanced accessibility and interaction.
- Streamlined the layout and styling of chat items in the dropdown menu.
- 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.
- Deleted references to headless mode in `main-channels.ts`, `main.ts`, and `auth.tsx`, streamlining the codebase by eliminating unused features.
- Removed the `HeadlessIndicator` component from the web application, enhancing clarity and maintainability.
- Updated the login page to reflect the removal of headless mode, simplifying the authentication flow.
- Deleted `cli-install.ts`, `mcp-install.ts`, `mcp-config.ts`, and their associated tests to streamline the codebase and eliminate unused components.
- Removed references to CLI installation and MCP registration in `setup.ts`, `menu.ts`, and other related files, enhancing clarity and maintainability.
- Updated `stage-cli.mjs` to reflect changes in CLI handling, simplifying the staging process for the dapi CLI.
- Refactored `main.ts` to remove setup-related logic, focusing on essential application functionality.
- Enhanced skills cleanup logic to ensure legacy skills are properly managed without the removed components.
- Removed the title prop from `DashboardSidebarSection` in the `DashboardPage` component to simplify its usage.
- Enhanced the conditional rendering logic for the sidebar, maintaining a clean and user-friendly interface.
- Introduced a new `arrow-left.svg` icon for navigation purposes.
- Added `DashboardSidebarTopSpacer` component to manage spacing in the sidebar.
- Refactored `DashboardSidebarNav` and `DashboardSidebarSection` components for improved structure and clarity.
- Enhanced `DashboardPage` to conditionally render sidebar elements based on navigation state, improving user experience.
- Deleted `agent-detect.ts`, `agent-links.ts`, and their associated tests to streamline the codebase and eliminate unused components.
- Removed references to agent handling in `main.ts` and `main-channels.ts`, enhancing clarity and maintainability.
- Updated `DashboardHomeView` to utilize a fixed list of agents, simplifying the agent selection process and improving user experience.
- Removed unused agent setup logic and related imports, streamlining the component's functionality.
- Updated the submission logic to eliminate unnecessary agent checks, enhancing clarity and performance.
- Adjusted error messages for improved user feedback when opening projects, ensuring a better user experience.
- Deleted the `McpSetupBanner` component from the canvas, streamlining the UI by removing unnecessary elements.
- Updated `canvas.tsx` to reflect the removal of the `McpSetupBanner`, enhancing code clarity.
- Refactored `agents.ts` to remove unused types and functions related to MCP setup, improving maintainability.
- Enhanced the `DashboardHomeView` component with a new placeholder implementation for better user experience.
- Replaced `DashboardCardButton` with `DashboardProjectCard` in `home-view.tsx` for improved project representation.
- Removed unused imports and refactored event handling for project selection and deletion.
- Cleaned up `projects-view.tsx` by removing deprecated context menu code and unused signals related to project renaming, enhancing code clarity and maintainability.