Commit Graph
49 Commits
Author SHA1 Message Date
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 bc264319eb refactor: rename workspace index worker to prepare worker and update related types
- Renamed constants and types related to the workspace index worker to reflect its new role as a prepare worker.
- Removed the old workspace index worker implementation and created a new prepare worker implementation.
- Updated the client for the prepare worker to handle requests and responses appropriately.
- Adjusted tests to accommodate the changes in worker functionality and ensure proper handling of document preparation.
- Introduced new tests for embedding runtime to ensure serial execution of inference requests.
2026-07-13 18:02:05 +08:00
hy bee25b2022 Refactor unit tests and enhance functionality for AI model providers and workbench interactions
- Updated tests for chat model provider registry to include providerKind in configurations.
- Improved human memory renderers tests for better readability and accuracy in action definitions.
- Translated cancellation message in LLM executor text tests to Chinese.
- Revised OpenAI compatible runtime tests to ensure explicit provider kind is retained.
- Added new skill definitions in runtime skill contract tests.
- Enhanced stagehand model config tests to clarify provider mappings.
- Updated conversation composer tests to validate AI preference selections and workspace interactions.
- Refined session creation tests to ensure proper title updates and help button visibility.
- Improved run blocker tests to validate stopping long tasks and approval runs.
- Enhanced chat run service contract tests to include preference settings.
- Added image recognition tool harness for better testing capabilities.
- Updated real AI dependencies factory to include strategy preference storage.
- Improved workbench utility functions for better interaction with UI elements.
2026-07-13 13:45:21 +08:00
hy 854f3bbb5f ci: pin compatible node and python runtimes 2026-07-13 12:39:15 +08:00
Yoan da4f59c42e feat(storage): add LlmStrategyPreferenceStore for managing LLM strategy preferences
- Introduced LlmStrategyPreferenceStore to handle user preferences for LLM strategies.
- Updated StorageService to include the new LlmStrategyPreferenceStore.
- Modified LlmConfigStore to validate provider kinds using isLlmProviderKind.
- Enhanced SQLite migration scripts to create llm_strategy_preference table.
- Updated structured output handling to support new strategy preferences in various components.
- Refactored tests to accommodate changes in structured output strategy handling.
2026-07-12 11:52:40 +08:00
Yoan ee66a5e932 refactor: consolidate ncurator reference handling and improve workspace indexing
- Moved ncurator reference building and parsing logic to a shared module for better reusability.
- Updated WorkspaceKnowledgePrepareService to handle both file and web sources, enhancing flexibility in document processing.
- Introduced new types for web input handling in workspace knowledge preparation.
- Enhanced caching mechanisms for indexed documents to improve performance.
- Updated tests to cover new functionality and ensure compatibility with changes in ncurator reference handling.
- Improved user data path handling for different platforms, ensuring consistent behavior across environments.
- Added end-to-end tests for workspace root binding through IPC for non-macOS platforms.
2026-07-11 15:10:17 +08:00
Yoan 01fb1b1171 feat: enhance long path handling for Windows in file operations 2026-07-11 10:22:04 +08:00
hy ea299e921f feat: enhance native SQLite3 handling and streamline development scripts 2026-07-10 19:33:45 +08:00
hy 9fd64c7eb6 feat(storage): implement SQLite utility functions and integrate with document management
- Added utility functions for SQLite operations in `sqliteUtils.ts`, including row manipulation and JSON parsing.
- Enhanced `WorkspaceKnowledgePrepareService` to manage document generations and content hashes.
- Updated constants for chunk write batch size to improve performance.
- Modified types to include generation IDs and content hashes in document records.
- Introduced SQLite database path configuration in `paths.ts`.
- Refactored `ChatPage` component to optimize rendering and handle file changes.
- Created unit tests for SQLite storage and document metadata management.
- Updated chat run service tests to reflect changes in event handling and data persistence.
2026-07-09 18:16:24 +08:00
hy 890ba0e3f3 Handle partial failures in assistant process UI 2026-07-08 15:40:45 +08:00
hy c3275ef87c refactor: update web crawler sidecar scripts to improve Playwright driver handling 2026-07-07 19:12:57 +08:00
hy 44284628f4 feat: add web search functionality and browser panel state management
- Implemented IPC handlers for browser panel state retrieval and zoom controls (zoom in, zoom out, reset).
- Enhanced BrowserEmbedService to manage zoom levels and provide current state.
- Added web search tool with structured result handling, including query and result items.
- Updated tool specifications and schemas for web search functionality.
- Modified skill definitions to include web search as a tool option.
- Created rendering functions for displaying web search results in the UI.
- Added tests for web search functionality and ensured proper integration with existing tools.
2026-07-07 18:56:08 +08:00
huangyuan 944bfa2b54 feat: implement web crawler service factory with fallback for unavailable services 2026-07-04 09:51:30 +08:00
hy d0e4a6a41b feat: Implement chat session management and message loading enhancements
- Added mergeById method in ChatStore for upsert operations on chat sessions and messages.
- Refactored saveChatSession and saveChatMessage methods to utilize mergeById.
- Introduced getChatMessagesPage method for paginated retrieval of chat messages.
- Enhanced getChatSession to return session details and handle non-existent sessions.
- Updated DocumentsStore to ensure type safety with unknown records.
- Expanded types in store.d.ts for new chat session requests and responses.
- Updated preload API to include new chat session methods.
- Optimized MarkdownRenderer and AssistantTurnCard components with React.memo for performance.
- Enhanced WorkbenchComposer to display hints based on submission state.
- Improved ChatPage to manage session switching and load older messages efficiently.
- Added performance tests for chat session open operations.
- Updated e2e tests to cover new session management features and ensure reliability.
2026-06-26 12:36:54 +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
hy 5ad2da32df adustment 2026-06-11 18:07:17 +08:00
hy 368dce067e feat: update web crawler sidecar to enhance browser handling and error reporting 2026-06-11 14:35:35 +08:00
hy e9e4323948 feat: update web crawler service to use real service and enhance error handling 2026-06-11 12:51:36 +08:00
hy e954e558cd feat: enhance web crawler sidecar integration and update related configurations 2026-06-10 18:01:05 +08:00
hy 5eb9006e6e Refactor web crawl sidecar build and packaging 2026-06-10 17:22:17 +08:00
Yoan f84c9f996b Refactor terminal run for platform-specific safe commands 2026-06-06 15:50:18 +08:00
hy 7fd3ae67dd refactor: remove 'kind' property from references and update related logic 2026-06-03 15:57:43 +08:00
hy cf763141dd feat(tests): add workspace index job and recovery tests
- Implement tests for workspace index job store contract to validate job creation, active querying, phase progress updates, and failure convergence.
- Add tests for interrupted job recovery to ensure that running jobs and file indexing statuses are marked as failed upon recovery initiation.
- Enhance workspace prepare contract tests to ensure that active jobs are reused instead of creating new ones during indexing.
- Introduce end-to-end tests for restoring progress in workspace preparation and scanning, ensuring UI reflects persistent job states and disabled buttons during operations.
- Update web-related tests to validate the summary refresh behavior after web source indexing and scanning, ensuring accurate status updates in the UI.
2026-06-03 14:28:52 +08:00
hy 125343bc15 Refactor LLM config and model selection flow 2026-05-08 18:11:22 +08:00
hy ec0ff46b1e Align settings tests with PRD topology 2026-04-30 13:48:28 +08:00
hy c3925ad12f Enhance event logging and artifact collection with improved runtime event handling and file reading capabilities 2026-04-27 17:27:04 +08:00
hy 3efccc74a5 Add live run delay and simplify brain prompt 2026-04-17 15:45:20 +08:00
hy 686d9aed92 Refine AI live test throttling and case guidance 2026-03-30 13:42:00 +08:00
hy defd12f630 Implement human live AI tests and stabilize structured output 2026-03-27 18:21:09 +08:00
hy 0ca617463e Simplify test docs and align runner type filtering 2026-03-27 11:15:11 +08:00
hy a3f8b009bc Refactor test plans around workbench and settings suites 2026-03-27 11:05:41 +08:00
hy cf09dbe258 Stabilize workspace e2e flow and document shell test commands 2026-03-24 18:02:22 +08:00
hy e75e935cd6 Refactor AI tool flows and expand workspace test coverage 2026-03-24 17:51:34 +08:00
hy 8a9c2bc917 Reorganize human tests and add live coverage baselines 2026-03-18 13:07:40 +08:00
huangyuan 93d46e3082 Refactor test architecture per plan 2026-03-15 10:52:44 +08:00
huangyuan 8247f9cf81 实施测试日志契约v2改造方案」} ओली? need Chinese 2026-03-14 15:38:03 +08:00
huangyuan b9f40188d0 分析 ai 测试报告字段」} continuous 0? oh w/ 》 2026-03-14 14:33:43 +08:00
huangyuan f495142838 Implement new testing architecture 2026-03-14 13:38:13 +08:00
hy 5f6beebe21 Start new openspec change process 2026-03-13 16:44:14 +08:00
hy f511c17926 整理 run test 指令分类并清理 2026-03-13 15:53:18 +08:00
hy d7f078ef66 Organize accumulated tests and docs 2026-03-13 14:59:59 +08:00
hy eb51ae835b 继续推进 human 测试计划}collectionWeights 2026-03-12 18:49:05 +08:00
hy f7aa26ba01 Archive improve-human-test-eval 2026-03-12 17:48:11 +08:00
hy f7de58edd4 Add doc/test directory docs 2026-03-11 17:24:54 +08:00
hy fd7fa3cdf4 Add tool capability testing plan 2026-03-11 15:47:42 +08:00
hy e212b5b9e4 Refactor AI Node Structure: Remove Slot Commit and Human Init Nodes, Simplify Tool Execution Flow
- Deleted `initNode.ts` and `slotCommitNode.ts` to streamline the human node structure.
- Updated `toolExecNode.ts` to remove unnecessary phases and simplify the tool execution logic.
- Adjusted `types.ts` to reflect the removal of phases and state properties related to slot management.
- Modified `contextDispatchNode.ts` and `dispatchNode.ts` to align with the new flow and removed references to slot states.
- Introduced `intentNode.ts` to handle intent decisions and context enrichment.
- Updated state schemas to remove slot-related properties and adjust the main stage flow.
- Cleaned up unused imports and types across various files to enhance code clarity and maintainability.
2026-03-04 14:08:03 +08:00
hy 179a631b9a feat: implement human task execution and context management nodes
- Added `toolExecNode.ts` for executing tools in human tasks, handling tool responses, and managing task states.
- Introduced `types.ts` to define types related to human run states and phases.
- Created `contextDispatchNode.ts` for dispatching context enrichment tasks.
- Developed `contextGateNode.ts` to manage context decision-making and transitions.
- Implemented `dispatchNode.ts` for handling task dispatching and state updates.
- Added `finalizeNode.ts` to generate final answers based on task outcomes.
- Created helper functions in `helpers.ts` for managing context evidence and task planning.
- Implemented `planNode.ts` for generating task plans based on user input and context.
- Updated `types.ts` to include new types for human tasks and context management.
- Refactored utility functions in `aiCapabilityUtils.ts` to streamline task handling.
- Enhanced `ChatPage.tsx` to support new event types and display human step tracking.
- Updated shared types to include new event stages and task definitions.
2026-03-03 17:20:17 +08:00