@agent-native/core 0.192.0-nightly-20260926081002 → 0.192.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 (139) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/templates/analytics/CHANGELOG.md +17 -0
  3. package/corpus/templates/analytics/actions/get-sql-dashboard.ts +27 -3
  4. package/corpus/templates/analytics/app/components/AnalyticsReviewArtifactPreview.tsx +8 -2
  5. package/corpus/templates/analytics/app/components/dashboard/SqlChart.tsx +14 -10
  6. package/corpus/templates/analytics/app/root.tsx +2 -4
  7. package/corpus/templates/analytics/app/routes/_index.tsx +1 -36
  8. package/corpus/templates/analytics/app/routes/home.tsx +1 -1
  9. package/corpus/templates/analytics/changelog/2026-09-25-human-review-previews-show-same-organization-dashboard-chart.md +6 -0
  10. package/corpus/templates/analytics/changelog/2026-09-25-human-review-skips-saved-bigquery-queries-in-previews.md +6 -0
  11. package/corpus/templates/analytics/changelog/2026-09-26-the-app-entry-now-opens-the-shared-sign-in-and-sign-up-scree.md +6 -0
  12. package/corpus/templates/analytics/server/lib/dashboards-store.ts +14 -0
  13. package/corpus/templates/analytics/server/plugins/auth.ts +0 -3
  14. package/corpus/templates/assets/CHANGELOG.md +16 -0
  15. package/corpus/templates/assets/app/root.tsx +2 -7
  16. package/corpus/templates/assets/app/routes/_index.tsx +1 -36
  17. package/corpus/templates/assets/changelog/2026-09-26-the-app-entry-now-opens-the-shared-sign-in-and-sign-up-scree.md +6 -0
  18. package/corpus/templates/assets/server/plugins/auth.ts +0 -3
  19. package/corpus/templates/brain/app/root.tsx +2 -13
  20. package/corpus/templates/brain/app/routes/_index.tsx +1 -35
  21. package/corpus/templates/brain/app/routes/home.tsx +1 -1
  22. package/corpus/templates/calendar/CHANGELOG.md +15 -0
  23. package/corpus/templates/calendar/app/root.tsx +2 -10
  24. package/corpus/templates/calendar/app/routes/_index.tsx +1 -34
  25. package/corpus/templates/calendar/changelog/2026-09-26-the-app-entry-now-opens-the-shared-sign-in-and-sign-up-scree.md +6 -0
  26. package/corpus/templates/calendar/server/plugins/auth.ts +0 -3
  27. package/corpus/templates/chat/AGENTS.md +3 -3
  28. package/corpus/templates/chat/app/root.tsx +3 -15
  29. package/corpus/templates/chat/app/routes/_index.tsx +1 -37
  30. package/corpus/templates/chat/server/plugins/auth.ts +0 -3
  31. package/corpus/templates/clips/CHANGELOG.md +10 -0
  32. package/corpus/templates/clips/app/root.tsx +2 -10
  33. package/corpus/templates/clips/app/routes/_index.tsx +1 -33
  34. package/corpus/templates/clips/app/routes/share.$shareId.tsx +2 -3
  35. package/corpus/templates/clips/changelog/2026-09-26-the-app-entry-now-opens-the-shared-sign-in-and-sign-up-scree.md +6 -0
  36. package/corpus/templates/clips/server/plugins/auth.ts +0 -3
  37. package/corpus/templates/content/app/root.tsx +2 -3
  38. package/corpus/templates/content/app/routes/_index.tsx +1 -33
  39. package/corpus/templates/content/server/plugins/auth.ts +0 -3
  40. package/corpus/templates/crm/app/root.tsx +3 -16
  41. package/corpus/templates/crm/app/routes/_index.tsx +1 -36
  42. package/corpus/templates/crm/app/routes/home.tsx +1 -1
  43. package/corpus/templates/design/.generated/bridge/editor-chrome.generated.ts +30 -17
  44. package/corpus/templates/design/CHANGELOG.md +31 -0
  45. package/corpus/templates/design/actions/connect-localhost.ts +98 -37
  46. package/corpus/templates/design/actions/get-design.schema.ts +10 -0
  47. package/corpus/templates/design/actions/get-design.ts +25 -6
  48. package/corpus/templates/design/actions/publish-visual-edit-pending.ts +4 -59
  49. package/corpus/templates/design/app/components/design/DesignCanvas.tsx +108 -49
  50. package/corpus/templates/design/app/components/design/MultiScreenCanvas.tsx +63 -21
  51. package/corpus/templates/design/app/components/design/types.ts +2 -0
  52. package/corpus/templates/design/app/pages/design-editor/commands/cross-screen-element-drop.ts +98 -9
  53. package/corpus/templates/design/app/pages/design-editor/commands/cross-screen-insert-timeout.ts +61 -6
  54. package/corpus/templates/design/app/pages/design-editor/commands/mode-change.ts +6 -5
  55. package/corpus/templates/design/app/pages/design-editor/commands/publish-visual-edit-pending.ts +21 -3
  56. package/corpus/templates/design/app/pages/design-editor/pending-edits.ts +4 -7
  57. package/corpus/templates/design/app/root.tsx +2 -20
  58. package/corpus/templates/design/app/routes/_index.tsx +1 -34
  59. package/corpus/templates/design/changelog/2026-09-25-fix-live-visual-edit-recovery-handoff-and-interaction-workfl.md +6 -0
  60. package/corpus/templates/design/changelog/2026-09-25-human-review-previews-show-the-actual-design-when-you-have-o.md +6 -0
  61. package/corpus/templates/design/changelog/2026-09-25-live-screens-recover-safely-from-interrupted-cross-screen-mo.md +6 -0
  62. package/corpus/templates/design/changelog/2026-09-26-canvas-focus-stays-on-toolbar-controls-when-a-live-preview-f.md +6 -0
  63. package/corpus/templates/design/changelog/2026-09-26-the-app-entry-now-opens-the-shared-sign-in-and-sign-up-scree.md +6 -0
  64. package/corpus/templates/design/server/plugins/auth.ts +0 -3
  65. package/corpus/templates/dispatch/app/root.tsx +2 -11
  66. package/corpus/templates/dispatch/app/routes/_index.tsx +1 -34
  67. package/corpus/templates/dispatch/server/plugins/setup-dispatch.ts +0 -3
  68. package/corpus/templates/factory/app/root.tsx +3 -15
  69. package/corpus/templates/factory/app/routes/_index.tsx +1 -34
  70. package/corpus/templates/factory/app/routes/home.tsx +1 -1
  71. package/corpus/templates/forms/AGENTS.md +1 -1
  72. package/corpus/templates/forms/app/root.tsx +2 -4
  73. package/corpus/templates/forms/app/routes/_index.tsx +1 -34
  74. package/corpus/templates/forms/server/plugins/auth.ts +0 -3
  75. package/corpus/templates/mail/CHANGELOG.md +8 -0
  76. package/corpus/templates/mail/app/root.tsx +2 -6
  77. package/corpus/templates/mail/app/routes/_index.tsx +1 -36
  78. package/corpus/templates/mail/app/routes/home.tsx +1 -1
  79. package/corpus/templates/mail/changelog/2026-09-26-the-app-entry-now-opens-the-shared-sign-in-and-sign-up-scree.md +6 -0
  80. package/corpus/templates/mail/server/plugins/auth.ts +0 -3
  81. package/corpus/templates/plan/app/root.tsx +7 -13
  82. package/corpus/templates/plan/app/routes/_index.tsx +1 -35
  83. package/corpus/templates/plan/app/routes/home.tsx +1 -1
  84. package/corpus/templates/plan/server/plugins/auth.ts +0 -3
  85. package/corpus/templates/slides/CHANGELOG.md +21 -0
  86. package/corpus/templates/slides/actions/get-deck.ts +49 -12
  87. package/corpus/templates/slides/app/root.tsx +1 -3
  88. package/corpus/templates/slides/app/routes/_index.tsx +1 -36
  89. package/corpus/templates/slides/app/routes/home.tsx +1 -1
  90. package/corpus/templates/slides/changelog/2026-09-25-human-review-previews-show-same-organization-slides-for-orga.md +6 -0
  91. package/corpus/templates/slides/changelog/2026-09-26-the-app-entry-now-opens-the-shared-sign-in-and-sign-up-scree.md +6 -0
  92. package/corpus/templates/slides/server/plugins/auth.ts +0 -3
  93. package/corpus/templates/tasks/AGENTS.md +1 -1
  94. package/corpus/templates/tasks/README.md +1 -1
  95. package/corpus/templates/tasks/app/root.tsx +2 -11
  96. package/corpus/templates/tasks/app/routes/_index.tsx +1 -37
  97. package/corpus/templates/tasks/app/routes/home.tsx +1 -1
  98. package/dist/cli/design-connect.d.ts +1 -0
  99. package/dist/cli/design-connect.js +94 -32
  100. package/dist/client/auth/AuthPage.d.ts +1 -17
  101. package/dist/client/auth/AuthPage.js +7 -49
  102. package/dist/client/observability/OutputPreview.js +8 -2
  103. package/dist/client/sign-in-landing.d.ts +1 -0
  104. package/dist/client/sign-in-landing.js +8 -0
  105. package/dist/collab/awareness.d.ts +2 -2
  106. package/dist/deploy/workspace-deploy.js +32 -8
  107. package/dist/file-upload/actions/upload-image.d.ts +1 -1
  108. package/dist/provider-api/actions/custom-provider-registration.d.ts +7 -7
  109. package/dist/provider-api/actions/provider-api.d.ts +3 -3
  110. package/dist/server/auth-marketing.d.ts +0 -7
  111. package/dist/server/auth-marketing.js +0 -36
  112. package/dist/server/auth.d.ts +1 -10
  113. package/dist/server/index.d.ts +1 -1
  114. package/dist/server/index.js +1 -1
  115. package/dist/server/onboarding-html.d.ts +1 -12
  116. package/dist/server/onboarding-html.js +4 -817
  117. package/dist/shared/ssr-auth-redirect.d.ts +3 -3
  118. package/dist/shared/ssr-auth-redirect.js +4 -4
  119. package/dist/templates/chat/AGENTS.md +3 -3
  120. package/dist/templates/chat/app/root.tsx +3 -15
  121. package/dist/templates/chat/app/routes/_index.tsx +1 -37
  122. package/dist/templates/chat/server/plugins/auth.ts +0 -3
  123. package/dist/templates/default/AGENTS.md +2 -4
  124. package/dist/templates/default/DEVELOPING.md +3 -5
  125. package/dist/templates/default/app/root.tsx +2 -9
  126. package/dist/templates/default/app/routes/_index.tsx +8 -15
  127. package/package.json +5 -4
  128. package/src/templates/chat/AGENTS.md +3 -3
  129. package/src/templates/chat/app/root.tsx +3 -15
  130. package/src/templates/chat/app/routes/_index.tsx +1 -37
  131. package/src/templates/chat/server/plugins/auth.ts +0 -3
  132. package/src/templates/default/AGENTS.md +2 -4
  133. package/src/templates/default/DEVELOPING.md +3 -5
  134. package/src/templates/default/app/root.tsx +2 -9
  135. package/src/templates/default/app/routes/_index.tsx +8 -15
  136. package/dist/server/auth-marketing-locales.d.ts +0 -9
  137. package/dist/server/auth-marketing-locales.js +0 -1322
  138. package/dist/templates/chat/public/auth-marketing/chat.webp +0 -0
  139. package/src/templates/chat/public/auth-marketing/chat.webp +0 -0
