andy-stack_vaultkeeper-ai/AIClasses
Andrew Beal 8823e3cf23 refactor: convert ChatMode enum to string literals and improve state management
- Change ChatMode enum values from numeric (0,1,2) to string literals ("read_only", "edit", "planning")
- Move chat mode state management from ChatWindow to SettingsService with persistence
- Add chat mode awareness to system prompts and tool validation
- Replace Map with WeakMap for settings subscribers to prevent memory leaks
- Add type-safe event handlers to EventService
- Update esbuild and TypeScript targets from ES2018/ES2020 to ES2022
- Add requiresEditModeEnabled() validation to prevent tool hallucination in read-only mode
- Update all test fixtures to include chatMode in mock settings
2026-05-05 20:54:34 +01:00
..
Claude feat: add quick actions system with provider-aware model settings 2026-04-20 20:20:22 +01:00
Gemini feat: add quick actions system with provider-aware model settings 2026-04-20 20:20:22 +01:00
Mistral feat: add quick actions system with provider-aware model settings 2026-04-20 20:20:22 +01:00
OpenAI feat: add quick actions system with provider-aware model settings 2026-04-20 20:20:22 +01:00
Schemas feat: add move_vault_folder tool and standardize schema naming 2026-04-09 22:20:37 +01:00
ToolDefinitions refactor: convert ChatMode enum to string literals and improve state management 2026-05-05 20:54:34 +01:00
AIToolCall.ts Rename remaining references to functioncall to toolcall 2026-02-15 23:27:14 +00:00
BaseAIClass.ts Refactor SettingsService to use immutable settings with update pattern 2026-05-04 16:31:27 +01:00
BaseAIFileService.ts refactor: convert attachments to file-based storage with lazy loading. 2026-02-15 22:46:25 +00:00
IAIClass.ts feat: add toggleable web search with UI control and provider-specific implementations 2026-04-10 10:47:23 +01:00
IAIFileService.ts refactor: migrate file upload from base64 to file ID API for all providers 2025-12-19 20:05:46 +00:00
IConversationNamingService.ts feat: implement centralized abort controller with enhanced cancellation UX 2025-12-04 23:04:20 +00:00