ken-you-code
Version:
Connect your codebase to Kimi: Ultra-fast AI code analysis with Kimi-K2 model via MCP
53 lines (52 loc) • 1.93 kB
TypeScript
import { z } from 'zod';
export declare const TaskTypeSchema: z.ZodEnum<["debug", "analyze", "review", "design", "second_opinion", "reality_check", "synthesis"]>;
export declare const SpecializedTaskRequestSchema: z.ZodObject<{
task_type: z.ZodEnum<["debug", "analyze", "review", "design", "second_opinion", "reality_check", "synthesis"]>;
context: z.ZodString;
files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
model: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
task_type: "debug" | "analyze" | "review" | "design" | "second_opinion" | "reality_check" | "synthesis";
context: string;
model?: string | undefined;
files?: string[] | undefined;
}, {
task_type: "debug" | "analyze" | "review" | "design" | "second_opinion" | "reality_check" | "synthesis";
context: string;
model?: string | undefined;
files?: string[] | undefined;
}>;
export declare const ReadFileRequestSchema: z.ZodObject<{
file_path: z.ZodString;
}, "strip", z.ZodTypeAny, {
file_path: string;
}, {
file_path: string;
}>;
export declare const CreateDiffRequestSchema: z.ZodObject<{
file_path: z.ZodString;
new_content: z.ZodString;
reason: z.ZodString;
}, "strip", z.ZodTypeAny, {
file_path: string;
new_content: string;
reason: string;
}, {
file_path: string;
new_content: string;
reason: string;
}>;
export declare const ApplyDiffRequestSchema: z.ZodObject<{
operation_id: z.ZodString;
approved: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
operation_id: string;
approved: boolean;
}, {
operation_id: string;
approved: boolean;
}>;
export type SpecializedTaskRequest = z.infer<typeof SpecializedTaskRequestSchema>;
export type ReadFileRequest = z.infer<typeof ReadFileRequestSchema>;
export type CreateDiffRequest = z.infer<typeof CreateDiffRequestSchema>;
export type ApplyDiffRequest = z.infer<typeof ApplyDiffRequestSchema>;