@superblocksteam/gateway 2.0.173-next.4 → 2.0.174-next.0

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 (175) hide show
  1. package/dist/agents/resolve-orchestrator-url.d.ts +0 -1
  2. package/dist/capabilities/integration-metadata.d.ts +0 -1
  3. package/dist/capabilities/lifecycle.d.ts +0 -1
  4. package/dist/capabilities/live-state-attaches.d.ts +0 -1
  5. package/dist/capabilities/query-integration.d.ts +0 -1
  6. package/dist/capabilities/source-files-archive.d.ts +0 -1
  7. package/dist/capabilities/tool-permission-reply.d.ts +0 -1
  8. package/dist/capabilities/types.d.ts +0 -1
  9. package/dist/capture/browser-contract.d.ts +0 -1
  10. package/dist/capture/browser-instructions.d.ts +0 -1
  11. package/dist/capture/capture-library-probe.d.ts +0 -1
  12. package/dist/capture/capture-library.d.ts +0 -1
  13. package/dist/capture/classify-library-paint.d.ts +0 -1
  14. package/dist/capture/cowork-editor-url.d.ts +0 -1
  15. package/dist/capture/host-mcp-scan.d.ts +0 -1
  16. package/dist/capture/library-parent-script.d.ts +0 -1
  17. package/dist/capture/mode.d.ts +0 -1
  18. package/dist/config.d.ts +0 -1
  19. package/dist/deadline.d.ts +0 -1
  20. package/dist/debug.d.ts +0 -1
  21. package/dist/deps.d.ts +0 -1
  22. package/dist/health/readiness.d.ts +0 -1
  23. package/dist/index.d.ts +0 -1
  24. package/dist/integrations/filters.d.ts +0 -1
  25. package/dist/integrations/map.d.ts +4 -10
  26. package/dist/integrations/map.js +6 -8
  27. package/dist/integrations/map.js.map +1 -1
  28. package/dist/integrations/profile-key.d.ts +0 -1
  29. package/dist/integrations/read-only-postgres-query.d.ts +0 -1
  30. package/dist/integrations/resolve-profile.d.ts +0 -1
  31. package/dist/main.d.ts +0 -1
  32. package/dist/orchestrator/client.d.ts +0 -1
  33. package/dist/playwright/ensure-chromium.d.ts +0 -1
  34. package/dist/preview/capture-screenshot.d.ts +0 -1
  35. package/dist/preview/viewer-url.d.ts +0 -1
  36. package/dist/process/fault-barrier.d.ts +0 -1
  37. package/dist/sabs/agent-facing-text.d.ts +0 -1
  38. package/dist/sabs/app-state.d.ts +0 -1
  39. package/dist/sabs/awaited-decision.d.ts +0 -1
  40. package/dist/sabs/browser-context.d.ts +0 -1
  41. package/dist/sabs/editor-client-methods.d.ts +0 -1
  42. package/dist/sabs/editor-client-methods.js +2 -4
  43. package/dist/sabs/editor-client-methods.js.map +1 -1
  44. package/dist/sabs/editor-socket.d.ts +0 -1
  45. package/dist/sabs/recent-tool-runs.d.ts +0 -1
  46. package/dist/sabs/session-peer.d.ts +0 -1
  47. package/dist/sabs/streamed-reply.d.ts +0 -1
  48. package/dist/sabs/turn-collector.d.ts +0 -1
  49. package/dist/sabs/websocket-session-peer.d.ts +0 -1
  50. package/dist/security/constant-time.d.ts +0 -1
  51. package/dist/server/client.d.ts +0 -1
  52. package/dist/server/identity-reads.d.ts +0 -1
  53. package/dist/start.d.ts +0 -1
  54. package/dist/stores/memory.d.ts +0 -1
  55. package/dist/stores/types.d.ts +0 -1
  56. package/dist/telemetry/mcp-client.d.ts +0 -1
  57. package/dist/telemetry/metrics.d.ts +0 -1
  58. package/dist/telemetry/runtime.d.ts +0 -1
  59. package/dist/transports/mcp/admin-tools.d.ts +0 -1
  60. package/dist/transports/mcp/app-status-html.d.ts +0 -1
  61. package/dist/transports/mcp/client-presentation.d.ts +0 -1
  62. package/dist/transports/mcp/decision-card-html.d.ts +0 -1
  63. package/dist/transports/mcp/decision-elicitation.d.ts +0 -1
  64. package/dist/transports/mcp/dispatch-probe.d.ts +0 -1
  65. package/dist/transports/mcp/editor-document-probe.d.ts +0 -1
  66. package/dist/transports/mcp/editor-integration-setup-url.d.ts +0 -1
  67. package/dist/transports/mcp/format-tool-content.d.ts +0 -1
  68. package/dist/transports/mcp/instructions/index.d.ts +0 -1
  69. package/dist/transports/mcp/instructions/result.d.ts +0 -1
  70. package/dist/transports/mcp/instructions/tools/ask-user.d.ts +0 -1
  71. package/dist/transports/mcp/instructions/tools/build-app.d.ts +0 -1
  72. package/dist/transports/mcp/instructions/tools/check-app-progress.d.ts +0 -1
  73. package/dist/transports/mcp/instructions/tools/check-publish-progress.d.ts +0 -1
  74. package/dist/transports/mcp/instructions/tools/copy.d.ts +0 -1
  75. package/dist/transports/mcp/instructions/tools/create-integration.d.ts +0 -1
  76. package/dist/transports/mcp/instructions/tools/edit-app.d.ts +0 -1
  77. package/dist/transports/mcp/instructions/tools/get-app.d.ts +0 -1
  78. package/dist/transports/mcp/instructions/tools/get-integration-metadata.d.ts +0 -1
  79. package/dist/transports/mcp/instructions/tools/index.d.ts +0 -1
  80. package/dist/transports/mcp/instructions/tools/publish-app.d.ts +0 -1
  81. package/dist/transports/mcp/instructions/tools/start-app.d.ts +0 -1
  82. package/dist/transports/mcp/instructions/tools/upload-artifact.d.ts +0 -1
  83. package/dist/transports/mcp/mcp-app-brand-css.d.ts +0 -1
  84. package/dist/transports/mcp/mount.d.ts +0 -1
  85. package/dist/transports/mcp/native-browser-presence.d.ts +0 -1
  86. package/dist/transports/mcp/plan-approval.d.ts +0 -1
  87. package/dist/transports/mcp/progress-notifier.d.ts +0 -1
  88. package/dist/transports/mcp/session-directory.d.ts +0 -1
  89. package/dist/transports/mcp/tool-names.d.ts +0 -1
  90. package/package.json +5 -5
  91. package/dist/agents/resolve-orchestrator-url.d.ts.map +0 -1
  92. package/dist/capabilities/integration-metadata.d.ts.map +0 -1
  93. package/dist/capabilities/lifecycle.d.ts.map +0 -1
  94. package/dist/capabilities/live-state-attaches.d.ts.map +0 -1
  95. package/dist/capabilities/query-integration.d.ts.map +0 -1
  96. package/dist/capabilities/source-files-archive.d.ts.map +0 -1
  97. package/dist/capabilities/tool-permission-reply.d.ts.map +0 -1
  98. package/dist/capabilities/types.d.ts.map +0 -1
  99. package/dist/capture/browser-contract.d.ts.map +0 -1
  100. package/dist/capture/browser-instructions.d.ts.map +0 -1
  101. package/dist/capture/capture-library-probe.d.ts.map +0 -1
  102. package/dist/capture/capture-library.d.ts.map +0 -1
  103. package/dist/capture/classify-library-paint.d.ts.map +0 -1
  104. package/dist/capture/cowork-editor-url.d.ts.map +0 -1
  105. package/dist/capture/host-mcp-scan.d.ts.map +0 -1
  106. package/dist/capture/library-parent-script.d.ts.map +0 -1
  107. package/dist/capture/mode.d.ts.map +0 -1
  108. package/dist/config.d.ts.map +0 -1
  109. package/dist/deadline.d.ts.map +0 -1
  110. package/dist/debug.d.ts.map +0 -1
  111. package/dist/deps.d.ts.map +0 -1
  112. package/dist/health/readiness.d.ts.map +0 -1
  113. package/dist/index.d.ts.map +0 -1
  114. package/dist/integrations/filters.d.ts.map +0 -1
  115. package/dist/integrations/map.d.ts.map +0 -1
  116. package/dist/integrations/profile-key.d.ts.map +0 -1
  117. package/dist/integrations/read-only-postgres-query.d.ts.map +0 -1
  118. package/dist/integrations/resolve-profile.d.ts.map +0 -1
  119. package/dist/main.d.ts.map +0 -1
  120. package/dist/orchestrator/client.d.ts.map +0 -1
  121. package/dist/playwright/ensure-chromium.d.ts.map +0 -1
  122. package/dist/preview/capture-screenshot.d.ts.map +0 -1
  123. package/dist/preview/viewer-url.d.ts.map +0 -1
  124. package/dist/process/fault-barrier.d.ts.map +0 -1
  125. package/dist/sabs/agent-facing-text.d.ts.map +0 -1
  126. package/dist/sabs/app-state.d.ts.map +0 -1
  127. package/dist/sabs/awaited-decision.d.ts.map +0 -1
  128. package/dist/sabs/browser-context.d.ts.map +0 -1
  129. package/dist/sabs/editor-client-methods.d.ts.map +0 -1
  130. package/dist/sabs/editor-socket.d.ts.map +0 -1
  131. package/dist/sabs/recent-tool-runs.d.ts.map +0 -1
  132. package/dist/sabs/session-peer.d.ts.map +0 -1
  133. package/dist/sabs/streamed-reply.d.ts.map +0 -1
  134. package/dist/sabs/turn-collector.d.ts.map +0 -1
  135. package/dist/sabs/websocket-session-peer.d.ts.map +0 -1
  136. package/dist/security/constant-time.d.ts.map +0 -1
  137. package/dist/server/client.d.ts.map +0 -1
  138. package/dist/server/identity-reads.d.ts.map +0 -1
  139. package/dist/start.d.ts.map +0 -1
  140. package/dist/stores/memory.d.ts.map +0 -1
  141. package/dist/stores/types.d.ts.map +0 -1
  142. package/dist/telemetry/mcp-client.d.ts.map +0 -1
  143. package/dist/telemetry/metrics.d.ts.map +0 -1
  144. package/dist/telemetry/runtime.d.ts.map +0 -1
  145. package/dist/transports/mcp/admin-tools.d.ts.map +0 -1
  146. package/dist/transports/mcp/app-status-html.d.ts.map +0 -1
  147. package/dist/transports/mcp/client-presentation.d.ts.map +0 -1
  148. package/dist/transports/mcp/decision-card-html.d.ts.map +0 -1
  149. package/dist/transports/mcp/decision-elicitation.d.ts.map +0 -1
  150. package/dist/transports/mcp/dispatch-probe.d.ts.map +0 -1
  151. package/dist/transports/mcp/editor-document-probe.d.ts.map +0 -1
  152. package/dist/transports/mcp/editor-integration-setup-url.d.ts.map +0 -1
  153. package/dist/transports/mcp/format-tool-content.d.ts.map +0 -1
  154. package/dist/transports/mcp/instructions/index.d.ts.map +0 -1
  155. package/dist/transports/mcp/instructions/result.d.ts.map +0 -1
  156. package/dist/transports/mcp/instructions/tools/ask-user.d.ts.map +0 -1
  157. package/dist/transports/mcp/instructions/tools/build-app.d.ts.map +0 -1
  158. package/dist/transports/mcp/instructions/tools/check-app-progress.d.ts.map +0 -1
  159. package/dist/transports/mcp/instructions/tools/check-publish-progress.d.ts.map +0 -1
  160. package/dist/transports/mcp/instructions/tools/copy.d.ts.map +0 -1
  161. package/dist/transports/mcp/instructions/tools/create-integration.d.ts.map +0 -1
  162. package/dist/transports/mcp/instructions/tools/edit-app.d.ts.map +0 -1
  163. package/dist/transports/mcp/instructions/tools/get-app.d.ts.map +0 -1
  164. package/dist/transports/mcp/instructions/tools/get-integration-metadata.d.ts.map +0 -1
  165. package/dist/transports/mcp/instructions/tools/index.d.ts.map +0 -1
  166. package/dist/transports/mcp/instructions/tools/publish-app.d.ts.map +0 -1
  167. package/dist/transports/mcp/instructions/tools/start-app.d.ts.map +0 -1
  168. package/dist/transports/mcp/instructions/tools/upload-artifact.d.ts.map +0 -1
  169. package/dist/transports/mcp/mcp-app-brand-css.d.ts.map +0 -1
  170. package/dist/transports/mcp/mount.d.ts.map +0 -1
  171. package/dist/transports/mcp/native-browser-presence.d.ts.map +0 -1
  172. package/dist/transports/mcp/plan-approval.d.ts.map +0 -1
  173. package/dist/transports/mcp/progress-notifier.d.ts.map +0 -1
  174. package/dist/transports/mcp/session-directory.d.ts.map +0 -1
  175. package/dist/transports/mcp/tool-names.d.ts.map +0 -1
