UNPKG

@gork-labs/secondbrain-mcp

Version:

Second Brain MCP Server - Agent team orchestration with dynamic tool discovery

25 lines (24 loc) 975 B
import { ChatmodeDefinition } from '../utils/types.js'; export declare class SubagentLoader { private subagents; private instructions; private initialized; initialize(): Promise<void>; private loadInstructions; private ensureSubagentsDirectory; private copyDefaultSubagents; private loadSubagents; private parseSubagentFile; private combineContentWithInstructions; private getEssentialInstructionsForSubAgent; private parseSimpleYaml; getSubagent(name: string): ChatmodeDefinition; listSubagents(): string[]; getSubagentInfo(name: string): Pick<ChatmodeDefinition, 'name' | 'description' | 'tools'>; getAllSubagentsInfo(): Array<Pick<ChatmodeDefinition, 'name' | 'description' | 'tools'>>; refresh(): Promise<void>; hasSubagent(name: string): boolean; getInstructions(): string; getCombinedContent(name: string): string; getSubagentWithWrapper(name: string, isSubAgent?: boolean): string; }