import type { SkillAgentType } from 'agent-install/skill'; import type { VerificationResult } from '../connection.js'; import type { AgentType, ServerName } from '../constants.js'; export interface InstalledSkill { skill: string; agent: SkillAgentType | 'agy'; path: string; mode: string; } export interface McpInstallResult { agent: AgentType; success: boolean; path: string; error?: string | undefined; } export interface McpServerInstallResult { name: ServerName; results: McpInstallResult[]; } export type VerificationResults = Record; export interface SetupResult { agents: AgentType[]; skill: InstalledSkill[]; mcp: McpServerInstallResult[]; verification: VerificationResults; failures: McpInstallResult[]; } export interface ServerStatus { configured: boolean; path?: string; connection?: VerificationResult; } export interface AgentStatus { agent: AgentType; skill: boolean | undefined; servers: Record; } export type StatusResult = AgentStatus[]; export interface McpRemovalResult { agent: AgentType; path: string; removed: boolean; error?: string | undefined; } export interface RemoveResult { agents: AgentType[]; mcp: McpRemovalResult[]; skillRemoved: boolean; skillKeptForOtherAgents: boolean; }