@agent-native/core 0.180.0-nightly-20260915184036 → 0.180.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 (77) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/templates/analytics/CHANGELOG.md +10 -0
  3. package/corpus/templates/calendar/CHANGELOG.md +39 -0
  4. package/corpus/templates/calendar/INTERACTION-MATRIX.md +19 -17
  5. package/corpus/templates/calendar/actions/update-calendar-visual-preferences.ts +21 -0
  6. package/corpus/templates/calendar/actions/view-screen.ts +10 -2
  7. package/corpus/templates/calendar/app/components/calendar/CreateEventDialog.tsx +11 -0
  8. package/corpus/templates/calendar/app/components/calendar/MonthView.tsx +174 -145
  9. package/corpus/templates/calendar/app/components/calendar/WeekView.tsx +20 -16
  10. package/corpus/templates/calendar/app/components/layout/Sidebar.tsx +1 -0
  11. package/corpus/templates/calendar/app/hooks/use-events.ts +16 -0
  12. package/corpus/templates/calendar/app/hooks/use-view-preferences.ts +126 -14
  13. package/corpus/templates/calendar/app/i18n-data.ts +90 -0
  14. package/corpus/templates/calendar/app/lib/calendar-navigation.ts +29 -9
  15. package/corpus/templates/calendar/app/lib/calendar-timezone.ts +2 -0
  16. package/corpus/templates/calendar/app/lib/event-time-range.ts +34 -0
  17. package/corpus/templates/calendar/app/pages/CalendarView.tsx +245 -35
  18. package/corpus/templates/calendar/changelog/2026-09-13-calendar-sidebar-overflow-is-easier-to-discover.md +6 -0
  19. package/corpus/templates/calendar/changelog/2026-09-15-calendar-mirrors-notion-calendar-s-customizable-day-ranges-a.md +6 -0
  20. package/corpus/templates/calendar/shared/calendar-view-preferences.ts +36 -0
  21. package/corpus/templates/calendar/shared/timezone.ts +9 -2
  22. package/corpus/templates/clips/.agents/skills/video-sharing/SKILL.md +2 -0
  23. package/corpus/templates/clips/CHANGELOG.md +19 -0
  24. package/corpus/templates/clips/actions/save-browser-diagnostics.ts +43 -4
  25. package/corpus/templates/clips/app/components/player/browser-diagnostics-panel.tsx +114 -1
  26. package/corpus/templates/clips/app/i18n/en-US.ts +7 -0
  27. package/corpus/templates/clips/app/lib/browser-diagnostics-capture.ts +108 -0
  28. package/corpus/templates/clips/app/routes/record.tsx +1 -0
  29. package/corpus/templates/clips/changelog/2026-09-15-recordings-include-a-structured-timeline-of-browser-interact.md +6 -0
  30. package/corpus/templates/clips/chrome-extension/public/manifest.json +7 -0
  31. package/corpus/templates/clips/chrome-extension/src/background.ts +235 -9
  32. package/corpus/templates/clips/chrome-extension/src/content-history-bridge.ts +80 -0
  33. package/corpus/templates/clips/chrome-extension/src/content-script.ts +166 -5
  34. package/corpus/templates/clips/chrome-extension/vite.config.ts +4 -0
  35. package/corpus/templates/clips/server/db/schema.ts +3 -0
  36. package/corpus/templates/clips/server/lib/public-agent-context.ts +40 -2
  37. package/corpus/templates/clips/server/plugins/db.ts +5 -0
  38. package/corpus/templates/clips/shared/browser-diagnostics.ts +171 -0
  39. package/corpus/templates/content/.agents/skills/content/SKILL.md +4 -2
  40. package/corpus/templates/content/.agents/skills/document-editing/SKILL.md +8 -1
  41. package/corpus/templates/content/AGENTS.md +5 -6
  42. package/corpus/templates/content/CHANGELOG.md +24 -0
  43. package/corpus/templates/content/actions/_content-database-row-migration.ts +67 -36
  44. package/corpus/templates/content/actions/_document-edit-mutation.ts +74 -23
  45. package/corpus/templates/content/actions/edit-document.ts +48 -8
  46. package/corpus/templates/content/actions/migrate-content-database-rows.ts +69 -28
  47. package/corpus/templates/content/server/plugins/agent-chat.ts +1 -1
  48. package/corpus/templates/design/CHANGELOG.md +22 -0
  49. package/corpus/templates/factory/CHANGELOG.md +11 -0
  50. package/corpus/templates/forms/CHANGELOG.md +6 -0
  51. package/corpus/templates/mail/.agents/skills/mail-interaction-parity/references/interaction-matrix.md +24 -4
  52. package/corpus/templates/mail/CHANGELOG.md +68 -0
  53. package/corpus/templates/mail/app/components/email/ComposeBubbleToolbar.tsx +8 -0
  54. package/corpus/templates/mail/app/components/email/ComposeModal.tsx +33 -13
  55. package/corpus/templates/mail/app/components/email/EmailListItem.tsx +23 -4
  56. package/corpus/templates/mail/app/components/email/EmailThread.tsx +56 -13
  57. package/corpus/templates/mail/app/components/email/InlineReplyComposer.tsx +23 -4
  58. package/corpus/templates/mail/app/components/email/RecipientInput.tsx +9 -0
  59. package/corpus/templates/mail/app/components/layout/AppLayout.tsx +8 -1
  60. package/corpus/templates/mail/app/i18n/en-US.ts +31 -0
  61. package/corpus/templates/mail/changelog/2026-09-15-mail-labels-recipient-and-account-controls-for-keyboard-and-.md +6 -0
  62. package/corpus/templates/slides/CHANGELOG.md +32 -0
  63. package/dist/client/CommandMenu.js +14 -2
  64. package/dist/client/settings/AccountSettingsCard.js +3 -2
  65. package/dist/client/settings/SettingsTabsPage.js +9 -1
  66. package/dist/client/settings/agent-settings-search.js +5 -1
  67. package/dist/client/sign-out.d.ts +1 -0
  68. package/dist/client/sign-out.js +8 -0
  69. package/dist/collab/routes.d.ts +1 -1
  70. package/dist/file-upload/actions/upload-image.d.ts +2 -2
  71. package/dist/observability/routes.d.ts +3 -3
  72. package/dist/org/handlers.d.ts +1 -1
  73. package/dist/resources/handlers.d.ts +1 -1
  74. package/dist/secrets/routes.d.ts +3 -3
  75. package/dist/server/agent-engine-api-key-route.d.ts +2 -2
  76. package/dist/server/transcribe-voice.d.ts +1 -1
  77. package/package.json +4 -4
