UNPKG

@vooodooo/magic

Version:

Vooodooo - AI orchestration platform

40 lines (39 loc) 996 B
import { AgentPersona } from './types'; export declare class AgentManager { private agentsDir; private agentsCache; private cursorRulesDir; private activeAgent; constructor(options?: { agentsDir?: string; cursorRulesDir?: string; }); /** * Load all available agent personas */ private loadAgents; /** * Get list of available agents */ listAgents(): AgentPersona[]; /** * Get agent details by name (case insensitive partial match) */ getAgent(nameOrPhase: string): AgentPersona | null; /** * Activate an agent for use in Cursor */ activateAgent(nameOrPhase: string): boolean; /** * Deactivate the current agent */ deactivateAgent(): boolean; /** * Get the currently active agent */ getActiveAgent(): AgentPersona | null; } export declare function createAgentManager(options?: { agentsDir?: string; cursorRulesDir?: string; }): AgentManager;