// Skill page types

export interface MCPServer {
  id: number
  name: string
  status: 'running' | 'stopped' | 'error'
  type: string
  port: number
  createdAt: string
  description: string
}

export interface FileItem {
  id: string
  name: string
  icon?: string
  content?: string
  type: 'file'
}

export interface FolderItem {
  id: string
  name: string
  icon?: string
  type: 'folder'
  expanded?: boolean
  children: (FileItem | FolderItem)[]
}

export interface WorkflowNode {
  id: string
  name: string
  description: string
  icon: string
  color: string
  bgColor: string
  borderColor: string
  status: 'pending' | 'processing' | 'completed'
  expanded: boolean
  children?: WorkflowNode[]
}

export interface ChatMessage {
  id: number
  text: string
}
