@agent-native/core 0.115.4 → 0.116.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (408) hide show
  1. package/agent-native.eject.json +1 -0
  2. package/corpus/README.md +3 -3
  3. package/corpus/core/CHANGELOG.md +28 -0
  4. package/corpus/core/agent-native.eject.json +1 -0
  5. package/corpus/core/docs/AGENTS.md +1 -1
  6. package/corpus/core/docs/content/agent-mentions.mdx +2 -2
  7. package/corpus/core/docs/content/{workspace.mdx → agent-resources.mdx} +1 -7
  8. package/corpus/core/docs/content/agent-teams.mdx +4 -4
  9. package/corpus/core/docs/content/dispatch.mdx +10 -10
  10. package/corpus/core/docs/content/drop-in-agent.mdx +4 -4
  11. package/corpus/core/docs/content/external-agents.mdx +1 -1
  12. package/corpus/core/docs/content/frames.mdx +1 -1
  13. package/corpus/core/docs/content/integrations.mdx +13 -2
  14. package/corpus/core/docs/content/key-concepts.mdx +2 -2
  15. package/corpus/core/docs/content/mcp-clients.mdx +7 -1
  16. package/corpus/core/docs/content/multi-app-workspace.mdx +3 -3
  17. package/corpus/core/docs/content/real-time-collaboration.mdx +33 -15
  18. package/corpus/core/docs/content/recurring-jobs.mdx +7 -7
  19. package/corpus/core/docs/content/skills-guide.mdx +4 -4
  20. package/corpus/core/docs/content/template-brain.mdx +1 -1
  21. package/corpus/core/docs/content/toolkit-collaboration.mdx +1 -1
  22. package/corpus/core/docs/content/using-your-agent.mdx +1 -1
  23. package/corpus/core/docs/content/what-is-agent-native.mdx +4 -4
  24. package/corpus/core/docs/content/workspace-management.mdx +4 -4
  25. package/corpus/core/package.json +1 -1
  26. package/corpus/core/src/agent/production-agent.ts +13 -3
  27. package/corpus/core/src/cli/doctor.ts +6 -1
  28. package/corpus/core/src/client/AgentPanel.tsx +79 -41
  29. package/corpus/core/src/client/AssistantChat.tsx +71 -25
  30. package/corpus/core/src/client/FeedbackButton.tsx +33 -7
  31. package/corpus/core/src/client/MultiTabAssistantChat.tsx +6 -8
  32. package/corpus/core/src/client/agent-chat-adapter.ts +11 -2
  33. package/corpus/core/src/client/agent-page/AgentTabFrame.tsx +22 -3
  34. package/corpus/core/src/client/agent-page/AgentTabsPage.tsx +34 -19
  35. package/corpus/core/src/client/chat/message-components.tsx +43 -16
  36. package/corpus/core/src/client/chat/tool-call-display.tsx +30 -18
  37. package/corpus/core/src/client/chat/tool-render-registry.tsx +2 -0
  38. package/corpus/core/src/client/resources/McpConnectionSuggestion.tsx +19 -2
  39. package/corpus/core/src/client/resources/ResourceTree.tsx +7 -10
  40. package/corpus/core/src/client/resources/ResourcesPanel.tsx +33 -70
  41. package/corpus/core/src/client/resources/mcp-connection-resume.ts +107 -0
  42. package/corpus/core/src/client/resources/mcp-integration-catalog.ts +65 -12
  43. package/corpus/core/src/client/resources/mcp-integration-logos.ts +4 -0
  44. package/corpus/core/src/client/sse-event-processor.ts +50 -14
  45. package/corpus/core/src/client/use-db-sync.ts +16 -6
  46. package/corpus/core/src/connections/catalog.ts +7 -1
  47. package/corpus/core/src/eject/remote-mcp-presets.ts +37 -5
  48. package/corpus/core/src/guards/explicit-collab-access.ts +229 -0
  49. package/corpus/core/src/guards/index.ts +1 -0
  50. package/corpus/core/src/localization/default-messages.ts +54 -5
  51. package/corpus/core/src/mcp/connect-route.ts +34 -51
  52. package/corpus/core/src/provider-api/index.ts +1 -1
  53. package/corpus/core/src/server/collab-plugin.ts +137 -18
  54. package/corpus/core/src/server/index.ts +2 -0
  55. package/corpus/core/src/styles/agent-native.css +40 -0
  56. package/corpus/core/src/templates/default/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  57. package/corpus/core/src/templates/default/.agents/skills/real-time-collab/SKILL.md +35 -13
  58. package/corpus/core/src/templates/default/.agents/skills/real-time-sync/SKILL.md +1 -1
  59. package/corpus/core/src/templates/headless/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  60. package/corpus/core/src/templates/workspace-core/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  61. package/corpus/core/src/templates/workspace-core/.agents/skills/real-time-collab/SKILL.md +35 -13
  62. package/corpus/core/src/templates/workspace-core/.agents/skills/real-time-sync/SKILL.md +1 -1
  63. package/corpus/core/src/templates/workspace-core/.agents/skills/voice-transcription/SKILL.md +12 -8
  64. package/corpus/templates/analytics/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  65. package/corpus/templates/analytics/.agents/skills/real-time-sync/SKILL.md +1 -1
  66. package/corpus/templates/analytics/AGENTS.md +7 -2
  67. package/corpus/templates/analytics/actions/export-dashboard-panel-to-google-sheet.ts +144 -0
  68. package/corpus/templates/analytics/app/components/layout/Layout.tsx +7 -88
  69. package/corpus/templates/analytics/app/components/layout/Sidebar.tsx +34 -37
  70. package/corpus/templates/analytics/app/global.css +0 -4
  71. package/corpus/templates/analytics/app/hooks/use-navigation-state.ts +2 -7
  72. package/corpus/templates/analytics/app/i18n-data.ts +107 -0
  73. package/corpus/templates/analytics/app/lib/data-source-status.ts +9 -0
  74. package/corpus/templates/analytics/app/lib/sql-query.ts +1 -2
  75. package/corpus/templates/analytics/app/pages/Ask.tsx +2 -7
  76. package/corpus/templates/analytics/app/pages/DataSources.tsx +48 -0
  77. package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/SqlChartCard.tsx +59 -0
  78. package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/index.tsx +2 -0
  79. package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/report-panel-window.ts +3 -1
  80. package/corpus/templates/analytics/changelog/2026-07-22-clear-background-chat-progress.md +6 -0
  81. package/corpus/templates/analytics/changelog/2026-07-22-daily-dashboard-email-query-batches.md +6 -0
  82. package/corpus/templates/analytics/changelog/2026-07-22-export-table-panels-directly-to-google-sheets.md +6 -0
  83. package/corpus/templates/analytics/changelog/2026-07-22-full-page-chat-keeps-the-active-conversation-when-moving-to-.md +6 -0
  84. package/corpus/templates/analytics/changelog/2026-07-22-recent-chats-can-expand-in-the-sidebar.md +6 -0
  85. package/corpus/templates/analytics/seeds/dashboards/agent-native-templates-first-party.json +8 -8
  86. package/corpus/templates/analytics/server/lib/canonical-first-party-dashboard-repair.ts +31 -0
  87. package/corpus/templates/analytics/server/lib/dashboard-report-subscriptions.ts +3 -5
  88. package/corpus/templates/analytics/server/lib/dashboard-report.ts +12 -0
  89. package/corpus/templates/analytics/server/lib/first-party-dashboard-repair.ts +3 -5
  90. package/corpus/templates/analytics/server/lib/first-party-metric-catalog.ts +150 -21
  91. package/corpus/templates/analytics/server/lib/google-sheets-export.ts +188 -0
  92. package/corpus/templates/analytics/server/lib/provider-api.ts +7 -2
  93. package/corpus/templates/analytics/server/plugins/collab.ts +6 -3
  94. package/corpus/templates/analytics/shared/sql-query-limits.ts +1 -0
  95. package/corpus/templates/assets/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  96. package/corpus/templates/assets/.agents/skills/real-time-collab/SKILL.md +35 -13
  97. package/corpus/templates/assets/.agents/skills/real-time-sync/SKILL.md +1 -1
  98. package/corpus/templates/assets/app/components/layout/Layout.tsx +1 -1
  99. package/corpus/templates/assets/app/components/layout/Sidebar.tsx +54 -62
  100. package/corpus/templates/assets/app/hooks/use-navigation-state.ts +2 -6
  101. package/corpus/templates/assets/app/routes/_index.tsx +8 -5
  102. package/corpus/templates/assets/changelog/2026-07-22-full-page-chat-keeps-the-active-conversation-when-moving-to-.md +6 -0
  103. package/corpus/templates/assets/changelog/2026-07-22-recent-chats-expand-from-a-compact-list.md +6 -0
  104. package/corpus/templates/brain/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  105. package/corpus/templates/brain/.agents/skills/real-time-sync/SKILL.md +1 -1
  106. package/corpus/templates/brain/actions/rotate-source-ingest-token.ts +77 -0
  107. package/corpus/templates/brain/app/components/layout/Layout.tsx +5 -1
  108. package/corpus/templates/brain/app/components/layout/Sidebar.tsx +38 -51
  109. package/corpus/templates/brain/app/hooks/use-navigation-state.ts +2 -9
  110. package/corpus/templates/brain/app/i18n-data.ts +120 -0
  111. package/corpus/templates/brain/app/routes/sources.tsx +156 -5
  112. package/corpus/templates/brain/changelog/2026-07-22-chat-runs-always-end-with-an-answer.md +6 -0
  113. package/corpus/templates/brain/changelog/2026-07-22-clear-background-chat-progress.md +6 -0
  114. package/corpus/templates/brain/changelog/2026-07-22-compact-sidebar-footer.md +6 -0
  115. package/corpus/templates/brain/changelog/2026-07-22-full-page-chat-keeps-the-active-conversation-when-moving-to-.md +6 -0
  116. package/corpus/templates/brain/changelog/2026-07-22-long-chat-titles-stay-inside-the-sidebar.md +6 -0
  117. package/corpus/templates/brain/changelog/2026-07-22-new-clips-and-webhook-sources-now-show-their-secure-connecti.md +6 -0
  118. package/corpus/templates/brain/jobs/emit-netlify-brain-queue-cron.ts +125 -0
  119. package/corpus/templates/brain/netlify.toml +5 -1
  120. package/corpus/templates/brain/scripts/configure-prod-clips-source.ts +50 -0
  121. package/corpus/templates/brain/server/lib/capture-sanitization.ts +64 -6
  122. package/corpus/templates/brain/server/plugins/agent-chat.ts +4 -0
  123. package/corpus/templates/brain/server/plugins/brain-jobs.ts +1 -0
  124. package/corpus/templates/brain/server/routes/api/brain/queue/run.post.ts +55 -0
  125. package/corpus/templates/calendar/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  126. package/corpus/templates/calendar/.agents/skills/real-time-sync/SKILL.md +1 -1
  127. package/corpus/templates/chat/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  128. package/corpus/templates/chat/.agents/skills/real-time-sync/SKILL.md +1 -1
  129. package/corpus/templates/chat/app/components/layout/Layout.tsx +1 -0
  130. package/corpus/templates/chat/app/components/layout/Sidebar.tsx +43 -67
  131. package/corpus/templates/chat/app/hooks/use-navigation-state.ts +2 -7
  132. package/corpus/templates/chat/app/routes/_index.tsx +8 -5
  133. package/corpus/templates/chat/changelog/2026-07-22-compact-sidebar-footer.md +6 -0
  134. package/corpus/templates/chat/changelog/2026-07-22-full-page-chat-keeps-the-active-conversation-when-moving-to-.md +6 -0
  135. package/corpus/templates/chat/changelog/2026-07-22-recent-chats-are-easier-to-scan-and-expand.md +6 -0
  136. package/corpus/templates/clips/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  137. package/corpus/templates/clips/AGENTS.md +9 -1
  138. package/corpus/templates/clips/actions/export-to-brain.ts +82 -6
  139. package/corpus/templates/clips/actions/request-transcript.ts +25 -14
  140. package/corpus/templates/clips/changelog/2026-07-22-clips-transcripts-now-retry-brain-export.md +5 -0
  141. package/corpus/templates/clips/changelog/2026-07-22-german-umlauts-and-other-non-ascii-characters-now-paste-corr.md +6 -0
  142. package/corpus/templates/clips/desktop/src-tauri/src/clips/mod.rs +26 -3
  143. package/corpus/templates/clips/jobs/emit-netlify-brain-export-cron.ts +118 -0
  144. package/corpus/templates/clips/netlify.toml +4 -1
  145. package/corpus/templates/clips/scripts/configure-prod-brain-export.ts +92 -0
  146. package/corpus/templates/clips/server/jobs/brain-export.ts +182 -0
  147. package/corpus/templates/clips/server/lib/brain-export-state.ts +42 -0
  148. package/corpus/templates/clips/server/lib/post-finalize-dispatch.ts +5 -1
  149. package/corpus/templates/clips/server/plugins/calendar-jobs.ts +2 -0
  150. package/corpus/templates/clips/server/register-secrets.ts +42 -0
  151. package/corpus/templates/clips/server/routes/api/_agent-native-background/post-finalize-worker.post.ts +10 -1
  152. package/corpus/templates/clips/server/routes/api/clips/brain-export/run.post.ts +45 -0
  153. package/corpus/templates/content/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  154. package/corpus/templates/content/.agents/skills/real-time-sync/SKILL.md +1 -1
  155. package/corpus/templates/content/app/components/sidebar/DocumentSidebar.tsx +1 -1
  156. package/corpus/templates/content/server/plugins/collab.ts +1 -1
  157. package/corpus/templates/crm/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  158. package/corpus/templates/crm/actions/_crm-data-program-actions.ts +15 -0
  159. package/corpus/templates/crm/actions/get-crm-dashboard-panel.ts +2 -0
  160. package/corpus/templates/crm/actions/run.ts +2 -6
  161. package/corpus/templates/crm/actions/update-crm-record.ts +4 -2
  162. package/corpus/templates/crm/app/components/layout/CrmLayout.tsx +6 -0
  163. package/corpus/templates/crm/changelog/2026-07-22-crm-field-validation-now-explains-which-fields-cannot-be-edi.md +6 -0
  164. package/corpus/templates/crm/changelog/2026-07-22-fixed-hubspot-contact-syncs-missing-records-updated-after-th.md +6 -0
  165. package/corpus/templates/crm/changelog/2026-07-22-fixed-pipeline-dashboard-panels-so-their-opportunity-data-lo.md +6 -0
  166. package/corpus/templates/crm/changelog/2026-07-22-full-page-chat-keeps-the-active-conversation-when-moving-to-.md +6 -0
  167. package/corpus/templates/crm/server/crm/hubspot-adapter.ts +4 -1
  168. package/corpus/templates/design/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  169. package/corpus/templates/design/app/components/layout/Sidebar.tsx +1 -1
  170. package/corpus/templates/design/server/plugins/collab.ts +11 -8
  171. package/corpus/templates/dispatch/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  172. package/corpus/templates/forms/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  173. package/corpus/templates/forms/.agents/skills/real-time-sync/SKILL.md +1 -1
  174. package/corpus/templates/forms/app/components/layout/Layout.tsx +1 -0
  175. package/corpus/templates/forms/app/components/layout/Sidebar.tsx +1 -1
  176. package/corpus/templates/forms/app/hooks/use-navigation-state.ts +2 -9
  177. package/corpus/templates/forms/app/root.tsx +1 -6
  178. package/corpus/templates/forms/changelog/2026-07-22-full-page-chat-keeps-the-active-conversation-when-moving-to-.md +6 -0
  179. package/corpus/templates/macros/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  180. package/corpus/templates/mail/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  181. package/corpus/templates/mail/.agents/skills/real-time-sync/SKILL.md +1 -1
  182. package/corpus/templates/mail/app/components/layout/AppLayout.tsx +2 -2
  183. package/corpus/templates/plan/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  184. package/corpus/templates/plan/.agents/skills/real-time-sync/SKILL.md +1 -1
  185. package/corpus/templates/plan/app/components/layout/Layout.tsx +5 -1
  186. package/corpus/templates/plan/app/components/layout/Sidebar.tsx +57 -72
  187. package/corpus/templates/plan/app/hooks/use-navigation-state.ts +2 -9
  188. package/corpus/templates/plan/app/lib/create-plan-routing.ts +2 -2
  189. package/corpus/templates/plan/app/pages/PlanChatPage.tsx +0 -1
  190. package/corpus/templates/plan/changelog/2026-07-22-compact-sidebar-footer.md +6 -0
  191. package/corpus/templates/plan/changelog/2026-07-22-full-page-chat-keeps-the-active-conversation-when-moving-to-.md +6 -0
  192. package/corpus/templates/plan/changelog/2026-07-22-recent-chats-and-sidebar-controls-are-more-compact.md +6 -0
  193. package/corpus/templates/plan/server/plugins/collab.ts +5 -2
  194. package/corpus/templates/slides/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  195. package/corpus/templates/slides/app/components/layout/Sidebar.tsx +1 -1
  196. package/corpus/templates/slides/server/plugins/collab.ts +11 -8
  197. package/corpus/templates/tasks/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  198. package/corpus/templates/tasks/.agents/skills/real-time-sync/SKILL.md +1 -1
  199. package/corpus/templates/tasks/app/components/layout/Sidebar.tsx +5 -22
  200. package/corpus/templates/tasks/changelog/2026-07-22-compact-sidebar-footer.md +6 -0
  201. package/corpus/toolkit/CHANGELOG.md +7 -0
  202. package/corpus/toolkit/README.md +12 -3
  203. package/corpus/toolkit/package.json +1 -1
  204. package/corpus/toolkit/src/chat-history/ChatHistoryRail.tsx +89 -0
  205. package/corpus/toolkit/src/chat-history/index.ts +5 -0
  206. package/corpus/toolkit/src/chat-history.css +59 -0
  207. package/corpus/toolkit/src/composer/RealtimeVoiceMode.tsx +106 -36
  208. package/corpus/toolkit/src/composer/VoiceButton.tsx +49 -0
  209. package/corpus/toolkit/src/composer/realtime-voice-audio-level.ts +2 -1
  210. package/corpus/toolkit/src/composer/useRealtimeVoiceMode.tsx +5 -3
  211. package/corpus/toolkit/src/styles.css +35 -0
  212. package/dist/agent/production-agent.d.ts.map +1 -1
  213. package/dist/agent/production-agent.js +13 -3
  214. package/dist/agent/production-agent.js.map +1 -1
  215. package/dist/cli/doctor.d.ts +1 -1
  216. package/dist/cli/doctor.d.ts.map +1 -1
  217. package/dist/cli/doctor.js +5 -2
  218. package/dist/cli/doctor.js.map +1 -1
  219. package/dist/client/AgentPanel.d.ts +1 -0
  220. package/dist/client/AgentPanel.d.ts.map +1 -1
  221. package/dist/client/AgentPanel.js +38 -18
  222. package/dist/client/AgentPanel.js.map +1 -1
  223. package/dist/client/AssistantChat.d.ts.map +1 -1
  224. package/dist/client/AssistantChat.js +55 -20
  225. package/dist/client/AssistantChat.js.map +1 -1
  226. package/dist/client/FeedbackButton.d.ts +4 -2
  227. package/dist/client/FeedbackButton.d.ts.map +1 -1
  228. package/dist/client/FeedbackButton.js +18 -2
  229. package/dist/client/FeedbackButton.js.map +1 -1
  230. package/dist/client/MultiTabAssistantChat.d.ts +1 -1
  231. package/dist/client/MultiTabAssistantChat.d.ts.map +1 -1
  232. package/dist/client/MultiTabAssistantChat.js +2 -3
  233. package/dist/client/MultiTabAssistantChat.js.map +1 -1
  234. package/dist/client/agent-chat-adapter.d.ts.map +1 -1
  235. package/dist/client/agent-chat-adapter.js +11 -3
  236. package/dist/client/agent-chat-adapter.js.map +1 -1
  237. package/dist/client/agent-page/AgentTabFrame.d.ts +3 -1
  238. package/dist/client/agent-page/AgentTabFrame.d.ts.map +1 -1
  239. package/dist/client/agent-page/AgentTabFrame.js +3 -2
  240. package/dist/client/agent-page/AgentTabFrame.js.map +1 -1
  241. package/dist/client/agent-page/AgentTabsPage.d.ts +2 -0
  242. package/dist/client/agent-page/AgentTabsPage.d.ts.map +1 -1
  243. package/dist/client/agent-page/AgentTabsPage.js +26 -15
  244. package/dist/client/agent-page/AgentTabsPage.js.map +1 -1
  245. package/dist/client/chat/message-components.d.ts +6 -1
  246. package/dist/client/chat/message-components.d.ts.map +1 -1
  247. package/dist/client/chat/message-components.js +17 -11
  248. package/dist/client/chat/message-components.js.map +1 -1
  249. package/dist/client/chat/tool-call-display.d.ts +11 -1
  250. package/dist/client/chat/tool-call-display.d.ts.map +1 -1
  251. package/dist/client/chat/tool-call-display.js +16 -17
  252. package/dist/client/chat/tool-call-display.js.map +1 -1
  253. package/dist/client/chat/tool-render-registry.d.ts +2 -0
  254. package/dist/client/chat/tool-render-registry.d.ts.map +1 -1
  255. package/dist/client/chat/tool-render-registry.js.map +1 -1
  256. package/dist/client/resources/McpConnectionSuggestion.d.ts.map +1 -1
  257. package/dist/client/resources/McpConnectionSuggestion.js +15 -1
  258. package/dist/client/resources/McpConnectionSuggestion.js.map +1 -1
  259. package/dist/client/resources/ResourceTree.d.ts.map +1 -1
  260. package/dist/client/resources/ResourceTree.js +3 -3
  261. package/dist/client/resources/ResourceTree.js.map +1 -1
  262. package/dist/client/resources/ResourcesPanel.d.ts +1 -0
  263. package/dist/client/resources/ResourcesPanel.d.ts.map +1 -1
  264. package/dist/client/resources/ResourcesPanel.js +34 -20
  265. package/dist/client/resources/ResourcesPanel.js.map +1 -1
  266. package/dist/client/resources/mcp-connection-resume.d.ts +11 -0
  267. package/dist/client/resources/mcp-connection-resume.d.ts.map +1 -0
  268. package/dist/client/resources/mcp-connection-resume.js +95 -0
  269. package/dist/client/resources/mcp-connection-resume.js.map +1 -0
  270. package/dist/client/resources/mcp-integration-catalog.d.ts +1 -0
  271. package/dist/client/resources/mcp-integration-catalog.d.ts.map +1 -1
  272. package/dist/client/resources/mcp-integration-catalog.js +63 -8
  273. package/dist/client/resources/mcp-integration-catalog.js.map +1 -1
  274. package/dist/client/resources/mcp-integration-logos.d.ts.map +1 -1
  275. package/dist/client/resources/mcp-integration-logos.js +4 -0
  276. package/dist/client/resources/mcp-integration-logos.js.map +1 -1
  277. package/dist/client/sse-event-processor.d.ts +5 -0
  278. package/dist/client/sse-event-processor.d.ts.map +1 -1
  279. package/dist/client/sse-event-processor.js +39 -13
  280. package/dist/client/sse-event-processor.js.map +1 -1
  281. package/dist/client/use-db-sync.d.ts +3 -2
  282. package/dist/client/use-db-sync.d.ts.map +1 -1
  283. package/dist/client/use-db-sync.js +17 -6
  284. package/dist/client/use-db-sync.js.map +1 -1
  285. package/dist/collab/routes.d.ts +1 -1
  286. package/dist/connections/catalog.d.ts +1 -1
  287. package/dist/connections/catalog.d.ts.map +1 -1
  288. package/dist/connections/catalog.js +7 -1
  289. package/dist/connections/catalog.js.map +1 -1
  290. package/dist/eject/remote-mcp-presets.d.ts.map +1 -1
  291. package/dist/eject/remote-mcp-presets.js +33 -3
  292. package/dist/eject/remote-mcp-presets.js.map +1 -1
  293. package/dist/guards/explicit-collab-access.d.ts +8 -0
  294. package/dist/guards/explicit-collab-access.d.ts.map +1 -0
  295. package/dist/guards/explicit-collab-access.js +214 -0
  296. package/dist/guards/explicit-collab-access.js.map +1 -0
  297. package/dist/guards/index.d.ts +1 -0
  298. package/dist/guards/index.d.ts.map +1 -1
  299. package/dist/guards/index.js +1 -0
  300. package/dist/guards/index.js.map +1 -1
  301. package/dist/localization/default-messages.d.ts +43 -0
  302. package/dist/localization/default-messages.d.ts.map +1 -1
  303. package/dist/localization/default-messages.js +48 -5
  304. package/dist/localization/default-messages.js.map +1 -1
  305. package/dist/mcp/connect-route.d.ts.map +1 -1
  306. package/dist/mcp/connect-route.js +34 -48
  307. package/dist/mcp/connect-route.js.map +1 -1
  308. package/dist/notifications/routes.d.ts +3 -3
  309. package/dist/observability/routes.d.ts +1 -1
  310. package/dist/progress/routes.d.ts +1 -1
  311. package/dist/provider-api/actions/custom-provider-registration.d.ts +11 -11
  312. package/dist/provider-api/actions/provider-api.d.ts +7 -7
  313. package/dist/provider-api/corpus-jobs.d.ts +2 -2
  314. package/dist/provider-api/index.js +1 -1
  315. package/dist/provider-api/index.js.map +1 -1
  316. package/dist/server/collab-plugin.d.ts +34 -3
  317. package/dist/server/collab-plugin.d.ts.map +1 -1
  318. package/dist/server/collab-plugin.js +65 -12
  319. package/dist/server/collab-plugin.js.map +1 -1
  320. package/dist/server/index.d.ts +1 -1
  321. package/dist/server/index.d.ts.map +1 -1
  322. package/dist/server/index.js.map +1 -1
  323. package/dist/styles/agent-native.css +40 -0
  324. package/dist/templates/chat/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  325. package/dist/templates/chat/.agents/skills/real-time-sync/SKILL.md +1 -1
  326. package/dist/templates/chat/app/components/layout/Layout.tsx +1 -0
  327. package/dist/templates/chat/app/components/layout/Sidebar.tsx +43 -67
  328. package/dist/templates/chat/app/hooks/use-navigation-state.ts +2 -7
  329. package/dist/templates/chat/app/routes/_index.tsx +8 -5
  330. package/dist/templates/chat/changelog/2026-07-22-compact-sidebar-footer.md +6 -0
  331. package/dist/templates/chat/changelog/2026-07-22-full-page-chat-keeps-the-active-conversation-when-moving-to-.md +6 -0
  332. package/dist/templates/chat/changelog/2026-07-22-recent-chats-are-easier-to-scan-and-expand.md +6 -0
  333. package/dist/templates/default/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  334. package/dist/templates/default/.agents/skills/real-time-collab/SKILL.md +35 -13
  335. package/dist/templates/default/.agents/skills/real-time-sync/SKILL.md +1 -1
  336. package/dist/templates/headless/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  337. package/dist/templates/workspace-core/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  338. package/dist/templates/workspace-core/.agents/skills/real-time-collab/SKILL.md +35 -13
  339. package/dist/templates/workspace-core/.agents/skills/real-time-sync/SKILL.md +1 -1
  340. package/dist/templates/workspace-core/.agents/skills/voice-transcription/SKILL.md +12 -8
  341. package/docs/AGENTS.md +1 -1
  342. package/docs/content/agent-mentions.mdx +2 -2
  343. package/docs/content/{workspace.mdx → agent-resources.mdx} +1 -7
  344. package/docs/content/agent-teams.mdx +4 -4
  345. package/docs/content/dispatch.mdx +10 -10
  346. package/docs/content/drop-in-agent.mdx +4 -4
  347. package/docs/content/external-agents.mdx +1 -1
  348. package/docs/content/frames.mdx +1 -1
  349. package/docs/content/integrations.mdx +13 -2
  350. package/docs/content/key-concepts.mdx +2 -2
  351. package/docs/content/mcp-clients.mdx +7 -1
  352. package/docs/content/multi-app-workspace.mdx +3 -3
  353. package/docs/content/real-time-collaboration.mdx +33 -15
  354. package/docs/content/recurring-jobs.mdx +7 -7
  355. package/docs/content/skills-guide.mdx +4 -4
  356. package/docs/content/template-brain.mdx +1 -1
  357. package/docs/content/toolkit-collaboration.mdx +1 -1
  358. package/docs/content/using-your-agent.mdx +1 -1
  359. package/docs/content/what-is-agent-native.mdx +4 -4
  360. package/docs/content/workspace-management.mdx +4 -4
  361. package/package.json +3 -3
  362. package/src/agent/production-agent.ts +13 -3
  363. package/src/cli/doctor.ts +6 -1
  364. package/src/client/AgentPanel.tsx +79 -41
  365. package/src/client/AssistantChat.tsx +71 -25
  366. package/src/client/FeedbackButton.tsx +33 -7
  367. package/src/client/MultiTabAssistantChat.tsx +6 -8
  368. package/src/client/agent-chat-adapter.ts +11 -2
  369. package/src/client/agent-page/AgentTabFrame.tsx +22 -3
  370. package/src/client/agent-page/AgentTabsPage.tsx +34 -19
  371. package/src/client/chat/message-components.tsx +43 -16
  372. package/src/client/chat/tool-call-display.tsx +30 -18
  373. package/src/client/chat/tool-render-registry.tsx +2 -0
  374. package/src/client/resources/McpConnectionSuggestion.tsx +19 -2
  375. package/src/client/resources/ResourceTree.tsx +7 -10
  376. package/src/client/resources/ResourcesPanel.tsx +33 -70
  377. package/src/client/resources/mcp-connection-resume.ts +107 -0
  378. package/src/client/resources/mcp-integration-catalog.ts +65 -12
  379. package/src/client/resources/mcp-integration-logos.ts +4 -0
  380. package/src/client/sse-event-processor.ts +50 -14
  381. package/src/client/use-db-sync.ts +16 -6
  382. package/src/connections/catalog.ts +7 -1
  383. package/src/eject/remote-mcp-presets.ts +37 -5
  384. package/src/guards/explicit-collab-access.ts +229 -0
  385. package/src/guards/index.ts +1 -0
  386. package/src/localization/default-messages.ts +54 -5
  387. package/src/mcp/connect-route.ts +34 -51
  388. package/src/provider-api/index.ts +1 -1
  389. package/src/server/collab-plugin.ts +137 -18
  390. package/src/server/index.ts +2 -0
  391. package/src/styles/agent-native.css +40 -0
  392. package/src/templates/chat/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  393. package/src/templates/chat/.agents/skills/real-time-sync/SKILL.md +1 -1
  394. package/src/templates/chat/app/components/layout/Layout.tsx +1 -0
  395. package/src/templates/chat/app/components/layout/Sidebar.tsx +43 -67
  396. package/src/templates/chat/app/hooks/use-navigation-state.ts +2 -7
  397. package/src/templates/chat/app/routes/_index.tsx +8 -5
  398. package/src/templates/chat/changelog/2026-07-22-compact-sidebar-footer.md +6 -0
  399. package/src/templates/chat/changelog/2026-07-22-full-page-chat-keeps-the-active-conversation-when-moving-to-.md +6 -0
  400. package/src/templates/chat/changelog/2026-07-22-recent-chats-are-easier-to-scan-and-expand.md +6 -0
  401. package/src/templates/default/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  402. package/src/templates/default/.agents/skills/real-time-collab/SKILL.md +35 -13
  403. package/src/templates/default/.agents/skills/real-time-sync/SKILL.md +1 -1
  404. package/src/templates/headless/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  405. package/src/templates/workspace-core/.agents/skills/agent-native-toolkit/SKILL.md +4 -1
  406. package/src/templates/workspace-core/.agents/skills/real-time-collab/SKILL.md +35 -13
  407. package/src/templates/workspace-core/.agents/skills/real-time-sync/SKILL.md +1 -1
  408. package/src/templates/workspace-core/.agents/skills/voice-transcription/SKILL.md +12 -8
