@agent-native/core 0.131.5 → 0.131.6

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 (328) hide show
  1. package/corpus/README.md +3 -3
  2. package/corpus/core/CHANGELOG.md +63 -0
  3. package/corpus/core/docs/content/agent-native-toolkit.mdx +13 -6
  4. package/corpus/core/docs/content/cloneable-saas.mdx +5 -5
  5. package/corpus/core/docs/content/creating-templates.mdx +9 -0
  6. package/corpus/core/docs/content/deployment.mdx +14 -10
  7. package/corpus/core/docs/content/doctor.mdx +8 -1
  8. package/corpus/core/docs/content/drop-in-agent.mdx +1 -1
  9. package/corpus/core/docs/content/extensions.mdx +18 -18
  10. package/corpus/core/docs/content/faq.mdx +4 -4
  11. package/corpus/core/docs/content/key-concepts.mdx +30 -21
  12. package/corpus/core/docs/content/template-brain-developers.mdx +4 -1
  13. package/corpus/core/docs/content/template-mail-developers.mdx +4 -1
  14. package/corpus/core/docs/content/what-is-agent-native.mdx +6 -6
  15. package/corpus/core/package.json +1 -1
  16. package/corpus/core/src/a2a/client.ts +449 -66
  17. package/corpus/core/src/a2a/correlation.ts +31 -0
  18. package/corpus/core/src/a2a/types.ts +4 -0
  19. package/corpus/core/src/action.ts +3 -0
  20. package/corpus/core/src/agent/engine/registry.ts +45 -5
  21. package/corpus/core/src/agent/production-agent.ts +151 -18
  22. package/corpus/core/src/agent/run-loop-with-resume.ts +190 -3
  23. package/corpus/core/src/agent/run-manager.ts +117 -41
  24. package/corpus/core/src/agent/thread-debug-history.ts +86 -0
  25. package/corpus/core/src/agent/types.ts +3 -1
  26. package/corpus/core/src/cli/create.ts +11 -1
  27. package/corpus/core/src/cli/templates-meta.ts +2 -2
  28. package/corpus/core/src/client/agent-chat-adapter.ts +91 -13
  29. package/corpus/core/src/client/resources/McpIntegrationDialog.tsx +11 -9
  30. package/corpus/core/src/client/sse-event-processor.ts +17 -3
  31. package/corpus/core/src/db/client.ts +57 -17
  32. package/corpus/core/src/integrations/adapters/slack.ts +8 -3
  33. package/corpus/core/src/localization/default-messages.ts +44 -0
  34. package/corpus/core/src/observability/traces.ts +78 -5
  35. package/corpus/core/src/scripts/call-agent.ts +290 -9
  36. package/corpus/core/src/scripts/describe-workspace-apps.ts +2 -2
  37. package/corpus/core/src/secrets/crypto.ts +126 -34
  38. package/corpus/core/src/secrets/storage.ts +61 -25
  39. package/corpus/core/src/server/agent-capabilities.ts +1 -1
  40. package/corpus/core/src/server/agent-chat/action-filters-a2a.ts +111 -7
  41. package/corpus/core/src/server/agent-chat/context-tools.ts +2 -0
  42. package/corpus/core/src/server/agent-chat/plugin-options.ts +34 -1
  43. package/corpus/core/src/server/agent-chat/prompt-resources.ts +1 -1
  44. package/corpus/core/src/server/agent-chat-plugin.ts +91 -59
  45. package/corpus/core/src/templates/default/.agents/skills/secrets/SKILL.md +14 -7
  46. package/corpus/core/src/templates/headless/.agents/skills/secrets/SKILL.md +14 -7
  47. package/corpus/core/src/templates/workspace-core/.agents/skills/a2a-protocol/SKILL.md +18 -7
  48. package/corpus/core/src/templates/workspace-core/.agents/skills/composable-mini-apps/SKILL.md +15 -14
  49. package/corpus/core/src/templates/workspace-core/.agents/skills/secrets/SKILL.md +14 -7
  50. package/corpus/core/src/vite/client.ts +1 -0
  51. package/corpus/templates/analytics/.agents/skills/dashboard-ops/SKILL.md +5 -4
  52. package/corpus/templates/analytics/.agents/skills/gong/SKILL.md +6 -4
  53. package/corpus/templates/analytics/AGENTS.md +6 -4
  54. package/corpus/templates/analytics/actions/query-agent-native-analytics.ts +4 -3
  55. package/corpus/templates/analytics/changelog/2026-07-30-scheduled-dashboard-emails-complete-every-panel-without-pool.md +6 -0
  56. package/corpus/templates/analytics/scripts/emit-netlify-dashboard-report-cron.ts +28 -1
  57. package/corpus/templates/analytics/server/jobs/dashboard-report.ts +18 -11
  58. package/corpus/templates/analytics/server/lib/analytics-connector-catalog.ts +4 -4
  59. package/corpus/templates/analytics/server/lib/canonical-first-party-dashboard-repair.ts +9 -5
  60. package/corpus/templates/analytics/server/lib/dashboard-panel-query.ts +6 -2
  61. package/corpus/templates/analytics/server/lib/dashboard-panel-source-resolver.ts +11 -4
  62. package/corpus/templates/analytics/server/lib/dashboard-report-render.ts +49 -31
  63. package/corpus/templates/analytics/server/lib/first-party-analytics.ts +16 -8
  64. package/corpus/templates/analytics/server/lib/first-party-metric-catalog.ts +9 -3
  65. package/corpus/templates/analytics/server/lib/production-serverless-runtime.ts +11 -0
  66. package/corpus/templates/analytics/server/plugins/agent-chat.ts +3 -2
  67. package/corpus/templates/analytics/server/plugins/analytics-alert-jobs.ts +2 -1
  68. package/corpus/templates/analytics/server/plugins/dashboard-report-jobs.ts +2 -1
  69. package/corpus/templates/analytics/server/plugins/uptime-monitor-jobs.ts +1 -12
  70. package/corpus/templates/brain/.agents/skills/brain/RUNBOOK.md +54 -6
  71. package/corpus/templates/brain/.agents/skills/brain/SKILL.md +20 -9
  72. package/corpus/templates/brain/.agents/skills/ingestion-and-connectors/SKILL.md +33 -1
  73. package/corpus/templates/brain/AGENTS.md +3 -1
  74. package/corpus/templates/brain/README.md +4 -1
  75. package/corpus/templates/brain/actions/_schemas.ts +30 -8
  76. package/corpus/templates/brain/actions/ask-brain.ts +124 -14
  77. package/corpus/templates/brain/actions/create-source.ts +18 -2
  78. package/corpus/templates/brain/actions/enqueue-captures-distillation.ts +8 -123
  79. package/corpus/templates/brain/actions/enqueue-distillation.ts +6 -127
  80. package/corpus/templates/brain/actions/import-capture.ts +17 -5
  81. package/corpus/templates/brain/actions/import-transcript.ts +17 -5
  82. package/corpus/templates/brain/actions/update-source.ts +25 -5
  83. package/corpus/templates/brain/app/components/layout/Sidebar.tsx +1 -1
  84. package/corpus/templates/brain/changelog/2026-07-30-blessed-resources-can-feed-cited-company-answers.md +6 -0
  85. package/corpus/templates/brain/changelog/2026-07-30-the-left-sidebar-no-longer-shows-a-blank-organization-placeh.md +6 -0
  86. package/corpus/templates/brain/server/lib/brain.ts +49 -19
  87. package/corpus/templates/brain/server/lib/distillation-queue.ts +147 -0
  88. package/corpus/templates/brain/server/lib/source-policy.ts +264 -0
  89. package/corpus/templates/brain/server/plugins/agent-chat.ts +3 -2
  90. package/corpus/templates/brain/server/routes/api/_agent-native/brain/ingest.post.ts +116 -19
  91. package/corpus/templates/clips/app/components/meetings/google-oauth-identity-notice.tsx +51 -0
  92. package/corpus/templates/clips/app/i18n/en-US.ts +4 -0
  93. package/corpus/templates/clips/app/routes/_app.meetings._index.tsx +3 -1
  94. package/corpus/templates/clips/changelog/2026-07-30-google-calendar-warning.md +6 -0
  95. package/corpus/templates/content/app/components/editor/VisualEditor.tsx +72 -8
  96. package/corpus/templates/content/changelog/2026-07-30-the-slash-command-hint-now-stays-on-only-the-active-empty-li.md +6 -0
  97. package/corpus/templates/design/.generated/bridge/editor-chrome.generated.ts +506 -11
  98. package/corpus/templates/design/app/components/design/bridge/editor-chrome.bridge.ts +148 -17
  99. package/corpus/templates/design/app/components/design/canvas-interactions/design-canvas-interactions.ts +357 -0
  100. package/corpus/templates/design/app/components/design/inspector/ScrubInput.tsx +7 -466
  101. package/corpus/templates/design/app/components/design/inspector/scrub-input-utils.ts +15 -311
  102. package/corpus/templates/design/app/components/visual-editor/CanvasCommentPins.tsx +19 -997
  103. package/corpus/templates/design/app/components/visual-editor/DrawOverlay.tsx +8 -1216
  104. package/corpus/templates/design/app/hooks/useDesignHotkeys.ts +31 -38
  105. package/corpus/templates/design/package.json +0 -1
  106. package/corpus/templates/dispatch/AGENTS.md +8 -0
  107. package/corpus/templates/dispatch/DEVELOPING.md +29 -0
  108. package/corpus/templates/dispatch/actions/view-screen.ts +34 -2
  109. package/corpus/templates/dispatch/app/i18n-data.ts +457 -0
  110. package/corpus/templates/dispatch/changelog/2026-07-30-delegated-dispatch-work-continues-reliably-in-the-background.md +6 -0
  111. package/corpus/templates/dispatch/changelog/2026-07-30-find-failed-runs-across-apps.md +6 -0
  112. package/corpus/templates/dispatch/netlify.toml +3 -0
  113. package/corpus/templates/slides/.agents/skills/analytics-data-for-decks/SKILL.md +8 -12
  114. package/corpus/templates/slides/AGENTS.md +4 -4
  115. package/corpus/templates/slides/actions/duplicate-deck.ts +19 -4
  116. package/corpus/templates/slides/app/components/deck/DeckCard.tsx +2 -10
  117. package/corpus/templates/slides/app/components/deck/MermaidRenderer.tsx +12 -1
  118. package/corpus/templates/slides/app/components/deck/SlideRenderer.tsx +30 -13
  119. package/corpus/templates/slides/app/components/editor/DeckEditorSkeleton.tsx +35 -0
  120. package/corpus/templates/slides/app/components/editor/EditorSidebar.tsx +63 -56
  121. package/corpus/templates/slides/app/components/editor/EditorToolbar.tsx +21 -76
  122. package/corpus/templates/slides/app/components/editor/SlideEditor.tsx +1110 -292
  123. package/corpus/templates/slides/app/components/editor/SlideOverflowWarning.tsx +53 -0
  124. package/corpus/templates/slides/app/components/editor/SlideStyleInspector.tsx +235 -18
  125. package/corpus/templates/slides/app/components/editor/SpeakerNotesPanel.tsx +4 -1
  126. package/corpus/templates/slides/app/components/editor/canvas-interactions/index.ts +11 -0
  127. package/corpus/templates/slides/app/components/editor/canvas-interactions/slides-canvas-adapter.ts +129 -0
  128. package/corpus/templates/slides/app/components/editor/selection-overlay-measurement.ts +70 -0
  129. package/corpus/templates/slides/app/components/editor/slide-object-interactions.ts +519 -65
  130. package/corpus/templates/slides/app/components/visual-editor/CanvasCommentPins.tsx +36 -426
  131. package/corpus/templates/slides/app/components/visual-editor/DrawOverlay.tsx +19 -458
  132. package/corpus/templates/slides/app/context/DeckContext.tsx +179 -72
  133. package/corpus/templates/slides/app/global.css +105 -0
  134. package/corpus/templates/slides/app/i18n/en-US.ts +8 -0
  135. package/corpus/templates/slides/app/lib/deck-editor-loading.ts +26 -0
  136. package/corpus/templates/slides/app/lib/mermaid-blocks.ts +27 -0
  137. package/corpus/templates/slides/app/pages/DeckEditor.tsx +71 -38
  138. package/corpus/templates/slides/app/pages/Index.tsx +98 -41
  139. package/corpus/templates/slides/changelog/2026-07-30-deck-loading-no-longer-flashes-an-unavailable-message.md +6 -0
  140. package/corpus/templates/slides/changelog/2026-07-30-duplicating-a-deck-from-the-deck-list-now-opens-the-copy-imm.md +6 -0
  141. package/corpus/templates/slides/changelog/2026-07-30-layout-overflow-warning-is-readable-and-dismissible.md +6 -0
  142. package/corpus/templates/slides/changelog/2026-07-30-shared-canvas-annotations.md +6 -0
  143. package/corpus/templates/slides/changelog/2026-07-30-slide-objects-can-be-moved-as-a-group-copied-and-pasted-with.md +6 -0
  144. package/corpus/templates/slides/changelog/2026-07-30-slide-text-editing-and-object-controls-now-match-google-slides.md +6 -0
  145. package/corpus/templates/slides/changelog/2026-07-30-style-panel-now-scrolls-with-speaker-notes-open-shows-the-sl.md +6 -0
  146. package/corpus/templates/slides/changelog/2026-07-30-top-toolbar-controls-now-use-consistent-sizing-with-undo-and.md +6 -0
  147. package/corpus/templates/slides/netlify.toml +3 -1
  148. package/corpus/templates/slides/package.json +0 -1
  149. package/corpus/templates/slides/server/lib/chat-attachments.ts +18 -0
  150. package/corpus/templates/slides/server/plugins/agent-chat.ts +5 -0
  151. package/corpus/templates/slides/vite.config.ts +0 -1
  152. package/corpus/toolkit/CHANGELOG.md +13 -0
  153. package/corpus/toolkit/README.md +19 -0
  154. package/corpus/toolkit/agent-native.eject.json +38 -0
  155. package/corpus/toolkit/package.json +29 -1
  156. package/corpus/toolkit/src/canvas-annotations/CanvasCommentPins.tsx +861 -0
  157. package/corpus/toolkit/src/canvas-annotations/DrawOverlay.tsx +1233 -0
  158. package/corpus/toolkit/src/canvas-annotations/index.ts +15 -0
  159. package/corpus/toolkit/src/canvas-annotations/types.ts +14 -0
  160. package/corpus/toolkit/src/canvas-interactions/canvas-interactions.ts +933 -0
  161. package/corpus/toolkit/src/canvas-interactions/index.ts +67 -0
  162. package/corpus/toolkit/src/design-tweaks/scrub-input-utils.ts +311 -0
  163. package/corpus/toolkit/src/design-tweaks/scrub-input.tsx +491 -0
  164. package/corpus/toolkit/src/design-tweaks/visual-style-controls.tsx +26 -171
  165. package/corpus/toolkit/src/index.ts +1 -0
  166. package/dist/a2a/client.d.ts +23 -0
  167. package/dist/a2a/client.d.ts.map +1 -1
  168. package/dist/a2a/client.js +309 -44
  169. package/dist/a2a/client.js.map +1 -1
  170. package/dist/a2a/correlation.d.ts +1 -0
  171. package/dist/a2a/correlation.d.ts.map +1 -1
  172. package/dist/a2a/correlation.js +27 -0
  173. package/dist/a2a/correlation.js.map +1 -1
  174. package/dist/a2a/types.d.ts +4 -0
  175. package/dist/a2a/types.d.ts.map +1 -1
  176. package/dist/a2a/types.js.map +1 -1
  177. package/dist/action.d.ts +3 -0
  178. package/dist/action.d.ts.map +1 -1
  179. package/dist/action.js.map +1 -1
  180. package/dist/agent/engine/registry.d.ts.map +1 -1
  181. package/dist/agent/engine/registry.js +34 -7
  182. package/dist/agent/engine/registry.js.map +1 -1
  183. package/dist/agent/production-agent.d.ts +40 -1
  184. package/dist/agent/production-agent.d.ts.map +1 -1
  185. package/dist/agent/production-agent.js +113 -15
  186. package/dist/agent/production-agent.js.map +1 -1
  187. package/dist/agent/run-loop-with-resume.d.ts +21 -0
  188. package/dist/agent/run-loop-with-resume.d.ts.map +1 -1
  189. package/dist/agent/run-loop-with-resume.js +163 -4
  190. package/dist/agent/run-loop-with-resume.js.map +1 -1
  191. package/dist/agent/run-manager.d.ts +16 -9
  192. package/dist/agent/run-manager.d.ts.map +1 -1
  193. package/dist/agent/run-manager.js +93 -42
  194. package/dist/agent/run-manager.js.map +1 -1
  195. package/dist/agent/thread-debug-history.d.ts +10 -0
  196. package/dist/agent/thread-debug-history.d.ts.map +1 -0
  197. package/dist/agent/thread-debug-history.js +68 -0
  198. package/dist/agent/thread-debug-history.js.map +1 -0
  199. package/dist/agent/types.d.ts +3 -1
  200. package/dist/agent/types.d.ts.map +1 -1
  201. package/dist/agent/types.js.map +1 -1
  202. package/dist/cli/create.d.ts.map +1 -1
  203. package/dist/cli/create.js +6 -1
  204. package/dist/cli/create.js.map +1 -1
  205. package/dist/cli/templates-meta.js +2 -2
  206. package/dist/cli/templates-meta.js.map +1 -1
  207. package/dist/client/agent-chat-adapter.d.ts +1 -1
  208. package/dist/client/agent-chat-adapter.d.ts.map +1 -1
  209. package/dist/client/agent-chat-adapter.js +76 -13
  210. package/dist/client/agent-chat-adapter.js.map +1 -1
  211. package/dist/client/resources/McpIntegrationDialog.d.ts.map +1 -1
  212. package/dist/client/resources/McpIntegrationDialog.js +1 -1
  213. package/dist/client/resources/McpIntegrationDialog.js.map +1 -1
  214. package/dist/client/sse-event-processor.d.ts.map +1 -1
  215. package/dist/client/sse-event-processor.js +12 -3
  216. package/dist/client/sse-event-processor.js.map +1 -1
  217. package/dist/collab/routes.d.ts +1 -1
  218. package/dist/collab/struct-routes.d.ts +1 -1
  219. package/dist/db/client.d.ts.map +1 -1
  220. package/dist/db/client.js +48 -17
  221. package/dist/db/client.js.map +1 -1
  222. package/dist/file-upload/actions/upload-image.d.ts +1 -1
  223. package/dist/integrations/adapters/slack.js +7 -3
  224. package/dist/integrations/adapters/slack.js.map +1 -1
  225. package/dist/localization/default-messages.d.ts +43 -0
  226. package/dist/localization/default-messages.d.ts.map +1 -1
  227. package/dist/localization/default-messages.js +43 -0
  228. package/dist/localization/default-messages.js.map +1 -1
  229. package/dist/mcp/screen-memory-stdio.d.ts +7 -7
  230. package/dist/mcp/screen-memory-stdio.d.ts.map +1 -1
  231. package/dist/notifications/routes.d.ts +6 -6
  232. package/dist/observability/traces.d.ts +3 -1
  233. package/dist/observability/traces.d.ts.map +1 -1
  234. package/dist/observability/traces.js +73 -4
  235. package/dist/observability/traces.js.map +1 -1
  236. package/dist/progress/routes.d.ts +1 -1
  237. package/dist/provider-api/actions/custom-provider-registration.d.ts +12 -12
  238. package/dist/provider-api/actions/provider-api.d.ts +13 -13
  239. package/dist/provider-api/corpus-jobs.d.ts +2 -2
  240. package/dist/scripts/call-agent.d.ts.map +1 -1
  241. package/dist/scripts/call-agent.js +233 -10
  242. package/dist/scripts/call-agent.js.map +1 -1
  243. package/dist/scripts/describe-workspace-apps.js +2 -2
  244. package/dist/scripts/describe-workspace-apps.js.map +1 -1
  245. package/dist/secrets/crypto.d.ts +31 -21
  246. package/dist/secrets/crypto.d.ts.map +1 -1
  247. package/dist/secrets/crypto.js +108 -33
  248. package/dist/secrets/crypto.js.map +1 -1
  249. package/dist/secrets/storage.d.ts +3 -5
  250. package/dist/secrets/storage.d.ts.map +1 -1
  251. package/dist/secrets/storage.js +40 -25
  252. package/dist/secrets/storage.js.map +1 -1
  253. package/dist/server/agent-capabilities.js +1 -1
  254. package/dist/server/agent-capabilities.js.map +1 -1
  255. package/dist/server/agent-chat/action-filters-a2a.d.ts +17 -3
  256. package/dist/server/agent-chat/action-filters-a2a.d.ts.map +1 -1
  257. package/dist/server/agent-chat/action-filters-a2a.js +92 -3
  258. package/dist/server/agent-chat/action-filters-a2a.js.map +1 -1
  259. package/dist/server/agent-chat/context-tools.d.ts.map +1 -1
  260. package/dist/server/agent-chat/context-tools.js +2 -0
  261. package/dist/server/agent-chat/context-tools.js.map +1 -1
  262. package/dist/server/agent-chat/plugin-options.d.ts +23 -0
  263. package/dist/server/agent-chat/plugin-options.d.ts.map +1 -1
  264. package/dist/server/agent-chat/plugin-options.js +4 -1
  265. package/dist/server/agent-chat/plugin-options.js.map +1 -1
  266. package/dist/server/agent-chat/prompt-resources.js +1 -1
  267. package/dist/server/agent-chat/prompt-resources.js.map +1 -1
  268. package/dist/server/agent-chat-plugin.d.ts +2 -1
  269. package/dist/server/agent-chat-plugin.d.ts.map +1 -1
  270. package/dist/server/agent-chat-plugin.js +79 -56
  271. package/dist/server/agent-chat-plugin.js.map +1 -1
  272. package/dist/server/realtime-token.d.ts +1 -1
  273. package/dist/templates/default/.agents/skills/secrets/SKILL.md +14 -7
  274. package/dist/templates/headless/.agents/skills/secrets/SKILL.md +14 -7
  275. package/dist/templates/workspace-core/.agents/skills/a2a-protocol/SKILL.md +18 -7
  276. package/dist/templates/workspace-core/.agents/skills/composable-mini-apps/SKILL.md +15 -14
  277. package/dist/templates/workspace-core/.agents/skills/secrets/SKILL.md +14 -7
  278. package/dist/vite/client.d.ts.map +1 -1
  279. package/dist/vite/client.js +1 -0
  280. package/dist/vite/client.js.map +1 -1
  281. package/docs/content/agent-native-toolkit.mdx +13 -6
  282. package/docs/content/cloneable-saas.mdx +5 -5
  283. package/docs/content/creating-templates.mdx +9 -0
  284. package/docs/content/deployment.mdx +14 -10
  285. package/docs/content/doctor.mdx +8 -1
  286. package/docs/content/drop-in-agent.mdx +1 -1
  287. package/docs/content/extensions.mdx +18 -18
  288. package/docs/content/faq.mdx +4 -4
  289. package/docs/content/key-concepts.mdx +30 -21
  290. package/docs/content/template-brain-developers.mdx +4 -1
  291. package/docs/content/template-mail-developers.mdx +4 -1
  292. package/docs/content/what-is-agent-native.mdx +6 -6
  293. package/package.json +2 -2
  294. package/src/a2a/client.ts +449 -66
  295. package/src/a2a/correlation.ts +31 -0
  296. package/src/a2a/types.ts +4 -0
  297. package/src/action.ts +3 -0
  298. package/src/agent/engine/registry.ts +45 -5
  299. package/src/agent/production-agent.ts +151 -18
  300. package/src/agent/run-loop-with-resume.ts +190 -3
  301. package/src/agent/run-manager.ts +117 -41
  302. package/src/agent/thread-debug-history.ts +86 -0
  303. package/src/agent/types.ts +3 -1
  304. package/src/cli/create.ts +11 -1
  305. package/src/cli/templates-meta.ts +2 -2
  306. package/src/client/agent-chat-adapter.ts +91 -13
  307. package/src/client/resources/McpIntegrationDialog.tsx +11 -9
  308. package/src/client/sse-event-processor.ts +17 -3
  309. package/src/db/client.ts +57 -17
  310. package/src/integrations/adapters/slack.ts +8 -3
  311. package/src/localization/default-messages.ts +44 -0
  312. package/src/observability/traces.ts +78 -5
  313. package/src/scripts/call-agent.ts +290 -9
  314. package/src/scripts/describe-workspace-apps.ts +2 -2
  315. package/src/secrets/crypto.ts +126 -34
  316. package/src/secrets/storage.ts +61 -25
  317. package/src/server/agent-capabilities.ts +1 -1
  318. package/src/server/agent-chat/action-filters-a2a.ts +111 -7
  319. package/src/server/agent-chat/context-tools.ts +2 -0
  320. package/src/server/agent-chat/plugin-options.ts +34 -1
  321. package/src/server/agent-chat/prompt-resources.ts +1 -1
  322. package/src/server/agent-chat-plugin.ts +91 -59
  323. package/src/templates/default/.agents/skills/secrets/SKILL.md +14 -7
  324. package/src/templates/headless/.agents/skills/secrets/SKILL.md +14 -7
  325. package/src/templates/workspace-core/.agents/skills/a2a-protocol/SKILL.md +18 -7
  326. package/src/templates/workspace-core/.agents/skills/composable-mini-apps/SKILL.md +15 -14
  327. package/src/templates/workspace-core/.agents/skills/secrets/SKILL.md +14 -7
  328. package/src/vite/client.ts +1 -0
