fix: add deprecation notice to dxt_version in v0.1 schemas
This commit is contained in:
parent
16f173824c
commit
9f078c6163
2 changed files with 2 additions and 2 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue