This website requires JavaScript.
Explore
Help
Sign In
obsidian-plugin
/
andy-stack_vaultkeeper-ai
Watch
1
Star
0
Fork
You've already forked andy-stack_vaultkeeper-ai
0
mirror of
https://github.com/andy-stack/vaultkeeper-ai.git
synced
2026-07-22 16:30:27 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
9ca4f6f4f8
andy-stack_vaultkeeper-ai
/
Types
/
ExecutionStep.ts
5 lines
106 B
TypeScript
Raw
Normal View
History
Unescape
Escape
refactor: implement multi-agent orchestration architecture Restructure the AI workflow from a single-agent model to a specialized multi-agent system with distinct roles: - Add AgentType enum (Main, Orchestration, Planning, Execution) to define agent specializations - Replace AIControllerService and AIFunctionService with modular agent classes in Services/AIServices/: - MainAgent: Handles user interaction and delegates to orchestration - OrchestrationAgent: Coordinates plan execution and step-by-step workflow - PlanningAgent: Creates and revises execution plans - ExecutionAgent: Executes individual plan steps - AIController: Base class providing common agent loop functionality - Create specialized prompts (OrchestrationPrompt, ExecutionPrompt) for agent-specific behavior - Add OrchestrationResult type to communicate workflow control decisions (continue, abort, replan) - Introduce agent-specific function scoping: - ExecuteWorkflow for main agent - CompleteTask for execution agent - CompleteStep/Replan/CancelPlan for orchestration agent - SubmitPlan/AskUserQuestionPlanning for planning agent - Update BaseAIClass to use agentType property instead of isPlanningAgent boolean for model selection - Simplify ExecutionPlan and ExecutionStep types by removing execution state tracking (moved to agent coordination) - Remove PlanningEnabledAppendix and ExecutionStatus enum (superseded by agent architecture) - Add comprehensive integration tests for agent workflows This architecture provides better separation of concerns, clearer agent responsibilities, and more robust plan execution with explicit orchestration control flow.
2026-01-27 20:29:20 +00:00
export
interface
ExecutionStep
{
description
:
string
;
instruction
:
string
;
context?
:
string
;
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
}
Reference in a new issue
Copy permalink