@agent-native/core 0.190.0-nightly-20260926012834 → 0.190.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 (33) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/templates/analytics/CHANGELOG.md +12 -0
  3. package/corpus/templates/analytics/app/global.css +5 -1
  4. package/corpus/templates/analytics/changelog/2026-09-25-chat-composer-background.md +6 -0
  5. package/corpus/templates/calendar/CHANGELOG.md +7 -0
  6. package/corpus/templates/calendar/app/root.tsx +7 -7
  7. package/corpus/templates/calendar/app/routes/meet.$username.tsx +8 -0
  8. package/corpus/templates/calendar/changelog/2026-09-25-booking-links-without-a-meeting-type-now-show-a-not-found-pa.md +6 -0
  9. package/corpus/templates/clips/CHANGELOG.md +4 -0
  10. package/corpus/templates/content/app/root.tsx +0 -7
  11. package/corpus/templates/design/CHANGELOG.md +5 -0
  12. package/corpus/templates/design/actions/get-design.ts +9 -9
  13. package/corpus/templates/mail/CHANGELOG.md +13 -0
  14. package/corpus/templates/mail/app/root.tsx +1 -16
  15. package/corpus/templates/slides/CHANGELOG.md +8 -0
  16. package/corpus/templates/slides/app/components/design-system/DesignSystemSetup.tsx +1 -1
  17. package/corpus/templates/slides/app/hooks/use-agent-generating.ts +76 -0
  18. package/corpus/templates/slides/app/hooks/use-new-deck-generation.ts +16 -4
  19. package/corpus/templates/slides/app/pages/DeckEditor.tsx +591 -30
  20. package/corpus/templates/slides/changelog/2026-09-25-empty-decks-keep-their-retry-option-when-a-retry-cannot-be-s.md +6 -0
  21. package/corpus/templates/slides/changelog/2026-09-25-prevent-setup-generation-while-figma-indexing-is-in-progress.md +6 -0
  22. package/dist/automation/index.d.ts +1 -1
  23. package/dist/client/ErrorBoundary.js +2 -14
  24. package/dist/client/ErrorReportActions.js +1 -1
  25. package/dist/collab/struct-routes.d.ts +1 -1
  26. package/dist/file-upload/actions/upload-image.d.ts +2 -2
  27. package/dist/notifications/routes.d.ts +1 -1
  28. package/dist/org/handlers.d.ts +1 -1
  29. package/dist/secrets/routes.d.ts +9 -9
  30. package/dist/server/agent-engine-ollama-models-route.d.ts +1 -1
  31. package/dist/server/transcribe-voice.d.ts +1 -1
  32. package/dist/sharing/actions/list-resource-shares.d.ts +1 -1
  33. package/package.json +4 -4
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: fixed
3
+ date: 2026-09-25
4
+ ---
5
+
6
+ Empty decks keep their retry option when a retry cannot be sent.
@@ -0,0 +1,6 @@
1
+ ---
2
+ type: fixed
3
+ date: 2026-09-25
4
+ ---
5
+
6
+ Prevent setup generation while Figma indexing is in progress
@@ -186,8 +186,8 @@ export declare function createAutomationCallbackHandler(runtime: AutomationRunti
186
186
  duplicate?: undefined;
187
187
  eventId?: undefined;
188
188
  } | {
189
- error?: undefined;
190
189
  accepted: boolean;
191
190
  duplicate: boolean;
192
191
  eventId: string;
192
+ error?: undefined;
193
193
  }>;
@@ -1,4 +1,4 @@
1
- import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useEffect, useRef, useState } from "react";
3
3
  import { isRouteErrorResponse, useInRouterContext, useRouteError, } from "react-router";
4
4
  import { DEFAULT_LOCALE, LOCALE_HYDRATION_GLOBAL, LOCALE_STORAGE_KEY, normalizeLocaleCode, } from "../localization/shared.js";
@@ -7,7 +7,6 @@ import { appPath } from "./api-path.js";
7
7
  import { ErrorReportActions } from "./ErrorReportActions.js";
8
8
  import { isDynamicImportFailureMessage, recoverFromStaleChunkError, } from "./route-chunk-recovery.js";
9
9
  const primaryActionClassName = "inline-flex h-9 items-center gap-1.5 rounded-md bg-primary px-4 text-sm font-medium text-primary-foreground shadow-sm hover:bg-primary/90 cursor-pointer";
