@agent-native/core 0.141.3 → 0.141.5

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 (167) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/templates/analytics/.agents/skills/analysis-workspace/SKILL.md +1 -1
  3. package/corpus/templates/analytics/actions/gong-calls.ts +56 -18
  4. package/corpus/templates/analytics/changelog/2026-08-05-analytics-queries-keep-every-table-tenant-scoped.md +6 -0
  5. package/corpus/templates/analytics/changelog/2026-08-05-fixed-sign-in-and-dashboard-requests-failing-when-background.md +6 -0
  6. package/corpus/templates/analytics/changelog/2026-08-05-historical-rollups-stay-complete-while-live-events-arrive.md +6 -0
  7. package/corpus/templates/analytics/server/db/schema.ts +1 -0
  8. package/corpus/templates/analytics/server/lib/dashboard-report.ts +2 -0
  9. package/corpus/templates/analytics/server/lib/emails.ts +51 -0
  10. package/corpus/templates/analytics/server/lib/first-party-analytics-health.ts +8 -12
  11. package/corpus/templates/analytics/server/lib/first-party-analytics-rollups.ts +9 -0
  12. package/corpus/templates/analytics/server/lib/first-party-analytics.ts +262 -13
  13. package/corpus/templates/analytics/server/lib/gong.ts +132 -33
  14. package/corpus/templates/analytics/server/plugins/agent-chat.ts +1 -1
  15. package/corpus/templates/analytics/server/plugins/auth.ts +21 -2
  16. package/corpus/templates/analytics/server/plugins/db.ts +11 -3
  17. package/corpus/templates/analytics/server/plugins/transactional-emails.ts +5 -0
  18. package/corpus/templates/calendar/app/components/calendar/InlineEventPickers.tsx +17 -7
  19. package/corpus/templates/calendar/server/lib/booking-emails.ts +154 -70
  20. package/corpus/templates/calendar/server/lib/emails.ts +167 -0
  21. package/corpus/templates/calendar/server/lib/event-guest-notifications.ts +64 -28
  22. package/corpus/templates/calendar/server/plugins/transactional-emails.ts +5 -0
  23. package/corpus/templates/clips/actions/invite-member.ts +39 -16
  24. package/corpus/templates/clips/app/components/player/share-dialog.tsx +73 -1
  25. package/corpus/templates/clips/app/i18n/en-US.ts +3 -0
  26. package/corpus/templates/clips/app/routes/r.$recordingId.tsx +10 -25
  27. package/corpus/templates/clips/app/routes/share.$shareId.tsx +2 -0
  28. package/corpus/templates/clips/changelog/2026-08-05-activity-is-now-the-default-clips-recording-tab-and-ai-setup.md +6 -0
  29. package/corpus/templates/clips/changelog/2026-08-05-clips-can-copy-a-linked-email-preview-for-public-recordings.md +6 -0
  30. package/corpus/templates/clips/changelog/2026-08-05-preparing-recording-now-uses-a-clean-shadow-free-status-card.md +6 -0
  31. package/corpus/templates/clips/desktop/src/styles.css +0 -3
  32. package/corpus/templates/clips/server/lib/emails.ts +256 -0
  33. package/corpus/templates/clips/server/lib/transactional-email-templates.ts +24 -0
  34. package/corpus/templates/clips/server/plugins/transactional-email-catalog.ts +5 -0
  35. package/corpus/templates/clips/server/routes/api/thumbnail/[recordingId].get.ts +4 -1
  36. package/corpus/templates/clips/shared/email-preview.ts +61 -0
  37. package/corpus/templates/content/server/lib/comment-notifications.ts +57 -26
  38. package/corpus/templates/content/server/lib/emails.ts +70 -0
  39. package/corpus/templates/content/server/plugins/transactional-emails.ts +5 -0
  40. package/corpus/templates/design/actions/import-design-tokens.ts +11 -8
  41. package/corpus/templates/design/actions/index-design-tokens.ts +13 -6
  42. package/corpus/templates/design/changelog/2026-08-05-design-token-imports-classify-typography-dimensions-correctly.md +6 -0
  43. package/corpus/templates/dispatch/app/routes/transactional-email.$appId.$id.tsx +4 -0
  44. package/corpus/templates/dispatch/app/routes/transactional-email.tsx +4 -0
  45. package/corpus/templates/dispatch/changelog/2026-08-05-transactional-email-catalogs-and-delivery-activity-are-available-again.md +6 -0
  46. package/corpus/templates/factory/AGENTS.md +18 -17
  47. package/corpus/templates/factory/actions/get-factory-automation-health.ts +50 -0
  48. package/corpus/templates/factory/actions/get-triage-config.ts +8 -0
  49. package/corpus/templates/factory/actions/save-triage-config.ts +26 -0
  50. package/corpus/templates/factory/app/i18n/en-US.ts +27 -0
  51. package/corpus/templates/factory/app/routes/factory.tsx +376 -206
  52. package/corpus/templates/factory/changelog/2026-08-05-factory-now-keeps-production-automations-running-shows-sched.md +6 -0
  53. package/corpus/templates/factory/server/db/schema.ts +6 -0
  54. package/corpus/templates/factory/server/plugins/factory-migrations.ts +10 -0
  55. package/corpus/templates/factory/server/plugins/factory-scheduler-job.ts +141 -2
  56. package/corpus/templates/forms/app/pages/FormsListPage.tsx +41 -21
  57. package/corpus/templates/forms/changelog/2026-08-05-form-links-can-now-be-cmd-clicked-to-open-in-a-new-tab.md +6 -0
  58. package/corpus/templates/forms/server/lib/emails.ts +52 -0
  59. package/corpus/templates/forms/server/lib/response-email.ts +2 -0
  60. package/corpus/templates/forms/server/plugins/transactional-emails.ts +5 -0
  61. package/corpus/templates/plan/actions/request-plan-access.ts +33 -12
  62. package/corpus/templates/plan/server/lib/comment-notifications.ts +53 -27
  63. package/corpus/templates/plan/server/lib/emails.ts +67 -0
  64. package/corpus/templates/plan/server/plugins/transactional-emails.ts +5 -0
  65. package/corpus/templates/slides/actions/import-from-url.ts +1 -0
  66. package/corpus/templates/slides/app/components/editor/NewDeckReferenceStep.tsx +492 -381
  67. package/corpus/templates/slides/app/components/editor/PromptDialog.tsx +8 -7
  68. package/corpus/templates/slides/app/components/layout/Layout.tsx +27 -23
  69. package/corpus/templates/slides/app/components/onboarding/FirstDeckOnboardingFlow.tsx +313 -0
  70. package/corpus/templates/slides/app/components/ui/command.tsx +1 -0
  71. package/corpus/templates/slides/app/i18n/en-US.ts +8 -2
  72. package/corpus/templates/slides/app/lib/create-deck-generation.ts +305 -0
  73. package/corpus/templates/slides/app/pages/DeckEditor.tsx +12 -12
  74. package/corpus/templates/slides/app/pages/Index.tsx +127 -137
  75. package/corpus/templates/slides/app/root.tsx +8 -0
  76. package/corpus/templates/slides/changelog/2026-08-05-deck-browsing-keeps-all-and-mine-in-the-header-with-a-tighte.md +6 -0
  77. package/corpus/templates/slides/changelog/2026-08-05-new-deck-creation-now-flows-through-a-clean-full-screen-refe.md +6 -0
  78. package/corpus/templates/slides/changelog/2026-08-05-website-imports-now-include-linked-stylesheets-for-more-accu.md +6 -0
  79. package/corpus/templates/slides/server/lib/comment-notifications.ts +44 -21
  80. package/corpus/templates/slides/server/lib/emails.ts +40 -0
  81. package/corpus/templates/slides/server/plugins/transactional-emails.ts +5 -0
  82. package/dist/brand-kit/index.d.ts +1 -0
  83. package/dist/brand-kit/index.js +1 -0
  84. package/dist/brand-kit/tokens.d.ts +91 -0
  85. package/dist/brand-kit/tokens.js +279 -0
  86. package/dist/brand-kit/types.d.ts +25 -0
  87. package/dist/client/AssistantChat.js +7 -7
  88. package/dist/client/onboarding/FirstRunOnboarding.js +26 -2
  89. package/dist/client/onboarding/first-run-registry.d.ts +25 -0
  90. package/dist/client/onboarding/first-run-registry.js +18 -0
  91. package/dist/client/onboarding/index.d.ts +2 -0
  92. package/dist/client/onboarding/index.js +1 -0
  93. package/dist/collab/routes.d.ts +2 -2
  94. package/dist/collab/struct-routes.d.ts +1 -1
  95. package/dist/deploy/build.d.ts +8 -0
  96. package/dist/deploy/build.js +92 -3
  97. package/dist/deploy/workspace-deploy.js +86 -3
  98. package/dist/email-catalog/actions/list-email-activity.d.ts +5 -0
  99. package/dist/email-catalog/actions/list-email-activity.js +19 -0
  100. package/dist/email-catalog/actions/list-email-engagement.d.ts +5 -0
  101. package/dist/email-catalog/actions/list-email-engagement.js +15 -0
  102. package/dist/email-catalog/actions/list-email-log.d.ts +7 -0
  103. package/dist/email-catalog/actions/list-email-log.js +23 -0
  104. package/dist/email-catalog/actions/list-transactional-emails.d.ts +22 -0
  105. package/dist/email-catalog/actions/list-transactional-emails.js +67 -0
  106. package/dist/email-catalog/actions/render-transactional-email-preview.d.ts +9 -0
  107. package/dist/email-catalog/actions/render-transactional-email-preview.js +25 -0
  108. package/dist/email-catalog/authorize.d.ts +1 -0
  109. package/dist/email-catalog/authorize.js +9 -0
  110. package/dist/email-catalog/log.d.ts +60 -0
  111. package/dist/email-catalog/log.js +142 -0
  112. package/dist/email-catalog/provider-metrics.d.ts +34 -0
  113. package/dist/email-catalog/provider-metrics.js +182 -0
  114. package/dist/email-catalog/registry.d.ts +78 -0
  115. package/dist/email-catalog/registry.js +70 -0
  116. package/dist/email-catalog/schema.d.ts +231 -0
  117. package/dist/email-catalog/schema.js +53 -0
  118. package/dist/email-catalog/system-emails.d.ts +13 -0
  119. package/dist/email-catalog/system-emails.js +67 -0
  120. package/dist/jobs/index.d.ts +2 -0
  121. package/dist/jobs/index.js +2 -0
  122. package/dist/jobs/run-history.js +48 -1
  123. package/dist/jobs/scheduler-dispatch.d.ts +7 -0
  124. package/dist/jobs/scheduler-dispatch.js +7 -0
  125. package/dist/jobs/scheduler-health.d.ts +22 -0
  126. package/dist/jobs/scheduler-health.js +172 -0
  127. package/dist/jobs/scheduler.js +67 -2
  128. package/dist/localization/default-messages.d.ts +45 -0
  129. package/dist/localization/default-messages.js +45 -0
  130. package/dist/mcp/screen-memory-stdio.d.ts +7 -7
  131. package/dist/notifications/routes.d.ts +2 -2
  132. package/dist/observability/routes.d.ts +3 -3
  133. package/dist/org/handlers.js +9 -1
  134. package/dist/provider-api/actions/custom-provider-registration.d.ts +10 -10
  135. package/dist/provider-api/actions/provider-api.d.ts +8 -8
  136. package/dist/secrets/routes.d.ts +9 -9
  137. package/dist/server/action-discovery.js +22 -0
  138. package/dist/server/agent-chat/recurring-jobs-runtime.d.ts +7 -1
  139. package/dist/server/agent-chat/recurring-jobs-runtime.js +12 -0
  140. package/dist/server/agent-chat-plugin.d.ts +2 -1
  141. package/dist/server/agent-chat-plugin.js +39 -1
  142. package/dist/server/agent-engine-api-key-route.d.ts +1 -1
  143. package/dist/server/better-auth-instance.js +17 -2
  144. package/dist/server/design-token-utils.d.ts +6 -1
  145. package/dist/server/design-token-utils.js +252 -59
  146. package/dist/server/email.d.ts +11 -0
  147. package/dist/server/email.js +54 -3
  148. package/dist/server/index.d.ts +1 -0
  149. package/dist/server/index.js +1 -0
  150. package/dist/server/realtime-token.d.ts +1 -1
  151. package/dist/server/transcribe-voice.d.ts +1 -1
  152. package/dist/vite/client.js +20 -14
  153. package/docs/AGENTS.md +1 -1
  154. package/docs/content/actions.mdx +1 -1
  155. package/docs/content/agent-surfaces.mdx +1 -1
  156. package/docs/content/agents.mdx +9 -0
  157. package/docs/content/database.mdx +2 -2
  158. package/docs/content/drop-in-agent.mdx +1 -1
  159. package/docs/content/notifications.mdx +1 -1
  160. package/docs/content/routing.mdx +1 -1
  161. package/docs/content/server-database.mdx +437 -0
  162. package/docs/content/server-middleware.mdx +151 -0
  163. package/docs/content/server-overview.mdx +234 -0
  164. package/docs/content/server-plugins.mdx +147 -0
  165. package/docs/content/server-routes.mdx +194 -0
  166. package/package.json +2 -1
  167. package/docs/content/server.mdx +0 -469
