962 Commits
Author SHA1 Message Date
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 e809109e20 feat: Update ZIP extraction handling to replace pre-existing file symlinks without overwriting outside files 2026-09-10 21:42:51 +08:00
adnaan 1f7e67295b chore: update dependency overrides and improve ZIP extraction handling
- 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.
2026-09-10 21:34:48 +08:00
adnaan 32f87da046 feat: Enhance resize functionality in DockWorkbench with improved state management and CSS adjustments 2026-09-09 23:44:54 +08:00
adnaan 73facbf536 feat: Improve worktree lane creation and error handling for uncommitted changes 2026-09-09 23:39:59 +08:00
adnaan c7390cdf82 feat: Enhance ConfigurationToolProvider and settings management
- 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.
2026-09-09 22:07:48 +08:00
adnaan cb97b376cc feat: Refactor extension handling to configuration management and add skill source parsing tests 2026-09-09 12:20:56 +08:00
adnaan 28756f7ff4 feat: Implement agent-managed extension transactions and credential handling
- 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.
2026-09-09 12:01:52 +08:00
adnaan 979d79cbd0 chore: release v1.7.68
Release / get-version (push) Canceled after 0s
Release / build-windows (arm64, windows-11-arm) (push) Canceled after 0s
Release / build-windows (x64, windows-latest) (push) Canceled after 0s
Release / build-macos (arm64, macos-latest) (push) Canceled after 0s
Release / build-macos (x64, macos-15-intel) (push) Canceled after 0s
Release / build-linux (arm64, ubuntu-24.04-arm) (push) Canceled after 0s
Release / build-linux (x64, ubuntu-latest) (push) Canceled after 0s
Release / release (push) Canceled after 0s
Release / sync-to-gitee (push) Canceled after 0s
2026-09-07 20:48:24 +08:00
adnaan 129e80fa7d feat: improve execution UI diagnostics and enhance button interaction handling 2026-09-07 20:37:38 +08:00
adnaan 93ad363caa feat: implement archive retention and management features for execution logs 2026-09-07 20:28:33 +08:00
adnaan 63926c98df feat: enhance terminal output handling and diagnostics for managed commands 2026-09-07 20:15:21 +08:00
adnaan 181706eadc feat: introduce workbench labels for improved localization and UI consistency 2026-09-06 19:00:20 +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 04fea9f5fe chore: release v1.7.67
Release / get-version (push) Canceled after 0s
Release / build-windows (arm64, windows-11-arm) (push) Canceled after 0s
Release / build-windows (x64, windows-latest) (push) Canceled after 0s
Release / build-macos (arm64, macos-latest) (push) Canceled after 0s
Release / build-macos (x64, macos-15-intel) (push) Canceled after 0s
Release / build-linux (arm64, ubuntu-24.04-arm) (push) Canceled after 0s
Release / build-linux (x64, ubuntu-latest) (push) Canceled after 0s
Release / release (push) Canceled after 0s
Release / sync-to-gitee (push) Canceled after 0s
2026-09-06 01:06:08 +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 7eda204ea6 feat(tests): add window focus regression tests and mock implementations 2026-09-05 20:37:10 +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 bf3eefd32d chore: release v1.7.66
Release / get-version (push) Canceled after 0s
Release / build-windows (arm64, windows-11-arm) (push) Canceled after 0s
Release / build-windows (x64, windows-latest) (push) Canceled after 0s
Release / build-macos (arm64, macos-latest) (push) Canceled after 0s
Release / build-macos (x64, macos-15-intel) (push) Canceled after 0s
Release / build-linux (arm64, ubuntu-24.04-arm) (push) Canceled after 0s
Release / build-linux (x64, ubuntu-latest) (push) Canceled after 0s
Release / release (push) Canceled after 0s
Release / sync-to-gitee (push) Canceled after 0s
2026-09-04 22:59:41 +08:00
adnaan 6c42339bad feat(i18n): add translations for subtask approval list in English and Chinese 2026-09-04 22:55:42 +08:00
adnaan c5296f34f2 feat(tests): add subtask approvals tests and related browser tests
- 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`.
2026-09-04 22:49:29 +08:00
adnaan 93e0a006c8 feat: Refactor Tool Details and Payload Views
- 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.
2026-09-04 22:05:46 +08:00
adnaan 4587814af5 feat: optimize dynamic imports for preview services in browser tool executors and update context file path checks in ChatPanel and LspStatusIndicator 2026-09-04 21:48:10 +08:00
adnaan 05504a1259 feat: enhance playback process handling and add tests for browser tool interactions 2026-09-04 19:41:34 +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 034f5f0b57 feat: enhance asset handling and image rendering
- 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.
2026-09-04 18:47:58 +08:00
adnaan 7baf572481 feat: upgrade Electron to 43.6.0, replace extract-zip with @electron-internal/extract-zip, and remove obsolete patches 2026-09-04 18:21:22 +08:00
adnaan 955ffa5319 feat: add markup text extraction service and tests
- 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.
2026-09-04 17:32:30 +08:00
adnaan dd6d303079 feat: enhance URL validation in asset capability and update related tests 2026-09-04 16:58:13 +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 28f2577583 feat: implement decorative animations and enhance terminal output management 2026-09-04 12:13:03 +08:00
adnaan 6ea4babc41 Add tests for chat viewport and conversation presentation; remove obsolete tests
- 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.
2026-09-04 10:52:12 +08:00
adnaan 4d53a19388 feat: enhance tool call presentation and playback handling
- 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.
2026-09-04 00:22:25 +08:00
adnaan 067c666dc6 refactor: enhance lane notice handling and disclosure motion timing
- 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.
2026-09-03 23:39:43 +08:00
adnaan 820e966c5f feat: enhance LintCheckCard with improved UI and localization for lint results 2026-09-03 22:49:01 +08:00
adnaan b656ab97f0 feat: enhance disclosure handling and playback release logic across components 2026-09-03 22:40:44 +08:00
adnaan b68b8cbe40 feat: add TOOL_ROW_ACTION_SLOT_CLASS for consistent action icon alignment across components 2026-09-03 21:43:54 +08:00
adnaan 1b8c8aa7f4 feat: enhance compression lifecycle management and add timeout handling in summary requests 2026-09-03 18:20:20 +08:00
adnaan 1763dc9418 feat: enhance path validation and resolution logic with new patterns and tests 2026-09-03 18:01:54 +08:00
adnaan 0a929ee162 feat: add bounds checking for frontier index in findPresentingToolId function 2026-09-03 17:38:36 +08:00
adnaan bf59763f95 feat: update disclosure timing and enhance presentation logic across components 2026-09-03 17:26:11 +08:00
adnaan 18a00f6131 feat: add useDisclosureState hook for managing disclosure state
- 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.
2026-09-03 16:41:43 +08:00