fix: add deprecation notice to dxt_version in v0.1 schemas

This commit is contained in:
Joan Xie 2025-09-24 13:50:16 -07:00
commit 9f078c6163
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ export const McpbUserConfigValuesSchema = z.record(
export const McpbManifestSchema = z
.strictObject({
$schema: z.string().optional(),
dxt_version: z.literal("0.1").optional(),
dxt_version: z.literal("0.1").optional().describe("@deprecated Use manifest_version instead"),
manifest_version: z.literal("0.1").optional(),
name: z.string(),
display_name: z.string().optional(),

View file

@ -79,7 +79,7 @@ export const McpbUserConfigValuesSchema = z.record(
export const McpbManifestSchema = z
.object({
$schema: z.string().optional(),
dxt_version: z.literal("0.1").optional(),
dxt_version: z.literal("0.1").optional().describe("@deprecated Use manifest_version instead"),
manifest_version: z.literal("0.1").optional(),
name: z.string(),
display_name: z.string().optional(),