@agent-native/core 0.151.2 → 0.152.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/templates/analytics/.agents/skills/sharing/SKILL.md +1 -1
  3. package/corpus/templates/analytics/.agents/skills/turn-into-app/SKILL.md +24 -0
  4. package/corpus/templates/analytics/actions/bigquery-query.ts +21 -0
  5. package/corpus/templates/analytics/app/components/ConnectionTestStatus.tsx +65 -0
  6. package/corpus/templates/analytics/app/components/layout/Sidebar.tsx +3 -3
  7. package/corpus/templates/analytics/app/pages/DataSources.tsx +15 -37
  8. package/corpus/templates/analytics/app/root.tsx +0 -1
  9. package/corpus/templates/analytics/changelog/2026-08-11-analytics-custom-blocks-keep-loading-with-legacy-bigquery-action.md +6 -0
  10. package/corpus/templates/analytics/changelog/2026-08-11-analytics-routes-company-knowledge-and-slack-context-questio.md +6 -0
  11. package/corpus/templates/analytics/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  12. package/corpus/templates/analytics/public/manifest.json +0 -1
  13. package/corpus/templates/analytics/server/lib/agent-chat-plan-mode.ts +5 -0
  14. package/corpus/templates/analytics/server/plugins/agent-chat.ts +5 -0
  15. package/corpus/templates/assets/.agents/skills/sharing/SKILL.md +1 -1
  16. package/corpus/templates/assets/.agents/skills/turn-into-app/SKILL.md +24 -0
  17. package/corpus/templates/assets/app/root.tsx +0 -1
  18. package/corpus/templates/assets/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  19. package/corpus/templates/assets/public/manifest.json +0 -1
  20. package/corpus/templates/brain/.agents/skills/sharing/SKILL.md +1 -1
  21. package/corpus/templates/brain/.agents/skills/turn-into-app/SKILL.md +24 -0
  22. package/corpus/templates/brain/app/root.tsx +0 -1
  23. package/corpus/templates/brain/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  24. package/corpus/templates/brain/public/manifest.json +0 -1
  25. package/corpus/templates/calendar/.agents/skills/sharing/SKILL.md +1 -1
  26. package/corpus/templates/calendar/.agents/skills/turn-into-app/SKILL.md +24 -0
  27. package/corpus/templates/calendar/app/components/calendar/GoogleConnectBanner.tsx +0 -53
  28. package/corpus/templates/calendar/app/i18n-data.ts +0 -80
  29. package/corpus/templates/calendar/app/root.tsx +0 -1
  30. package/corpus/templates/calendar/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  31. package/corpus/templates/calendar/changelog/2026-08-11-google-calendar-connection-buttons-now-open-the-sign-in-flow.md +6 -0
  32. package/corpus/templates/calendar/public/manifest.json +0 -1
  33. package/corpus/templates/calendar/server/plugins/auth.ts +0 -10
  34. package/corpus/templates/chat/.agents/skills/sharing/SKILL.md +1 -1
  35. package/corpus/templates/chat/.agents/skills/turn-into-app/SKILL.md +24 -0
  36. package/corpus/templates/chat/app/root.tsx +0 -1
  37. package/corpus/templates/chat/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  38. package/corpus/templates/chat/public/manifest.json +0 -1
  39. package/corpus/templates/clips/.agents/skills/turn-into-app/SKILL.md +24 -0
  40. package/corpus/templates/clips/app/components/player/playback-comment-overlay.tsx +1 -1
  41. package/corpus/templates/clips/app/components/player/share-dialog.tsx +6 -0
  42. package/corpus/templates/clips/app/components/sharing/share-ui.tsx +20 -3
  43. package/corpus/templates/clips/app/i18n/en-US.ts +4 -4
  44. package/corpus/templates/clips/app/root.tsx +0 -1
  45. package/corpus/templates/clips/app/routes/_app.meetings._index.tsx +1 -3
  46. package/corpus/templates/clips/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  47. package/corpus/templates/clips/changelog/2026-08-11-clips-desktop-settings-are-now-easier-to-scan-with-a-wider-t.md +6 -0
  48. package/corpus/templates/clips/changelog/2026-08-11-google-calendar-connections-from-meetings-now-open-directly.md +6 -0
  49. package/corpus/templates/clips/changelog/2026-08-11-recording-viewers-can-comment-and-react.md +6 -0
  50. package/corpus/templates/clips/changelog/2026-08-11-system-audio-recording-now-lives-inside-the-microphone-menu-.md +6 -0
  51. package/corpus/templates/clips/changelog/2026-08-11-timestamped-comments-stay-on-the-video-for-three-seconds-wh.md +6 -0
  52. package/corpus/templates/clips/desktop/src/app.tsx +773 -1001
  53. package/corpus/templates/clips/desktop/src/components/MediaDeviceRow.tsx +15 -27
  54. package/corpus/templates/clips/desktop/src/styles.css +364 -5
  55. package/corpus/templates/clips/desktop/src-tauri/src/clips/mod.rs +1 -1
  56. package/corpus/templates/clips/public/manifest.json +0 -1
  57. package/corpus/templates/content/.agents/skills/sharing/SKILL.md +1 -1
  58. package/corpus/templates/content/.agents/skills/turn-into-app/SKILL.md +24 -0
  59. package/corpus/templates/content/AGENTS.md +3 -0
  60. package/corpus/templates/content/actions/resolve-content-landing.ts +120 -0
  61. package/corpus/templates/content/app/components/editor/BubbleToolbar.tsx +196 -30
  62. package/corpus/templates/content/app/components/editor/DocumentEditor.tsx +9 -0
  63. package/corpus/templates/content/app/i18n-data.ts +58 -0
  64. package/corpus/templates/content/app/lib/content-landing.ts +22 -0
  65. package/corpus/templates/content/app/root.tsx +0 -1
  66. package/corpus/templates/content/app/routes/_app._index.tsx +36 -26
  67. package/corpus/templates/content/changelog/2026-08-03-choose-text-or-a-heading-from-one-compact-formatting-control.md +6 -0
  68. package/corpus/templates/content/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  69. package/corpus/templates/content/changelog/2026-08-11-content-opens-your-last-page-on-return-and-gives-new-users-a.md +6 -0
  70. package/corpus/templates/content/docs/product/capabilities/content.workspace.session-restore.md +7 -1
  71. package/corpus/templates/content/docs/solutions/evidence/content-text-selector/README.md +26 -0
  72. package/corpus/templates/content/parity/matrix.md +1 -0
  73. package/corpus/templates/content/parity/matrix.ts +22 -0
  74. package/corpus/templates/content/public/manifest.json +0 -1
  75. package/corpus/templates/content/shared/content-landing.ts +17 -0
  76. package/corpus/templates/crm/.agents/skills/sharing/SKILL.md +1 -1
  77. package/corpus/templates/crm/.agents/skills/turn-into-app/SKILL.md +24 -0
  78. package/corpus/templates/crm/app/root.tsx +0 -1
  79. package/corpus/templates/crm/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  80. package/corpus/templates/crm/public/manifest.json +0 -1
  81. package/corpus/templates/design/.agents/skills/sharing/SKILL.md +1 -1
  82. package/corpus/templates/design/.agents/skills/turn-into-app/SKILL.md +24 -0
  83. package/corpus/templates/design/app/i18n/en-US.ts +5 -0
  84. package/corpus/templates/design/app/root.tsx +0 -1
  85. package/corpus/templates/design/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  86. package/corpus/templates/design/changelog/2026-08-11-design-sharing-now-identifies-viewers-who-can-add-review-com.md +6 -0
  87. package/corpus/templates/design/public/manifest.json +0 -1
  88. package/corpus/templates/dispatch/.agents/skills/sharing/SKILL.md +1 -1
  89. package/corpus/templates/dispatch/.agents/skills/turn-into-app/SKILL.md +24 -0
  90. package/corpus/templates/dispatch/AGENTS.md +9 -0
  91. package/corpus/templates/dispatch/actions/list-dispatch-usage-metrics.ts +5 -19
  92. package/corpus/templates/dispatch/actions/view-screen.ts +10 -3
  93. package/corpus/templates/dispatch/app/root.tsx +0 -1
  94. package/corpus/templates/dispatch/app/routes/settings.tsx +13 -1
  95. package/corpus/templates/dispatch/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  96. package/corpus/templates/dispatch/changelog/2026-08-11-clicking-the-dispatch-logo-returns-to-the-overview-page.md +6 -0
  97. package/corpus/templates/dispatch/changelog/2026-08-11-dispatch-no-longer-links-to-itself-from-the-app-switcher.md +6 -0
  98. package/corpus/templates/dispatch/changelog/2026-08-11-dispatch-settings-now-link-directly-to-admin.md +6 -0
  99. package/corpus/templates/dispatch/changelog/2026-08-11-dispatch-shows-usage-trends-recent-prompts-and-an-agent-revi.md +6 -0
  100. package/corpus/templates/dispatch/changelog/2026-08-11-human-friendly-app-names.md +6 -0
  101. package/corpus/templates/dispatch/public/manifest.json +0 -1
  102. package/corpus/templates/dispatch/server/lib/identity-sso.ts +432 -158
  103. package/corpus/templates/dispatch/server/plugins/identity-sso.ts +204 -123
  104. package/corpus/templates/dispatch/server/plugins/setup-dispatch.ts +1 -0
  105. package/corpus/templates/factory/.agents/skills/sharing/SKILL.md +1 -1
  106. package/corpus/templates/factory/.agents/skills/turn-into-app/SKILL.md +24 -0
  107. package/corpus/templates/factory/app/root.tsx +0 -1
  108. package/corpus/templates/factory/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  109. package/corpus/templates/factory/public/manifest.json +0 -1
  110. package/corpus/templates/forms/.agents/skills/sharing/SKILL.md +1 -1
  111. package/corpus/templates/forms/.agents/skills/turn-into-app/SKILL.md +24 -0
  112. package/corpus/templates/forms/app/root.tsx +0 -1
  113. package/corpus/templates/forms/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  114. package/corpus/templates/forms/public/manifest.json +0 -1
  115. package/corpus/templates/macros/.agents/skills/sharing/SKILL.md +1 -1
  116. package/corpus/templates/macros/.agents/skills/turn-into-app/SKILL.md +24 -0
  117. package/corpus/templates/mail/.agents/skills/sharing/SKILL.md +1 -1
  118. package/corpus/templates/mail/.agents/skills/turn-into-app/SKILL.md +24 -0
  119. package/corpus/templates/mail/app/root.tsx +0 -1
  120. package/corpus/templates/mail/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  121. package/corpus/templates/mail/changelog/2026-08-11-google-sign-in-now-opens-the-gmail-connection-flow-directly.md +6 -0
  122. package/corpus/templates/mail/public/manifest.json +0 -1
  123. package/corpus/templates/mail/server/plugins/auth.ts +0 -10
  124. package/corpus/templates/plan/.agents/skills/sharing/SKILL.md +1 -1
  125. package/corpus/templates/plan/.agents/skills/turn-into-app/SKILL.md +24 -0
  126. package/corpus/templates/plan/app/i18n/en-US.ts +2 -0
  127. package/corpus/templates/plan/app/pages/PlansPage.tsx +6 -0
  128. package/corpus/templates/plan/app/root.tsx +0 -1
  129. package/corpus/templates/plan/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  130. package/corpus/templates/plan/changelog/2026-08-11-plan-sharing-now-identifies-viewers-who-can-add-comments.md +6 -0
  131. package/corpus/templates/plan/public/manifest.json +0 -1
  132. package/corpus/templates/slides/.agents/skills/sharing/SKILL.md +1 -1
  133. package/corpus/templates/slides/.agents/skills/turn-into-app/SKILL.md +24 -0
  134. package/corpus/templates/slides/app/components/editor/EditorToolbar.tsx +6 -0
  135. package/corpus/templates/slides/app/i18n/en-US.ts +2 -0
  136. package/corpus/templates/slides/app/root.tsx +0 -1
  137. package/corpus/templates/slides/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  138. package/corpus/templates/slides/changelog/2026-08-11-share-dialog-uses-commenter-terminology.md +6 -0
  139. package/corpus/templates/slides/public/manifest.json +0 -1
  140. package/corpus/templates/tasks/.agents/skills/sharing/SKILL.md +1 -1
  141. package/corpus/templates/tasks/.agents/skills/turn-into-app/SKILL.md +24 -0
  142. package/corpus/templates/tasks/app/root.tsx +0 -1
  143. package/corpus/templates/tasks/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  144. package/corpus/templates/tasks/public/manifest.json +0 -1
  145. package/dist/agent/production-agent.d.ts +8 -0
  146. package/dist/agent/production-agent.js +67 -22
  147. package/dist/agent/run-manager.d.ts +7 -0
  148. package/dist/agent/run-manager.js +46 -3
  149. package/dist/agent/tool-approval-migrations.d.ts +40 -0
  150. package/dist/agent/tool-approval-migrations.js +51 -0
  151. package/dist/agent/tool-approval-store.js +5 -20
  152. package/dist/cli/templates-meta.js +2 -2
  153. package/dist/client/AgentPanel.js +10 -1
  154. package/dist/client/AssistantChat.d.ts +3 -0
  155. package/dist/client/AssistantChat.js +151 -141
  156. package/dist/client/agent-page/AgentTabsPage.js +2 -2
  157. package/dist/client/chat/attachment-adapters.js +8 -2
  158. package/dist/client/chat/tool-call-display.d.ts +1 -0
  159. package/dist/client/chat/tool-call-display.js +3 -1
  160. package/dist/client/chat-first.js +11 -5
  161. package/dist/client/guided-questions.d.ts +15 -1
  162. package/dist/client/guided-questions.js +33 -15
  163. package/dist/client/hooks/index.d.ts +1 -1
  164. package/dist/client/hooks/index.js +1 -1
  165. package/dist/client/org/OrgSwitcher.d.ts +3 -1
  166. package/dist/client/org/OrgSwitcher.js +22 -16
  167. package/dist/client/org/WorkspaceNotice.js +3 -1
  168. package/dist/client/resources/index.d.ts +1 -1
  169. package/dist/client/resources/index.js +1 -1
  170. package/dist/client/resources/use-mcp-servers.d.ts +1 -0
  171. package/dist/client/resources/use-mcp-servers.js +14 -0
  172. package/dist/client/settings/AccountSettingsCard.js +8 -4
  173. package/dist/client/settings/SettingsPanel.js +46 -13
  174. package/dist/client/settings/SettingsTabsPage.js +8 -3
  175. package/dist/client/sharing/ShareButton.d.ts +7 -1
  176. package/dist/client/sharing/ShareButton.js +14 -7
  177. package/dist/client/sharing/ShareDialog.js +5 -1
  178. package/dist/client/sharing/useShareButtonController.d.ts +4 -0
  179. package/dist/client/sharing/useShareButtonController.js +15 -0
  180. package/dist/client/sharing/useShareDialogController.d.ts +7 -0
  181. package/dist/client/sharing/useShareDialogController.js +14 -0
  182. package/dist/client/sse-event-processor.js +37 -0
  183. package/dist/client/use-session.d.ts +2 -0
  184. package/dist/client/use-session.js +69 -5
  185. package/dist/deploy/build.js +1 -1
  186. package/dist/file-upload/pre-upload-attachments.d.ts +3 -4
  187. package/dist/file-upload/pre-upload-attachments.js +65 -17
  188. package/dist/ingestion/index.d.ts +1 -0
  189. package/dist/ingestion/index.js +1 -0
  190. package/dist/ingestion/office.d.ts +3 -3
  191. package/dist/ingestion/office.js +24 -2
  192. package/dist/ingestion/spreadsheet.d.ts +41 -0
  193. package/dist/ingestion/spreadsheet.js +172 -0
  194. package/dist/integrations/adapters/slack.js +7 -3
  195. package/dist/integrations/webhook-handler.js +11 -3
  196. package/dist/localization/default-messages.d.ts +3 -0
  197. package/dist/localization/default-messages.js +3 -0
  198. package/dist/mcp/embed-app.js +20 -9
  199. package/dist/notifications/routes.d.ts +3 -3
  200. package/dist/oauth-tokens/migrations.d.ts +8 -0
  201. package/dist/oauth-tokens/migrations.js +36 -0
  202. package/dist/observability/routes.d.ts +5 -5
  203. package/dist/org/workspace-url.d.ts +8 -0
  204. package/dist/org/workspace-url.js +26 -2
  205. package/dist/progress/routes.d.ts +1 -1
  206. package/dist/secrets/routes.d.ts +6 -6
  207. package/dist/server/agent-chat/context-tools.js +27 -6
  208. package/dist/server/agent-chat-plugin.js +16 -8
  209. package/dist/server/auth.d.ts +0 -11
  210. package/dist/server/auth.js +37 -20
  211. package/dist/server/better-auth-migrations.js +23 -0
  212. package/dist/server/email-template.d.ts +5 -0
  213. package/dist/server/email-template.js +9 -0
  214. package/dist/server/embed-route.js +17 -5
  215. package/dist/server/identity-sso-store.d.ts +40 -66
  216. package/dist/server/identity-sso-store.js +187 -150
  217. package/dist/server/identity-sso.d.ts +17 -73
  218. package/dist/server/identity-sso.js +294 -297
  219. package/dist/server/onboarding-html.d.ts +0 -12
  220. package/dist/server/onboarding-html.js +46 -269
  221. package/dist/server/realtime-token.d.ts +1 -1
  222. package/dist/server/release-migrations.js +8 -0
  223. package/dist/server/transcribe-voice.d.ts +1 -1
  224. package/dist/shared/index.d.ts +1 -1
  225. package/dist/shared/index.js +1 -1
  226. package/dist/shared/workspace-app-id.d.ts +2 -0
  227. package/dist/shared/workspace-app-id.js +10 -0
  228. package/dist/sharing/actions/share-resource.d.ts +1 -0
  229. package/dist/sharing/actions/share-resource.js +20 -5
  230. package/dist/templates/chat/.agents/skills/sharing/SKILL.md +1 -1
  231. package/dist/templates/chat/.agents/skills/turn-into-app/SKILL.md +24 -0
  232. package/dist/templates/chat/app/root.tsx +0 -1
  233. package/dist/templates/chat/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  234. package/dist/templates/chat/public/manifest.json +0 -1
  235. package/dist/templates/default/.agents/skills/turn-into-app/SKILL.md +24 -0
  236. package/dist/templates/default/app/root.tsx +0 -1
  237. package/dist/templates/default/public/manifest.json +0 -1
  238. package/dist/templates/headless/.agents/skills/turn-into-app/SKILL.md +24 -0
  239. package/dist/templates/workspace-core/.agents/skills/authentication/SKILL.md +22 -11
  240. package/dist/templates/workspace-core/.agents/skills/sharing/SKILL.md +1 -1
  241. package/dist/templates/workspace-core/.agents/skills/turn-into-app/SKILL.md +24 -0
  242. package/docs/content/cross-app-sso.mdx +85 -27
  243. package/docs/content/template-mail.mdx +0 -6
  244. package/package.json +4 -3
  245. package/src/templates/chat/.agents/skills/sharing/SKILL.md +1 -1
  246. package/src/templates/chat/.agents/skills/turn-into-app/SKILL.md +24 -0
  247. package/src/templates/chat/app/root.tsx +0 -1
  248. package/src/templates/chat/changelog/2026-08-11-browser-no-longer-offers-desktop-install.md +6 -0
  249. package/src/templates/chat/public/manifest.json +0 -1
  250. package/src/templates/default/.agents/skills/turn-into-app/SKILL.md +24 -0
  251. package/src/templates/default/app/root.tsx +0 -1
  252. package/src/templates/default/public/manifest.json +0 -1
  253. package/src/templates/headless/.agents/skills/turn-into-app/SKILL.md +24 -0
  254. package/src/templates/workspace-core/.agents/skills/authentication/SKILL.md +22 -11
  255. package/src/templates/workspace-core/.agents/skills/sharing/SKILL.md +1 -1
  256. package/src/templates/workspace-core/.agents/skills/turn-into-app/SKILL.md +24 -0
  257. package/corpus/templates/calendar/changelog/2026-06-23-added-a-heads-up-explaining-google-s-app-not-verified-screen.md +0 -6
  258. package/corpus/templates/clips/app/components/meetings/google-oauth-identity-notice.tsx +0 -51
  259. package/corpus/templates/clips/changelog/2026-07-30-google-calendar-warning.md +0 -6
