34 Commits
Author SHA1 Message Date
huangyuan 2708d5a8ae feat: add issue templates for bug reports, feature requests, and questions; update contributing guidelines and README 2026-10-23 18:57:31 +08:00
hy af8d9e05ff chore: remove terminal compatibility CI workflow, tests are local-only now 2026-08-14 18:50:15 +08:00
hy 553b6830de feat: update Windows release process to remove Actions fallback and enforce local builds only 2026-08-07 11:15:02 +08:00
Yoan Huang 81b130bb67 feat(tests): update execution modes and improve workspace binding
- Set execution mode to 'exclusive' for specific e2e tests to ensure isolated execution.
- Set execution mode to 'live' for various e2e tests to enable real-time interactions.
- Refactor workspace binding in tests to use direct binding method for improved reliability.
- Enable file parallelism in Vitest configurations to enhance test execution efficiency.
2026-07-26 10:54:29 +08:00
Yoan Huang cc7e473a58 refactor(release): always prune superseded packages 2026-07-24 22:30:38 +08:00
Yoan Huang ada4c149e0 refactor(release): require packaged regression before publish 2026-07-24 22:19:25 +08:00
hy 3c25f2b4a3 feat(release): split platform tag versions 2026-07-24 19:02:42 +08:00
Yoan Huang 5ec6bf1824 feat(release): split candidate preparation and publishing 2026-07-22 11:46:50 +08:00
Yoan Huang 4ddc364528 feat(release): implement artifact bundle creation and verification
- Added `artifact-bundle.mjs` for creating and verifying release bundles.
- Updated macOS and Windows release scripts to create and upload release bundles.
- Introduced `--package-e2e` flag to run end-to-end tests on packaged releases.
- Modified `package.json` scripts to remove deprecated commands and streamline release process.
- Enhanced E2E testing to utilize release bundles instead of building from source.
- Added unit tests for artifact bundle creation and verification.
- Removed obsolete `route-windows.mjs` script in favor of a unified `windows.mjs` script.
2026-07-22 11:31:12 +08:00
hy 7b057c05f8 refactor: reorganize scripts and update paths for build and release processes
- Removed obsolete test script `test_crawl4ai_fit_markdown.py`.
- Deleted `verify-package-main-obfuscation.mjs` as it is no longer needed.
- Updated paths in `app-update-publish-config.test.ts` to reflect new script locations.
- Refactored `package-content-policy.test.ts` to use new paths for content policy scripts.
- Adjusted `package-main-obfuscation.test.ts` to point to the new obfuscation script locations.
- Modified `package-size-budget.test.ts` to use updated paths for size budget scripts.
- Changed `r2-update-metadata-contract.test.ts` to reference the new metadata script.
- Updated `release-fragment-contract.test.ts` to use the new fragment contract script.
- Refactored `release-storage-layout.test.ts` to point to the new storage layout script.
- Added `runtime-trace.test.ts` to test runtime tracing functionality.
- Updated `node-pty-native-release.test.ts` to reflect new paths for native release scripts.
2026-07-20 17:03:38 +08:00
hy 5121702a37 feat: implement terminal environment and platform adapters for macOS and Windows
- Add TerminalEnvironment to manage environment variables for terminal sessions.
- Create MacTerminalAdapter and WindowsTerminalAdapter to handle platform-specific terminal commands and behaviors.
- Introduce TerminalProtocol for structured communication between the terminal and the application.
- Implement tests for terminal platform adapters, ensuring correct handling of UTF-8 and command execution.
- Remove deprecated Windows PowerShell command encoding function.
2026-07-20 15:47:45 +08:00
Yoan Huang d6fdf50e45 refactor(release): publish platforms independently on R2 2026-07-19 16:43:32 +08:00
hy cbb6a04fb3 Merge branch 'main' of github.com:Yoan98/Ncurator-Desktop 2026-07-15 10:34:10 +08:00
hy a6bf082e0a feat: enhance web crawler sidecar build process and add package content policy
- Updated the build_web_crawler_sidecar.py script to remove full Chromium from bundled browsers and added a function to prune non-runtime files.
- Enhanced create-release-fragment.mjs to validate package security audit data.
- Introduced package-content-policy.mjs to enforce restrictions on forbidden file types and directories in packages.
- Added prepare-package-stage.mjs for staging package preparation, including runtime dependency installation and resource pruning.
- Implemented print-package-audit-summary.mjs to generate a summary of package security audits.
- Created runtime-bundle-graph.mjs to analyze runtime dependencies and collect package names.
- Refactored verify-runtime-bundles.mjs to utilize the new runtime-bundle-graph module for better dependency management.
- Updated release-fragment-contract.test.ts to include tests for package audit integration and validation.
2026-07-15 09:39:19 +08:00
Yoan 1ab186717d feat: implement local Windows release management and inspection scripts
- Add `release-doctor.mjs` for inspecting local Windows release environment.
- Enhance `release-environment.mjs` to resolve AWS CLI executable on Windows.
- Create `release-status.mjs` for checking public release status across platforms.
- Introduce `release-windows-local.mjs` for building and uploading Windows releases locally.
- Implement `route-windows-release.mjs` to route release processes between local and GitHub Actions.
- Add `windows-release-common.mjs` for shared functions related to Windows releases.
- Update preload scripts to remove E2E fixture mode for app updates.
- Adjust CSS for draggable regions in Windows titlebars.
- Remove outdated E2E tests related to app updates.
- Update tests to reflect new local-first Windows release strategy and ensure proper handling of update scenarios.
2026-07-14 22:41:09 +08:00
hy 3366ea0f5a refactor: publish desktop releases directly to R2 2026-07-14 14:02:44 +08:00
hy cb506b1bf5 Refactor live test cases and improve assertions
- Removed redundant semantic checks in human conversation memory tests.
- Updated model configuration handling in various live test cases.
- Enhanced assertions for document processing and web crawling tests.
- Improved readability by restructuring multiline statements and normalizing text.
- Added new test for macOS signing identity requirements in app update configuration.
- Adjusted workspace knowledge base seeding to include source preparation.
2026-07-14 11:51:42 +08:00
hy 9bd424cd1c refactor: remove obsolete tests and improve existing test coverage
- Deleted the `missing-llm-notification-startup.e2e.test.ts` file as it is no longer needed.
- Enhanced `send-guard-mode-switch-and-preferences.e2e.test.ts` to include checks for missing model notifications.
- Removed `browser-use-deepseek-financing-search.e2e.test.ts` due to redundancy.
- Cleaned up `chat-run-service-contract.test.ts` by removing performance tests that are no longer relevant.
- Updated `aiLiveTestData.ts` to remove unused constants and types related to risk reports.
- Removed `aiToolHarness.ts` function for writing sample documents as it is no longer utilized.
- Updated `llmConfig.ts` to infer LLM provider kind from environment variables.
- Cleaned up `cache-summary.ts` by removing unused JSON conversion functions.
- Deleted `browserLlmConfig.ts` as it was redundant.
- Enhanced `settings.ts` to support new application settings and improved HTTP server response handling.
- Removed unused functions from `workbench.ts` related to waiting for assistant answers.
2026-07-14 10:49:58 +08:00
hy 9cbab9d5bd release: prepare v0.1.1 publishing workflow 2026-07-13 19:30:10 +08:00
hy a8547a7347 ci: include version in R2 download filenames 2026-07-13 17:57:57 +08:00
hy 0c015ae171 ci: publish desktop installers to Cloudflare R2 2026-07-13 17:33:36 +08:00
hy ac58beddbe ci: detect existing Gitee tags from list 2026-07-13 15:02:24 +08:00
hy 6dc465e522 ci: use Gitee release form API 2026-07-13 14:56:38 +08:00
hy c5dbf68c22 ci: create Gitee release with JSON API 2026-07-13 14:52:56 +08:00
hy e35917061f ci: create Gitee tag before release 2026-07-13 14:48:03 +08:00
hy 9ec2faf32b ci: add Gitee release mirror test 2026-07-13 14:28:33 +08:00
hy 9f34739674 ci: upload only release assets 2026-07-13 13:16:10 +08:00
hy b828d4a8b6 ci: use node runtime with native prebuilds 2026-07-13 12:43:49 +08:00
hy 854f3bbb5f ci: pin compatible node and python runtimes 2026-07-13 12:39:15 +08:00
hy b4d127f393 ci: fix github dependency rewrite step 2026-07-13 12:33:07 +08:00
hy 07a97c6b9e ci: fetch git dependencies over https 2026-07-13 12:30:52 +08:00
hy dc9473befa ci: use package manager version from package.json 2026-07-13 12:27:49 +08:00
hy 988f3e0b2f ci: finalize desktop release workflow 2026-07-13 12:25:11 +08:00
hy b8146709b0 feat(tests): add end-to-end tests for workbench functionalities
- Implement multi-file apply tabs test to ensure assistant retains all entries and tabs during modifications.
- Create file preview actions test to verify the preview layout and toolbar actions for local files.
- Add search results open rules test to confirm that search mode does not trigger AI and handles web/local results correctly.
- Introduce approval batch flow test to validate user decisions on approval cards during AI runs.
- Develop stop running or approval run test to check the behavior of the stop button during approval waits.
- Implement workspace required continue test to ensure users can continue requests after providing a workspace root.
- Add AI process stream and final answer test to verify the display of process streams and final outputs.
- Update run log contract to include 'workbench' as a test domain.
- Modify run-e2e-case to accept 'workbench' as a valid domain for test cases.
- Create a new workbench helper file to encapsulate workbench-specific E2E testing utilities.
2026-06-12 11:32:43 +08:00