@@ -17,6 +17,7 @@
17
17
  "context7",
18
18
  "sentry",
19
19
  "notion",
20
+ "granola",
20
21
  "semgrep",
21
22
  "linear",
22
23
  "atlassian",
package/corpus/README.md CHANGED
@@ -28,6 +28,6 @@ rg -n "defineAction|useActionQuery" node_modules/@agent-native/core/corpus
28
28
 
29
29
  ## Generated Counts
30
30
 
31
- - core files: 1527
32
- - toolkit files: 144
33
- - template files: 6369
31
+ - core files: 1529
32
+ - toolkit files: 145
33
+ - template files: 6410
@@ -1,5 +1,33 @@
1
1
  # @agent-native/core
2
2
 
3
+ ## 0.116.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 03a043e: Improve Agent Resources settings with contextual documentation links, cleaner file empty states, and file-name creation that defaults extensionless files to Markdown.
8
+ - 03a043e: Add explicit collaboration access modes for resource-scoped and intentionally
9
+ deployment-wide authenticated documents, with legacy compatibility and Doctor
10
+ guidance for implicit configurations.
11
+ - 03a043e: Add a catalog-driven in-chat MCP connection suggestion that recognizes Granola
12
+ and resumes the pending chat request after OAuth or direct connection setup.
13
+
14
+ ### Patch Changes
15
+
16
+ - 03a043e: Expose the Google Drive workspace connection and provider API to Analytics for Google Sheets exports.
17
+ - 03a043e: Make realtime voice the clear primary microphone action, remember the selected input mode, improve speech waveform responsiveness, and show a shine while the voice agent is working.
18
+ - 03a043e: Prevent reasoning messages from losing their assistant UI provider, and add a progressively disclosed recent-chat rail for app sidebars.
19
+ - 03a043e: Improve the MCP device authorization success message hierarchy by separating the confirmation title from the follow-up connection guidance.
20
+ - 03a043e: Keep page-chat controls clear of messages, continue shared sync in background tabs at a relaxed cadence, and make the latest tool visibly active until the turn finishes.
21
+ - 03a043e: Trim the MCP connection authorization page by removing redundant branding and status pills.
22
+ - 03a043e: Make template feedback controls opt in through `VITE_AGENT_NATIVE_FEEDBACK_URL` so cloned apps do not send feedback to Agent Native by default.
23
+ - 03a043e: Ensure interrupted or empty agent runs always end with a visible final response instead of a bare tool call.
24
+ - 03a043e: Keep the active chat tab fully visible while the right sidebar opens and its tab strip expands.
25
+ - Updated dependencies [03a043e]
26
+ - Updated dependencies [03a043e]
27
+ - Updated dependencies [03a043e]
28
+ - @agent-native/toolkit@0.9.1
29
+ - @agent-native/recap-cli@0.5.1
30
+
3
31
  ## 0.115.4