@@ -9,4 +9,3 @@
9
9
  */
10
10
  export declare const APP_STATUS_RESOURCE_URI = "ui://gateway/app-status-v38.html";
11
11
  export declare const APP_STATUS_HTML = "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <title>Superblocks app</title>\n <style>\n .head {\n display: flex;\n min-width: 0;\n align-items: center;\n gap: 8px;\n }\n h1 {\n flex: 1;\n margin: 0;\n font-size: var(--font-text-md-size, 14px);\n font-weight: var(--font-weight-semibold, 600);\n }\n .status {\n padding: 2px 8px;\n border: var(--border-width-regular, 1px) solid var(--sb-app-border);\n border-radius: var(--border-radius-full, 999px);\n background: var(--sb-app-background-subtle);\n color: var(--sb-app-text-secondary);\n font-size: var(--font-text-xs-size, 12px);\n text-transform: lowercase;\n }\n .status[data-tone=\"info\"] {\n border-color: var(--sb-app-info-border);\n background: var(--sb-app-info-background);\n color: var(--sb-app-info-text);\n }\n .status[data-tone=\"success\"] {\n border-color: var(--sb-app-success-border);\n background: var(--sb-app-success-background);\n color: var(--sb-app-success-text);\n }\n .status[data-tone=\"warning\"] {\n border-color: var(--sb-app-warning-border);\n background: var(--sb-app-warning-background);\n color: var(--sb-app-warning-text);\n }\n .status[data-tone=\"danger\"] {\n border-color: var(--sb-app-danger-border);\n background: var(--sb-app-danger-background);\n color: var(--sb-app-danger-text);\n }\n .meta {\n color: var(--sb-app-text-tertiary);\n font-size: var(--font-text-xs-size, 12px);\n }\n .note {\n color: var(--sb-app-warning-text);\n font-size: var(--font-text-xs-size, 12px);\n }\n .shot {\n display: none;\n max-width: 100%;\n width: 100%;\n border: var(--border-width-regular, 1px) solid var(--sb-app-border);\n border-radius: var(--border-radius-md, 8px);\n }\n .shot.shown {\n display: block;\n }\n .actions {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n }\n @media (max-width: 360px) {\n .head {\n align-items: flex-start;\n flex-direction: column;\n }\n }\n\n :root {\n color-scheme: light dark;\n --sb-app-background: var(\n --color-background-primary,\n light-dark(#ffffff, #1b1c1f)\n );\n --sb-app-background-subtle: var(\n --color-background-secondary,\n light-dark(#f9fafb, #24272b)\n );\n --sb-app-background-hover: var(\n --color-background-tertiary,\n light-dark(#f3f4f6, #2f3437)\n );\n --sb-app-background-inverse: var(\n --color-background-inverse,\n light-dark(#121517, #f9fafb)\n );\n --sb-app-text: var(\n --color-text-primary,\n light-dark(#121517, #f9fafb)\n );\n --sb-app-text-secondary: var(\n --color-text-secondary,\n light-dark(#5a6272, #c6cad2)\n );\n --sb-app-text-tertiary: var(\n --color-text-tertiary,\n light-dark(#6b7280, #a4aab7)\n );\n --sb-app-text-inverse: var(\n --color-text-inverse,\n light-dark(#ffffff, #121517)\n );\n --sb-app-border: var(\n --color-border-primary,\n light-dark(#e8eaed, #454d5f)\n );\n --sb-app-ring: var(\n --color-ring-primary,\n light-dark(#0077b6, #27bbff)\n );\n --sb-app-info-background: var(\n --color-background-info,\n light-dark(#e6f5ff, #083a50)\n );\n --sb-app-info-text: var(\n --color-text-info,\n light-dark(#00679e, #7dd3fc)\n );\n --sb-app-info-border: var(\n --color-border-info,\n light-dark(#c2e7ff, #075985)\n );\n --sb-app-success-background: var(\n --color-background-success,\n light-dark(#e8f8ef, #0a3926)\n );\n --sb-app-success-text: var(\n --color-text-success,\n light-dark(#087a43, #6ee7b7)\n );\n --sb-app-success-border: var(\n --color-border-success,\n light-dark(#b8e8cf, #087a43)\n );\n --sb-app-warning-background: var(\n --color-background-warning,\n light-dark(#fff7e6, #49350a)\n );\n --sb-app-warning-text: var(\n --color-text-warning,\n light-dark(#946200, #fcd34d)\n );\n --sb-app-warning-border: var(\n --color-border-warning,\n light-dark(#f5d996, #946200)\n );\n --sb-app-danger-background: var(\n --color-background-danger,\n light-dark(#fff1f1, #4a1d1d)\n );\n --sb-app-danger-text: var(\n --color-text-danger,\n light-dark(#c54141, #fca5a5)\n );\n --sb-app-danger-border: var(\n --color-border-danger,\n light-dark(#ffcaca, #c54141)\n );\n }\n * {\n box-sizing: border-box;\n }\n body {\n min-width: 0;\n margin: 0;\n overflow-x: hidden;\n background: transparent;\n color: var(--sb-app-text);\n font-family: var(--font-sans, system-ui, -apple-system, sans-serif);\n font-size: var(--font-text-sm-size, 13px);\n line-height: var(--font-text-sm-line-height, 1.45);\n }\n .card {\n display: flex;\n min-width: 0;\n flex-direction: column;\n gap: 12px;\n padding: 16px;\n border: var(--border-width-regular, 1px) solid var(--sb-app-border);\n border-radius: var(--border-radius-lg, 12px);\n background: var(--sb-app-background);\n box-shadow: var(--shadow-sm, 0 1px 2px rgba(18, 21, 23, 0.08));\n }\n h1,\n .meta,\n .note {\n min-width: 0;\n overflow-wrap: anywhere;\n }\n .note:empty {\n position: absolute;\n }\n button,\n textarea {\n font: inherit;\n }\n button {\n appearance: none;\n min-width: 0;\n padding: 8px 12px;\n border: var(--border-width-regular, 1px) solid var(--sb-app-border);\n border-radius: var(--border-radius-md, 8px);\n background: var(--sb-app-background-subtle);\n color: var(--sb-app-text);\n font-weight: var(--font-weight-medium, 500);\n line-height: var(--font-text-sm-line-height, 1.45);\n cursor: pointer;\n }\n button:hover:not(:disabled) {\n background: var(--sb-app-background-hover);\n }\n .button-primary {\n border-color: var(--sb-app-background-inverse);\n background: var(--sb-app-background-inverse);\n color: var(--sb-app-text-inverse);\n }\n .button-primary:hover:not(:disabled) {\n border-color: var(--sb-app-background-inverse);\n background: var(--sb-app-background-inverse);\n }\n button:focus-visible,\n textarea:focus-visible,\n a:focus-visible {\n outline: 2px solid var(--sb-app-ring);\n outline-offset: 2px;\n }\n button:disabled {\n opacity: 0.48;\n cursor: not-allowed;\n }\n .actions {\n min-width: 0;\n }\n .actions > button {\n overflow-wrap: anywhere;\n }\n @media (max-width: 360px) {\n .actions {\n flex-direction: column;\n flex-wrap: nowrap;\n }\n .actions > button {\n width: 100%;\n }\n }\n\n </style>\n</head>\n<body>\n <div class=\"card\">\n <div class=\"head\">\n <h1>Superblocks app</h1>\n <span id=\"status\" class=\"status\" data-tone=\"info\" aria-live=\"polite\">loading</span>\n </div>\n <div id=\"appId\" class=\"meta\"></div>\n <img id=\"shot\" class=\"shot\" alt=\"Preview of the running app\" />\n <div id=\"note\" class=\"note\" aria-live=\"polite\"></div>\n <div class=\"actions\">\n <button id=\"openEditor\" class=\"button-secondary\" type=\"button\" disabled>Open editor</button>\n <button id=\"openPreview\" class=\"button-secondary\" type=\"button\" disabled>Open preview</button>\n <button id=\"publishApp\" class=\"button-primary\" type=\"button\" disabled>Publish app</button>\n </div>\n </div>\n <script>\n (() => {\n const PROTOCOL_VERSION = \"2026-01-26\";\n // Statuses with no usable build to publish. \"building\" is deliberately\n // absent because a stale badge should not strand the button.\n const UNBUILT_STATUSES = [\n \"cancelled\",\n \"checkpoint_failed\",\n \"detached\",\n \"failed\",\n \"live_edit_terminated\",\n \"needs_decision\",\n \"no_changes\",\n \"timeout\",\n ];\n const BLOCKED_ACTIONS = [\n \"answer_question\",\n \"approve_plan\",\n \"open_editor\",\n \"retry_build\",\n ];\n const STATUS_TONES = {\n building: \"info\",\n cancelled: \"warning\",\n checkpoint_failed: \"danger\",\n deployed: \"success\",\n detached: \"warning\",\n failed: \"danger\",\n live_edit_terminated: \"danger\",\n loading: \"info\",\n needs_decision: \"warning\",\n no_changes: \"warning\",\n publish_failed: \"danger\",\n publishing: \"info\",\n ready: \"success\",\n timeout: \"danger\",\n waiting: \"info\",\n };\n let nextId = 1;\n const pending = new Map();\n let applicationId = \"\";\n let appName = \"\";\n let branch = \"\";\n let commitId = \"\";\n let directoryHash = \"\";\n let pendingAction = \"\";\n let editUrl = \"\";\n let previewUrl = \"\";\n let publishUrl = \"\";\n let canOpenLinks = false;\n let canCallTools = false;\n let publishing = false;\n let teardownRequested = false;\n let lastHeight = 0;\n let buildWatchStartedAtMs;\n let refreshInFlightGeneration = -1;\n let refreshTimer = 0;\n let refreshGeneration = 0;\n const BUILD_WATCH_MS = 20 * 60_000;\n const POLL_INTERVAL_MS = 2000;\n\n function post(message) {\n window.parent.postMessage(message, \"*\");\n }\n\n function notify(method, params) {\n post({ jsonrpc: \"2.0\", method, params });\n }\n\n function request(method, params) {\n const id = nextId++;\n return new Promise((resolve, reject) => {\n pending.set(id, { resolve, reject });\n post({ jsonrpc: \"2.0\", id, method, params });\n });\n }\n\n function element(id) {\n return document.getElementById(id);\n }\n\n function show(id, on) {\n const node = element(id);\n if (node && node.classList) {\n node.classList.toggle(\"shown\", on);\n }\n }\n\n function renderStatus(status) {\n const badge = element(\"status\");\n badge.textContent = status;\n badge.setAttribute(\n \"data-tone\",\n Object.hasOwn(STATUS_TONES, status) ? STATUS_TONES[status] : \"neutral\",\n );\n }\n\n // Hosts size the card from this notification alone; without it the card\n // is laid out at zero height and never appears.\n function reportSize() {\n if (teardownRequested) {\n return;\n }\n const height = Math.ceil(document.documentElement.scrollHeight || 0);\n if (height <= 0 || height === lastHeight) {\n return;\n }\n lastHeight = height;\n notify(\"ui/notifications/size-changed\", {\n height,\n width: Math.ceil(window.innerWidth || 0),\n });\n }\n\n function note(text) {\n element(\"note\").textContent = text;\n show(\"note\", Boolean(text));\n reportSize();\n }\n\n function isPlainHttp(url) {\n return url.slice(0, 5).toLowerCase() === \"http:\";\n }\n\n /** A UUID says nothing; the name the user asked Superblocks for does. */\n function renderIdentity() {\n element(\"appId\").textContent = appName || applicationId;\n }\n\n /**\n * Draws the screenshot the tool captured.\n *\n * Hosts that render an MCP App render it *instead of* the tool's content\n * blocks, so the image block get_app returns never reaches the user on\n * its own \u2014 the card has to take it out of the result and show it.\n */\n function showScreenshot(dataBase64, mimeType) {\n if (typeof dataBase64 !== \"string\" || !dataBase64) {\n return;\n }\n element(\"shot\").src =\n \"data:\" + (mimeType || \"image/jpeg\") + \";base64,\" + dataBase64;\n show(\"shot\", true);\n reportSize();\n }\n\n /** Applies every part of an MCP content array the card understands. */\n function applyContent(content) {\n for (const part of content || []) {\n if (!part) {\n continue;\n }\n if (part.type === \"text\" && typeof part.text === \"string\") {\n applyPayload(part.text);\n }\n if (part.type === \"image\") {\n showScreenshot(part.data, part.mimeType);\n }\n }\n }\n\n /**\n * True when publishing would deploy the empty starter template.\n * pendingAction is the server's own \"nothing to preview\" signal;\n * wait_for_build is the building exception. Status is only a fallback\n * when the payload omitted pendingAction. loading/waiting with no\n * preview fail closed so Publish is not clickable before get_app\n * returns.\n */\n function nothingToPublish() {\n const badge = element(\"status\").textContent;\n if (UNBUILT_STATUSES.indexOf(badge) !== -1) {\n return true;\n }\n if (previewUrl || publishUrl) {\n return false;\n }\n if (pendingAction === \"wait_for_build\") {\n return false;\n }\n if (BLOCKED_ACTIONS.indexOf(pendingAction) !== -1) {\n return true;\n }\n if (!badge || badge === \"loading\" || badge === \"waiting\") {\n return true;\n }\n return false;\n }\n\n /**\n * Keep URLs in memory for openLink \u2014 never print them (preview JWTs are\n * huge and ugly in the card).\n */\n function renderActions() {\n const status = element(\"status\").textContent;\n const previewReady = status === \"ready\";\n const rollingOut = status === \"publishing\";\n const published = Boolean(publishUrl) && !rollingOut;\n element(\"openEditor\").disabled = !editUrl || !canOpenLinks;\n element(\"openPreview\").disabled =\n !previewReady || !previewUrl || !canOpenLinks;\n // Once the app is live, publishing again is not what anyone wants from\n // this button \u2014 going to the live app is.\n element(\"publishApp\").textContent = rollingOut\n ? \"Publishing...\"\n : published\n ? \"Open published app\"\n : \"Publish app\";\n element(\"publishApp\").disabled = rollingOut\n ? true\n : published\n ? !canOpenLinks\n : !applicationId ||\n !canCallTools ||\n publishing ||\n nothingToPublish();\n // Only warn about what is actually broken. Hosts that do open links\n // handle local http fine; if one refuses, refused() says so then.\n if (!canOpenLinks && (editUrl || previewUrl) && !publishUrl) {\n note(\"This host cannot open links for me \u2014 ask the model for an https preview URL.\");\n }\n reportSize();\n }\n\n /** Only ever ask the host to open a real web address. */\n function webUrl(candidate) {\n try {\n const parsed = new URL(candidate);\n return parsed.protocol === \"http:\" || parsed.protocol === \"https:\"\n ? candidate\n : \"\";\n } catch {\n return \"\";\n }\n }\n\n /**\n * Merges whatever the host sent. Hosts replay tool input as well as tool\n * results, and the input carries no status or URLs \u2014 overwriting from a\n * partial payload is what showed the card as \"unknown\".\n *\n * Hosts also disagree on the shape: some pass the capability JSON, some\n * pass the MCP content/text envelope (Claude Desktop on initialize), and\n * some nest that under structuredContent.\n */\n function applyPayload(raw) {\n let data = raw;\n if (typeof raw === \"string\") {\n try {\n data = JSON.parse(raw);\n } catch {\n return;\n }\n }\n if (!data || typeof data !== \"object\") {\n return;\n }\n // MCP tool-result / initialize toolResult envelope.\n if (Array.isArray(data.content)) {\n applyContent(data.content);\n if (data.structuredContent) {\n applyPayload(data.structuredContent);\n }\n return;\n }\n if (data.result && typeof data.result === \"object\") {\n applyPayload(data.result);\n return;\n }\n const value = data.kind === \"ok\" ? data.value : data;\n if (!value || typeof value !== \"object\") {\n return;\n }\n if (\n value.browserNavigation &&\n typeof value.browserNavigation === \"object\" &&\n value.browserNavigation.action === \"open_editor\"\n ) {\n if (!teardownRequested) {\n teardownRequested = true;\n refreshGeneration += 1;\n clearRefreshTimer();\n document.body.hidden = true;\n notify(\"ui/notifications/size-changed\", { height: 0, width: 0 });\n notify(\"ui/notifications/request-teardown\", {});\n }\n return;\n }\n if (teardownRequested) {\n return;\n }\n if (typeof value.status === \"string\") {\n if (value.status !== \"building\") {\n buildWatchStartedAtMs = undefined;\n }\n renderStatus(value.status);\n }\n if (typeof value.applicationId === \"string\") {\n applicationId = value.applicationId;\n renderIdentity();\n }\n if (typeof value.name === \"string\" && value.name) {\n appName = value.name;\n renderIdentity();\n }\n if (typeof value.branch === \"string\") {\n branch = value.branch;\n }\n if (typeof value.directoryHash === \"string\") {\n directoryHash = value.directoryHash;\n }\n if (\n typeof value.commitId === \"string\" ||\n typeof value.previewUrl === \"string\" ||\n (typeof value.applicationId === \"string\" &&\n typeof value.status === \"string\")\n ) {\n commitId =\n typeof value.commitId === \"string\" ? value.commitId : \"\";\n }\n if (typeof value.pendingAction === \"string\") {\n pendingAction = value.pendingAction;\n } else if (typeof value.status === \"string\") {\n pendingAction = \"\";\n }\n if (typeof value.screenshotBase64 === \"string\") {\n showScreenshot(value.screenshotBase64, \"image/jpeg\");\n }\n if (typeof value.editUrl === \"string\") {\n editUrl = webUrl(value.editUrl);\n }\n if (typeof value.previewUrl === \"string\") {\n previewUrl = webUrl(value.previewUrl);\n } else if (typeof value.status === \"string\" && !commitId) {\n previewUrl = \"\";\n }\n if (typeof value.publishUrl === \"string\") {\n publishUrl = webUrl(value.publishUrl);\n }\n // Hosts that deliver URLs without a status left the badge on the HTML\n // default (\"loading\") even after the app was built.\n const badge = element(\"status\").textContent;\n if (\n !value.status &&\n editUrl &&\n (badge === \"\" || badge === \"loading\" || badge === \"waiting\")\n ) {\n renderStatus(previewUrl ? \"ready\" : \"building\");\n }\n renderActions();\n if (\n canCallTools &&\n commitId &&\n element(\"status\").textContent === \"publishing\"\n ) {\n scheduleRefresh(retryDelay());\n }\n }\n\n /**\n * Ask the app-only status tool when the host gave us no result, or while\n * status is still building.\n */\n function clearRefreshTimer() {\n if (refreshTimer) {\n clearTimeout(refreshTimer);\n refreshTimer = 0;\n }\n }\n\n function retryDelay() {\n return POLL_INTERVAL_MS;\n }\n\n function scheduleRefresh(delayMs) {\n clearRefreshTimer();\n if (\n element(\"status\").textContent !== \"publishing\" &&\n buildWatchStartedAtMs !== undefined &&\n Date.now() - buildWatchStartedAtMs >= BUILD_WATCH_MS\n ) {\n note(\"Stopped checking whether the app is still building.\");\n return;\n }\n refreshTimer = setTimeout(() => {\n refreshTimer = 0;\n refreshFromServer();\n }, delayMs);\n }\n\n function refreshFromServer() {\n clearRefreshTimer();\n if (\n teardownRequested ||\n !canCallTools ||\n refreshInFlightGeneration === refreshGeneration ||\n publishing\n ) {\n return;\n }\n if (typeof document.hidden === \"boolean\" && document.hidden) {\n scheduleRefresh(retryDelay());\n return;\n }\n const badge = element(\"status\").textContent;\n const publishStatus = badge === \"publishing\";\n if (editUrl && badge !== \"building\" && !publishStatus) {\n buildWatchStartedAtMs = undefined;\n return;\n }\n if (!publishStatus) {\n if (badge === \"building\") {\n if (buildWatchStartedAtMs === undefined) {\n buildWatchStartedAtMs = Date.now();\n }\n } else {\n buildWatchStartedAtMs = undefined;\n }\n if (\n buildWatchStartedAtMs !== undefined &&\n Date.now() - buildWatchStartedAtMs >= BUILD_WATCH_MS\n ) {\n note(\"Stopped checking whether the app is still building.\");\n return;\n }\n }\n const generation = refreshGeneration;\n refreshInFlightGeneration = generation;\n const previewStatus = !publishStatus && Boolean(commitId && directoryHash);\n request(\"tools/call\", {\n name: publishStatus\n ? \"check_publish_progress\"\n : previewStatus\n ? \"get_preview_status\"\n : \"get_app_status\",\n arguments: {\n ...(applicationId ? { applicationId } : {}),\n ...(!publishStatus && branch ? { branch } : {}),\n ...(publishStatus && commitId ? { commitId } : {}),\n ...(previewStatus ? { commitId, directoryHash, wait: false } : {}),\n },\n })\n .then((result) => {\n if (refreshInFlightGeneration === generation) {\n refreshInFlightGeneration = -1;\n }\n if (generation !== refreshGeneration) {\n if (\n !publishing &&\n element(\"status\").textContent === \"building\" &&\n refreshInFlightGeneration !== refreshGeneration\n ) {\n scheduleRefresh(retryDelay());\n }\n return;\n }\n const publishError = publishStatus\n ? terminalPublishErrorOf(result)\n : \"\";\n if (publishError) {\n refreshGeneration += 1;\n clearRefreshTimer();\n publishUrl = \"\";\n renderStatus(\"publish_failed\");\n note(publishError);\n renderActions();\n return;\n }\n if (!result || result.isError) {\n scheduleRefresh(retryDelay());\n return;\n }\n applyPayload(result);\n if (result.structuredContent) {\n applyPayload(result.structuredContent);\n }\n const status = element(\"status\").textContent;\n if (status === \"deployed\") {\n note(\n publishUrl\n ? \"Published - open the live app with Open published app.\"\n : \"Published - the app is live.\",\n );\n return;\n }\n if (status === \"publishing\") {\n scheduleRefresh(retryDelay());\n return;\n }\n if (status !== \"building\") {\n return;\n }\n scheduleRefresh(retryDelay());\n })\n .catch(() => {\n if (refreshInFlightGeneration === generation) {\n refreshInFlightGeneration = -1;\n }\n if (generation !== refreshGeneration) {\n return;\n }\n scheduleRefresh(retryDelay());\n });\n }\n\n function applyHostContext(context) {\n if (!context || typeof context !== \"object\") {\n return;\n }\n const root = document.documentElement;\n if (context.theme === \"light\" || context.theme === \"dark\") {\n root.setAttribute(\"data-theme\", context.theme);\n root.style.colorScheme = context.theme;\n }\n const variables = context.styles && context.styles.variables;\n const style = root.style;\n if (variables && style && typeof style.setProperty === \"function\") {\n for (const name of Object.keys(variables)) {\n const value = variables[name];\n if (typeof value === \"string\") {\n style.setProperty(name, value);\n }\n }\n }\n const fonts = context.styles && context.styles.css?.fonts;\n if (typeof fonts === \"string\") {\n let fontStyle = document.getElementById(\"__mcp-host-fonts\");\n if (!fontStyle) {\n fontStyle = document.createElement(\"style\");\n fontStyle.id = \"__mcp-host-fonts\";\n document.head.appendChild(fontStyle);\n }\n fontStyle.textContent = fonts;\n }\n reportSize();\n }\n\n function capabilityFailureOf(result) {\n if (!result || !Array.isArray(result.content)) {\n return null;\n }\n for (const block of result.content) {\n if (!block || block.type !== \"text\" || !block.text) {\n continue;\n }\n try {\n const parsed = JSON.parse(block.text);\n if (parsed && parsed.kind === \"error\") {\n return {\n code: parsed.code || \"\",\n message: parsed.message || parsed.code || \"Tool call failed.\",\n };\n }\n } catch {\n continue;\n }\n }\n return null;\n }\n\n function capabilityErrorOf(result) {\n return capabilityFailureOf(result)?.message || \"\";\n }\n\n function terminalPublishErrorOf(result) {\n const failure = capabilityFailureOf(result);\n if (\n !failure ||\n ![\n \"publish_failed\",\n \"publish_needs_acknowledgement\",\n \"publish_timeout\",\n ].includes(failure.code)\n ) {\n return \"\";\n }\n return failure.message;\n }\n\n /** First text block of a failed tool result, for the note line. */\n function errorTextOf(result, fallback) {\n const capabilityError = capabilityErrorOf(result);\n if (capabilityError) {\n return capabilityError;\n }\n const first =\n result && Array.isArray(result.content) ? result.content[0] : null;\n return first && first.text ? String(first.text).slice(0, 280) : fallback;\n }\n\n function refused(url) {\n note(\n isPlainHttp(url)\n ? \"This host only opens https links, and this app is served over http \u2014 ask for an https preview URL.\"\n : \"The host could not open the link \u2014 try again or ask the model for another URL.\",\n );\n }\n\n function openLink(url) {\n if (!url || !canOpenLinks) {\n return;\n }\n request(\"ui/open-link\", { url })\n .then((result) => {\n if (result && result.isError) {\n refused(url);\n return;\n }\n note(\"\");\n })\n .catch(() => refused(url));\n }\n\n /**\n * Asks the host to proxy publish_app back to this MCP server. A named\n * commit is published as-is. Otherwise the card supplies a fixed\n * commitMessage: the button is a click, so there is no model turn here\n * to summarize what changed.\n */\n function publish() {\n if (!applicationId || !canCallTools || publishing) {\n return;\n }\n if (nothingToPublish()) {\n note(\"Nothing to publish yet: this turn did not build the app.\");\n return;\n }\n publishing = true;\n refreshGeneration += 1;\n clearRefreshTimer();\n renderActions();\n note(\"Publishing\u2026\");\n const args = {\n applicationId,\n idempotencyKey:\n \"mcp-app-publish:\" + applicationId + \":\" + Date.now(),\n };\n if (commitId) {\n args.commitId = commitId;\n } else {\n args.commitMessage = \"Publish application\";\n }\n if (branch) {\n args.branch = branch;\n }\n request(\"tools/call\", { name: \"publish_app\", arguments: args })\n .then((result) => {\n publishing = false;\n const publishError = capabilityErrorOf(result);\n if (!result || result.isError || publishError) {\n note(errorTextOf(result, \"Publish failed.\"));\n renderActions();\n refreshFromServer();\n return;\n }\n applyContent(result.content || []);\n if (result.structuredContent) {\n applyPayload(result.structuredContent);\n }\n const status = element(\"status\").textContent;\n note(\n status === \"publishing\"\n ? \"Publish accepted; the deploy is still rolling out.\"\n : publishUrl\n ? \"Published - open the live app with Open published app.\"\n : \"Published - the app is live.\",\n );\n renderActions();\n })\n .catch((error) => {\n publishing = false;\n note(\n (error && error.message) ||\n \"The host could not call publish_app.\",\n );\n renderActions();\n refreshFromServer();\n });\n }\n\n function handleHostMessage(event) {\n // App documents are opaque-origin, so the host window is the only\n // identity available to authenticate a message against.\n if (event.source !== window.parent) {\n return;\n }\n const data = event.data;\n if (!data || typeof data !== \"object\") {\n return;\n }\n if (data.method === \"ping\") {\n post({ jsonrpc: \"2.0\", id: data.id, result: {} });\n return;\n }\n if (data.id != null && pending.has(data.id)) {\n const waiter = pending.get(data.id);\n pending.delete(data.id);\n if (data.error) {\n waiter.reject(data.error);\n } else {\n waiter.resolve(data.result);\n }\n return;\n }\n const method = data.method;\n const params = data.params || {};\n if (\n method === \"ui/notifications/tool-result\" ||\n method === \"ui/tool-result\" ||\n method === \"tools/call\"\n ) {\n applyContent(params.content || params.result?.content || []);\n if (params.structuredContent) {\n applyPayload(params.structuredContent);\n }\n refreshGeneration += 1;\n if (element(\"status\").textContent === \"building\") {\n refreshFromServer();\n }\n }\n if (method === \"ui/notifications/tool-input\" && params.arguments) {\n applyPayload(params.arguments);\n refreshFromServer();\n }\n if (method === \"ui/notifications/host-context-changed\") {\n applyHostContext(params);\n }\n }\n\n window.addEventListener(\"message\", handleHostMessage);\n\n element(\"openEditor\").addEventListener(\"click\", () => openLink(editUrl));\n element(\"openPreview\").addEventListener(\"click\", () =>\n openLink(previewUrl),\n );\n element(\"publishApp\").addEventListener(\"click\", () => {\n if (element(\"status\").textContent === \"publishing\") {\n return;\n }\n if (publishUrl) {\n openLink(publishUrl);\n return;\n }\n publish();\n });\n\n if (typeof ResizeObserver === \"function\") {\n new ResizeObserver(reportSize).observe(document.documentElement);\n }\n\n void request(\"ui/initialize\", {\n appCapabilities: {\n availableDisplayModes: [\"inline\"],\n },\n appInfo: { name: \"gateway-app-status\", version: \"0.0.8\" },\n protocolVersion: PROTOCOL_VERSION,\n })\n .then((result) => {\n // Hosts hold back tool results until the app confirms it is ready.\n notify(\"ui/notifications/initialized\", {});\n // Buttons that cannot work are worse than no buttons: hosts without\n // openLinks silently drop ui/open-link.\n canOpenLinks = Boolean(\n result && result.hostCapabilities && result.hostCapabilities.openLinks,\n );\n canCallTools = Boolean(\n result &&\n result.hostCapabilities &&\n result.hostCapabilities.serverTools,\n );\n if (result && result.toolResult) {\n applyPayload(result.toolResult);\n }\n if (teardownRequested) {\n return;\n }\n applyHostContext(result && result.hostContext);\n renderActions();\n const badge = element(\"status\").textContent;\n if (badge === \"publishing\") {\n return;\n }\n if (!applicationId && (!badge || badge === \"loading\")) {\n scheduleRefresh(500);\n } else {\n refreshFromServer();\n }\n })\n .catch(() => {\n // Hosts that push tool results via notification still work.\n })\n .finally(reportSize);\n })();\n </script>\n</body>\n</html>\n";
