@agent-native/core 0.129.2 → 0.130.1

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 (634) hide show
  1. package/corpus/README.md +2 -2
  2. package/corpus/core/CHANGELOG.md +78 -0
  3. package/corpus/core/docs/content/cloneable-saas.mdx +114 -0
  4. package/corpus/core/docs/content/creating-templates.mdx +28 -2
  5. package/corpus/core/docs/content/syncing-template-changes.mdx +7 -0
  6. package/corpus/core/docs/content/template-clips-developers.mdx +12 -5
  7. package/corpus/core/docs/content/template-dispatch-developers.mdx +1 -1
  8. package/corpus/core/docs/content/template-dispatch.mdx +1 -1
  9. package/corpus/core/package.json +1 -1
  10. package/corpus/core/src/action-ui.ts +1 -0
  11. package/corpus/core/src/action.ts +5 -1
  12. package/corpus/core/src/agent/engine/ai-sdk-engine.ts +15 -5
  13. package/corpus/core/src/agent/harness/runner.ts +5 -0
  14. package/corpus/core/src/agent/production-agent.ts +33 -0
  15. package/corpus/core/src/agent/run-loop-with-resume.ts +5 -0
  16. package/corpus/core/src/agent/run-manager.ts +126 -1
  17. package/corpus/core/src/agent/thread-data-builder.ts +47 -2
  18. package/corpus/core/src/agent/types.ts +2 -0
  19. package/corpus/core/src/chat-threads/store.ts +4 -5
  20. package/corpus/core/src/cli/create.ts +1139 -65
  21. package/corpus/core/src/cli/design-connect.ts +3 -7
  22. package/corpus/core/src/cli/index.ts +5 -3
  23. package/corpus/core/src/cli/skills-content/design-visual-edit-skill.ts +83 -47
  24. package/corpus/core/src/client/AssistantChat.tsx +27 -16
  25. package/corpus/core/src/client/agent-chat-adapter.ts +24 -0
  26. package/corpus/core/src/client/blocks/library/wireframe-kit.tsx +17 -2
  27. package/corpus/core/src/client/chat/index.ts +1 -0
  28. package/corpus/core/src/client/chat/message-components.tsx +104 -1
  29. package/corpus/core/src/client/chat/run-recovery.tsx +15 -3
  30. package/corpus/core/src/client/chat/widgets/DataTableWidget.tsx +10 -29
  31. package/corpus/core/src/client/chat/widgets/WorkspaceFileWidget.tsx +71 -0
  32. package/corpus/core/src/client/chat/widgets/builtin-tool-renderers.tsx +22 -0
  33. package/corpus/core/src/client/chat/widgets/workspace-file-result.ts +49 -0
  34. package/corpus/core/src/client/embed-auth.ts +2 -0
  35. package/corpus/core/src/client/org/InvitationBanner.tsx +14 -1
  36. package/corpus/core/src/client/org/OrgSwitcher.tsx +23 -0
  37. package/corpus/core/src/client/org/TeamPage.tsx +130 -0
  38. package/corpus/core/src/client/org/WorkspaceNotice.tsx +85 -0
  39. package/corpus/core/src/client/org/hooks.ts +14 -0
  40. package/corpus/core/src/client/org/index.ts +2 -0
  41. package/corpus/core/src/client/resources/McpIntegrationDialog.tsx +27 -40
  42. package/corpus/core/src/client/resources/ResourcesPanel.tsx +134 -51
  43. package/corpus/core/src/client/resources/mcp-integration-catalog.ts +7 -0
  44. package/corpus/core/src/client/resources/use-resources.ts +6 -0
  45. package/corpus/core/src/client/use-action.ts +3 -1
  46. package/corpus/core/src/client/widgets/index.ts +1 -0
  47. package/corpus/core/src/coding-tools/run-code.ts +2 -1
  48. package/corpus/core/src/db/client.ts +28 -4
  49. package/corpus/core/src/deploy/build.ts +31 -3
  50. package/corpus/core/src/eject/remote-mcp-presets.ts +1 -1
  51. package/corpus/core/src/index.browser.ts +1 -0
  52. package/corpus/core/src/index.ts +1 -0
  53. package/corpus/core/src/integrations/a2a-continuation-processor.ts +481 -122
  54. package/corpus/core/src/integrations/a2a-continuations-store.ts +345 -14
  55. package/corpus/core/src/integrations/adapters/slack.ts +243 -53
  56. package/corpus/core/src/integrations/google-docs-poller.ts +3 -0
  57. package/corpus/core/src/integrations/integration-campaign-recovery.ts +4 -1
  58. package/corpus/core/src/integrations/plugin.ts +39 -21
  59. package/corpus/core/src/integrations/task-queue-stats.ts +146 -0
  60. package/corpus/core/src/integrations/types.ts +25 -4
  61. package/corpus/core/src/integrations/webhook-handler.ts +46 -16
  62. package/corpus/core/src/jobs/scheduler.ts +4 -0
  63. package/corpus/core/src/localization/default-messages.ts +3 -2
  64. package/corpus/core/src/observability/traces.ts +48 -12
  65. package/corpus/core/src/org/handlers.ts +52 -1
  66. package/corpus/core/src/org/migrations.ts +4 -0
  67. package/corpus/core/src/org/plugin.ts +14 -0
  68. package/corpus/core/src/org/schema.ts +1 -0
  69. package/corpus/core/src/org/types.ts +8 -0
  70. package/corpus/core/src/org/workspace-url.ts +74 -0
  71. package/corpus/core/src/resources/handlers.ts +35 -5
  72. package/corpus/core/src/scripts/runner.ts +183 -5
  73. package/corpus/core/src/server/action-routes.ts +32 -2
  74. package/corpus/core/src/server/agent-chat-plugin.ts +29 -0
  75. package/corpus/core/src/server/agent-teams.ts +10 -1
  76. package/corpus/core/src/server/auth.ts +33 -7
  77. package/corpus/core/src/server/embed-route.ts +9 -0
  78. package/corpus/core/src/server/embed-session.ts +62 -3
  79. package/corpus/core/src/server/open-route.ts +20 -6
  80. package/corpus/core/src/server/prompts/framework-core-compact.ts +1 -1
  81. package/corpus/core/src/server/prompts/framework-core.ts +1 -0
  82. package/corpus/core/src/server/request-context.ts +36 -1
  83. package/corpus/core/src/shared/embed-auth.ts +1 -0
  84. package/corpus/core/src/shared/html-document.ts +115 -0
  85. package/corpus/core/src/shared/index.ts +1 -0
  86. package/corpus/core/src/sharing/access.ts +8 -1
  87. package/corpus/core/src/sharing/registry.ts +11 -2
  88. package/corpus/core/src/workspace-files/actions.ts +100 -0
  89. package/corpus/core/src/workspace-files/tool.ts +4 -0
  90. package/corpus/templates/analytics/.agents/skills/analysis-workspace/SKILL.md +4 -0
  91. package/corpus/templates/analytics/.agents/skills/hubspot/SKILL.md +9 -1
  92. package/corpus/templates/analytics/AGENTS.md +17 -24
  93. package/corpus/templates/analytics/actions/data-source-status.ts +11 -1
  94. package/corpus/templates/analytics/app/i18n-data.ts +34 -0
  95. package/corpus/templates/analytics/app/lib/data-source-status.ts +86 -0
  96. package/corpus/templates/analytics/app/lib/native-mcp-exclusions.ts +9 -0
  97. package/corpus/templates/analytics/app/pages/DataSources.tsx +184 -20
  98. package/corpus/templates/analytics/changelog/2026-07-28-native-analytics-data-sources-no-longer-show-duplicate-mc.md +6 -0
  99. package/corpus/templates/analytics/changelog/2026-07-29-exports-now-appear-in-chat-with-a-direct-download-instead-of.md +6 -0
  100. package/corpus/templates/analytics/changelog/2026-07-29-queued-chat-prompts-no-longer-resend-after-analytics-navigat.md +6 -0
  101. package/corpus/templates/analytics/changelog/2026-07-29-scheduled-dashboard-emails-load-every-panel-reliably-without.md +6 -0
  102. package/corpus/templates/analytics/scripts/emit-netlify-dashboard-report-cron.ts +6 -3
  103. package/corpus/templates/analytics/server/lib/credential-keys.ts +1 -1
  104. package/corpus/templates/analytics/server/lib/hubspot.ts +1 -1
  105. package/corpus/templates/analytics/server/lib/provider-credentials.ts +55 -1
  106. package/corpus/templates/analytics/server/plugins/agent-chat.ts +123 -27
  107. package/corpus/templates/analytics/server/routes/[...page].get.ts +2 -7
  108. package/corpus/templates/analytics/vite.config.ts +7 -0
  109. package/corpus/templates/brain/actions/list-connection-providers.ts +100 -2
  110. package/corpus/templates/brain/app/lib/brain.ts +10 -0
  111. package/corpus/templates/brain/app/routes/sources.tsx +15 -4
  112. package/corpus/templates/brain/changelog/2026-07-29-brain-automatically-retries-failed-source-syncs-and-guides-y.md +6 -0
  113. package/corpus/templates/brain/jobs/process-ingest-queue.ts +13 -0
  114. package/corpus/templates/brain/server/jobs/sync-sources.ts +27 -22
  115. package/corpus/templates/brain/server/plugins/agent-chat.ts +2 -1
  116. package/corpus/templates/brain/server/routes/api/brain/queue/run.post.ts +7 -1
  117. package/corpus/templates/clips/AGENTS.md +1 -1
  118. package/corpus/templates/clips/actions/create-recording-agent-link.ts +11 -1
  119. package/corpus/templates/clips/actions/update-comment.ts +68 -0
  120. package/corpus/templates/clips/app/components/editor/editor-layout.tsx +0 -1
  121. package/corpus/templates/clips/app/components/player/comments-panel.tsx +221 -65
  122. package/corpus/templates/clips/app/components/player/video-player.tsx +101 -27
  123. package/corpus/templates/clips/app/i18n/en-US.ts +2 -1
  124. package/corpus/templates/clips/app/routes/bug-report.done.tsx +48 -27
  125. package/corpus/templates/clips/app/routes/bug-report.tsx +43 -4
  126. package/corpus/templates/clips/app/routes/record.tsx +2 -0
  127. package/corpus/templates/clips/changelog/2026-07-29-clip-playback-now-recovers-instead-of-getting-stuck-when-a-b.md +6 -0
  128. package/corpus/templates/clips/changelog/2026-07-29-comments-can-now-be-edited-after-posting.md +6 -0
  129. package/corpus/templates/clips/changelog/2026-07-29-download-actions-now-use-a-shorter-clearer-label.md +6 -0
  130. package/corpus/templates/clips/changelog/2026-07-29-embedded-bug-reports-now-return-a-temporary-agent-readable.md +6 -0
  131. package/corpus/templates/clips/shared/bug-report.ts +99 -0
  132. package/corpus/templates/content/actions/_content-database-personal-view.ts +7 -1
  133. package/corpus/templates/content/app/components/editor/database/DatabaseView.tsx +5 -2
  134. package/corpus/templates/content/app/components/sidebar/DocumentSidebar.tsx +20 -8
  135. package/corpus/templates/content/changelog/2026-07-29-missing-databases-no-longer-trigger-repeated-personal-view-e.md +6 -0
  136. package/corpus/templates/design/.agents/skills/visual-edit/SKILL.md +83 -47
  137. package/corpus/templates/design/.generated/bridge/editor-chrome.generated.ts +474 -55
  138. package/corpus/templates/design/.generated/bridge/embedded-wheel.generated.ts +3 -0
  139. package/corpus/templates/design/.generated/bridge/hit-test.generated.ts +18 -1
  140. package/corpus/templates/design/.generated/bridge/source-location.generated.ts +348 -0
  141. package/corpus/templates/design/actions/add-localhost-screens.ts +2 -7
  142. package/corpus/templates/design/actions/apply-visual-edit.ts +7 -1
  143. package/corpus/templates/design/actions/connect-localhost.ts +5 -9
  144. package/corpus/templates/design/actions/create-component.ts +16 -13
  145. package/corpus/templates/design/actions/grant-localhost-write-consent.ts +2 -7
  146. package/corpus/templates/design/actions/list-design-source-capabilities.ts +4 -7
  147. package/corpus/templates/design/actions/list-local-files.ts +26 -50
  148. package/corpus/templates/design/actions/list-localhost-connections.ts +2 -7
  149. package/corpus/templates/design/actions/migrate-board-objects-to-file.ts +2 -2
  150. package/corpus/templates/design/actions/open-visual-edit.ts +234 -135
  151. package/corpus/templates/design/actions/read-local-file.ts +26 -50
  152. package/corpus/templates/design/actions/request-localhost-write-consent.ts +2 -7
  153. package/corpus/templates/design/actions/write-local-file.ts +31 -73
  154. package/corpus/templates/design/app/components/design/DesignCanvas.tsx +307 -133
  155. package/corpus/templates/design/app/components/design/EditPanel.tsx +94 -22
  156. package/corpus/templates/design/app/components/design/MultiScreenCanvas.tsx +137 -60
  157. package/corpus/templates/design/app/components/design/ResponsiveInteractBar.tsx +75 -14
  158. package/corpus/templates/design/app/components/design/bridge/editor-chrome.bridge.ts +755 -97
  159. package/corpus/templates/design/app/components/design/bridge/embedded-wheel.bridge.ts +8 -0
  160. package/corpus/templates/design/app/components/design/bridge/hit-test.bridge.ts +24 -1
  161. package/corpus/templates/design/app/components/design/bridge/source-location.bridge.ts +530 -0
  162. package/corpus/templates/design/app/components/design/code-workbench/CodeWorkbenchLoader.tsx +278 -0
  163. package/corpus/templates/design/app/components/design/code-workbench/editor/MonacoHost.tsx +32 -12
  164. package/corpus/templates/design/app/components/design/code-workbench/editor/monaco-setup.ts +14 -3
  165. package/corpus/templates/design/app/components/design/code-workbench/explorer/ExplorerView.tsx +87 -24
  166. package/corpus/templates/design/app/components/design/code-workbench/explorer/FileTree.tsx +36 -0
  167. package/corpus/templates/design/app/components/design/code-workbench/store.tsx +2 -1
  168. package/corpus/templates/design/app/components/design/code-workbench/workspace/localhost-provider.ts +48 -8
  169. package/corpus/templates/design/app/components/design/design-canvas/content-size-report.ts +3 -13
  170. package/corpus/templates/design/app/components/design/design-canvas/embedded-frame.ts +4 -2
  171. package/corpus/templates/design/app/components/design/design-canvas/hit-test.ts +3 -13
  172. package/corpus/templates/design/app/components/design/edit-panel/element-classification.ts +3 -1
  173. package/corpus/templates/design/app/components/design/edit-panel/inspect-code-source.ts +93 -0
  174. package/corpus/templates/design/app/components/design/multi-screen/board-surface-html.ts +4 -2
  175. package/corpus/templates/design/app/components/design/multi-screen/cross-screen-drop.ts +35 -0
  176. package/corpus/templates/design/app/components/design/multi-screen/iframe-targeting.ts +24 -0
  177. package/corpus/templates/design/app/components/design/multi-screen/types.ts +9 -0
  178. package/corpus/templates/design/app/components/design/types.ts +29 -0
  179. package/corpus/templates/design/app/components/layout/Layout.tsx +7 -4
  180. package/corpus/templates/design/app/hooks/use-navigation-state.ts +3 -0
  181. package/corpus/templates/design/app/i18n-data.ts +153 -46
  182. package/corpus/templates/design/app/i18n-responsive-interact.ts +12 -12
  183. package/corpus/templates/design/app/lib/design-editor-route.ts +23 -0
  184. package/corpus/templates/design/app/pages/VisualEdit.tsx +19 -6
  185. package/corpus/templates/design/app/pages/design-editor/action-error.ts +19 -0
  186. package/corpus/templates/design/app/pages/design-editor/canvas-primitive-insert.ts +29 -0
  187. package/corpus/templates/design/app/pages/design-editor/clone-and-pen-edit.ts +6 -0
  188. package/corpus/templates/design/app/pages/design-editor/code-layer-state.ts +277 -15
  189. package/corpus/templates/design/app/pages/design-editor/editor-state.ts +75 -9
  190. package/corpus/templates/design/app/pages/design-editor/layer-state-scope.ts +28 -0
  191. package/corpus/templates/design/app/pages/design-editor/live-screen-layer-drop.ts +41 -0
  192. package/corpus/templates/design/app/pages/design-editor/pending-edits.ts +496 -41
  193. package/corpus/templates/design/app/pages/design-editor/pending-live-edit-unload-guard.ts +27 -0
  194. package/corpus/templates/design/app/pages/design-editor/pending-structure-verification.ts +10 -0
  195. package/corpus/templates/design/app/pages/design-editor/react-semantic-handoff.ts +168 -9
  196. package/corpus/templates/design/app/pages/design-editor/responsive-interact.ts +41 -3
  197. package/corpus/templates/design/app/pages/design-editor/screen-command-utils.ts +5 -0
  198. package/corpus/templates/design/app/pages/design-editor/selection-state.ts +42 -13
  199. package/corpus/templates/design/app/pages/design-editor/source-location.ts +180 -0
  200. package/corpus/templates/design/app/pages/design-editor/tool-state.ts +17 -0
  201. package/corpus/templates/design/app/public-routes.ts +1 -0
  202. package/corpus/templates/design/app/routes/visual-edit.$id.tsx +15 -0
  203. package/corpus/templates/design/changelog/2026-06-29-screen-overview-is-easier-to-find-and-named-screens-open-dir.md +1 -1
  204. package/corpus/templates/design/changelog/2026-07-28-deleting-a-selected-element-now-removes-it-from-the-live-pre.md +6 -0
  205. package/corpus/templates/design/changelog/2026-07-28-deleting-an-element-on-a-connected-localhost-screen-now-queu.md +6 -0
  206. package/corpus/templates/design/changelog/2026-07-28-interact-mode-now-shows-a-responsive-device-preview-with-pre.md +6 -0
  207. package/corpus/templates/design/changelog/2026-07-28-layer-hide-and-lock-now-apply-to-the-live-preview-instead-of.md +6 -0
  208. package/corpus/templates/design/changelog/2026-07-28-layers-panel-selections-on-a-connected-localhost-screen-can-.md +6 -0
  209. package/corpus/templates/design/changelog/2026-07-28-locked-layers-now-show-a-subtle-dashed-outline-in-the-live-p.md +6 -0
  210. package/corpus/templates/design/changelog/2026-07-28-the-apply-design-updates-button-now-counts-pending-live-text.md +6 -0
  211. package/corpus/templates/design/changelog/2026-07-28-the-design-canvas-no-longer-stalls-on-a-render-loop-while-a-.md +6 -0
  212. package/corpus/templates/design/changelog/2026-07-28-visual-edit-on-a-local-dev-server-no-longer-requires-signing.md +6 -0
  213. package/corpus/templates/design/changelog/2026-07-28-visual-edits-on-a-react-19-app-no-longer-report-a-source-lin.md +6 -0
  214. package/corpus/templates/design/changelog/2026-07-29-an-edit-that-cannot-be-written-to-source-now-names-the-reaso.md +6 -0
  215. package/corpus/templates/design/changelog/2026-07-29-applying-a-primitive-dropped-onto-a-connected-localhost-scre.md +6 -0
  216. package/corpus/templates/design/changelog/2026-07-29-changing-a-style-in-the-inspector-now-updates-a-connected-lo.md +6 -0
  217. package/corpus/templates/design/changelog/2026-07-29-choosing-edit-or-annotate-from-a-focused-screen-now-returns-.md +6 -0
  218. package/corpus/templates/design/changelog/2026-07-29-concurrent-source-edits-now-return-a-clear-conflict-response.md +6 -0
  219. package/corpus/templates/design/changelog/2026-07-29-creating-a-component-from-an-element-that-repeats-in-the-sou.md +6 -0
  220. package/corpus/templates/design/changelog/2026-07-29-deleting-an-element-you-just-dropped-onto-a-live-screen-no-l.md +6 -0
  221. package/corpus/templates/design/changelog/2026-07-29-dragging-a-layer-across-screens-no-longer-dies-when-the-poin.md +6 -0
  222. package/corpus/templates/design/changelog/2026-07-29-dragging-an-element-from-a-stored-screen-into-a-live-localho.md +6 -0
  223. package/corpus/templates/design/changelog/2026-07-29-drawing-a-box-on-the-canvas-and-dragging-it-into-a-connected.md +6 -0
  224. package/corpus/templates/design/changelog/2026-07-29-fixed-a-loading-screen-flicker-when-reopening-designs-with-a.md +6 -0
  225. package/corpus/templates/design/changelog/2026-07-29-interact-mode-has-edit-and-annotate-buttons-again-so-you-can.md +6 -0
  226. package/corpus/templates/design/changelog/2026-07-29-layer-groups-can-be-dropped-onto-live-localhost-screens.md +6 -0
  227. package/corpus/templates/design/changelog/2026-07-29-localhost-source-errors-now-say-what-actually-went-wrong-whi.md +6 -0
  228. package/corpus/templates/design/changelog/2026-07-29-opening-or-refreshing-a-live-localhost-screen-in-single-scre.md +6 -0
  229. package/corpus/templates/design/changelog/2026-07-29-redo-after-undoing-a-drop-onto-a-live-screen-puts-the-elemen.md +6 -0
  230. package/corpus/templates/design/changelog/2026-07-29-shapes-can-be-drawn-directly-onto-live-localhost-screens.md +6 -0
  231. package/corpus/templates/design/changelog/2026-07-29-shapes-drawn-on-the-canvas-board-now-appear-immediately-inst.md +6 -0
  232. package/corpus/templates/design/changelog/2026-07-29-style-edits-on-a-running-localhost-screen-now-preview-live-a.md +6 -0
  233. package/corpus/templates/design/changelog/2026-07-29-the-apply-design-updates-control-now-appears-as-a-clean-conn.md +6 -0
  234. package/corpus/templates/design/changelog/2026-07-29-visual-edits-on-a-mapped-component-instance-now-tell-the-age.md +6 -0
  235. package/corpus/templates/design/server/lib/design-data-access.ts +21 -7
  236. package/corpus/templates/design/server/lib/localhost-connection.ts +240 -0
  237. package/corpus/templates/design/server/routes/[...page].get.ts +2 -5
  238. package/corpus/templates/design/server/source-workspace.ts +2 -0
  239. package/corpus/templates/design/shared/code-layer.ts +43 -0
  240. package/corpus/templates/design/shared/html-content.ts +26 -0
  241. package/corpus/templates/design/shared/html-integrity.ts +21 -1
  242. package/corpus/templates/design/shared/local-jsx-visual-edit.ts +15 -0
  243. package/corpus/templates/design/shared/source-mode.ts +76 -0
  244. package/corpus/templates/dispatch/changelog/2026-07-26-slack-replies-recover-after-connected-app-updates.md +6 -0
  245. package/corpus/templates/dispatch/changelog/2026-07-29-workspace-members-without-admin-access-now-see-a-clear-permi.md +6 -0
  246. package/corpus/templates/dispatch/server/lib/usage-metrics.ts +2 -1
  247. package/corpus/templates/plan/app/lib/plan-annotation-runtime.ts +3 -4
  248. package/corpus/templates/plan/server/routes/[...page].get.ts +2 -5
  249. package/corpus/templates/slides/.agents/skills/design-systems/SKILL.md +15 -0
  250. package/corpus/templates/slides/actions/delete-design-system.ts +145 -0
  251. package/corpus/templates/slides/actions/list-design-systems.ts +94 -2
  252. package/corpus/templates/slides/actions/patch-deck.ts +29 -17
  253. package/corpus/templates/slides/app/components/design-system/DesignSystemCard.tsx +43 -1
  254. package/corpus/templates/slides/app/hooks/use-design-systems.ts +2 -0
  255. package/corpus/templates/slides/app/i18n/en-US.ts +7 -0
  256. package/corpus/templates/slides/app/pages/DesignSystems.tsx +56 -1
  257. package/corpus/templates/slides/changelog/2026-07-28-delete-a-design-system-you-own-from-the-design-systems-page-.md +6 -0
  258. package/corpus/toolkit/CHANGELOG.md +6 -0
  259. package/corpus/toolkit/package.json +1 -1
  260. package/corpus/toolkit/src/composer/ComposerPlusMenu.tsx +3 -2
  261. package/dist/action-ui.d.ts +1 -0
  262. package/dist/action-ui.d.ts.map +1 -1
  263. package/dist/action-ui.js +1 -0
  264. package/dist/action-ui.js.map +1 -1
  265. package/dist/action.d.ts +5 -1
  266. package/dist/action.d.ts.map +1 -1
  267. package/dist/action.js.map +1 -1
  268. package/dist/agent/engine/ai-sdk-engine.d.ts.map +1 -1
  269. package/dist/agent/engine/ai-sdk-engine.js +13 -5
  270. package/dist/agent/engine/ai-sdk-engine.js.map +1 -1
  271. package/dist/agent/harness/runner.d.ts.map +1 -1
  272. package/dist/agent/harness/runner.js +5 -0
  273. package/dist/agent/harness/runner.js.map +1 -1
  274. package/dist/agent/production-agent.d.ts +16 -0
  275. package/dist/agent/production-agent.d.ts.map +1 -1
  276. package/dist/agent/production-agent.js +18 -1
  277. package/dist/agent/production-agent.js.map +1 -1
  278. package/dist/agent/run-loop-with-resume.d.ts.map +1 -1
  279. package/dist/agent/run-loop-with-resume.js +6 -0
  280. package/dist/agent/run-loop-with-resume.js.map +1 -1
  281. package/dist/agent/run-manager.d.ts +14 -0
  282. package/dist/agent/run-manager.d.ts.map +1 -1
  283. package/dist/agent/run-manager.js +91 -1
  284. package/dist/agent/run-manager.js.map +1 -1
  285. package/dist/agent/thread-data-builder.d.ts +3 -0
  286. package/dist/agent/thread-data-builder.d.ts.map +1 -1
  287. package/dist/agent/thread-data-builder.js +35 -3
  288. package/dist/agent/thread-data-builder.js.map +1 -1
  289. package/dist/agent/types.d.ts +2 -0
  290. package/dist/agent/types.d.ts.map +1 -1
  291. package/dist/agent/types.js.map +1 -1
  292. package/dist/chat-threads/store.d.ts.map +1 -1
  293. package/dist/chat-threads/store.js +4 -6
  294. package/dist/chat-threads/store.js.map +1 -1
  295. package/dist/cli/create.d.ts +66 -6
  296. package/dist/cli/create.d.ts.map +1 -1
  297. package/dist/cli/create.js +765 -66
  298. package/dist/cli/create.js.map +1 -1
  299. package/dist/cli/design-connect.d.ts.map +1 -1
  300. package/dist/cli/design-connect.js +2 -7
  301. package/dist/cli/design-connect.js.map +1 -1
  302. package/dist/cli/index.js +5 -3
  303. package/dist/cli/index.js.map +1 -1
  304. package/dist/cli/skills-content/design-visual-edit-skill.d.ts +1 -1
  305. package/dist/cli/skills-content/design-visual-edit-skill.d.ts.map +1 -1
  306. package/dist/cli/skills-content/design-visual-edit-skill.js +83 -47
  307. package/dist/cli/skills-content/design-visual-edit-skill.js.map +1 -1
  308. package/dist/client/AssistantChat.d.ts.map +1 -1
  309. package/dist/client/AssistantChat.js +16 -9
  310. package/dist/client/AssistantChat.js.map +1 -1
  311. package/dist/client/agent-chat-adapter.d.ts.map +1 -1
  312. package/dist/client/agent-chat-adapter.js +21 -0
  313. package/dist/client/agent-chat-adapter.js.map +1 -1
  314. package/dist/client/blocks/library/wireframe-kit.d.ts +2 -0
  315. package/dist/client/blocks/library/wireframe-kit.d.ts.map +1 -1
  316. package/dist/client/blocks/library/wireframe-kit.js +8 -2
  317. package/dist/client/blocks/library/wireframe-kit.js.map +1 -1
  318. package/dist/client/chat/index.d.ts +1 -1
  319. package/dist/client/chat/index.d.ts.map +1 -1
  320. package/dist/client/chat/index.js +1 -1
  321. package/dist/client/chat/index.js.map +1 -1
  322. package/dist/client/chat/message-components.d.ts +17 -0
  323. package/dist/client/chat/message-components.d.ts.map +1 -1
  324. package/dist/client/chat/message-components.js +24 -2
  325. package/dist/client/chat/message-components.js.map +1 -1
  326. package/dist/client/chat/run-recovery.d.ts +6 -0
  327. package/dist/client/chat/run-recovery.d.ts.map +1 -1
  328. package/dist/client/chat/run-recovery.js +13 -3
  329. package/dist/client/chat/run-recovery.js.map +1 -1
  330. package/dist/client/chat/widgets/DataTableWidget.d.ts.map +1 -1
  331. package/dist/client/chat/widgets/DataTableWidget.js +2 -3
  332. package/dist/client/chat/widgets/DataTableWidget.js.map +1 -1
  333. package/dist/client/chat/widgets/WorkspaceFileWidget.d.ts +5 -0
  334. package/dist/client/chat/widgets/WorkspaceFileWidget.d.ts.map +1 -0
  335. package/dist/client/chat/widgets/WorkspaceFileWidget.js +34 -0
  336. package/dist/client/chat/widgets/WorkspaceFileWidget.js.map +1 -0
  337. package/dist/client/chat/widgets/builtin-tool-renderers.d.ts.map +1 -1
  338. package/dist/client/chat/widgets/builtin-tool-renderers.js +13 -1
  339. package/dist/client/chat/widgets/builtin-tool-renderers.js.map +1 -1
  340. package/dist/client/chat/widgets/workspace-file-result.d.ts +12 -0
  341. package/dist/client/chat/widgets/workspace-file-result.d.ts.map +1 -0
  342. package/dist/client/chat/widgets/workspace-file-result.js +34 -0
  343. package/dist/client/chat/widgets/workspace-file-result.js.map +1 -0
  344. package/dist/client/embed-auth.d.ts.map +1 -1
  345. package/dist/client/embed-auth.js +2 -1
  346. package/dist/client/embed-auth.js.map +1 -1
  347. package/dist/client/org/InvitationBanner.d.ts +5 -2
  348. package/dist/client/org/InvitationBanner.d.ts.map +1 -1
  349. package/dist/client/org/InvitationBanner.js +9 -2
  350. package/dist/client/org/InvitationBanner.js.map +1 -1
  351. package/dist/client/org/OrgSwitcher.d.ts.map +1 -1
  352. package/dist/client/org/OrgSwitcher.js +3 -2
  353. package/dist/client/org/OrgSwitcher.js.map +1 -1
  354. package/dist/client/org/TeamPage.d.ts.map +1 -1
  355. package/dist/client/org/TeamPage.js +27 -3
  356. package/dist/client/org/TeamPage.js.map +1 -1
  357. package/dist/client/org/WorkspaceNotice.d.ts +18 -0
  358. package/dist/client/org/WorkspaceNotice.d.ts.map +1 -0
  359. package/dist/client/org/WorkspaceNotice.js +56 -0
  360. package/dist/client/org/WorkspaceNotice.js.map +1 -0
  361. package/dist/client/org/hooks.d.ts +1 -0
  362. package/dist/client/org/hooks.d.ts.map +1 -1
  363. package/dist/client/org/hooks.js +12 -0
  364. package/dist/client/org/hooks.js.map +1 -1
  365. package/dist/client/org/index.d.ts +2 -1
  366. package/dist/client/org/index.d.ts.map +1 -1
  367. package/dist/client/org/index.js +2 -1
  368. package/dist/client/org/index.js.map +1 -1
  369. package/dist/client/resources/McpIntegrationDialog.d.ts.map +1 -1
  370. package/dist/client/resources/McpIntegrationDialog.js +8 -12
  371. package/dist/client/resources/McpIntegrationDialog.js.map +1 -1
  372. package/dist/client/resources/ResourcesPanel.d.ts +3 -0
  373. package/dist/client/resources/ResourcesPanel.d.ts.map +1 -1
  374. package/dist/client/resources/ResourcesPanel.js +49 -20
  375. package/dist/client/resources/ResourcesPanel.js.map +1 -1
  376. package/dist/client/resources/mcp-integration-catalog.d.ts +1 -0
  377. package/dist/client/resources/mcp-integration-catalog.d.ts.map +1 -1
  378. package/dist/client/resources/mcp-integration-catalog.js +3 -0
  379. package/dist/client/resources/mcp-integration-catalog.js.map +1 -1
  380. package/dist/client/resources/use-resources.d.ts +1 -0
  381. package/dist/client/resources/use-resources.d.ts.map +1 -1
  382. package/dist/client/resources/use-resources.js +3 -0
  383. package/dist/client/resources/use-resources.js.map +1 -1
  384. package/dist/client/use-action.d.ts +3 -1
  385. package/dist/client/use-action.d.ts.map +1 -1
  386. package/dist/client/use-action.js +3 -1
  387. package/dist/client/use-action.js.map +1 -1
  388. package/dist/client/widgets/index.d.ts +1 -1
  389. package/dist/client/widgets/index.d.ts.map +1 -1
  390. package/dist/client/widgets/index.js +1 -1
  391. package/dist/client/widgets/index.js.map +1 -1
  392. package/dist/coding-tools/run-code.js +2 -1
  393. package/dist/coding-tools/run-code.js.map +1 -1
  394. package/dist/collab/awareness.d.ts +2 -2
  395. package/dist/collab/awareness.d.ts.map +1 -1
  396. package/dist/collab/struct-routes.d.ts +1 -1
  397. package/dist/db/client.d.ts +1 -0
  398. package/dist/db/client.d.ts.map +1 -1
  399. package/dist/db/client.js +24 -3
  400. package/dist/db/client.js.map +1 -1
  401. package/dist/deploy/build.d.ts.map +1 -1
  402. package/dist/deploy/build.js +25 -3
  403. package/dist/deploy/build.js.map +1 -1
  404. package/dist/eject/remote-mcp-presets.js +1 -1
  405. package/dist/eject/remote-mcp-presets.js.map +1 -1
  406. package/dist/index.browser.d.ts +1 -1
  407. package/dist/index.browser.d.ts.map +1 -1
  408. package/dist/index.browser.js +1 -1
  409. package/dist/index.browser.js.map +1 -1
  410. package/dist/index.d.ts +1 -1
  411. package/dist/index.d.ts.map +1 -1
  412. package/dist/index.js +1 -1
  413. package/dist/index.js.map +1 -1
  414. package/dist/integrations/a2a-continuation-processor.d.ts +5 -0
  415. package/dist/integrations/a2a-continuation-processor.d.ts.map +1 -1
  416. package/dist/integrations/a2a-continuation-processor.js +293 -79
  417. package/dist/integrations/a2a-continuation-processor.js.map +1 -1
  418. package/dist/integrations/a2a-continuations-store.d.ts +23 -1
  419. package/dist/integrations/a2a-continuations-store.d.ts.map +1 -1
  420. package/dist/integrations/a2a-continuations-store.js +249 -15
  421. package/dist/integrations/a2a-continuations-store.js.map +1 -1
  422. package/dist/integrations/adapters/slack.d.ts.map +1 -1
  423. package/dist/integrations/adapters/slack.js +155 -31
  424. package/dist/integrations/adapters/slack.js.map +1 -1
  425. package/dist/integrations/google-docs-poller.d.ts.map +1 -1
  426. package/dist/integrations/google-docs-poller.js +4 -1
  427. package/dist/integrations/google-docs-poller.js.map +1 -1
  428. package/dist/integrations/integration-campaign-recovery.d.ts.map +1 -1
  429. package/dist/integrations/integration-campaign-recovery.js +3 -1
  430. package/dist/integrations/integration-campaign-recovery.js.map +1 -1
  431. package/dist/integrations/plugin.d.ts.map +1 -1
  432. package/dist/integrations/plugin.js +29 -12
  433. package/dist/integrations/plugin.js.map +1 -1
  434. package/dist/integrations/task-queue-stats.d.ts +12 -0
  435. package/dist/integrations/task-queue-stats.d.ts.map +1 -1
  436. package/dist/integrations/task-queue-stats.js +106 -0
  437. package/dist/integrations/task-queue-stats.js.map +1 -1
  438. package/dist/integrations/types.d.ts +24 -6
  439. package/dist/integrations/types.d.ts.map +1 -1
  440. package/dist/integrations/types.js.map +1 -1
  441. package/dist/integrations/webhook-handler.d.ts.map +1 -1
  442. package/dist/integrations/webhook-handler.js +35 -14
  443. package/dist/integrations/webhook-handler.js.map +1 -1
  444. package/dist/jobs/scheduler.js +4 -0
  445. package/dist/jobs/scheduler.js.map +1 -1
  446. package/dist/localization/default-messages.d.ts +3 -2
  447. package/dist/localization/default-messages.d.ts.map +1 -1
  448. package/dist/localization/default-messages.js +3 -2
  449. package/dist/localization/default-messages.js.map +1 -1
  450. package/dist/notifications/routes.d.ts +1 -1
  451. package/dist/observability/traces.d.ts.map +1 -1
  452. package/dist/observability/traces.js +27 -7
  453. package/dist/observability/traces.js.map +1 -1
  454. package/dist/org/handlers.d.ts +15 -0
  455. package/dist/org/handlers.d.ts.map +1 -1
  456. package/dist/org/handlers.js +45 -1
  457. package/dist/org/handlers.js.map +1 -1
  458. package/dist/org/migrations.d.ts.map +1 -1
  459. package/dist/org/migrations.js +4 -0
  460. package/dist/org/migrations.js.map +1 -1
  461. package/dist/org/plugin.d.ts +1 -0
  462. package/dist/org/plugin.d.ts.map +1 -1
  463. package/dist/org/plugin.js +10 -1
  464. package/dist/org/plugin.js.map +1 -1
  465. package/dist/org/schema.d.ts +19 -0
  466. package/dist/org/schema.d.ts.map +1 -1
  467. package/dist/org/schema.js +1 -0
  468. package/dist/org/schema.js.map +1 -1
  469. package/dist/org/types.d.ts +8 -0
  470. package/dist/org/types.d.ts.map +1 -1
  471. package/dist/org/types.js.map +1 -1
  472. package/dist/org/workspace-url.d.ts +32 -0
  473. package/dist/org/workspace-url.d.ts.map +1 -0
  474. package/dist/org/workspace-url.js +63 -0
  475. package/dist/org/workspace-url.js.map +1 -0
  476. package/dist/provider-api/actions/custom-provider-registration.d.ts +11 -11
  477. package/dist/provider-api/actions/provider-api.d.ts +7 -7
  478. package/dist/resources/handlers.d.ts +3 -4
  479. package/dist/resources/handlers.d.ts.map +1 -1
  480. package/dist/resources/handlers.js +25 -5
  481. package/dist/resources/handlers.js.map +1 -1
  482. package/dist/scripts/runner.d.ts +17 -0
  483. package/dist/scripts/runner.d.ts.map +1 -1
  484. package/dist/scripts/runner.js +130 -5
  485. package/dist/scripts/runner.js.map +1 -1
  486. package/dist/secrets/routes.d.ts +9 -9
  487. package/dist/server/action-routes.d.ts.map +1 -1
  488. package/dist/server/action-routes.js +24 -2
  489. package/dist/server/action-routes.js.map +1 -1
  490. package/dist/server/agent-chat-plugin.d.ts.map +1 -1
  491. package/dist/server/agent-chat-plugin.js +26 -1
  492. package/dist/server/agent-chat-plugin.js.map +1 -1
  493. package/dist/server/agent-teams.d.ts.map +1 -1
  494. package/dist/server/agent-teams.js +10 -1
  495. package/dist/server/agent-teams.js.map +1 -1
  496. package/dist/server/auth.d.ts +22 -0
  497. package/dist/server/auth.d.ts.map +1 -1
  498. package/dist/server/auth.js +33 -7
  499. package/dist/server/auth.js.map +1 -1
  500. package/dist/server/embed-route.d.ts.map +1 -1
  501. package/dist/server/embed-route.js +6 -1
  502. package/dist/server/embed-route.js.map +1 -1
  503. package/dist/server/embed-session.d.ts +7 -0
  504. package/dist/server/embed-session.d.ts.map +1 -1
  505. package/dist/server/embed-session.js +46 -4
  506. package/dist/server/embed-session.js.map +1 -1
  507. package/dist/server/open-route.d.ts.map +1 -1
  508. package/dist/server/open-route.js +17 -7
  509. package/dist/server/open-route.js.map +1 -1
  510. package/dist/server/prompts/framework-core-compact.js +1 -1
  511. package/dist/server/prompts/framework-core-compact.js.map +1 -1
  512. package/dist/server/prompts/framework-core.d.ts.map +1 -1
  513. package/dist/server/prompts/framework-core.js +1 -0
  514. package/dist/server/prompts/framework-core.js.map +1 -1
  515. package/dist/server/request-context.d.ts +26 -0
  516. package/dist/server/request-context.d.ts.map +1 -1
  517. package/dist/server/request-context.js +18 -1
  518. package/dist/server/request-context.js.map +1 -1
  519. package/dist/shared/embed-auth.d.ts +1 -0
  520. package/dist/shared/embed-auth.d.ts.map +1 -1
  521. package/dist/shared/embed-auth.js +1 -0
  522. package/dist/shared/embed-auth.js.map +1 -1
  523. package/dist/shared/html-document.d.ts +12 -0
  524. package/dist/shared/html-document.d.ts.map +1 -0
  525. package/dist/shared/html-document.js +92 -0
  526. package/dist/shared/html-document.js.map +1 -0
  527. package/dist/shared/index.d.ts +1 -0
  528. package/dist/shared/index.d.ts.map +1 -1
  529. package/dist/shared/index.js +1 -0
  530. package/dist/shared/index.js.map +1 -1
  531. package/dist/sharing/access.d.ts +1 -0
  532. package/dist/sharing/access.d.ts.map +1 -1
  533. package/dist/sharing/access.js +8 -2
  534. package/dist/sharing/access.js.map +1 -1
  535. package/dist/sharing/registry.d.ts +3 -0
  536. package/dist/sharing/registry.d.ts.map +1 -1
  537. package/dist/sharing/registry.js.map +1 -1
  538. package/dist/workspace-files/actions.d.ts +28 -0
  539. package/dist/workspace-files/actions.d.ts.map +1 -0
  540. package/dist/workspace-files/actions.js +75 -0
  541. package/dist/workspace-files/actions.js.map +1 -0
  542. package/dist/workspace-files/tool.d.ts.map +1 -1
  543. package/dist/workspace-files/tool.js +4 -0
  544. package/dist/workspace-files/tool.js.map +1 -1
  545. package/docs/content/cloneable-saas.mdx +114 -0
  546. package/docs/content/creating-templates.mdx +28 -2
  547. package/docs/content/syncing-template-changes.mdx +7 -0
  548. package/docs/content/template-clips-developers.mdx +12 -5
  549. package/docs/content/template-dispatch-developers.mdx +1 -1
  550. package/docs/content/template-dispatch.mdx +1 -1
  551. package/package.json +2 -2
  552. package/src/action-ui.ts +1 -0
  553. package/src/action.ts +5 -1
  554. package/src/agent/engine/ai-sdk-engine.ts +15 -5
  555. package/src/agent/harness/runner.ts +5 -0
  556. package/src/agent/production-agent.ts +33 -0
  557. package/src/agent/run-loop-with-resume.ts +5 -0
  558. package/src/agent/run-manager.ts +126 -1
  559. package/src/agent/thread-data-builder.ts +47 -2
  560. package/src/agent/types.ts +2 -0
  561. package/src/chat-threads/store.ts +4 -5
  562. package/src/cli/create.ts +1139 -65
  563. package/src/cli/design-connect.ts +3 -7
  564. package/src/cli/index.ts +5 -3
  565. package/src/cli/skills-content/design-visual-edit-skill.ts +83 -47
  566. package/src/client/AssistantChat.tsx +27 -16
  567. package/src/client/agent-chat-adapter.ts +24 -0
  568. package/src/client/blocks/library/wireframe-kit.tsx +17 -2
  569. package/src/client/chat/index.ts +1 -0
  570. package/src/client/chat/message-components.tsx +104 -1
  571. package/src/client/chat/run-recovery.tsx +15 -3
  572. package/src/client/chat/widgets/DataTableWidget.tsx +10 -29
  573. package/src/client/chat/widgets/WorkspaceFileWidget.tsx +71 -0
  574. package/src/client/chat/widgets/builtin-tool-renderers.tsx +22 -0
  575. package/src/client/chat/widgets/workspace-file-result.ts +49 -0
  576. package/src/client/embed-auth.ts +2 -0
  577. package/src/client/org/InvitationBanner.tsx +14 -1
  578. package/src/client/org/OrgSwitcher.tsx +23 -0
  579. package/src/client/org/TeamPage.tsx +130 -0
  580. package/src/client/org/WorkspaceNotice.tsx +85 -0
  581. package/src/client/org/hooks.ts +14 -0
  582. package/src/client/org/index.ts +2 -0
  583. package/src/client/resources/McpIntegrationDialog.tsx +27 -40
  584. package/src/client/resources/ResourcesPanel.tsx +134 -51
  585. package/src/client/resources/mcp-integration-catalog.ts +7 -0
  586. package/src/client/resources/use-resources.ts +6 -0
  587. package/src/client/use-action.ts +3 -1
  588. package/src/client/widgets/index.ts +1 -0
  589. package/src/coding-tools/run-code.ts +2 -1
  590. package/src/db/client.ts +28 -4
  591. package/src/deploy/build.ts +31 -3
  592. package/src/eject/remote-mcp-presets.ts +1 -1
  593. package/src/index.browser.ts +1 -0
  594. package/src/index.ts +1 -0
  595. package/src/integrations/a2a-continuation-processor.ts +481 -122
  596. package/src/integrations/a2a-continuations-store.ts +345 -14
  597. package/src/integrations/adapters/slack.ts +243 -53
  598. package/src/integrations/google-docs-poller.ts +3 -0
  599. package/src/integrations/integration-campaign-recovery.ts +4 -1
  600. package/src/integrations/plugin.ts +39 -21
  601. package/src/integrations/task-queue-stats.ts +146 -0
  602. package/src/integrations/types.ts +25 -4
  603. package/src/integrations/webhook-handler.ts +46 -16
  604. package/src/jobs/scheduler.ts +4 -0
  605. package/src/localization/default-messages.ts +3 -2
  606. package/src/observability/traces.ts +48 -12
  607. package/src/org/handlers.ts +52 -1
  608. package/src/org/migrations.ts +4 -0
  609. package/src/org/plugin.ts +14 -0
  610. package/src/org/schema.ts +1 -0
  611. package/src/org/types.ts +8 -0
  612. package/src/org/workspace-url.ts +74 -0
  613. package/src/resources/handlers.ts +35 -5
  614. package/src/scripts/runner.ts +183 -5
  615. package/src/server/__snapshots__/agent-chat-plugin.surface.spec.ts.snap +2 -1
  616. package/src/server/action-routes.ts +32 -2
  617. package/src/server/agent-chat-plugin.ts +29 -0
  618. package/src/server/agent-teams.ts +10 -1
  619. package/src/server/auth.ts +33 -7
  620. package/src/server/embed-route.ts +9 -0
  621. package/src/server/embed-session.ts +62 -3
  622. package/src/server/open-route.ts +20 -6
  623. package/src/server/prompts/framework-core-compact.ts +1 -1
  624. package/src/server/prompts/framework-core.ts +1 -0
  625. package/src/server/request-context.ts +36 -1
  626. package/src/shared/embed-auth.ts +1 -0
  627. package/src/shared/html-document.ts +115 -0
  628. package/src/shared/index.ts +1 -0
  629. package/src/sharing/access.ts +8 -1
  630. package/src/sharing/registry.ts +11 -2
  631. package/src/workspace-files/actions.ts +100 -0
  632. package/src/workspace-files/tool.ts +4 -0
  633. package/corpus/templates/design/changelog/2026-07-28-interact-mode-can-preview-designs-in-responsive-device-sizes.md +0 -6
  634. package/corpus/templates/design/changelog/2026-07-28-interact-mode-now-opens-a-full-screen-responsive-preview-wit.md +0 -6