4
32
 
5
33
  ### Patch Changes
@@ -17,6 +17,7 @@
17
17
  "context7",
18
18
  "sentry",
19
19
  "notion",
20
+ "granola",
20
21
  "semgrep",
21
22
  "linear",
22
23
  "atlassian",
@@ -59,7 +59,7 @@ preserve public action, state, auth, and agent-chat runtime contracts.
59
59
  | Localize UI copy and language choices | `content/internationalization.md`, `content/client.md` |
60
60
  | Build headless or chat-first apps | `content/pure-agent-apps.md`, `content/agent-surfaces.md`, `content/using-your-agent.md` |
61
61
  | Add automations or scheduled work | `content/automations.md`, `content/recurring-jobs.md` |
62
- | Compose apps or call sibling agents | `content/a2a-protocol.md`, `content/multi-app-workspace.md`, `content/workspace.md` |
62
+ | Compose apps or call sibling agents | `content/a2a-protocol.md`, `content/multi-app-workspace.md`, `content/agent-resources.mdx` |
63
63
  | Expose tools to external agents | `content/external-agents.md`, `content/mcp-protocol.md`, `content/mcp-apps.md`, `content/mcp-clients.md` |
64
64
  | Add integrations, setup, or secrets | `content/onboarding.md`, `content/workspace-connections.md`, `content/security.md` |
