diff --git a/src/cli/init.ts b/src/cli/init.ts index 7682e0f..b462ced 100644 --- a/src/cli/init.ts +++ b/src/cli/init.ts @@ -3,7 +3,8 @@ import { existsSync, readFileSync, writeFileSync } from "fs"; import { basename, join, resolve } from "path"; import { DEFAULT_MANIFEST_VERSION } from "../shared/constants.js"; -import type { McpbManifest } from "../types.js"; +import type { McpbManifestSchema as McpbManifestSchemaV0_2 } from "../schemas/0.2.js"; +import type * as z from "zod"; interface PackageJson { name?: string; @@ -878,7 +879,7 @@ export function buildManifest( resources: string; default_locale: string; }, -): McpbManifest { +): z.infer { const { name, displayName, version, description, authorName } = basicInfo; const { authorEmail, authorUrl } = authorInfo; const { serverType, entryPoint, mcp_config } = serverConfig;