12
- //# sourceMappingURL=app-status-html.d.ts.map
@@ -22,4 +22,3 @@ export declare function collectsUserApproval(profile: ClientProfile): boolean;
22
22
  export declare function clientPresentationCapabilities(client: {
23
23
  name: string;
24
24
  } | undefined): ClientPresentationCapabilities;
25
- //# sourceMappingURL=client-presentation.d.ts.map
@@ -26,4 +26,3 @@ export declare const PLAN_MARKUP_META_KEY = "superblocks/plan-markup";
26
26
  export declare const CONFIRM_PLAN_APPROVAL_TOOL = "confirm_plan_approval";
27
27
  export declare const APP_DECISION_RESOURCE_URI = "ui://gateway/decision-v26.html";
28
28
  export declare const APP_DECISION_HTML = "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <title>Superblocks needs an answer</title>\n <style>\n h1 {\n margin: 0;\n font-size: var(--font-text-md-size, 14px);\n font-weight: var(--font-weight-semibold, 600);\n }\n .meta {\n color: var(--sb-app-text-tertiary);\n font-size: var(--font-text-xs-size, 12px);\n }\n .reply {\n display: none;\n color: var(--sb-app-text-secondary);\n }\n .reply.shown {\n display: block;\n }\n .plan {\n display: none;\n max-height: 340px;\n margin: 0;\n overflow: auto;\n padding: 10px;\n border: var(--border-width-regular, 1px) solid var(--sb-app-border);\n border-radius: var(--border-radius-md, 8px);\n background: var(--sb-app-background-subtle);\n font-size: var(--font-text-xs-size, 12px);\n word-break: break-word;\n }\n .plan.shown {\n display: block;\n }\n .plan > :first-child,\n .question > :first-child {\n margin-top: 0;\n }\n .plan > :last-child,\n .question > :last-child {\n margin-bottom: 0;\n }\n .plan h1,\n .plan h2,\n .plan h3,\n .plan p,\n .question h1,\n .question h2,\n .question h3,\n .question p {\n margin: 10px 0;\n }\n .plan h1,\n .plan h2,\n .plan h3,\n .question h1,\n .question h2,\n .question h3 {\n font-size: inherit;\n font-weight: var(--font-weight-semibold, 600);\n }\n .plan ul,\n .plan ol,\n .question ul,\n .question ol {\n margin: 10px 0;\n padding-left: 20px;\n }\n .plan blockquote,\n .question blockquote {\n margin: 10px 0;\n padding-left: 10px;\n border-left: 3px solid var(--sb-app-border);\n color: var(--sb-app-text-secondary);\n }\n .plan pre,\n .question pre {\n overflow: auto;\n padding: 8px;\n border-radius: var(--border-radius-md, 8px);\n background: var(--sb-app-background);\n }\n .plan a,\n .question a {\n color: var(--sb-app-info-text);\n }\n .entity-tag {\n display: inline-flex;\n align-items: center;\n padding: 0 4px;\n max-width: 100%;\n overflow-wrap: anywhere;\n border: var(--border-width-regular, 1px) solid var(--sb-app-border);\n border-radius: 4px;\n background: var(--sb-app-background);\n color: var(--sb-app-info-text);\n font-weight: 400;\n line-height: 18px;\n vertical-align: middle;\n white-space: normal;\n }\n .task {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n }\n .task input {\n margin: 0;\n }\n .plan code,\n .question code,\n button code {\n font-family: var(--font-mono, ui-monospace, SFMono-Regular, monospace);\n }\n .question {\n display: none;\n overflow-wrap: anywhere;\n font-weight: var(--font-weight-medium, 500);\n }\n .question.shown {\n display: block;\n }\n .actions {\n display: none;\n flex-wrap: wrap;\n gap: 8px;\n }\n .actions.shown {\n display: flex;\n }\n #options {\n flex-direction: column;\n flex-wrap: nowrap;\n }\n #options > .option-button {\n width: 100%;\n overflow-wrap: anywhere;\n text-align: left;\n }\n .refine {\n display: none;\n flex-direction: column;\n gap: 8px;\n }\n .refine.shown {\n display: flex;\n }\n textarea {\n width: 100%;\n box-sizing: border-box;\n min-height: 64px;\n padding: 8px;\n border: var(--border-width-regular, 1px) solid var(--sb-app-border);\n border-radius: var(--border-radius-md, 8px);\n background: var(--sb-app-background);\n color: var(--sb-app-text);\n font: inherit;\n resize: vertical;\n }\n .note {\n color: var(--sb-app-text-secondary);\n font-size: var(--font-text-xs-size, 12px);\n }\n\n :root {\n color-scheme: light dark;\n --sb-app-background: var(\n --color-background-primary,\n light-dark(#ffffff, #1b1c1f)\n );\n --sb-app-background-subtle: var(\n --color-background-secondary,\n light-dark(#f9fafb, #24272b)\n );\n --sb-app-background-hover: var(\n --color-background-tertiary,\n light-dark(#f3f4f6, #2f3437)\n );\n --sb-app-background-inverse: var(\n --color-background-inverse,\n light-dark(#121517, #f9fafb)\n );\n --sb-app-text: var(\n --color-text-primary,\n light-dark(#121517, #f9fafb)\n );\n --sb-app-text-secondary: var(\n --color-text-secondary,\n light-dark(#5a6272, #c6cad2)\n );\n --sb-app-text-tertiary: var(\n --color-text-tertiary,\n light-dark(#6b7280, #a4aab7)\n );\n --sb-app-text-inverse: var(\n --color-text-inverse,\n light-dark(#ffffff, #121517)\n );\n --sb-app-border: var(\n --color-border-primary,\n light-dark(#e8eaed, #454d5f)\n );\n --sb-app-ring: var(\n --color-ring-primary,\n light-dark(#0077b6, #27bbff)\n );\n --sb-app-info-background: var(\n --color-background-info,\n light-dark(#e6f5ff, #083a50)\n );\n --sb-app-info-text: var(\n --color-text-info,\n light-dark(#00679e, #7dd3fc)\n );\n --sb-app-info-border: var(\n --color-border-info,\n light-dark(#c2e7ff, #075985)\n );\n --sb-app-success-background: var(\n --color-background-success,\n light-dark(#e8f8ef, #0a3926)\n );\n --sb-app-success-text: var(\n --color-text-success,\n light-dark(#087a43, #6ee7b7)\n );\n --sb-app-success-border: var(\n --color-border-success,\n light-dark(#b8e8cf, #087a43)\n );\n --sb-app-warning-background: var(\n --color-background-warning,\n light-dark(#fff7e6, #49350a)\n );\n --sb-app-warning-text: var(\n --color-text-warning,\n light-dark(#946200, #fcd34d)\n );\n --sb-app-warning-border: var(\n --color-border-warning,\n light-dark(#f5d996, #946200)\n );\n --sb-app-danger-background: var(\n --color-background-danger,\n light-dark(#fff1f1, #4a1d1d)\n );\n --sb-app-danger-text: var(\n --color-text-danger,\n light-dark(#c54141, #fca5a5)\n );\n --sb-app-danger-border: var(\n --color-border-danger,\n light-dark(#ffcaca, #c54141)\n );\n }\n * {\n box-sizing: border-box;\n }\n body {\n min-width: 0;\n margin: 0;\n overflow-x: hidden;\n background: transparent;\n color: var(--sb-app-text);\n font-family: var(--font-sans, system-ui, -apple-system, sans-serif);\n font-size: var(--font-text-sm-size, 13px);\n line-height: var(--font-text-sm-line-height, 1.45);\n }\n .card {\n display: flex;\n min-width: 0;\n flex-direction: column;\n gap: 12px;\n padding: 16px;\n border: var(--border-width-regular, 1px) solid var(--sb-app-border);\n border-radius: var(--border-radius-lg, 12px);\n background: var(--sb-app-background);\n box-shadow: var(--shadow-sm, 0 1px 2px rgba(18, 21, 23, 0.08));\n }\n h1,\n .meta,\n .note {\n min-width: 0;\n overflow-wrap: anywhere;\n }\n .note:empty {\n position: absolute;\n }\n button,\n textarea {\n font: inherit;\n }\n button {\n appearance: none;\n min-width: 0;\n padding: 8px 12px;\n border: var(--border-width-regular, 1px) solid var(--sb-app-border);\n border-radius: var(--border-radius-md, 8px);\n background: var(--sb-app-background-subtle);\n color: var(--sb-app-text);\n font-weight: var(--font-weight-medium, 500);\n line-height: var(--font-text-sm-line-height, 1.45);\n cursor: pointer;\n }\n button:hover:not(:disabled) {\n background: var(--sb-app-background-hover);\n }\n .button-primary {\n border-color: var(--sb-app-background-inverse);\n background: var(--sb-app-background-inverse);\n color: var(--sb-app-text-inverse);\n }\n .button-primary:hover:not(:disabled) {\n border-color: var(--sb-app-background-inverse);\n background: var(--sb-app-background-inverse);\n }\n button:focus-visible,\n textarea:focus-visible,\n a:focus-visible {\n outline: 2px solid var(--sb-app-ring);\n outline-offset: 2px;\n }\n button:disabled {\n opacity: 0.48;\n cursor: not-allowed;\n }\n .actions {\n min-width: 0;\n }\n .actions > button {\n overflow-wrap: anywhere;\n }\n @media (max-width: 360px) {\n .actions {\n flex-direction: column;\n flex-wrap: nowrap;\n }\n .actions > button {\n width: 100%;\n }\n }\n\n </style>\n</head>\n<body>\n <div class=\"card\">\n <h1 id=\"heading\">Superblocks</h1>\n <div id=\"appId\" class=\"meta\"></div>\n <div id=\"reply\" class=\"reply\"></div>\n <div id=\"plan\" class=\"plan\"></div>\n <div id=\"question\" class=\"question\"></div>\n <div id=\"options\" class=\"actions\"></div>\n <div id=\"planActions\" class=\"actions\">\n <button id=\"approve\" class=\"button-primary\" type=\"button\">Build it</button>\n <button id=\"refine\" class=\"button-secondary\" type=\"button\">Change something</button>\n </div>\n <div id=\"refineBox\" class=\"refine\">\n <textarea id=\"feedback\" placeholder=\"What should change?\"></textarea>\n <button id=\"sendRefine\" class=\"button-primary\" type=\"button\">Send</button>\n </div>\n <div id=\"note\" class=\"note\" aria-live=\"polite\"></div>\n </div>\n <script>\n (() => {\n const PROTOCOL_VERSION = \"2026-01-26\";\n let nextId = 1;\n const pending = new Map();\n let applicationId = \"\";\n let branch;\n let appName = \"\";\n let reply = \"\";\n let decision = null;\n let status = \"\";\n let refining = false;\n let sending = false;\n let answered = false;\n let approvalToken = \"\";\n let planMarkup = \"\";\n let confirmedApprovalToken = \"\";\n let optionButtons = [];\n let lastHeight = 0;\n\n function post(message) {\n window.parent.postMessage(message, \"*\");\n }\n\n function notify(method, params) {\n post({ jsonrpc: \"2.0\", method, params });\n }\n\n function request(method, params) {\n const id = nextId++;\n return new Promise((resolve, reject) => {\n pending.set(id, { resolve, reject });\n post({ jsonrpc: \"2.0\", id, method, params });\n });\n }\n\n function element(id) {\n return document.getElementById(id);\n }\n\n function show(id, on) {\n const node = element(id);\n if (node && node.classList) {\n node.classList.toggle(\"shown\", on);\n }\n }\n\n // Hosts size the card from this notification alone; without it the card\n // is laid out at zero height and never appears.\n function reportSize() {\n const height = Math.ceil(document.documentElement.scrollHeight || 0);\n if (height <= 0 || height === lastHeight) {\n return;\n }\n lastHeight = height;\n notify(\"ui/notifications/size-changed\", {\n height,\n width: Math.ceil(window.innerWidth || 0),\n });\n }\n\n function note(text) {\n element(\"note\").textContent = text;\n show(\"note\", Boolean(text));\n reportSize();\n }\n\n function applyHostContext(context) {\n if (!context || typeof context !== \"object\") {\n return;\n }\n const root = document.documentElement;\n if (context.theme === \"light\" || context.theme === \"dark\") {\n root.setAttribute(\"data-theme\", context.theme);\n root.style.colorScheme = context.theme;\n }\n const variables = context.styles && context.styles.variables;\n if (variables && root.style) {\n for (const name of Object.keys(variables)) {\n const value = variables[name];\n if (typeof value === \"string\") {\n root.style.setProperty(name, value);\n }\n }\n }\n const fonts = context.styles && context.styles.css?.fonts;\n if (typeof fonts === \"string\") {\n let fontStyle = document.getElementById(\"__mcp-host-fonts\");\n if (!fontStyle) {\n fontStyle = document.createElement(\"style\");\n fontStyle.id = \"__mcp-host-fonts\";\n document.head.appendChild(fontStyle);\n }\n fontStyle.textContent = fonts;\n }\n reportSize();\n }\n\n function setBusy(on) {\n element(\"approve\").disabled = on;\n element(\"refine\").disabled = on;\n element(\"sendRefine\").disabled = on;\n for (const button of optionButtons) {\n button.disabled = on;\n }\n }\n\n /**\n * Posts the answer as the user's own turn.\n *\n * The host must receive a user turn so it continues following the build.\n */\n function answer(text) {\n if (!text || sending || answered) {\n return;\n }\n sending = true;\n setBusy(true);\n note(\"Sending your answer\u2026\");\n request(\"ui/message\", {\n content: [{ text: text, type: \"text\" }],\n role: \"user\",\n })\n .then((result) => {\n sending = false;\n if (result && result.isError) {\n refused();\n return;\n }\n answered = true;\n setBusy(true);\n // The host taking the message is not the same as the user's turn\n // going anywhere: Claude Desktop leaves it in the composer as a\n // draft. Claiming it was sent strands the user on a build that is\n // waiting for their enter key.\n note(\"Your answer is in the chat \u2014 press enter there to send it.\");\n })\n .catch(refused);\n }\n\n function refused() {\n sending = false;\n setBusy(false);\n note(\n \"This host would not take your answer from the card \u2014 reply in the chat instead.\",\n );\n }\n\n function approvalRefused() {\n sending = false;\n setBusy(false);\n note(\n \"This host could not verify your approval - approve this plan in the Superblocks editor instead.\",\n );\n }\n\n /**\n * Confirms the user's approval of the current challenge, once per token:\n * a confirmed challenge stays confirmed while a send that never went out\n * is retried, and confirming it again is refused.\n */\n async function confirmApproval() {\n if (!approvalToken) {\n return false;\n }\n if (confirmedApprovalToken === approvalToken) {\n return true;\n }\n const token = approvalToken;\n const confirmation = await request(\"tools/call\", {\n arguments: { approvalToken: token },\n name: \"confirm_plan_approval\",\n });\n if (confirmation && confirmation.isError) {\n return false;\n }\n confirmedApprovalToken = token;\n return true;\n }\n\n async function approve() {\n if (sending || answered) {\n return;\n }\n if (!approvalToken) {\n approvalRefused();\n return;\n }\n sending = true;\n setBusy(true);\n note(\"Confirming your approval...\");\n try {\n const confirmed = await confirmApproval();\n sending = false;\n if (!confirmed) {\n approvalRefused();\n return;\n }\n answer(\"Build it \u2014 approve the Superblocks plan as written.\");\n } catch {\n approvalRefused();\n }\n }\n\n function renderOptions(options) {\n const host = element(\"options\");\n host.replaceChildren();\n optionButtons = [];\n const permissionMessageId = decision && decision.kind === \"tool_permission\"\n ? decision.messageId\n : undefined;\n options.forEach((option, index) => {\n const button = document.createElement(\"button\");\n button.id = \"option-\" + index;\n button.className = \"button-secondary option-button\";\n button.type = \"button\";\n button.innerHTML = markdownInline(option, false);\n // Verbatim: an option Superblocks did not offer reaches it as a\n // prompt answering a question it never asked.\n button.addEventListener(\"click\", () => permissionMessageId\n ? answerPermission(option, permissionMessageId)\n : answer(option));\n host.appendChild(button);\n optionButtons.push(button);\n });\n show(\"options\", options.length > 0);\n }\n\n async function answerPermission(text, permissionMessageId) {\n if (sending || answered) {\n return;\n }\n sending = true;\n setBusy(true);\n note(\"Submitting your response...\");\n const refused = () => {\n sending = false;\n setBusy(false);\n note(\"This request could not be submitted. Ask the chat to show the current approval request again.\");\n };\n try {\n if (text === \"Approve\" && !(await confirmApproval())) {\n refused();\n return;\n }\n const result = await request(\"tools/call\", {\n name: \"edit_app\",\n arguments: { applicationId, ...(branch ? { branch } : {}), permissionMessageId, prompt: text },\n });\n if (result?.isError || result?.structuredContent?.status !== \"building\") {\n refused();\n return;\n }\n sending = false;\n answer(\"My response to the approval request is queued. Please check the build's progress to confirm it was accepted.\");\n } catch {\n refused();\n }\n }\n\n function waitingNote() {\n if (status === \"building\") {\n return \"Superblocks is still building \u2014 nothing to answer yet.\";\n }\n // Something opened this card, so \"nothing is waiting on you\" is a dead\n // end: say where the answer to that actually is.\n return \"Nothing to answer here \u2014 the chat has the latest.\";\n }\n\n function escapeHtml(text) {\n return String(text).replace(/[&<>\"']/g, (character) => {\n return {\n \"&\": \"&amp;\",\n \"<\": \"&lt;\",\n \">\": \"&gt;\",\n '\"': \"&quot;\",\n \"'\": \"&#39;\",\n }[character];\n });\n }\n\n function markdownInline(text, allowLinks = true) {\n const codeDelimiter = String.fromCharCode(96);\n const emphasis = (text) =>\n text\n .replace(/\\*\\*([^*]+)\\*\\*/g, \"<strong>$1</strong>\")\n .replace(/__([^_]+)__/g, \"<strong>$1</strong>\")\n .replace(/(^|[^*])\\*([^*]+)\\*(?!\\*)/g, \"$1<em>$2</em>\")\n .replace(\n /(^|[^A-Za-z0-9_])_([^_]+)_(?![A-Za-z0-9_])/g,\n \"$1<em>$2</em>\",\n );\n const safeLink = (url) => {\n try {\n const parsed = new URL(url);\n return parsed.protocol === \"https:\" && Boolean(parsed.hostname);\n } catch {\n return false;\n }\n };\n const entities = /@((?:(?!\\[id=)[^@\\r\\n])+?(?<!\\s))\\[id=[^\\]\\r\\n]+\\]/gu;\n const links = /\\[([^\\]]+)\\]\\(([^\\s)]+)\\)/g;\n const renderLinks = (value, allowLinks) => {\n const output = [];\n let offset = 0;\n const text = String(value);\n for (const match of text.matchAll(links)) {\n const index = match.index ?? 0;\n if (text[index - 1] === \"!\") {\n continue;\n }\n output.push(emphasis(escapeHtml(text.slice(offset, index))));\n const label = match[1];\n const url = match[2];\n if (safeLink(url)) {\n output.push(\n allowLinks\n ? '<a href=\"' +\n escapeHtml(url) +\n '\" target=\"_blank\" rel=\"noopener noreferrer\">' +\n markdownInline(label, false) +\n \"</a>\"\n : markdownInline(label, false),\n );\n } else {\n output.push(emphasis(escapeHtml(match[0])));\n }\n offset = index + match[0].length;\n }\n output.push(emphasis(escapeHtml(text.slice(offset))));\n return output.join(\"\");\n };\n const renderText = (value, allowLinks) => {\n const text = String(value);\n let placeholderDelimiter = String.fromCharCode(0);\n while (text.includes(placeholderDelimiter)) {\n placeholderDelimiter += String.fromCharCode(0);\n }\n const linkDestinations = Array.from(text.matchAll(links), (match) => {\n const start = (match.index ?? 0) + match[1].length + 3;\n return { start, end: start + match[2].length };\n });\n const entityTags = [];\n const tokenized = text.replace(entities, (match, label, index) => {\n if (\n linkDestinations.some(\n ({ start, end }) => index >= start && index < end,\n )\n ) {\n return match;\n }\n const placeholder =\n placeholderDelimiter + entityTags.length + placeholderDelimiter;\n entityTags.push(\n '<span class=\"entity-tag\">' + escapeHtml(label) + \"</span>\",\n );\n return placeholder;\n });\n return entityTags.reduce(\n (html, tag, index) =>\n html.replace(\n placeholderDelimiter + index + placeholderDelimiter,\n () => tag,\n ),\n renderLinks(tokenized, allowLinks),\n );\n };\n return String(text)\n .split(/(\\x60[^\\x60]+\\x60)/)\n .map((part) =>\n part.startsWith(codeDelimiter) && part.endsWith(codeDelimiter)\n ? \"<code>\" + escapeHtml(part.slice(1, -1)) + \"</code>\"\n : renderText(part, allowLinks),\n )\n .join(\"\");\n }\n\n function markdownHtml(markdown) {\n const lines = String(markdown).replace(/\\r/g, \"\").split(\"\\n\");\n const output = [];\n const lists = [];\n let paragraph = [];\n const closeParagraph = () => {\n if (paragraph.length > 0) {\n output.push(\"<p>\" + markdownInline(paragraph.join(\" \")) + \"</p>\");\n paragraph = [];\n }\n };\n const closeList = () => {\n const list = lists.pop();\n if (!list) {\n return;\n }\n if (list.open) {\n output.push(\"</li>\");\n }\n output.push(\"</\" + list.tag + \">\");\n };\n const closeLists = () => {\n while (lists.length > 0) {\n closeList();\n }\n };\n const listItem = (line) => {\n const match = /^(\\s*)([-*+]|\\d+\\.)\\s+(.+)$/.exec(line);\n if (!match) {\n return undefined;\n }\n return {\n content: match[3],\n indent: match[1].replace(/\\t/g, \" \").length,\n tag: /\\d+\\./.test(match[2]) ? \"ol\" : \"ul\",\n };\n };\n const renderListItem = (item) => {\n while (\n lists.length > 0 &&\n item.indent < lists[lists.length - 1].indent\n ) {\n closeList();\n }\n let list = lists[lists.length - 1];\n if (\n !list ||\n item.indent > list.indent ||\n (item.indent === list.indent && item.tag !== list.tag)\n ) {\n if (list && item.indent === list.indent) {\n closeList();\n }\n output.push(\"<\" + item.tag + \">\");\n list = { indent: item.indent, open: false, tag: item.tag };\n lists.push(list);\n }\n if (list.open) {\n output.push(\"</li>\");\n }\n const task = /^\\[([ xX])\\]\\s+(.+)$/.exec(item.content);\n output.push(\n \"<li>\" +\n (task\n ? '<label class=\"task\"><input type=\"checkbox\" disabled' +\n (task[1].toLowerCase() === \"x\" ? \" checked\" : \"\") +\n \">\" +\n markdownInline(task[2]) +\n \"</label>\"\n : markdownInline(item.content)),\n );\n list.open = true;\n };\n\n for (let index = 0; index < lines.length; index += 1) {\n const line = lines[index];\n const fence = /^\\x60{3}[^\\x60]*\\s*$/.exec(line);\n if (fence) {\n closeParagraph();\n closeLists();\n const code = [];\n while (\n index + 1 < lines.length &&\n !/^\\x60{3}\\s*$/.test(lines[index + 1])\n ) {\n index += 1;\n code.push(lines[index]);\n }\n if (index + 1 < lines.length) {\n index += 1;\n }\n output.push(\n \"<pre><code>\" + escapeHtml(code.join(\"\\n\")) + \"</code></pre>\",\n );\n continue;\n }\n const heading = /^(#{1,3})\\s+(.+?)\\s*$/.exec(line);\n const quote = /^>\\s?(.*)$/.exec(line);\n const item = listItem(line);\n const rule = /^(---+|\\*\\*\\*+|___+)$/.test(line.trim());\n if (heading) {\n closeParagraph();\n closeLists();\n const level = heading[1].length;\n output.push(\"<h\" + level + \">\" + markdownInline(heading[2]) + \"</h\" + level + \">\");\n } else if (quote) {\n closeParagraph();\n closeLists();\n const quoted = [];\n while (index < lines.length) {\n const next = /^>\\s?(.*)$/.exec(lines[index]);\n if (!next) {\n break;\n }\n quoted.push(next[1]);\n index += 1;\n }\n index -= 1;\n output.push(\"<blockquote>\" + markdownHtml(quoted.join(\"\\n\")) + \"</blockquote>\");\n } else if (item) {\n closeParagraph();\n renderListItem(item);\n } else if (rule) {\n closeParagraph();\n closeLists();\n output.push(\"<hr>\");\n } else if (line.trim()) {\n closeLists();\n paragraph.push(line.trim());\n } else {\n closeParagraph();\n closeLists();\n }\n }\n closeParagraph();\n closeLists();\n return output.join(\"\");\n }\n\n function render() {\n const waiting = status === \"needs_decision\";\n const plan =\n waiting && decision && decision.kind === \"plan\" ? decision : null;\n const permission =\n waiting && decision && decision.kind === \"tool_permission\"\n ? decision\n : null;\n const choice = waiting\n ? (decision &&\n decision.kind === \"multi_choice\" &&\n decision) ||\n (permission && {\n options: [\"Approve\", \"Decline\"],\n question: permission.question,\n })\n : null;\n\n element(\"heading\").textContent = plan\n ? \"Superblocks proposed a plan\"\n : permission\n ? \"Superblocks needs your approval\"\n : choice\n ? \"Superblocks has a question\"\n : waiting\n ? \"Superblocks is waiting on you\"\n : \"Superblocks\";\n element(\"appId\").textContent = appName || applicationId;\n // Superblocks narrates its whole working session into the reply. Once\n // there is a plan or a question, that narration is preamble in front\n // of the thing being asked, so it is dropped: the ask is the ask. It\n // survives only when there is nothing structured, where the reply is\n // itself the whole question and hiding it leaves a blank card.\n const narrationOnly = Boolean(plan || choice);\n element(\"reply\").textContent = narrationOnly ? \"\" : reply;\n show(\"reply\", Boolean(reply) && !narrationOnly);\n element(\"plan\").innerHTML = plan\n ? markdownHtml(planMarkup || plan.plan)\n : \"\";\n show(\"plan\", Boolean(plan));\n element(\"question\").innerHTML = choice\n ? markdownHtml(choice.question)\n : \"\";\n show(\"question\", Boolean(choice));\n show(\"planActions\", Boolean(plan));\n renderOptions(choice ? choice.options : []);\n // A turn can stop waiting on the user having streamed its plan or\n // question as chat text, leaving nothing structured to lay out. The\n // reply is then the whole ask, so free text is the only honest form.\n show(\"refineBox\", plan ? refining : waiting && !choice);\n setBusy(answered || sending);\n if (!answered && !sending) {\n note(waiting ? \"\" : waitingNote());\n }\n reportSize();\n }\n\n function applyPayload(payload) {\n let value = payload;\n if (typeof value === \"string\") {\n try {\n value = JSON.parse(value);\n } catch (error) {\n return;\n }\n }\n if (!value || typeof value !== \"object\") {\n return;\n }\n if (Array.isArray(value.content)) {\n applyContent(value.content);\n if (value.structuredContent) {\n applyPayload(value.structuredContent);\n }\n return;\n }\n if (value.result && typeof value.result === \"object\") {\n applyPayload(value.result);\n return;\n }\n if (value.kind === \"ok\" && value.value) {\n value = value.value;\n }\n if (typeof value.applicationId === \"string\") {\n applicationId = value.applicationId;\n branch = typeof value.branch === \"string\" ? value.branch : undefined;\n }\n if (typeof value.name === \"string\") {\n appName = value.name;\n }\n if (typeof value.reply === \"string\") {\n reply = value.reply;\n }\n if (typeof value.status === \"string\") {\n status = value.status;\n }\n if (\"decision\" in value) {\n decision =\n value.decision && typeof value.decision === \"object\"\n ? value.decision\n : null;\n }\n render();\n }\n\n function applyContent(content) {\n for (const part of content || []) {\n if (part && part.type === \"text\" && typeof part.text === \"string\") {\n applyPayload(part.text);\n }\n }\n }\n\n function applyResultMetadata(value) {\n const metadata = value && typeof value === \"object\" ? value._meta : null;\n if (\n metadata &&\n typeof metadata[\"superblocks/plan-approval-token\"] === \"string\"\n ) {\n approvalToken = metadata[\"superblocks/plan-approval-token\"];\n }\n if (metadata && typeof metadata[\"superblocks/plan-markup\"] === \"string\") {\n planMarkup = metadata[\"superblocks/plan-markup\"];\n }\n }\n\n function handleHostMessage(event) {\n // App documents are opaque-origin, so the host window is the only\n // identity available to authenticate a message against.\n if (event.source !== window.parent) {\n return;\n }\n const data = event.data;\n if (!data || typeof data !== \"object\") {\n return;\n }\n if (data.method === \"ping\") {\n post({ jsonrpc: \"2.0\", id: data.id, result: {} });\n return;\n }\n if (data.id != null && pending.has(data.id)) {\n const waiter = pending.get(data.id);\n pending.delete(data.id);\n if (data.error) {\n waiter.reject(data.error);\n } else {\n waiter.resolve(data.result);\n }\n return;\n }\n const method = data.method;\n const params = data.params || {};\n if (\n method === \"ui/notifications/tool-result\" ||\n method === \"ui/tool-result\" ||\n method === \"tools/call\"\n ) {\n approvalToken = \"\";\n planMarkup = \"\";\n applyResultMetadata(params);\n applyResultMetadata(params.result);\n applyContent(params.content || (params.result || {}).content || []);\n if (params.structuredContent) {\n applyPayload(params.structuredContent);\n }\n }\n if (method === \"ui/notifications/tool-input\" && params.arguments) {\n applyPayload(params.arguments);\n }\n if (method === \"ui/notifications/host-context-changed\") {\n applyHostContext(params);\n }\n }\n\n window.addEventListener(\"message\", handleHostMessage);\n\n element(\"approve\").addEventListener(\"click\", approve);\n element(\"refine\").addEventListener(\"click\", () => {\n refining = true;\n element(\"approve\").className = \"button-secondary\";\n show(\"refineBox\", true);\n element(\"feedback\").focus();\n reportSize();\n });\n element(\"sendRefine\").addEventListener(\"click\", () => {\n const feedback = (element(\"feedback\").value || \"\").trim();\n if (!feedback) {\n return;\n }\n answer(\n decision && decision.kind === \"plan\"\n ? \"Change the Superblocks plan: \" + feedback\n : feedback,\n );\n });\n\n if (typeof ResizeObserver === \"function\") {\n new ResizeObserver(reportSize).observe(document.documentElement);\n }\n\n void request(\"ui/initialize\", {\n appCapabilities: { availableDisplayModes: [\"inline\"] },\n appInfo: { name: \"gateway-decision\", version: \"0.0.1\" },\n protocolVersion: PROTOCOL_VERSION,\n })\n .then((result) => {\n // Hosts hold back tool results until the app confirms it is ready.\n notify(\"ui/notifications/initialized\", {});\n applyHostContext(result && result.hostContext);\n if (result && result.toolResult) {\n approvalToken = \"\";\n planMarkup = \"\";\n applyResultMetadata(result.toolResult);\n applyPayload(result.toolResult);\n }\n })\n .catch(() => {\n // Hosts that push tool results via notification still work.\n })\n .finally(reportSize);\n })();\n </script>\n</body>\n</html>\n";
