[skip ci] wip: preserve Hermes crank development checkpoint
Owner-authorized recovery of accumulated source changes.
Includes accepted work and in-progress changes; NOT a release or acceptance.
Parent baseline 1b6db09bd1. Runtime data, build caches and local credentials excluded.
This commit is contained in:
1 parent
1b6db09bd1
commit
75fe5a123c
357 files changed
+118831
-5113
No files matched your search
@@ -62,7 +62,7 @@ async function mcpPost(request, endpoint, key, payload, sessionId) {
|
||||
};
|
||||
if (sessionId) {
|
||||
headers['MCP-Session-Id'] = sessionId;
|
||||
headers['MCP-Protocol-Version'] = '2025-06-18';
|
||||
headers['MCP-Protocol-Version'] = '2025-11-25';
|
||||
}
|
||||
return request.post(endpoint, { headers, data: payload });
|
||||
}
|
||||
@@ -613,14 +613,14 @@ test('first value is proven only by a real tools/call through the public MCP end
|
||||
expect(provisioned.endpoint).toContain('/mcp/v1/');
|
||||
const initialize = await mcpPost(request, provisioned.endpoint, provisioned.key, {
|
||||
jsonrpc: '2.0', id: 1, method: 'initialize', params: {
|
||||
protocolVersion: '2025-06-18',
|
||||
protocolVersion: '2025-11-25',
|
||||
capabilities: {},
|
||||
clientInfo: { name: 'crank-onboarding-playwright', version: '1.0.0' },
|
||||
},
|
||||
});
|
||||
const initializeBody = await parseMcpResponse(initialize);
|
||||
expect(initialize.ok(), JSON.stringify(initializeBody)).toBe(true);
|
||||
expect(initializeBody.result.protocolVersion).toBe('2025-06-18');
|
||||
expect(initializeBody.result.protocolVersion).toBe('2025-11-25');
|
||||
const sessionId = initialize.headers()['mcp-session-id'];
|
||||
expect(sessionId).toBeTruthy();
|
||||
|
||||
|
||||
Reference in new issue
Block a user