@@ -4,9 +4,6 @@ const PLAN_LOCAL_FILES_COMMAND = "npx @agent-native/core@latest skills add visua
4
4
  export const BUILT_IN_AUTH_MARKETING = {
5
5
  analytics: {
6
6
  appName: "Agent-Native Analytics",
7
- screenshotPath: "/auth-marketing/analytics.webp",
8
- screenshotWidth: 927,
9
- screenshotHeight: 818,
10
7
  tagline: "Your AI agent queries your data sources, builds dashboards, and answers business questions alongside you.",
11
8
  features: [
12
9
  "Ask any question and get answers from BigQuery, HubSpot, Jira, and more",
@@ -25,9 +22,6 @@ export const BUILT_IN_AUTH_MARKETING = {
25
22
  },
26
23
  calendar: {
27
24
  appName: "Agent-Native Calendar",
28
- screenshotPath: "/auth-marketing/calendar.webp",
29
- screenshotWidth: 914,
30
- screenshotHeight: 818,
31
25
  tagline: "Your AI agent schedules, reschedules, and manages your calendar so you never have to.",
32
26
  features: [
33
27
  "Finds open slots and books meetings on your behalf",
@@ -37,9 +31,6 @@ export const BUILT_IN_AUTH_MARKETING = {
37
31
  },
38
32
  clips: {
39
33
  appName: "Agent-Native Clips",
40
- screenshotPath: "/auth-marketing/clips.webp",
41
- screenshotWidth: 914,
42
- screenshotHeight: 818,
43
34
  tagline: "Your AI agent transcribes, summarizes, and searches everything you record alongside you.",
44
35
  features: [
45
36
  "One-click screen recording with automatic titles, summaries, and chapters",
@@ -50,9 +41,6 @@ export const BUILT_IN_AUTH_MARKETING = {
50
41
  },
51
42
  content: {
52
43
  appName: "Agent-Native Content",
53
- screenshotPath: "/auth-marketing/content.webp",
54
- screenshotWidth: 914,
55
- screenshotHeight: 818,
56
44
  tagline: "Open-source Obsidian for MDX: your AI agent edits local docs, creates custom blocks, and organizes everything alongside you.",
57
45
  features: [
58
46
  "Edit local Markdown/MDX files directly, with hosted sync when you need it",
@@ -62,9 +50,6 @@ export const BUILT_IN_AUTH_MARKETING = {
62
50
  },
63
51
  plan: {
64
52
  appName: "Agent-Native Plan",
65
- screenshotPath: "/auth-marketing/plan.webp",
66
- screenshotWidth: 914,
67
- screenshotHeight: 818,
68
53
  tagline: "Visual plans, PR recaps, diagrams, wireframes, and shareable reviews for coding-agent work.",
69
54
  features: [
70
55
  "Turn implementation plans into structured visual artifacts",
@@ -78,9 +63,6 @@ export const BUILT_IN_AUTH_MARKETING = {
78
63
  },
79
64
  design: {
80
65
  appName: "Agent-Native Design",
81
- screenshotPath: "/auth-marketing/design.webp",
82
- screenshotWidth: 914,
83
- screenshotHeight: 818,
84
66
  tagline: "Design and prototype by describing what you want. The AI agent turns your ideas into interactive, fully responsive designs in seconds.",
85
67
  features: [
86
68
  "Create polished prototypes just by describing them",
@@ -90,9 +72,6 @@ export const BUILT_IN_AUTH_MARKETING = {
90
72
  },
91
73
  dispatch: {
92
74
  appName: "Agent-Native Dispatch",
93
- screenshotPath: "/auth-marketing/dispatch.webp",
94
- screenshotWidth: 914,
95
- screenshotHeight: 818,
96
75
  tagline: "Your AI agent manages secrets, orchestrates other agents, and routes messages across your workspace.",
97
76
  features: [
98
77
  "Centralized vault for secrets with granular per-app grants",
@@ -102,9 +81,6 @@ export const BUILT_IN_AUTH_MARKETING = {
102
81
  },
103
82
  forms: {
104
83
  appName: "Agent-Native Forms",
105
- screenshotPath: "/auth-marketing/forms.webp",
106
- screenshotWidth: 914,
107
- screenshotHeight: 818,
108
84
  tagline: "Your AI agent builds, publishes, and analyzes forms alongside you.",
109
85
  features: [
110
86
  "Create complete forms from a single sentence",
@@ -114,9 +90,6 @@ export const BUILT_IN_AUTH_MARKETING = {
114
90
  },
115
91
  assets: {
116
92
  appName: "Agent-Native Assets",
117
- screenshotPath: "/auth-marketing/assets.webp",
118
- screenshotWidth: 914,
119
- screenshotHeight: 818,
120
93
  tagline: "Your AI agent creates, refines, and organizes on-brand assets alongside you.",
121
94
  features: [
122
95
  "Build reusable asset libraries from logos, product shots, videos, and references",
@@ -126,9 +99,6 @@ export const BUILT_IN_AUTH_MARKETING = {
126
99
  },
127
100
  mail: {
128
101
  appName: "Agent-Native Mail",
129
- screenshotPath: "/auth-marketing/mail.webp",
130
- screenshotWidth: 927,
131
- screenshotHeight: 818,
132
102
  tagline: "Your AI agent reads, drafts, and organizes email alongside you.",
133
103
  features: [
134
104
  "Replies that match your tone and style",
@@ -138,9 +108,6 @@ export const BUILT_IN_AUTH_MARKETING = {
138
108
  },
139
109
  slides: {
140
110
  appName: "Agent-Native Slides",
141
- screenshotPath: "/auth-marketing/slides.webp",
142
- screenshotWidth: 914,
143
- screenshotHeight: 818,
144
111
  tagline: "Your AI agent builds, edits, and refines presentations alongside you.",
145
112
  features: [
146
113
  "Generate entire decks from a single prompt",
@@ -150,9 +117,6 @@ export const BUILT_IN_AUTH_MARKETING = {
150
117
  },
151
118
  chat: {
152
119
  appName: "Agent-Native Chat",
153
- screenshotPath: "/auth-marketing/chat.webp",
154
- screenshotWidth: 914,
155
- screenshotHeight: 818,
156
120
  tagline: "Start from a chat-first app and add actions, screens, and workflows as your agent grows.",
157
121
  features: [
158
122
  "Full-page chat with durable threads and tool call history",
@@ -120,22 +120,13 @@ export interface AuthOptions {
120
120
  * ```
121
121
  */
122
122
  googleScopes?: string[];
123
- /**
124
- * Product marketing content shown alongside the sign-in form.
125
- * When provided, the page uses a split layout: marketing on the left,
126
- * sign-in form on the right.
127
- */
123
+ /** Product metadata used for the auth document title and social preview. */
128
124
  marketing?: {
129
125
  appName: string;
130
126
  tagline: string;
131
127
  description?: string;
132
128
  features?: string[];
133
- screenshotPath?: string;
134
- screenshotWidth?: number;
135
- screenshotHeight?: number;
136
129
  learnMoreUrl?: string;
137
- /** @deprecated Local execution is no longer offered from auth pages. */
138
- runLocalCommand?: string;
139
130
  };
140
131
  /**
141
132
  * Optional email signup legal copy for the built-in login page.
@@ -1,5 +1,5 @@
1
1
  export { readComposerWebsiteSource, type ComposerWebsiteExtraction, } from "./composer-website-source.js";
2
- export { defineAppConfig, getAppConfig, resetAppConfigForTests, appConfigSchema, type AppConfig, type AppConfigInput, } from "../app-config/index.js";
2
+ export { defineAppConfig, getAppConfig, resolveAppHomePath, resetAppConfigForTests, appConfigSchema, type AppConfig, type AppConfigInput, } from "../app-config/index.js";
3
3
  export { resolveDeployEnvironment } from "./deploy-environment.js";
4
4
  export { inferWorkspaceAppRootHomePath, readConfiguredWorkspaceAppHomePath, } from "../workspace-app-config.js";
5
5
  export { createServer, type CreateServerOptions, type EnvKeyConfig, } from "./create-server.js";
@@ -1,5 +1,5 @@
1
1
  export { readComposerWebsiteSource, } from "./composer-website-source.js";
2
- export { defineAppConfig, getAppConfig, resetAppConfigForTests, appConfigSchema, } from "../app-config/index.js";
2
+ export { defineAppConfig, getAppConfig, resolveAppHomePath, resetAppConfigForTests, appConfigSchema, } from "../app-config/index.js";
3
3
  export { resolveDeployEnvironment } from "./deploy-environment.js";
4
4
  export { inferWorkspaceAppRootHomePath, readConfiguredWorkspaceAppHomePath, } from "../workspace-app-config.js";
5
5
  export { createServer, } from "./create-server.js";
@@ -22,24 +22,13 @@ export interface OnboardingHtmlOptions {
22
22
  authMode?: "magic-link" | "password";
23
23
  /** Render the quiet, centered auth surface used when the app has an initial prompt. */
24
24
  initialPrompt?: boolean;
25
- /**
26
- * Product marketing content shown alongside the sign-in form.
27
- * When provided, the page uses a split layout: marketing on the left,
28
- * sign-in form on the right (stacked on mobile).
29
- */
25
+ /** Product metadata used for the auth document title and social preview. */
30
26
  marketing?: {
31
27
  appName: string;
32
28
  tagline: string;
33
29
  description?: string;
34
30
  features?: string[];
35
- authHeadline?: string;
36
- authDescription?: string;
37
- screenshotPath?: string;
38
- screenshotWidth?: number;
39
- screenshotHeight?: number;
40
31
  learnMoreUrl?: string;
41
- /** @deprecated Local execution is no longer offered from auth pages. */
42
- runLocalCommand?: string;
43
32
  };
44
33
  /**
45
34
  * Request context used only to recover branded first-party marketing when a