@@ -1,12 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ActionButton, Avatar, IconButton, TextField, } from "@agent-native/toolkit/design-system";
3
- import { IconCamera, IconCheck, IconLock, IconPencil, } from "@tabler/icons-react";
3
+ import { IconCamera, IconCheck, IconLock, IconLogout, IconPencil, } from "@tabler/icons-react";
4
4
  import { useEffect, useRef, useState } from "react";
5
5
  import { PASSWORD_MIN_LENGTH } from "../../shared/password-policy.js";
6
6
  import { agentNativePath } from "../api-path.js";
7
7
  import { Popover, PopoverContent, PopoverTrigger, } from "../components/ui/popover.js";
8
8
  import { Tooltip, TooltipContent, TooltipTrigger, } from "../components/ui/tooltip.js";
9
9
  import { useT } from "../i18n.js";
10
+ import { signOut } from "../sign-out.js";
10
11
  import { useActionMutation, useActionQuery } from "../use-action.js";
11
12
  import { uploadAvatar, useAvatarUrl } from "../use-avatar.js";
12
13
  import { useSession } from "../use-session.js";
@@ -236,7 +237,7 @@ export function AccountSettingsForm({ compact = false, }) {
236
237
  ? t("settings.profileSaving")
237
238
  : t("settings.profileSave") })] })) : (_jsxs("div", { className: "flex w-full items-center justify-end gap-2 sm:w-80", children: [_jsx("span", { className: "min-w-0 flex-1 truncate text-sm text-foreground", children: displayName }), _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(IconButton, { type: "button", intent: "neutral", emphasis: "ghost", size: "compact", icon: _jsx(IconPencil, { size: 14 }), label: t("settings.profileNameEdit"), title: t("settings.profileNameEdit"), disabled: !email, onPress: handleProfileEdit }) }), _jsx(TooltipContent, { children: t("settings.profileNameEdit") })] })] })) }), _jsx(SettingsRow, { id: "timezone", label: t("settings.timezoneLabel", { defaultValue: "Timezone" }), description: t("settings.timezoneHint", {
238
239
  defaultValue: "Used for timestamps and scheduled automations.",
239
- }), control: _jsx(SchedulingTimezoneField, { compact: true }) }), _jsx(PasswordSettings, {})] }));
240
+ }), control: _jsx(SchedulingTimezoneField, { compact: true }) }), _jsx(PasswordSettings, {}), _jsx(SettingsRow, { id: "sign-out", label: t("agentChat.auth.logOut"), icon: _jsx(IconLogout, { className: "size-4" }), control: _jsx(ActionButton, { type: "button", intent: "danger", emphasis: "outline", size: "compact", onPress: () => void signOut(), children: t("agentChat.auth.logOut") }) })] }));
240
241
  }
