- Updated architecture documentation to clarify the generation of AI tool prompt audit examples.
- Revised workbench test plan to specify Excel tool coverage and ensure accurate validation of user workflows without redundant operation enumeration.
- Modified script comments for generating AI tool prompt audit to reflect new command usage and clarify that generated examples are not stored in the repository.
- Updated workbench test plan to clarify AI tool responsibilities and remove redundant assertions.
- Revised tidy process documentation to enhance clarity and enforce a structured review process.
- Refactored AI event processing functions to use private scope for internal utility functions.
- Removed deprecated constants and streamlined tool result persistence logic.
- Adjusted DOCX tool specifications to consolidate write and mutation tool specs.
- Cleaned up terminal constants to use updated character limits.
- Removed unused image processing tests to simplify unit tests.
- Enhanced workspace-related end-to-end tests for clarity and accuracy in assertions.
- Introduced new migration to drop chat session skill state and chat message tables.
- Added migration to create chat_search_turn table with necessary fields and constraints.
- Updated schema version to reflect new migrations.
- Refactored chat message handling to utilize chat_search_turn for storing conversation turns.
- Implemented conversation projection logic to merge AI messages with search turns.
- Updated tests to cover new functionality and ensure proper integration with existing systems.
- Updated AGENTS.md to clarify document structure and added references to new documents in the ai-harness directory.
- Enhanced human-harness.md with detailed flowcharts and node responsibilities for the human graph process.
- Expanded tool-design.md with comprehensive design principles, structured descriptions, and unified result delivery guidelines.
- Revised architecture.md to include references to ai-harness documents and clarified the AI runtime process.
- Updated message log handling in `approval-denied-restricted-delivery.test.ts` to include tool message names.
- Removed unnecessary snapshot retrieval in `human-interruption-message-repair.test.ts` and adjusted assertions for dangling messages.
- Improved tool entry filtering in `human-mixed-tool-dispatch.test.ts`.
- Modified prompt formatting expectations in `brain-prompt-formatting.test.ts` to reflect new state structure and skill representation.
- Enhanced context budget node tests in `context-budget-node.test.ts` to include new error handling for oversized messages.
- Introduced new tests for LLM finish reasons in `llm-finish-reason.test.ts` to validate response handling.
- Added message log recovery tests in `message-log-recovery.test.ts` to ensure proper handling of checkpoints and tool calls.
- Updated message tail handling in `message-tail.test.ts` to correctly identify compressible messages.
- Refined message transcript repair logic in `message-transcript-repair.test.ts` to ensure accurate user entry handling.
- Adjusted persistence tests in `chat-run-service-contract.test.ts` to reflect changes in message log structure.
- Enhanced structured chat activity tests in `structured-chat-activity.test.ts` to validate retry logic.
- Cleaned up SQLite storage tests in `sqlite-storage.test.ts` to ensure legacy tables are removed post-migration.
- Refined end-to-end tests in `user-message-actions.e2e.test.ts`, `stop-running-or-approval-run.e2e.test.ts`, and `interrupted-task-resume-flow.e2e.test.ts` to improve snapshot handling and assertions.
- Updated scripted structured output driver to handle streaming and tool call emissions more effectively.
- 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.
- 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.
- Changed external links in settings-test.md and package.json to point to the new domestic website (guanzhangai.cn).
- Updated electron-builder.yml to publish updates from the new domestic URL.
- Introduced a new storage client for Tencent COS and refactored existing R2 client code to support both storage options.
- Implemented environment variable checks and configurations for Tencent COS and Cloudflare R2.
- Added tests for release storage configuration and ensured proper handling of live publish locks.
- Updated telemetry service to use the new official website URL for event reporting.
- Moved test fixtures from `tests/fixtures/workspace` to `tests/fixtures/backend` for better structure and clarity.
- Updated all references in test cases to point to the new fixture paths.
- Removed obsolete fixture generation scripts for Excel and DOCX files.
- Enforced read-only constraints on fixture files, ensuring tests do not modify them directly.
- Added new binary files for backend fixtures to support ongoing tests.
- Added a new UpdateRequiredPage component to handle scenarios where an application update is required before accessing the main interface.
- Integrated app startup status retrieval in the App component to determine if the application is in a normal state or requires an update.
- Updated routing logic to conditionally render the UpdateRequiredPage or the main application layout based on the startup status.
- Enhanced the AppUpdateContext to manage update actions and states effectively.
- Introduced new selectors for testing the update required page and its components.
- Added constants for app startup channels to facilitate communication between the main and renderer processes.
- Updated shared types to include AppStartupStatus for better type safety.
- Created unit tests for SQLite migration to ensure database integrity during updates.
- Implemented end-to-end tests to verify the update flow and recovery page functionality.
- Changed the web search tool to differentiate between 'fetch' and 'search' types using a discriminated union in the input schema.
- Updated the handling of web search results to return structured outputs for both fetching a URL and searching for content.
- Refactored related functions and types to accommodate the new structure, including output types and error handling.
- Adjusted tests to reflect the new input structure and ensure proper functionality for both fetching and searching scenarios.
- Enhanced the rendering of web search results to align with the new output format.
- Added input fields to OutputCase type for better context in terminal and file operations.
- Updated terminal run cases to include command explanations and refined output data.
- Expanded text file edit cases to cover batch replacements and detailed error messages.
- Enhanced knowledge base search and document listing with additional metadata and improved error handling.
- Improved PDF and DOCX handling with more comprehensive data structures and examples.
- Refined Excel operations to include detailed input parameters and error messages.
- Added new image generation cases with specific input requirements and output details.
- Added `renderFileEnvelope`, `renderNumberedFileLines`, and `formatReadRangeFooter` in `envelope.ts`.
- Introduced `renderGroupedHeader`, `renderGroupedFooter`, `joinGroupedSections`, and `renderNoMatches` in `grouped.ts`.
- Created `renderUntrustedWebContent` in `markdownWeb.ts` to handle untrusted web content rendering.
- Developed prose rendering functions in `prose.ts` including `renderProse`, `renderFileMutationProse`, and `renderResourceMutationProse`.
- Implemented shared utility functions in `shared.ts` for XML escaping and line wrapping.
- Added terminal rendering functions in `terminal.ts` for output streams and markers.
- Updated terminal tool schemas to reflect changes in output types and statuses.
- Refactored terminal status handling in `terminalToolStatus.ts` for better clarity and consistency.
- Enhanced terminal tool tests to validate new status mappings and output structures.
- Created unit tests for model tool result renderers to ensure correct output formatting.
- Implemented a new script `generate-ai-tool-prompt-audit.mts` that generates a markdown document for auditing AI tool prompts.
- The script extracts input and output specifications from the tool registry and formats them into a structured markdown format.
- Includes detailed examples for each tool, enhancing documentation clarity and usability.
- Updated AI test plan to include detailed coverage for text-file and terminal tools, ensuring proper unit testing and integration.
- Modified output types for DOCX and Excel tools to include total and returned match counts for search results.
- Refactored agent control tools to remove unnecessary messages and streamline output.
- Improved Excel tool runtime to accurately report total matches and handle search results more effectively.
- Added new unit tests for terminal and text-file tools to validate schema and output consistency.
- Removed outdated tool prompt contract tests to simplify the testing framework.
- Ensured all tools adhere to updated rendering and output specifications, enhancing overall reliability and maintainability.