10
- const secondaryActionClassName = "inline-flex h-9 cursor-pointer items-center gap-1.5 rounded-md border border-border bg-background px-4 text-sm font-medium text-foreground shadow-sm hover:bg-accent";
11
10
  const errorCopy = {
12
11
  "en-US": {
13
12
  loadingLatest: "Loading the latest version...",
@@ -17,7 +16,6 @@ const errorCopy = {
17
16
  notFoundDetails: "We couldn't find this page.",
18
17
  statusTitle: (status) => `${status} Error`,
19
18
  goHome: "Go home",
20
- reload: "Reload",
21
19
  sendFeedback: "Send feedback",
22
20
  feedbackPlaceholder: "Describe what happened before this error appeared.",
23
21
  openGitHubIssue: "Open GitHub issue",
@@ -30,7 +28,6 @@ const errorCopy = {
30
28
  notFoundDetails: "我们找不到这个页面。",
31
29
  statusTitle: (status) => `${status} 错误`,
32
30
  goHome: "回到首页",
33
- reload: "重新加载",
34
31
  sendFeedback: "发送反馈",
35
32
  feedbackPlaceholder: "描述此错误出现前发生了什么。",
36
33
  openGitHubIssue: "打开 GitHub issue",
@@ -43,7 +40,6 @@ const errorCopy = {
43
40
  notFoundDetails: "找不到這個頁面。",
44
41
  statusTitle: (status) => `${status} 錯誤`,
45
42
  goHome: "回首頁",
46
- reload: "重新載入",
47
43
  sendFeedback: "傳送意見回饋",
48
44
  feedbackPlaceholder: "描述此錯誤出現前發生了什麼。",
49
45
  openGitHubIssue: "開啟 GitHub issue",
@@ -56,7 +52,6 @@ const errorCopy = {
56
52
  notFoundDetails: "No pudimos encontrar esta página.",
57
53
  statusTitle: (status) => `Error ${status}`,
58
54
  goHome: "Ir al inicio",
59
- reload: "Recargar",
60
55
  sendFeedback: "Enviar comentarios",
61
56
  feedbackPlaceholder: "Describe qué pasó antes de que apareciera este error.",
62
57
  openGitHubIssue: "Abrir issue en GitHub",
@@ -69,7 +64,6 @@ const errorCopy = {
69
64
  notFoundDetails: "Nous n'avons pas trouvé cette page.",
70
65
  statusTitle: (status) => `Erreur ${status}`,
71
66
  goHome: "Accueil",
72
- reload: "Recharger",
73
67
  sendFeedback: "Envoyer un retour",
74
68
  feedbackPlaceholder: "Décrivez ce qui s'est passé avant cette erreur.",
75
69
  openGitHubIssue: "Ouvrir une issue GitHub",
@@ -82,7 +76,6 @@ const errorCopy = {
82
76
  notFoundDetails: "Wir konnten diese Seite nicht finden.",
83
77
  statusTitle: (status) => `Fehler ${status}`,
84
78
  goHome: "Zur Startseite",
85
- reload: "Neu laden",
86
79
  sendFeedback: "Feedback senden",
87
80
  feedbackPlaceholder: "Beschreiben Sie, was vor diesem Fehler passiert ist.",
88
81
  openGitHubIssue: "GitHub-Issue öffnen",
@@ -95,7 +88,6 @@ const errorCopy = {
95
88
  notFoundDetails: "このページは見つかりませんでした。",
96
89
  statusTitle: (status) => `${status} エラー`,
97
90
  goHome: "ホームへ",
98
- reload: "再読み込み",
99
91
  sendFeedback: "フィードバックを送信",
100
92
  feedbackPlaceholder: "このエラーの直前に起きたことを説明してください。",
101
93
  openGitHubIssue: "GitHub issue を開く",
@@ -108,7 +100,6 @@ const errorCopy = {
108
100
  notFoundDetails: "이 페이지를 찾을 수 없습니다.",
109
101
  statusTitle: (status) => `${status} 오류`,
110
102
  goHome: "홈으로 이동",
111
- reload: "새로고침",
112
103
  sendFeedback: "피드백 보내기",
113
104
  feedbackPlaceholder: "이 오류가 나타나기 전에 무슨 일이 있었는지 적어 주세요.",
114
105
  openGitHubIssue: "GitHub issue 열기",
@@ -121,7 +112,6 @@ const errorCopy = {
121
112
  notFoundDetails: "Não encontramos esta página.",
122
113
  statusTitle: (status) => `Erro ${status}`,
123
114
  goHome: "Ir para início",
124
- reload: "Recarregar",
125
115
  sendFeedback: "Enviar feedback",
126
116
  feedbackPlaceholder: "Descreva o que aconteceu antes deste erro aparecer.",
127
117
  openGitHubIssue: "Abrir issue no GitHub",
@@ -134,7 +124,6 @@ const errorCopy = {
134
124
  notFoundDetails: "हमें यह पेज नहीं मिला।",
135
125
  statusTitle: (status) => `${status} त्रुटि`,
136
126
  goHome: "होम पर जाएं",
137
- reload: "रीलोड करें",
138
127
  sendFeedback: "फ़ीडबैक भेजें",
139
128
  feedbackPlaceholder: "इस त्रुटि से पहले क्या हुआ, उसका वर्णन करें।",
140
129
  openGitHubIssue: "GitHub issue खोलें",
@@ -147,7 +136,6 @@ const errorCopy = {
147
136
  notFoundDetails: "تعذر العثور على هذه الصفحة.",
148
137
  statusTitle: (status) => `خطأ ${status}`,
149
138
  goHome: "العودة للرئيسية",
150
- reload: "إعادة التحميل",
151
139
  sendFeedback: "إرسال الملاحظات",
152
140
  feedbackPlaceholder: "صف ما حدث قبل ظهور هذا الخطأ.",
153
141
  openGitHubIssue: "فتح مشكلة في GitHub",
@@ -279,7 +267,7 @@ function ErrorScreen({ error }) {
279
267
  console.error("[ErrorBoundary]", error);
280
268
  }
281
269
  const isNotFound = isExpectedRouteNotFound(error);
282
- return (_jsx("main", { className: "flex items-center justify-center min-h-screen p-4 bg-background text-foreground", children: _jsxs("div", { className: "flex flex-col items-center text-center max-w-md", children: [status && (_jsx("span", { className: "text-7xl font-bold tracking-tight text-muted-foreground/40", children: status })), _jsx("h1", { className: "mt-3 text-2xl font-semibold", children: title }), _jsx("p", { className: "mt-2 text-muted-foreground text-sm", children: details }), _jsxs("div", { className: "mt-6 flex flex-wrap justify-center gap-2", children: [_jsx("a", { href: appPath("/"), className: primaryActionClassName, children: copy.goHome }), !isNotFound && (_jsxs(_Fragment, { children: [_jsx("button", { type: "button", onClick: () => window.location.reload(), className: secondaryActionClassName, children: copy.reload }), _jsx(ErrorReportActions, { appName: "Agent-Native", title: title, details: details, status: status, issueTitle: `Error screen: ${title}`, feedbackLabel: copy.sendFeedback, feedbackPlaceholder: copy.feedbackPlaceholder, githubLabel: copy.openGitHubIssue, feedbackClassName: "h-9", githubClassName: "h-9" })] }))] }), stack && (_jsx("pre", { className: "mt-6 w-full text-start text-xs overflow-auto p-4 bg-muted rounded", children: _jsx("code", { children: stack }) }))] }) }));
270
+ return (_jsx("main", { className: "flex items-center justify-center min-h-screen p-4 bg-background text-foreground", children: _jsxs("div", { className: "flex flex-col items-center text-center max-w-md", children: [status && (_jsx("span", { className: "text-7xl font-bold tracking-tight text-muted-foreground/40", children: status })), _jsx("h1", { className: "mt-3 text-2xl font-semibold", children: title }), _jsx("p", { className: "mt-2 text-muted-foreground text-sm", children: details }), _jsxs("div", { className: "mt-6 flex flex-col items-center gap-2", children: [_jsx("a", { href: appPath("/"), className: primaryActionClassName, children: copy.goHome }), !isNotFound && (_jsx(ErrorReportActions, { appName: "Agent-Native", title: title, details: details, status: status, issueTitle: `Error screen: ${title}`, feedbackLabel: copy.sendFeedback, feedbackPlaceholder: copy.feedbackPlaceholder, githubLabel: copy.openGitHubIssue, feedbackClassName: "h-9", githubClassName: "h-9" }))] }), stack && (_jsx("pre", { className: "mt-6 w-full text-start text-xs overflow-auto p-4 bg-muted rounded", children: _jsx("code", { children: stack }) }))] }) }));
283
271
  }
284
272
  function RoutedErrorScreen() {
285
273
  return _jsx(ErrorScreen, { error: useRouteError() });
@@ -9,5 +9,5 @@ export function ErrorReportActions({ feedbackLabel = "Send feedback", feedbackPl
9
9
  prompt: report.prompt ?? feedbackPlaceholder,
10
10
  });
11
11
  const githubIssueUrl = buildGitHubIssueUrl(report);
12
- return (_jsxs("div", { className: cn("flex flex-wrap items-center justify-center gap-2", className), children: [_jsx(FeedbackButton, { variant: "outlined", label: feedbackLabel, placeholder: feedbackPlaceholder, initialValue: template, side: side, align: align, className: cn("h-8 text-xs", feedbackClassName) }), _jsxs("a", { href: githubIssueUrl, target: "_blank", rel: "noreferrer", className: cn("inline-flex h-8 items-center gap-1.5 rounded-md px-2 text-xs text-muted-foreground underline-offset-4 hover:bg-muted/60 hover:text-foreground hover:underline", githubClassName), children: [_jsx(IconBrandGithub, { className: "size-3.5" }), githubLabel] })] }));
12
+ return (_jsxs("div", { className: cn("flex flex-col items-center gap-2", className), children: [_jsx(FeedbackButton, { variant: "outlined", label: feedbackLabel, placeholder: feedbackPlaceholder, initialValue: template, side: side, align: align, className: cn("h-8 text-xs", feedbackClassName) }), _jsxs("a", { href: githubIssueUrl, target: "_blank", rel: "noreferrer", className: cn("inline-flex h-8 items-center gap-1.5 rounded-md px-2 text-xs text-muted-foreground underline-offset-4 hover:bg-muted/60 hover:text-foreground hover:underline", githubClassName), children: [_jsx(IconBrandGithub, { className: "size-3.5" }), githubLabel] })] }));
13
13
  }
@@ -13,8 +13,8 @@
13
13
  * Body: { json: any, fieldName?: string, type?: "map"|"array", requestSource?: string }
14
14
  */
15
15
  export declare const postCollabJson: import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
16
- ok?: undefined;
17
16
  error: string;
17
+ ok?: undefined;
18
18
  } | {
19
19
  error?: undefined;
20
20
  ok: boolean;
@@ -34,9 +34,9 @@ declare const _default: import("../../action.js").ActionDefinition<{
34
34
  idempotencyKey: string;
35
35
  deleted: boolean;
36
36
  } | {
37
- id?: undefined;
38
37
  error: string;
39
38
  url?: undefined;
39
+ id?: undefined;
40
40
  provider?: undefined;
41
41
  configured?: undefined;
42
42
  connectPath?: undefined;
@@ -48,8 +48,8 @@ declare const _default: import("../../action.js").ActionDefinition<{
48
48
  connectPath?: undefined;
49
49
  error?: undefined;
50
50
  } | {
51
- id?: undefined;
52
51
  url?: undefined;
52
+ id?: undefined;
53
53
  provider?: undefined;
54
54
  error: string;
55
55
  configured: boolean;
@@ -28,6 +28,6 @@ export declare function createNotificationsHandler(): import("h3").EventHandlerW
28
28
  } | {
29
29
  count?: undefined;
30
30
  updated?: undefined;
31
- error?: undefined;
32
31
  ok: boolean;
32
+ error?: undefined;
33
33
  }>>;
@@ -74,9 +74,9 @@ export declare const setWorkspaceAppDefaultVisibilityHandler: import("h3").Event
74
74
  /** POST /_agent-native/org — create a new organization */
75
75
  export declare const createOrgHandler: import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
76
76
  success: boolean;
77
- id?: undefined;
78
77
  name?: undefined;
79
78
  role?: undefined;
79
+ id?: undefined;
80
80
  } | {
81
81
  success?: undefined;
82
82
  id: string;
@@ -57,37 +57,37 @@ export declare function createListSecretsHandler(): import("h3").EventHandlerWit
57
57
  /** POST /_agent-native/secrets/:key — write a secret. */
58
58
  export declare function createWriteSecretHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
59
59
  error: string;
60
- ok?: undefined;
61
60
  status?: undefined;
61
+ ok?: undefined;
62
62
  } | {
63
- error?: undefined;
64
63
  ok: boolean;
65
64
  status: string;
65
+ error?: undefined;
66
66
  } | {
67
- ok?: undefined;
68
67
  error: string;
69
68
  removed?: undefined;
69
+ ok?: undefined;
70
70
  } | {
71
- error?: undefined;
72
71
  ok: boolean;
73
72
  removed: boolean;
73
+ error?: undefined;
74
74
  }>>;
75
75
  /**
76
76
  * POST /_agent-native/secrets/:key/test — validate an optional candidate value
77
77
  * or the current stored value without changing anything.
78
78
  */
79
79
  export declare function createTestSecretHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
80
- ok?: undefined;
81
80
  error: string;
82
81
  note?: undefined;
82
+ ok?: undefined;
83
83
  } | {
84
- error?: undefined;
85
84
  ok: boolean;
86
85
  note?: undefined;
87
- } | {
88
86
  error?: undefined;
87
+ } | {
89
88
  ok: boolean;
90
89
  note: string;
90
+ error?: undefined;
91
91
  } | {
92
92
  note?: undefined;
93
93
  ok: boolean;
@@ -119,11 +119,11 @@ export interface AdHocSecretPayload {
119
119
  export declare function createAdHocSecretHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<AdHocSecretPayload[] | {
120
120
  error: string;
121
121
  } | {
122
- error?: undefined;
123
122
  ok: boolean;
124
123
  key: string;
125
- } | {
126
124
  error?: undefined;
125
+ } | {
127
126
  ok: boolean;
128
127
  removed: boolean;
128
+ error?: undefined;
129
129
  }>>;
@@ -5,8 +5,8 @@
5
5
  * static suggestion list in `model-config.ts`.
6
6
  */
7
7
  export declare function createAgentEngineOllamaModelsHandler(): import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
8
- ok?: undefined;
9
8
  error: string;
9
+ ok?: undefined;
10
10
  models?: undefined;
11
11
  } | {
12
12
  error?: undefined;
@@ -20,6 +20,6 @@ export declare function createTranscribeVoiceHandler(): import("h3").EventHandle
20
20
  error: string;
21
21
  text?: undefined;
22
22
  } | {
23
- error?: undefined;
24
23
  text: string;
24
+ error?: undefined;
25
25
  }>>;
@@ -2,6 +2,7 @@ declare const _default: import("../../action.js").ActionDefinition<{
2
2
  resourceType: string;
3
3
  resourceId: string;
4
4
  }, {
5
+ role?: undefined;
5
6
  ownerEmail: any;
6
7
  visibility: any;
7
8
  shares: any[];
@@ -11,7 +12,6 @@ declare const _default: import("../../action.js").ActionDefinition<{
11
12
  supportsGroupShares?: boolean;
12
13
  };
13
14
  orgId?: undefined;
14
- role?: undefined;
15
15
  agentReadable?: undefined;
16
16
  } | {
17
17
  ownerEmail: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.190.0-nightly-20260926012834",
3
+ "version": "0.190.0",
4
4
  "description": "The agentic application framework for building autonomous agents with intuitive UIs",
5
5
  "homepage": "https://github.com/BuilderIO/agent-native#readme",
6
6
  "bugs": {
@@ -510,9 +510,9 @@
510
510
  "yaml": "^2.9.0",
511
511
  "yjs": "^13.6.32",
512
512
  "zod": "^4.3.6",
513
- "@agent-native/agentkit": "^0.2.12-nightly-20260926012834",
514
- "@agent-native/toolkit": "^0.21.2-nightly-20260926012834",
515
- "@agent-native/recap-cli": "0.5.41"
513
+ "@agent-native/recap-cli": "0.5.42",
514
+ "@agent-native/toolkit": "^0.21.2",
515
+ "@agent-native/agentkit": "^0.2.12"
516
516
  },
517
517
  "devDependencies": {
518
518
  "@ai-sdk/anthropic": "^3.0.71",