andy-stack_vaultkeeper-ai/AIPrompts
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
..
QuickActionPrompts refactor: replace Spinner boolean prop with customizable background color 2026-04-23 15:57:27 +01:00
ExecutionPrompt.ts Add Obsidian Bases documentation to AI prompts 2026-03-08 11:35:21 +00:00
IPrompt.ts refactor: convert ChatMode enum to string literals and improve state management 2026-05-05 20:54:34 +01:00
NamePrompt.ts feat: enhance conversation naming with prompt injection protection and improved validation 2026-01-01 13:06:06 +00:00
OrchestrationPrompt.ts feat: add conditional web viewer access setting and directive system 2026-04-10 22:19:34 +01:00
PlanningPrompt.ts feat: add conditional web viewer access setting and directive system 2026-04-10 22:19:34 +01:00
SystemPrompt.ts refactor: convert ChatMode enum to string literals and improve state management 2026-05-05 20:54:34 +01:00