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>
- 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.
- 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.
- 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.
- 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.
- Removed `test:ai`, `test:settings`, and `test:workbench` scripts from package.json.
- Updated test plan documentation to reflect the removal of `test:workbench`.
- Enhanced argument parsing in release scripts to ensure required values are provided.
- Added validation for unknown arguments in release scripts.
- Improved error handling for invalid arguments in test workflow.
- Updated unit tests to cover new validation logic for release arguments.
- Implemented `ppt-management-briefing-edit.showcase.test.ts` to test editing PPTs with AI assistance, including cost computation and screenshot capture.
- Created `ppt-management-briefing-review.showcase.test.ts` for reviewing PPTs, ensuring the generation of review screenshots and cost analysis.
- Added shared utility functions in `shared.ts` for handling showcase fixtures, workspace seeding, and cost computation.
- Developed `xinghe-kb-reply.showcase.test.ts` to validate knowledge base interactions, capturing screenshots of responses and ensuring correct tool usage.
- Introduced `xinghe-service-contract.showcase.test.ts` to test PDF contract inquiries, verifying unchanged source documents and capturing relevant screenshots.
- Configured Vitest for showcase tests in `vitest.showcase.config.mts`, setting appropriate timeouts and test inclusion/exclusion criteria.
- Added `showcase` as an explicit collection task in the testing framework, distinct from product regression.
- Introduced explicit collection task rules and updated documentation to reflect changes in testing structure.
- Updated E2E testing commands to utilize `--execution-profile` for better control over test execution.
- Implemented validation to prevent the selection of certain groups (e.g., `showcase`) during release command parsing.
- Enhanced regression selection logic to allow opt-in groups for release impact assessment while rejecting disallowed groups.
- Updated related scripts and test cases to ensure compliance with new testing rules and execution profiles.
- Enhance `upsertGroupFromDisplayEvent` to manage retry states and ensure only one retry row is displayed for each run.
- Introduce `resolveRetryGroupId` to correctly identify the group ID for retries.
- Update `completeProcessGroupById` and `upsertProcessItem` to utilize the new retry logic.
- Modify `reduceAssistantTurnByRunEvent` to hide thinking indicators when a retry is in progress.
- Add logic to `shouldShowAssistantThinkingIndicator` to account for running retries.
- Implement tests for retry behavior in process events and ensure proper UI rendering during retries.
- Create end-to-end tests to validate the behavior of retry rows and their interaction with thinking indicators.
- Introduce utility functions for managing process state and usage metrics in tests.
Failed pre-publish tags can be deleted and reused instead of stacking versions; docs and prepare errors point at release:abort.
Co-authored-by: Cursor <cursoragent@cursor.com>
- Updated paths in release documentation to use absolute paths for clarity.
- Corrected test plan entries for AI tests and settings tests, ensuring accurate descriptions and assertions.
- Removed deprecated `mark.js` dependency from package.json and pnpm-lock.yaml.
- Refactored storage service to clarify partner storage usage.
- Deleted unused TextHighlighter component and its type definitions.
- Adjusted unit tests for AI context compaction to reflect updated prompt structures.
- Implemented custom remark plugin `remarkGfmNoAutolink` to prevent autolinking of bare URLs while preserving standard markdown links.
- Updated `MarkdownRenderer` to utilize the new `remarkGfmNoAutolink` plugin.
- Adjusted content panel width calculations and constants to improve layout responsiveness.
- Modified the main window background color for better visual consistency during live resizing on macOS.
- Enhanced tests for content panel width and new markdown link behavior to ensure expected functionality.
- Removed support for macos-x64 in fragment definitions and related scripts.
- Updated finalize-macos script to only handle macos-arm64, simplifying signature checks and metadata writing.
- Deleted merge-mac-metadata script as it is no longer needed.
- Adjusted storage layout and release status checks to reflect the removal of x64.
- Updated tests to ensure they only validate macos-arm64 functionality.
- Changed external links in settings-test.md and package.json to point to the new domestic website (guanzhangai.cn).
- Updated electron-builder.yml to publish updates from the new domestic URL.
- Introduced a new storage client for Tencent COS and refactored existing R2 client code to support both storage options.
- Implemented environment variable checks and configurations for Tencent COS and Cloudflare R2.
- Added tests for release storage configuration and ensured proper handling of live publish locks.
- Updated telemetry service to use the new official website URL for event reporting.
- Updated AI test plan with new results for visual reading tests, marking them as completed after fixing configuration issues.
- Added a new script for real upgrade testing on Windows, allowing verification of silent upgrades and proper handling of old installations.
- Introduced concurrency handling in visual recognition service to improve performance during image processing.
- Refactored legacy document editing tests to ensure proper rejection of .doc file edits and adherence to decision hints.
- Adjusted PowerPoint management review tests to include both Chinese and English date formats for better validation.
- Implemented database migration for scheduled tasks table.
- Added API endpoints for managing scheduled tasks (list, save, delete, enable/disable).
- Created ScheduledTasksView component for displaying and managing scheduled tasks.
- Integrated scheduled tasks functionality into the WorkbenchComposer and ChatPage components.
- Added select options for AI preferences and execution permissions.
- Implemented unit tests for scheduled task scheduling logic.