mirror of
https://github.com/andy-stack/vaultkeeper-ai.git
synced 2026-07-22 16:30:27 +00:00
- 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
41 lines
No EOL
960 B
JSON
41 lines
No EOL
960 B
JSON
{
|
|
"compilerOptions": {
|
|
"verbatimModuleSyntax": true,
|
|
"skipLibCheck": true,
|
|
"inlineSourceMap": true,
|
|
"inlineSources": true,
|
|
"module": "ESNext",
|
|
"target": "ES2022",
|
|
"allowJs": true,
|
|
"noImplicitAny": true,
|
|
"moduleResolution": "bundler",
|
|
"importHelpers": true,
|
|
"isolatedModules": true,
|
|
"strictNullChecks": true,
|
|
"lib": [
|
|
"DOM",
|
|
"ES2022"
|
|
],
|
|
"paths": {
|
|
"main": ["./main.ts"],
|
|
"Helpers/*": ["./Helpers/*"],
|
|
"Enums/*": ["./Enums/*"],
|
|
"Services/*": ["./Services/*"],
|
|
"Conversations/*": ["./Conversations/*"],
|
|
"AIClasses/*": ["./AIClasses/*"],
|
|
"AIPrompts/*": ["./AIPrompts/*"],
|
|
"Components/*": ["./Components/*"],
|
|
"Stores/*": ["./Stores/*"],
|
|
"Views/*": ["./Views/*"],
|
|
"Modals/*": ["./Modals/*"],
|
|
"Types/*": ["./Types/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"**/*.ts",
|
|
"**/*.svelte"
|
|
],
|
|
"exclude": [
|
|
"node_modules"
|
|
]
|
|
} |