@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).
34 lines (33 loc) • 805 B
TypeScript
import { z } from 'zod';
/**
* Validate Context tool schema
* Defines input parameters for the tool that validates a context and its components.
*/
export declare const ValidateContextToolSchema: z.ZodObject<{
projectRoot: z.ZodString;
}, "strip", z.ZodTypeAny, {
projectRoot: string;
}, {
projectRoot: string;
}>;
/**
* Validate Context tool input type
*/
export type ValidateContextToolInput = z.infer<typeof ValidateContextToolSchema>;
/**
* Represents a single validation error.
*/
export interface ValidationError {
filePath: string;
message: string;
details?: string;
}
/**
* Validate Context tool response type
*/
export interface ValidateContextToolResponse {
success: boolean;
message: string;
validatedFiles: number;
errors: ValidationError[];
}