UNPKG

@kya-os/mcp-i

Version:

The TypeScript MCP framework with identity features built-in

31 lines (30 loc) 1.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.identityConfigSchema = exports.compilerIdentityConfigSchema = void 0; const zod_1 = require("zod"); /** * Compiler Identity Configuration Schema * * Schema for identity configuration in xmcp.config.ts files. * Used by the compiler to generate runtime config. */ exports.compilerIdentityConfigSchema = zod_1.z .object({ enabled: zod_1.z.boolean().describe("Enable MCP-I identity layer"), environment: zod_1.z .enum(["development", "production"]) .optional() .describe("Runtime environment"), devIdentityPath: zod_1.z.string().optional().describe("Custom identity file path"), privacyMode: zod_1.z .boolean() .optional() .describe("Enable privacy mode (per-client DIDs)"), debug: zod_1.z.boolean().optional().describe("Enable debug logging for identity"), }) .optional(); /** * @deprecated Use CompilerIdentityConfig instead * This export is maintained for backward compatibility */ exports.identityConfigSchema = exports.compilerIdentityConfigSchema;