UNPKG

@al76/tools-and-spec-workflow-mcp

Version:

MCP server for spec-driven development workflow with real-time web dashboard

70 lines 1.66 kB
import { SessionManager } from './core/session-manager.js'; export interface ToolContext { projectPath: string; dashboardUrl?: string; sessionManager?: SessionManager; lang?: string; } export interface SpecData { name: string; description?: string; createdAt: string; lastModified: string; phases: { requirements: PhaseStatus; design: PhaseStatus; tasks: PhaseStatus; implementation: PhaseStatus; }; taskProgress?: { total: number; completed: number; pending: number; }; } export interface PhaseStatus { exists: boolean; approved?: boolean; lastModified?: string; content?: string; } export interface SteeringStatus { exists: boolean; documents: { product: boolean; tech: boolean; structure: boolean; }; lastModified?: string; } export interface TaskInfo { id: string; description: string; leverage?: string; requirements?: string; completed: boolean; details?: string[]; } export interface ToolResponse { success: boolean; message: string; data?: any; nextSteps?: string[]; projectContext?: { projectPath: string; workflowRoot: string; specName?: string; currentPhase?: string; dashboardUrl?: string; }; } export interface MCPToolResponse { content: Array<{ type: "text"; text: string; }>; isError?: boolean; _meta?: Record<string, any>; } export declare function toMCPResponse(response: ToolResponse, isError?: boolean): MCPToolResponse; //# sourceMappingURL=types.d.ts.map