feat: replace manifest_version with $schema field
- Replace manifest_version with $schema field pointing to official schema URL - Support backward compatibility with legacy dxt_version field - Update all examples and tests to use new $schema field - Mark dxt_version as deprecated but still functional - Require either $schema or dxt_version (at least one must be present)
This commit is contained in:
parent
cd922a0704
commit
7997e72758
1 changed files with 94 additions and 30 deletions
|
|
@ -90,7 +90,7 @@ describe("getMcpConfigForManifest", () => {
|
|||
};
|
||||
|
||||
const baseManifest: McpbManifest = {
|
||||
manifest_version: "1.0.0",
|
||||
$schema: "https://static.modelcontextprotocol.io/schemas/2025-08-26/mcpb.manifest.schema.json",
|
||||
name: "test-extension",
|
||||
version: "1.0.0",
|
||||
description: "Test extension",
|
||||
|
|
@ -305,7 +305,7 @@ describe("getMcpConfigForManifest", () => {
|
|||
|
||||
describe("hasRequiredConfigMissing", () => {
|
||||
const baseManifest: McpbManifest = {
|
||||
manifest_version: "1.0.0",
|
||||
$schema: "https://static.modelcontextprotocol.io/schemas/2025-08-26/mcpb.manifest.schema.json",
|
||||
name: "test-extension",
|
||||
version: "1.0.0",
|
||||
description: "Test extension",
|
||||
|
|
|
|||
Loading…
Reference in a new issue