- 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.
- Updated knowledge test plans to clarify the cancellation behavior of workspace indexing and its interaction with the backend.
- Revised assertions in the `workspace-index-cancel-contract` test to ensure completed entries are preserved and unfinished entries are reverted correctly.
- Enhanced the `prepare-workspaces-sequentially` test to validate that subsequent addresses do not start after the first is cancelled.
- Removed obsolete `cnipa-http.host.test.ts` and `electronBareNavigateHost.mjs` files as they are no longer needed.
- Added new assertions in the `workspace-index-job-progress.test.ts` to verify the handling of completed and unfinished job states.
- Improved the `workspace-index-worker-contract.test.ts` to ensure proper cancellation behavior during embedding processes.
- Updated E2E tests for right panel layout and tab interactions to include resizing functionality.
- Enhanced clarity and specificity in knowledge test documentation regarding session options and thread management.
- Revised settings test descriptions to improve accuracy in reflecting UI behavior and expected outcomes.
- Improved assertions in workspace and web tests to ensure comprehensive coverage of UI interactions and state management.
- Adjusted e2e test cases for workspace cancellation scenarios to accurately reflect expected behavior post-cancellation.
- Updated descriptions in terminal tests to clarify execution context and expected outputs.
- Refined messages in partner cache cleanup tests to better align with acceptance criteria.
- 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.
- Introduced `assertEmptyDocxOverview` and `assertDocxReviewOverview` functions to validate the state of DOCX overviews in end-to-end tests.
- Updated existing tests to include assertions for empty and reviewed DOCX overviews.
- Added `docxVisualHost.ts` and `docxVisualRunner.ts` to facilitate the processing and analysis of DOCX files, capturing visual elements and their properties.
- Enhanced the workspace file explorer tests to include new file creation and deletion scenarios, ensuring proper handling of various file types.
- Improved browser lifecycle tests to manage background responses and ensure proper cleanup.
- Refactored scheduled task tests to streamline partner deletion and task management workflows.
- Updated `renderExcerptBlock` to return an empty string for empty content.
- Enhanced `renderSelection` to provide clearer output for PPT selections, including page and element identifiers.
- Removed image handling from document selection validation and related functions.
- Simplified user content resolution by removing unused image handling logic.
- Adjusted `DocumentSelectionLayer` to eliminate unnecessary busy state management.
- Updated PPT adapter to remove image snapshot functionality and focus on element selection.
- Modified tests to reflect changes in selection handling and rendering logic.
- Ensured that selection tooltips and references are consistent with the new structure.
- Updated SubagentTask type to SubagentAssignment, changing 'task' to 'instruction'.
- Refactored AiSubagentStore to accommodate new SubagentAssignment structure.
- Modified AssistantTurnCard and SubagentGroupView to utilize presentSubagentGroups for processing.
- Enhanced error handling in messageLogProjection to capture entry errors.
- Created subagentPresentation utility for managing subagent group presentation.
- Adjusted types to reflect changes in subagent structure and added error handling.
- Updated tests to reflect changes in subagent delegation structure and error handling.
- Added tool process events for better tracking of tool execution states.
- Updated tool feedback handling to include message IDs for improved traceability.
- Enhanced UI components to reflect changes in message display and status updates.
- Improved logic for managing subagent task states and visibility in the UI.
- Refined test cases to validate new message ID handling and process feedback.
- Adjusted styles for better visual consistency in the AssistantTurnCard and SubagentGroupView components.