22 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
hy e84f8360d5 feat: integrate Jieba support and enhance VC++ redistributable handling for Windows 2026-10-21 12:36:45 +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 f069b5f8ef fix(build): prune unused distributions and include formula runtime peer 2026-10-14 21:56:27 +08:00
hy d0f34b5999 fix(build): preserve dependency patches during frozen staging install 2026-10-14 21:06:36 +08:00
hy 7f1245ea55 feat: add WPS sync addon for document refresh on local file changes
- Introduced a new WPS addon manifest and ribbon configuration.
- Implemented WpsAddonInstaller for managing addon installation and configuration.
- Created WpsSyncService to handle synchronization events and document tracking.
- Added utility functions for handling office file write notifications.
- Developed publishXml functions to manage the merging of publish.xml for the addon.
- Implemented tests for WpsSyncService, WpsAddonInstaller, and office file notifications.
- Added end-to-end tests for verifying WPS reload behavior on document modifications.
2026-09-15 10:00:02 +08:00
hy a2608a9f55 feat: update package size budgets and enhance runtime package pruning logic for optimized builds 2026-09-01 18:03:14 +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 c193edf338 Refactor web crawler sidecar build process and improve Playwright browser handling
- Removed bundled Playwright browser assertions and adjusted driver bundle copying to ignore local browsers.
- Introduced new assertions to ensure no Playwright browser files are bundled with the sidecar.
- Updated macOS and Windows release scripts to remove references to the sidecar browser cache.
- Enhanced WebCrawlerService to utilize an isolated Electron CDP connection for better browser context management.
- Added ElectronWebCrawlerBrowserHost class to manage browser connections and views.
- Updated tests to reflect changes in the web crawler service and ensure proper handling of CDP connections.
- Improved message rendering for AI interactions, including better formatting for tool calls and AI messages.
- Adjusted various test cases to align with new functionality and ensure robustness.
2026-09-01 15:53:33 +08:00
hy 233ae1110c fix(build): update main obfuscation markers to match current system prompt text 2026-08-31 14:44:39 +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
Yoan Huang 2c3122e0ef feat: enforce packaged Windows VC++ runtime DLL presence in audit 2026-08-20 21:12:32 +08:00
hy 5fb9590a00 feat: add Microsoft Visual C++ Redistributable DLLs and error handling for embedding initialization 2026-08-20 11:20:01 +08:00
hy 746db0b522 fix: bundle vditor assets and inline i18n for markdown editor
vditor loads lute/katex/highlight/i18n at runtime via its cdn option,
so its dist resources must be copied into the renderer public dir during
build. The vditor-assets script was never wired into build and had TS
type annotations that made it fail as plain .mjs.

- wire vditor-assets into the build chain before electron-vite build
- rewrite vditor-assets to plain JS
- pass an inlined zh_CN i18n object to Vditor so it no longer loads
  i18n/zh_CN.js dynamically and cannot pop its own vditor-tip toast
2026-08-19 13:50:45 +08:00
hy 06324f7c11 refactor: streamline PlainTextEditor and remove editableDirtyRegistry
- Refactored PlainTextEditor to utilize autoSave and flushSave for managing content changes.
- Removed the editableDirtyRegistry as its functionality is now integrated within useEditableTextFile.
- Updated the markdownEditor CSS for improved styling and consistency.
- Enhanced useEditableTextFile to handle automatic saving and external changes more efficiently.
- Adjusted ChatPage to eliminate unused discard edits confirmation logic.
- Updated selectors to remove references to deleted editable file components.
- Improved end-to-end tests for markdown and plain text editors to reflect new auto-save behavior and UI changes.
2026-08-18 16:34:38 +08:00
hy a75ee93763 fix: prune stale playwright browsers from the sidecar venv before bundling 2026-08-05 12:07:08 +08:00
hy a8ec8aec08 fix: cap vector download e2e timeout, validate sidecar browser revision, pick chat-capable default model, and widen interrupted scan window 2026-08-05 11:32:23 +08:00
Yoan Huang c1657dc313 fix: retain exceljs runtime modules in package 2026-08-01 12:25:03 +08:00
hy e31ed6a008 feat: enhance open-with functionality and session skill persistence
- Added selectors for open-with button and menu in testing selectors.
- Introduced new types for handling open-with applications and requests in shared types.
- Updated tests to save chat sessions and validate session skill states across multiple runs.
- Implemented new tests for open-with panel and service, ensuring correct application handling.
- Refactored existing tests to accommodate changes in preview mode toggles and application handling.
- Enhanced SQLite storage tests to verify session skill persistence and deletion.
- Updated e2e tests to validate open-with functionality and session skill memory across runs.
2026-07-23 18:37:09 +08:00
Yoan Huang 4288a7ffb8 fix(release): shorten Windows sidecar build paths 2026-07-22 12:06:06 +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