65
65
  | Build extensions or custom widgets | `content/extensions.md`, `content/agent-web-surfaces.md` |
@@ -154,7 +154,7 @@ model: inherit
154
154
  You are a focused design agent.
155
155
  ```
156
156
 
157
- See [Agent Resources — Custom Agents](/docs/workspace#custom-agents) for the full format (including `tools`, `delegate-default`, and model overrides).
157
+ See [Agent Resources — Custom Agents](/docs/agent-resources#custom-agents) for the full format (including `tools`, `delegate-default`, and model overrides).
158
158
 
159
159
  You can create them from the Resources tab using:
160
160
 
@@ -240,4 +240,4 @@ Custom mention providers appear alongside the built-in agent and file providers
240
240
  - [**A2A Protocol**](/docs/a2a-protocol) — how connected-agent mentions are resolved over the wire
241
241
  - [**Agent Teams**](/docs/agent-teams) — spawn sub-agents and pass the `agent` profile parameter
242
242
  - [**Skills Guide**](/docs/skills-guide) — author the skills referenced with `/`
243
- - [**Agent Resources**](/docs/workspace#custom-agents) — the full custom-agent profile format
243
+ - [**Agent Resources**](/docs/agent-resources#custom-agents) — the full custom-agent profile format
@@ -5,12 +5,6 @@ description: "Claude-Code-level customization per user — skills, memory, instr
5
5
 
6
6
  # Agent Resources
7
7
 
8
- <Callout tone="info">
9
-
10
- **Which workspace doc?** This page covers **Agent Resources** — the agent customization layer. For the deployment shape (one monorepo, many apps) see [Multi-App Workspaces](/docs/multi-app-workspace); for governance (who reviews, approves, and owns what) see [Workspace Governance](/docs/workspace-management).
11
-
12
- </Callout>
13
-
14
8
  Every agent-native app ships with **agent resources**: the customization layer that makes the agent yours. It contains team instructions (`AGENTS.md`), shared learnings (`LEARNINGS.md`), personal structured memory (`memory/MEMORY.md`), skills the agent pulls in on demand, custom sub-agents, scheduled jobs, and connected MCP servers — everything you'd expect from a Claude Code / Codex setup.
15
9
 
16
10
  The twist: **it's SQL rows, not filesystem files.** Each user gets their own set of agent resources stored in the database. There's no dev-box to spin up, no container per user, no files to mount. A multi-tenant SaaS can give every user a fully-customizable agent for essentially free, because all of it is rows — personal memory, personal MCP servers, personal skills, personal sub-agents — and the shared codebase hosts all of them at once.
@@ -233,7 +227,7 @@ For example:
233
227
  - Avoid: unsupported superlatives and vague AI claims
234
228
  ```
