sunpeak 0.18.9 → 0.18.13

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.
Files changed (68) hide show
  1. package/README.md +12 -0
  2. package/bin/commands/inspect.mjs +4 -1
  3. package/bin/commands/start.mjs +2 -1
  4. package/bin/lib/sandbox-server.mjs +12 -1
  5. package/dist/chatgpt/index.cjs +1 -1
  6. package/dist/chatgpt/index.js +1 -1
  7. package/dist/claude/index.cjs +1 -1
  8. package/dist/claude/index.js +1 -1
  9. package/dist/host/chatgpt/index.cjs +1 -1
  10. package/dist/host/chatgpt/index.js +1 -1
  11. package/dist/index.cjs +93 -93
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.js +54 -54
  14. package/dist/index.js.map +1 -1
  15. package/dist/inspector/hosts.d.ts +12 -0
  16. package/dist/inspector/index.cjs +1 -1
  17. package/dist/inspector/index.js +1 -1
  18. package/dist/{inspector-CTMccsz9.cjs → inspector-8nPV2A-z.cjs} +93 -51
  19. package/dist/inspector-8nPV2A-z.cjs.map +1 -0
  20. package/dist/{inspector-DkS75JCk.js → inspector-Cdo5BK2D.js} +92 -50
  21. package/dist/inspector-Cdo5BK2D.js.map +1 -0
  22. package/dist/mcp/index.cjs +69 -62
  23. package/dist/mcp/index.cjs.map +1 -1
  24. package/dist/mcp/index.js +63 -56
  25. package/dist/mcp/index.js.map +1 -1
  26. package/dist/mcp/production-server.d.ts +12 -0
  27. package/dist/{protocol-DJmRaBzO.js → protocol-BfAACnv0.js} +14 -9
  28. package/dist/{protocol-DJmRaBzO.js.map → protocol-BfAACnv0.js.map} +1 -1
  29. package/dist/{protocol-jbxhzcnS.cjs → protocol-C7kTcBr_.cjs} +14 -9
  30. package/dist/{protocol-jbxhzcnS.cjs.map → protocol-C7kTcBr_.cjs.map} +1 -1
  31. package/dist/style.css +36 -1
  32. package/dist/{use-app-BNbz1uzj.js → use-app-CfP9VypY.js} +107 -56
  33. package/dist/use-app-CfP9VypY.js.map +1 -0
  34. package/dist/{use-app-Dqh20JPP.cjs → use-app-CzcYw1Kz.cjs} +165 -114
  35. package/dist/use-app-CzcYw1Kz.cjs.map +1 -0
  36. package/package.json +3 -3
  37. package/template/README.md +12 -0
  38. package/template/dist/albums/albums.html +16 -15
  39. package/template/dist/albums/albums.json +1 -1
  40. package/template/dist/carousel/carousel.html +20 -19
  41. package/template/dist/carousel/carousel.json +1 -1
  42. package/template/dist/map/map.html +7 -6
  43. package/template/dist/map/map.json +1 -1
  44. package/template/dist/review/review.html +6 -5
  45. package/template/dist/review/review.json +1 -1
  46. package/template/node_modules/.vite/deps/_metadata.json +3 -3
  47. package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps.js +49 -49
  48. package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps.js.map +1 -1
  49. package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_app-bridge.js +49 -49
  50. package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_app-bridge.js.map +1 -1
  51. package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_react.js +89 -89
  52. package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_react.js.map +1 -1
  53. package/template/node_modules/.vite-mcp/deps/_metadata.json +24 -24
  54. package/template/node_modules/.vite-mcp/deps/{protocol-CTflwIfG.js → protocol-B_qKkui_.js} +14 -9
  55. package/template/node_modules/.vite-mcp/deps/protocol-B_qKkui_.js.map +1 -0
  56. package/template/src/resources/carousel/carousel.test.tsx +16 -2
  57. package/template/src/resources/carousel/carousel.tsx +42 -14
  58. package/template/src/resources/carousel/components/carousel.tsx +20 -0
  59. package/template/src/resources/carousel/components/index.ts +1 -0
  60. package/template/src/resources/carousel/components/place-detail.tsx +153 -0
  61. package/template/tests/e2e/carousel.spec.ts +125 -0
  62. package/template/tests/live/carousel.spec.ts +2 -2
  63. package/template/tests/simulations/show-carousel.json +54 -5
  64. package/dist/inspector-CTMccsz9.cjs.map +0 -1
  65. package/dist/inspector-DkS75JCk.js.map +0 -1
  66. package/dist/use-app-BNbz1uzj.js.map +0 -1
  67. package/dist/use-app-Dqh20JPP.cjs.map +0 -1
  68. package/template/node_modules/.vite-mcp/deps/protocol-CTflwIfG.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { $ as literal, L as RequestIdSchema, Q as boolean, R as ResourceLinkSchema, U as ToolSchema, X as _undefined, Z as array, _ as ImplementationSchema, a as CallToolResultSchema, at as unknown, et as number, it as union, nt as record, p as EmbeddedResourceSchema, rt as string, s as ContentBlockSchema, tt as object } from "./protocol-DJmRaBzO.js";
