@kya-os/mcp-i
Version:
The TypeScript MCP framework with identity features built-in
52 lines (51 loc) • 1.92 kB
TypeScript
import { z } from "zod";
/**
* Compiler Identity Configuration Schema
*
* Schema for identity configuration in xmcp.config.ts files.
* Used by the compiler to generate runtime config.
*/
export declare const compilerIdentityConfigSchema: z.ZodOptional<z.ZodObject<{
enabled: z.ZodBoolean;
environment: z.ZodOptional<z.ZodEnum<["development", "production"]>>;
devIdentityPath: z.ZodOptional<z.ZodString>;
privacyMode: z.ZodOptional<z.ZodBoolean>;
debug: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
enabled: boolean;
debug?: boolean | undefined;
environment?: "development" | "production" | undefined;
devIdentityPath?: string | undefined;
privacyMode?: boolean | undefined;
}, {
enabled: boolean;
debug?: boolean | undefined;
environment?: "development" | "production" | undefined;
devIdentityPath?: string | undefined;
privacyMode?: boolean | undefined;
}>>;
export type CompilerIdentityConfig = z.infer<typeof compilerIdentityConfigSchema>;
/**
* @deprecated Use CompilerIdentityConfig instead
* This export is maintained for backward compatibility
*/
export declare const identityConfigSchema: z.ZodOptional<z.ZodObject<{
enabled: z.ZodBoolean;
environment: z.ZodOptional<z.ZodEnum<["development", "production"]>>;
devIdentityPath: z.ZodOptional<z.ZodString>;
privacyMode: z.ZodOptional<z.ZodBoolean>;
debug: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
enabled: boolean;
debug?: boolean | undefined;
environment?: "development" | "production" | undefined;
devIdentityPath?: string | undefined;
privacyMode?: boolean | undefined;
}, {
enabled: boolean;
debug?: boolean | undefined;
environment?: "development" | "production" | undefined;
devIdentityPath?: string | undefined;
privacyMode?: boolean | undefined;
}>>;
export type IdentityConfig = CompilerIdentityConfig;