Share content-addressed parsing and embedding caches across isolated test runs, fingerprint relevant dependencies and model assets, and remove implicit UI warm-up. Add realistic two-round Skill delivery evaluation and cache regressions.
- Implement end-to-end tests for user skill creation and editing, ensuring proper handling of name conflicts and partner bindings.
- Add tests for importing skills from a directory, verifying that existing resources are preserved or replaced correctly.
- Introduce tests for skill partner budget management, ensuring that skills are isolated between partners and that budget limits are enforced.
- Enhance existing tests to validate the integration of AI processes with user skills, ensuring that updates to skills are reflected in AI outputs.
- Create necessary fixtures and scripts to support the new tests, including skill definitions and rules for processing.
Copy complete Skill folders into shared user data with per-partner enable bindings. Separate load_skill instruction context from load_toolset registration, state, prompts and tool-budget eviction.
Revalidate instruction bindings across inference, compaction and restore. Add management UI, safe import and storage migration coverage, real graph regressions, and persisted snapshot recovery checks.
Signed-off-by: Lingu <132213669+AntonyLang@users.noreply.github.com>
- Added `findInstalledWindowsShortcut` to locate Windows shortcuts for installed applications.
- Integrated `launchEntryPath` into the E2E application preparation process to improve launch entry tracking.
- Removed loopback URL checks and related functions from `httpPageFetch.ts` to simplify HTTP fetching logic.
- Updated `web/index.ts` to streamline HTTP page fetching logic and remove unnecessary loopback checks.
- Modified E2E tests to correctly retrieve Electron process IDs and improve test reliability.
- Introduced `isExpectedMacDesktopTeardownExit` to classify macOS application exits more accurately.
- Enhanced Electron app launch process to support desktop launch configurations and ensure proper teardown.
- Added tests for desktop launch configurations to ensure sensitive data is not exposed.
- Improved error handling and logging during Electron app launches and exits.
- Added a modal for opening help website with confirmation dialog.
- Integrated help button in settings sidebar to trigger help modal.
- Improved layout responsiveness for settings sections across different languages.
- Updated selectors for cache cleanup and added new cache-related tests.
- Enhanced partner cache preview functionality to include total bytes and skipped counts.
- Refactored e2e tests for settings help entry and partner cache cleanup to validate new features.
- Adjusted Electron app launch configuration to ensure correct working directory.
- Updated ModelSource type to include 'huggingface'.
- Enhanced MODEL_SOURCE_LABELS for better clarity.
- Introduced defaultModelSource function to determine default source based on service route.
- Modified AppSettings to include language and serviceRoute.
- Created end-to-end tests for language and service route settings.
- Added unit tests for application language and service preferences.
- Updated free models test to reflect new catalog naming conventions.
- Enhanced official API tests to ensure correct handling of service regions.
- Adjusted release artifact tests to accommodate internationalization.
- Updated SQLite migration and storage tests to include new preferences.
- Updated legacy document references in various test files to reflect new document names and paths.
- Modified user input prompts in tests to align with the new document content and context.
- Adjusted assertions in tests to ensure they check for the correct content based on the updated documents.
- Added new test fixtures and removed outdated ones to maintain test integrity.
- Ensured all changes maintain the functionality of the tests while improving clarity and relevance.
- Implemented useWpsIntegrationFeedback hook to manage WPS integration issues and display appropriate messages.
- Updated OfficeFileReview component to show integration issues when file navigation fails.
- Improved TextFileDiffViewer to indicate whether the current file is editable or read-only.
- Added WPS integration manual URL for user guidance on enabling WPS add-ins.
- Enhanced WorkbenchDocumentPreviewPanelBase to open the WPS integration manual on button click.
- Introduced WpsIntegrationIssue type and related constants for better type safety and clarity.
- Updated tests to cover new WPS integration features and ensure proper functionality.
- Refactored existing code to accommodate new WPS integration logic and improve maintainability.
- Updated the file open menu to improve user experience with a new layout and functionality, including the ability to set preferred applications and reveal containing folders.
- Refactored the text file diff viewer to include a toolbar for navigating differences, with improved accessibility and visual feedback for actions like folding unchanged lines.
- Added localization support for various messages in the Monaco editor.
- Implemented CSS changes for better styling of dropdown menus and buttons in the workbench.
- Enhanced e2e tests to cover new functionalities and ensure proper behavior of the file open menu and text file diff viewer.
- Added functionality to append unchanged context to the preview file in `text-file-apply-preview-and-revert.e2e.test.ts`.
- Updated diff viewer selectors to improve line removal and addition detection.
- Implemented review edit and undo functionality with assertions in `text-file-apply-preview-and-revert.e2e.test.ts`.
- Enhanced the handling of omitted lines in the diff viewer.
- Modified the application of default settings in `file-preview-actions.e2e.test.ts`.
- Improved WPS Office reload and navigation tests in `wps-office-reload-on-write-and-revert.e2e.test.ts` and added a new test for WPS audit navigation.
- Refactored Excel cell interaction methods in `excel.ts` to support dynamic layout handling.
- Updated WPS Office coverage targets to include file name in prompts and added fixture preparation logic.
- Cleaned up WPS environment handling to ensure proper resource management during tests.
- Added FreeModelCatalogService for managing free model metadata and caching.
- Introduced token management for free models, including token refresh logic.
- Updated API calls to use free model endpoints and handle authorization.
- Enhanced model selection logic to accommodate free models.
- Improved tests for free model functionality and caching behavior.
- Update `human-harness.md` to clarify image caching and logging behavior.
- Modify `workbench.md` to improve user experience with free models lacking vision capabilities.
- Add new test case `human-read-image-no-vision` to validate behavior when using free models without vision support.
- Enhance `generate-ai-tool-prompt-audit.mts` to include error descriptions for `read_image` failures.
- Implement checks in `agentControl` to prevent image processing with unsupported models.
- Update `ChatPage.tsx` to ensure context usage is refreshed correctly after partner state changes.
- Extend tests for `read_image` functionality to cover various model configurations and ensure proper error handling.
- Refactor `model-selector-and-provider-error.e2e.test.ts` to verify context usage after different run states.
- Adjust `realAiDepsFactory.ts` and `test-types.ts` to accommodate new model configurations and types.
- Removed unused imports and types from aiCapabilityUtils.ts, constant.ts, and other utility files.
- Simplified message handling and JSON parsing functions.
- Updated ErrorBoundary component to remove unnecessary export.
- Streamlined markdownReference and remarkGfmNoAutolink components by removing redundant exports.
- Refactored settings constants and workspace utility functions for better readability and maintainability.
- Consolidated workspace tree handling logic and removed deprecated functions.
- Enhanced workspace file handling in ReadImageThumbs and AttachmentFileIcon components.
- Updated llm error classification tests to reflect changes in function naming and logic.
- Removed obsolete constants and types from shared files.
- Adjusted input handling to preserve leading and trailing whitespace, including newlines and invisible characters, ensuring they do not trigger placeholder visibility or send actions.
- Updated utility functions to streamline token removal at caret position and enhance text node processing.
- Enhanced end-to-end tests to validate behavior with various whitespace scenarios, ensuring proper handling of empty drafts and user input.
- Refined user experience by ensuring that empty states and manual line breaks are accurately represented in the composer.
- Update DocxPreview component to conditionally apply a class for documents with an overview.
- Add CSS styles for scrollbar visibility and overview thumb interactions in DOCX files.
- Refactor WorkbenchComposer to improve content detection and handling of empty states.
- Introduce utility functions to check for empty composer text and content presence.
- Modify WorkbenchContentPanel to manage document display modes with a new review open request type.
- Enhance ChatPage to handle document selection and interaction more effectively.
- Improve end-to-end tests for DOCX file handling, including shared scroll tracking and reference management.
- Adjusted directory icons to 16px and file icons to 18px for consistency.
- Replaced existing folder icons with Bootstrap's `BsFolder` and `BsFolder2Open`.
- Updated `FileIcon` component to handle directory and file icons with appropriate sizes.
- Modified various components (e.g., `GeneralSettingsPanel`, `PartnerCacheCleanupModal`, `WorkspaceFilesEmptyState`) to use the new `FileIcon` for directory representation.
- Enhanced tests to validate icon sizes and styles in the candidate list and workspace settings.
- Ensured that the mention token lifecycle maintains consistent icon representation during user interactions.
- Added cursor pointer style for document selection hover states.
- Refactored FileIcon component to use new icon imports and improved icon rendering for directories and file types.
- Updated PlainTextEditor to ensure proper z-index layering for text areas and mirrors.
- Improved DocumentSelectionLayer to manage cursor states and hover effects more effectively.
- Enhanced textFileAdapter to support new selection behaviors.
- Updated selection types to include editable controls for better user experience.
- Refined WorkbenchContentPanel to utilize FileIcon for directory icons.
- Adjusted WorkspaceFileExplorer to simplify file type labels.
- Modified ReferenceIcon and related components for consistent styling and sizing.
- Improved e2e tests for workspace directory creation and selection behaviors.
- Updated WorkspaceFileExplorer to handle new file creation with context-aware parent paths.
- Improved context menu to include new file creation options for directories and files.
- Refactored AttachmentFileIcon to utilize ReferenceIcon for better visual representation.
- Enhanced ReferenceIcon to support various file types with appropriate icons and styles.
- Introduced a new utility for file visual specifications to standardize icon appearances.
- Updated file icon handling in tests to reflect new structure and ensure proper rendering.
- Added support for markdown file icons and ensured consistent icon sizes across the application.
- Enhanced e2e tests to validate new file creation and icon visibility in the workspace.
- Introduced a new utility for file icons, consolidating icon paths and types.
- Updated reference visuals to utilize the new file icon utility.
- Enhanced workspace file renaming functionality, ensuring proper updates in the UI and state management.
- Added tests for various file types and renaming scenarios to ensure robustness.
- Improved the handling of file creation and context menus in the workspace.
- Introduced highlight opacity for selection highlights in DocumentSelectionLayer.
- Updated pdfAdapter to set a default highlight opacity.
- Refactored readPreviewText to accept an ignore function for better control over selectable elements.
- Enhanced textAdapter to utilize the new read function and improved selection location logic.
- Added support for additional block elements in textIndex for more comprehensive selection.
- Implemented copyDocumentSelection utility for consistent clipboard operations across tests.
- Updated e2e tests to validate selection and copy behavior across various document formats, ensuring accurate references and visibility of selected text.
- Refactor the chat history clearing process to use a native confirmation dialog.
- Introduce a new state for managing the confirmation dialog for clearing partner context.
- Update the confirmation dialog to include an option for deleting file modification history.
- Modify the handling of the confirmation response to appropriately clear chat history based on user input.
- Enhance unit and end-to-end tests to cover the new confirmation dialog behavior and ensure proper functionality.
- Update related tests to reflect changes in the confirmation process and ensure consistent behavior across different scenarios.
- Introduced new `excelWorkbook.ts` module for managing Excel workbooks using ExcelJS, including functions for cell data extraction, style handling, and workbook data conversion.
- Enhanced `WorkbenchContentPanel` to conditionally display Excel review capabilities based on active record capabilities.
- Updated tests to cover new Excel formula handling, including row deletion and insertion scenarios, ensuring correct formula recalculation and preservation of styles.
- Implemented E2E tests for verifying read-only behavior in Excel previews and ensuring that changes do not affect the original workbook.
- Added utility functions for copying cell values and verifying cell edit restrictions in the E2E testing framework.
- Implemented a confirmation modal for clearing chat history with an option to delete file change history.
- Added new partner cache types and structures to manage cache categories and requests.
- Created unit and end-to-end tests for partner cache cleanup, ensuring proper isolation and retention of chat messages and other partner data.
- Enhanced the settings UI with new selectors for cache management.
- Updated the partner clear context request to optionally delete file changes.
- Improved error handling and user feedback during cache cleanup operations.
- Updated the rendering logic for user-selected content to include detailed positioning information for various document types (text, PDF, PPT, Excel).
- Modified the structure of rendered output to replace previous context markers with a unified `<定位信息>` block, improving clarity and consistency.
- Enhanced Excel handling in tests to ensure accurate representation of cell values, formulas, and merged cells.
- Adjusted E2E tests to validate new rendering format and ensure that no unnecessary content is included in the output.
- Improved test coverage for Excel read and edit operations, ensuring that the AI service correctly interprets and processes Excel data.
- Changed user request markers from '用户诉求:' to '<用户诉求>' in multiple test files for consistency.
- Updated PPT test cases to reflect changes in slide reading and editing functionalities, including adjustments to tool calls and expected outputs.
- Enhanced assertions in various tests to ensure accurate validation of expected content and structure in PPT presentations.
- Refactored test cases to improve readability and maintainability, ensuring that nested groups and selections are correctly handled and validated.
- Update validation logic in document selection to remove text mode.
- Refactor PPT slide viewer to improve drag and hover interactions.
- Introduce cursor management for better user experience during selection.
- Modify PPT adapter to streamline selection capturing and hit testing.
- Remove unused text range handling in document selection.
- Update tests to reflect changes in selection behavior and interactions.
- Improve performance by optimizing SVG handling in PPT previews.