Commit Graph
1222 Commits
Author SHA1 Message Date
hy 20d4be331e feat: enhance scheduled task handling to skip missed runs during sleep and adjust related tests 2026-08-21 15:16:05 +08:00
hy fe138ec1c7 feat: implement app shutdown handling during update installation process 2026-08-21 13:32:30 +08:00
hy dc53dd3ed5 feat: add scheduled task management features and UI integration
- Introduced a new WorkbenchModelSelector variant for form usage.
- Updated ChatPage to manage scheduled tasks state more effectively.
- Added selectors for scheduled task elements in the testing suite.
- Implemented unit tests for ScheduledTaskService, covering task lifecycle and validation.
- Created end-to-end tests for scheduled task creation, editing, enabling, and deletion.
- Enhanced workbench interaction functions for scheduled tasks.
2026-08-21 13:29:31 +08:00
hy 27e0dd5599 feat: enhance browser interaction with refined action handling and schema updates 2026-08-21 11:03:37 +08:00
hy 5105631bc6 fix: update local environment time formatting and adjust test cases for consistency 2026-08-21 10:50:01 +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 c11de7f18c test: retry transient EBUSY during backend workspace cleanup 2026-08-20 21:26:52 +08:00
Yoan Huang 82072e80f4 test: fix stale referenceScope import path after prompt relocation 2026-08-20 21:20:17 +08:00
Yoan Huang 2c3122e0ef feat: enforce packaged Windows VC++ runtime DLL presence in audit 2026-08-20 21:12:32 +08:00
Yoan Huang 9823b08af4 test: align embedding error assertions with wrapped failure messages 2026-08-20 21:12:17 +08:00
hy a75478e2e7 refactor: adjust floating placement logic with topInset for improved positioning 2026-08-20 18:08:27 +08:00
hy 49845256ff refactor: update vision model analysis system prompt for clarity and specificity 2026-08-20 17:11:01 +08:00
hy 3b10f93c90 refactor: improve layout and styling of model selection components in WorkbenchModelSelector 2026-08-20 16:35:33 +08:00
hy f78bfda7fe feat: enhance vision model AI filtering with local caching and improved analysis flow
- Updated the AI filtering mechanism to read from local cache before making requests, improving performance and user experience.
- Modified prompts for vision model analysis to focus on identifying models that support visual input.
- Refactored the analysis response structure to return only model names, simplifying the data handling.
- Improved error handling and retry logic for analysis requests to ensure robustness.
- Adjusted UI components to reflect changes in data structure and enhance user interaction.
- Updated tests to cover new functionality and ensure correctness of the vision model analysis process.
2026-08-20 16:23:55 +08:00
hy 561110c94f refactor: simplify prompt definitions for vision model analysis and visual recognition 2026-08-20 14:35:38 +08:00
hy a72a3deba2 feat: implement visual recognition service and related schemas, prompts, and tools 2026-08-20 14:11:43 +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 7141df3f73 Merge branch 'main' of github.com:Yoan98/Ncurator-Desktop 2026-08-20 10:56:09 +08:00
hy 6226b193be feat: add vision model analysis functionality
- Implemented vision model analysis schema and normalization logic in visionModelAnalysis.ts.
- Added API types for vision model analysis requests and responses in types.ts.
- Integrated vision model analysis into the preload API and renderer components.
- Created UI components for selecting vision models with AI filtering options.
- Added styles for new UI components in base.css.
- Developed unit tests for vision model analysis logic.
- Implemented end-to-end tests for vision model AI filtering functionality.
2026-08-20 10:56:02 +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 d3cb56824b test(workbench): adapt text-file-apply case to markdown opens-as-editor
Markdown files now open directly into the editable MarkdownEditor instead
of the read-only markdownViewer, so the apply case's two file_preview
assertions switched to markdownEditor. The apply-record preview/diff/revert
flow is unchanged (applyDocuments stays read-only).
2026-08-19 17:25:11 +08:00
hy 0d004b3479 release: prepare mac-v0.1.65 2026-08-19 16:21:00 +08:00
hy 3ea0628a65 fix(release): seed native cache in macOS test stage
The test stage builds a clean workspace from the tag but only ran
pnpm install without seeding the prebuilt native cache, so package E2E
re-downloaded better-sqlite3 from GitHub release assets on every run and
failed on flaky network. Seed the cache like the prepare stage does.
2026-08-19 16:11:57 +08:00
hy 2799cbb4ab release: prepare mac-v0.1.64 2026-08-19 15:17:59 +08:00
hy 9dad1c9ec0 fix(test): always run vector warmup for package E2E when running multiple cases
The only warmup case lives under the settings domain, so filtering with
--domain/--suite/--case excluded it and left every selected case to index
the workspace fixture from scratch. Package E2E now appends the warmup
case whenever more than one case is selected, and the warmup task bypasses
--testNamePattern so targeted --case runs still seed the shared cache.
2026-08-19 15:15:32 +08:00
hy 772b0243f1 release: prepare mac-v0.1.63 2026-08-19 13:58:44 +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 28e4f1bf86 release: prepare mac-v0.1.62 2026-08-19 12:16:52 +08:00
hy c51f0830a1 feat: replace LineNumberGutter with LineNumberOverlay for improved line number display in editors 2026-08-19 11:42:25 +08:00
hy 494de66cf6 feat: add line number gutter to editors and enhance markdown rendering with improved title handling 2026-08-19 11:27:59 +08:00
hy 5ba1139a8d feat: enhance markdown editor with immersive rendering, auto-save, and improved layout stability 2026-08-19 09:44:08 +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 c45b6592bb feat: implement editable text file handling with conflict resolution
- Add `useEditableTextFile` hook for managing editable text files, including loading, saving, and detecting external changes.
- Introduce `sha256Hex` utility for hashing file contents.
- Enhance `WorkbenchContentPanel` to classify editable text kinds and manage state accordingly.
- Update `ChatPage` to handle unsaved changes when opening new files or closing tabs.
- Create new selectors for editable file components in the testing suite.
- Implement tests for text file writing service, ensuring atomic writes and conflict detection.
- Add end-to-end tests for markdown and plain text editors, verifying edit, save, and conflict handling functionalities.
2026-08-18 14:22:46 +08:00
hy 36d4c39628 release: prepare mac-v0.1.61 2026-08-17 10:07:09 +08:00
Yoan Huang fc28449220 release: prepare windows-v0.1.61 2026-08-15 19:54:08 +08:00
Yoan Huang 2dbe42fd3c feat: upgrade node-pty to 1.2.0-beta.15 to fix conpty race 2026-08-15 19:47:03 +08:00
Yoan Huang c82718ad8d release: prepare windows-v0.1.60 2026-08-15 17:06:29 +08:00
Yoan Huang 4b683839cb test: drop structured-output strategy reuse assertion from session e2e
The runtime fallback chain and strategy preference storage were removed
by design; the session e2e kept asserting the old reuse behavior.
2026-08-15 17:02:15 +08:00
Yoan Huang 5d3604e091 fix: surface provider HTTP errors with status instead of internal failure
The structured output refactor dropped the LlmProviderError conversion,
so provider HTTP errors surfaced as generic internal failures without
httpStatus. Wrap errors carrying an HTTP status into LlmProviderError
before rethrowing, leaving output, cancellation, timeout and network
errors untouched.
2026-08-15 17:02:06 +08:00
Yoan Huang 97632b82d4 release: prepare windows-v0.1.59 2026-08-15 14:48:15 +08:00
Yoan Huang ef0575d761 test: align unit tests with workspace prompt contract and platform path semantics 2026-08-15 14:43:59 +08:00
Yoan Huang 406d962807 fix: trim trailing empty rows and drop rename cell marker in Excel diff
spliceRows leaves trailing empty rows that the row alignment treated as
inserted rows, inflating change counts with bottom duplicates. Trim
trailing empty rows from both sides before alignment, and stop pushing a
fake A1 cell change for sheet renames (tab color is the rename marker).
2026-08-15 14:43:52 +08:00
Yoan Huang 3e31f9ae10 fix: harden terminal protocol markers against Windows ConPTY line re-rendering
ConPTY re-renders wrapped lines by inserting ANSI cursor sequences and
duplicating boundary characters into long marker lines, corrupting the
base64 cwd payloads. Widen the PTY to 1000 columns so marker and envelope
lines never wrap, and strip ANSI/CR/LF noise from marker payloads.
2026-08-15 14:43:44 +08:00
Yoan Huang 1d2241569f fix: update DOCX and PPTX attachment handling to retain absolute paths and improve test accuracy 2026-08-15 13:26:40 +08:00
Yoan Huang 4e84826654 feat: enhance Docx and Excel tools with improved artifact handling and new terminal update/delete test case 2026-08-15 13:11:13 +08:00
Yoan Huang 454c73f8f9 fix: update task completion guidelines for user workspace in prompts 2026-08-15 11:52:33 +08:00
Yoan Huang 27ecb3cb02 refactor: remove supported attachment extensions and simplify attachment handling logic 2026-08-15 11:51:35 +08:00