Coordinator

Types

Types

Config

type Config = { orgId: string; gatewayUrl: string; pollIntervalMs: number; heartbeatThresholdMs: number; maxRestartAttempts: number; discordChannelId?: string | undefined; }

AgentStatus

Agent status in the system

type AgentStatus = "offline" | "starting" | "idle" | "working"

McpCallFn

Function type for making MCP calls

type McpCallFn = (tool: string, params: Record<string, unknown>) => Promise<unknown>
Previous
Interfaces