UNPKG

mcp-subagents

Version:

Multi-Agent AI Orchestration via Model Context Protocol - Access specialized CLI AI agents (Aider, Qwen, Gemini, Goose, etc.) with intelligent fallback and configuration

21 lines 812 B
import type { AgentName, InputMethod, TaskConfig } from '../types/index.js'; export interface AgentConfig { priority: number; maxConcurrent: number; inputMethod: InputMethod; autoAcceptFlag?: string; modelFlag?: string; subcommand?: string; defaults: Record<string, string | number | boolean | null>; } export declare abstract class BaseAgent { protected readonly name: AgentName; protected readonly config: AgentConfig; constructor(name: AgentName, config: AgentConfig); abstract buildCommand(task: string, taskConfig: TaskConfig): string[]; abstract getInputMethod(): InputMethod; protected validateCommand(command: string[]): string[]; getAutoAcceptFlag(): string | undefined; getModelFlag(): string | undefined; } //# sourceMappingURL=base.d.ts.map