andy-stack_vaultkeeper-ai/Services/Services.ts
Andrew Beal 2de8109a74 refactor: restructure AI prompt and agent architecture for multi-agent planning support
- Move prompts from AIClasses to AIPrompts directory
- Replace centralized IPrompt injection with direct property setters on IAIClass
- Remove allowDestructiveActions parameter from streamRequest methods
- Add toolDefinitions, systemPrompt, and userInstruction properties to IAIClass
- Refactor AIFunctionDefinitions to static methods with agent-specific tool sets
- Add planning agent function definitions (CreatePlan, Replan, CompleteStep, SubmitPlan)
- Create AIControllerService to handle agent orchestration
- Add execution plan related copy strings and replacement utility
- Update all AI providers (Claude, Gemini, OpenAI) to use new architecture
2025-12-30 19:07:00 +00:00

36 lines
No EOL
1.7 KiB
TypeScript

export class Services {
static VaultkeeperAIPlugin = Symbol("VaultkeeperAIPlugin");
static SettingsService = Symbol("SettingsService");
static EventService = Symbol("EventService");
static AbortService = Symbol("AbortService");
static HTMLService = Symbol("HTMLService");
static VaultService = Symbol("VaultService");
static VaultCacheService = Symbol("VaultCacheService");
static UserInputService = Symbol("UserInputService");
static WorkSpaceService = Symbol("WorkSpaceService");
static FileSystemService = Symbol("FileSystemService");
static ConversationFileSystemService = Symbol("ConversationFileSystemService");
static ConversationNamingService = Symbol("ConversationNamingService");
static StreamingService = Symbol("StreamingService");
static MarkdownService = Symbol("MarkdownService");
static StreamingMarkdownService = Symbol("StreamingMarkdownService");
static AIFunctionService = Symbol("AIFunctionService");
static AIControllerService = Symbol("AIControllerService");
static ChatService = Symbol("ChatService");
static SanitiserService = Symbol("SanitiserService");
static InputService = Symbol("InputService");
static DiffService = Symbol("DiffService");
// stores
static SearchStateStore = Symbol("SearchStateStore");
// interfaces
static IAIClass = Symbol("IAIClass");
static IAIFileService = Symbol("IAIFileService");
static IPrompt = Symbol("IPrompt");
static IConversationNamingService = Symbol("IConversationNamingService");
// modals
static ConversationHistoryModal = Symbol("ConversationHistoryModal");
static HelpModal = Symbol("HelpModal");
}