@@ -87,7 +87,7 @@ export function findMcpIntegrationForText(text, integrations = getDefaultMcpInte
87
87
  return findRuntimeMcpIntegrationForText(text, integrations);
88
88
  }
89
89
  function withUiIntegrations(integrations = []) {
90
- return mergeDefaultMcpIntegrations(integrations);
90
+ return getDefaultMcpIntegrations(undefined, integrations);
91
91
  }
92
92
  export function McpIntegrationDialog(props) {
93
93
  return createElement(RuntimeMcpIntegrationDialog, {
@@ -1 +1 @@
1
- {"version":3,"file":"remote-mcp-presets.js","sourceRoot":"","sources":["../../src/eject/remote-mcp-presets.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,IAAI,gCAAgC,EAC5D,uBAAuB,IAAI,8BAA8B,EACzD,oBAAoB,IAAI,2BAA2B,EACnD,cAAc,IAAI,qBAAqB,EACvC,qBAAqB,IAAI,4BAA4B,EACrD,yBAAyB,IAAI,gCAAgC,EAC7D,yBAAyB,IAAI,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EnE,OAAO,4BAA4B,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,IAAY,EACZ,YAAY,GAA4B,yBAAyB,EAAE;IAEnE,OAAO,gCAAgC,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;AAC9D,CAAC;AAED,SAAS,kBAAkB,CACzB,YAAY,GAAqC,EAAE;IAEnD,OAAO,2BAA2B,CAAC,YAAY,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,KAAgC;IAEhC,OAAO,aAAa,CAAC,2BAA2B,EAAE;QAChD,GAAG,KAAK;QACR,YAAY,EAAE,kBAAkB,CAAC,KAAK,CAAC,YAAY,CAAC;KACrD,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,KAAmC;IAEnC,OAAO,aAAa,CAAC,8BAA8B,EAAE;QACnD,GAAG,KAAK;QACR,YAAY,EAAE,kBAAkB,CAAC,KAAK,CAAC,YAAY,CAAC;KACrD,CAAC,CAAC;AACL,CAAC;AAMD,MAAM,UAAU,cAAc,CAC5B,KAAK,GAA+B,EAAE;IAEtC,MAAM,SAAS,GACb,qBAAkE,CAAC;IACrE,OAAO,aAAa,CAAC,SAAS,EAAE;QAC9B,GAAG,KAAK;QACR,eAAe,EAAE,kBAAkB,CAAC,KAAK,CAAC,eAAe,CAAC;KAC3D,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n DEFAULT_MCP_INTEGRATIONS as RUNTIME_DEFAULT_MCP_INTEGRATIONS,\n McpConnectionSuggestion as RuntimeMcpConnectionSuggestion,\n McpIntegrationDialog as RuntimeMcpIntegrationDialog,\n ResourcesPanel as RuntimeResourcesPanel,\n filterMcpIntegrations as filterRuntimeMcpIntegrations,\n findMcpIntegrationForText as findRuntimeMcpIntegrationForText,\n getDefaultMcpIntegrations as getRuntimeDefaultMcpIntegrations,\n isCustomMcpIntegrationEnabled,\n mergeDefaultMcpIntegrations as mergeRuntimeDefaultMcpIntegrations,\n type DefaultMcpIntegration,\n type McpConnectionSuggestionProps,\n type McpIntegrationDialogProps,\n type ResourcesPanelProps,\n} from \"@agent-native/core/client/resources/runtime\";\nimport { createElement, type ComponentType, type ReactElement } from \"react\";\n\nexport * from \"@agent-native/core/client/resources/runtime\";\n\nfunction preset(id: string): DefaultMcpIntegration {\n const runtimePreset = RUNTIME_DEFAULT_MCP_INTEGRATIONS.find(\n (integration) => integration.id === id,\n );\n if (runtimePreset) return { ...runtimePreset };\n\n if (id === \"granola\") {\n return {\n id: \"granola\",\n name: \"Granola\",\n provider: \"granola\",\n description: \"Search meeting notes, transcripts, and action items.\",\n descriptionKey: \"mcpIntegrations.catalog.granola.description\",\n useCase:\n \"meeting notes, recordings, transcripts, action items, follow-ups\",\n useCaseKey: \"mcpIntegrations.catalog.granola.useCase\",\n url: \"https://mcp.granola.ai/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: \"\",\n docsUrl: \"https://docs.granola.ai/help-center/sharing/integrations/mcp\",\n setupNoteKey: \"mcpIntegrations.catalog.granola.setupNote\",\n keywords: [\n \"meetings\",\n \"meeting notes\",\n \"recordings\",\n \"transcripts\",\n \"action items\",\n \"follow-ups\",\n \"decisions\",\n ],\n };\n }\n\n throw new Error(`MCP preset ${id} is missing from the runtime catalog.`);\n}\n\nexport const DEFAULT_MCP_INTEGRATIONS: DefaultMcpIntegration[] = [\n preset(\"context7\"),\n preset(\"sentry\"),\n preset(\"notion\"),\n preset(\"granola\"),\n preset(\"semgrep\"),\n preset(\"linear\"),\n preset(\"atlassian\"),\n preset(\"supabase\"),\n preset(\"neon\"),\n preset(\"stripe\"),\n preset(\"cloudflare\"),\n preset(\"gitlab\"),\n preset(\"figma\"),\n preset(\"canva\"),\n preset(\"vercel\"),\n preset(\"github\"),\n preset(\"slack\"),\n preset(\"asana\"),\n preset(\"hubspot\"),\n preset(\"intercom\"),\n preset(\"monday\"),\n preset(\"webflow\"),\n preset(\"paypal\"),\n preset(\"box\"),\n preset(\"netlify\"),\n preset(\"zapier\"),\n];\n\nexport const defaultMcpIntegrationOverrides = DEFAULT_MCP_INTEGRATIONS;\n\nexport function mergeDefaultMcpIntegrations(\n overrides: readonly DefaultMcpIntegration[] = [],\n): DefaultMcpIntegration[] {\n return mergeRuntimeDefaultMcpIntegrations([\n ...defaultMcpIntegrationOverrides,\n ...overrides,\n ]);\n}\n\nexport function getDefaultMcpIntegrations(\n config?: Parameters<typeof getRuntimeDefaultMcpIntegrations>[0],\n overrides: readonly DefaultMcpIntegration[] = [],\n): DefaultMcpIntegration[] {\n return getRuntimeDefaultMcpIntegrations(config, [\n ...defaultMcpIntegrationOverrides,\n ...overrides,\n ]);\n}\n\nexport function isMcpIntegrationCatalogAvailable(\n config?: Parameters<typeof getRuntimeDefaultMcpIntegrations>[0],\n): boolean {\n return (\n isCustomMcpIntegrationEnabled(config) ||\n getDefaultMcpIntegrations(config).length > 0\n );\n}\n\nexport function filterMcpIntegrations(\n query: string,\n integrations: DefaultMcpIntegration[] = getDefaultMcpIntegrations(),\n): DefaultMcpIntegration[] {\n return filterRuntimeMcpIntegrations(query, integrations);\n}\n\nexport function findMcpIntegrationForText(\n text: string,\n integrations: DefaultMcpIntegration[] = getDefaultMcpIntegrations(),\n): DefaultMcpIntegration | null {\n return findRuntimeMcpIntegrationForText(text, integrations);\n}\n\nfunction withUiIntegrations(\n integrations: readonly DefaultMcpIntegration[] = [],\n): DefaultMcpIntegration[] {\n return mergeDefaultMcpIntegrations(integrations);\n}\n\nexport function McpIntegrationDialog(\n props: McpIntegrationDialogProps,\n): ReactElement {\n return createElement(RuntimeMcpIntegrationDialog, {\n ...props,\n integrations: withUiIntegrations(props.integrations),\n });\n}\n\nexport function McpConnectionSuggestion(\n props: McpConnectionSuggestionProps,\n): ReactElement {\n return createElement(RuntimeMcpConnectionSuggestion, {\n ...props,\n integrations: withUiIntegrations(props.integrations),\n });\n}\n\ntype EjectedResourcesPanelProps = ResourcesPanelProps & {\n mcpIntegrations?: DefaultMcpIntegration[];\n};\n\nexport function ResourcesPanel(\n props: EjectedResourcesPanelProps = {},\n): ReactElement {\n const Component =\n RuntimeResourcesPanel as ComponentType<EjectedResourcesPanelProps>;\n return createElement(Component, {\n ...props,\n mcpIntegrations: withUiIntegrations(props.mcpIntegrations),\n });\n}\n"]}
1
+ {"version":3,"file":"remote-mcp-presets.js","sourceRoot":"","sources":["../../src/eject/remote-mcp-presets.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,IAAI,gCAAgC,EAC5D,uBAAuB,IAAI,8BAA8B,EACzD,oBAAoB,IAAI,2BAA2B,EACnD,cAAc,IAAI,qBAAqB,EACvC,qBAAqB,IAAI,4BAA4B,EACrD,yBAAyB,IAAI,gCAAgC,EAC7D,yBAAyB,IAAI,gCAAgC,EAC7D,6BAA6B,EAC7B,2BAA2B,IAAI,kCAAkC,GAKlE,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,aAAa,EAAyC,MAAM,OAAO,CAAC;AAE7E,cAAc,6CAA6C,CAAC;AAE5D,SAAS,MAAM,CAAC,EAAU;IACxB,MAAM,aAAa,GAAG,gCAAgC,CAAC,IAAI,CACzD,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,EAAE,KAAK,EAAE,CACvC,CAAC;IACF,IAAI,aAAa;QAAE,OAAO,EAAE,GAAG,aAAa,EAAE,CAAC;IAE/C,IAAI,EAAE,KAAK,SAAS,EAAE,CAAC;QACrB,OAAO;YACL,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,SAAS;YACnB,WAAW,EAAE,sDAAsD;YACnE,cAAc,EAAE,6CAA6C;YAC7D,OAAO,EACL,kEAAkE;YACpE,UAAU,EAAE,yCAAyC;YACrD,GAAG,EAAE,4BAA4B;YACjC,QAAQ,EAAE,OAAO;YACjB,cAAc,EAAE,OAAO;YACvB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AC;AAMD,MAAM,UAAU,cAAc,CAC5B,KAAK,GAA+B,EAAE;IAEtC,MAAM,SAAS,GACb,qBAAkE,CAAC;IACrE,OAAO,aAAa,CAAC,SAAS,EAAE;QAC9B,GAAG,KAAK;QACR,eAAe,EAAE,kBAAkB,CAAC,KAAK,CAAC,eAAe,CAAC;KAC3D,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n DEFAULT_MCP_INTEGRATIONS as RUNTIME_DEFAULT_MCP_INTEGRATIONS,\n McpConnectionSuggestion as RuntimeMcpConnectionSuggestion,\n McpIntegrationDialog as RuntimeMcpIntegrationDialog,\n ResourcesPanel as RuntimeResourcesPanel,\n filterMcpIntegrations as filterRuntimeMcpIntegrations,\n findMcpIntegrationForText as findRuntimeMcpIntegrationForText,\n getDefaultMcpIntegrations as getRuntimeDefaultMcpIntegrations,\n isCustomMcpIntegrationEnabled,\n mergeDefaultMcpIntegrations as mergeRuntimeDefaultMcpIntegrations,\n type DefaultMcpIntegration,\n type McpConnectionSuggestionProps,\n type McpIntegrationDialogProps,\n type ResourcesPanelProps,\n} from \"@agent-native/core/client/resources/runtime\";\nimport { createElement, type ComponentType, type ReactElement } from \"react\";\n\nexport * from \"@agent-native/core/client/resources/runtime\";\n\nfunction preset(id: string): DefaultMcpIntegration {\n const runtimePreset = RUNTIME_DEFAULT_MCP_INTEGRATIONS.find(\n (integration) => integration.id === id,\n );\n if (runtimePreset) return { ...runtimePreset };\n\n if (id === \"granola\") {\n return {\n id: \"granola\",\n name: \"Granola\",\n provider: \"granola\",\n description: \"Search meeting notes, transcripts, and action items.\",\n descriptionKey: \"mcpIntegrations.catalog.granola.description\",\n useCase:\n \"meeting notes, recordings, transcripts, action items, follow-ups\",\n useCaseKey: \"mcpIntegrations.catalog.granola.useCase\",\n url: \"https://mcp.granola.ai/mcp\",\n authMode: \"oauth\",\n connectionMode: \"oauth\",\n availability: \"ready\",\n verification: \"preflight-only\",\n logoUrl: \"\",\n docsUrl: \"https://docs.granola.ai/help-center/sharing/integrations/mcp\",\n setupNoteKey: \"mcpIntegrations.catalog.granola.setupNote\",\n keywords: [\n \"meetings\",\n \"meeting notes\",\n \"recordings\",\n \"transcripts\",\n \"action items\",\n \"follow-ups\",\n \"decisions\",\n ],\n };\n }\n\n throw new Error(`MCP preset ${id} is missing from the runtime catalog.`);\n}\n\nexport const DEFAULT_MCP_INTEGRATIONS: DefaultMcpIntegration[] = [\n preset(\"context7\"),\n preset(\"sentry\"),\n preset(\"notion\"),\n preset(\"granola\"),\n preset(\"semgrep\"),\n preset(\"linear\"),\n preset(\"atlassian\"),\n preset(\"supabase\"),\n preset(\"neon\"),\n preset(\"stripe\"),\n preset(\"cloudflare\"),\n preset(\"gitlab\"),\n preset(\"figma\"),\n preset(\"canva\"),\n preset(\"vercel\"),\n preset(\"github\"),\n preset(\"slack\"),\n preset(\"asana\"),\n preset(\"hubspot\"),\n preset(\"intercom\"),\n preset(\"monday\"),\n preset(\"webflow\"),\n preset(\"paypal\"),\n preset(\"box\"),\n preset(\"netlify\"),\n preset(\"zapier\"),\n];\n\nexport const defaultMcpIntegrationOverrides = DEFAULT_MCP_INTEGRATIONS;\n\nexport function mergeDefaultMcpIntegrations(\n overrides: readonly DefaultMcpIntegration[] = [],\n): DefaultMcpIntegration[] {\n return mergeRuntimeDefaultMcpIntegrations([\n ...defaultMcpIntegrationOverrides,\n ...overrides,\n ]);\n}\n\nexport function getDefaultMcpIntegrations(\n config?: Parameters<typeof getRuntimeDefaultMcpIntegrations>[0],\n overrides: readonly DefaultMcpIntegration[] = [],\n): DefaultMcpIntegration[] {\n return getRuntimeDefaultMcpIntegrations(config, [\n ...defaultMcpIntegrationOverrides,\n ...overrides,\n ]);\n}\n\nexport function isMcpIntegrationCatalogAvailable(\n config?: Parameters<typeof getRuntimeDefaultMcpIntegrations>[0],\n): boolean {\n return (\n isCustomMcpIntegrationEnabled(config) ||\n getDefaultMcpIntegrations(config).length > 0\n );\n}\n\nexport function filterMcpIntegrations(\n query: string,\n integrations: DefaultMcpIntegration[] = getDefaultMcpIntegrations(),\n): DefaultMcpIntegration[] {\n return filterRuntimeMcpIntegrations(query, integrations);\n}\n\nexport function findMcpIntegrationForText(\n text: string,\n integrations: DefaultMcpIntegration[] = getDefaultMcpIntegrations(),\n): DefaultMcpIntegration | null {\n return findRuntimeMcpIntegrationForText(text, integrations);\n}\n\nfunction withUiIntegrations(\n integrations: readonly DefaultMcpIntegration[] = [],\n): DefaultMcpIntegration[] {\n return getDefaultMcpIntegrations(undefined, integrations);\n}\n\nexport function McpIntegrationDialog(\n props: McpIntegrationDialogProps,\n): ReactElement {\n return createElement(RuntimeMcpIntegrationDialog, {\n ...props,\n integrations: withUiIntegrations(props.integrations),\n });\n}\n\nexport function McpConnectionSuggestion(\n props: McpConnectionSuggestionProps,\n): ReactElement {\n return createElement(RuntimeMcpConnectionSuggestion, {\n ...props,\n integrations: withUiIntegrations(props.integrations),\n });\n}\n\ntype EjectedResourcesPanelProps = ResourcesPanelProps & {\n mcpIntegrations?: DefaultMcpIntegration[];\n};\n\nexport function ResourcesPanel(\n props: EjectedResourcesPanelProps = {},\n): ReactElement {\n const Component =\n RuntimeResourcesPanel as ComponentType<EjectedResourcesPanelProps>;\n return createElement(Component, {\n ...props,\n mcpIntegrations: withUiIntegrations(props.mcpIntegrations),\n });\n}\n"]}
@@ -3,7 +3,7 @@ export { agentChat } from "./shared/index.js";
3
3
  export { parseArgs, camelCaseArgs } from "./scripts/parse-args.js";
4
4
  export { defineAction, AgentActionStopError, isAgentActionStopError, type ActionHttpConfig, type AgentActionStopOptions, MCP_APP_EXTENSION_ID, MCP_APP_MIME_TYPE, MCP_APP_RESOURCE_URI_META_KEY, type ActionMcpAppConfig, type ActionMcpAppCsp, type ActionMcpAppCspBuilder, type ActionMcpAppHtmlBuilder, type ActionMcpAppPermissions, type ActionMcpAppResourceConfig, type ActionMcpAppResourceMeta, } from "./action.js";
5
5
  export { normalizeUserProfileName, USER_PROFILE_SETTING_KEY, type UserProfile, } from "./user-profile/index.js";
6
- export { ACTION_CHAT_UI_DATA_CHART_RENDERER, ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER, ACTION_CHAT_UI_DATA_TABLE_RENDERER, ACTION_CHAT_UI_DATA_WIDGET_RENDERER, ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER, type ActionChatUIConfig, } from "./action-ui.js";
6
+ export { ACTION_CHAT_UI_DATA_CHART_RENDERER, ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER, ACTION_CHAT_UI_DATA_TABLE_RENDERER, ACTION_CHAT_UI_DATA_WIDGET_RENDERER, ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER, ACTION_CHAT_UI_WORKSPACE_FILE_RENDERER, type ActionChatUIConfig, } from "./action-ui.js";
7
7
  export { DATA_CHART_WIDGET, DATA_INSIGHTS_WIDGET, DATA_TABLE_WIDGET, createDataChartWidgetResult, createDataInsightsWidgetResult, createDataTableWidgetResult, dataChartWidgetResultSchema, dataChartWidgetSchema, dataInsightsWidgetResultSchema, dataTableWidgetResultSchema, dataTableWidgetSchema, dataWidgetResultSchema, isDataChartWidget, isDataTableWidget, isDataWidgetResult, normalizeDataWidgetKind, normalizeDataWidgetResult, type DataChartSeriesDefinition, type DataChartWidget, type DataChartWidgetResult, type DataChartWidgetResultInput, type DataInsightsWidgetResult, type DataInsightsWidgetResultInput, type DataTableColumn, type DataTableWidget, type DataTableWidgetResult, type DataTableWidgetResultInput, type DataWidgetDisplay, type DataWidgetKind, type DataWidgetResult, type DataWidgetResultMetadata, } from "./data-widgets/index.js";
8
8
  export { embedApp, MCP_APP_REQUEST_ORIGIN_CSP_SOURCE, type EmbedAppOptions, } from "./mcp/embed-app.js";
9
9
  export { embedRoute, type EmbedRouteContext, type EmbedRouteOptions, type EmbedRoutePathBuilder, type EmbedRouteResult, } from "./mcp/embed-route.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.browser.d.ts","sourceRoot":"","sources":["../src/index.browser.ts"],"names":[],"mappings":"A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GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,UAAU,EACV,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.browser.d.ts","sourceRoot":"","sources":["../src/index.browser.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,qBAAqB,EACrB,+BAA+B,EAC/B,qBAAqB,EACrB,oCAAoC,EACpC,oBAAoB,EACpB,uBAAuB,EACvB,0BAA0B,EAC1B,eAAe,EACf,yBAAyB,EACzB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,sBAAsB,EACtB,UAAU,EACV,kBAAkB,EAClB,uCAAuC,EACvC,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,yBAAyB,EACzB,+BAA+B,EAC/B,2BAA2B,EAC3B,2BAA2B,EAC3B,aAAa,EACb,SAAS,EACT,IAAI,EACJ,cAAc,EACd,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,UAAU,EACV,EAAE,EACF,cAAc,EACd,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,gCAAgC,EACrC,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,WAAW,EAChB,KAAK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BAA6B,EAClC,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,GAC9B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,QAAQ,EACR,iCAAiC,EACjC,KAAK,eAAe,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,UAAU,EACV,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB,MAAM,sBAAsB,CAAC"}
@@ -8,7 +8,7 @@ export { parseArgs, camelCaseArgs } from "./scripts/parse-args.js";
8
8
  // defineAction — used by template actions, no Node.js deps
9
9
  export { defineAction, AgentActionStopError, isAgentActionStopError, MCP_APP_EXTENSION_ID, MCP_APP_MIME_TYPE, MCP_APP_RESOURCE_URI_META_KEY, } from "./action.js";
10
10
  export { normalizeUserProfileName, USER_PROFILE_SETTING_KEY, } from "./user-profile/index.js";
11
- export { ACTION_CHAT_UI_DATA_CHART_RENDERER, ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER, ACTION_CHAT_UI_DATA_TABLE_RENDERER, ACTION_CHAT_UI_DATA_WIDGET_RENDERER, ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER, } from "./action-ui.js";
11
+ export { ACTION_CHAT_UI_DATA_CHART_RENDERER, ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER, ACTION_CHAT_UI_DATA_TABLE_RENDERER, ACTION_CHAT_UI_DATA_WIDGET_RENDERER, ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER, ACTION_CHAT_UI_WORKSPACE_FILE_RENDERER, } from "./action-ui.js";
12
12
  export { DATA_CHART_WIDGET, DATA_INSIGHTS_WIDGET, DATA_TABLE_WIDGET, createDataChartWidgetResult, createDataInsightsWidgetResult, createDataTableWidgetResult, dataChartWidgetResultSchema, dataChartWidgetSchema, dataInsightsWidgetResultSchema, dataTableWidgetResultSchema, dataTableWidgetSchema, dataWidgetResultSchema, isDataChartWidget, isDataTableWidget, isDataWidgetResult, normalizeDataWidgetKind, normalizeDataWidgetResult, } from "./data-widgets/index.js";
13
13
  export { embedApp, MCP_APP_REQUEST_ORIGIN_CSP_SOURCE, } from "./mcp/embed-app.js";
14
14
  export { embedRoute, } from "./mcp/embed-route.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.browser.js","sourceRoot":"","sources":["../src/index.browser.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAEhF,SAAS;AACT,OAAO,EACL,qBAAqB,EACrB,+BAA+B,EAC/B,qBAAqB,EACrB,oCAAoC,EACpC,oBAAoB,EACpB,uBAAuB,EACvB,0BAA0B,EAC1B,eAAe,EACf,yBAAyB,EACzB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,sBAAsB,EACtB,UAAU,EACV,kBAAkB,EAClB,uCAAuC,EACvC,oBAAoB,EACpB,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,yBAAyB,EACzB,+BAA+B,EAC/B,2BAA2B,EAC3B,2BAA2B,EAC3B,aAAa,EACb,SAAS,EACT,IAAI,EACJ,cAAc,EACd,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,UAAU,EACV,EAAE,EACF,cAAc,GA2Bf,MAAM,mBAAmB,CAAC;AAE3B,sBAAsB;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,8DAA8D;AAC9D,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAEnE,2DAA2D;AAC3D,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,sBAAsB,EAGtB,oBAAoB,EACpB,iBAAiB,EACjB,6BAA6B,GAQ9B,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,wBAAwB,EACxB,wBAAwB,GAEzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,kCAAkC,EAClC,qCAAqC,EACrC,kCAAkC,EAClC,mCAAmC,EACnC,wCAAwC,GAEzC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,2BAA2B,EAC3B,8BAA8B,EAC9B,2BAA2B,EAC3B,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,yBAAyB,GAe1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,QAAQ,EACR,iCAAiC,GAElC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,UAAU,GAKX,MAAM,sBAAsB,CAAC","sourcesContent":["// Browser-safe entry — only client & shared exports (no Node/Express/chokidar).\n\n// Client\nexport {\n addContextToAgentChat,\n appendAgentChatContextToMessage,\n clearAgentChatContext,\n formatAgentChatContextItemsForPrompt,\n listAgentChatContext,\n refreshAgentChatContext,\n removeAgentChatContextItem,\n sendToAgentChat,\n sendToAgentChatAndConfirm,\n setAgentChatContextItem,\n setContextToAgentChat,\n isEmbedMcpChatBridgeActive,\n useAgentChatContext,\n useAgentChatGenerating,\n useDevMode,\n useSendToAgentChat,\n AGENT_NATIVE_MCP_APP_HOST_MESSAGE_TYPES,\n getMcpAppHostContext,\n openMcpAppHostLink,\n requestMcpAppDisplayMode,\n sendMcpAppHostMessage,\n updateMcpAppModelContext,\n useMcpAppHostContext,\n CodeRequiredDialog,\n AgentNativeI18nProvider,\n LanguagePicker,\n getLocaleInitScript,\n localeDirection,\n normalizeLocaleCode,\n normalizeLocalePreference,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n useFormatters,\n useLocale,\n useT,\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n useDbSync,\n useFileWatcher,\n useSession,\n cn,\n ApiKeySettings,\n type AgentChatContextItem,\n type AgentChatContextMessage,\n type AgentChatContextMutationOptions,\n type AgentChatContextRemoveOptions,\n type AgentChatContextSetOptions,\n type AgentChatContextState,\n type AgentChatMessage,\n type AgentNativeMcpAppHostMessageType,\n type McpAppDisplayMode,\n type McpAppHostChatMessage,\n type McpAppHostCapabilities,\n type McpAppHostContext,\n type McpAppHostContextSnapshot,\n type McpAppModelContextContentPart,\n type McpAppModelContextUpdate,\n type CodeRequiredDialogProps,\n type AuthSession,\n type UseAgentChatContextResult,\n type AgentNativeI18nCatalog,\n type AgentNativeI18nProviderProps,\n type LocaleCode,\n type LocaleHydrationPayload,\n type LocaleMessages,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"./client/index.js\";\n\n// Shared (isomorphic)\nexport { agentChat } from \"./shared/index.js\";\n\n// Pure utilities (no Node.js deps — safe for browser and SSR)\nexport { parseArgs, camelCaseArgs } from \"./scripts/parse-args.js\";\n\n// defineAction — used by template actions, no Node.js deps\nexport {\n defineAction,\n AgentActionStopError,\n isAgentActionStopError,\n type ActionHttpConfig,\n type AgentActionStopOptions,\n MCP_APP_EXTENSION_ID,\n MCP_APP_MIME_TYPE,\n MCP_APP_RESOURCE_URI_META_KEY,\n type ActionMcpAppConfig,\n type ActionMcpAppCsp,\n type ActionMcpAppCspBuilder,\n type ActionMcpAppHtmlBuilder,\n type ActionMcpAppPermissions,\n type ActionMcpAppResourceConfig,\n type ActionMcpAppResourceMeta,\n} from \"./action.js\";\nexport {\n normalizeUserProfileName,\n USER_PROFILE_SETTING_KEY,\n type UserProfile,\n} from \"./user-profile/index.js\";\nexport {\n ACTION_CHAT_UI_DATA_CHART_RENDERER,\n ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER,\n ACTION_CHAT_UI_DATA_TABLE_RENDERER,\n ACTION_CHAT_UI_DATA_WIDGET_RENDERER,\n ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER,\n type ActionChatUIConfig,\n} from \"./action-ui.js\";\nexport {\n DATA_CHART_WIDGET,\n DATA_INSIGHTS_WIDGET,\n DATA_TABLE_WIDGET,\n createDataChartWidgetResult,\n createDataInsightsWidgetResult,\n createDataTableWidgetResult,\n dataChartWidgetResultSchema,\n dataChartWidgetSchema,\n dataInsightsWidgetResultSchema,\n dataTableWidgetResultSchema,\n dataTableWidgetSchema,\n dataWidgetResultSchema,\n isDataChartWidget,\n isDataTableWidget,\n isDataWidgetResult,\n normalizeDataWidgetKind,\n normalizeDataWidgetResult,\n type DataChartSeriesDefinition,\n type DataChartWidget,\n type DataChartWidgetResult,\n type DataChartWidgetResultInput,\n type DataInsightsWidgetResult,\n type DataInsightsWidgetResultInput,\n type DataTableColumn,\n type DataTableWidget,\n type DataTableWidgetResult,\n type DataTableWidgetResultInput,\n type DataWidgetDisplay,\n type DataWidgetKind,\n type DataWidgetResult,\n type DataWidgetResultMetadata,\n} from \"./data-widgets/index.js\";\nexport {\n embedApp,\n MCP_APP_REQUEST_ORIGIN_CSP_SOURCE,\n type EmbedAppOptions,\n} from \"./mcp/embed-app.js\";\nexport {\n embedRoute,\n type EmbedRouteContext,\n type EmbedRouteOptions,\n type EmbedRoutePathBuilder,\n type EmbedRouteResult,\n} from \"./mcp/embed-route.js\";\n"]}
1
+ {"version":3,"file":"index.browser.js","sourceRoot":"","sources":["../src/index.browser.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAEhF,SAAS;AACT,OAAO,EACL,qBAAqB,EACrB,+BAA+B,EAC/B,qBAAqB,EACrB,oCAAoC,EACpC,oBAAoB,EACpB,uBAAuB,EACvB,0BAA0B,EAC1B,eAAe,EAC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EACjB,kBAAkB,EAClB,uBAAuB,EACvB,yBAAyB,GAe1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,QAAQ,EACR,iCAAiC,GAElC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,UAAU,GAKX,MAAM,sBAAsB,CAAC","sourcesContent":["// Browser-safe entry — only client & shared exports (no Node/Express/chokidar).\n\n// Client\nexport {\n addContextToAgentChat,\n appendAgentChatContextToMessage,\n clearAgentChatContext,\n formatAgentChatContextItemsForPrompt,\n listAgentChatContext,\n refreshAgentChatContext,\n removeAgentChatContextItem,\n sendToAgentChat,\n sendToAgentChatAndConfirm,\n setAgentChatContextItem,\n setContextToAgentChat,\n isEmbedMcpChatBridgeActive,\n useAgentChatContext,\n useAgentChatGenerating,\n useDevMode,\n useSendToAgentChat,\n AGENT_NATIVE_MCP_APP_HOST_MESSAGE_TYPES,\n getMcpAppHostContext,\n openMcpAppHostLink,\n requestMcpAppDisplayMode,\n sendMcpAppHostMessage,\n updateMcpAppModelContext,\n useMcpAppHostContext,\n CodeRequiredDialog,\n AgentNativeI18nProvider,\n LanguagePicker,\n getLocaleInitScript,\n localeDirection,\n normalizeLocaleCode,\n normalizeLocalePreference,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n useFormatters,\n useLocale,\n useT,\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n useDbSync,\n useFileWatcher,\n useSession,\n cn,\n ApiKeySettings,\n type AgentChatContextItem,\n type AgentChatContextMessage,\n type AgentChatContextMutationOptions,\n type AgentChatContextRemoveOptions,\n type AgentChatContextSetOptions,\n type AgentChatContextState,\n type AgentChatMessage,\n type AgentNativeMcpAppHostMessageType,\n type McpAppDisplayMode,\n type McpAppHostChatMessage,\n type McpAppHostCapabilities,\n type McpAppHostContext,\n type McpAppHostContextSnapshot,\n type McpAppModelContextContentPart,\n type McpAppModelContextUpdate,\n type CodeRequiredDialogProps,\n type AuthSession,\n type UseAgentChatContextResult,\n type AgentNativeI18nCatalog,\n type AgentNativeI18nProviderProps,\n type LocaleCode,\n type LocaleHydrationPayload,\n type LocaleMessages,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"./client/index.js\";\n\n// Shared (isomorphic)\nexport { agentChat } from \"./shared/index.js\";\n\n// Pure utilities (no Node.js deps — safe for browser and SSR)\nexport { parseArgs, camelCaseArgs } from \"./scripts/parse-args.js\";\n\n// defineAction — used by template actions, no Node.js deps\nexport {\n defineAction,\n AgentActionStopError,\n isAgentActionStopError,\n type ActionHttpConfig,\n type AgentActionStopOptions,\n MCP_APP_EXTENSION_ID,\n MCP_APP_MIME_TYPE,\n MCP_APP_RESOURCE_URI_META_KEY,\n type ActionMcpAppConfig,\n type ActionMcpAppCsp,\n type ActionMcpAppCspBuilder,\n type ActionMcpAppHtmlBuilder,\n type ActionMcpAppPermissions,\n type ActionMcpAppResourceConfig,\n type ActionMcpAppResourceMeta,\n} from \"./action.js\";\nexport {\n normalizeUserProfileName,\n USER_PROFILE_SETTING_KEY,\n type UserProfile,\n} from \"./user-profile/index.js\";\nexport {\n ACTION_CHAT_UI_DATA_CHART_RENDERER,\n ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER,\n ACTION_CHAT_UI_DATA_TABLE_RENDERER,\n ACTION_CHAT_UI_DATA_WIDGET_RENDERER,\n ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER,\n ACTION_CHAT_UI_WORKSPACE_FILE_RENDERER,\n type ActionChatUIConfig,\n} from \"./action-ui.js\";\nexport {\n DATA_CHART_WIDGET,\n DATA_INSIGHTS_WIDGET,\n DATA_TABLE_WIDGET,\n createDataChartWidgetResult,\n createDataInsightsWidgetResult,\n createDataTableWidgetResult,\n dataChartWidgetResultSchema,\n dataChartWidgetSchema,\n dataInsightsWidgetResultSchema,\n dataTableWidgetResultSchema,\n dataTableWidgetSchema,\n dataWidgetResultSchema,\n isDataChartWidget,\n isDataTableWidget,\n isDataWidgetResult,\n normalizeDataWidgetKind,\n normalizeDataWidgetResult,\n type DataChartSeriesDefinition,\n type DataChartWidget,\n type DataChartWidgetResult,\n type DataChartWidgetResultInput,\n type DataInsightsWidgetResult,\n type DataInsightsWidgetResultInput,\n type DataTableColumn,\n type DataTableWidget,\n type DataTableWidgetResult,\n type DataTableWidgetResultInput,\n type DataWidgetDisplay,\n type DataWidgetKind,\n type DataWidgetResult,\n type DataWidgetResultMetadata,\n} from \"./data-widgets/index.js\";\nexport {\n embedApp,\n MCP_APP_REQUEST_ORIGIN_CSP_SOURCE,\n type EmbedAppOptions,\n} from \"./mcp/embed-app.js\";\nexport {\n embedRoute,\n type EmbedRouteContext,\n type EmbedRouteOptions,\n type EmbedRoutePathBuilder,\n type EmbedRouteResult,\n} from \"./mcp/embed-route.js\";\n"]}
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { defineAction, AgentActionStopError, isAgentActionStopError, type Action
3
3
  export * from "./user-profile/index.js";
4
4
  export { embedApp, MCP_APP_REQUEST_ORIGIN_CSP_SOURCE, type EmbedAppOptions, } from "./mcp/embed-app.js";
5
5
  export { embedRoute, type EmbedRouteContext, type EmbedRouteOptions, type EmbedRoutePathBuilder, type EmbedRouteResult, } from "./mcp/embed-route.js";
6
- export { ACTION_CHAT_UI_DATA_CHART_RENDERER, ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER, ACTION_CHAT_UI_DATA_TABLE_RENDERER, ACTION_CHAT_UI_DATA_WIDGET_RENDERER, ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER, type ActionChatUIConfig, } from "./action-ui.js";
6
+ export { ACTION_CHAT_UI_DATA_CHART_RENDERER, ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER, ACTION_CHAT_UI_DATA_TABLE_RENDERER, ACTION_CHAT_UI_DATA_WIDGET_RENDERER, ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER, ACTION_CHAT_UI_WORKSPACE_FILE_RENDERER, type ActionChatUIConfig, } from "./action-ui.js";
7
7
  export { DATA_CHART_WIDGET, DATA_INSIGHTS_WIDGET, DATA_TABLE_WIDGET, createDataChartWidgetResult, createDataInsightsWidgetResult, createDataTableWidgetResult, dataChartWidgetResultSchema, dataChartWidgetSchema, dataInsightsWidgetResultSchema, dataTableWidgetResultSchema, dataTableWidgetSchema, dataWidgetResultSchema, isDataChartWidget, isDataTableWidget, isDataWidgetResult, normalizeDataWidgetKind, normalizeDataWidgetResult, type DataChartSeriesDefinition, type DataChartWidget, type DataChartWidgetResult, type DataChartWidgetResultInput, type DataInsightsWidgetResult, type DataInsightsWidgetResultInput, type DataTableColumn, type DataTableWidget, type DataTableWidgetResult, type DataTableWidgetResultInput, type DataWidgetDisplay, type DataWidgetKind, type DataWidgetResult, type DataWidgetResultMetadata, } from "./data-widgets/index.js";
8
8
  export { createDevScriptRegistry } from "./scripts/dev/index.js";
9
9
  export { createAgentChatPlugin, defaultAgentChatPlugin, type AgentChatPluginOptions, } from "./server/agent-chat-plugin.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,4BAA4B,EAC5B,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,aAAa,EAEb,QAAQ,EACR,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,oB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iB,EACjB,aAAa,EACb,cAAc,EACd,eAAe,EACf,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,SAAS,GACf,MAAM,oBAAoB,CAAC;AAE5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,OAAO,EACL,yCAAyC,EACzC,KAAK,gDAAgD,GACtD,MAAM,8BAA8B,CAAC"}
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ export { defineAction, AgentActionStopError, isAgentActionStopError, MCP_APP_EXT
8
8
  export * from "./user-profile/index.js";
9
9
  export { embedApp, MCP_APP_REQUEST_ORIGIN_CSP_SOURCE, } from "./mcp/embed-app.js";
10
10
  export { embedRoute, } from "./mcp/embed-route.js";
11
- export { ACTION_CHAT_UI_DATA_CHART_RENDERER, ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER, ACTION_CHAT_UI_DATA_TABLE_RENDERER, ACTION_CHAT_UI_DATA_WIDGET_RENDERER, ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER, } from "./action-ui.js";
11
+ export { ACTION_CHAT_UI_DATA_CHART_RENDERER, ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER, ACTION_CHAT_UI_DATA_TABLE_RENDERER, ACTION_CHAT_UI_DATA_WIDGET_RENDERER, ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER, ACTION_CHAT_UI_WORKSPACE_FILE_RENDERER, } from "./action-ui.js";
12
12
  export { DATA_CHART_WIDGET, DATA_INSIGHTS_WIDGET, DATA_TABLE_WIDGET, createDataChartWidgetResult, createDataInsightsWidgetResult, createDataTableWidgetResult, dataChartWidgetResultSchema, dataChartWidgetSchema, dataInsightsWidgetResultSchema, dataTableWidgetResultSchema, dataTableWidgetSchema, dataWidgetResultSchema, isDataChartWidget, isDataTableWidget, isDataWidgetResult, normalizeDataWidgetKind, normalizeDataWidgetResult, } from "./data-widgets/index.js";
13
13
  export { createDevScriptRegistry } from "./scripts/dev/index.js";
14
14
  export { createAgentChatPlugin, defaultAgentChatPlugin, } from "./server/agent-chat-plugin.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,+CAA+C;AAE/C,0BAA0B;AAC1B,OAAO,EACL,4BAA4B,EAU5B,aAAa;AACb,6DAA6D;AAC7D,QAAQ,GAIT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,sBAAsB,EAOtB,oBAAoB,EACpB,iBAAiB,EACjB,6BAA6B,GAQ9B,MAAM,aAAa,CAAC;AACrB,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,QAAQ,EACR,iCAAiC,GAElC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,UAAU,GAKX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,kCAAkC,EAClC,qCAAqC,EACrC,kCAAkC,EAClC,mCAAmC,EACnC,wCAAwC,GAEzC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,2BAA2B,EAC3B,8BAA8B,EAC9B,2BAA2B,EAC3B,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,yBAAyB,GAe1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GAEvB,MAAM,+BAA+B,CAAC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CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,OAAO,EACL,yCAAyC,GAE1C,MAAM,8BAA8B,CAAC","sourcesContent":["// Framework for agent-native apps.\n// Import everything from \"@agent-native/core\".\n\n// Agent (production mode)\nexport {\n createProductionAgentHandler,\n type ActionEntry,\n type ScriptEntry,\n type ProductionAgentOptions,\n type ActionTool,\n type ScriptTool,\n type AgentMessage,\n type AgentChatRequest,\n type AgentChatEvent,\n type AgentChatAttachment,\n DEFAULT_MODEL,\n // In-loop processors (observers/guardrails for runAgentLoop)\n TripWire,\n type Processor,\n type ProcessorState,\n type ProcessorAbort,\n} from \"./agent/index.js\";\nexport {\n defineAction,\n AgentActionStopError,\n isAgentActionStopError,\n type ActionDefinition,\n type ActionHttpConfig,\n type AgentActionStopOptions,\n type PublicAgentActionConfig,\n type ActionDeepLink,\n type ActionLinkBuilder,\n MCP_APP_EXTENSION_ID,\n MCP_APP_MIME_TYPE,\n MCP_APP_RESOURCE_URI_META_KEY,\n type ActionMcpAppConfig,\n type ActionMcpAppCsp,\n type ActionMcpAppCspBuilder,\n type ActionMcpAppHtmlBuilder,\n type ActionMcpAppPermissions,\n type ActionMcpAppResourceConfig,\n type ActionMcpAppResourceMeta,\n} from \"./action.js\";\nexport * from \"./user-profile/index.js\";\nexport {\n embedApp,\n MCP_APP_REQUEST_ORIGIN_CSP_SOURCE,\n type EmbedAppOptions,\n} from \"./mcp/embed-app.js\";\nexport {\n embedRoute,\n type EmbedRouteContext,\n type EmbedRouteOptions,\n type EmbedRoutePathBuilder,\n type EmbedRouteResult,\n} from \"./mcp/embed-route.js\";\nexport {\n ACTION_CHAT_UI_DATA_CHART_RENDERER,\n ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER,\n ACTION_CHAT_UI_DATA_TABLE_RENDERER,\n ACTION_CHAT_UI_DATA_WIDGET_RENDERER,\n ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER,\n type ActionChatUIConfig,\n} from \"./action-ui.js\";\nexport {\n DATA_CHART_WIDGET,\n DATA_INSIGHTS_WIDGET,\n DATA_TABLE_WIDGET,\n createDataChartWidgetResult,\n createDataInsightsWidgetResult,\n createDataTableWidgetResult,\n dataChartWidgetResultSchema,\n dataChartWidgetSchema,\n dataInsightsWidgetResultSchema,\n dataTableWidgetResultSchema,\n dataTableWidgetSchema,\n dataWidgetResultSchema,\n isDataChartWidget,\n isDataTableWidget,\n isDataWidgetResult,\n normalizeDataWidgetKind,\n normalizeDataWidgetResult,\n type DataChartSeriesDefinition,\n type DataChartWidget,\n type DataChartWidgetResult,\n type DataChartWidgetResultInput,\n type DataInsightsWidgetResult,\n type DataInsightsWidgetResultInput,\n type DataTableColumn,\n type DataTableWidget,\n type DataTableWidgetResult,\n type DataTableWidgetResultInput,\n type DataWidgetDisplay,\n type DataWidgetKind,\n type DataWidgetResult,\n type DataWidgetResultMetadata,\n} from \"./data-widgets/index.js\";\nexport { createDevScriptRegistry } from \"./scripts/dev/index.js\";\nexport {\n createAgentChatPlugin,\n defaultAgentChatPlugin,\n type AgentChatPluginOptions,\n} from \"./server/agent-chat-plugin.js\";\nexport {\n createAgentNativeEmbeddedPlugin,\n mountAgentNativeEmbedded,\n type AgentNativeEmbeddedPluginOptions,\n} from \"./server/embedded.js\";\nexport {\n BUILT_IN_INTEGRATION_CATALOG,\n INTEGRATION_CATEGORIES,\n getIntegrationCatalogEntry,\n listBuiltInChannelIntegrations,\n listIntegrationCatalog,\n type AutomationCapabilities,\n type BuiltInChannelId,\n type ChannelCapabilities,\n type IntegrationAvailability,\n type IntegrationCatalogEntry,\n type IntegrationCategory,\n type IntegrationCredentialRequirement,\n type IntegrationIconKey,\n type IntegrationSupportMaturity,\n} from \"./integrations/catalog.js\";\nexport {\n AutomationConnectorError,\n createAutomationCallbackHandler,\n createAutomationRuntime,\n createInvokeAutomationWorkflowAction,\n type AutomationCallbackAuthentication,\n type AutomationCallbackInput,\n type AutomationCallbackResult,\n type AutomationInboundDefinition,\n type AutomationInvocation,\n type AutomationInvocationResult,\n type AutomationInvocationStatus,\n type AutomationOutboundDefinition,\n type AutomationResponseMode,\n type AutomationRetryPolicy,\n type AutomationRuntime,\n type AutomationRuntimeOptions,\n type AutomationWorkflowCapabilities,\n type AutomationWorkflowDefinition,\n type JsonSchema,\n} from \"./automation/index.js\";\nexport {\n createFeatureFlagsPlugin,\n defineFeatureFlag,\n defineFeatureFlags,\n evaluateFeatureFlag,\n getFeatureFlagDefinition,\n getFeatureFlagRules,\n isFeatureFlagEnabled,\n listFeatureFlags,\n registerFeatureFlags,\n type FeatureFlagDefinition,\n type FeatureFlagMode,\n type FeatureFlagRules,\n type FeatureFlagScope,\n} from \"./feature-flags/index.js\";\n\n// Server\nexport {\n createServer,\n createSSEHandler,\n defineNitroPlugin,\n autoMountAuth,\n getSession,\n type CreateServerOptions,\n type SSEHandlerOptions,\n type AuthSession,\n type AuthOptions,\n} from \"./server/index.js\";\n\n// Client\n//\n// IMPORTANT: this top-level entry (the package `default`/Node condition) must\n// stay server-safe. It is what `import { defineAction } from \"@agent-native/core\"`\n// resolves to in a headless / Node / SSR context, where React, react-router, and\n// @tanstack/react-query are NOT installed. The React client surface therefore\n// lives behind the `@agent-native/core/client` subpath instead of being\n// re-exported here — re-exporting \"./client/index.js\" from this module would\n// eagerly pull route-state.ts → \"@tanstack/react-query\" into the load graph and\n// crash any headless app at module load.\n//\n// Browser bundlers resolve \"@agent-native/core\" to the `browser` condition\n// (./index.browser.ts), which re-exports the client surface, so UI code that\n// imports client helpers from the bare specifier keeps working in the browser.\n// Code that runs through the Node entry (SSR, scripts, headless) must import\n// client helpers explicitly:\n//\n// import { useDbSync, cn } from \"@agent-native/core/client\";\n\n// Shared (isomorphic)\nexport {\n agentChat,\n type AgentChatCallOptions,\n type AgentChatResponse,\n} from \"./shared/index.js\";\nexport {\n EMBED_MODE_QUERY_PARAM,\n EMBED_SESSION_COOKIE,\n EMBED_START_PATH,\n EMBED_TOKEN_QUERY_PARAM,\n} from \"./shared/embed-auth.js\";\n\n// Agent Web surfaces\nexport {\n AGENT_WEB_CRAWLER_CATEGORIES,\n AGENT_WEB_CRAWLER_USER_AGENTS,\n DEFAULT_AGENT_WEB_CRAWLER_POLICY,\n absoluteUrl,\n agentWebConfigFromPackageJson,\n buildAgentWebStaticFiles,\n buildBaseJsonLd,\n buildLlmsFullTxt,\n buildLlmsTxt,\n buildMarkdownResponseHeaders,\n buildPageJsonLd,\n buildRobotsTxt,\n buildSitemapXml,\n deriveAgentWebPublicRoutes,\n estimateMarkdownTokens,\n markdownFilePathForPage,\n markdownUrlForPage,\n normalizeAgentWebConfig,\n pathPatternMatches,\n resolveAgentWebCrawlerPolicy,\n type AgentWebConfig,\n type AgentWebCrawlerCategory,\n type AgentWebCrawlerDecision,\n type AgentWebCrawlerOverrides,\n type AgentWebCrawlerPolicy,\n type AgentWebInputConfig,\n type AgentWebPage,\n type AgentWebStaticFile,\n type BuildAgentWebStaticFilesOptions,\n type DeriveAgentWebPublicRoutesOptions,\n type MarkdownResponseHeadersOptions,\n} from \"./agent-web/index.js\";\n\n// Token usage tracking\nexport {\n recordUsage,\n getUsageSummary,\n getUserUsageCents,\n calculateCost,\n usageBillingForEngine,\n builderCreditsFromCostCents,\n BUILDER_AGENT_CREDIT_MARGIN_MULTIPLIER,\n BUILDER_AGENT_CREDITS_PER_USD,\n BUILDER_CREDIT_USAGE_BILLING,\n USD_USAGE_BILLING,\n type UsageRecord,\n type UsageCostSource,\n type UsageCostAggregate,\n type UsageSummary,\n type UsageBillingMode,\n type UsageBillingUnit,\n type UsageBucket,\n type DailyBucket,\n type UsageRecentEntry,\n} from \"./usage/store.js\";\n\n// Workspace-scoped third-party connection metadata\nexport {\n deleteWorkspaceConnection,\n getWorkspaceConnectionAppAccess,\n getWorkspaceConnection,\n getWorkspaceConnectionGrant,\n listWorkspaceConnectionProviderCatalogForApp,\n listWorkspaceConnectionGrants,\n listWorkspaceConnections,\n resolveWorkspaceConnectionCredentialForApp,\n resolveWorkspaceConnectionCredentialsForApp,\n revokeWorkspaceConnectionGrant,\n serializeWorkspaceConnectionGrant,\n serializeWorkspaceConnection,\n summarizeWorkspaceConnectionProviderForApp,\n summarizeWorkspaceConnectionProviderReadiness,\n upsertWorkspaceConnectionGrant,\n upsertWorkspaceConnection,\n type ListWorkspaceConnectionProviderCatalogForAppOptions,\n type ListWorkspaceConnectionGrantsOptions,\n type ListWorkspaceConnectionsOptions,\n type ResolveWorkspaceConnectionCredentialForAppOptions,\n type ResolveWorkspaceConnectionCredentialsForAppOptions,\n type SerializedWorkspaceConnectionGrant,\n type SerializedWorkspaceConnection,\n type SummarizeWorkspaceConnectionProviderForAppOptions,\n type SummarizeWorkspaceConnectionProviderReadinessOptions,\n type UpsertWorkspaceConnectionGrantInput,\n type UpsertWorkspaceConnectionInput,\n type WorkspaceConnectionAppAccess,\n type WorkspaceConnectionAppAccessMode,\n type WorkspaceConnection,\n type WorkspaceConnectionCredentialBackend,\n type WorkspaceConnectionCredentialProvenance,\n type WorkspaceConnectionCredentialRef,\n type WorkspaceConnectionCredentialResolution,\n type WorkspaceConnectionCredentialResolutionCheck,\n type WorkspaceConnectionCredentialResolutionStatus,\n type WorkspaceConnectionCredentialsResolution,\n type WorkspaceConnectionExplicitGrantSummary,\n type WorkspaceConnectionForAppSummary,\n type WorkspaceConnectionGrant,\n type WorkspaceConnectionGrantAvailability,\n type WorkspaceConnectionGrantState,\n type WorkspaceConnectionProviderAppSummary,\n type WorkspaceConnectionProviderLike,\n type WorkspaceConnectionProviderCatalogForApp,\n type WorkspaceConnectionProviderCatalogForAppItem,\n type WorkspaceConnectionProviderReadiness,\n type WorkspaceConnectionProviderReadinessStatus,\n type WorkspaceConnectionPublicCredentialRef,\n type WorkspaceConnectionStatus,\n workspaceConnectionIsAvailableToApp,\n registerWorkspaceConnectionLifecycleListener,\n type WorkspaceConnectionLifecycleEvent,\n type WorkspaceConnectionLifecycleListener,\n} from \"./workspace-connections/index.js\";\n\n// Reusable workspace connection provider catalog\nexport {\n PROVIDER_READERS,\n ProviderReaderRuntimeError,\n WORKSPACE_CONNECTION_PROVIDERS,\n createProviderReaderRuntime,\n defineProviderReader,\n defineProviderReaderImplementation,\n defineWorkspaceConnectionProvider,\n getProviderReader,\n getWorkspaceConnectionProvider,\n isWorkspaceConnectionProviderId,\n listProviderReaders,\n listWorkspaceConnectionProviders,\n listWorkspaceConnectionProvidersForCapability,\n listWorkspaceConnectionProvidersForTemplate,\n mergeWorkspaceConnectionProviders,\n providerReaderSupports,\n workspaceConnectionProviderSupports,\n type ListWorkspaceConnectionProvidersOptions,\n type ListProviderReadersOptions,\n type ProviderReaderCapability,\n type ProviderReaderCredentialRequirement,\n type ProviderReaderDefinition,\n type ProviderReaderImplementationStatus,\n type ProviderReaderOperation,\n type ProviderReaderOperationDescriptor,\n type ProviderReaderOperationParameter,\n type ProviderReaderRequest,\n type ProviderReaderRuntime,\n type ProviderReaderRuntimeConnection,\n type ProviderReaderRuntimeConnectionResolverOptions,\n type ProviderReaderRuntimeContext,\n type ProviderReaderRuntimeCredentialsResolverOptions,\n type ProviderReaderRuntimeErrorCode,\n type ProviderReaderRuntimeHandler,\n type ProviderReaderRuntimeImplementation,\n type ProviderReaderRuntimeItem,\n type ProviderReaderRuntimeOptions,\n type ProviderReaderRuntimeResponse,\n type WorkspaceConnectionCapability,\n type WorkspaceConnectionCredentialKey,\n type WorkspaceConnectionProvider,\n type WorkspaceConnectionProviderId,\n type WorkspaceConnectionTemplateUse,\n} from \"./connections/index.js\";\n\n// Scripts\nexport {\n runScript,\n loadEnv,\n parseArgs,\n camelCaseArgs,\n isValidPath,\n isValidProjectPath,\n ensureDir,\n fail,\n} from \"./scripts/index.js\";\n\n// Secrets registry — import from \"@agent-native/core/secrets\" when possible\n// (the subpath keeps the top-level entry point lean), but re-export the\n// public API here for convenience.\nexport {\n registerRequiredSecret,\n listRequiredSecrets,\n getRequiredSecret,\n readAppSecret,\n writeAppSecret,\n deleteAppSecret,\n type RegisteredSecret,\n type SecretScope,\n type SecretKind,\n type SecretValidator,\n type SecretRef,\n} from \"./secrets/index.js\";\n\nexport * from \"./history/index.js\";\nexport * from \"./review/index.js\";\nexport * from \"./org-team/index.js\";\nexport * from \"./navigation/index.js\";\nexport * from \"./command-navigation/index.js\";\nexport * from \"./search/index.js\";\nexport * from \"./embeddings/index.js\";\nexport {\n registerWorkspaceConnectionOnboardingStep,\n type RegisterWorkspaceConnectionOnboardingStepOptions,\n} from \"./setup-connections/index.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,+CAA+C;AAE/C,0BAA0B;AAC1B,OAAO,EACL,4BAA4B,EAU5B,aAAa;AACb,6DAA6D;AAC7D,QAAQ,GAIT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,sBAAsB,EAOtB,oBAAoB,EACpB,iBAAiB,EACjB,6BAA6B,GAQ9B,MAAM,aAAa,CAAC;AACrB,cAAc,yBAAyB,CAAC;AACxC,OAAO,EACL,QAAQ,EACR,iCAAiC,GAElC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,UAAU,GAKX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,kCAAkC,EAClC,qCAAqC,EACrC,kCAAkC,EAClC,mCAAmC,EACnC,wCAAwC,EACxC,sCAAsC,GAEvC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,2BAA2B,EAC3B,8BAA8B,EAC9B,2BAA2B,EAC3B,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAi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oB,CAAC;AAE5B,4EAA4E;AAC5E,wEAAwE;AACxE,mCAAmC;AACnC,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,eAAe,GAMhB,MAAM,oBAAoB,CAAC;AAE5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,OAAO,EACL,yCAAyC,GAE1C,MAAM,8BAA8B,CAAC","sourcesContent":["// Framework for agent-native apps.\n// Import everything from \"@agent-native/core\".\n\n// Agent (production mode)\nexport {\n createProductionAgentHandler,\n type ActionEntry,\n type ScriptEntry,\n type ProductionAgentOptions,\n type ActionTool,\n type ScriptTool,\n type AgentMessage,\n type AgentChatRequest,\n type AgentChatEvent,\n type AgentChatAttachment,\n DEFAULT_MODEL,\n // In-loop processors (observers/guardrails for runAgentLoop)\n TripWire,\n type Processor,\n type ProcessorState,\n type ProcessorAbort,\n} from \"./agent/index.js\";\nexport {\n defineAction,\n AgentActionStopError,\n isAgentActionStopError,\n type ActionDefinition,\n type ActionHttpConfig,\n type AgentActionStopOptions,\n type PublicAgentActionConfig,\n type ActionDeepLink,\n type ActionLinkBuilder,\n MCP_APP_EXTENSION_ID,\n MCP_APP_MIME_TYPE,\n MCP_APP_RESOURCE_URI_META_KEY,\n type ActionMcpAppConfig,\n type ActionMcpAppCsp,\n type ActionMcpAppCspBuilder,\n type ActionMcpAppHtmlBuilder,\n type ActionMcpAppPermissions,\n type ActionMcpAppResourceConfig,\n type ActionMcpAppResourceMeta,\n} from \"./action.js\";\nexport * from \"./user-profile/index.js\";\nexport {\n embedApp,\n MCP_APP_REQUEST_ORIGIN_CSP_SOURCE,\n type EmbedAppOptions,\n} from \"./mcp/embed-app.js\";\nexport {\n embedRoute,\n type EmbedRouteContext,\n type EmbedRouteOptions,\n type EmbedRoutePathBuilder,\n type EmbedRouteResult,\n} from \"./mcp/embed-route.js\";\nexport {\n ACTION_CHAT_UI_DATA_CHART_RENDERER,\n ACTION_CHAT_UI_DATA_INSIGHTS_RENDERER,\n ACTION_CHAT_UI_DATA_TABLE_RENDERER,\n ACTION_CHAT_UI_DATA_WIDGET_RENDERER,\n ACTION_CHAT_UI_INLINE_EXTENSION_RENDERER,\n ACTION_CHAT_UI_WORKSPACE_FILE_RENDERER,\n type ActionChatUIConfig,\n} from \"./action-ui.js\";\nexport {\n DATA_CHART_WIDGET,\n DATA_INSIGHTS_WIDGET,\n DATA_TABLE_WIDGET,\n createDataChartWidgetResult,\n createDataInsightsWidgetResult,\n createDataTableWidgetResult,\n dataChartWidgetResultSchema,\n dataChartWidgetSchema,\n dataInsightsWidgetResultSchema,\n dataTableWidgetResultSchema,\n dataTableWidgetSchema,\n dataWidgetResultSchema,\n isDataChartWidget,\n isDataTableWidget,\n isDataWidgetResult,\n normalizeDataWidgetKind,\n normalizeDataWidgetResult,\n type DataChartSeriesDefinition,\n type DataChartWidget,\n type DataChartWidgetResult,\n type DataChartWidgetResultInput,\n type DataInsightsWidgetResult,\n type DataInsightsWidgetResultInput,\n type DataTableColumn,\n type DataTableWidget,\n type DataTableWidgetResult,\n type DataTableWidgetResultInput,\n type DataWidgetDisplay,\n type DataWidgetKind,\n type DataWidgetResult,\n type DataWidgetResultMetadata,\n} from \"./data-widgets/index.js\";\nexport { createDevScriptRegistry } from \"./scripts/dev/index.js\";\nexport {\n createAgentChatPlugin,\n defaultAgentChatPlugin,\n type AgentChatPluginOptions,\n} from \"./server/agent-chat-plugin.js\";\nexport {\n createAgentNativeEmbeddedPlugin,\n mountAgentNativeEmbedded,\n type AgentNativeEmbeddedPluginOptions,\n} from \"./server/embedded.js\";\nexport {\n BUILT_IN_INTEGRATION_CATALOG,\n INTEGRATION_CATEGORIES,\n getIntegrationCatalogEntry,\n listBuiltInChannelIntegrations,\n listIntegrationCatalog,\n type AutomationCapabilities,\n type BuiltInChannelId,\n type ChannelCapabilities,\n type IntegrationAvailability,\n type IntegrationCatalogEntry,\n type IntegrationCategory,\n type IntegrationCredentialRequirement,\n type IntegrationIconKey,\n type IntegrationSupportMaturity,\n} from \"./integrations/catalog.js\";\nexport {\n AutomationConnectorError,\n createAutomationCallbackHandler,\n createAutomationRuntime,\n createInvokeAutomationWorkflowAction,\n type AutomationCallbackAuthentication,\n type AutomationCallbackInput,\n type AutomationCallbackResult,\n type AutomationInboundDefinition,\n type AutomationInvocation,\n type AutomationInvocationResult,\n type AutomationInvocationStatus,\n type AutomationOutboundDefinition,\n type AutomationResponseMode,\n type AutomationRetryPolicy,\n type AutomationRuntime,\n type AutomationRuntimeOptions,\n type AutomationWorkflowCapabilities,\n type AutomationWorkflowDefinition,\n type JsonSchema,\n} from \"./automation/index.js\";\nexport {\n createFeatureFlagsPlugin,\n defineFeatureFlag,\n defineFeatureFlags,\n evaluateFeatureFlag,\n getFeatureFlagDefinition,\n getFeatureFlagRules,\n isFeatureFlagEnabled,\n listFeatureFlags,\n registerFeatureFlags,\n type FeatureFlagDefinition,\n type FeatureFlagMode,\n type FeatureFlagRules,\n type FeatureFlagScope,\n} from \"./feature-flags/index.js\";\n\n// Server\nexport {\n createServer,\n createSSEHandler,\n defineNitroPlugin,\n autoMountAuth,\n getSession,\n type CreateServerOptions,\n type SSEHandlerOptions,\n type AuthSession,\n type AuthOptions,\n} from \"./server/index.js\";\n\n// Client\n//\n// IMPORTANT: this top-level entry (the package `default`/Node condition) must\n// stay server-safe. It is what `import { defineAction } from \"@agent-native/core\"`\n// resolves to in a headless / Node / SSR context, where React, react-router, and\n// @tanstack/react-query are NOT installed. The React client surface therefore\n// lives behind the `@agent-native/core/client` subpath instead of being\n// re-exported here — re-exporting \"./client/index.js\" from this module would\n// eagerly pull route-state.ts → \"@tanstack/react-query\" into the load graph and\n// crash any headless app at module load.\n//\n// Browser bundlers resolve \"@agent-native/core\" to the `browser` condition\n// (./index.browser.ts), which re-exports the client surface, so UI code that\n// imports client helpers from the bare specifier keeps working in the browser.\n// Code that runs through the Node entry (SSR, scripts, headless) must import\n// client helpers explicitly:\n//\n// import { useDbSync, cn } from \"@agent-native/core/client\";\n\n// Shared (isomorphic)\nexport {\n agentChat,\n type AgentChatCallOptions,\n type AgentChatResponse,\n} from \"./shared/index.js\";\nexport {\n EMBED_MODE_QUERY_PARAM,\n EMBED_SESSION_COOKIE,\n EMBED_START_PATH,\n EMBED_TOKEN_QUERY_PARAM,\n} from \"./shared/embed-auth.js\";\n\n// Agent Web surfaces\nexport {\n AGENT_WEB_CRAWLER_CATEGORIES,\n AGENT_WEB_CRAWLER_USER_AGENTS,\n DEFAULT_AGENT_WEB_CRAWLER_POLICY,\n absoluteUrl,\n agentWebConfigFromPackageJson,\n buildAgentWebStaticFiles,\n buildBaseJsonLd,\n buildLlmsFullTxt,\n buildLlmsTxt,\n buildMarkdownResponseHeaders,\n buildPageJsonLd,\n buildRobotsTxt,\n buildSitemapXml,\n deriveAgentWebPublicRoutes,\n estimateMarkdownTokens,\n markdownFilePathForPage,\n markdownUrlForPage,\n normalizeAgentWebConfig,\n pathPatternMatches,\n resolveAgentWebCrawlerPolicy,\n type AgentWebConfig,\n type AgentWebCrawlerCategory,\n type AgentWebCrawlerDecision,\n type AgentWebCrawlerOverrides,\n type AgentWebCrawlerPolicy,\n type AgentWebInputConfig,\n type AgentWebPage,\n type AgentWebStaticFile,\n type BuildAgentWebStaticFilesOptions,\n type DeriveAgentWebPublicRoutesOptions,\n type MarkdownResponseHeadersOptions,\n} from \"./agent-web/index.js\";\n\n// Token usage tracking\nexport {\n recordUsage,\n getUsageSummary,\n getUserUsageCents,\n calculateCost,\n usageBillingForEngine,\n builderCreditsFromCostCents,\n BUILDER_AGENT_CREDIT_MARGIN_MULTIPLIER,\n BUILDER_AGENT_CREDITS_PER_USD,\n BUILDER_CREDIT_USAGE_BILLING,\n USD_USAGE_BILLING,\n type UsageRecord,\n type UsageCostSource,\n type UsageCostAggregate,\n type UsageSummary,\n type UsageBillingMode,\n type UsageBillingUnit,\n type UsageBucket,\n type DailyBucket,\n type UsageRecentEntry,\n} from \"./usage/store.js\";\n\n// Workspace-scoped third-party connection metadata\nexport {\n deleteWorkspaceConnection,\n getWorkspaceConnectionAppAccess,\n getWorkspaceConnection,\n getWorkspaceConnectionGrant,\n listWorkspaceConnectionProviderCatalogForApp,\n listWorkspaceConnectionGrants,\n listWorkspaceConnections,\n resolveWorkspaceConnectionCredentialForApp,\n resolveWorkspaceConnectionCredentialsForApp,\n revokeWorkspaceConnectionGrant,\n serializeWorkspaceConnectionGrant,\n serializeWorkspaceConnection,\n summarizeWorkspaceConnectionProviderForApp,\n summarizeWorkspaceConnectionProviderReadiness,\n upsertWorkspaceConnectionGrant,\n upsertWorkspaceConnection,\n type ListWorkspaceConnectionProviderCatalogForAppOptions,\n type ListWorkspaceConnectionGrantsOptions,\n type ListWorkspaceConnectionsOptions,\n type ResolveWorkspaceConnectionCredentialForAppOptions,\n type ResolveWorkspaceConnectionCredentialsForAppOptions,\n type SerializedWorkspaceConnectionGrant,\n type SerializedWorkspaceConnection,\n type SummarizeWorkspaceConnectionProviderForAppOptions,\n type SummarizeWorkspaceConnectionProviderReadinessOptions,\n type UpsertWorkspaceConnectionGrantInput,\n type UpsertWorkspaceConnectionInput,\n type WorkspaceConnectionAppAccess,\n type WorkspaceConnectionAppAccessMode,\n type WorkspaceConnection,\n type WorkspaceConnectionCredentialBackend,\n type WorkspaceConnectionCredentialProvenance,\n type WorkspaceConnectionCredentialRef,\n type WorkspaceConnectionCredentialResolution,\n type WorkspaceConnectionCredentialResolutionCheck,\n type WorkspaceConnectionCredentialResolutionStatus,\n type WorkspaceConnectionCredentialsResolution,\n type WorkspaceConnectionExplicitGrantSummary,\n type WorkspaceConnectionForAppSummary,\n type WorkspaceConnectionGrant,\n type WorkspaceConnectionGrantAvailability,\n type WorkspaceConnectionGrantState,\n type WorkspaceConnectionProviderAppSummary,\n type WorkspaceConnectionProviderLike,\n type WorkspaceConnectionProviderCatalogForApp,\n type WorkspaceConnectionProviderCatalogForAppItem,\n type WorkspaceConnectionProviderReadiness,\n type WorkspaceConnectionProviderReadinessStatus,\n type WorkspaceConnectionPublicCredentialRef,\n type WorkspaceConnectionStatus,\n workspaceConnectionIsAvailableToApp,\n registerWorkspaceConnectionLifecycleListener,\n type WorkspaceConnectionLifecycleEvent,\n type WorkspaceConnectionLifecycleListener,\n} from \"./workspace-connections/index.js\";\n\n// Reusable workspace connection provider catalog\nexport {\n PROVIDER_READERS,\n ProviderReaderRuntimeError,\n WORKSPACE_CONNECTION_PROVIDERS,\n createProviderReaderRuntime,\n defineProviderReader,\n defineProviderReaderImplementation,\n defineWorkspaceConnectionProvider,\n getProviderReader,\n getWorkspaceConnectionProvider,\n isWorkspaceConnectionProviderId,\n listProviderReaders,\n listWorkspaceConnectionProviders,\n listWorkspaceConnectionProvidersForCapability,\n listWorkspaceConnectionProvidersForTemplate,\n mergeWorkspaceConnectionProviders,\n providerReaderSupports,\n workspaceConnectionProviderSupports,\n type ListWorkspaceConnectionProvidersOptions,\n type ListProviderReadersOptions,\n type ProviderReaderCapability,\n type ProviderReaderCredentialRequirement,\n type ProviderReaderDefinition,\n type ProviderReaderImplementationStatus,\n type ProviderReaderOperation,\n type ProviderReaderOperationDescriptor,\n type ProviderReaderOperationParameter,\n type ProviderReaderRequest,\n type ProviderReaderRuntime,\n type ProviderReaderRuntimeConnection,\n type ProviderReaderRuntimeConnectionResolverOptions,\n type ProviderReaderRuntimeContext,\n type ProviderReaderRuntimeCredentialsResolverOptions,\n type ProviderReaderRuntimeErrorCode,\n type ProviderReaderRuntimeHandler,\n type ProviderReaderRuntimeImplementation,\n type ProviderReaderRuntimeItem,\n type ProviderReaderRuntimeOptions,\n type ProviderReaderRuntimeResponse,\n type WorkspaceConnectionCapability,\n type WorkspaceConnectionCredentialKey,\n type WorkspaceConnectionProvider,\n type WorkspaceConnectionProviderId,\n type WorkspaceConnectionTemplateUse,\n} from \"./connections/index.js\";\n\n// Scripts\nexport {\n runScript,\n loadEnv,\n parseArgs,\n camelCaseArgs,\n isValidPath,\n isValidProjectPath,\n ensureDir,\n fail,\n} from \"./scripts/index.js\";\n\n// Secrets registry — import from \"@agent-native/core/secrets\" when possible\n// (the subpath keeps the top-level entry point lean), but re-export the\n// public API here for convenience.\nexport {\n registerRequiredSecret,\n listRequiredSecrets,\n getRequiredSecret,\n readAppSecret,\n writeAppSecret,\n deleteAppSecret,\n type RegisteredSecret,\n type SecretScope,\n type SecretKind,\n type SecretValidator,\n type SecretRef,\n} from \"./secrets/index.js\";\n\nexport * from \"./history/index.js\";\nexport * from \"./review/index.js\";\nexport * from \"./org-team/index.js\";\nexport * from \"./navigation/index.js\";\nexport * from \"./command-navigation/index.js\";\nexport * from \"./search/index.js\";\nexport * from \"./embeddings/index.js\";\nexport {\n registerWorkspaceConnectionOnboardingStep,\n type RegisterWorkspaceConnectionOnboardingStepOptions,\n} from \"./setup-connections/index.js\";\n"]}
@@ -3,6 +3,10 @@ export declare function dispatchA2AContinuation(continuationId: string, webhookB
3
3
  export declare function processA2AContinuationById(continuationId: string, options: {
4
4
  adapters: Map<string, PlatformAdapter>;
5
5
  }): Promise<void>;
6
+ export declare function recoverA2AContinuationAfterProcessorFailure(continuationId: string, options: {
7
+ adapters: Map<string, PlatformAdapter>;
8
+ reason: string;
9
+ }): Promise<void>;
6
10
  export declare function processDueA2AContinuations(options: {
7
11
  adapters: Map<string, PlatformAdapter>;
8
12
  limit?: number;
@@ -21,4 +25,5 @@ export declare function recoverDueA2AContinuations(options?: {
21
25
  dispatched: number;
22
26
  failed: number;
23
27
  }>;
28
+ export declare function reconcileTerminalA2AParentIfDisabled(integrationTaskId: string): Promise<boolean>;
24
29
  //# sourceMappingURL=a2a-continuation-processor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"a2a-continuation-processor.d.ts","sourceRoot":"","sources":["../../src/integrations/a2a-continuation-processor.ts"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAEV,eAAe,EAGhB,MAAM,YAAY,CAAC;AAkBpB,wBAAsB,uBAAuB,CAC3C,cAAc,EAAE,MAAM,EACtB,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,IAAI,CAAC,CAqDf;AAmBD,wBAAsB,0BAA0B,CAC9C,cAAc,EAAE,MAAM,EACtB,OAAO,EAAE;IAAE,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;CAAE,GAClD,OAAO,CAAC,IAAI,CAAC,CAMf;AAED,wBAAsB,0BAA0B,CAAC,OAAO,EAAE;IACxD,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,IAAI,CAAC,CAUhB;AAED;;;;;;GAMG;AACH,wBAAsB,0BAA0B,CAAC,OAAO,CAAC,EAAE;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,GAAG,OAAO,CAAC;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAuClD"}
1
+ {"version":3,"file":"a2a-continuation-processor.d.ts","sourceRoot":"","sources":["../../src/integrations/a2a-continuation-processor.ts"],"names":[],"mappings":"AAuDA,OAAO,KAAK,EAEV,eAAe,EAGhB,MAAM,YAAY,CAAC;AAmCpB,wBAAsB,uBAAuB,CAC3C,cAAc,EAAE,MAAM,EACtB,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,IAAI,CAAC,CAqDf;AAmBD,wBAAsB,0BAA0B,CAC9C,cAAc,EAAE,MAAM,EACtB,OAAO,EAAE;IAAE,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;CAAE,GAClD,OAAO,CAAC,IAAI,CAAC,CAMf;AAED,wBAAsB,2CAA2C,CAC/D,cAAc,EAAE,MAAM,EACtB,OAAO,EAAE;IACP,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC;CAChB,GACA,OAAO,CAAC,IAAI,CAAC,CAuFf;AAED,wBAAsB,0BAA0B,CAAC,OAAO,EAAE;IACxD,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2BhB;AAED;;;;;;GAMG;AACH,wBAAsB,0BAA0B,CAAC,OAAO,CAAC,EAAE;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,GAAG,OAAO,CAAC;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAoDlD;AA2PD,wBAAsB,oCAAoC,CACxD,iBAAiB,EAAE,MAAM,GACxB,OAAO,CAAC,OAAO,CAAC,CAuClB"}