2
- import { $ as s, A as V, B as e, C as QQ, D as T, E as S, F as _Q, G as k, H as gQ, I as a, J as o, K as m, L as b, M as W, N as WQ, O as TQ, P as _, Q as r, R as c, S as PQ, T as RQ, U as h, V as g, W as jQ, X as q, Y as p, Z as qQ, _ as LQ, a as B, at as zQ, b as OQ, c as EQ, d as G, et as t, f as I, g as L, h as K, i as AQ, it as z, j as VQ, k as U, l as F, m as J, n as AppProvider, nt as w, o as BQ, p as IQ, q as n, r as A, rt as x, s as C, t as useApp, tt as vX, u as FQ, v as MX, w as R, x as P, y as O, z as d } from "./use-app-BNbz1uzj.js";
3
- import { S as DEFAULT_STYLE_VARIABLES } from "./inspector-DkS75JCk.js";
1
+ import { $ as literal, L as RequestIdSchema, Q as boolean, R as ResourceLinkSchema, U as ToolSchema, X as _undefined, Z as array, _ as ImplementationSchema, a as CallToolResultSchema, at as unknown, et as number, it as union, nt as record, p as EmbeddedResourceSchema, rt as string, s as ContentBlockSchema, tt as object } from "./protocol-BfAACnv0.js";
2
+ import { $ as v, A as UX, B as i, C as OQ, D as RX, E as R, F as a, G as m, H as k, I as b, J as p, K as n, L as c, M as VQ, N as WQ, O as T, P as _, Q as u, R as f, S as O, T as PQ, U as kQ, V as jQ, W as l, X as r, Y as q, Z as s, _ as JQ, a as B, at as zQ, b as LQ, c as D, d as F, et as w, f as FQ, g as IQ, h as I, i as AQ, it as z, j as V, k as U, l as E, m as GQ, n as AppProvider, nt as x, o as BQ, p as G, q as o, r as A, rt as y, s as C, t as useApp, tt as wQ, u as EQ, v as K, w as P, x as NQ, y as L, z as g } from "./use-app-CfP9VypY.js";
3
+ import { S as DEFAULT_STYLE_VARIABLES } from "./inspector-Cdo5BK2D.js";
4
4
  import { detectHost, isChatGPT, isClaude } from "./host/index.js";
5
5
  import { t as inspector_exports } from "./inspector/index.js";
6
6
  import { t as chatgpt_exports } from "./chatgpt/index.js";
7
7
  import * as React from "react";
