UNPKG

mcp-decisive

Version:

MCP server for WRAP decision-making framework with structured output

241 lines 7.59 kB
import { z } from 'zod'; declare const tripwireSchema: z.ZodObject<{ options: z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string; }, { id: string; name: string; description: string; }>, "many">; }, "strip", z.ZodTypeAny, { options: { id: string; name: string; description: string; }[]; }, { options: { id: string; name: string; description: string; }[]; }>; declare const outputSchema: z.ZodObject<{ tripwires: z.ZodArray<z.ZodObject<{ optionId: z.ZodString; optionName: z.ZodString; criteria: z.ZodArray<z.ZodObject<{ id: z.ZodString; description: z.ZodString; type: z.ZodEnum<["performance", "cost", "risk", "timeline", "quality", "other"]>; threshold: z.ZodString; severity: z.ZodEnum<["low", "medium", "high", "critical"]>; }, "strip", z.ZodTypeAny, { type: "performance" | "cost" | "risk" | "timeline" | "quality" | "other"; id: string; description: string; threshold: string; severity: "low" | "medium" | "high" | "critical"; }, { type: "performance" | "cost" | "risk" | "timeline" | "quality" | "other"; id: string; description: string; threshold: string; severity: "low" | "medium" | "high" | "critical"; }>, "many">; }, "strip", z.ZodTypeAny, { optionId: string; optionName: string; criteria: { type: "performance" | "cost" | "risk" | "timeline" | "quality" | "other"; id: string; description: string; threshold: string; severity: "low" | "medium" | "high" | "critical"; }[]; }, { optionId: string; optionName: string; criteria: { type: "performance" | "cost" | "risk" | "timeline" | "quality" | "other"; id: string; description: string; threshold: string; severity: "low" | "medium" | "high" | "critical"; }[]; }>, "many">; metadata: z.ZodObject<{ generatedAt: z.ZodString; totalOptions: z.ZodNumber; totalCriteria: z.ZodNumber; note: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { generatedAt: string; totalOptions: number; totalCriteria: number; note?: string | undefined; }, { generatedAt: string; totalOptions: number; totalCriteria: number; note?: string | undefined; }>; }, "strip", z.ZodTypeAny, { tripwires: { optionId: string; optionName: string; criteria: { type: "performance" | "cost" | "risk" | "timeline" | "quality" | "other"; id: string; description: string; threshold: string; severity: "low" | "medium" | "high" | "critical"; }[]; }[]; metadata: { generatedAt: string; totalOptions: number; totalCriteria: number; note?: string | undefined; }; }, { tripwires: { optionId: string; optionName: string; criteria: { type: "performance" | "cost" | "risk" | "timeline" | "quality" | "other"; id: string; description: string; threshold: string; severity: "low" | "medium" | "high" | "critical"; }[]; }[]; metadata: { generatedAt: string; totalOptions: number; totalCriteria: number; note?: string | undefined; }; }>; export declare const tripwireParams: { options: z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; description: string; }, { id: string; name: string; description: string; }>, "many">; }; export declare const tripwireOutputSchema: z.ZodObject<{ tripwires: z.ZodArray<z.ZodObject<{ optionId: z.ZodString; optionName: z.ZodString; criteria: z.ZodArray<z.ZodObject<{ id: z.ZodString; description: z.ZodString; type: z.ZodEnum<["performance", "cost", "risk", "timeline", "quality", "other"]>; threshold: z.ZodString; severity: z.ZodEnum<["low", "medium", "high", "critical"]>; }, "strip", z.ZodTypeAny, { type: "performance" | "cost" | "risk" | "timeline" | "quality" | "other"; id: string; description: string; threshold: string; severity: "low" | "medium" | "high" | "critical"; }, { type: "performance" | "cost" | "risk" | "timeline" | "quality" | "other"; id: string; description: string; threshold: string; severity: "low" | "medium" | "high" | "critical"; }>, "many">; }, "strip", z.ZodTypeAny, { optionId: string; optionName: string; criteria: { type: "performance" | "cost" | "risk" | "timeline" | "quality" | "other"; id: string; description: string; threshold: string; severity: "low" | "medium" | "high" | "critical"; }[]; }, { optionId: string; optionName: string; criteria: { type: "performance" | "cost" | "risk" | "timeline" | "quality" | "other"; id: string; description: string; threshold: string; severity: "low" | "medium" | "high" | "critical"; }[]; }>, "many">; metadata: z.ZodObject<{ generatedAt: z.ZodString; totalOptions: z.ZodNumber; totalCriteria: z.ZodNumber; note: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { generatedAt: string; totalOptions: number; totalCriteria: number; note?: string | undefined; }, { generatedAt: string; totalOptions: number; totalCriteria: number; note?: string | undefined; }>; }, "strip", z.ZodTypeAny, { tripwires: { optionId: string; optionName: string; criteria: { type: "performance" | "cost" | "risk" | "timeline" | "quality" | "other"; id: string; description: string; threshold: string; severity: "low" | "medium" | "high" | "critical"; }[]; }[]; metadata: { generatedAt: string; totalOptions: number; totalCriteria: number; note?: string | undefined; }; }, { tripwires: { optionId: string; optionName: string; criteria: { type: "performance" | "cost" | "risk" | "timeline" | "quality" | "other"; id: string; description: string; threshold: string; severity: "low" | "medium" | "high" | "critical"; }[]; }[]; metadata: { generatedAt: string; totalOptions: number; totalCriteria: number; note?: string | undefined; }; }>; export type TripwireParams = z.infer<typeof tripwireSchema>; export type TripwireOutput = z.infer<typeof outputSchema>; export {}; //# sourceMappingURL=schema.d.ts.map