diff --git a/src/tools/globePanel.js b/src/tools/globePanel.js index f87179222..982914e3d 100644 --- a/src/tools/globePanel.js +++ b/src/tools/globePanel.js @@ -38,6 +38,7 @@ function panelHtml(appOrigin) { diff --git a/src/tools/globePanel.test.mjs b/src/tools/globePanel.test.mjs index 7500a580a..b231dc9bd 100644 --- a/src/tools/globePanel.test.mjs +++ b/src/tools/globePanel.test.mjs @@ -21,6 +21,9 @@ test('the globe panel is an MCP Apps resource that may frame only the app', () = assert.match(resource.text, /'ui\/initialize'/); assert.match(resource.text, /'ui\/notifications\/tool-result'/); assert.match(resource.text, /protocolVersion: "2026-01-26"/); + // The MCP Apps SDK's initialize parameters; hosts reject anything else. + assert.match(resource.text, /appInfo: \{ name: 'gods-eye-view'/); + assert.doesNotMatch(resource.text, /clientInfo/); }); test('show_in_gods_eye_view names the panel and shows a view another answer returned', async () => {