- Add `usePlanPresentation` hook for managing plan presentation logic.
- Refactor `PlanHistoryDrawer` to support portal rendering and improve accessibility.
- Update `PlanWorkbench` to conditionally render based on plan state and integrate `PlanHistoryDrawer` with portal support.
- Enhance `PlanWorkbenchEmpty` and `PlanWorkbenchQuestion` for better user experience and styling.
- Introduce new translations for plan design features in English and Chinese.
- Add tests for plan presentation and task review functionalities.
- Create a browser test setup for plan layout regression testing.
- Updated dependency overrides in pnpm-workspace.yaml for hono, js-yaml, qs, and sharp to their latest compatible versions.
- Refactored ZIP extraction in installer.ts to use @electron-internal/extract-zip for better security and reliability, rejecting archive traversal and pre-existing symlinks.
- Added tests in dependencyPatches.test.ts to ensure correct handling of pre-existing symlinks and file overwrites during extraction.
- Updated vite.config.ts to include @electron-internal/extract-zip as an external dependency for runtime.
- Updated ConfigurationToolProvider to support new settings kind and validation for configuration_prepare.
- Improved error handling and response structure for configuration discovery, including partial results and warnings.
- Added new settings schema and validation logic for agent settings, including nested settings and scalar values.
- Introduced syncFromSettings method in ThemeManager to apply persisted changes without IPC loops.
- Enhanced persistent preference handling to restore defaults when keys are deleted.
- Added comprehensive tests for setting value parsing and configuration tool behavior.
- Added new extension services and types for managing MCP and Skill extensions.
- Introduced `ConfigurationToolProvider` for handling extension-related commands.
- Enhanced `McpClient` to integrate with the new extension credential broker.
- Implemented credential management in `McpSettings` for pending credentials.
- Updated Electron API to support extension operations such as search, list, and apply.
- Added internationalization support for new extension-related UI elements and messages.
- Refactored execution policies to include extension approval scopes.
- Added support for customizable terminal panel properties including docked state and visibility.
- Implemented workspace layout persistence, allowing for restoration of user-defined layouts and visibility states.
- Introduced new UI elements for managing terminal actions and visibility.
- Enhanced sidebar component to accept external panel states for improved flexibility.
- Updated localization files to include new workbench-related strings for better user experience.
- Added comprehensive tests for workbench layout persistence and docking behavior.
- Added DecorativeAnimationScope component to manage the state of decorative animations across the application.
- Updated AppContent to utilize DecorativeAnimationScope for better animation control.
- Refactored EmotionPanelSettings to clarify the purpose of decorative animations.
- Enhanced ChatMessage, ChatPanel, and other components to use chat-layered-surface for consistent styling.
- Improved performance by pausing animations when the modal is open or when decorative animations are disabled.
- Updated CSS to support new animation behaviors and ensure smooth transitions.
- Added tests for the useDecorativeAnimations hook to verify the lifecycle and shared listeners.
- Added a new Notification Center to manage and display messages from the editor and task events.
- Introduced InlineToastAnchor and GlobalToastContainer components for better toast management.
- Enhanced background task handling with MCP connection checks and improved performance diagnostics.
- Implemented notification history management with hooks and integrated system notifications.
- Updated internationalization files for new message center features.
- Added tests for background connection checks to ensure proper functionality.
- Added ExecutionManager component to EditorSettings for managing execution settings.
- Enhanced TerminalManager to handle new terminal exit reasons and messages.
- Introduced execution API methods for overview and management requests.
- Added execution settings to user preferences with normalization and defaults.
- Created execution settings configuration and normalization logic.
- Developed execution presentation functions for status and reason labels.
- Expanded i18n support for execution-related terms in English and Chinese.
- Updated execution types to include new properties for better tracking.
- Implemented tests for execution lifecycle and log store functionalities.
feat(terminal): add shell integration support with OSC 633 parsing
feat(execution): introduce execution limits and types for command management
fix(notifications): refine notification settings and API for better handling
test(execution): add comprehensive tests for execution scheduler and service
test(notifications): enhance tests for notification routing and webhook handling
test(terminal): implement tests for terminal manager and shell process management
- Added new settings tabs for network, data, diagnostics, background, and notifications.
- Introduced a new module for summarizing agent events and publishing notifications.
- Implemented an event bus for editor notifications to decouple event handling from the main application logic.
- Created a Zustand store for managing notification state and snapshots.
- Developed a notification bridge to handle incoming notifications and display them in the UI.
- Added support for webhooks in the notification settings, allowing users to configure external notification endpoints.
- Implemented comprehensive tests for the notification system, ensuring reliability and correctness.
- Updated localization files to include new notification-related strings in English and Chinese.
- Replaced Worker threads with UtilityProcessClient for AssetStorageWorkerClient and SessionStorageWorkerClient.
- Implemented utility server for handling requests in asset and session storage workers.
- Updated asset storage worker and session storage worker to use new request handling mechanism.
- Introduced ContentProcessClient for document reading operations with utility process support.
- Added tests for utility process lifecycle and asset service interactions.
- Enhanced error handling and request management in utility process client.
- Added IPC handlers for background task updates and connection checks.
- Created BackgroundTaskService to manage task states and connections.
- Implemented connection checking logic for model endpoints.
- Developed activity projection logic to track background task states.
- Introduced persistent settings for background task preferences.
- Added UI components for managing background task settings.
- Implemented tests for background task functionality and IPC interactions.
- Added `previewPrepareSession` and `previewConfigureDevice` methods to the Electron API for managing preview sessions and device configurations.
- Implemented `PreviewPartitionService` to handle project-specific partitions, ensuring isolation between different projects and sessions.
- Enhanced `PreviewBrowserService` to support device emulation, allowing for dynamic configuration of device metrics based on user selection.
- Introduced `PreviewDeviceToolbar` component for user interface to select device type and orientation in the preview tab.
- Updated `usePreviewEnvironment` hook to manage device settings and session preparation, improving the user experience in the preview feature.
- Added localization strings for new preview features in both English and Chinese.
- Implemented unit tests for IPC handlers, preview session management, and partition service to ensure reliability and correctness of the new features.
- Add IPC handlers for diagnostics capture, allowing memory snapshots and performance tracing.
- Introduce ApplicationDiagnostics and ProcessDiagnostics services for managing diagnostics data.
- Implement UI components for diagnostics settings, enabling users to initiate diagnostics captures.
- Enhance memory and process monitoring with detailed reporting and history tracking.
- Add localization support for diagnostics-related messages in English and Chinese.
- Create tests for diagnostics IPC handling and service functionality to ensure reliability.
- Implemented unit tests for subtask approvals in `subtaskApprovals.test.ts`.
- Added new browser tests for subtask approvals, thread switching, and scroll tail functionality.
- Enhanced message management tests in `AgentStore.test.ts` to verify message publishing order.
- Created HTML and TypeScript files for new browser tests to ensure proper rendering and functionality.
- Updated Vite configuration for optimized dependency handling in new test files.
- Added validation for control characters in image paths in `chatImageSource.test.tsx`.
- Introduced ToolDetailsView component to encapsulate arguments and response display with tabbed navigation.
- Updated ToolPayloadView to support expandable size and improved styling with CSS.
- Enhanced ToolCallCard and SubAgentTaskCard to utilize the new ToolDetailsView for better organization of tool call details.
- Added new translations for tool details and size management in both English and Chinese.
- Adjusted WorktreeLanePanel to support a flat layout option for better UI flexibility.
- Improved Vite configuration for better dependency management.
- Introduced `browser_open`, `browser_inspect`, and `browser_action` tools for managing browser sessions and interactions.
- Implemented schemas for input validation using Zod in `browserAutomation.ts`.
- Enhanced `executors.ts` to integrate new browser tool executors.
- Created `browser.ts` to handle browser-specific actions and responses.
- Updated `BrowserPreviewTab.tsx` to support new browser URL validation.
- Added configuration for browser tools in `browserTools.ts`.
- Implemented tests for browser tool functionality and integration.
- Updated localization files for new tool descriptions and error messages.
- Ensured that browser tools respect execution context and prevent unauthorized actions in sub-agent mode.
- Added `isPresenting` prop to `AssetToolCard` for better state management during presentations.
- Introduced `ChatMarkdownImage` component to handle image rendering from Markdown with improved error handling and loading states.
- Updated `ToolCallCard` to pass `isPresenting` to `AssetToolCard`.
- Implemented `chatImageSource` service for resolving image sources and handling local paths.
- Enhanced localization with new strings for image loading errors.
- Added tests for `ChatMarkdownImage` and `chatImageSource` functionalities.
- Updated asset service to support new image preview paths and legacy ID handling.
- Implemented `htmlToText` and `stripXmlTags` functions for extracting plain text from HTML and XML.
- Added unit tests for markup text extraction to ensure proper functionality and handling of edge cases.
refactor: change McpAuthStore to use IIFE pattern
- Refactored `McpAuthStore` from a namespace to an IIFE for better encapsulation and clarity.
- Updated all function exports to be private within the IIFE.
fix: improve type handling in McpClient and McpOAuthCallback
- Adjusted type casting for accessing private properties in `McpClient`.
- Refactored `McpOAuthCallback` to use IIFE pattern for better structure.
fix: enhance error handling in EmotionAdapter and TerminalManager
- Added comments to catch blocks to clarify error handling intentions.
- Improved error handling in terminal-related classes to ensure graceful degradation.
style: clean up variable declarations and improve readability
- Changed `let` to `const` where applicable for better immutability.
- Removed unnecessary semicolons and improved formatting for consistency.
test: add tests for security patches and post-install scripts
- Created tests for dependency security patches to ensure proper handling of symlinks.
- Added tests for Visual Studio environment activation to validate shell command execution.
chore: update various components for better performance and maintainability
- Refactored components and services to improve code quality and maintainability.
- Updated comments and documentation for clarity and better understanding.
- Introduced tests for asset configuration assistant, ensuring proper handling of JSON responses and redaction of sensitive information.
- Added tests for asset error handling, focusing on extracting actionable error messages while redacting sensitive data.
- Implemented tests for local media streaming, validating byte-range requests and error handling for invalid ranges.
- Created extensive tests for asset service, covering capability contracts, job submissions, and error handling in various scenarios.
- Developed tests for asset SQLite worker to ensure persistence across worker restarts and proper handling of database operations.
- Added tests for configuration asset repository, verifying migration of settings and protection of sensitive credentials.
- Updated Vite configuration to include asset storage worker for proper bundling and resolution of dependencies.
- Introduced new tests for `ChatViewport` to validate scrolling behavior during collapses and user interactions.
- Added tests for `ConversationPresentation` to ensure proper lifecycle management and message handling.
- Removed outdated tests for `collapseCredit` and `disclosureMotion` that are no longer relevant.
- Created a new browser test setup for conversation motion, including HTML and TypeScript files for regression testing.
- Implemented a motion store for managing state in browser tests and configured Vite for the testing environment.
- Added support for concurrent tool calls in the playback timeline, allowing multiple tools to be presented as a single stage.
- Introduced `isPresenting` prop to manage the visibility and animation of tool call cards based on their presentation state.
- Updated `useAssistantPlayback` to handle multiple presenting tool IDs and improve playback pacing logic.
- Implemented collapse credit management to maintain document height during row shrinkage, ensuring smooth UI transitions.
- Enhanced tests for assistant playback and disclosure state to cover new functionality and edge cases.
- Removed default timeout setting in StructuredService.
- Updated AgentClass to include lane notice in stream state.
- Improved lane notice management in various components, including ChatPanel and ToolCallCard.
- Adjusted disclosure motion constants for better animation timing and user experience.
- Added tests to ensure timing invariants for disclosure motion.
- Implemented a new hook `useDisclosureState` to handle automatic disclosures with user control.
- Removed the deprecated `useToolCardExpansion` hook.
style: enhance agent disclosure styles for better transitions
- Added CSS styles for `.agent-disclosure` and `.agent-disclosure.is-open` to improve height interpolation and visibility transitions.
- Updated various tool activity styles for better visual feedback.
refactor: clean up agent configuration by removing expandAgentBlocksByDefault
- Removed `expandAgentBlocksByDefault` from `AgentConfigSchema`, `AGENT_DEFAULTS`, and related settings.
- Updated localization files to remove references to the removed configuration option.
test: add unit tests for assistant playback and tool activity indicator
- Created tests for `assistantPlayback` to validate playback timeline behavior.
- Added tests for `getToolTiming` to ensure correct handling of tool call timing metadata.
- Removed outdated tests for streaming reveal components.