@noanswer/context-compose
Version:
Orchestrate complex AI interactions with Context Compose. A powerful CLI and server for building, validating, and managing context for large language models using the Model Context Protocol (MCP).
55 lines (54 loc) • 1.33 kB
TypeScript
import { z } from 'zod';
/**
* Validate Task Tool Schema
* Defines the input parameters for the tool that validates task files and related files in a Context Compose project.
*/
export declare const ValidateTaskToolSchema: z.ZodObject<{
taskId: z.ZodString;
projectRoot: z.ZodString;
enhancedPrompt: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
projectRoot: string;
enhancedPrompt: boolean;
taskId: string;
}, {
projectRoot: string;
taskId: string;
enhancedPrompt?: boolean | undefined;
}>;
/**
* Validate Task tool input type
*/
export type ValidateTaskToolInput = z.infer<typeof ValidateTaskToolSchema>;
/**
* Validation result status
*/
export type ValidationStatus = 'pass' | 'fail' | 'warning';
/**
* Individual validation result
*/
export interface ValidationResult {
category: string;
item: string;
status: ValidationStatus;
message: string;
}
/**
* Validation summary information
*/
export interface ValidationSummary {
total: number;
passed: number;
failed: number;
warnings: number;
}
/**
* Validate Task tool response type
*/
export interface ValidateTaskToolResponse {
success: boolean;
message: string;
taskId: string;
validationResults: ValidationResult[];
summary: ValidationSummary;
}