Skip to content

Commit 2ad6761

Browse files
Fix type error in buildManifest return type
Changed return type from McpbManifest to McpbManifestAny since the function returns a manifest with DEFAULT_MANIFEST_VERSION (0.2), not the latest version (0.3). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7f40d5b commit 2ad6761

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cli/init.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { existsSync, readFileSync, writeFileSync } from "fs";
33
import { basename, join, resolve } from "path";
44

55
import { DEFAULT_MANIFEST_VERSION } from "../shared/constants.js";
6-
import type { McpbManifest } from "../types.js";
6+
import type { McpbManifestAny } from "../types.js";
77

88
interface PackageJson {
99
name?: string;
@@ -878,7 +878,7 @@ export function buildManifest(
878878
resources: string;
879879
default_locale: string;
880880
},
881-
): McpbManifest {
881+
): McpbManifestAny {
882882
const { name, displayName, version, description, authorName } = basicInfo;
883883
const { authorEmail, authorUrl } = authorInfo;
884884
const { serverType, entryPoint, mcp_config } = serverConfig;

0 commit comments

Comments
 (0)