sunpeak 0.20.64 → 0.20.67

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 (60) hide show
  1. package/bin/commands/dev.mjs +88 -46
  2. package/bin/lib/inspect/inspect-config.mjs +6 -6
  3. package/bin/lib/live/live-config.mjs +8 -6
  4. package/bin/lib/test/test-config.mjs +7 -10
  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/embed.css +2 -2
  10. package/dist/host/chatgpt/index.cjs +1 -1
  11. package/dist/host/chatgpt/index.js +1 -1
  12. package/dist/index.cjs +14 -8
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.js +12 -7
  15. package/dist/index.js.map +1 -1
  16. package/dist/inspector/index.cjs +1 -1
  17. package/dist/inspector/index.js +1 -1
  18. package/dist/{inspector-DPJeSQAd.js → inspector-BQx_pKAK.js} +31 -15
  19. package/dist/{inspector-DPJeSQAd.js.map → inspector-BQx_pKAK.js.map} +1 -1
  20. package/dist/{inspector-Cl5w_7yQ.cjs → inspector-wz-9eEPo.cjs} +33 -16
  21. package/dist/{inspector-Cl5w_7yQ.cjs.map → inspector-wz-9eEPo.cjs.map} +1 -1
  22. package/dist/mcp/index.cjs +14 -7
  23. package/dist/mcp/index.cjs.map +1 -1
  24. package/dist/mcp/index.js +12 -6
  25. package/dist/mcp/index.js.map +1 -1
  26. package/dist/style.css +7 -6
  27. package/dist/{use-app-D7-OtXBl.js → use-app-BUrAWLg8.js} +76 -28
  28. package/dist/{use-app-D7-OtXBl.js.map → use-app-BUrAWLg8.js.map} +1 -1
  29. package/dist/{use-app-BcSuulay.cjs → use-app-QDHDymli.cjs} +78 -29
  30. package/dist/{use-app-BcSuulay.cjs.map → use-app-QDHDymli.cjs.map} +1 -1
  31. package/package.json +16 -16
  32. package/template/dist/albums/albums.html +2 -2
  33. package/template/dist/albums/albums.json +1 -1
  34. package/template/dist/carousel/carousel.html +2 -2
  35. package/template/dist/carousel/carousel.json +1 -1
  36. package/template/dist/map/map.html +755 -750
  37. package/template/dist/map/map.json +1 -1
  38. package/template/dist/review/review.html +1 -1
  39. package/template/dist/review/review.json +1 -1
  40. package/template/node_modules/.bin/vite +2 -2
  41. package/template/node_modules/.bin/vitest +2 -2
  42. package/template/node_modules/.vite/deps/_metadata.json +4 -4
  43. package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps.js +82 -30
  44. package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps.js.map +1 -1
  45. package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_app-bridge.js +82 -30
  46. package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_app-bridge.js.map +1 -1
  47. package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_react.js +82 -30
  48. package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_react.js.map +1 -1
  49. package/template/node_modules/.vite-mcp/deps/@testing-library_react.js.map +1 -1
  50. package/template/node_modules/.vite-mcp/deps/_metadata.json +24 -24
  51. package/template/node_modules/.vite-mcp/deps/{dist-CO4R4Zw4.js → dist-Bd8a6mlN.js} +17 -5
  52. package/template/node_modules/.vite-mcp/deps/{dist-CO4R4Zw4.js.map → dist-Bd8a6mlN.js.map} +1 -1
  53. package/template/node_modules/.vite-mcp/deps/embla-carousel-react.js.map +1 -1
  54. package/template/node_modules/.vite-mcp/deps/mapbox-gl.js +14765 -13820
  55. package/template/node_modules/.vite-mcp/deps/mapbox-gl.js.map +1 -1
  56. package/template/node_modules/.vite-mcp/deps/vitest.js +57 -36
  57. package/template/node_modules/.vite-mcp/deps/vitest.js.map +1 -1
  58. package/template/package.json +6 -6
  59. package/template/tests/e2e/visual.spec.ts-snapshots/albums-fullscreen-chatgpt-linux.png +0 -0
  60. package/template/tests/e2e/visual.spec.ts-snapshots/albums-fullscreen-claude-darwin.png +0 -0
