996 Commits
Author SHA1 Message Date
huangyuan 508132adba perf(test): reuse knowledge computations and expand skill live evaluation
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.
2026-10-23 18:50:49 +08:00
huangyuan dc93f29e07 feat(tests): add user skill creation, editing, and import tests
- 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.
2026-10-23 17:53:34 +08:00
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
huangyuan 770b254377 docs: expand architecture documentation with toolset and skill capabilities 2026-10-22 20:12:38 +08:00
Yoan Huang b8f8f8a263 test: observe transient subagent states before task completion
Signed-off-by: Yoan Huang <xiaoyuan9816@gmail.com>
2026-10-22 01:24:13 +08:00
Yoan Huang ac433cfdc5 test: stabilize Windows package regression interactions
Signed-off-by: Yoan Huang <xiaoyuan9816@gmail.com>
2026-10-22 00:26:29 +08:00
Yoan Huang bc67353878 fix(windows): stabilize package regression and hide runtime scripts
Signed-off-by: Yoan Huang <xiaoyuan9816@gmail.com>
2026-10-21 22:01:03 +08:00
hy 4a829624a4 fix: respect release regression impact scope
Signed-off-by: hy <xiaoyuan9816@gmail.com>
2026-10-21 16:29:52 +08:00
hy 82343e42d2 fix: scroll complete composer caret line into view 2026-10-21 15:24:07 +08:00
hy 3b9ba40774 fix: gate releases on packaged cache regression evidence
Signed-off-by: hy <xiaoyuan9816@gmail.com>
2026-10-21 13:47:40 +08:00
hy 18ab163301 test: wait for child browser activity before cache interruption
Signed-off-by: hy <xiaoyuan9816@gmail.com>
2026-10-21 13:19:56 +08:00
hy 3e2c7bcaad fix: keep composer controls visible for long drafts
Signed-off-by: hy <xiaoyuan9816@gmail.com>
2026-10-21 13:14:12 +08:00
hy f5e8c2b3a4 fix: ignore late events from cancelled subagent executions 2026-10-21 12:43:50 +08:00
hy e84f8360d5 feat: integrate Jieba support and enhance VC++ redistributable handling for Windows 2026-10-21 12:36:45 +08:00
hy 0ea1860085 feat: enhance desktop launch handling and improve exit classification for macOS
- 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.
2026-10-21 12:33:06 +08:00
hy 107179d836 feat(settings): enhance help functionality and layout adjustments
- 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.
2026-10-21 11:12:11 +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 978c33f371 fix: synchronize desktop releases across COS, R2 and GitHub
Signed-off-by: hy <xiaoyuan9816@gmail.com>
2026-10-20 18:12:56 +08:00
hy 561743ee3e fix: use ASCII release asset names and extend upload timeout
Signed-off-by: hy <xiaoyuan9816@gmail.com>
2026-10-20 16:49:06 +08:00
hy 04295587e1 feat: integrate GitHub releases and prepare public repository
Signed-off-by: hy <xiaoyuan9816@gmail.com>
2026-10-20 15:38:48 +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 ea33cff05f fix: dispose text review editors before models 2026-10-16 22:57:12 +08:00
hy 7637e72712 fix(test): identify WPS dispatch target in edit prompts 2026-10-16 17:27:23 +08:00
hy 6824bfc053 feat: enhance WPS integration feedback and recovery handling 2026-10-16 16:11:05 +08:00
hy 9215622872 feat: enhance WPS integration feedback and user experience
- 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.
2026-10-16 15:47:46 +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 596378ee65 Merge branch 'main' of github.com:Yoan98/Ncurator-Desktop 2026-10-16 12:25:08 +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 c4dd0099c3 fix(test): track all delegated children and current interruption rows 2026-10-15 18:39:07 +08:00
Yoan Huang 22a318788f fix(test): wait for stable subagent cloud transforms 2026-10-15 18:03:16 +08:00
Yoan Huang 16c6235991 release: prepare windows-v1.0.9 2026-10-15 17:26:55 +08:00
Yoan Huang 127e0e2215 test: verify packaged free model gateway in provider smoke 2026-10-15 17:06:56 +08:00
Yoan Huang 3fde4ad113 fix(test): account for fractional DPI in DOCX scrollbar width 2026-10-15 16:59:53 +08:00
Yoan Huang daddd74e53 fix(test): select DOCX review by target filename 2026-10-15 16:58:38 +08:00
hy 4d1c0ba7e2 Merge branch 'main' of github.com:Yoan98/Ncurator-Desktop 2026-10-15 16:44:06 +08:00
hy 854cde204f feat: Implement free model catalog service and update related components
- 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.
2026-10-15 16:15:04 +08:00
Yoan Huang f28408c4eb fix(test): handle Windows DPI and native input in release regression 2026-10-15 16:00:12 +08:00
hy 670c26eddf feat: Enhance image handling and model capabilities in AI harness
- 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.
2026-10-15 15:16:14 +08:00
Yoan Huang 6ff92bd146 fix(test): inspect original tool content for Windows source evidence 2026-10-15 14:17:02 +08:00
Yoan Huang 2f154a6197 fix(test): support Windows backend release gates 2026-10-15 13:52:34 +08:00
hy 1ca7fc269d docs(test): make native notification checks best effort 2026-10-15 12:53:34 +08:00
hy c1392abb01 test(e2e): align release regressions with current UI contracts 2026-10-15 11:34:12 +08:00
hy 8baf879979 test: validate source content for terminal and text tool reads 2026-10-14 22:15:22 +08:00
hy ecc1dfc39b test: verify subagent cache reuse without an arbitrary call count 2026-10-14 20:50:36 +08:00
hy cad0a1600b fix: align question requirements and tests with zero to four options 2026-10-14 20:36:03 +08:00
hy af14ef0554 fix: restore tidy behavior boundaries and require relevant tests 2026-10-14 19:44:37 +08:00
hy 403848569f Refactor knowledge test plans and unit tests for workspace indexing
- 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.
2026-10-14 18:01:13 +08:00
hy e896a0396f refactor: Update test plans and assertions for workspace and settings modules
- 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.
2026-10-14 17:04:45 +08:00
hy 7f20b60e98 Refactor test documentation structure and update UI style guidelines
- Revised the test documentation to improve clarity and organization, including renaming sections and updating headings for better navigation.
- Consolidated test case rules and execution processes into a more coherent format.
- Removed redundant boundary definitions in the UI style document, focusing on design language and visual consistency.
2026-10-14 16:10:35 +08:00
hy 41983f0b69 refactor: improve clarity and structure in documentation for tool design, release process, and AI testing 2026-10-14 15:26:13 +08:00