Files
reverse-engineering-anything/src/mcpDoctorOptions.ts
T
morluto 07c5a54fee refactor(cli): import zod directly instead of through incur (#11655)
* refactor(cli): import zod directly instead of through incur

* fix(verify): count incur z imports from declarations, not comment or string text
2026-11-16 10:37:43 +08:00

17 lines
560 B
TypeScript

import { z } from "zod";
import { CLI_DOCUMENT_OUTPUT_FORMATS } from "./cliOutput.js";
/** The options accepted by the production MCP doctor entry. */
export const MCP_DOCTOR_OPTIONS = z.object({
format: z
.enum(CLI_DOCUMENT_OUTPUT_FORMATS)
.optional()
.describe("Output format"),
json: z.boolean().optional().describe("Emit the report as JSON"),
fullOutput: z.boolean().optional().describe("Show the full output envelope"),
help: z.boolean().optional().describe("Show help"),
});
export const MCP_DOCTOR_ALIAS = { help: "h" } as const;