241
242
  export function AccountSettingsCard({ className }) {
242
243
  return (_jsx("div", { className: cn("w-full", className), children: _jsx(AccountSettingsForm, {}) }));
@@ -5,7 +5,9 @@ import { useCallback, useEffect, useMemo, useRef, useState, } from "react";
5
5
  import { Link, useInRouterContext, useLocation } from "react-router";
6
6
  import { appMountPath, appMountedPath } from "../../client/api-path.js";
7
7
  import { buildSettingsRoute, STANDARD_APP_ROUTES, } from "../../navigation/index.js";
8
+ import { useT } from "../i18n.js";
8
9
  import { LabsSettings } from "../labs/LabsSettings.js";
10
+ import { SIGN_OUT_SEARCH_TERMS } from "../sign-out.js";
9
11
  import { cn } from "../utils.js";
10
12
  function normalizeTabId(value) {
11
13
  let decoded = value?.replace(/^#/, "").trim() ?? "";
@@ -175,6 +177,7 @@ function SettingsTabsPageContent({ general, account, team, whatsNew, extraTabs =
175
177
  const searchInputRef = useRef(null);
176
178
  const autoFocusedSearchRef = useRef(false);
177
179
  const controlledHashRef = useRef(null);
180
+ const t = useT();
178
181
  const tabs = useMemo(() => {
179
182
  const hasOrganizationTab = extraTabs.some((tab) => tab.id === "organization");
180
183
  const inlineTabs = extraTabs.filter((tab) => !tab.href);
@@ -194,7 +197,11 @@ function SettingsTabsPageContent({ general, account, team, whatsNew, extraTabs =
194
197
  label: accountLabel,
195
198
  icon: IconUserCircle,
196
199
  content: account,
197
- keywords: "profile photo avatar identity signed in email name",
200
+ keywords: [
201
+ "profile photo avatar identity signed in email name",
202
+ ...SIGN_OUT_SEARCH_TERMS,
203
+ t("agentChat.auth.logOut"),
204
+ ].join(" "),
198
205
  });
199
206
  }
200
207
  next.push(...inlineTabs);
@@ -248,6 +255,7 @@ function SettingsTabsPageContent({ general, account, team, whatsNew, extraTabs =
248
255
  teamLabel,
249
256
  whatsNew,
250
257
  whatsNewLabel,
258
+ t,
251
259
  ]);
252
260
  const fallbackTab = tabs.some((tab) => tab.id === defaultTab)
253
261
  ? defaultTab
@@ -1,4 +1,5 @@
1
1
  import { mcpSettingsMessagesForLocale } from "../../localization/mcp-settings-messages.js";
2
+ import { SIGN_OUT_SEARCH_TERMS } from "../sign-out.js";
2
3
  export const SETTINGS_SECTION_IDS = new Set([
3
4
  "account",
4
5
  "llm",
@@ -61,7 +62,10 @@ export const WORKSPACE_SETTINGS_SECTIONS = [
61
62
  const SETTINGS_SECTION_SEARCH_META = {
62
63
  account: {
63
64
  label: "Account",
64
- keywords: "profile photo avatar identity signed in email name timezone time zone schedule scheduling clock",
65
+ keywords: [
66
+ "profile photo avatar identity signed in email name timezone time zone schedule scheduling clock",
67
+ ...SIGN_OUT_SEARCH_TERMS,
68
+ ].join(" "),
65
69
  },
66
70
  llm: {
67
71
  label: "LLM",
@@ -1,3 +1,4 @@
1
+ export declare const SIGN_OUT_SEARCH_TERMS: readonly ["log out", "log-out", "logout", "sign out", "sign-out", "signout"];
1
2
  export interface SignOutOptions {
2
3
  /**
3
4
  * Where to send the browser once the session is revoked. Defaults to the
@@ -27,6 +27,14 @@ import { buildSignInReturnHref } from "./require-session.js";
27
27
  import { beginSignOut, completeSignOut } from "./use-session.js";
28
28
  const LOGOUT_PATH = "/_agent-native/auth/logout";
29
29
  const SIGN_OUT_REQUEST_TIMEOUT_MS = 15_000;
30
+ export const SIGN_OUT_SEARCH_TERMS = [
31
+ "log out",
32
+ "log-out",
33
+ "logout",
34
+ "sign out",
35
+ "sign-out",
36
+ "signout",
37
+ ];
30
38
  let signOutOperation = null;
31
39
  function setBetaRedirectSignOutSignal() {
32
40
  const signOutWindow = window;
@@ -26,8 +26,8 @@ export declare const getCollabState: import("h3").EventHandlerWithFetch<import("
26
26
  * Body: { update: string (base64), requestSource?: string }
27
27
  */
28
28
  export declare const postCollabUpdate: import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
29
- ok?: undefined;
30
29
  error: string;
30
+ ok?: undefined;
31
31
  } | {
32
32
  error?: undefined;
33
33
  ok: boolean;
@@ -3,18 +3,18 @@ declare const _default: import("../../action.js").ActionDefinition<{
3
3
  url?: string;
4
4
  filename?: string;
5
5
  }, {
6
- id?: undefined;
7
6
  error: string;
8
7
  configured?: undefined;
9
8
  connectPath?: undefined;
10
9
  url?: undefined;
10
+ id?: undefined;
11
11
  provider?: undefined;
12
12
  } | {
13
- id?: undefined;
14
13
  error: string;
15
14
  configured: boolean;
16
15
  connectPath: string;
17
16
  url?: undefined;
17
+ id?: undefined;
18
18
  provider?: undefined;
19
19
  } | {
20
20
  error?: undefined;
@@ -42,22 +42,22 @@ export declare function createObservabilityHandler(): import("h3").EventHandlerW
42
42
  avgEvalScore: number;
43
43
  } | {
44
44
  error?: undefined;
45
- ok?: undefined;
46
45
  summary: import("./types.js").TraceSummary;
47
46
  spans: import("./types.js").TraceSpan[];
48
47
  id?: undefined;
48
+ ok?: undefined;
49
49
  } | {
50
50
  error?: undefined;
51
- ok?: undefined;
52
51
  summary?: undefined;
53
52
  spans?: undefined;
54
53
  id: string;
55
- } | {
56
54
  ok?: undefined;
55
+ } | {
57
56
  summary?: undefined;
58
57
  spans?: undefined;
59
58
  id?: undefined;
60
59
  error: any;
60
+ ok?: undefined;
61
61
  } | {
62
62
  error?: undefined;
63
63
  summary?: undefined;
@@ -52,9 +52,9 @@ export declare const setWorkspaceAppDefaultVisibilityHandler: import("h3").Event
52
52
  /** POST /_agent-native/org — create a new organization */
53
53
  export declare const createOrgHandler: import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
54
54
  success: boolean;
55
- id?: undefined;
56
55
  name?: undefined;
57
56
  role?: undefined;
57
+ id?: undefined;
58
58
  } | {
59
59
  success?: undefined;
60
60
  id: string;
@@ -48,8 +48,8 @@ export declare function handleUpdateResource(event: any): Promise<import("./stor
48
48
  }>;
49
49
  /** DELETE /_agent-native/resources/:id — delete a resource */
50
50
  export declare function handleDeleteResource(event: any): Promise<{
51
- error: string;
52
51
  ok?: undefined;
52
+ error: string;
53
53
  } | {
54
54
  error?: undefined;
55
55
  ok: boolean;
@@ -57,16 +57,16 @@ 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
- status?: undefined;
61
60
  ok?: undefined;
61
+ status?: undefined;
62
62
  } | {
63
63
  ok: boolean;
64
64
  status: string;
65
65
  error?: undefined;
66
66
  } | {
67
+ ok?: undefined;
67
68
  error: string;
68
69
  removed?: undefined;
69
- ok?: undefined;
70
70
  } | {
71
71
  ok: boolean;
72
72
  removed: boolean;
@@ -77,9 +77,9 @@ export declare function createWriteSecretHandler(): import("h3").EventHandlerWit
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;
80
81
  error: string;
81
82
  note?: undefined;
82
- ok?: undefined;
83
83
  } | {
84
84
  ok: boolean;
85
85
  note?: undefined;
@@ -46,15 +46,15 @@ export declare function createAgentEngineApiKeyHandler(): import("h3").EventHand
46
46
  key?: undefined;
47
47
  scope?: undefined;
48
48
  } | {
49
+ error?: undefined;
49
50
  ok: boolean;
50
51
  key: string;
51
52
  scope: string;
52
- error?: undefined;
53
53
  } | {
54
+ error?: undefined;
54
55
  ok: boolean;
55
56
  key: string;
56
57
  baseUrlKey?: string;
57
58
  scope: AgentEngineApiKeyScope;
58
- error?: undefined;
59
59
  }>>;
60
60
  export {};
@@ -20,6 +20,6 @@ export declare function createTranscribeVoiceHandler(): import("h3").EventHandle
20
20
  error: string;
21
21
  text?: undefined;
22
22
  } | {
23
- text: string;
24
23
  error?: undefined;
24
+ text: string;
25
25
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-native/core",
3
- "version": "0.180.0-nightly-20260915184036",
3
+ "version": "0.180.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": {
@@ -477,9 +477,9 @@
477
477
  "yaml": "^2.9.0",
478
478
  "yjs": "^13.6.32",
479
479
  "zod": "^4.3.6",
480
- "@agent-native/recap-cli": "0.5.30",
481
- "@agent-native/agentkit": "^0.2.1-nightly-20260915184036",
482
- "@agent-native/toolkit": "^0.20.1-nightly-20260915184036"
480
+ "@agent-native/agentkit": "^0.2.1",
481
+ "@agent-native/toolkit": "^0.20.1",
482
+ "@agent-native/recap-cli": "0.5.31"
483
483
  },
484
484
  "devDependencies": {
485
485
  "@ai-sdk/anthropic": "^3.0.71",