235
229
 
236
- ## Resources Tab {#workspace-panel}
230
+ ## Resources Tab {#resources-tab}
237
231
 
238
232
  The agent panel includes a **Resources** tab alongside Chat and CLI. It shows a folder-organized tree of all resources, an inline editor for any text file (Markdown, JSON, YAML, plain text), and the `+` menu's typed creation flows (Files, Skills, Agents, Scheduled Tasks). Users can browse inherited workspace defaults and create/edit/delete personal or organization resources.
239
233
 
@@ -14,7 +14,7 @@ Agent Teams runs on the core run-manager: events stream and persist, aborts prop
14
14
  ## The mental model {#mental-model}
15
15
 
16
16
  - **Main chat** — the orchestrator. Reads your request, delegates. Rarely does heavy work itself.
17
- - **Sub-agents** — run with their own thread, their own system prompt, their own tool set. Each maps to a "custom agent" profile in [Agent Resources](/docs/workspace).
17
+ - **Sub-agents** — run with their own thread, their own system prompt, their own tool set. Each maps to a "custom agent" profile in [Agent Resources](/docs/agent-resources).
18
18
  - **Chips** — the rich preview card that appears inline in the main chat, showing the sub-agent's current step, streaming output, and final summary. Collapsed by default; expands to the full conversation on click.
19
19
  - **Bidirectional messaging** — the main agent can send follow-ups to a running sub-agent; a sub-agent can message back when it hits an ambiguous point.
20
20
 
@@ -105,7 +105,7 @@ Three ways to kick off a sub-agent, from least to most explicit:
105
105
 
106
106
  The user types `@agent-name` in the chat composer. A dropdown of workspace sub-agents appears. Selecting one inserts a chip; on submit the main agent delegates the message to that sub-agent.
107
107
 