package/dist/mcp/index.js CHANGED
@@ -8879,11 +8879,13 @@ var StreamableHTTPServerTransport = class {
8879
8879
  if (typeof __require < "u") return __require.apply(this, arguments);
8880
8880
  throw Error("Dynamic require of \"" + Z + "\" is not supported");
8881
8881
  });
8882
- var v = union([literal("light"), literal("dark")]).describe("Color theme preference for the host environment."), K = union([
8882
+ var v = union([literal("light"), literal("dark")]).describe("Color theme preference for the host environment.");
8883
+ var K = union([
8883
8884
  literal("inline"),
8884
8885
  literal("fullscreen"),
8885
8886
  literal("pip")
8886
- ]).describe("Display mode for UI presentation."), ZQ = record(union([
8887
+ ]).describe("Display mode for UI presentation.");
8888
+ var ZQ = record(union([
8887
8889
  literal("--color-background-primary"),
8888
8890
  literal("--color-background-secondary"),
8889
8891
  literal("--color-background-tertiary"),
@@ -8998,7 +9000,8 @@ var Y = object({
8998
9000
  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)"),
8999
9001
  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'`)"),
9000
9002
  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'`)")
9001
- }), j = object({
9003
+ });
9004
+ var j = object({
9002
9005
  camera: object({}).optional().describe("Request camera access.\n\nMaps to Permission Policy `camera` feature."),
9003
9006
  microphone: object({}).optional().describe("Request microphone access.\n\nMaps to Permission Policy `microphone` feature."),
9004
9007
  geolocation: object({}).optional().describe("Request geolocation access.\n\nMaps to Permission Policy `geolocation` feature."),
@@ -9023,7 +9026,8 @@ object({
9023
9026
  method: literal("ui/notifications/tool-cancelled"),
9024
9027
  params: object({ reason: string().optional().describe("Optional reason for the cancellation (e.g., \"user action\", \"timeout\").") })
9025
9028
  });
9026
- var f = object({ fonts: string().optional() }), u = object({
9029
+ var f = object({ fonts: string().optional() });
9030
+ var u = object({
9027
9031
  variables: ZQ.optional().describe("CSS variables for theming the app."),
9028
9032
  css: f.optional().describe("CSS blocks that apps can inject.")
9029
9033
  });
@@ -9058,7 +9062,8 @@ var d = object({
9058
9062
  updateModelContext: O.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns."),
9059
9063
  message: O.optional().describe("Host supports receiving content messages (ui/message) from the view."),
9060
9064
  sampling: object({ tools: 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.")
9061
- }), h = object({
9065
+ });
9066
+ var h = object({
9062
9067
  experimental: object({}).optional().describe("Experimental features (structure TBD)."),
9063
9068
  tools: object({ listChanged: boolean().optional().describe("App supports tools/list_changed notifications.") }).optional().describe("App exposes MCP-style tools that the host can call."),
9064
9069
  availableDisplayModes: array(K).optional().describe("Display modes the app supports.")
@@ -9181,7 +9186,8 @@ object({
9181
9186
  hostCapabilities: d.describe("Features and capabilities provided by the host."),
9182
9187
  hostContext: T.describe("Rich context about the host environment.")
9183
9188
  }).passthrough();
9184
- var C = "ui/resourceUri", p = "text/html;profile=mcp-app";
9189
+ var C = "ui/resourceUri";
9190
+ var p = "text/html;profile=mcp-app";
9185
9191
  function K3(Z, $, J, X) {
9186
9192
  let V = J._meta, D = V.ui, L = V[C], W = V;
9187
9193
  if (D?.resourceUri && !L) W = {