fix: restore extensibility for ToolAnnotations schema #2339
main.yml
on: pull_request
Matrix: test
build
14s
publish
0s
Annotations
4 errors
|
build
Process completed with exit code 2.
|
|
build:
src/spec.types.test.ts#L317
Type 'ListToolsResult' is not assignable to type '{ [x: string]: unknown; _meta?: { [x: string]: unknown; } | undefined; nextCursor?: string | undefined; tools: { icons?: { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; }[] | undefined; ... 6 more ...; _meta?: { ...; } | undefined; }[]; }'.
|
|
build:
src/spec.types.test.ts#L309
Type 'Tool' is not assignable to type '{ icons?: { src: string; mimeType?: string | undefined; sizes?: string[] | undefined; }[] | undefined; name: string; title?: string | undefined; description?: string | undefined; inputSchema: { ...; }; outputSchema?: { ...; } | undefined; annotations?: { ...; } | undefined; _meta?: { ...; } | undefined; }'.
|
|
build:
src/spec.types.test.ts#L305
Type 'ToolAnnotations' is not assignable to type '{ [x: string]: unknown; title?: string | undefined; readOnlyHint?: boolean | undefined; destructiveHint?: boolean | undefined; idempotentHint?: boolean | undefined; openWorldHint?: boolean | undefined; }'.
|