sunpeak 0.20.64 → 0.20.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/commands/dev.mjs +88 -46
- package/bin/lib/inspect/inspect-config.mjs +6 -6
- package/bin/lib/live/live-config.mjs +8 -6
- package/bin/lib/test/test-config.mjs +7 -10
- package/dist/chatgpt/index.cjs +1 -1
- package/dist/chatgpt/index.js +1 -1
- package/dist/claude/index.cjs +1 -1
- package/dist/claude/index.js +1 -1
- package/dist/embed.css +2 -2
- package/dist/host/chatgpt/index.cjs +1 -1
- package/dist/host/chatgpt/index.js +1 -1
- package/dist/index.cjs +22 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +17 -12
- package/dist/index.js.map +1 -1
- package/dist/inspector/index.cjs +1 -1
- package/dist/inspector/index.js +1 -1
- package/dist/{inspector-Cl5w_7yQ.cjs → inspector-BSYXIDUe.cjs} +34 -17
- package/dist/{inspector-Cl5w_7yQ.cjs.map → inspector-BSYXIDUe.cjs.map} +1 -1
- package/dist/{inspector-DPJeSQAd.js → inspector-C5YJHT_c.js} +32 -16
- package/dist/{inspector-DPJeSQAd.js.map → inspector-C5YJHT_c.js.map} +1 -1
- package/dist/mcp/index.cjs +517 -104
- package/dist/mcp/index.cjs.map +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +505 -92
- package/dist/mcp/index.js.map +1 -1
- package/dist/style.css +7 -6
- package/dist/{use-app-D7-OtXBl.js → use-app-D27K0Cjf.js} +82 -32
- package/dist/{use-app-D7-OtXBl.js.map → use-app-D27K0Cjf.js.map} +1 -1
- package/dist/{use-app-BcSuulay.cjs → use-app-LPg2jlv8.cjs} +107 -32
- package/dist/{use-app-BcSuulay.cjs.map → use-app-LPg2jlv8.cjs.map} +1 -1
- package/package.json +21 -21
- package/template/dist/albums/albums.html +3 -3
- package/template/dist/albums/albums.json +1 -1
- package/template/dist/carousel/carousel.html +3 -3
- package/template/dist/carousel/carousel.json +1 -1
- package/template/dist/map/map.html +887 -811
- package/template/dist/map/map.json +1 -1
- package/template/dist/review/review.html +2 -2
- package/template/dist/review/review.json +1 -1
- package/template/node_modules/.bin/vite +2 -2
- package/template/node_modules/.bin/vitest +2 -2
- package/template/node_modules/.vite/deps/_metadata.json +4 -4
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps.js +83 -31
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_app-bridge.js +83 -31
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_app-bridge.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_react.js +83 -31
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_react.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/@testing-library_react.js +4 -4
- package/template/node_modules/.vite-mcp/deps/@testing-library_react.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/_metadata.json +36 -36
- package/template/node_modules/.vite-mcp/deps/{client-ClsaORxz.js → client-96teDLij.js} +6 -6
- package/template/node_modules/.vite-mcp/deps/{client-ClsaORxz.js.map → client-96teDLij.js.map} +1 -1
- package/template/node_modules/.vite-mcp/deps/{dist-CO4R4Zw4.js → dist-Bd8a6mlN.js} +17 -5
- package/template/node_modules/.vite-mcp/deps/{dist-CO4R4Zw4.js.map → dist-Bd8a6mlN.js.map} +1 -1
- package/template/node_modules/.vite-mcp/deps/embla-carousel-react.js +1 -1
- package/template/node_modules/.vite-mcp/deps/embla-carousel-react.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/mapbox-gl.js +15062 -13925
- package/template/node_modules/.vite-mcp/deps/mapbox-gl.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/react-dom.js +3 -3
- package/template/node_modules/.vite-mcp/deps/react-dom.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/react-dom_client.js +1 -1
- package/template/node_modules/.vite-mcp/deps/react.js +3 -3
- package/template/node_modules/.vite-mcp/deps/react.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/react_jsx-dev-runtime.js +2 -2
- package/template/node_modules/.vite-mcp/deps/react_jsx-dev-runtime.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/react_jsx-runtime.js +2 -2
- package/template/node_modules/.vite-mcp/deps/react_jsx-runtime.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/vitest.js +57 -36
- package/template/node_modules/.vite-mcp/deps/vitest.js.map +1 -1
- package/template/package.json +11 -11
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-fullscreen-chatgpt-linux.png +0 -0
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-fullscreen-claude-darwin.png +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_protocol = require("./protocol-DVkrOIAq.cjs");
|
|
2
2
|
let react = require("react");
|
|
3
3
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+ext-apps@1.7.4_@modelcontextprotocol+sdk@1.29.0_zod@4.4.3__react-
|
|
4
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+ext-apps@1.7.4_@modelcontextprotocol+sdk@1.29.0_zod@4.4.3__react-_b5c68214f1621bc5f24903738e19c6a8/node_modules/@modelcontextprotocol/ext-apps/dist/src/app.js
|
|
5
5
|
((X) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(X, { get: (Y, Z) => (typeof require < "u" ? require : Y)[Z] }) : X)(function(X) {
|
|
6
6
|
if (typeof require < "u") return require.apply(this, arguments);
|
|
7
7
|
throw Error("Dynamic require of \"" + X + "\" is not supported");
|
|
@@ -62,7 +62,24 @@ var _ = class extends require_protocol.Protocol {
|
|
|
62
62
|
if (this._registeredMethods.has(Z)) throw Error(`Handler for "${Z}" already registered (via ${Y}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);
|
|
63
63
|
this._registeredMethods.add(Z);
|
|
64
64
|
}
|
|
65
|
-
}
|
|
65
|
+
};
|
|
66
|
+
var E = "2026-01-26";
|
|
67
|
+
var l = "ui/open-link";
|
|
68
|
+
var r = "ui/download-file";
|
|
69
|
+
var n = "ui/message";
|
|
70
|
+
var a = "ui/notifications/sandbox-proxy-ready";
|
|
71
|
+
var o = "ui/notifications/sandbox-resource-ready";
|
|
72
|
+
var s = "ui/notifications/size-changed";
|
|
73
|
+
var t = "ui/notifications/tool-input";
|
|
74
|
+
var O = "ui/notifications/tool-input-partial";
|
|
75
|
+
var e = "ui/notifications/tool-result";
|
|
76
|
+
var QQ = "ui/notifications/tool-cancelled";
|
|
77
|
+
var XQ = "ui/notifications/host-context-changed";
|
|
78
|
+
var YQ = "ui/notifications/request-teardown";
|
|
79
|
+
var ZQ = "ui/resource-teardown";
|
|
80
|
+
var $Q = "ui/initialize";
|
|
81
|
+
var DQ = "ui/notifications/initialized";
|
|
82
|
+
var JQ = "ui/request-display-mode";
|
|
66
83
|
var j = class {
|
|
67
84
|
eventTarget;
|
|
68
85
|
eventSource;
|
|
@@ -96,11 +113,14 @@ var j = class {
|
|
|
96
113
|
onmessage;
|
|
97
114
|
sessionId;
|
|
98
115
|
setProtocolVersion;
|
|
99
|
-
}
|
|
116
|
+
};
|
|
117
|
+
var g = require_protocol.union([require_protocol.literal("light"), require_protocol.literal("dark")]).describe("Color theme preference for the host environment.");
|
|
118
|
+
var W = require_protocol.union([
|
|
100
119
|
require_protocol.literal("inline"),
|
|
101
120
|
require_protocol.literal("fullscreen"),
|
|
102
121
|
require_protocol.literal("pip")
|
|
103
|
-
]).describe("Display mode for UI presentation.")
|
|
122
|
+
]).describe("Display mode for UI presentation.");
|
|
123
|
+
var LQ = require_protocol.union([
|
|
104
124
|
require_protocol.literal("--color-background-primary"),
|
|
105
125
|
require_protocol.literal("--color-background-secondary"),
|
|
106
126
|
require_protocol.literal("--color-background-tertiary"),
|
|
@@ -177,7 +197,8 @@ var j = class {
|
|
|
177
197
|
require_protocol.literal("--shadow-sm"),
|
|
178
198
|
require_protocol.literal("--shadow-md"),
|
|
179
199
|
require_protocol.literal("--shadow-lg")
|
|
180
|
-
]).describe("CSS variable keys available to MCP apps for theming.")
|
|
200
|
+
]).describe("CSS variable keys available to MCP apps for theming.");
|
|
201
|
+
var BQ = require_protocol.record(LQ.describe(`Style variables for theming MCP apps.
|
|
181
202
|
|
|
182
203
|
Individual style keys are optional - hosts may provide any subset of these values.
|
|
183
204
|
Values are strings containing CSS values (colors, sizes, font stacks, etc.).
|
|
@@ -195,11 +216,15 @@ Individual style keys are optional - hosts may provide any subset of these value
|
|
|
195
216
|
Values are strings containing CSS values (colors, sizes, font stacks, etc.).
|
|
196
217
|
|
|
197
218
|
Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
|
|
198
|
-
for compatibility with Zod schema generation. Both are functionally equivalent for validation.`)
|
|
219
|
+
for compatibility with Zod schema generation. Both are functionally equivalent for validation.`);
|
|
220
|
+
var _Q = require_protocol.object({
|
|
199
221
|
method: require_protocol.literal("ui/open-link"),
|
|
200
222
|
params: require_protocol.object({ url: require_protocol.string().describe("URL to open in the host's browser") })
|
|
201
|
-
})
|
|
202
|
-
require_protocol.object({
|
|
223
|
+
});
|
|
224
|
+
var I = require_protocol.object({ isError: require_protocol.boolean().optional().describe("True if the host failed to open the URL (e.g., due to security policy).") }).passthrough();
|
|
225
|
+
var F = require_protocol.object({ isError: require_protocol.boolean().optional().describe("True if the download failed (e.g., user cancelled or host denied).") }).passthrough();
|
|
226
|
+
var q = require_protocol.object({ isError: require_protocol.boolean().optional().describe("True if the host rejected or failed to deliver the message.") }).passthrough();
|
|
227
|
+
var EQ = require_protocol.object({
|
|
203
228
|
method: require_protocol.literal("ui/notifications/sandbox-proxy-ready"),
|
|
204
229
|
params: require_protocol.object({})
|
|
205
230
|
});
|
|
@@ -211,43 +236,55 @@ var L = require_protocol.object({
|
|
|
211
236
|
resourceDomains: require_protocol.array(require_protocol.string()).optional().describe("Origins for static resources (images, scripts, stylesheets, fonts, media).\n\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\n- Wildcard subdomains supported: `https://*.example.com`\n- Empty or omitted → no network resources (secure default)"),
|
|
212
237
|
frameDomains: require_protocol.array(require_protocol.string()).optional().describe("Origins for nested iframes.\n\n- Maps to CSP `frame-src` directive\n- Empty or omitted → no nested iframes allowed (`frame-src 'none'`)"),
|
|
213
238
|
baseUriDomains: require_protocol.array(require_protocol.string()).optional().describe("Allowed base URIs for the document.\n\n- Maps to CSP `base-uri` directive\n- Empty or omitted → only same origin allowed (`base-uri 'self'`)")
|
|
214
|
-
})
|
|
239
|
+
});
|
|
240
|
+
var B = require_protocol.object({
|
|
215
241
|
camera: require_protocol.object({}).optional().describe("Request camera access.\n\nMaps to Permission Policy `camera` feature."),
|
|
216
242
|
microphone: require_protocol.object({}).optional().describe("Request microphone access.\n\nMaps to Permission Policy `microphone` feature."),
|
|
217
243
|
geolocation: require_protocol.object({}).optional().describe("Request geolocation access.\n\nMaps to Permission Policy `geolocation` feature."),
|
|
218
244
|
clipboardWrite: require_protocol.object({}).optional().describe("Request clipboard write access.\n\nMaps to Permission Policy `clipboard-write` feature.")
|
|
219
|
-
})
|
|
245
|
+
});
|
|
246
|
+
var OQ = require_protocol.object({
|
|
220
247
|
method: require_protocol.literal("ui/notifications/size-changed"),
|
|
221
248
|
params: require_protocol.object({
|
|
222
249
|
width: require_protocol.number().optional().describe("New width in pixels."),
|
|
223
250
|
height: require_protocol.number().optional().describe("New height in pixels.")
|
|
224
251
|
})
|
|
225
|
-
})
|
|
252
|
+
});
|
|
253
|
+
var P = require_protocol.object({
|
|
226
254
|
method: require_protocol.literal("ui/notifications/tool-input"),
|
|
227
255
|
params: require_protocol.object({ arguments: require_protocol.record(require_protocol.string(), require_protocol.unknown().describe("Complete tool call arguments as key-value pairs.")).optional().describe("Complete tool call arguments as key-value pairs.") })
|
|
228
|
-
})
|
|
256
|
+
});
|
|
257
|
+
var w = require_protocol.object({
|
|
229
258
|
method: require_protocol.literal("ui/notifications/tool-input-partial"),
|
|
230
259
|
params: require_protocol.object({ arguments: require_protocol.record(require_protocol.string(), require_protocol.unknown().describe("Partial tool call arguments (incomplete, may change).")).optional().describe("Partial tool call arguments (incomplete, may change).") })
|
|
231
|
-
})
|
|
260
|
+
});
|
|
261
|
+
var A = require_protocol.object({
|
|
232
262
|
method: require_protocol.literal("ui/notifications/tool-cancelled"),
|
|
233
263
|
params: require_protocol.object({ reason: require_protocol.string().optional().describe("Optional reason for the cancellation (e.g., \"user action\", \"timeout\").") })
|
|
234
|
-
})
|
|
264
|
+
});
|
|
265
|
+
var v = require_protocol.object({ fonts: require_protocol.string().optional() });
|
|
266
|
+
var f = require_protocol.object({
|
|
235
267
|
variables: BQ.optional().describe("CSS variables for theming the app."),
|
|
236
268
|
css: v.optional().describe("CSS blocks that apps can inject.")
|
|
237
|
-
})
|
|
269
|
+
});
|
|
270
|
+
var R = require_protocol.object({
|
|
238
271
|
method: require_protocol.literal("ui/resource-teardown"),
|
|
239
272
|
params: require_protocol.object({})
|
|
240
|
-
})
|
|
273
|
+
});
|
|
274
|
+
var zQ = require_protocol.record(require_protocol.string(), require_protocol.unknown());
|
|
275
|
+
var z = require_protocol.object({
|
|
241
276
|
text: require_protocol.object({}).optional().describe("Host supports text content blocks."),
|
|
242
277
|
image: require_protocol.object({}).optional().describe("Host supports image content blocks."),
|
|
243
278
|
audio: require_protocol.object({}).optional().describe("Host supports audio content blocks."),
|
|
244
279
|
resource: require_protocol.object({}).optional().describe("Host supports resource content blocks."),
|
|
245
280
|
resourceLink: require_protocol.object({}).optional().describe("Host supports resource link content blocks."),
|
|
246
281
|
structuredContent: require_protocol.object({}).optional().describe("Host supports structured content.")
|
|
247
|
-
})
|
|
282
|
+
});
|
|
283
|
+
var IQ = require_protocol.object({
|
|
248
284
|
method: require_protocol.literal("ui/notifications/request-teardown"),
|
|
249
285
|
params: require_protocol.object({}).optional()
|
|
250
|
-
})
|
|
286
|
+
});
|
|
287
|
+
var u = require_protocol.object({
|
|
251
288
|
experimental: require_protocol.object({}).optional().describe("Experimental features (structure TBD)."),
|
|
252
289
|
openLinks: require_protocol.object({}).optional().describe("Host supports opening external URLs."),
|
|
253
290
|
downloadFile: require_protocol.object({}).optional().describe("Host supports file downloads via ui/download-file."),
|
|
@@ -261,14 +298,17 @@ var L = require_protocol.object({
|
|
|
261
298
|
updateModelContext: z.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns."),
|
|
262
299
|
message: z.optional().describe("Host supports receiving content messages (ui/message) from the view."),
|
|
263
300
|
sampling: require_protocol.object({ tools: require_protocol.object({}).optional().describe("Host supports tool use via `tools` and `toolChoice` parameters.") }).optional().describe("Host supports LLM sampling (sampling/createMessage) from the view.\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.")
|
|
264
|
-
})
|
|
301
|
+
});
|
|
302
|
+
var d = require_protocol.object({
|
|
265
303
|
experimental: require_protocol.object({}).optional().describe("Experimental features (structure TBD)."),
|
|
266
304
|
tools: require_protocol.object({ listChanged: require_protocol.boolean().optional().describe("App supports tools/list_changed notifications.") }).optional().describe("App exposes MCP-style tools that the host can call."),
|
|
267
305
|
availableDisplayModes: require_protocol.array(W).optional().describe("Display modes the app supports.")
|
|
268
|
-
})
|
|
306
|
+
});
|
|
307
|
+
var FQ = require_protocol.object({
|
|
269
308
|
method: require_protocol.literal("ui/notifications/initialized"),
|
|
270
309
|
params: require_protocol.object({}).optional()
|
|
271
|
-
})
|
|
310
|
+
});
|
|
311
|
+
var qQ = require_protocol.object({
|
|
272
312
|
csp: L.optional().describe("Content Security Policy configuration for UI resources."),
|
|
273
313
|
permissions: B.optional().describe("Sandbox permissions requested by the UI resource."),
|
|
274
314
|
domain: require_protocol.string().optional().describe(`Dedicated origin for view sandbox.
|
|
@@ -287,10 +327,14 @@ Boolean requesting whether a visible border and background is provided by the ho
|
|
|
287
327
|
- \`true\`: request visible border + background
|
|
288
328
|
- \`false\`: request no visible border + background
|
|
289
329
|
- omitted: host decides border`)
|
|
290
|
-
})
|
|
330
|
+
});
|
|
331
|
+
var PQ = require_protocol.object({
|
|
291
332
|
method: require_protocol.literal("ui/request-display-mode"),
|
|
292
333
|
params: require_protocol.object({ mode: W.describe("The display mode being requested.") })
|
|
293
|
-
})
|
|
334
|
+
});
|
|
335
|
+
var U = require_protocol.object({ mode: W.describe("The display mode that was actually set. May differ from requested if not supported.") }).passthrough();
|
|
336
|
+
var h = require_protocol.union([require_protocol.literal("model"), require_protocol.literal("app")]).describe("Tool visibility scope - who can access the tool.");
|
|
337
|
+
var wQ = require_protocol.object({
|
|
294
338
|
resourceUri: require_protocol.string().optional(),
|
|
295
339
|
visibility: require_protocol.array(h).optional().describe(`Who can access this tool. Default: ["model", "app"]
|
|
296
340
|
- "model": Tool visible to and callable by the agent
|
|
@@ -302,14 +346,15 @@ require_protocol.object({ mimeTypes: require_protocol.array(require_protocol.str
|
|
|
302
346
|
var AQ = require_protocol.object({
|
|
303
347
|
method: require_protocol.literal("ui/download-file"),
|
|
304
348
|
params: require_protocol.object({ contents: require_protocol.array(require_protocol.union([require_protocol.EmbeddedResourceSchema, require_protocol.ResourceLinkSchema])).describe("Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.") })
|
|
305
|
-
})
|
|
349
|
+
});
|
|
350
|
+
var RQ = require_protocol.object({
|
|
306
351
|
method: require_protocol.literal("ui/message"),
|
|
307
352
|
params: require_protocol.object({
|
|
308
353
|
role: require_protocol.literal("user").describe("Message role, currently only \"user\" is supported."),
|
|
309
354
|
content: require_protocol.array(require_protocol.ContentBlockSchema).describe("Message content blocks (text, image, etc.).")
|
|
310
355
|
})
|
|
311
356
|
});
|
|
312
|
-
require_protocol.object({
|
|
357
|
+
var UQ = require_protocol.object({
|
|
313
358
|
method: require_protocol.literal("ui/notifications/sandbox-resource-ready"),
|
|
314
359
|
params: require_protocol.object({
|
|
315
360
|
html: require_protocol.string().describe("HTML content to load into the inner iframe."),
|
|
@@ -321,7 +366,8 @@ require_protocol.object({
|
|
|
321
366
|
var H = require_protocol.object({
|
|
322
367
|
method: require_protocol.literal("ui/notifications/tool-result"),
|
|
323
368
|
params: require_protocol.CallToolResultSchema.describe("Standard MCP tool execution result.")
|
|
324
|
-
})
|
|
369
|
+
});
|
|
370
|
+
var T = require_protocol.object({
|
|
325
371
|
toolInfo: require_protocol.object({
|
|
326
372
|
id: require_protocol.RequestIdSchema.optional().describe("JSON-RPC id of the tools/call request."),
|
|
327
373
|
tool: require_protocol.ToolSchema.describe("Tool definition including name, inputSchema, etc.")
|
|
@@ -350,23 +396,27 @@ container holding the app. Specify either width or maxWidth, and either height o
|
|
|
350
396
|
bottom: require_protocol.number().describe("Bottom safe area inset in pixels."),
|
|
351
397
|
left: require_protocol.number().describe("Left safe area inset in pixels.")
|
|
352
398
|
}).optional().describe("Mobile safe area boundaries in pixels.")
|
|
353
|
-
}).passthrough()
|
|
399
|
+
}).passthrough();
|
|
400
|
+
var M = require_protocol.object({
|
|
354
401
|
method: require_protocol.literal("ui/notifications/host-context-changed"),
|
|
355
402
|
params: T.describe("Partial context update containing only changed fields.")
|
|
356
|
-
})
|
|
403
|
+
});
|
|
404
|
+
var HQ = require_protocol.object({
|
|
357
405
|
method: require_protocol.literal("ui/update-model-context"),
|
|
358
406
|
params: require_protocol.object({
|
|
359
407
|
content: require_protocol.array(require_protocol.ContentBlockSchema).optional().describe("Context content blocks (text, image, etc.)."),
|
|
360
408
|
structuredContent: require_protocol.record(require_protocol.string(), require_protocol.unknown().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.")
|
|
361
409
|
})
|
|
362
|
-
})
|
|
410
|
+
});
|
|
411
|
+
var TQ = require_protocol.object({
|
|
363
412
|
method: require_protocol.literal("ui/initialize"),
|
|
364
413
|
params: require_protocol.object({
|
|
365
414
|
appInfo: require_protocol.ImplementationSchema.describe("App identification (name and version)."),
|
|
366
415
|
appCapabilities: d.describe("Features and capabilities this app provides."),
|
|
367
416
|
protocolVersion: require_protocol.string().describe("Protocol version this app supports.")
|
|
368
417
|
})
|
|
369
|
-
})
|
|
418
|
+
});
|
|
419
|
+
var C = require_protocol.object({
|
|
370
420
|
protocolVersion: require_protocol.string().describe("Negotiated protocol version string (e.g., \"2025-11-21\")."),
|
|
371
421
|
hostInfo: require_protocol.ImplementationSchema.describe("Host application identification and version."),
|
|
372
422
|
hostCapabilities: u.describe("Features and capabilities provided by the host."),
|
|
@@ -410,7 +460,8 @@ function SQ(X) {
|
|
|
410
460
|
let Z = document.createElement("style");
|
|
411
461
|
Z.id = "__mcp-host-fonts", Z.textContent = X, document.head.appendChild(Z);
|
|
412
462
|
}
|
|
413
|
-
var eX = "ui/resourceUri"
|
|
463
|
+
var eX = "ui/resourceUri";
|
|
464
|
+
var QY = "text/html;profile=mcp-app";
|
|
414
465
|
var i = class i extends _ {
|
|
415
466
|
_appInfo;
|
|
416
467
|
_capabilities;
|
|
@@ -1018,6 +1069,12 @@ Object.defineProperty(exports, "E", {
|
|
|
1018
1069
|
return E;
|
|
1019
1070
|
}
|
|
1020
1071
|
});
|
|
1072
|
+
Object.defineProperty(exports, "EQ", {
|
|
1073
|
+
enumerable: true,
|
|
1074
|
+
get: function() {
|
|
1075
|
+
return EQ;
|
|
1076
|
+
}
|
|
1077
|
+
});
|
|
1021
1078
|
Object.defineProperty(exports, "F", {
|
|
1022
1079
|
enumerable: true,
|
|
1023
1080
|
get: function() {
|
|
@@ -1144,6 +1201,12 @@ Object.defineProperty(exports, "U", {
|
|
|
1144
1201
|
return U;
|
|
1145
1202
|
}
|
|
1146
1203
|
});
|
|
1204
|
+
Object.defineProperty(exports, "UQ", {
|
|
1205
|
+
enumerable: true,
|
|
1206
|
+
get: function() {
|
|
1207
|
+
return UQ;
|
|
1208
|
+
}
|
|
1209
|
+
});
|
|
1147
1210
|
Object.defineProperty(exports, "W", {
|
|
1148
1211
|
enumerable: true,
|
|
1149
1212
|
get: function() {
|
|
@@ -1180,6 +1243,12 @@ Object.defineProperty(exports, "_Q", {
|
|
|
1180
1243
|
return _Q;
|
|
1181
1244
|
}
|
|
1182
1245
|
});
|
|
1246
|
+
Object.defineProperty(exports, "a", {
|
|
1247
|
+
enumerable: true,
|
|
1248
|
+
get: function() {
|
|
1249
|
+
return a;
|
|
1250
|
+
}
|
|
1251
|
+
});
|
|
1183
1252
|
Object.defineProperty(exports, "bQ", {
|
|
1184
1253
|
enumerable: true,
|
|
1185
1254
|
get: function() {
|
|
@@ -1252,6 +1321,12 @@ Object.defineProperty(exports, "n", {
|
|
|
1252
1321
|
return n;
|
|
1253
1322
|
}
|
|
1254
1323
|
});
|
|
1324
|
+
Object.defineProperty(exports, "o", {
|
|
1325
|
+
enumerable: true,
|
|
1326
|
+
get: function() {
|
|
1327
|
+
return o;
|
|
1328
|
+
}
|
|
1329
|
+
});
|
|
1255
1330
|
Object.defineProperty(exports, "q", {
|
|
1256
1331
|
enumerable: true,
|
|
1257
1332
|
get: function() {
|
|
@@ -1325,4 +1400,4 @@ Object.defineProperty(exports, "zQ", {
|
|
|
1325
1400
|
}
|
|
1326
1401
|
});
|
|
1327
1402
|
|
|
1328
|
-
//# sourceMappingURL=use-app-
|
|
1403
|
+
//# sourceMappingURL=use-app-LPg2jlv8.cjs.map
|