@@ -26,9 +26,9 @@ export declare function createRealtimeTokenHandler(): import("h3").EventHandlerW
26
26
  expiresAt?: undefined;
27
27
  ttlSeconds?: undefined;
28
28
  } | {
29
+ error?: undefined;
29
30
  token: string;
30
31
  expiresAt: string;
31
32
  ttlSeconds: number;
32
- error?: undefined;
33
33
  }>>;
34
34
  //# sourceMappingURL=realtime-token.d.ts.map
@@ -223,14 +223,21 @@ Core routes plugin mounts these under `/_agent-native/secrets/` automatically:
223
223
 
224
224
  - Values are stored in `app_secrets` (created on-demand; no migration
225
225
  needed).
226
- - Encrypted at rest with AES-256-GCM. Key material is derived from
227
- `<APP_NAME>_SECRETS_ENCRYPTION_KEY` when set (for example,
226
+ - Values are encrypted at rest with AES-256-GCM. Generic app-local secrets
227
+ prefer `<APP_NAME>_SECRETS_ENCRYPTION_KEY` (for example,
228
228
  `ANALYTICS_SECRETS_ENCRYPTION_KEY`), then `SECRETS_ENCRYPTION_KEY`, then
229
- `BETTER_AUTH_SECRET`. App-scoped keys are useful when a local multi-app
230
- workspace connects one app to its production database without replacing the
231
- shared local authentication secret. If none is set, the framework uses a
232
- machine-local fallback and logs a one-time warning set stable key material
233
- in production and in every runtime that reads the same encrypted data.
229
+ `BETTER_AUTH_SECRET`.
230
+ - Workspace-shared `app_secrets` prefer `SECRETS_ENCRYPTION_KEY`, then a
231
+ purpose-derived key from `A2A_SECRET`. Better Auth and app-scoped keys remain
232
+ legacy read candidates; a successful legacy decrypt is compare-and-swap
233
+ migrated to the preferred shared key without changing the row timestamp.
234
+ - Set the same stable `SECRETS_ENCRYPTION_KEY` in every app that reads a shared
235
+ vault. If the vault relies on `A2A_SECRET`, rotating A2A material also rotates
236
+ its encryption key. Before rotating A2A, add the stable vault key everywhere
237
+ and read/migrate every existing row while the old A2A material is still
238
+ available.
239
+ - If no configured key material exists, development uses a machine-local
240
+ fallback and logs a one-time warning. Production fails closed.
234
241
 
235
242
  ## Ad-hoc Keys
236
243
 
@@ -223,14 +223,21 @@ Core routes plugin mounts these under `/_agent-native/secrets/` automatically:
223
223
 
224
224
  - Values are stored in `app_secrets` (created on-demand; no migration
225
225
  needed).
226
- - Encrypted at rest with AES-256-GCM. Key material is derived from
227
- `<APP_NAME>_SECRETS_ENCRYPTION_KEY` when set (for example,
226
+ - Values are encrypted at rest with AES-256-GCM. Generic app-local secrets
227
+ prefer `<APP_NAME>_SECRETS_ENCRYPTION_KEY` (for example,
228
228
  `ANALYTICS_SECRETS_ENCRYPTION_KEY`), then `SECRETS_ENCRYPTION_KEY`, then
229
- `BETTER_AUTH_SECRET`. App-scoped keys are useful when a local multi-app
230
- workspace connects one app to its production database without replacing the
231
- shared local authentication secret. If none is set, the framework uses a
232
- machine-local fallback and logs a one-time warning set stable key material
233
- in production and in every runtime that reads the same encrypted data.
229
+ `BETTER_AUTH_SECRET`.
230
+ - Workspace-shared `app_secrets` prefer `SECRETS_ENCRYPTION_KEY`, then a
231
+ purpose-derived key from `A2A_SECRET`. Better Auth and app-scoped keys remain
232
+ legacy read candidates; a successful legacy decrypt is compare-and-swap
233
+ migrated to the preferred shared key without changing the row timestamp.
234
+ - Set the same stable `SECRETS_ENCRYPTION_KEY` in every app that reads a shared
235
+ vault. If the vault relies on `A2A_SECRET`, rotating A2A material also rotates
236
+ its encryption key. Before rotating A2A, add the stable vault key everywhere
237
+ and read/migrate every existing row while the old A2A material is still
238
+ available.
239
+ - If no configured key material exists, development uses a machine-local
240
+ fallback and logs a one-time warning. Production fails closed.
234
241
 
235
242
  ## Ad-hoc Keys
236
243
 
@@ -136,12 +136,19 @@ log or return them.
136
136
  ## Advertising what this agent can do
137
137
 
138
138
  Card `skills` are derived from actions marked `publicAgent`. An app that marks
139
- none publishes `"skills": []` and peers cannot see what it offers, even though
140
- delegation still works. Mark the actions a peer should be able to see and
141
- invoke directly; leave the rest internal.
139
+ none publishes `"skills": []`, but natural-language delegation still works
140
+ because the receiving agent loads its own instructions, skills, data
141
+ dictionary, credentials, and tools. Mark only stable machine contracts that a
142
+ peer may intentionally invoke directly; leave implementation actions internal.
142
143
 
143
144
  ## Calling another agent
144
145
 
146
+ Natural-language delegation is the default for agent-to-agent work. Tell the
147
+ receiving specialist the objective, relevant IDs/date range, and desired result
148
+ shape. The receiver owns source selection, schemas, queries, joins, SQL, and
149
+ provider-specific details. Do not switch to a direct action merely because a
150
+ delegated run is slow or flaky; fix the A2A path instead.
151
+
145
152
  ### Simple: `callAgent()` (text in, text out)
146
153
 
147
154
  ```ts
@@ -162,10 +169,12 @@ production. `resolveA2ACallerAuth()` pulls the authenticated email, org domain,
162
169
  and org secret out of request context; pass them explicitly only from CLI or
163
170
  cron, where there is no request.
164
171
 
165
- ### Fast bounded read: `invokeAgentAction()`
172
+ ### Explicit machine-contract exception: `invokeAgentAction()`
166
173
 
167
- When the caller knows the exact receiver-owned read action and arguments, skip
168
- the receiver's model loop:
174
+ Use direct invocation only when a trusted integration already specifies the
175
+ exact receiver-owned semantic read action and complete arguments. It is an
176
+ optional machine API, not an agent-performance shortcut or fallback for failed
177
+ message delegation:
169
178
 
170
179
  ```ts
171
180
  import { invokeAgentAction } from "@agent-native/core/a2a";
@@ -184,7 +193,9 @@ The receiver still owns schema validation, credentials, access scoping, audit
184
193
  attribution, and exposure policy. Direct invocation is available only for
185
194
  cataloged, authenticated, explicitly exposed read-only actions that do not
186
195
  require approval. Its JWT is audience-bound to the receiving app. Use normal
187
- message delegation for planning, synthesis, multi-step work, or mutations.
196
+ message delegation whenever the receiver must interpret the request, choose a
197
+ source, consult its data dictionary, plan, synthesize, join data, or perform a
198
+ multi-step workflow.
188
199
 
189
200
  Inside an agent loop, `call-agent` exposes the same path with `action` + `input`;
190
201
  omit `message` and `taskId` in that mode.
@@ -36,11 +36,11 @@ The main agent should discover available siblings before assuming capability:
36
36
  `discoverWorkspaceAgents()`. It carries one line per app — enough to know a
37
37
  sibling exists, not enough to know what it can do.
38
38
  - Use the built-in `describe-workspace-apps` tool for actual capability.
39
- It reads each peer's live `/.well-known/agent-card.json` and returns their
40
- callable action names; pass `app: "<id>"` for one peer's full list with
41
- descriptions. Call it before building something a sibling may already own,
42
- before telling a user what is or is not possible across apps, and whenever
43
- someone asks which app to use for a job.
39
+ It reads each peer's live `/.well-known/agent-card.json` and returns its
40
+ purpose plus any optional stable machine contracts; pass `app: "<id>"` for
41
+ one peer's full description. Call it before building something a sibling may
42
+ already own, before telling a user what is or is not possible across apps,
43
+ and whenever someone asks which app to use for a job.
44
44
  - Never hand-maintain a markdown or code list of what each workspace app does.
45
45
  A stale catalog is worse than none: it reads as authoritative while pointing
46
46
  at capabilities that moved or vanished. An app's purpose belongs in its own
@@ -49,17 +49,18 @@ The main agent should discover available siblings before assuming capability:
49
49
  actions — both of which `describe-workspace-apps` reads live.
50
50
  - UI shells, headless surfaces, and scripts can read the same registry through
51
51
  `GET /_agent-native/agents?selfAppId=<app-id>`.
52
- - Code or CLI callers should use the first-class A2A invocation path
53
- (`invokeAgent()` / `agent-native invoke`) when they need to call an app by
54
- id, name, or URL.
52
+ - Code or CLI callers should use the first-class message-based A2A invocation
53
+ path (`invokeAgent()` / `agent-native invoke`) when they need to ask an app
54
+ by id, name, or URL.
55
55
  - In the agent loop, use `call-agent` with the sibling app id when another app
56
56
  owns the work or data. Never call the current app through `call-agent`; use
57
57
  local actions instead.
58
- - When the exact sibling-owned read action and input are already known, use
59
- `invokeAgentAction()` or `call-agent` with `action` + `input`. This preserves
60
- the receiver's credentials and access checks while skipping its second model
61
- loop. Use prompt-based `invokeAgent()` only when the sibling must reason,
62
- synthesize, mutate, or perform a multi-step workflow.
58
+ - Send a natural-language objective by default so the sibling can apply its own
59
+ instructions, skills, schemas, data dictionary, credentials, and tools.
60
+ `invokeAgentAction()` or `call-agent` with `action` + `input` is only for an
61
+ explicit stable semantic read contract whose complete input is already known.
62
+ Never expose or call an implementation action as a workaround for slow or
63
+ failed message delegation.
63
64
 
64
65
  Send narrow prompts to siblings: name the exact question, relevant ids, date
65
66
  ranges, and expected output shape. Preserve returned ids and URLs verbatim.
@@ -112,7 +113,7 @@ For a sales-intelligence workspace, split the job into small apps:
112
113
  | `hubspot-pipeline` | CRM deals, contacts, companies, associations | `provider-api-request` with provider `hubspot` |
113
114
  | `gong-evidence` | Calls, transcripts, snippets, speaker evidence | `provider-api-request` with provider `gong` |
114
115
  | `knowledge-base` | Internal docs, pricing rules, playbooks | local search/read actions |
115
- | `deal-brief` | Orchestration and final brief | `invokeAgent()` or `call-agent` to the three apps |
116
+ | `deal-brief` | Orchestration and final brief | message-based `invokeAgent()` or `call-agent` to the three apps |
116
117
 
117
118
  Flow: `deal-brief` asks `hubspot-pipeline` for the target account and open
118
119
  deals, asks `gong-evidence` for recent transcript evidence about those deals,
@@ -223,14 +223,21 @@ Core routes plugin mounts these under `/_agent-native/secrets/` automatically:
223
223
 
224
224
  - Values are stored in `app_secrets` (created on-demand; no migration
225
225
  needed).
226
- - Encrypted at rest with AES-256-GCM. Key material is derived from
227
- `<APP_NAME>_SECRETS_ENCRYPTION_KEY` when set (for example,
226
+ - Values are encrypted at rest with AES-256-GCM. Generic app-local secrets
227
+ prefer `<APP_NAME>_SECRETS_ENCRYPTION_KEY` (for example,
228
228
  `ANALYTICS_SECRETS_ENCRYPTION_KEY`), then `SECRETS_ENCRYPTION_KEY`, then
229
- `BETTER_AUTH_SECRET`. App-scoped keys are useful when a local multi-app
230
- workspace connects one app to its production database without replacing the
231
- shared local authentication secret. If none is set, the framework uses a
232
- machine-local fallback and logs a one-time warning set stable key material
233
- in production and in every runtime that reads the same encrypted data.
229
+ `BETTER_AUTH_SECRET`.
230
+ - Workspace-shared `app_secrets` prefer `SECRETS_ENCRYPTION_KEY`, then a
231
+ purpose-derived key from `A2A_SECRET`. Better Auth and app-scoped keys remain
232
+ legacy read candidates; a successful legacy decrypt is compare-and-swap
233
+ migrated to the preferred shared key without changing the row timestamp.
234
+ - Set the same stable `SECRETS_ENCRYPTION_KEY` in every app that reads a shared
235
+ vault. If the vault relies on `A2A_SECRET`, rotating A2A material also rotates
236
+ its encryption key. Before rotating A2A, add the stable vault key everywhere
237
+ and read/migrate every existing row while the old A2A material is still
238
+ available.
239
+ - If no configured key material exists, development uses a machine-local
240
+ fallback and logs a one-time warning. Production fails closed.
234
241
 
235
242
  ## Ad-hoc Keys
236
243
 
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/vite/client.ts"],"names":[],"mappings":"AAOA,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAIV,MAAM,EACN,UAAU,EACX,MAAM,MAAM,CAAC;AAsBd,OAAO,EAEL,KAAK,0BAA0B,EAChC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,kCAAkC,CAAC;AAsN1C;;;;;;;;;;;;;GAaG;AACH,iBAAS,gCAAgC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAoFhE;AA2RD;;;;;GAKG;AACH,iBAAS,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAgE9C;AAED;;;;;;GAMG;AACH,iBAAS,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAiCvD;AAgDD;;;;;GAKG;AACH,iBAAS,qBAAqB,CAC5B,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,iCAAiC,GACtE,CAAC"}
@@ -1694,6 +1694,7 @@ function ssrStubPlugin(packages) {
1694
1694
  "getIsolationScope",
1695
1695
  "init",
1696
1696
  "isChangeOrigin",
1697
+ "isNodeEmpty",
1697
1698
  "mergeAttributes",
1698
1699
  "renderToString",
1699
1700
  "applyUpdate",