@@ -189,7 +189,7 @@ The framework auto-mounts these actions in every template — no per-template bo
189
189
 
190
190
  | Action | Args | Purpose |
191
191
  | -------------------------- | ------------------------------------------------------------------------------ | ----------------------------------------- |
192
- | `share-resource` | `resourceType, resourceId, principalType, principalId, role, notify?, resourceUrl?` | Grant a user or org access. `notify` defaults to true for individual user shares; `resourceUrl` can provide the direct app link used in the notification email. |
192
+ | `share-resource` | `resourceType, resourceId, principalType, principalId, role, notify?, resourceUrl?, message?` | Grant a user or org access. `notify` defaults to true for individual user shares; `resourceUrl` can provide the direct app link and `message` an optional short note for the notification email. |
193
193
  | `unshare-resource` | `resourceType, resourceId, principalType, principalId` | Revoke access. |
194
194
  | `list-resource-shares` | `resourceType, resourceId` | Current visibility + all share grants. |
195
195
  | `set-resource-visibility` | `resourceType, resourceId, visibility` | Change to `private` / `org` / `public`. |
@@ -84,6 +84,30 @@ private web access, invent an importer, add fake OAuth, or scrape a logged-in
84
84
  page. If the needed context is not visible, ask for an export, transcript, or