8
8
  import { forwardRef, useCallback, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
9
9
  import { jsx } from "react/jsx-runtime";
10
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+ext-apps@1.3.1_@modelcontextprotocol+sdk@1.27.1_zod@4.3.6__react-_cd1fb28fd87e0bddd0a29eba0721855d/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/index.js
11
- var m$1 = union([literal("light"), literal("dark")]).describe("Color theme preference for the host environment."), W$1 = union([
10
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+ext-apps@1.3.2_@modelcontextprotocol+sdk@1.29.0_zod@4.3.6__react-_38e5f6c50a4ca9cf3f1dffc73a60c951/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/index.js
11
+ var h = union([literal("light"), literal("dark")]).describe("Color theme preference for the host environment."), j = union([
12
12
  literal("inline"),
13
13
  literal("fullscreen"),
14
14
  literal("pip")
@@ -119,7 +119,7 @@ object({
119
119
  method: literal("ui/notifications/sandbox-proxy-ready"),
120
120
  params: object({})
121
121
  });
122
- var P$1 = object({
122
+ var V$1 = object({
123
123
  connectDomains: array(string()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).
124
124
 
125
125
  - Maps to CSP \`connect-src\` directive
@@ -127,7 +127,7 @@ var P$1 = object({
127
127
  resourceDomains: array(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)"),
128
128
  frameDomains: array(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'`)"),
129
129
  baseUriDomains: array(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'`)")
130
- }), _$1 = object({
130
+ }), P$1 = object({
131
131
  camera: object({}).optional().describe("Request camera access.\n\nMaps to Permission Policy `camera` feature."),
132
132
  microphone: object({}).optional().describe("Request microphone access.\n\nMaps to Permission Policy `microphone` feature."),
133
133
  geolocation: object({}).optional().describe("Request geolocation access.\n\nMaps to Permission Policy `geolocation` feature."),
@@ -152,16 +152,16 @@ object({
152
152
  method: literal("ui/notifications/tool-cancelled"),
153
153
  params: object({ reason: string().optional().describe("Optional reason for the cancellation (e.g., \"user action\", \"timeout\").") })
154
154
  });
155
- var c$1 = object({ fonts: string().optional() }), r$2 = object({
155
+ var m$1 = object({ fonts: string().optional() }), c$1 = object({
156
156
  variables: qJ.optional().describe("CSS variables for theming the app."),
157
- css: c$1.optional().describe("CSS blocks that apps can inject.")
157
+ css: m$1.optional().describe("CSS blocks that apps can inject.")
158
158
  });
159
159
  object({
160
160
  method: literal("ui/resource-teardown"),
161
161
  params: object({})
162
162
  });
163
163
  record(string(), unknown());
164
- var w$1 = object({
164
+ var U$1 = object({
165
165
  text: object({}).optional().describe("Host supports text content blocks."),
166
166
  image: object({}).optional().describe("Host supports image content blocks."),
167
167
  audio: object({}).optional().describe("Host supports audio content blocks."),
@@ -173,7 +173,7 @@ object({
173
173
  method: literal("ui/notifications/request-teardown"),
174
174
  params: object({}).optional()
175
175
  });
176
- var l = object({
176
+ var r$2 = object({
177
177
  experimental: object({}).optional().describe("Experimental features (structure TBD)."),
178
178
  openLinks: object({}).optional().describe("Host supports opening external URLs."),
179
179
  downloadFile: object({}).optional().describe("Host supports file downloads via ui/download-file."),
@@ -181,23 +181,23 @@ var l = object({
181
181
  serverResources: object({ listChanged: boolean().optional().describe("Host supports resources/list_changed notifications.") }).optional().describe("Host can proxy resource reads to the MCP server."),
182
182
  logging: object({}).optional().describe("Host accepts log messages."),
183
183
  sandbox: object({
184
- permissions: _$1.optional().describe("Permissions granted by the host (camera, microphone, geolocation)."),
185
- csp: P$1.optional().describe("CSP domains approved by the host.")
184
+ permissions: P$1.optional().describe("Permissions granted by the host (camera, microphone, geolocation)."),
185
+ csp: V$1.optional().describe("CSP domains approved by the host.")
186
186
  }).optional().describe("Sandbox configuration applied by the host."),
187
- updateModelContext: w$1.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns."),
188
- message: w$1.optional().describe("Host supports receiving content messages (ui/message) from the view.")
189
- }), i = object({
187
+ updateModelContext: U$1.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns."),
188
+ message: U$1.optional().describe("Host supports receiving content messages (ui/message) from the view.")
189
+ }), l$1 = object({
190
190
  experimental: object({}).optional().describe("Experimental features (structure TBD)."),
191
191
  tools: object({ listChanged: boolean().optional().describe("App supports tools/list_changed notifications.") }).optional().describe("App exposes MCP-style tools that the host can call."),
192
- availableDisplayModes: array(W$1).optional().describe("Display modes the app supports.")
192
+ availableDisplayModes: array(j).optional().describe("Display modes the app supports.")
193
193
  });
194
194
  object({
195
195
  method: literal("ui/notifications/initialized"),
196
196
  params: object({}).optional()
197
197
  });
198
198
  object({
199
- csp: P$1.optional().describe("Content Security Policy configuration for UI resources."),
200
- permissions: _$1.optional().describe("Sandbox permissions requested by the UI resource."),
199
+ csp: V$1.optional().describe("Content Security Policy configuration for UI resources."),
200
+ permissions: P$1.optional().describe("Sandbox permissions requested by the UI resource."),
201
201
  domain: string().optional().describe(`Dedicated origin for view sandbox.
202
202
 
203
203
  Useful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.
@@ -217,13 +217,13 @@ Boolean requesting whether a visible border and background is provided by the ho
217
217
  });
218
218
  object({
219
219
  method: literal("ui/request-display-mode"),
220
- params: object({ mode: W$1.describe("The display mode being requested.") })
220
+ params: object({ mode: j.describe("The display mode being requested.") })
221
221
  });
222
- object({ mode: W$1.describe("The display mode that was actually set. May differ from requested if not supported.") }).passthrough();
223
- var p$1 = union([literal("model"), literal("app")]).describe("Tool visibility scope - who can access the tool.");
222
+ object({ mode: j.describe("The display mode that was actually set. May differ from requested if not supported.") }).passthrough();
223
+ var i$1 = union([literal("model"), literal("app")]).describe("Tool visibility scope - who can access the tool.");
224
224
  object({
225
225
  resourceUri: string().optional(),
226
- visibility: array(p$1).optional().describe(`Who can access this tool. Default: ["model", "app"]
226
+ visibility: array(i$1).optional().describe(`Who can access this tool. Default: ["model", "app"]
227
227
  - "model": Tool visible to and callable by the agent
228
228
  - "app": Tool callable by the app from this server only`)
229
229
  });
@@ -244,23 +244,23 @@ object({
244
244
  params: object({
245
245
  html: string().describe("HTML content to load into the inner iframe."),
246
246
  sandbox: string().optional().describe("Optional override for the inner iframe's sandbox attribute."),
247
- csp: P$1.optional().describe("CSP configuration from resource metadata."),
248
- permissions: _$1.optional().describe("Sandbox permissions from resource metadata.")
247
+ csp: V$1.optional().describe("CSP configuration from resource metadata."),
248
+ permissions: P$1.optional().describe("Sandbox permissions from resource metadata.")
249
249
  })
250
250
  });
251
251
  object({
252
252
  method: literal("ui/notifications/tool-result"),
253
253
  params: CallToolResultSchema.describe("Standard MCP tool execution result.")
254
254
  });
255
- var g$1 = object({
255
+ var C$1 = object({
256
256
  toolInfo: object({
257
257
  id: RequestIdSchema.optional().describe("JSON-RPC id of the tools/call request."),
258
258
  tool: ToolSchema.describe("Tool definition including name, inputSchema, etc.")
259
259
  }).optional().describe("Metadata of the tool call that instantiated this App."),
260
- theme: m$1.optional().describe("Current color theme preference."),
261
- styles: r$2.optional().describe("Style configuration for theming the app."),
262
- displayMode: W$1.optional().describe("How the UI is currently displayed."),
263
- availableDisplayModes: array(W$1).optional().describe("Display modes the host supports."),
260
+ theme: h.optional().describe("Current color theme preference."),
261
+ styles: c$1.optional().describe("Style configuration for theming the app."),
262
+ displayMode: j.optional().describe("How the UI is currently displayed."),
263
+ availableDisplayModes: array(j).optional().describe("Display modes the host supports."),
264
264
  containerDimensions: union([object({ height: number().describe("Fixed container height in pixels.") }), object({ maxHeight: union([number(), _undefined()]).optional().describe("Maximum container height in pixels.") })]).and(union([object({ width: number().describe("Fixed container width in pixels.") }), object({ maxWidth: union([number(), _undefined()]).optional().describe("Maximum container width in pixels.") })])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other
265
265
  container holding the app. Specify either width or maxWidth, and either height or maxHeight.`),
266
266
  locale: string().optional().describe("User's language and region preference in BCP 47 format."),
@@ -284,7 +284,7 @@ container holding the app. Specify either width or maxWidth, and either height o
284
284
  }).passthrough();
285
285
  object({
286
286
  method: literal("ui/notifications/host-context-changed"),
287
- params: g$1.describe("Partial context update containing only changed fields.")
287
+ params: C$1.describe("Partial context update containing only changed fields.")
288
288
  });
289
289
  object({
290
290
  method: literal("ui/update-model-context"),
@@ -297,29 +297,29 @@ object({
297
297
  method: literal("ui/initialize"),
298
298
  params: object({
299
299
  appInfo: ImplementationSchema.describe("App identification (name and version)."),
300
- appCapabilities: i.describe("Features and capabilities this app provides."),
300
+ appCapabilities: l$1.describe("Features and capabilities this app provides."),
301
301
  protocolVersion: string().describe("Protocol version this app supports.")
302
302
  })
303
303
  });
304
304
  object({
305
305
  protocolVersion: string().describe("Negotiated protocol version string (e.g., \"2025-11-21\")."),
306
306
  hostInfo: ImplementationSchema.describe("Host application identification and version."),
307
- hostCapabilities: l.describe("Features and capabilities provided by the host."),
308
- hostContext: g$1.describe("Rich context about the host environment.")
307
+ hostCapabilities: r$2.describe("Features and capabilities provided by the host."),
308
+ hostContext: C$1.describe("Rich context about the host environment.")
309
309
  }).passthrough();
310
- function O$1() {
310
+ function _$1() {
311
311
  let K = document.documentElement.getAttribute("data-theme");
312
312
  if (K === "dark" || K === "light") return K;
313
313
  return document.documentElement.classList.contains("dark") ? "dark" : "light";
314
314
  }
315
- function q$1(K) {
315
+ function O$1(K) {
316
316
  let Q = document.documentElement;
317
317
  Q.setAttribute("data-theme", K), Q.style.colorScheme = K;
318
318
  }
319
- function D(K, Q = document.documentElement) {
319
+ function q$1(K, Q = document.documentElement) {
320
320
  for (let [X, Y] of Object.entries(K)) if (Y !== void 0) Q.style.setProperty(X, Y);
321
321
  }
322
- function I$1(K) {
322
+ function D$1(K) {
323
323
  if (document.getElementById("__mcp-host-fonts")) return;
324
324
  let X = document.createElement("style");
325
325
  X.id = "__mcp-host-fonts", X.textContent = K, document.head.appendChild(X);
@@ -331,10 +331,10 @@ function eK(K, Q) {
331
331
  }, [K, Q]);
332
332
  }
333
333
  function XQ() {
334
- let [K, Q] = useState(O$1);
334
+ let [K, Q] = useState(_$1);
335
335
  return useEffect(() => {
336
336
  let X = new MutationObserver(() => {
337
- Q(O$1());
337
+ Q(_$1());
338
338
  });
339
339
  return X.observe(document.documentElement, {
340
340
  attributes: !0,
@@ -349,14 +349,14 @@ function rJ(K, Q) {
349
349
  let X = useRef(!1);
350
350
  useEffect(() => {
351
351
  if (X.current) return;
352
- if (Q?.theme) q$1(Q.theme);
353
- if (Q?.styles?.variables) D(Q.styles.variables);
352
+ if (Q?.theme) O$1(Q.theme);
353
+ if (Q?.styles?.variables) q$1(Q.styles.variables);
354
354
  if (Q?.theme || Q?.styles?.variables) X.current = !0;
355
355
  }, [Q]), useEffect(() => {
356
356
  if (!K) return;
357
357
  K.onhostcontextchanged = (Y) => {
358
- if (Y.theme) q$1(Y.theme);
359
- if (Y.styles?.variables) D(Y.styles.variables);
358
+ if (Y.theme) O$1(Y.theme);
359
+ if (Y.styles?.variables) q$1(Y.styles.variables);
360
360
  };
361
361
  }, [K]);
362
362
  }
@@ -364,15 +364,15 @@ function lJ(K, Q) {
364
364
  let X = useRef(!1);
365
365
  useEffect(() => {
366
366
  if (X.current) return;
367
- if (Q?.styles?.css?.fonts) I$1(Q.styles.css.fonts), X.current = !0;
367
+ if (Q?.styles?.css?.fonts) D$1(Q.styles.css.fonts), X.current = !0;
368
368
  }, [Q]), useEffect(() => {
369
369
  if (!K) return;
370
370
  K.onhostcontextchanged = (Y) => {
371
- if (Y.styles?.css?.fonts) I$1(Y.styles.css.fonts);
371
+ if (Y.styles?.css?.fonts) D$1(Y.styles.css.fonts);
372
372
  };
373
373
  }, [K]);
374
374
  }
375
- function GQ(K, Q) {
375
+ function GQ$1(K, Q) {
376
376
  rJ(K, Q), lJ(K, Q);
377
377
  }
378
378
  //#endregion
@@ -392,8 +392,8 @@ var registries$1 = /* @__PURE__ */ new WeakMap();
392
392
  * Host-provided variables override defaults since they're applied after.
393
393
  */
394
394
  function applyStyles(variables) {
395
- TQ(DEFAULT_STYLE_VARIABLES);
396
- if (variables) TQ(variables);
395
+ FQ(DEFAULT_STYLE_VARIABLES);
396
+ if (variables) FQ(variables);
397
397
  }
398
398
  function getRegistry$1(app) {
399
399
  let subs = registries$1.get(app);
@@ -401,15 +401,15 @@ function getRegistry$1(app) {
401
401
  subs = /* @__PURE__ */ new Set();
402
402
  registries$1.set(app, subs);
403
403
  const ctx = app.getHostContext();
404
- if (ctx?.theme) qQ(ctx.theme);
404
+ if (ctx?.theme) AQ(ctx.theme);
405
405
  applyStyles(ctx?.styles?.variables);
406
- if (ctx?.styles?.css?.fonts) RQ(ctx.styles.css.fonts);
406
+ if (ctx?.styles?.css?.fonts) PQ(ctx.styles.css.fonts);
407
407
  let debounceTimer = null;
408
408
  app.onhostcontextchanged = () => {
409
409
  const ctx = app.getHostContext();
410
- if (ctx?.theme) qQ(ctx.theme);
410
+ if (ctx?.theme) AQ(ctx.theme);
411
411
  applyStyles(ctx?.styles?.variables);
412
- if (ctx?.styles?.css?.fonts) RQ(ctx.styles.css.fonts);
412
+ if (ctx?.styles?.css?.fonts) PQ(ctx.styles.css.fonts);
413
413
  if (debounceTimer) clearTimeout(debounceTimer);
414
414
  debounceTimer = setTimeout(() => {
415
415
  debounceTimer = null;
@@ -3205,6 +3205,6 @@ var prefersReducedMotion = createMediaQueryFn("(prefers-reduced-motion: reduce)"
3205
3205
  var isPrimarilyTouchDevice = createMediaQueryFn("(pointer: coarse)");
3206
3206
  var isHoverAvailable = createMediaQueryFn("(hover: hover)");
3207
3207
  //#endregion
3208
- export { gQ as App, AppProvider, h as DOWNLOAD_FILE_METHOD, a as HOST_CONTEXT_CHANGED_METHOD, e as INITIALIZED_METHOD, t as INITIALIZE_METHOD, W as LATEST_PROTOCOL_VERSION, m as MESSAGE_METHOD, g as McpUiAppCapabilitiesSchema, J as McpUiDisplayModeSchema, OQ as McpUiDownloadFileRequestSchema, _ as McpUiDownloadFileResultSchema, x as McpUiHostCapabilitiesSchema, R as McpUiHostContextChangedNotificationSchema, T as McpUiHostContextSchema, k as McpUiHostCssSchema, C as McpUiHostStylesSchema, FQ as McpUiInitializeRequestSchema, U as McpUiInitializeResultSchema, zQ as McpUiInitializedNotificationSchema, IQ as McpUiMessageRequestSchema, O as McpUiMessageResultSchema, VQ as McpUiOpenLinkRequestSchema, B as McpUiOpenLinkResultSchema, BQ as McpUiRequestDisplayModeRequestSchema, P as McpUiRequestDisplayModeResultSchema, WQ as McpUiRequestTeardownNotificationSchema, G as McpUiResourceCspSchema, LQ as McpUiResourceMetaSchema, V as McpUiResourcePermissionsSchema, F as McpUiResourceTeardownRequestSchema, EQ as McpUiResourceTeardownResultSchema, jQ as McpUiSizeChangedNotificationSchema, L as McpUiSupportedContentBlockModalitiesSchema, b as McpUiThemeSchema, A as McpUiToolCancelledNotificationSchema, I as McpUiToolInputNotificationSchema, w as McpUiToolInputPartialNotificationSchema, _Q as McpUiToolMetaSchema, q as McpUiToolResultNotificationSchema, S as McpUiToolVisibilitySchema, AQ as McpUiUpdateModelContextRequestSchema, d as OPEN_LINK_METHOD, K as PostMessageTransport, QQ as REQUEST_DISPLAY_MODE_METHOD, o as REQUEST_TEARDOWN_METHOD, vX as RESOURCE_MIME_TYPE, s as RESOURCE_TEARDOWN_METHOD, MX as RESOURCE_URI_META_KEY, r as SIZE_CHANGED_METHOD, SafeArea, n as TOOL_CANCELLED_METHOD, p as TOOL_INPUT_METHOD, z as TOOL_INPUT_PARTIAL_METHOD, c as TOOL_RESULT_METHOD, qQ as applyDocumentTheme, RQ as applyHostFonts, TQ as applyHostStyleVariables, chatgpt_exports as chatgpt, cn, detectHost, PQ as getDocumentTheme, inspector_exports as inspector, isChatGPT, isClaude, isHoverAvailable, isPrimarilyTouchDevice, prefersReducedMotion, useApp, useAppState, useAppTools, eK as useAutoResize, useCallServerTool, useDeviceCapabilities, useDisplayMode, XQ as useDocumentTheme, useDownloadFile, useHostContext, lJ as useHostFonts, useHostInfo, rJ as useHostStyleVariables, GQ as useHostStyles, useIsMobile, useListServerResources, useLocale, useOpenLink, usePlatform, useReadServerResource, useRequestDisplayMode, useRequestTeardown, useSafeArea, useSendLog, useSendMessage, useStyles, useTeardown, useTheme, useTimeZone, useToolData, useToolInfo, useUpdateModelContext, useUserAgent, useViewport };
3208
+ export { kQ as App, AppProvider, u as DOWNLOAD_FILE_METHOD, c as HOST_CONTEXT_CHANGED_METHOD, o as INITIALIZED_METHOD, a as INITIALIZE_METHOD, E as LATEST_PROTOCOL_VERSION, f as MESSAGE_METHOD, x as McpUiAppCapabilitiesSchema, D as McpUiDisplayModeSchema, LQ as McpUiDownloadFileRequestSchema, _ as McpUiDownloadFileResultSchema, C as McpUiHostCapabilitiesSchema, R as McpUiHostContextChangedNotificationSchema, T as McpUiHostContextSchema, b as McpUiHostCssSchema, k as McpUiHostStylesSchema, IQ as McpUiInitializeRequestSchema, U as McpUiInitializeResultSchema, NQ as McpUiInitializedNotificationSchema, BQ as McpUiMessageRequestSchema, O as McpUiMessageResultSchema, JQ as McpUiOpenLinkRequestSchema, B as McpUiOpenLinkResultSchema, EQ as McpUiRequestDisplayModeRequestSchema, P as McpUiRequestDisplayModeResultSchema, WQ as McpUiRequestTeardownNotificationSchema, G as McpUiResourceCspSchema, jQ as McpUiResourceMetaSchema, V as McpUiResourcePermissionsSchema, F as McpUiResourceTeardownRequestSchema, VQ as McpUiResourceTeardownResultSchema, GQ as McpUiSizeChangedNotificationSchema, L as McpUiSupportedContentBlockModalitiesSchema, v as McpUiThemeSchema, A as McpUiToolCancelledNotificationSchema, I as McpUiToolInputNotificationSchema, w as McpUiToolInputPartialNotificationSchema, zQ as McpUiToolMetaSchema, q as McpUiToolResultNotificationSchema, g as McpUiToolVisibilitySchema, OQ as McpUiUpdateModelContextRequestSchema, y as OPEN_LINK_METHOD, K as PostMessageTransport, s as REQUEST_DISPLAY_MODE_METHOD, p as REQUEST_TEARDOWN_METHOD, UX as RESOURCE_MIME_TYPE, n as RESOURCE_TEARDOWN_METHOD, RX as RESOURCE_URI_META_KEY, m as SIZE_CHANGED_METHOD, SafeArea, r as TOOL_CANCELLED_METHOD, i as TOOL_INPUT_METHOD, z as TOOL_INPUT_PARTIAL_METHOD, l as TOOL_RESULT_METHOD, AQ as applyDocumentTheme, PQ as applyHostFonts, FQ as applyHostStyleVariables, chatgpt_exports as chatgpt, cn, detectHost, wQ as getDocumentTheme, inspector_exports as inspector, isChatGPT, isClaude, isHoverAvailable, isPrimarilyTouchDevice, prefersReducedMotion, useApp, useAppState, useAppTools, eK as useAutoResize, useCallServerTool, useDeviceCapabilities, useDisplayMode, XQ as useDocumentTheme, useDownloadFile, useHostContext, lJ as useHostFonts, useHostInfo, rJ as useHostStyleVariables, GQ$1 as useHostStyles, useIsMobile, useListServerResources, useLocale, useOpenLink, usePlatform, useReadServerResource, useRequestDisplayMode, useRequestTeardown, useSafeArea, useSendLog, useSendMessage, useStyles, useTeardown, useTheme, useTimeZone, useToolData, useToolInfo, useUpdateModelContext, useUserAgent, useViewport };
3209
3209
 
3210
3210
  //# sourceMappingURL=index.js.map