220 Commits
Author SHA1 Message Date
Lingu 8ff59164bf feat: add shared user skills and separate toolset loading
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>
2026-10-23 17:04:35 +08:00
Yoan Huang 099f44f693 release: prepare windows-v1.0.11 2026-10-21 20:12:10 +08:00
hy 48a14e805c release: prepare mac-v1.0.12 2026-10-21 13:25:01 +08:00
hy 1eedabb914 feat: add support for language and service route preferences
- 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.
2026-10-21 10:05:42 +08:00
hy 79d1b30a6c Refactor tests and update document references
- 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.
2026-10-20 15:11:36 +08:00
Yoan Huang 2c33494396 release: prepare windows-v1.0.10 2026-10-16 21:38:09 +08:00
hy 8a187b88db release: prepare mac-v1.0.11 2026-10-16 16:24:14 +08:00
hy 4d9f166474 feat: enhance file open menu and text file diff viewer
- 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.
2026-10-16 14:24:03 +08:00
hy b0217b2723 feat: enhance e2e tests for workbench result and WPS Office integration
- 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.
2026-10-16 12:24:44 +08:00
Yoan Huang 16c6235991 release: prepare windows-v1.0.9 2026-10-15 17:26:55 +08:00
hy f8039c0175 release: prepare mac-v1.0.10 2026-10-15 17:12:12 +08:00
hy f069b5f8ef fix(build): prune unused distributions and include formula runtime peer 2026-10-14 21:56:27 +08:00
hy 5c79a122b5 release: prepare mac-v1.0.9 2026-10-14 20:56:21 +08:00
hy 1968e15cc3 feat: add Excel workbook handling and formula support
- 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.
2026-10-13 14:21:52 +08:00
hy bd142b45d7 feat(tests): enhance DOCX overview assertions and add visual host for DOCX processing
- 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.
2026-10-12 12:11:41 +08:00
hy 0b95642b92 feat: unify document references and interaction cards, tidy docs and tests 2026-10-11 10:08:28 +08:00
hy f1d5eedb5f release: prepare mac-v1.0.8 2026-09-29 18:51:21 +08:00
Yoan Huang 819f2231bd release: prepare windows-v1.0.7 2026-09-26 17:18:43 +08:00
hy fbe20878de release: prepare mac-v1.0.6 2026-09-22 20:17:44 +08:00
hy 041b5e7085 release: prepare mac-v1.0.5 2026-09-20 18:09:34 +08:00
hy 5e77c7ddc6 feat(tests): add knowledge test plan and update related documentation 2026-09-20 12:31:22 +08:00
hy 240ab91f7b refactor: remove unused test scripts and improve argument validation
- 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.
2026-09-18 14:49:01 +08:00
hy 203f8ab180 feat(showcase): add new tests for PPT management and knowledge base interactions
- 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.
2026-09-18 14:22:54 +08:00
hy 2c431406f0 feat(tests): enhance testing framework with explicit collection tasks and execution profiles
- 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.
2026-09-18 13:56:30 +08:00
hy 414d3759b1 release: prepare mac-v1.0.4 2026-09-18 11:55:07 +08:00
hy 07e1e40727 release: prepare mac-v1.0.3 2026-09-17 18:26:54 +08:00
hy f2cfed3751 feat: implement retry handling in process groups and UI updates
- 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.
2026-09-16 11:12:43 +08:00
hy ee5a1fcea3 feat(wps): update test configurations and add WPS office reload e2e test 2026-09-15 18:23:53 +08:00
hy d2a0d3a2f3 release: prepare mac-v1.0.2 2026-09-15 17:47:45 +08:00
hy 8e75dba7e9 release: prepare mac-v1.0.1 2026-09-12 14:11:57 +08:00
hyandCursor 50448bddda fix: allow aborting unpublished release tags for same-version retake
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>
2026-09-11 17:59:14 +08:00
hy 8c81adc414 release: prepare mac-v1.0.0 2026-09-11 17:42:19 +08:00
hy 140711c2df feat: update environment configuration and enhance live provider testing framework 2026-09-11 13:34:43 +08:00
hy 8366aac6a7 Refactor documentation and test plans; update storage service and remove unused dependencies
- 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.
2026-09-09 09:32:58 +08:00
hy 7ea42c0887 feat: enhance markdown link handling and UI adjustments
- 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.
2026-09-04 11:50:18 +08:00
hy 9f7bc6043b refactor: update documentation and improve clarity across multiple files; streamline code structure and remove unused exports 2026-09-03 12:29:57 +08:00
hy 7cd3782f1e Refactor macOS release handling: remove x64 support and streamline metadata processing
- 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.
2026-09-01 16:36:09 +08:00
hy d622985d55 refactor: update URLs and storage configurations to use domestic services
- 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.
2026-09-01 11:44:56 +08:00
hy 42b362c9c8 feat: enhance update recovery page and related tests for database version handling 2026-08-31 14:37:38 +08:00
hy a61209a164 Remove unused chromium-bidi/utf-8-validate deps and add knip dead-code audit config 2026-08-31 14:36:24 +08:00
hy 2d52d852a4 Refactor workspace settings panel by removing legacy migration status handling and related UI elements; update constants for clarity; delete unused WorkspaceQuickSelect component; enhance utility functions for better data handling; remove deprecated serialization and event utility files; add new test case for memory maintenance in AI human mock-llm; clean up various test files and adjust imports for consistency. 2026-08-31 11:41:19 +08:00
Yoan Huang 3f62417530 feat: Enhance AI testing and update process
- 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.
2026-08-21 23:15:23 +08:00
hy 3a87d79777 Merge branch 'main' of github.com:Yoan98/Ncurator-Desktop 2026-08-21 10:44:14 +08:00
hy 7d45870fe3 feat: add scheduled tasks feature with CRUD operations and UI integration
- 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.
2026-08-21 10:44:09 +08:00
Yoan Huang 10f7cd6715 release: prepare windows-v0.1.68 2026-08-20 21:30:29 +08:00
Yoan Huang 7fabd34595 release: prepare windows-v0.1.67 2026-08-19 20:02:16 +08:00
hy feedaf9df6 release: prepare mac-v0.1.66 2026-08-19 17:29:29 +08:00
hy 0d004b3479 release: prepare mac-v0.1.65 2026-08-19 16:21:00 +08:00
hy 2799cbb4ab release: prepare mac-v0.1.64 2026-08-19 15:17:59 +08:00
hy 772b0243f1 release: prepare mac-v0.1.63 2026-08-19 13:58:44 +08:00