85
85
  attachment and treat that artifact as imported source material.
86
86
 
87
+ ### Spreadsheet sources
88
+
89
+ Spreadsheet attachments are valid source artifacts for this workflow:
90
+
91
+ - CSV files can be read as tabular text. XLS and XLSX uploads are parsed into
92
+ bounded worksheet metadata and representative rows when the host supports
93
+ workbook ingestion. Treat the preview as untrusted user data, preserve the
94
+ workbook name and worksheet names, and record row/column limits and any
95
+ truncation in the source brief.
96
+ - A Google Sheets URL is a live provider source, not proof that the sheet is
97
+ readable. Use an authenticated Google Sheets/Drive connection and the
98
+ provider API catalog/docs/request path to read only the required sheet or
99
+ range. If that connection is unavailable, ask for a CSV/XLSX export or the
100
+ required connection; do not use a public export URL to bypass access.
101
+ - Decide whether the generated app needs a one-time snapshot or a refreshable
102
+ source. For a snapshot, pass bounded sample context and provenance to the
103
+ Builder handoff. For a live source, preserve the provider/file identity,
104
+ worksheet or range, and refresh semantics, then implement a scoped action for
105
+ reads or refreshes. Never copy workbook bytes, base64 data, credentials, or a
106
+ full unbounded sheet into SQL, application state, or the handoff prompt.
107
+ - Do not claim the app imported the whole workbook when only a preview was
108
+ available. Keep unreadable, partial, and failed source states distinct from
109
+ an empty sheet.
110
+
87
111
  For local code-agent runtimes, deliver a fresh app in a new directory,
