list_tasks_verbose
Display detailed task execution statistics and performance averages from devpipe pipelines to analyze workflow efficiency and identify optimization opportunities.
Instructions
List tasks using devpipe list --verbose command. Shows task execution statistics and averages.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Path to config.toml file |
Implementation Reference
- src/utils.ts:269-281 (handler)Core handler function that executes the 'devpipe list --verbose' command (optionally with config), captures output via executeDevpipe, and returns stdout along with parsed metadata.export async function listTasksVerbose(configPath?: string): Promise<{ stdout: string; parsed: any }> { const command = configPath ? `devpipe list --verbose --config "${configPath}"` : 'devpipe list --verbose'; const result = await executeDevpipe(command); return { stdout: result.stdout, parsed: { raw: result.stdout, exitCode: result.exitCode, note: 'Parse the table format output for structured data' } }; }
- src/index.ts:227-238 (registration)Tool registration in the ListToolsRequestSchema handler, defining the tool's name, description, and input schema for MCP clients.name: 'list_tasks_verbose', description: 'List tasks using devpipe list --verbose command. Shows task execution statistics and averages.', inputSchema: { type: 'object', properties: { config: { type: 'string', description: 'Path to config.toml file', }, }, }, },
- src/index.ts:537-554 (handler)Dispatcher in CallToolRequestSchema handler that validates devpipe installation, extracts config arg, calls listTasksVerbose, and formats response as MCP content.case 'list_tasks_verbose': { const devpipeCheck = await checkDevpipeInstalled(); if (!devpipeCheck.installed) { throw new Error(devpipeCheck.error); } const configPath = args?.config; const result = await listTasksVerbose(configPath); return { content: [ { type: 'text', text: result.stdout, }, ], }; }
- src/index.ts:229-237 (schema)Input schema for the list_tasks_verbose tool, specifying an optional 'config' string parameter for the config.toml path.inputSchema: { type: 'object', properties: { config: { type: 'string', description: 'Path to config.toml file', }, }, },
- src/index.ts:36-42 (helper)Import of the listTasksVerbose handler function from './utils.js' (utils.ts).listTasksVerbose, analyzeProject, generateTaskConfig, generatePhaseHeader, createConfig, generateCIConfig, } from './utils.js';