chore: update protocol version to 2025-11-25 (#1218)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
bfad917cad
commit
600859f105
2 changed files with 5 additions and 4 deletions
|
|
@ -20,15 +20,16 @@ import {
|
|||
describe('Types', () => {
|
||||
test('should have correct latest protocol version', () => {
|
||||
expect(LATEST_PROTOCOL_VERSION).toBeDefined();
|
||||
expect(LATEST_PROTOCOL_VERSION).toBe('2025-06-18');
|
||||
expect(LATEST_PROTOCOL_VERSION).toBe('2025-11-25');
|
||||
});
|
||||
test('should have correct supported protocol versions', () => {
|
||||
expect(SUPPORTED_PROTOCOL_VERSIONS).toBeDefined();
|
||||
expect(SUPPORTED_PROTOCOL_VERSIONS).toBeInstanceOf(Array);
|
||||
expect(SUPPORTED_PROTOCOL_VERSIONS).toContain(LATEST_PROTOCOL_VERSION);
|
||||
expect(SUPPORTED_PROTOCOL_VERSIONS).toContain('2025-06-18');
|
||||
expect(SUPPORTED_PROTOCOL_VERSIONS).toContain('2025-03-26');
|
||||
expect(SUPPORTED_PROTOCOL_VERSIONS).toContain('2024-11-05');
|
||||
expect(SUPPORTED_PROTOCOL_VERSIONS).toContain('2024-10-07');
|
||||
expect(SUPPORTED_PROTOCOL_VERSIONS).toContain('2025-03-26');
|
||||
});
|
||||
|
||||
describe('ResourceLink', () => {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import * as z from 'zod/v4';
|
||||
import { AuthInfo } from './server/auth/types.js';
|
||||
|
||||
export const LATEST_PROTOCOL_VERSION = '2025-06-18';
|
||||
export const LATEST_PROTOCOL_VERSION = '2025-11-25';
|
||||
export const DEFAULT_NEGOTIATED_PROTOCOL_VERSION = '2025-03-26';
|
||||
export const SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, '2025-03-26', '2024-11-05', '2024-10-07'];
|
||||
export const SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, '2025-06-18', '2025-03-26', '2024-11-05', '2024-10-07'];
|
||||
|
||||
export const RELATED_TASK_META_KEY = 'io.modelcontextprotocol/related-task';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue