/** * Miyabi Agent CLI Command * * Agent実行用CLIインターフェース * CoordinatorAgent経由で各専門Agentを実行 */ import { Command } from 'commander'; /** * 利用可能なAgent種別 */ export declare const AVAILABLE_AGENTS: readonly ["coordinator", "codegen", "review", "issue", "pr", "deploy", "mizusumashi"]; export type AgentType = typeof AVAILABLE_AGENTS[number]; /** * Agent実行オプション */ export interface AgentRunOptions { issue?: string; pr?: string; files?: string; parallel?: number; dryRun?: boolean; verbose?: boolean; } /** * Agent実行結果 */ export interface AgentResult { agent: AgentType; status: 'success' | 'failure' | 'skipped'; message: string; duration?: number; details?: Record; } /** * Agent一覧表示 */ export declare function listAgents(options?: { json?: boolean; }): Promise; /** * Parse issue number from string (handles both "#9" and "9" formats) * Fixes: Issue #155 - Water Spider Auto mode: parseInt("#9") returns NaN * @param issueInput - Issue number as string (e.g., "9" or "#9") * @returns Parsed issue number * @throws Error if input is not a valid issue number */ export declare function parseIssueNumber(issueInput: string): number; /** * Agent実行 */ export declare function runAgent(agentName: AgentType, options: AgentRunOptions): Promise; /** * Agent状態確認 */ export declare function agentStatus(agentName?: AgentType): Promise; /** * Agent CLIコマンド登録 */ export declare function registerAgentCommand(program: Command): void; //# sourceMappingURL=agent.d.ts.map