/** * Kanban Board Tool * * MCP tool that creates kanban board visualizations for: * 1. Scheduled functions and cron jobs (--jobs) * 2. AI Agent threads and workflows (--agents) * * The tool displays items in columns based on their status: * - Jobs: Pending | Running | Completed | Failed * - Agents: Idle | Processing | Waiting | Completed * * NOTE ON AGENTS: * The --agents view requires the @convex-dev/agent component to be installed. * See: https://www.convex.dev/components/agent * * If using a custom agent implementation, the tool will attempt to detect * agent-related tables but may not work with all configurations. */ import type { Tool } from "@modelcontextprotocol/sdk/types.js"; import type { ConvexClient, ScheduledFunction, CronJob, AgentThread, AgentComponentInfo } from "../convex-client.js"; export declare const kanbanBoardTool: Tool; interface ToolResponse { content: Array<{ type: string; text: string; }>; isError?: boolean; } interface KanbanColumn { id: string; title: string; items: T[]; color: string; } interface KanbanData { jobs: { columns: KanbanColumn[]; totalCount: number; }; agents: { columns: KanbanColumn[]; totalCount: number; componentInfo: AgentComponentInfo; }; } export declare function handleKanbanBoard(client: ConvexClient, args?: Record): Promise; /** * Generate HTML for the kanban board UI */ export declare function generateKanbanBoardHTML(config: { deploymentUrl: string | null; mode: string; theme: string; data: KanbanData; timestamp: number; }): string; export {}; //# sourceMappingURL=kanban-board.d.ts.map