88
112
  implement the repeatable workflow with buttons and agent handoffs, start its dev
89
113
  server, verify the main path, and continue through build/deployment handoff. Do
@@ -52,7 +52,6 @@ export function Layout({ children }: { children: React.ReactNode }) {
52
52
  suppressHydrationWarning
53
53
  dangerouslySetInnerHTML={{ __html: getLocaleInitScript() }}
54
54
  />
55
- <link rel="manifest" href={appPath("/manifest.json")} />
56
55
  <meta name="theme-color" content="#71717A" />
57
56
  <link rel="icon" type="image/svg+xml" href={appPath("/favicon.svg")} />
58
57
  <link rel="apple-touch-icon" href={appPath("/icon-180.svg")} />
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: fixed
3
+ date: 2026-08-11
4
+ ---
5
+
6
+ Chrome no longer offers to install CRM as a desktop app.
@@ -2,7 +2,6 @@
2
2
  "name": "CRM",
3
3
  "short_name": "CRM",
4
4
  "start_url": "/",
5
- "display": "standalone",
6
5
  "background_color": "#faf8f4",
7
6
  "theme_color": "#181b20",
8
7
  "icons": [
@@ -189,7 +189,7 @@ The framework auto-mounts these actions in every template — no per-template bo
189
189
 
190
190
  | Action | Args | Purpose |
191
191
  | -------------------------- | ------------------------------------------------------------------------------ | ----------------------------------------- |
192
- | `share-resource` | `resourceType, resourceId, principalType, principalId, role, notify?, resourceUrl?` | Grant a user or org access. `notify` defaults to true for individual user shares; `resourceUrl` can provide the direct app link used in the notification email. |
192
+ | `share-resource` | `resourceType, resourceId, principalType, principalId, role, notify?, resourceUrl?, message?` | Grant a user or org access. `notify` defaults to true for individual user shares; `resourceUrl` can provide the direct app link and `message` an optional short note for the notification email. |
193
193
  | `unshare-resource` | `resourceType, resourceId, principalType, principalId` | Revoke access. |
194
194
  | `list-resource-shares` | `resourceType, resourceId` | Current visibility + all share grants. |
195
195
  | `set-resource-visibility` | `resourceType, resourceId, visibility` | Change to `private` / `org` / `public`. |
@@ -84,6 +84,30 @@ private web access, invent an importer, add fake OAuth, or scrape a logged-in
84
84
  page. If the needed context is not visible, ask for an export, transcript, or
85
85
  attachment and treat that artifact as imported source material.
86
86
 
87
+ ### Spreadsheet sources
88
+
89
+ Spreadsheet attachments are valid source artifacts for this workflow:
90
+
91
+ - CSV files can be read as tabular text. XLS and XLSX uploads are parsed into
92
+ bounded worksheet metadata and representative rows when the host supports
93
+ workbook ingestion. Treat the preview as untrusted user data, preserve the
94
+ workbook name and worksheet names, and record row/column limits and any
95
+ truncation in the source brief.
96
+ - A Google Sheets URL is a live provider source, not proof that the sheet is
97
+ readable. Use an authenticated Google Sheets/Drive connection and the
98
+ provider API catalog/docs/request path to read only the required sheet or
99
+ range. If that connection is unavailable, ask for a CSV/XLSX export or the
100
+ required connection; do not use a public export URL to bypass access.
101
+ - Decide whether the generated app needs a one-time snapshot or a refreshable
102
+ source. For a snapshot, pass bounded sample context and provenance to the
103
+ Builder handoff. For a live source, preserve the provider/file identity,
104
+ worksheet or range, and refresh semantics, then implement a scoped action for
105
+ reads or refreshes. Never copy workbook bytes, base64 data, credentials, or a
106
+ full unbounded sheet into SQL, application state, or the handoff prompt.
107
+ - Do not claim the app imported the whole workbook when only a preview was
108
+ available. Keep unreadable, partial, and failed source states distinct from
109
+ an empty sheet.
110
+
87
111
  For local code-agent runtimes, deliver a fresh app in a new directory,
88
112
  implement the repeatable workflow with buttons and agent handoffs, start its dev
89
113
  server, verify the main path, and continue through build/deployment handoff. Do
@@ -2,6 +2,11 @@ import { messagesByLocale } from "../i18n-data";
2
2
 
3
3
  const messages = {
4
4
  ...messagesByLocale["en-US"],
5
+ designEditor: {
6
+ ...messagesByLocale["en-US"].designEditor,
7
+ commenterRoleLabel: "Commenter",
8
+ commenterRoleDescription: "Can view and add review comments",
9
+ },
5
10
  review: {
6
11
  comments: "Comments",
7
12
  commentsTab: "Comments · {{count}}",
@@ -79,7 +79,6 @@ export function Layout({ children }: { children: React.ReactNode }) {
79
79
  suppressHydrationWarning
80
80
  dangerouslySetInnerHTML={{ __html: LOCALE_INIT_SCRIPT }}
81
81
  />
82
- <link rel="manifest" href={appPath("/manifest.json")} />
83
82
  <meta name="theme-color" content="#71717A" />
84
83
  <meta name="mobile-web-app-capable" content="yes" />
85
84
  <meta
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: fixed
3
+ date: 2026-08-11
4
+ ---
5
+
6
+ Chrome no longer offers to install Design as a desktop app.
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: improved
3
+ date: 2026-08-11
4
+ ---
5
+
6
+ Design sharing now identifies viewers who can add review comments
@@ -3,7 +3,6 @@
3
3
  "short_name": "Design",
4
4
  "description": "Agent-native design and prototyping tool",
5
5
  "start_url": ".",
6
- "display": "standalone",
7
6
  "background_color": "#111111",
8
7
  "theme_color": "#71717A",
9
8
  "icons": [
@@ -189,7 +189,7 @@ The framework auto-mounts these actions in every template — no per-template bo
189
189
 
190
190
  | Action | Args | Purpose |
191
191
  | -------------------------- | ------------------------------------------------------------------------------ | ----------------------------------------- |
192
- | `share-resource` | `resourceType, resourceId, principalType, principalId, role, notify?, resourceUrl?` | Grant a user or org access. `notify` defaults to true for individual user shares; `resourceUrl` can provide the direct app link used in the notification email. |
192
+ | `share-resource` | `resourceType, resourceId, principalType, principalId, role, notify?, resourceUrl?, message?` | Grant a user or org access. `notify` defaults to true for individual user shares; `resourceUrl` can provide the direct app link and `message` an optional short note for the notification email. |
193
193
  | `unshare-resource` | `resourceType, resourceId, principalType, principalId` | Revoke access. |
194
194
  | `list-resource-shares` | `resourceType, resourceId` | Current visibility + all share grants. |
195
195
  | `set-resource-visibility` | `resourceType, resourceId, visibility` | Change to `private` / `org` / `public`. |
@@ -84,6 +84,30 @@ private web access, invent an importer, add fake OAuth, or scrape a logged-in
84
84
  page. If the needed context is not visible, ask for an export, transcript, or
85
85
  attachment and treat that artifact as imported source material.
86
86
 
87
+ ### Spreadsheet sources
88
+
89
+ Spreadsheet attachments are valid source artifacts for this workflow:
90
+
91
+ - CSV files can be read as tabular text. XLS and XLSX uploads are parsed into
92
+ bounded worksheet metadata and representative rows when the host supports
93
+ workbook ingestion. Treat the preview as untrusted user data, preserve the
94
+ workbook name and worksheet names, and record row/column limits and any
95
+ truncation in the source brief.
96
+ - A Google Sheets URL is a live provider source, not proof that the sheet is
97
+ readable. Use an authenticated Google Sheets/Drive connection and the
98
+ provider API catalog/docs/request path to read only the required sheet or
99
+ range. If that connection is unavailable, ask for a CSV/XLSX export or the
100
+ required connection; do not use a public export URL to bypass access.
101
+ - Decide whether the generated app needs a one-time snapshot or a refreshable
102
+ source. For a snapshot, pass bounded sample context and provenance to the
103
+ Builder handoff. For a live source, preserve the provider/file identity,
104
+ worksheet or range, and refresh semantics, then implement a scoped action for
105
+ reads or refreshes. Never copy workbook bytes, base64 data, credentials, or a
106
+ full unbounded sheet into SQL, application state, or the handoff prompt.
107
+ - Do not claim the app imported the whole workbook when only a preview was
108
+ available. Keep unreadable, partial, and failed source states distinct from
109
+ an empty sheet.
110
+
87
111
  For local code-agent runtimes, deliver a fresh app in a new directory,
88
112
  implement the repeatable workflow with buttons and agent handoffs, start its dev
89
113
  server, verify the main path, and continue through build/deployment handoff. Do
@@ -68,6 +68,12 @@ Read the relevant skill before deeper work:
68
68
  permalink before diagnosing it. It resolves child links to the parent thread,
69
69
  preserves attachments and related URLs, and reports whether pagination is
70
70
  complete. Never treat an unreadable Slack thread as an empty one.
71
+ - For usage investigations, use `list-dispatch-usage-metrics` with the smallest
72
+ useful scope (`me` or `workspace`), lookback, and optional `userEmail` filter.
73
+ Treat prompt attribution as evidence with gaps: `not-captured` and
74
+ `unavailable` are not zero usage or a reason to guess. Use `view-screen` on
75
+ `/admin/metrics` to keep the agent's analysis aligned with the visible scope
76
+ and selected user.
71
77
 
72
78
  ## Application State
73
79
 
@@ -76,6 +82,9 @@ Read the relevant skill before deeper work:
76
82
  - On Thread Debug, `navigation.threadDebugMode`, `sourceId`,
77
83
  `inspectSourceId`, `ownerEmail`, `failureStatus`, `range`, `query`, `runId`,
78
84
  and `threadId` expose the visible failure or thread filters and selection.
85
+ - On Metrics, `navigation.usageScope` exposes whether the visible usage view is
86
+ personal or workspace-wide, and `navigation.usageUserEmail` exposes the
87
+ selected workspace member filter.
79
88
  - `navigate` moves the UI to setup, vault, integrations, resources, routing,
80
89
  approval, and operator surfaces.
81
90
 
@@ -1,20 +1,6 @@
1
- import { defineAction } from "@agent-native/core";
2
- import { z } from "zod";
1
+ import { dispatchActions } from "@agent-native/dispatch/actions";
3
2
 
4
- import { listDispatchUsageMetricsScoped } from "../server/lib/usage-metrics.js";
5
-
6
- export default defineAction({
7
- description:
8
- "Get workspace-level LLM usage, spend or Builder.io credit spend, users, app access, and recent activity metrics for Dispatch admins.",
9
- schema: z.object({
10
- sinceDays: z.coerce
11
- .number()
12
- .int()
13
- .min(1)
14
- .max(365)
15
- .default(30)
16
- .describe("Lookback window in days. Defaults to 30."),
17
- }),
18
- http: { method: "GET" },
19
- run: async (args) => listDispatchUsageMetricsScoped(args),
20
- });
3
+ // Keep the template action registry aligned with the package action. The
4
+ // package implementation is also what the shared Dispatch metrics screen
5
+ // exercises, including personal scope and prompt attribution.
6
+ export default dispatchActions["list-dispatch-usage-metrics"];
@@ -3,7 +3,6 @@ import { readAppState } from "@agent-native/core/application-state";
3
3
  import { dispatchActions } from "@agent-native/dispatch/actions";
4
4
  import { z } from "zod";
5
5
 
6
- import { listDispatchUsageMetricsScoped } from "../server/lib/usage-metrics.js";
7
6
  import listWorkspaceConnections from "./list-workspace-connections.js";
8
7
 
9
8
  async function runDispatchAction(name: string, args: Record<string, unknown>) {
@@ -101,14 +100,22 @@ export default defineAction({
101
100
  }
102
101
  if (navigation?.view === "metrics") {
103
102
  try {
104
- const metrics = await listDispatchUsageMetricsScoped({ sinceDays: 30 });
103
+ const usageScope =
104
+ navigation.usageScope === "workspace" ? "workspace" : "me";
105
+ const metrics = await runDispatchAction("list-dispatch-usage-metrics", {
106
+ sinceDays: 30,
107
+ scope: usageScope,
108
+ userEmail: navigation.usageUserEmail,
109
+ });
105
110
  screen.usageMetrics = {
106
111
  billing: metrics.billing,
112
+ viewScope: metrics.viewScope,
113
+ selectedUserEmail: metrics.selectedUserEmail,
107
114
  totals: metrics.totals,
108
115
  byApp: metrics.byApp.slice(0, 8),
109
116
  byUser: metrics.byUser.slice(0, 8),
110
117
  appAccess: metrics.appAccess
111
- .filter((app) => !app.isDispatch)
118
+ .filter((app: { isDispatch?: boolean }) => !app.isDispatch)
112
119
  .slice(0, 8),
113
120
  };
114
121
  } catch (error) {
@@ -68,7 +68,6 @@ export function Layout({ children }: { children: React.ReactNode }) {
68
68
  suppressHydrationWarning
69
69
  dangerouslySetInnerHTML={{ __html: LOCALE_INIT_SCRIPT }}
70
70
  />
71
- <link rel="manifest" href={appPath("/manifest.json")} />
72
71
  <meta name="theme-color" content="#0f172a" />
73
72
  <meta name="mobile-web-app-capable" content="yes" />
74
73
  <meta
@@ -16,6 +16,7 @@ import {
16
16
  } from "@agent-native/core/client/settings";
17
17
  import { Button } from "@agent-native/dispatch/components/ui/button";
18
18
  import { Switch } from "@agent-native/dispatch/components/ui/switch";
19
+ import { IconShield } from "@tabler/icons-react";
19
20
  import { useMemo, useState } from "react";
20
21
  import { Link } from "react-router";
21
22
 
@@ -30,6 +31,17 @@ export function meta() {
30
31
  export default function SettingsRoute() {
31
32
  const t = useT();
32
33
  const agentSettingsTabs = useAgentSettingsTabs();
34
+ const settingsTabs = [
35
+ ...agentSettingsTabs,
36
+ {
37
+ id: "admin",
38
+ label: t("dispatch.nav.admin", { defaultValue: "Admin" }),
39
+ icon: IconShield,
40
+ group: "Admin",
41
+ href: "/admin",
42
+ content: null,
43
+ },
44
+ ];
33
45
  const [chatFirstModeState] = useState(() => readChatFirstModeState());
34
46
  const [chatFirstMode, setChatFirstMode] = useState(
35
47
  () => chatFirstModeState.enabled,
@@ -84,7 +96,7 @@ export default function SettingsRoute() {
84
96
  return (
85
97
  <SettingsTabsPage
86
98
  account={<AccountSettingsCard />}
87
- extraTabs={agentSettingsTabs}
99
+ extraTabs={settingsTabs}
88
100
  generalSearchEntries={generalSearchEntries}
89
101
  general={
90
102
  <div className="mx-auto w-full max-w-2xl space-y-6">
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: fixed
3
+ date: 2026-08-11
4
+ ---
5
+
6
+ Chrome no longer offers to install Dispatch as a desktop app.
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: fixed
3
+ date: 2026-08-11
4
+ ---
5
+
6
+ Clicking the Dispatch logo returns to the Overview page
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: fixed
3
+ date: 2026-08-11
4
+ ---
5
+
6
+ Dispatch omits its own app entry from the app switcher.
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: improved
3
+ date: 2026-08-11
4
+ ---
5
+
6
+ Dispatch settings now link directly to Admin
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: added
3
+ date: 2026-08-11
4
+ ---
5
+
6
+ Dispatch shows usage trends, recent prompts, and an agent review path
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: improved
3
+ date: 2026-08-11
4
+ ---
5
+
6
+ New apps accept human-friendly names and convert them to URL-safe IDs automatically.
@@ -3,7 +3,6 @@
3
3
  "short_name": "Dispatch",
4
4
  "description": "Workspace control plane for secrets, integrations, agents, and app creation.",
5
5
  "start_url": ".",
6
- "display": "standalone",
7
6
  "background_color": "#111111",
8
7
  "theme_color": "#71717A",
9
8
  "icons": [