fix: add schemas re-export file and update tests to use correct manifest version

- Create src/schemas.ts to re-export from schemas/index.ts for test imports
- Update test manifests to use manifest_version "0.2" instead of "1.0" or "1.0.0"
- Fix import sorting and formatting issues in schema files
- Export McpbManifestSchema from schemas/index.ts
This commit is contained in:
Joan Xie 2025-09-24 14:12:10 -07:00
commit fefd9e1d21
No known key found for this signature in database

View file

@ -27,9 +27,11 @@ export const MANIFEST_SCHEMAS_LOOSE = {
/**
* Get the current manifest schema based on CURRENT_MANIFEST_VERSION
*/
export const CURRENT_MANIFEST_SCHEMA = MANIFEST_SCHEMAS[CURRENT_MANIFEST_VERSION];
export const CURRENT_MANIFEST_SCHEMA =
MANIFEST_SCHEMAS[CURRENT_MANIFEST_VERSION];
/**
* Get the current loose manifest schema based on CURRENT_MANIFEST_VERSION
*/
export const CURRENT_MANIFEST_SCHEMA_LOOSE = MANIFEST_SCHEMAS_LOOSE[CURRENT_MANIFEST_VERSION];
export const CURRENT_MANIFEST_SCHEMA_LOOSE =
MANIFEST_SCHEMAS_LOOSE[CURRENT_MANIFEST_VERSION];