mcp-ai-agent-guidelines
Version:
A comprehensive Model Context Protocol server providing professional tools, resources, and prompts for implementing AI agent best practices
52 lines • 1.88 kB
TypeScript
import type { Artifact, DesignSessionConfig, DesignSessionState, MethodologyProfile } from "./types/index.js";
export interface WorkflowRequest {
action: "start" | "advance" | "complete" | "reset" | "status";
sessionId: string;
phaseId?: string;
content?: string;
config?: DesignSessionConfig;
methodologyProfile?: MethodologyProfile;
}
export interface WorkflowResponse {
success: boolean;
sessionState: DesignSessionState;
currentPhase: string;
nextPhase?: string;
recommendations: string[];
artifacts: Artifact[];
message: string;
}
declare class DesignPhaseWorkflowImpl {
private sessions;
private readonly PHASE_SEQUENCE;
initialize(): Promise<void>;
executeWorkflow(request: WorkflowRequest): Promise<WorkflowResponse>;
private startSession;
private advancePhase;
private completePhase;
private resetSession;
private getSessionStatus;
private computeNextPhase;
getNextPhase(sessionState: DesignSessionState): string | undefined;
private getPhaseDepedencies;
generateWorkflowGuide(sessionState: DesignSessionState): Promise<{
currentPhase: string;
nextPhase?: string;
steps: string[];
}>;
canTransitionToPhase(sessionState: DesignSessionState, targetPhaseId: string): Promise<boolean>;
transitionToPhase(sessionState: DesignSessionState, targetPhaseId: string): Promise<{
success: boolean;
from: string;
to?: string;
}>;
private updateSessionCoverage;
private addSessionEvent;
getSession(sessionId: string): DesignSessionState | undefined;
listSessions(): string[];
getPhaseSequence(): string[];
}
export declare const designPhaseWorkflow: DesignPhaseWorkflowImpl;
export declare const IMPLEMENTATION_STATUS: "IMPLEMENTED";
export {};
//# sourceMappingURL=design-phase-workflow.d.ts.map