UNPKG

mcp-chain-of-thought

Version:

Chain of Thought is a tool built for AI Agents, emphasizing chain-of-thought, reflection, and style consistency. It converts natural language into structured dev tasks with dependency tracking and iterative refinement, enabling agent-like developer behavi

24 lines (23 loc) 587 B
/** * queryTask prompt generator * Responsible for combining templates and parameters into the final prompt */ import { Task } from "../../types/index.js"; /** * queryTask prompt parameter interface */ export interface QueryTaskPromptParams { query: string; isId: boolean; tasks: Task[]; totalTasks: number; page: number; pageSize: number; totalPages: number; } /** * Get the complete queryTask prompt * @param params prompt parameters * @returns generated prompt */ export declare function getQueryTaskPrompt(params: QueryTaskPromptParams): string;