- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.