// 智能体相关类型定义
export interface AIAgent {
  name: string
  agent_name: string
  status: '草稿' | '待执行' | '进行中' | '未完成' | '已完成'
  enabled: boolean
  trigger_mode: 'Manual Trigger' | 'Event Trigger' | 'Scheduled Trigger'
  trigger_time?: string  // Cron 表达式
  progress: number
  ai_repeat: number
  creation?: string
  modified?: string
  modified_by?: string
  agent_flow?: object
  exclude_prompts?: string
}

export interface AgentExecutionResult {
  success: boolean
  message?: string
  error?: string
}
