17 Commits
Author SHA1 Message Date
adnaan f4930b7cb9 feat: add stress testing scripts for agent performance and rendering
- Introduced `stress-test-agent-full-turn.cjs` for benchmarking agent workflows, measuring CPU and GPU usage during various phases of operation.
- Added `stress-test-diff-syntax.cjs` to evaluate performance of inline diff rendering under varying line counts.
- Created `stress-test-embedding-cpu.ts` to assess CPU utilization during local transformer model embeddings.
- Implemented `stress-test-gpu-rendering.cjs` for testing GPU rendering performance with animations and UI interactions.
- Developed `stress-test-indexing-cpu.ts` to benchmark CPU performance during incremental indexing operations.
- Enhanced file change buffering configurations in `fileChangeBuffer.ts` to improve responsiveness.
- Updated `fileWatcher.ts` to refine ignored patterns for file watching, optimizing performance.
- Modified `EmotionAmbientGlow.tsx` to pause animations during agent streaming to reduce GPU load.
- Improved `InlineDiffPreview.tsx` to conditionally simplify highlighting based on streaming state.
- Enhanced `TerminalManager.ts` to buffer terminal writes and limit rendering frequency, improving performance during high-frequency updates.
2026-09-22 22:44:45 +08:00
adnaan 93730433c8 feat: implement plan presentation hook and enhance plan workbench components
- 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.
2026-09-10 23:18:20 +08:00
adnaan 129e80fa7d feat: improve execution UI diagnostics and enhance button interaction handling 2026-09-07 20:37:38 +08:00
adnaan 5bb5a717bd feat: enhance workbench layout management and terminal panel functionality
- 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.
2026-09-06 15:02:16 +08:00
adnaan 8afc2f1c78 feat: introduce DecorativeAnimationScope for managing decorative animations
- 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.
2026-09-06 14:09:11 +08:00
adnaan b8c6fffc60 feat: Implement message center for notifications and background task management
- 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.
2026-09-06 01:03:06 +08:00
adnaan 461602b94e feat(execution): Implement execution management features and settings
- 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.
2026-09-06 00:26:57 +08:00
adnaan a2b5b3b088 feat(i18n): update Chinese translations for notifications and settings
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
2026-09-05 23:28:09 +08:00
adnaan 126a43421f feat: enhance notification system with new settings and event handling
- 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.
2026-09-05 21:45:12 +08:00
adnaan f2c0922235 feat(diagnostics): enhance smoke test interaction with button click handling 2026-09-05 20:20:51 +08:00
adnaan 1f1bd7262e refactor: migrate asset and session storage to utility process architecture
- 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.
2026-09-05 20:07:10 +08:00
adnaan 0f2c6dcb21 feat: implement background task management system
- 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.
2026-09-05 19:21:57 +08:00
adnaan d882df8606 feat(preview): enhance local preview capabilities with device configuration and session management
- 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.
2026-09-05 18:20:45 +08:00
adnaan b3038eef26 feat(diagnostics): implement application diagnostics capture and process monitoring
- 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.
2026-09-05 17:51:20 +08:00
adnaan 0b774399fa feat: add browser automation tools for enhanced web interaction
- 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.
2026-09-04 19:28:20 +08:00
adnaan d5214260eb Add comprehensive tests for asset services and configurations
- 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.
2026-09-04 16:49:20 +08:00
adnaan 156280b81a feat: add multi-window diagnostics scripts and enhance worker service management 2026-08-25 11:59:41 +08:00