andy-stack_vaultkeeper-ai/Components
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
..
ChatArea.svelte refactor: improve message height calculation and update dependencies 2026-04-19 23:53:14 +01:00
ChatAttachments.svelte Add height animation to chat attachments container 2025-12-23 20:25:10 +00:00
ChatInput.svelte refactor: convert ChatMode enum to string literals and improve state management 2026-05-05 20:54:34 +01:00
ChatModeSelector.svelte refactor: convert ChatMode enum to string literals and improve state management 2026-05-05 20:54:34 +01:00
ChatPlanArea.svelte refactor: replace Spinner boolean prop with customizable background color 2026-04-23 15:57:27 +01:00
ChatSearchResults.svelte feat: add support for file attachments via drag and drop and paste. 2025-12-22 20:02:02 +00:00
ChatWindow.svelte refactor: convert ChatMode enum to string literals and improve state management 2026-05-05 20:54:34 +01:00
DiffControls.svelte refactor: streamline planning UX and strengthen complexity gate 2026-01-03 11:15:32 +00:00
InputDisplay.svelte refactor: replace edit/planning mode toggles with unified chat mode selector 2026-04-19 20:39:04 +01:00
Spinner.svelte refactor: replace Spinner boolean prop with customizable background color 2026-04-23 15:57:27 +01:00
StreamingIndicator.svelte refactor: replace edit/planning mode toggles with unified chat mode selector 2026-04-19 20:39:04 +01:00
ThoughtIndicator.svelte refactor: replace edit/planning mode toggles with unified chat mode selector 2026-04-19 20:39:04 +01:00
TopBar.svelte fix: improve mobile layout spacing and modal margins 2026-01-30 10:00:16 +00:00
UserInstruction.svelte refactor: rename userInstructionActive to userInstructionAreaActive 2026-03-01 12:37:18 +00:00