108
- Custom agents live in agent resources at `agents/<slug>.md` — a Markdown file with YAML frontmatter. See [Custom Agents](/docs/workspace#custom-agents) for the format.
108
+ Custom agents live in agent resources at `agents/<slug>.md` — a Markdown file with YAML frontmatter. See [Custom Agents](/docs/agent-resources#custom-agents) for the format.
109
109
 
110
110
  ### 2. The main agent delegates automatically {#auto-delegate}
111
111
 
@@ -247,7 +247,7 @@ interface AgentTask {
247
247
 
248
248
  ## Custom agent profiles {#profiles}
249
249
 
250
- Sub-agents map to custom agent profiles — Markdown files at `agents/<slug>.md` in agent resources that appear in the `@mention` dropdown and serve as delegation targets. [Agent Resources — Custom Agents](/docs/workspace#custom-agents) owns the full format (frontmatter, `tools`, `delegate-default`, model overrides).
250
+ Sub-agents map to custom agent profiles — Markdown files at `agents/<slug>.md` in agent resources that appear in the `@mention` dropdown and serve as delegation targets. [Agent Resources — Custom Agents](/docs/agent-resources#custom-agents) owns the full format (frontmatter, `tools`, `delegate-default`, model overrides).
251
251
 
252
252
  ## Delegation depth guard {#depth-guard}
253
253
 
@@ -326,6 +326,6 @@ When a sub-agent is at or below the cap, the framework injects a line into its r
326
326
 
327
327
  ## What's next
328
328
 
329
- - [**Agent Resources — Custom Agents**](/docs/workspace#custom-agents) — the profile format
329
+ - [**Agent Resources — Custom Agents**](/docs/agent-resources#custom-agents) — the profile format
330
330
  - [**A2A Protocol**](/docs/a2a-protocol) — when the "sub-agent" lives in a different app entirely
331
331
  - [**Actions**](/docs/actions) — the tools a sub-agent calls
@@ -91,15 +91,15 @@ If you're running a single template standalone, you don't need Dispatch — each
91
91
 
92
92
  Seven capabilities, all sitting on top of the same workspace database the other apps use:
93
93
 
94
- | Capability | What it gives you | Set it up |
95
- | ------------------------ | ------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
96
- | **Central inbox** | Slack, email, Telegram, WhatsApp all reach one agent with shared memory + tools | **Settings → Messaging** ([Messaging](/docs/messaging)) |
97
- | **Secret vault** | Store each credential once; rotate in one place across every app | **Vault** + access mode (all-apps or manual) |
98
- | **Cross-app delegation** | Routes a request to the right specialist app over A2A and replies in-thread | Automatic ([A2A](/docs/a2a-protocol)) |
99
- | **Unified MCP gateway** | One MCP connector for external agents reaches every granted workspace app | [External Agents](/docs/external-agents) |
100
- | **Workspace resources** | Author skills/instructions/profiles once; apps inherit them at runtime | **Resources** ([Agent Resources](/docs/workspace#global-resources)) |
101
- | **Dreams** | Reviews past runs/feedback and proposes durable improvements for you to approve | **Dreams** tab |
102
- | **Approval flow** | Gate sensitive runtime changes behind inline admin review | **dispatch approval policy** |
94
+ | Capability | What it gives you | Set it up |
95
+ | ------------------------ | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
96
+ | **Central inbox** | Slack, email, Telegram, WhatsApp all reach one agent with shared memory + tools | **Settings → Messaging** ([Messaging](/docs/messaging)) |
97
+ | **Secret vault** | Store each credential once; rotate in one place across every app | **Vault** + access mode (all-apps or manual) |
98
+ | **Cross-app delegation** | Routes a request to the right specialist app over A2A and replies in-thread | Automatic ([A2A](/docs/a2a-protocol)) |
99
+ | **Unified MCP gateway** | One MCP connector for external agents reaches every granted workspace app | [External Agents](/docs/external-agents) |
100
+ | **Workspace resources** | Author skills/instructions/profiles once; apps inherit them at runtime | **Resources** ([Agent Resources](/docs/agent-resources#global-resources)) |
101
+ | **Dreams** | Reviews past runs/feedback and proposes durable improvements for you to approve | **Dreams** tab |
102
+ | **Approval flow** | Gate sensitive runtime changes behind inline admin review | **dispatch approval policy** |
103
103
 
104
104
  Each is detailed below.
105
105
 
@@ -134,7 +134,7 @@ The single MCP connector URL external agents add (e.g. `https://dispatch.agent-n
134
134
 
135
135
  Skills, guardrail instructions, agent profiles, and reference resources can be authored once in Dispatch and inherited by the rest of the workspace. Resources with **All apps** scope are global: Dispatch stores them once at workspace scope, and every app agent reads them at runtime. They are not copied into each app, and there is no manual workspace-resource sync step. App shared resources and personal resources can override or narrow the workspace defaults locally.
136
136
 
137
- See [Agent Resources — Global resources](/docs/workspace#global-resources) for the canonical path table, starter pack, and override model.
137
+ See [Agent Resources — Global resources](/docs/agent-resources#global-resources) for the canonical path table, starter pack, and override model.
138
138
 
139
139
  MCP server resources use JSON and are intentionally HTTP-only. Store tokens in
140
140
  Dispatch Vault, grant or sync those keys to the target apps, and reference them
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  title: "Drop-in Agent"
3
- description: "Mount the agent chat + workspace into any React app with <AgentPanel>, <AgentSidebar>, and sendToAgentChat()."
3
+ description: "Mount the agent chat + resources into any React app with <AgentPanel>, <AgentSidebar>, and sendToAgentChat()."
4
4
  ---
5
5
 
6
6
  # Drop-in Agent
@@ -47,7 +47,7 @@ All of these are exported from `@agent-native/core/client`.
47
47
  </div>
48
48
  <div class="diagram-node panel">
49
49
  Agent panel<br /><small class="diagram-muted"
50
- >chat &middot; CLI &middot; workspace</small
50
+ >chat &middot; CLI &middot; resources</small
51
51
  >
52
52
  </div>
53
53
  </div>
@@ -170,7 +170,7 @@ export default function AgentRoute() {
170
170
  }
171
171
  ```
172
172
 
173
- `<AgentPanel>` gives you the raw tabs (Chat / CLI / Workspace) without the sidebar wrapper, the collapse button, or any state persistence. Put it wherever you want; you handle the layout.
173
+ `<AgentPanel>` gives you the raw tabs (Chat / CLI / Resources) without the sidebar wrapper, the collapse button, or any state persistence. Put it wherever you want; you handle the layout.
174
174
 
175
175
  ### Selected props
176
176
 
@@ -337,5 +337,5 @@ The user sees a chat button in the header, can open it, and can talk to the agen
337
337
 
338
338
  - [**Actions**](/docs/actions) — `defineAction()` and `useActionMutation()`
339
339
  - [**Context Awareness**](/docs/context-awareness) — selection, navigation, view-screen
340
- - [**Agent Resources**](/docs/workspace) — what the Resources tab contains (skills, memory, MCP servers, scheduled jobs)
340
+ - [**Agent Resources**](/docs/agent-resources) — what the Resources tab contains (skills, memory, MCP servers, scheduled jobs)
341
341
  - [**Voice Input**](/docs/voice-input) — the microphone in the chat composer
@@ -90,7 +90,7 @@ The identity rule is the safety hinge: the link is just `view` + record ids + fi
90
90
  - **Your own runtime behind Agent-Native chat:** see [Agent Surfaces](/docs/agent-surfaces#byo-agent) and [Native Chat UI](/docs/native-chat-ui#byo-agent-runtimes) when an agent built with another framework should power `<AssistantChat runtime={...}>`.
91
91
  - **Your app consuming MCP tools:** see [MCP Clients](/docs/mcp-clients) when an agent-native app needs to call tools exposed by another MCP server.
92
92
  - **Another app or agent via A2A:** use [Agent Mentions](/docs/agent-mentions) and [A2A](/docs/a2a-protocol) when agent-native apps should discover and delegate to each other.
93
- - **Local custom sub-agents:** use [Agent Resources](/docs/workspace) when you want custom agent profiles inside the app's own agent resources.
93
+ - **Local custom sub-agents:** use [Agent Resources](/docs/agent-resources) when you want custom agent profiles inside the app's own agent resources.
94
94
 
95
95
  ## Easy setup {#easy-setup}
96
96
 
@@ -79,7 +79,7 @@ component in dev and prod.
79
79
 
80
80
  - Exported as `AgentPanel` from `@agent-native/core/client`, with a
81
81
  production-only variant `ProductionAgentPanel`.
82
- - Provides the full Chat / CLI / Workspace surface, so the agent input stays on
82
+ - Provides the full Chat / CLI / Resources surface, so the agent input stays on
83
83
  the shared composer stack used everywhere else in the framework.
84
84
  - Reads `application_state.navigation` every turn, so it already knows which
85
85
  view you're in and what's selected — you don't have to re-explain "this".
@@ -7,7 +7,7 @@ search: "integrations directory MCP connectors OAuth manual setup restricted pro
7
7
  # Connect your stack
8
8
 
9
9
  Agent-Native apps can use the tools your team already works in. This directory
10
- mirrors the framework's current remote MCP catalog: 25 provider presets that
10
+ mirrors the framework's current remote MCP catalog: 26 provider presets that
11
11
  can be discovered from the composer and Workspace Resources surfaces. It also
12
12
  explains the separate reusable workspace-connection and provider-API layers so
13
13
  you can choose the connection path that matches your product.
@@ -39,7 +39,7 @@ These self-hosted provider marks keep the directory fast and deployable
39
39
  without a third-party logo CDN. Connection details and status categories remain
40
40
  in the directory table below.
41
41
 
42
- <Diagram id="doc-block-integrations-wall" title="Remote MCP integrations" summary="A self-hosted logo wall of the 25 remote MCP presets currently shipped in the Agent-Native framework." frame="hide" renderMode="design">
42
+ <Diagram id="doc-block-integrations-wall" title="Remote MCP integrations" summary="A self-hosted logo wall of the 26 remote MCP presets currently shipped in the Agent-Native framework." frame="hide" renderMode="design">
43
43
 
44
44
  ```html
45
45
  <div class="integration-wall">
@@ -67,6 +67,16 @@ in the directory table below.
67
67
  <div><strong>Notion</strong><small>Knowledge &amp; docs</small></div>
68
68
  </div>
69
69
  </div>
70
+ <div class="integration-card">
71
+ <div class="integration-head">
72
+ <span class="integration-mark"
73
+ ><img src="/integration-logos/granola.svg" alt=""
74
+ /></span>
75
+ <div>
76
+ <strong>Granola</strong><small>Meetings &amp; transcripts</small>
77
+ </div>
78
+ </div>
79
+ </div>
70
80
  <div class="integration-card">
71
81
  <div class="integration-head">
72
82
  <span class="integration-mark"
@@ -327,6 +337,7 @@ but need provider or administrator setup before a generic connection can work.
327
337
  | [Context7](https://context7.com/) | No auth | Ready · verified | `https://mcp.context7.com/mcp` | Fetch current library and framework docs. |
328
338
  | [Sentry](https://docs.sentry.io/product/sentry-mcp/) | Header / token | Ready · preflight only | `https://mcp.sentry.dev/mcp` | Add a Sentry bearer token as the `Authorization` header. |
329
339
  | [Notion](https://developers.notion.com/guides/mcp/get-started-with-mcp) | OAuth | Ready · preflight only | `https://mcp.notion.com/mcp` | User OAuth; enterprise admins can audit or restrict MCP clients. |
340
+ | [Granola](https://docs.granola.ai/help-center/sharing/integrations/mcp) | OAuth | Ready · preflight only | `https://mcp.granola.ai/mcp` | Browser OAuth; review the meeting notes and transcripts the connected Granola account makes available. |
330
341
  | [Semgrep](https://github.com/semgrep/mcp#readme) | No auth | Ready · preflight only | `https://mcp.semgrep.ai/mcp` | Scan code for security findings. |
331
342
  | [Linear](https://linear.app/docs/mcp) | OAuth | Ready · preflight only | `https://mcp.linear.app/mcp` | Authorize the workspace and issue permissions required by the workflow. |
332
343
  | [Atlassian Rovo MCP](https://developer.atlassian.com/cloud/rovo-mcp/guides/getting-started/) | OAuth + provider setup | Restricted | `https://mcp.atlassian.com/v1/mcp/authv2` | Admins may need to trust the app origin and enable Rovo Read, Write, and Search permissions. |
@@ -418,7 +418,7 @@ Two architectural rules keep apps portable across databases and hosts:
418
418
 
419
419
  ## Agent Resources {#workspace}
420
420
 
421
- Every user gets a personal set of **agent resources** — instructions, skills, memory, custom sub-agents, scheduled jobs, and connected MCP servers — all stored in SQL rather than files. That makes Claude-Code-level customization viable inside multi-tenant SaaS without spinning up a container per user. See [Agent Resources](/docs/workspace).
421
+ Every user gets a personal set of **agent resources** — instructions, skills, memory, custom sub-agents, scheduled jobs, and connected MCP servers — all stored in SQL rather than files. That makes Claude-Code-level customization viable inside multi-tenant SaaS without spinning up a container per user. See [Agent Resources](/docs/agent-resources).
422
422
 
423
423
  ## Related building blocks {#building-blocks}
424
424
 
@@ -433,7 +433,7 @@ These sit on top of the same contract and have their own deep dives:
433
433
  Adopting the framework is valuable mostly because of what you stop having to build. The moment your app follows the six rules, you inherit:
434
434
 
435
435
  - **One action = every surface.** Every action defined with `defineAction()` is simultaneously an agent tool, a typesafe frontend hook (`useActionQuery` / `useActionMutation`), a framework-owned HTTP transport, a CLI command, an MCP tool for external clients, and an A2A tool for other agent-native apps. Optional `link` and `mcpApp` metadata add deep links and MCP Apps UI without a second implementation.
436
- - **A full set of agent resources per user.** Skills, shared `LEARNINGS.md`, personal `memory/MEMORY.md`, `AGENTS.md`, custom sub-agents, scheduled jobs, connected MCP servers — all SQL-backed, no dev-box required. See [Agent Resources](/docs/workspace).
436
+ - **A full set of agent resources per user.** Skills, shared `LEARNINGS.md`, personal `memory/MEMORY.md`, `AGENTS.md`, custom sub-agents, scheduled jobs, connected MCP servers — all SQL-backed, no dev-box required. See [Agent Resources](/docs/agent-resources).
437
437
  - **Drop-in React components.** `<AgentPanel />` and `<AgentSidebar />` render chat + resources anywhere in your app. See [Drop-in Agent](/docs/drop-in-agent).
438
438
  - **BYO agent chat runtimes.** The same chat UI can sit on top of OpenAI Agents, OpenAI Responses, Claude Agent SDK, Vercel AI SDK, AG-UI, or your own normalized HTTP stream. See [Native Chat UI](/docs/native-chat-ui#byo-agent-runtimes).
439
439
  - **Live sync between agent and UI.** Same-process writes stream immediately over `/_agent-native/events`; a lightweight poll keeps serverless, cron, and cross-process writes convergent. Mutating actions invalidate action-backed queries automatically, so agent-created records appear without a manual refresh. See [Live Sync](#polling-sync) below.
@@ -275,7 +275,7 @@ export default {
275
275
  };
276
276
  ```
277
277
 
278
- Preset ids are `context7`, `sentry`, `notion`, `semgrep`, `linear`,
278
+ Preset ids are `context7`, `sentry`, `notion`, `granola`, `semgrep`, `linear`,
279
279
  `atlassian`, `supabase`, `neon`, `stripe`, `cloudflare`, `gitlab`, `figma`,
280
280
  `vercel`, `github`, `slack`, `asana`, `hubspot`, `intercom`, `monday`,
281
281
  `webflow`, `paypal`, `box`, `netlify`, and `zapier`.
@@ -287,6 +287,12 @@ link to their official setup instructions, but do not show a misleading
287
287
  one-click connect button. Provider restrictions change over time, so verify
288
288
  the vendor setup note before enabling one in a production catalog.
289
289
 
290
+ When a chat request clearly names an unconnected catalog provider, the
291
+ composer and relevant completed responses can show an inline **Connect**
292
+ suggestion. OAuth and direct connections preserve that request in the current
293
+ tab and resume it after setup completes; long or abandoned requests expire
294
+ automatically.
295
+
290
296
  ### Atlassian / Jira
291
297
 
292
298
  The Atlassian preset uses Atlassian Rovo MCP's OAuth 2.1 endpoint,
@@ -7,7 +7,7 @@ description: "Host many agent-native apps in one monorepo with shared auth, RBAC
7
7
 
8
8
  <Callout tone="info">
9
9
 
10
- **Which workspace doc?** This page covers the **deployment shape** — one monorepo, many apps, shared auth and a unified deploy. For the agent customization layer (Agent Resources: `AGENTS.md`, memory, skills, custom agents) see [Agent Resources](/docs/workspace); for governance (who reviews, approves, and owns what) see [Workspace Governance](/docs/workspace-management).
10
+ **Which workspace doc?** This page covers the **deployment shape** — one monorepo, many apps, shared auth and a unified deploy. For the agent customization layer (Agent Resources: `AGENTS.md`, memory, skills, custom agents) see [Agent Resources](/docs/agent-resources); for governance (who reviews, approves, and owns what) see [Workspace Governance](/docs/workspace-management).
11
11
 
12
12
  </Callout>
13
13
 
@@ -222,7 +222,7 @@ Because the shared package is a `workspace:*` dependency, pnpm symlinks it into
222
222
 
223
223
  Use `packages/shared` for code-level defaults that should ship with the repo: plugins, shared actions, shared React code, filesystem `AGENTS.md`, and filesystem skills. Use Dispatch workspace resources for runtime-editable global context that admins want to manage without a code change.
224
224
 
225
- Dispatch resources are scoped **All apps** (every app inherits them at runtime, no copy or sync step) or **Selected apps** (granted per app for app-specific context). See [Agent Resources](/docs/workspace#global-resources) for the full resource-model table, path conventions, and the recommended starter pack.
225
+ Dispatch resources are scoped **All apps** (every app inherits them at runtime, no copy or sync step) or **Selected apps** (granted per app for app-specific context). See [Agent Resources](/docs/agent-resources#global-resources) for the full resource-model table, path conventions, and the recommended starter pack.
226
226
 
227
227
  ## Authentication and RBAC {#auth-and-rbac}
228
228
 
@@ -332,7 +332,7 @@ The workspace pattern is intentionally narrow. A few things it deliberately does
332
332
 
333
333
  ## What's next {#whats-next}
334
334
 
335
- - [Agent Resources](/docs/workspace) — the customization layer (`AGENTS.md`, `LEARNINGS.md`, personal memory, skills, custom agents) every app in the workspace shares.
335
+ - [Agent Resources](/docs/agent-resources) — the customization layer (`AGENTS.md`, `LEARNINGS.md`, personal memory, skills, custom agents) every app in the workspace shares.
336
336
  - [Workspace Governance](/docs/workspace-management) — branching, CODEOWNERS, PR review across many apps in one repo.
337
337
  - [Multi-Tenancy](/docs/multi-tenancy) — organizations, roles, and per-org data isolation.
338
338
  - [Cross-App SSO](/docs/cross-app-sso) — identity federation for separate-domain deploys.
@@ -240,10 +240,11 @@ export default defineConfig({
240
240
 
241
241
  ### 3. Add the collab server plugin
242
242
 
243
- Always set `resourceType` to the name of the shareable resource registered
244
- via `registerShareableResource`. Without it, collab push events are delivered
245
- to all authenticated users without document-level scoping, and the server
246
- logs a one-time warning.
243
+ Choose the access mode that matches the data model. Owned or shareable records
244
+ use `mode: "resource"` with the type registered via
245
+ `registerShareableResource`. Records deliberately shared with every
246
+ authenticated user on the deployment use explicit `mode: "all-authenticated"`.
247
+ Never invent a resource type merely to silence a warning.
247
248
 
248
249
  ```ts
249
250
  // server/plugins/collab.ts
@@ -253,10 +254,13 @@ export default createCollabPlugin({
253
254
  table: "documents",
254
255
  contentColumn: "content",
255
256
  idColumn: "id",
256
- resourceType: "document", // required for access-scoped event delivery
257
+ access: { mode: "resource", resourceType: "document" },
257
258
  });
258
259
  ```
259
260
 
261
+ Omitting `access` is a deprecated legacy behavior. It behaves like
262
+ `all-authenticated`, logs a warning, and is flagged by Doctor.
263
+
260
264
  ### 4. Use the client hook
261
265
 
262
266
  ```ts
@@ -590,23 +594,37 @@ plugin:
590
594
 
591
595
  ## Security {#security}
592
596
 
593
- ### Always set `resourceType`
597
+ ### Choose the access model explicitly
598
+
599
+ For owned or shareable resources, use the resource type registered through
600
+ `registerShareableResource`:
594
601
 
595
602
  ```ts
596
603
  createCollabPlugin({
597
- resourceType: "document", // the name passed to registerShareableResource
604
+ access: { mode: "resource", resourceType: "document" },
598
605
  });
599
606
  ```
600
607
 
601
- Without `resourceType` the plugin logs a warning and broadcasts collab push
602
- events to all authenticated users on the deployment without document-level
603
- scoping. Non-owners fall back to state-vector catch-up (safe but higher
604
- latency) regardless of whether `resourceType` is set.
608
+ For a resource intentionally shared deployment-wide, say so explicitly:
609
+
610
+ ```ts
611
+ createCollabPlugin({
612
+ access: { mode: "all-authenticated" },
613
+ });
614
+ ```
615
+
616
+ Do not invent a `resourceType` to make a warning disappear: resource mode is
617
+ valid only when the corresponding ownership and sharing model exists. Omitting
618
+ `access` is supported for legacy compatibility, behaves like
619
+ `all-authenticated`, logs a warning, and is flagged by Doctor.
620
+
621
+ Non-owner sharees with explicit access use state-vector catch-up through the
622
+ poll path (safe, higher latency).
605
623
 
606
624
  ### Access checks
607
625
 
608
- All collab routes require authentication. When `resourceType` is set, reads
609
- require at least viewer access and writes require editor access, using the
626
+ All collab routes require authentication. In resource mode, reads require at
627
+ least viewer access and writes require editor access, using the
610
628
  same `resolveAccess` / `assertAccess` helpers as the sharing system. A 404
611
629
  (not 403) is returned on access failures to avoid leaking document existence.
612
630
 
@@ -618,7 +636,7 @@ Override per-plugin:
618
636
 
619
637
  ```ts
620
638
  createCollabPlugin({
621
- resourceType: "document",
639
+ access: { mode: "resource", resourceType: "document" },
622
640
  maxPayloadBytes: 512 * 1024, // 512 KB
623
641
  });
624
642
  ```
@@ -726,7 +744,7 @@ Key properties:
726
744
  - [Real-Time Sync](/docs/client#usedbsync) — the `useDbSync` + `useChangeVersion`
727
745
  system that delivers the `updatedAt` bump driving editor reconciliation.
728
746
  - [Security](/docs/security) — `registerShareableResource`, `resolveAccess`,
729
- and `assertAccess` for the access model referenced by `resourceType`.
747
+ and `assertAccess` for resource-scoped collaboration.
730
748
  - [Sharing](/docs/sharing) — how documents are shared and how access is granted.
731
749
  - [Template: Content](/docs/template-content) — reference implementation of
732
750
  collaborative rich-text editing.
@@ -9,7 +9,7 @@ A **recurring job** is a prompt that runs on a cron schedule. It's how the agent
9
9
 
10
10
  Recurring jobs fire on a clock. To react to _events_ (a booking created, an email received) — same `jobs/` file format plus conditions — see [Automations](/docs/automations).
11
11
 
12
- Jobs live in [Agent Resources](/docs/workspace) at `jobs/<name>.md` — just a Markdown file with YAML frontmatter. No registration, no wiring. Drop the file in and the framework picks it up.
12
+ Jobs live in [Agent Resources](/docs/agent-resources) at `jobs/<name>.md` — just a Markdown file with YAML frontmatter. No registration, no wiring. Drop the file in and the framework picks it up.
13
13
 
14
14
  ## A job file {#job-file}
15
15
 
@@ -40,12 +40,12 @@ Jobs live in [Agent Resources](/docs/workspace) at `jobs/<name>.md` — just a M
40
40
  {
41
41
  lines: "7-12",
42
42
  label: "The prompt",
43
- note: "The body is just a prompt — the agent runs it at each firing with all its normal tools and workspace context.",
43
+ note: "The body is just a prompt — the agent runs it at each firing with all its normal tools and agent context.",
44
44
  },
45
45
  ]}
46
46
  />
47
47
 
48
- That's it. The body is a prompt the agent runs at each scheduled firing. The agent has access to all the same tools and workspace context it has in an interactive chat — actions, skills, memory, connected MCP servers, sub-agents.
48
+ That's it. The body is a prompt the agent runs at each scheduled firing. The agent has access to all the same tools and agent context it has in an interactive chat — actions, skills, memory, connected MCP servers, sub-agents.
49
49
 
50
50
  ## Frontmatter {#frontmatter}
51
51
 
@@ -54,7 +54,7 @@ That's it. The body is a prompt the agent runs at each scheduled firing. The age
54
54
  | `schedule` | cron expression | _(required)_ | Standard 5-field cron. `"0 7 * * *"` = every day at 07:00; `"0 */4 * * *"` = every 4 hours. |
55
55
  | `enabled` | boolean | `true` | Flip to `false` to pause without deleting the job. |
56
56
  | `runAs` | `"creator"` \| `"shared"` | `"creator"` | `"creator"` runs with the job owner's identity and `ANTHROPIC_API_KEY`. `"shared"` uses the org's key. |
57
- | `createdBy` | email | _(auto)_ | Populated when the job is created through the workspace UI or by the agent. |
57
+ | `createdBy` | email | _(auto)_ | Populated when the job is created through the Agent Resources UI or by the agent. |
58
58
  | `orgId` | string | _(auto)_ | Org scope; inherited from the creator's active org. |
59
59
  | `lastRun` | ISO timestamp | _(managed)_ | Written by the scheduler after each run. |
60
60
  | `lastStatus` | `"success"` \| `"error"` \| … | _(managed)_ | Latest outcome. |
@@ -211,7 +211,7 @@ The scheduler is a framework plugin (the internal `processRecurringJobs()` routi
211
211
 
212
212
  ## Debugging a job {#debugging}
213
213
 
214
- - Open `jobs/<name>.md` in the workspace — the frontmatter shows `lastRun`, `lastStatus`, `lastError`, `nextRun`.
214
+ - Open `jobs/<name>.md` in Agent Resources — the frontmatter shows `lastRun`, `lastStatus`, `lastError`, `nextRun`.
215
215
  - **Test it without waiting:** there's no force-fire tool. To exercise the same work on demand, either paste the job's prompt into the agent chat and let it run there, or temporarily set the schedule to the next minute so the scheduler picks it up on the next tick (then restore the real cron).
216
216
  - **Pause it:** flip `enabled: false`. The file stays put, just stops running.
217
217
 
@@ -234,7 +234,7 @@ A single `manage-jobs` tool is registered in every template. The `action` parame
234
234
 
235
235
  Don't confuse recurring jobs with `@agent-native/scheduling`:
236
236
 
237
- - **Recurring jobs (this page)** — cron-scheduled _prompts_ the agent runs in the background. Framework-level. Lives in the workspace. Runs on any agent-native app.
237
+ - **Recurring jobs (this page)** — cron-scheduled _prompts_ the agent runs in the background. Framework-level. Lives in Agent Resources. Runs on any agent-native app.
238
238
  - **`@agent-native/scheduling`** — a reusable domain package for building calendar/booking features (event types, availability windows, bookings). Powers the `calendar` template and custom scheduling surfaces.
239
239
 
240
240
  Recurring jobs are "how do I make the agent act on its own?" The scheduling package is "how do I build a calendar app?" Different concerns.
@@ -242,7 +242,7 @@ Recurring jobs are "how do I make the agent act on its own?" The scheduling pack
242
242
  ## What's next
243
243
 
244
244
  - [**Automations**](/docs/automations) — add event triggers and conditions to the same `jobs/` format
245
- - [**Agent Resources**](/docs/workspace) — where jobs live alongside skills, memory, and custom agents
245
+ - [**Agent Resources**](/docs/agent-resources) — where jobs live alongside skills, memory, and custom agents
246
246
  - [**Actions**](/docs/actions) — the tools a job calls
247
247
  - [**MCP Clients**](/docs/mcp-clients) — connect remote or local MCP tools and OAuth grants
248
248
  - [**Agent Teams**](/docs/agent-teams) — jobs often spawn sub-agents to do parallel work
@@ -141,7 +141,7 @@ Create a skill when:
141
141
  Don't create a skill when:
142
142
 
143
143
  - The guidance already exists in another skill — extend it instead
144
- - The guidance is a one-off — put it in `AGENTS.md` or workspace memory instead
144
+ - The guidance is a one-off — put it in `AGENTS.md` or agent memory instead
145
145
 
146
146
  ## Skill format {#skill-format}
147
147
 
@@ -299,11 +299,11 @@ This replaces the old hack of relying on Claude Code only reading `.claude/skill
299
299
 
300
300
  </Callout>
301
301
 
302
- If the knowledge applies to _everyone_ working in the app ("always prefer CTEs over subqueries"), it's a skill or shared `LEARNINGS.md`. If it's about _this particular user_ ("Steve likes concise answers"), it belongs in `memory/MEMORY.md`. See [Agent Resources — Memory](/docs/workspace#memory) for the full treatment.
302
+ If the knowledge applies to _everyone_ working in the app ("always prefer CTEs over subqueries"), it's a skill or shared `LEARNINGS.md`. If it's about _this particular user_ ("Steve likes concise answers"), it belongs in `memory/MEMORY.md`. See [Agent Resources — Memory](/docs/agent-resources#memory) for the full treatment.
303
303
 
304
304
  ## Skills vs SQL resources {#skills-vs-resources}
305
305
 
306
- This page frames a skill as a file at `.agents/skills/<name>/SKILL.md`. [Agent Resources](/docs/workspace#skills) frames the same skill as a SQL resource at path `skills/<slug>/SKILL.md`, scoped workspace/shared/personal. These are the same concept from two angles: Code mode reads and writes the file directly; App mode stores it as a resource row so it works without a filesystem. Author the content using this page's format either way.
306
+ This page frames a skill as a file at `.agents/skills/<name>/SKILL.md`. [Agent Resources](/docs/agent-resources#skills) frames the same skill as a SQL resource at path `skills/<slug>/SKILL.md`, scoped workspace/shared/personal. These are the same concept from two angles: Code mode reads and writes the file directly; App mode stores it as a resource row so it works without a filesystem. Author the content using this page's format either way.
307
307
 
308
308
  ## App-backed skills — full details {#app-backed-skills-full}
309
309
 
@@ -428,6 +428,6 @@ the same instructions without maintaining a second copy.
428
428
  ## What's next {#whats-next}
429
429
 
430
430
  - [**Writing Agent Instructions**](/docs/writing-agent-instructions) — word skill descriptions and split guidance across AGENTS.md, skills, and memory
431
- - [**Agent Resources**](/docs/workspace#skills) — where skills live as SQL resources in App mode
431
+ - [**Agent Resources**](/docs/agent-resources#skills) — where skills live as SQL resources in App mode
432
432
  - [**Agent Mentions**](/docs/agent-mentions) — the `/`-command trigger that invokes a skill in chat
433
433
  - [**Plan plugin & marketplace**](/docs/plan-plugin) — a real app-backed skill's end-to-end install and auto-update flow
@@ -549,7 +549,7 @@ Ask the agent to make changes for you — it can edit its own source. See
549
549
 
550
550
  - [**Dispatch**](/docs/dispatch) — the workspace control plane
551
551
  - [**Dispatch template**](/docs/template-dispatch) — the scaffolded coordination app
552
- - [**Agent Resources**](/docs/workspace) — shared resources across apps
552
+ - [**Agent Resources**](/docs/agent-resources) — shared resources across apps
553
553
  - [**A2A Protocol**](/docs/a2a-protocol) — cross-app delegation
554
554
  - [**Templates**](/docs/cloneable-saas) — the clone-and-own model, and every other domain template to start from
555
555
  - [**Getting Started**](/docs/getting-started) — the framework fundamentals: actions, application state, and live sync
@@ -38,7 +38,7 @@ operations.
38
38
  import { createCollabPlugin } from "@agent-native/core/server";
39
39
 
40
40
  export default createCollabPlugin({
41
- resourceType: "document",
41
+ access: { mode: "resource", resourceType: "document" },
42
42
  table: "documents",
43
43
  contentColumn: "content",
44
44
  });
@@ -89,7 +89,7 @@ The agent isn't a separate app you tab over to. It ships as a handful of React c
89
89
 
90
90
  ## You can go UI-light {#ui-light}
91
91
 
92
- Not every app needs a full dashboard. When the agent _is_ the product, you can skip most of the custom UI: open the app, ask for what you want, and let the agent do the rest. The agent still has its management surface — history, workspace, settings — but the primary interaction is conversation rather than clicks.
92
+ Not every app needs a full dashboard. When the agent _is_ the product, you can skip most of the custom UI: open the app, ask for what you want, and let the agent do the rest. The agent still has its management surface — history, agent resources, settings — but the primary interaction is conversation rather than clicks.
93
93
 
94
94
  ## You co-edit with it {#you-co-edit}
95
95
 
@@ -289,7 +289,7 @@ When the agent creates a draft email, it appears in the UI. When you click "Send
289
289
 
290
290
  The reason tools like Claude Code feel so powerful isn't the model — it's the **customization layer**: per-project instructions, skills, memory, sub-agents, connected services. You can shape the agent to your codebase, your preferences, your team.
291
291
 
292
- Agent-native gives every user that same customization layer — without ever leaving the app. Each app comes with a personal **workspace** where you (or anyone on your team) can:
292
+ Agent-native gives every user that same customization layer — without ever leaving the app. Each app comes with personal **agent resources** that you (or anyone on your team) can use to:
293
293
 
294
294
  - Edit team-wide rules everyone's agent reads
295
295
  - Let the agent remember preferences automatically as you correct it
@@ -298,9 +298,9 @@ Agent-native gives every user that same customization layer — without ever lea
298
298
  - Schedule jobs to run on a cron (e.g. "every Monday morning, summarize last week")
299
299
  - Connect external services (Gmail, Stripe, Slack, internal APIs) via per-user MCP servers
300
300
 
301
- The twist: it's all stored in the database, not the filesystem. There's no dev environment to spin up, no container per user. Every user gets their own full workspace — personal memory, personal connections, personal skills — for essentially free, because it's all rows in a table. That's what makes Claude-Code-level flexibility viable inside a real multi-tenant SaaS product.
301
+ The twist: it's all stored in the database, not the filesystem. There's no dev environment to spin up, no container per user. Every user gets their own full set of agent resources — personal memory, personal connections, personal skills — for essentially free, because it's all rows in a table. That's what makes Claude-Code-level flexibility viable inside a real multi-tenant SaaS product.
302
302
 
303
- See [Agent Resources](/docs/workspace) for the full concept.
303
+ See [Agent Resources](/docs/agent-resources) for the full concept.
304
304
 
305
305
  ## What makes it different {#what-makes-it-different}
306
306
 
@@ -396,7 +396,7 @@ One action, many surfaces: the agent calls it as a tool, the UI calls it as a ty
396
396
  - [**Agent Surfaces**](/docs/agent-surfaces) — choose chat, native inline UI, full app pages, embedded sidecar, automation, or external agent access
397
397
  - [**Key Concepts**](/docs/key-concepts) — the architecture: SQL, actions, polling sync, context awareness, portability
398
398
  - [**Templates**](/docs/cloneable-saas) — templates as complete products you own
399
- - [**Agent Resources**](/docs/workspace) — the per-user customization layer (skills, memory, instructions, MCP) backed by SQL, not files
399
+ - [**Agent Resources**](/docs/agent-resources) — the per-user customization layer (skills, memory, instructions, MCP) backed by SQL, not files
400
400
  - [**Dispatch**](/docs/dispatch) — the workspace control plane: secrets vault, Slack/email inbox, cross-app delegation
401
401
  - [**Extensions**](/docs/extensions) — sandboxed mini-apps the agent creates instantly without code changes
402
402
  - [**Drop-in Agent**](/docs/drop-in-agent) — mount `<AgentPanel>` into any React app