UNPKG

n8n

Version:

n8n Workflow Automation Tool

23 lines (22 loc) 833 B
import type { ToolDescriptor } from '@n8n/agents'; import type { AgentIntegrationConfig, AgentJsonConfig, AgentSkill } from '@n8n/api-types'; import { Project, WithTimestampsAndStringId } from '@n8n/db'; import { type Relation } from '@n8n/typeorm'; import type { AgentHistory } from './agent-history.entity'; export declare class Agent extends WithTimestampsAndStringId { name: string; project: Project; projectId: string; schema: AgentJsonConfig | null; integrations: AgentIntegrationConfig[]; tools: Record<string, { code: string; descriptor: ToolDescriptor; }>; skills: Record<string, AgentSkill>; availableInMCP: boolean; setupCompletedAt: Date | null; versionId: string | null; activeVersionId: string | null; activeVersion?: Relation<AgentHistory> | null; }