29
- //# sourceMappingURL=decision-card-html.d.ts.map
@@ -115,4 +115,3 @@ export declare function resolveDecisionByElicitation(args: {
115
115
  elicit: (request: DecisionElicitationRequest) => Promise<ElicitationOutcome>;
116
116
  }): Promise<CapabilityResult<unknown> | undefined>;
117
117
  export {};
118
- //# sourceMappingURL=decision-elicitation.d.ts.map
@@ -22,4 +22,3 @@ import type { DispatchProbe } from "../../health/readiness.js";
22
22
  export declare function createMcpDispatchProbe(deps: AppDeps, options?: {
23
23
  createServer?: () => McpServer;
24
24
  }): DispatchProbe;
25
- //# sourceMappingURL=dispatch-probe.d.ts.map
@@ -2,4 +2,3 @@ export type EditorDocumentProbe = (editUrl: string, signal?: AbortSignal) => Pro
2
2
  export declare function createEditorDocumentProbe(options?: {
3
3
  fetchImpl?: typeof fetch;
4
4
  }): EditorDocumentProbe;
5
- //# sourceMappingURL=editor-document-probe.d.ts.map
@@ -12,4 +12,3 @@ export declare function editorIntegrationSetupUrl(input: {
12
12
  uiBaseUrl: string;
13
13
  }): string;