@@ -178,6 +178,33 @@ const messages = {
178
178
  pastRunsEmpty: "No runs recorded yet.",
179
179
  saveAutomation: "Save",
180
180
  runNow: "Run now",
181
+ automationHealthTitle: "Scheduler health",
182
+ automationHealthDescription:
183
+ "The heartbeat shows whether the deployed recurring-job worker is still checking schedules.",
184
+ automationHealthHealthy: "Healthy",
185
+ automationHealthStale: "Stale",
186
+ automationHealthError: "Error",
187
+ automationHealthNoData: "No heartbeat",
188
+ automationLastCheck: "Last check",
189
+ automationLastDispatch: "Last dispatch",
190
+ automationRuntime: "Runtime",
191
+ automationHealthNoDataHint:
192
+ "No scheduler heartbeat has been recorded yet. Deploy the latest Factory build, then check again.",
193
+ automationHealthStaleHint:
194
+ "The scheduler has not checked recently. This usually means the deployed scheduled function or background worker is not running.",
195
+ automationHealthErrorDetail: "Last scheduler error",
196
+ automationOpenThread: "Open thread",
197
+ automationFailureAlertsTitle: "Automation failure alerts",
198
+ automationFailureAlertsDescription:
199
+ "Send an in-app alert and email when a Factory automation fails. Repeated identical failures are grouped for 15 minutes.",
200
+ automationFailureAlertsEnabled: "Email me when automations fail",
201
+ automationFailureAlertEmail: "Alert email",
202
+ automationFailureAlertEmailPlaceholder: "Defaults to the workspace owner",
203
+ automationFailureEmailReadiness: "Email provider",
204
+ automationDiagnosticsLoadError:
205
+ "Could not load Factory diagnostics. Check access, deployment, and database migrations, then try again.",
206
+ automationEmailReadinessHint:
207
+ "Email uses the organization Dispatch vault. Configure a provider there if this is not ready.",
181
208
  },
182
209
  factoryCanvas: {
183
210
  dragHint: "Drag to arrange",