Commit Graph
1730 Commits
Author SHA1 Message Date
hy 07b41398fd release: prepare mac-v1.0.7 2026-09-27 08:27:16 +08:00
Yoan Huang 819f2231bd release: prepare windows-v1.0.7 2026-09-26 17:18:43 +08:00
Yoan Huang 503ccab63e fix: align release gates and image rollback boundary 2026-09-26 16:55:20 +08:00
Yoan Huang 9006883fd5 fix: update text color for Activity header and interaction results to maintain consistent UI styling 2026-09-26 11:42:07 +08:00
Yoan Huang 327207da45 refactor: update UI styles to use consistent text color for Thought and Activity components
- Changed text color for decision layer (Thought) and response content to normal body color (#37352F) for better readability.
- Updated various components in the AssistantTurnCard to reflect the new color scheme, ensuring consistency across the UI.
- Adjusted styles in markdown rendering to maintain uniformity in text presentation.
- Enhanced visual feedback for process statuses, ensuring failed states are clearly indicated while maintaining a cohesive design.
2026-09-26 11:33:32 +08:00
Yoan Huang 560733cec2 feat: implement pending user message submission handling and context budget safety checks 2026-09-26 11:09:13 +08:00
Yoan Huang 36271b52eb fix: adjust alignment and sizing for reference icons and tokens in Markdown rendering 2026-09-26 10:26:20 +08:00
Yoan Huang 0a93fbb2f5 feat: enhance Markdown rendering with improved list styles and math support 2026-09-26 10:08:06 +08:00
Yoan Huang 1d8b80a55f test: stabilize terminal approval live flow 2026-09-25 14:48:05 +08:00
Yoan Huang b98e04c842 fix: refine terminal review activity and e2e 2026-09-25 14:31:44 +08:00
Yoan Huang 15589831e5 refactor: update workbench test plan and improve UI interactions
- Revised the `queue-message-during-run` test case to clarify button behavior during message queuing.
- Enhanced the `AssistantTurnCard` component to display AI and human review results distinctly.
- Modified the `WorkbenchComposer` to streamline button states and tooltips based on current actions.
- Updated message log projection to include terminal review decisions.
- Adjusted types to accommodate new terminal review decision states.
- Improved utility functions for handling terminal review results.
- Refined end-to-end tests for AI question flow and approval batch flow to ensure accurate UI behavior and state management.
2026-09-25 13:30:45 +08:00
Yoan Huang bd3a449dee feat: implement terminal review process with state management
- Added support for terminal review events including `terminal_review_started`, `terminal_review_resolved`, and `terminal_review_blocked`.
- Enhanced `projectProcessGroups` to handle terminal review states and update process items accordingly.
- Introduced `removePendingTerminalReviewItems` utility to filter out items based on their terminal review state.
- Updated types to include `terminalReviewState` in `AssistantProcessGroupItem`.
- Modified event handling in `reduceAssistantProcessGroups` to accommodate new terminal review events.
- Enhanced tests to cover terminal review scenarios and ensure correct state transitions.
2026-09-25 12:40:36 +08:00
Yoan Huang 9b3c1b43ec Merge branch 'main' of github.com:Yoan98/Ncurator-Desktop 2026-09-25 10:49:51 +08:00
Yoan Huang 8c48aef06e Refactor code structure for improved readability and maintainability 2026-09-25 10:49:43 +08:00
hy e162835950 feat: queue messages during AI runs 2026-09-25 10:40:00 +08:00
hy eba6bb1e51 feat: refine terminal command review flow 2026-09-24 20:13:15 +08:00
hy 0b3419491d refactor: enhance terminal review prompt and approval batch flow logic 2026-09-24 18:29:41 +08:00
hy 7e8a1d0b8a fix: adjust button layout in AssistantTurnCard for better alignment 2026-09-24 17:51:10 +08:00
hy ad84ef4e87 feat: enhance AI terminal review and approval processes
- Updated the terminal review prompt to clarify decision-making criteria for commands.
- Improved the formatting of run duration display to handle cases with zero minutes.
- Refactored E2E tests for AI terminal review to use more descriptive test names and ensure clarity in approval scenarios.
- Enhanced E2E tests for AI question flow to validate partner switching and state restoration after refresh.
- Added observation timeout for approval batch flow tests to ensure proper handling of approval states.
- Adjusted the logic for reading approval waiting snapshots to include new UI elements for guidance.
- Improved the validation of duration formats in process tests to ensure consistency in displayed time.
- Refined the locator logic for waiting on the latest assistant process to avoid conflicts with item and toggle prefixes.
2026-09-24 17:40:01 +08:00
hy cb43b2871b refactor: remove fallbackCode from terminal review types and related logic 2026-09-24 16:45:00 +08:00
hy 8b3428c43c refactor: update terminal review prompt structure and logic
- Renamed TerminalReviewPromptOperation to TerminalReviewPromptCommand and updated its properties.
- Simplified the terminal review system prompt for clarity and conciseness.
- Modified rendering functions to accommodate new command structure.
- Updated types to reflect changes in terminal review decisions from operations to commands.
- Enhanced AssistantTurnCard to display run duration and manage process expansion state.
- Added handling for run start and finish timestamps in ChatPage.
- Adjusted tests to align with the new command-based terminal review structure.
- Improved UI tests to verify assistance badge visibility and process duration display.
2026-09-24 16:35:25 +08:00
hy e1a54524bb Refactor terminal review process and enhance approval flow
- Updated terminal command execution policies to allow auto-approval under specific conditions.
- Revised AI test cases to validate the new terminal review and approval mechanisms.
- Introduced a new prompt structure for terminal command reviews, ensuring clarity in decision-making.
- Enhanced the handling of terminal command operations, including better tracking of operation IDs.
- Improved test utilities to facilitate the collection of terminal review decisions.
- Adjusted end-to-end tests to verify the correct behavior of the approval batch flow in the workbench.
- Ensured that the terminal's working directory is correctly set to the user's home directory.
2026-09-24 15:57:34 +08:00
hy 13a7c0e43c feat: Enhance terminal command risk analysis and approval process
- Implemented `stripHereDocumentBodies` function to handle here-documents in terminal commands.
- Updated `analyzeTerminalRiskPolicy` to auto-allow empty commands and improve command parsing.
- Added new annotation type for terminal review resolution in shared types.
- Created comprehensive tests for terminal command review processes, including auto-approval and human review escalation scenarios.
- Refined approval batch handling in tests to ensure accurate decision-making and event tracking.
- Improved handling of dangerous commands and refined risk analysis logic in terminal command policies.
- Enhanced e2e tests for workbench run scenarios to validate approval workflows and execution permissions.
2026-09-24 14:47:04 +08:00
Yoan Huang 50306efd72 release: prepare windows-v1.0.6 2026-09-23 12:40:05 +08:00
Yoan Huang 2d4ffffae9 fix(workbench): keep approval waiting copy as 等待用户处理
Align package E2E and PRD AC6 with the intended Activity header.
2026-09-23 12:35:42 +08:00
Yoan Huang 6c955ef10b release: prepare windows-v1.0.6 2026-09-23 12:33:03 +08:00
Yoan Huang c9d7341298 fix(workbench): restore approval waiting Activity copy
WB-BLOCKER-001-AC6 expects 等待用户审核中 while question waits stay 等待用户处理.
2026-09-23 12:26:43 +08:00
Yoan Huang 7fb4c9ce84 release: prepare windows-v1.0.6 2026-09-23 10:42:05 +08:00
hy 6aad29424e release: prepare mac-v1.0.6 2026-09-22 21:56:29 +08:00
hy 073dd04c2d fix(e2e): prevent duplicate page observer listeners on navigation
framenavigated reinstalled IPC listeners on the same document, so each
workspaceDirectoryList was counted twice and workspace-prepare-refresh
failed AC7 despite a single product refresh.
2026-09-22 21:36:22 +08:00
hy 4a85f261fe release: prepare mac-v1.0.6 2026-09-22 20:30:56 +08:00
hy 302b6e89a3 fix(e2e): skip hung Playwright close after graceful exit wait
Graceful app.exit already waits briefly; calling electronApp.close() afterward
can hang for 15s+. Force-kill immediately when the process is still alive, and
cover the SIGKILL allowlist in unit tests.
2026-09-22 20:24:06 +08:00
hy fbe20878de release: prepare mac-v1.0.6 2026-09-22 20:17:44 +08:00
hy 318cfb035f fix(e2e): treat intentional SIGKILL teardown as success
When Playwright close hangs, harness force-kills Electron. If the test
already passed, do not fail release:start on that SIGKILL exit.
2026-09-22 20:15:10 +08:00
hy 2868307a21 fix(e2e): force-kill Electron if Playwright close hangs
prefix-cache-retain-live assertions could pass then hang ~45m in
electronApp.close during teardown. Race close with a 15s timeout and
SIGKILL the process so release:start live gate can finish.
2026-09-22 20:04:31 +08:00
hy b0165ef23f fix(workbench): keep thought file links openable without final linkAccess
Thought markdown must not use delivery linkAccess sidecar; that marked
in-thought file refs unavailable (no icon, not clickable). Pass only
onOpenReference so refs stay openable like streaming.
2026-09-22 19:04:47 +08:00
hy 9e2dd1da97 feat: enhance MarkdownEditor and MarkdownRenderer with improved cleanup and rendering logic 2026-09-22 18:56:25 +08:00
hy 05beccd9dc feat: add support for 'question' icon in assistant process and execution summaries 2026-09-22 18:03:01 +08:00
hy d63f49d3b2 feat: update interaction card titles and improve UI consistency for AI questions and approvals 2026-09-22 17:19:57 +08:00
hy dec6b5c7c5 feat: enhance ask_user_question functionality to support multiple questions and ensure proper dispatch order 2026-09-22 17:04:28 +08:00
hy cabe42d450 feat: enhance user question handling by enforcing option limits and updating UI components 2026-09-22 16:44:24 +08:00
hy fa5038e498 refactor: update ask user question schema and related components
- Changed the structure of AskUserQuestionAnswer to use questionId, selectedOptionIds, and userText instead of id, selected, and custom.
- Updated the HumanInteractionCard component to reflect the new answer structure, including handling user text input.
- Modified the AssistantTurnCard and message log projection to accommodate the new answer format.
- Adjusted tests to ensure compatibility with the updated schema and answer structure.
- Cleaned up code for better readability and consistency across components.
2026-09-22 16:26:53 +08:00
hy f16a9ca962 feat: Refactor HumanInteractionCard and introduce WorkbenchInteractionCard
- Enhanced HumanInteractionCard to support partner name and cancellation state.
- Introduced WorkbenchInteractionCard and WorkbenchInteractionFooter for better code organization and reusability.
- Updated placeholder functions for partner guides.
- Modified types to include 'cancelled' state for AssistantTurnViewModel.
- Adjusted utility functions to handle run cancellation events.
- Updated ChatPage to utilize new components and handle approval interactions more effectively.
- Improved e2e tests to validate cancellation behavior and UI state.
2026-09-22 15:22:10 +08:00
hy 3d4bbe2b57 feat: remove unnecessary height styles from partner select component 2026-09-22 14:53:19 +08:00
hy 735809d572 feat: update PartnerSelect component to enhance search input styling and remove unnecessary search props 2026-09-22 14:50:32 +08:00
hy 2368801219 feat: enhance partner selection with animated avatars and update related tests 2026-09-22 14:48:55 +08:00
hy 53b3571d29 feat: implement boolean string repair for tool arguments and enhance related tests 2026-09-22 14:19:49 +08:00
hy 8fd8a9d181 feat: update dispatch flow to include human interaction handling 2026-09-22 14:06:30 +08:00
hy 4a9dfd46d5 feat: enhance question interaction handling in assistant workflow
- Implemented resolveQuestionInteraction utility to extract interaction details from assistant process items.
- Updated AssistantActivityItemView to utilize the new interaction resolution logic.
- Refactored messageLogProjection to ensure thoughts are only created when thinking is open.
- Enhanced reduceAssistantProcessGroups to handle human interaction events and apply question interaction results.
- Added applyQuestionInteractionResult to manage answers from resolved interactions.
- Updated tests to cover new interaction handling and ensure correct behavior across various scenarios.
- Improved e2e tests for scheduled tasks to validate interaction flows and partner management.
2026-09-22 13:36:55 +08:00
hy 9b6fc1fce4 feat: enhance handling of free models without vision; update related logic and tests 2026-09-22 09:52:15 +08:00