14
14
  export declare function isEditorIntegrationSetupUrl(url: string): boolean;
15
- //# sourceMappingURL=editor-integration-setup-url.d.ts.map
@@ -25,4 +25,3 @@ export declare function formatMcpToolContent(result: CapabilityResult<unknown>,
25
25
  * both get this copy. The decision card gets the tagged plan through `_meta`.
26
26
  */
27
27
  export declare function withDisplayedMentions(result: CapabilityResult<unknown>): CapabilityResult<unknown>;
28
- //# sourceMappingURL=format-tool-content.d.ts.map
@@ -21,4 +21,3 @@ export declare function attachAgentInstructions(tool: ToolName, result: Capabili
21
21
  * a capability result, so the payload is parsed and rewritten.
22
22
  */
23
23
  export declare function attachAdminAgentInstructions(tool: ToolName, result: CallToolResult, profile: ClientProfile): CallToolResult;
24
- //# sourceMappingURL=index.d.ts.map
@@ -16,4 +16,3 @@ export type ToolResult = {
16
16
  };
17
17
  export declare function readResult(result: CapabilityResult<unknown>): ToolResult;
18
18
  export declare function isRecord(value: unknown): value is Record<string, unknown>;
19
- //# sourceMappingURL=result.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { type ClientProfile } from "../../client-presentation.js";
2
2
  import type { ToolResult } from "../result.js";
3
3
  export declare function instructAskUser(result: ToolResult, profile: ClientProfile): string | undefined;
4
- //# sourceMappingURL=ask-user.d.ts.map
@@ -2,4 +2,3 @@ import type { ClientProfile } from "../../client-presentation.js";
2
2
  import type { ToolResult } from "../result.js";
3
3
  export declare function instructBuildApp(result: ToolResult, profile: ClientProfile): string | undefined;
4
4
  export declare function instructGetPreviewStatus(result: ToolResult, profile: ClientProfile): string | undefined;
5
- //# sourceMappingURL=build-app.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import type { ClientProfile } from "../../client-presentation.js";
2
2
  import type { ToolResult } from "../result.js";
3
3
  export declare function instructCheckAppProgress(result: ToolResult, profile: ClientProfile): string | undefined;
4
- //# sourceMappingURL=check-app-progress.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import type { ClientProfile } from "../../client-presentation.js";
2
2
  import type { ToolResult } from "../result.js";
3
3
  export declare function instructCheckPublishProgress(result: ToolResult, profile: ClientProfile): string | undefined;
4
- //# sourceMappingURL=check-publish-progress.d.ts.map
@@ -21,4 +21,3 @@ export declare function failedApiRunInstructions(result: ToolResult): string | u
21
21
  */
22
22
  export declare function instructPublishDetails(result: ToolResult, profile: ClientProfile): string | undefined;
23
23
  export declare function instructUserDecision(result: ToolResult, profile: ClientProfile): string | undefined;
24
- //# sourceMappingURL=copy.d.ts.map
@@ -2,4 +2,3 @@ import type { ClientProfile } from "../../client-presentation.js";
2
2
  import { type ToolResult } from "../result.js";
3
3
  export declare function instructCreateIntegration(result: ToolResult, profile: ClientProfile): string | undefined;
4
4
  export declare function isPublicIntegration(value: Record<string, unknown>): boolean;
5
- //# sourceMappingURL=create-integration.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { type ClientProfile } from "../../client-presentation.js";
2
2
  import type { ToolResult } from "../result.js";
3
3
  export declare function instructEditApp(result: ToolResult, profile: ClientProfile): string | undefined;
4
- //# sourceMappingURL=edit-app.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import type { ClientProfile } from "../../client-presentation.js";
2
2
  import type { ToolResult } from "../result.js";
3
3
  export declare function instructGetApp(result: ToolResult, profile: ClientProfile): string | undefined;
4
- //# sourceMappingURL=get-app.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import type { ToolResult } from "../result.js";
2
2
  export declare function instructGetIntegrationMetadata(result: ToolResult): string | undefined;
3
- //# sourceMappingURL=get-integration-metadata.d.ts.map
@@ -5,4 +5,3 @@ import type { ToolResult } from "../result.js";
5
5
  export type Instruct = (result: ToolResult, profile: ClientProfile) => string | undefined;
6
6
  /** Tools absent from this table send no instructions. */
7
7
  export declare const INSTRUCTIONS: Partial<Record<ToolName, Instruct>>;
8
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import type { ClientProfile } from "../../client-presentation.js";
2
2
  import type { ToolResult } from "../result.js";
3
3
  export declare function instructPublishApp(result: ToolResult, profile: ClientProfile): string | undefined;
4
- //# sourceMappingURL=publish-app.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import type { ClientProfile } from "../../client-presentation.js";
2
2
  import type { ToolResult } from "../result.js";
3
3
  export declare function instructStartApp(result: ToolResult, profile: ClientProfile): string | undefined;
4
- //# sourceMappingURL=start-app.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import type { ToolResult } from "../result.js";
2
2
  export declare function instructUploadArtifact(result: ToolResult): string | undefined;
3
- //# sourceMappingURL=upload-artifact.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const MCP_APP_BRAND_CSS = "\n :root {\n color-scheme: light dark;\n --sb-app-background: var(\n --color-background-primary,\n light-dark(#ffffff, #1b1c1f)\n );\n --sb-app-background-subtle: var(\n --color-background-secondary,\n light-dark(#f9fafb, #24272b)\n );\n --sb-app-background-hover: var(\n --color-background-tertiary,\n light-dark(#f3f4f6, #2f3437)\n );\n --sb-app-background-inverse: var(\n --color-background-inverse,\n light-dark(#121517, #f9fafb)\n );\n --sb-app-text: var(\n --color-text-primary,\n light-dark(#121517, #f9fafb)\n );\n --sb-app-text-secondary: var(\n --color-text-secondary,\n light-dark(#5a6272, #c6cad2)\n );\n --sb-app-text-tertiary: var(\n --color-text-tertiary,\n light-dark(#6b7280, #a4aab7)\n );\n --sb-app-text-inverse: var(\n --color-text-inverse,\n light-dark(#ffffff, #121517)\n );\n --sb-app-border: var(\n --color-border-primary,\n light-dark(#e8eaed, #454d5f)\n );\n --sb-app-ring: var(\n --color-ring-primary,\n light-dark(#0077b6, #27bbff)\n );\n --sb-app-info-background: var(\n --color-background-info,\n light-dark(#e6f5ff, #083a50)\n );\n --sb-app-info-text: var(\n --color-text-info,\n light-dark(#00679e, #7dd3fc)\n );\n --sb-app-info-border: var(\n --color-border-info,\n light-dark(#c2e7ff, #075985)\n );\n --sb-app-success-background: var(\n --color-background-success,\n light-dark(#e8f8ef, #0a3926)\n );\n --sb-app-success-text: var(\n --color-text-success,\n light-dark(#087a43, #6ee7b7)\n );\n --sb-app-success-border: var(\n --color-border-success,\n light-dark(#b8e8cf, #087a43)\n );\n --sb-app-warning-background: var(\n --color-background-warning,\n light-dark(#fff7e6, #49350a)\n );\n --sb-app-warning-text: var(\n --color-text-warning,\n light-dark(#946200, #fcd34d)\n );\n --sb-app-warning-border: var(\n --color-border-warning,\n light-dark(#f5d996, #946200)\n );\n --sb-app-danger-background: var(\n --color-background-danger,\n light-dark(#fff1f1, #4a1d1d)\n );\n --sb-app-danger-text: var(\n --color-text-danger,\n light-dark(#c54141, #fca5a5)\n );\n --sb-app-danger-border: var(\n --color-border-danger,\n light-dark(#ffcaca, #c54141)\n );\n }\n * {\n box-sizing: border-box;\n }\n body {\n min-width: 0;\n margin: 0;\n overflow-x: hidden;\n background: transparent;\n color: var(--sb-app-text);\n font-family: var(--font-sans, system-ui, -apple-system, sans-serif);\n font-size: var(--font-text-sm-size, 13px);\n line-height: var(--font-text-sm-line-height, 1.45);\n }\n .card {\n display: flex;\n min-width: 0;\n flex-direction: column;\n gap: 12px;\n padding: 16px;\n border: var(--border-width-regular, 1px) solid var(--sb-app-border);\n border-radius: var(--border-radius-lg, 12px);\n background: var(--sb-app-background);\n box-shadow: var(--shadow-sm, 0 1px 2px rgba(18, 21, 23, 0.08));\n }\n h1,\n .meta,\n .note {\n min-width: 0;\n overflow-wrap: anywhere;\n }\n .note:empty {\n position: absolute;\n }\n button,\n textarea {\n font: inherit;\n }\n button {\n appearance: none;\n min-width: 0;\n padding: 8px 12px;\n border: var(--border-width-regular, 1px) solid var(--sb-app-border);\n border-radius: var(--border-radius-md, 8px);\n background: var(--sb-app-background-subtle);\n color: var(--sb-app-text);\n font-weight: var(--font-weight-medium, 500);\n line-height: var(--font-text-sm-line-height, 1.45);\n cursor: pointer;\n }\n button:hover:not(:disabled) {\n background: var(--sb-app-background-hover);\n }\n .button-primary {\n border-color: var(--sb-app-background-inverse);\n background: var(--sb-app-background-inverse);\n color: var(--sb-app-text-inverse);\n }\n .button-primary:hover:not(:disabled) {\n border-color: var(--sb-app-background-inverse);\n background: var(--sb-app-background-inverse);\n }\n button:focus-visible,\n textarea:focus-visible,\n a:focus-visible {\n outline: 2px solid var(--sb-app-ring);\n outline-offset: 2px;\n }\n button:disabled {\n opacity: 0.48;\n cursor: not-allowed;\n }\n .actions {\n min-width: 0;\n }\n .actions > button {\n overflow-wrap: anywhere;\n }\n @media (max-width: 360px) {\n .actions {\n flex-direction: column;\n flex-wrap: nowrap;\n }\n .actions > button {\n width: 100%;\n }\n }\n";
2
- //# sourceMappingURL=mcp-app-brand-css.d.ts.map
@@ -19,4 +19,3 @@ export declare const SERVER_INSTRUCTIONS = "Superblocks builds, edits, and publi
19
19
  * Tools run as the authenticated Superblocks user.
20
20
  */
21
21
  export declare function createMcpServer(deps: AppDeps, probeEditorDocument?: EditorDocumentProbe): McpServer;
22
- //# sourceMappingURL=mount.d.ts.map
@@ -43,4 +43,3 @@ export declare class NativeBrowserPresence {
43
43
  private remove;
44
44
  }
45
45
  export {};
46
- //# sourceMappingURL=native-browser-presence.d.ts.map
@@ -81,4 +81,3 @@ export declare class PlanApprovalChallenges {
81
81
  private remove;
82
82
  }
83
83
  export {};
84
- //# sourceMappingURL=plan-approval.d.ts.map
@@ -37,4 +37,3 @@ export type ProgressNotificationSender = {
37
37
  * spends work to fail the same way.
38
38
  */
39
39
  export declare function createProgressNotifier(extra: ProgressNotificationSender | undefined): ((message: string) => void) | undefined;
40
- //# sourceMappingURL=progress-notifier.d.ts.map
@@ -5,4 +5,3 @@
5
5
  * processes see each other's state.
6
6
  */
7
7
  export declare function sessionDirectory(apiKey: string, serverUrl: string, kind: string): string;
8
- //# sourceMappingURL=session-directory.d.ts.map
@@ -1,3 +1,2 @@
1
1
  /** Every tool this MCP server registers, Builder and the Admin ones we extend. */
2
2
  export type ToolName = "ask_user" | "build_app" | "check_app_progress" | "check_publish_progress" | "confirm_plan_approval" | "create_integration" | "edit_app" | "get_app" | "get_app_status" | "get_application_access" | "get_application_deployment_history" | "get_application_summary" | "get_integration_metadata" | "get_preview_status" | "publish_app" | "start_app" | "upload_artifact";
3
- //# sourceMappingURL=tool-names.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superblocksteam/gateway",
3
- "version": "2.0.173-next.4",
3
+ "version": "2.0.174-next.0",
4
4
  "description": "Gateway v0 — MCP entry for app start/edit/publish",
5
5
  "license": "Superblocks Community Software License",
6
6
  "bin": {
@@ -25,10 +25,10 @@
25
25
  "@modelcontextprotocol/ext-apps": "^1.7.5",
26
26
  "@modelcontextprotocol/sdk": "^1.32.1",
27
27
  "@opentelemetry/api": "^1.9.1",
28
- "@superblocksteam/library-shared": "2.0.173-next.4",
29
- "@superblocksteam/mcp-server": "2.0.173-next.4",
30
- "@superblocksteam/shared": "0.9619.4",
31
- "@superblocksteam/telemetry": "2.0.173-next.4",
28
+ "@superblocksteam/library-shared": "2.0.174-next.0",
29
+ "@superblocksteam/mcp-server": "2.0.174-next.0",
30
+ "@superblocksteam/shared": "0.9618.4",
31
+ "@superblocksteam/telemetry": "2.0.174-next.0",
32
32
  "fflate": "^0.8.3",
33
33
  "libpg-query": "^17.7.4",
34
34
  "mdast-util-from-markdown": "2.0.2",
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve-orchestrator-url.d.ts","sourceRoot":"","sources":["../../src/agents/resolve-orchestrator-url.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AAEH,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,0BAA0B,EAAE,CAAC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAMF,+DAA+D;AAC/D,eAAO,MAAM,oBAAoB,IAAI,CAAC;AActC,wBAAgB,wCAAwC,CACtD,GAAG,EAAE,MAAM,GAAG,SAAS,GACtB,MAAM,GAAG,SAAS,CAoBpB;AA4CD;;;;;;;;;GASG;AACH,wBAAgB,+BAA+B,CAC7C,GAAG,EAAE,MAAM,EACX,SAAS,CAAC,EAAE,MAAM,GACjB,MAAM,CAqBR;AAED;;;;;;;;GAQG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,GAAG,OAAO,CAQV;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,4BAA4B,GAClC,MAAM,CA6CR"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"integration-metadata.d.ts","sourceRoot":"","sources":["../../src/capabilities/integration-metadata.ts"],"names":[],"mappings":"AAOA,OAAO,EAKL,KAAK,sBAAsB,EAC5B,MAAM,oCAAoC,CAAC;AAM5C,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAInD,MAAM,MAAM,2BAA2B,GAAG;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,6EAA6E;IAC7E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,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rB,MAAM,EAAE,MAAM,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,GAC5C,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;CAYnC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"query-integration.d.ts","sourceRoot":"","sources":["../../src/capabilities/query-integration.ts"],"names":[],"mappings":"AAUA,OAAO,EAKL,KAAK,sBAAsB,EAC5B,MAAM,oCAAoC,CAAC;AAO5C,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAOnD,MAAM,MAAM,qBAAqB,GAAG;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,iFAAiF;IACjF,OAAO,EAAE,sBAAsB,CAAC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AA+DF,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,iBAAiB,EAC1B,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,CAAC,CA4LnD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"source-files-archive.d.ts","sourceRoot":"","sources":["../../src/capabilities/source-files-archive.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,wBAAwB,GAChC;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,IAAI,CAAA;CAAE,GACjC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAqBvC,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,KAAK,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,GAC9C,wBAAwB,CAoC1B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"tool-permission-reply.d.ts","sourceRoot":"","sources":["../../src/capabilities/tool-permission-reply.ts"],"names":[],"mappings":"AAMA,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,0HACqF,CAAC;AAE1H;;;;;;;;GAQG;AACH,qBAAa,mBAAmB;IACV,OAAO,CAAC,QAAQ,CAAC,OAAO;IAA5C,OAAO;IAEP,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,mBAAmB;IAmBjD,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,WAAW,IAAI,OAAO,CAEzB;IAED;;;OAGG;IACH,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG;QACnC,QAAQ,EAAE,OAAO,CAAC;QAClB,aAAa,CAAC,EAAE,IAAI,CAAC;QACrB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,IAAI,EAAE,0BAA0B,CAAC;KAClC;CAUF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/capabilities/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,UAAU,EACX,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC;AAE/B;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,o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ructions.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,2BAA2B,8lCAOkF,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"capture-library-probe.d.ts","sourceRoot":"","sources":["../../src/capture/capture-library-probe.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAWH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,EAAE,kBAAkB,EAAE,CAAC;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAOxD;AAMD,wBAAgB,gBAAgB,CAAC,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xB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,oBAAoB,GAAG;IACjE,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAoEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAC,mBAAmB,CAAC,CAAC;CACxE,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE;QACR,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;QAClC,eAAe,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;KAC9C,CAAC;IACF,gBAAgB,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK;QAClD,eAAe,EAAE,MAAM,CAAC;QACxB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,CAAC,EAAE,gBAAgB,GAAG,YAAY,CA4B5E;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,IAAI,CAAC,EAAE;IACpD,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,GAAG,kBAAkB,EAAE,CAkBvB;AAED;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,CACrC,KAAK,EAAE,6BAA6B,KACjC,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;AAE5C,wBAAsB,sCAAsC,CAC1D,KAAK,EAAE,6BAA6B,GACnC,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CA6KxC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"classify-library-paint.d.ts","sourceRoot":"","sources":["../../src/capture/classify-library-paint.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,aAAa,CAAC,kBAAkB,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAC3B;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,GACd;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAKhD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,YAAY,GAAG,mBAAmB,CAK7E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"cowork-editor-url.d.ts","sourceRoot":"","sources":["../../src/capture/cowork-editor-url.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAIxD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"host-mcp-scan.d.ts","sourceRoot":"","sources":["../../src/capture/host-mcp-scan.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AASH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AA2BF;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,OAAO,GAAG,kBAAkB,CA2BtE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"library-parent-script.d.ts","sourceRoot":"","sources":["../../src/capture/library-parent-script.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,sBAAsB,EAAE,MAAM,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,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E,MAAM,GAAG,SAAS,CAAC;IACxC;;;OAGG;IACH,sBAAsB,EAAE,OAAO,CAAC;IAChC;;;;OAIG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB,2EAA2E;IAC3E,mBAAmB,EAAE,OAAO,CAAC;IAC7B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAiEF,wBAAgB,UAAU,CACxB,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,aAAa,CA+Ff"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"deadline.d.ts","sourceRoot":"","sources":["../src/deadline.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAsB,YAAY,CAAC,CAAC,EAClC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,EAChB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,CAAC,GAClB,OAAO,CAAC,CAAC,CAAC,CAeZ"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,4BAAsB,CAAC;AAEhD,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,MAAM,EACf,UAAU,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GACvC,IAAI,CAKN"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"deps.d.ts","sourceRoot":"","sources":["../src/deps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,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CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAI5C;;;;;;OAMG;IACH,WAAW,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI;IAMhC,QAAQ,IAAI,OAAO,CAAC,gBAAgB,CAAC;IAIrC,SAAS,IAAI,OAAO,CAAC,gBAAgB,CAAC;YAI9B,OAAO;IAqBrB;;;;OAIG;YACW,KAAK;YAYL,QAAQ;YAUR,aAAa;IA6C3B,OAAO,CAAC,GAAG;YAOG,aAAa;CAW5B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,OAAO,EACP,oBAAoB,EACpB,UAAU,EACV,UAAU,EACV,QAAQ,EACR,cAAc,GACf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACtE,OAAO,EACL,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/integrations/filters.ts"],"names":[],"mappings":"AAyBA;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,MAAM,EAChB,aAAa,UAAO,GACnB,OAAO,CAQT"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../src/integrations/map.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,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1 +0,0 @@
1
- {"version":3,"file":"read-only-postgres-query.d.ts","sourceRoot":"","sources":["../../src/integrations/read-only-postgres-query.ts"],"names":[],"mappings":"AAuLA,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEvE;AAED,wBAAsB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAQ7E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve-profile.d.ts","sourceRoot":"","sources":["../../src/integrations/resolve-profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAEnE,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACvB,MAAM,kBAAkB,CAAC;AAM1B,wBAAsB,4BAA4B,CAAC,KAAK,EAAE;IACxD,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,cAAc,GAAG,sBAAsB,GAAG,mBAAmB,CAAC;IACrE,MAAM,EAAE,IAAI,CACV,uBAAuB,EACvB,2BAA2B,GAAG,yBAAyB,CACxD,CAAC;IACF,wEAAwE;IACxE,IAAI,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;CAC/C,GAAG,OAAO,CAAC;IAAE,QAAQ,EAAE,aAAa,EAAE,CAAC;IAAC,UAAU,EAAE,iBAAiB,CAAA;CAAE,CAAC,CAgExE;AAED,uEAAuE;AACvE,MAAM,MAAM,sBAAsB,GAAG;IACnC,uCAAuC;IACvC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;CACrC,CAAC;AAEF,wBAAgB,cAAc,CAC5B,UAAU,EAAE,iBAAiB,GAC5B,sBAAsB,CAKxB;AASD,+EAA+E;AAC/E,wBAAgB,eAAe,CAAC,UAAU,EAAE,iBAAiB,GAAG,MAAM,CAIrE;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,iBAAiB,GAC5B,MAAM,CAaR"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/orchestrator/client.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAmCH,qBAAa,qBAAsB,SAAQ,KAAK;IAG5C,QAAQ,CAAC,MAAM,EAAE,MAAM;gBADvB,OAAO,EAAE,MAAM,EACN,MAAM,EAAE,MAAM;CAK1B;AAED;;;;;;;;;;GAUG;AACH,KAAK,mBAAmB,GAAG;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,mBAAmB,GAAG;IACvD,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG;IACjD,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,aAA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