Commit Graph
1161 Commits
Author SHA1 Message Date
hy 4886be6376 Refactor terminal command policy and attachment handling
- Replaced `resolveWorkspacePath` with `resolveToolPath` in various services to streamline path resolution.
- Updated error messages for invalid paths and workspace boundary checks.
- Enhanced attachment service to create source attachments directly from file paths without copying to runtime bucket.
- Removed unnecessary checks and legacy code related to workspace boundary enforcement.
- Improved handling of dropped and clipboard attachments in the workbench composer.
- Adjusted tests to reflect changes in attachment handling and workspace boundary logic.
2026-08-13 10:12:16 +08:00
hy 237e4ade04 feat: add execution permission feature to AI run management
- Introduced AiExecutionPermission type to manage execution permissions.
- Updated AiRunStore to include execution_permission in the database schema.
- Implemented execution permission handling in the WorkbenchComposer component.
- Enhanced ChatPage to manage execution permission state and persistence.
- Added UI elements for selecting execution permissions in the workbench.
- Updated tests to cover new execution permission functionality and its effects on AI run behavior.
2026-08-12 18:30:56 +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 364216d89f release: prepare windows-v0.1.58 2026-08-06 23:07:18 +08:00
Yoan Huang 4c7f1ab073 test: make vector model download retry flush robust against macrotask starvation on Windows fake timers 2026-08-06 23:02:32 +08:00
hy 9d0dd417db release: prepare mac-v0.1.58 2026-08-06 18:12:03 +08:00
hy a3993153e7 feat: keep scan/prepare action buttons enabled during index jobs and disable prepare only when vector model is missing 2026-08-06 17:40:26 +08:00
hy 7cec17e4cd test: auto-provision shared vector model for e2e real-mode cases 2026-08-06 17:03:16 +08:00
hy c2c4e6f3fe fix: disambiguate settings workspace action button roles in e2e tests 2026-08-06 15:03:02 +08:00
hy 35b5be6f6a fix: complete model download source switching with configurable endpoints and e2e coverage 2026-08-06 15:02:56 +08:00
hy 0ab3785d6d feat: implement model download source selection and error handling with user feedback 2026-08-06 14:07:05 +08:00
hy 3d4a8eed8d feat: enhance model deletion and download logic with improved user feedback and path resolution 2026-08-06 11:01:33 +08:00
hy 24360bd563 feat: implement model deletion during active download with cancellation support 2026-08-05 18:53:13 +08:00
hy b0cf4fc052 feat: support multiple --case targets for release package E2E and drop dead resume-passed flow 2026-08-05 14:31:26 +08:00
hy 4c94500c04 release: prepare mac-v0.1.57 2026-08-05 13:07:51 +08:00
hy c7f2a74140 test: widen interrupted file scan window to 200k files for reliable restart interruption 2026-08-05 13:05:47 +08:00
hy f1fe258467 fix: update release notes to emphasize impact assessment and selective test case regression 2026-08-05 12:33:21 +08:00
hy 3c59188ec3 release: prepare mac-v0.1.56 2026-08-05 12:08:43 +08:00
hy a75ee93763 fix: prune stale playwright browsers from the sidecar venv before bundling 2026-08-05 12:07:08 +08:00
hy 474fa3592e release: prepare mac-v0.1.55 2026-08-05 11:37:51 +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
hy 511a27f8e3 Merge branch 'main' of github.com:Yoan98/Ncurator-Desktop 2026-08-05 09:54:24 +08:00
hy 0103c67ab9 fix: streamline issue handling and release process documentation 2026-08-05 09:54:19 +08:00
Yoan Huang f70a7b053b release: prepare windows-v0.1.55 2026-08-04 22:26:10 +08:00
Yoan Huang f6236e95ad test: constrain image update workflow 2026-08-04 22:21:13 +08:00
Yoan Huang 9d2a418d2d release: prepare windows-v0.1.54 2026-08-04 21:09:29 +08:00
Yoan Huang 48a637b895 test: wait for terminal artifact events 2026-08-04 21:04:30 +08:00
Yoan Huang 1fef72fe95 test: isolate live vision env validation 2026-08-04 20:56:19 +08:00
hy da5d20fba4 release: prepare mac-v0.1.54 2026-08-04 19:09:07 +08:00
hy dcf44c4702 test: sync package size budget assertions with updated mac app.asar baseline 2026-08-04 19:07:51 +08:00
hy 5534b5886f chore: raise mac app.asar size budget for excel/univer runtime growth 2026-08-04 18:59:21 +08:00
hy b3ac1ee046 fix: build mac sidecar venv outside the workspace root to avoid nltk CWD import blocks 2026-08-04 18:50:37 +08:00
hy 4abf86148f release: prepare mac-v0.1.53 2026-08-04 18:19:00 +08:00
hy 1731cf43e3 fix: allow empty version commit when releasing a mac version already present in package.json 2026-08-04 18:17:33 +08:00
hy 6fc6e2bada test: align text-file and live vision config contract tests with eager preview behavior 2026-08-04 18:15:07 +08:00
hy 6a8dfb2e54 feat: enhance multi-file modification handling with collapsible entry display and session restoration for apply targets 2026-08-04 18:04:07 +08:00
hy db0bbf6e8f feat: enhance workspace tab management and session restoration behavior for collapsed panels 2026-08-04 16:59:22 +08:00
hy 0b51b10d59 fix: restore embedded browser presentation after panel collapse and validate with real native pixels 2026-08-04 15:54:23 +08:00
hy 5901d24bb7 feat: enhance browser lifecycle tests to validate session restoration and visibility across panel switches 2026-08-04 14:54:31 +08:00
hy 2b853c70e2 test: clean stale E2E temp dirs before runs and remove stray media capture test 2026-08-04 13:23:19 +08:00
hy f50f4ebbdb feat: add comprehensive project guidelines and directory structure documentation 2026-08-04 13:03:50 +08:00
hy 96eb420299 feat: enhance file change visibility filtering to retain user-submitted runtime assets and improve attachment handling 2026-08-04 13:02:20 +08:00
hy 6a1c513b42 feat: enhance chat session UI state management and add structured output fallback tests
- Introduced new types for ChatSession UI state management including ChatSessionUiStateV1 and related structures.
- Implemented functionality to save and retrieve UI state for chat sessions.
- Added tests for structured output fallback scenarios in the AI human live backend.
- Enhanced unit tests for LLM executor to validate strategy replacement and persistence across runs.
- Created end-to-end tests to ensure session UI state isolation and persistence after application restart.
- Updated llmConfig to load structured fallback configurations from environment variables.
2026-08-03 19:00:51 +08:00
hy bccf284dc7 Refactor PPT and PDF tool specifications to remove warnings and improve output schemas
- Updated PPT tool specifications to replace output schemas with more specific ones.
- Changed warning properties to issues in PPT-related types.
- Removed warnings from PDF text normalization and related types.
- Adjusted tests to reflect the removal of warnings and ensure proper handling of tool outputs.
- Enhanced schema rendering to exclude runtime constraints while preserving TypeScript shapes.
2026-08-03 16:36:57 +08:00
hy c012577c84 feat: implement file change visibility filtering to exclude runtime assets 2026-08-03 14:30:06 +08:00
hy da37c0ed67 feat: enhance artifact event structure with change counts for improved tracking 2026-08-03 14:06:45 +08:00
hy 2e4ec03ddd refactor: enhance reference token lifecycle and workspace handling
- Updated the `reference-token-lifecycle` test to ensure candidates reflect the current workspace state, including newly added files without requiring an index update.
- Refactored the `buildWorkspaceReferenceItemsFromCurrentTree` function to utilize the current filesystem tree for generating reference items.
- Improved the handling of local and web references in the IPC handlers, ensuring accurate representation of workspace contents.
- Adjusted the AI file change service to materialize text previews more effectively and ensure records are saved correctly.
- Enhanced the WorkbenchComposer component to manage mention references more efficiently, including session handling and snapshot management.
- Added unit tests for workspace reference item snapshots to validate the correct behavior of the reference item lifecycle.
- Updated various components and services to ensure consistency in handling file paths and indexing states.
2026-08-03 13:35:51 +08:00
hy 00319a880b Refactor path utilities and update model path usage across services
- Replaced direct usage of MODELS_PATH with getModelsPath() in ModelService and VectorModelDownloadService.
- Updated LanceDbCore and SqliteCore to use getLanceDbPath() and getSqliteDbPath() respectively.
- Refactored WorkspaceKnowledgeCache to utilize getUserDataPath().
- Introduced new utility functions in paths.ts for better path management.
- Updated various tests to reflect changes in path handling.
- Enhanced file change tracking in terminal tests to ensure isolation between runs.
- Added unit tests for file change run scope functionality.
2026-08-03 10:57:37 +08:00
hy 650b8de521 feat: implement terminal command tracking for file changes
- Added support for tracking terminal commands and their associated file changes.
- Introduced new methods: beginTerminalCommandTracking, finishTerminalCommandTracking, and discardTerminalCommandTracking in the runtime and context.
- Updated terminal tools to utilize the new tracking methods, ensuring file changes are recorded immediately after command execution.
- Enhanced file change records to include terminal command context, allowing for better tracking and management of changes.
- Updated tests to cover new terminal command tracking functionality and ensure correct behavior during file operations.
2026-08-03 10:04:53 +08:00
Yoan Huang 1e92902f84 release: prepare windows-v0.1.53 2026-08-02 12:49:59 +08:00