@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
16 lines • 580 B
TypeScript
import { type ZodRawShape, type ZodTypeAny } from "zod";
type JsonSchema = {
type?: string | string[];
properties?: Record<string, JsonSchema>;
required?: string[];
items?: JsonSchema;
enum?: Array<string | number | boolean>;
const?: string | number | boolean | null;
anyOf?: JsonSchema[];
oneOf?: JsonSchema[];
description?: string;
};
export declare function objectToShape(schema: JsonSchema): ZodTypeAny;
export declare function jsonSchemaToZodShape(schema: unknown): ZodRawShape;
export {};
//# sourceMappingURL=custom-tools-schema.d.ts.map