@agent-native/core 0.149.6 → 0.151.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.
- package/corpus/README.md +1 -1
- package/corpus/templates/analytics/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/analytics/app/hooks/use-navigation-state.ts +83 -45
- package/corpus/templates/analytics/changelog/2026-08-11-analytics-dashboards-keep-the-selected-tab-when-reopened.md +6 -0
- package/corpus/templates/assets/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/brain/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/calendar/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/chat/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/clips/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/clips/changelog/2026-08-11-clips-recovers-from-transient-updates-and-avoids-macos-priva.md +6 -0
- package/corpus/templates/clips/desktop/src/app.tsx +32 -176
- package/corpus/templates/clips/desktop/src/lib/updater.ts +52 -37
- package/corpus/templates/clips/desktop/src/styles.css +1 -166
- package/corpus/templates/clips/desktop/src-tauri/Cargo.toml +2 -0
- package/corpus/templates/clips/desktop/src-tauri/Info.plist +4 -0
- package/corpus/templates/clips/desktop/src-tauri/src/eventkit.rs +28 -1
- package/corpus/templates/clips/desktop/src-tauri/src/lib.rs +2 -0
- package/corpus/templates/clips/desktop/src-tauri/src/native_speech.rs +48 -1
- package/corpus/templates/clips/desktop/src-tauri/src/permission_status.rs +3 -0
- package/corpus/templates/clips/desktop/src-tauri/src/whisper_speech.rs +5 -0
- package/corpus/templates/clips/server/plugins/auth.ts +3 -0
- package/corpus/templates/content/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/content/app/components/editor/CommentsSidebar.tsx +2 -1
- package/corpus/templates/design/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/design/app/pages/DesignSystemSetup.tsx +5 -1
- package/corpus/templates/design/changelog/2026-08-11-design-agent-prompts-copy-successfully-in-the-desktop-app.md +6 -0
- package/corpus/templates/dispatch/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/dispatch/app/global.css +2 -2
- package/corpus/templates/dispatch/changelog/2026-08-10-desktop-workspace-sign-in.md +6 -0
- package/corpus/templates/dispatch/changelog/2026-08-11-dispatch-no-longer-shows-the-generic-chat-starter-among-defa.md +6 -0
- package/corpus/templates/dispatch/changelog/2026-08-11-integrations-and-scheduled-work-open-as-first-class-electron-pages.md +6 -0
- package/corpus/templates/dispatch/changelog/2026-08-11-sidebar-text-is-slightly-easier-to-read-in-light-and-dark-mo.md +6 -0
- package/corpus/templates/dispatch/server/lib/identity-sso.ts +57 -31
- package/corpus/templates/dispatch/server/plugins/feature-flags.ts +5 -0
- package/corpus/templates/dispatch/server/plugins/identity-sso.ts +82 -33
- package/corpus/templates/dispatch/server/plugins/org-apps-directory.ts +7 -15
- package/corpus/templates/dispatch/server/plugins/setup-dispatch.ts +9 -1
- package/corpus/templates/dispatch/shared/feature-flags.ts +15 -0
- package/corpus/templates/factory/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/forms/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/forms/.agents/skills/form-responses/SKILL.md +8 -7
- package/corpus/templates/forms/app/hooks/use-forms.ts +8 -1
- package/corpus/templates/forms/changelog/2026-08-11-fixed-public-forms-so-conditional-questions-stay-hidden-unti.md +6 -0
- package/corpus/templates/forms/server/handlers/submissions.ts +2 -1
- package/corpus/templates/forms/server/lib/public-form-ssr.ts +37 -2
- package/corpus/templates/forms/shared/page-url.ts +54 -0
- package/corpus/templates/forms/shared/types.ts +4 -4
- package/corpus/templates/mail/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/plan/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/slides/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/corpus/templates/slides/actions/add-slide.ts +0 -27
- package/corpus/templates/slides/actions/import-file.ts +28 -9
- package/corpus/templates/slides/actions/view-screen.ts +4 -4
- package/corpus/templates/slides/app/components/design-system/DesignSystemSetup.tsx +8 -1
- package/corpus/templates/slides/app/components/editor/AiEditingMarker.tsx +25 -0
- package/corpus/templates/slides/app/components/editor/EditorSidebar.tsx +43 -48
- package/corpus/templates/slides/app/components/editor/EditorToolbar.tsx +9 -6
- package/corpus/templates/slides/app/components/editor/GeneratingSlidePreview.tsx +1 -9
- package/corpus/templates/slides/app/components/editor/ImageDropPromptPopover.tsx +2 -0
- package/corpus/templates/slides/app/components/editor/ImageOverlay.tsx +0 -26
- package/corpus/templates/slides/app/components/editor/SlideEditor.tsx +904 -217
- package/corpus/templates/slides/app/components/editor/canvas-interactions/index.ts +1 -0
- package/corpus/templates/slides/app/components/editor/canvas-interactions/slides-canvas-adapter.ts +11 -0
- package/corpus/templates/slides/app/components/editor/inline-edit-session.ts +16 -0
- package/corpus/templates/slides/app/components/editor/slide-object-interactions.ts +22 -6
- package/corpus/templates/slides/app/components/editor/style-clipboard.ts +61 -0
- package/corpus/templates/slides/app/components/layout/Layout.tsx +26 -2
- package/corpus/templates/slides/app/components/ui/context-menu.tsx +1 -0
- package/corpus/templates/slides/app/context/DeckContext.tsx +75 -25
- package/corpus/templates/slides/app/global.css +1 -1
- package/corpus/templates/slides/app/i18n/en-US.ts +6 -1
- package/corpus/templates/slides/app/lib/create-deck-generation.ts +1 -1
- package/corpus/templates/slides/app/lib/image-drop-to-agent.ts +12 -12
- package/corpus/templates/slides/app/lib/slide-agent-context.ts +52 -0
- package/corpus/templates/slides/app/lib/slide-image-replacement.ts +61 -0
- package/corpus/templates/slides/app/pages/DeckEditor.tsx +55 -116
- package/corpus/templates/slides/app/pages/Index.tsx +28 -3
- package/corpus/templates/slides/changelog/2026-08-11-agent-chat-now-follows-the-current-slide-and-selection.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-11-deck-titles-now-use-slide-content-instead-of-placeholder-filenames.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-11-history-now-opens-from-the-deck-overflow-menu.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-11-images-can-be-dropped-directly-onto-slides-and-resized-or-re.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-11-new-decks-now-transition-directly-to-a-full-page-editor-load.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-11-selected-slide-layers-can-be-nudged-precisely-with-arrow-key.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-11-slides-can-copy-and-paste-element-styles-with-cmd-option-c-v.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-11-slides-shows-one-compact-ai-marker-and-keeps-your-current-sl.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-11-text-edits-preserve-slide-layout-when-no-changes-are-made.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-11-the-style-toolbar-now-uses-the-full-available-width.md +6 -0
- package/corpus/templates/slides/changelog/2026-08-11-undo-and-redo-now-move-one-visible-slide-state-at-a-time.md +6 -0
- package/corpus/templates/slides/server/lib/chat-attachments.ts +6 -2
- package/corpus/templates/slides/shared/deck-title.ts +56 -0
- package/corpus/templates/tasks/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/dist/agent/run-store.js +6 -1
- package/dist/agent/thread-data-builder.js +19 -44
- package/dist/agent/types.d.ts +13 -0
- package/dist/catalog.json +1 -0
- package/dist/cli/create.js +1 -1
- package/dist/client/AssistantChat.js +58 -10
- package/dist/client/FileStorageSetupCard.d.ts +6 -0
- package/dist/client/FileStorageSetupCard.js +18 -0
- package/dist/client/NewWorkspaceAppFlow.js +10 -0
- package/dist/client/agent-chat-adapter.js +87 -11
- package/dist/client/agent-chat.d.ts +1 -1
- package/dist/client/agent-chat.js +8 -3
- package/dist/client/chat/attachment-adapters.js +10 -0
- package/dist/client/chat/message-components.d.ts +4 -1
- package/dist/client/chat/message-components.js +37 -13
- package/dist/client/chat/tool-call-display.js +14 -0
- package/dist/client/chat-first/apps-rail.d.ts +1 -1
- package/dist/client/chat-first/apps-rail.js +6 -6
- package/dist/client/chat-first/copy.js +1 -0
- package/dist/client/chat-first/types.d.ts +1 -0
- package/dist/client/extensions/EmbeddedExtension.js +1 -1
- package/dist/client/extensions/ExtensionViewer.js +1 -1
- package/dist/client/extensions/InlineExtensionFrame.js +1 -1
- package/dist/client/onboarding/FirstRunOnboarding.js +17 -2
- package/dist/client/settings/FileStorageSettingsForm.d.ts +2 -0
- package/dist/client/settings/FileStorageSettingsForm.js +113 -0
- package/dist/client/settings/SettingsPanel.js +2 -1
- package/dist/client/sse-event-processor.js +21 -0
- package/dist/collab/struct-routes.d.ts +1 -1
- package/dist/extensions/actions.js +2 -2
- package/dist/extensions/html-shell.js +3 -1
- package/dist/file-upload/pre-upload-attachments.d.ts +15 -10
- package/dist/file-upload/pre-upload-attachments.js +68 -24
- package/dist/file-upload/registry.d.ts +4 -5
- package/dist/file-upload/registry.js +7 -14
- package/dist/file-upload/s3.d.ts +9 -0
- package/dist/file-upload/s3.js +168 -0
- package/dist/file-upload/types.d.ts +3 -3
- package/dist/file-upload/types.js +2 -2
- package/dist/mcp/screen-memory-stdio.d.ts +7 -7
- package/dist/notifications/routes.d.ts +3 -3
- package/dist/onboarding/app-profile.js +23 -1
- package/dist/onboarding/default-steps.js +69 -0
- package/dist/onboarding/types.d.ts +2 -0
- package/dist/provider-api/actions/custom-provider-registration.d.ts +11 -11
- package/dist/provider-api/actions/provider-api.d.ts +8 -8
- package/dist/secrets/routes.d.ts +3 -3
- package/dist/server/agent-chat/browser-team-tools.js +20 -0
- package/dist/server/agent-chat-plugin.js +12 -3
- package/dist/server/agent-engine-api-key-route.d.ts +1 -1
- package/dist/server/auth.js +45 -21
- package/dist/server/better-auth-instance.d.ts +2 -0
- package/dist/server/better-auth-instance.js +2 -2
- package/dist/server/core-routes-plugin.d.ts +1 -0
- package/dist/server/core-routes-plugin.js +26 -16
- package/dist/server/identity-sso-store.d.ts +3 -0
- package/dist/server/identity-sso-store.js +45 -0
- package/dist/server/identity-sso.d.ts +20 -10
- package/dist/server/identity-sso.js +79 -31
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +1 -1
- package/dist/templates/chat/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/dist/templates/default/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/dist/templates/workspace-core/.agents/skills/authentication/SKILL.md +24 -1
- package/dist/templates/workspace-core/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/dist/templates/workspace-core/.agents/skills/extensions/SKILL.md +6 -2
- package/dist/templates/workspace-core/.agents/skills/extensions/references/api.md +1 -1
- package/dist/templates/workspace-core/.agents/skills/generative-ui/SKILL.md +3 -1
- package/docs/content/authentication.mdx +27 -0
- package/docs/content/cross-app-sso.mdx +38 -8
- package/docs/content/extensions.mdx +15 -15
- package/docs/content/file-uploads.mdx +10 -12
- package/docs/content/generative-ui.mdx +6 -1
- package/docs/content/key-concepts.mdx +141 -83
- package/package.json +2 -2
- package/src/templates/chat/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/src/templates/default/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/src/templates/workspace-core/.agents/skills/authentication/SKILL.md +24 -1
- package/src/templates/workspace-core/.agents/skills/delegate-to-agent/SKILL.md +28 -0
- package/src/templates/workspace-core/.agents/skills/extensions/SKILL.md +6 -2
- package/src/templates/workspace-core/.agents/skills/extensions/references/api.md +1 -1
- package/src/templates/workspace-core/.agents/skills/generative-ui/SKILL.md +3 -1
|
@@ -590,12 +590,12 @@ export default function EditorToolbar({
|
|
|
590
590
|
value={deckTitle}
|
|
591
591
|
onChange={(e) => onTitleChange(e.target.value)}
|
|
592
592
|
style={{ width: `${titleInputWidth}px` }}
|
|
593
|
-
className="min-w-0 max-w-[500px]
|
|
593
|
+
className="min-w-0 max-w-[500px] shrink-0 bg-transparent text-sm font-medium text-foreground/90 outline-none focus:text-foreground"
|
|
594
594
|
spellCheck={false}
|
|
595
595
|
/>
|
|
596
596
|
|
|
597
597
|
{/* Spacer */}
|
|
598
|
-
<div className="
|
|
598
|
+
<div className="w-2 shrink-0" />
|
|
599
599
|
|
|
600
600
|
<div
|
|
601
601
|
ref={onWideContextToolbarSlotChange}
|
|
@@ -769,6 +769,13 @@ export default function EditorToolbar({
|
|
|
769
769
|
</>
|
|
770
770
|
)}
|
|
771
771
|
|
|
772
|
+
<DropdownMenuSeparator />
|
|
773
|
+
<DropdownMenuGroup>
|
|
774
|
+
<DropdownMenuItem onSelect={onShowHistory}>
|
|
775
|
+
<IconHistory className="size-4" />
|
|
776
|
+
{t("editorToolbar.savedVersions")}
|
|
777
|
+
</DropdownMenuItem>
|
|
778
|
+
</DropdownMenuGroup>
|
|
772
779
|
<DropdownMenuSeparator />
|
|
773
780
|
<ExportMenu
|
|
774
781
|
ref={exportMenuRef}
|
|
@@ -794,10 +801,6 @@ export default function EditorToolbar({
|
|
|
794
801
|
? t("editorToolbar.importing")
|
|
795
802
|
: t("editorToolbar.importFile")}
|
|
796
803
|
</DropdownMenuItem>
|
|
797
|
-
<DropdownMenuItem onSelect={onShowHistory}>
|
|
798
|
-
<IconHistory className="size-4" />
|
|
799
|
-
{t("editorToolbar.savedVersions")}
|
|
800
|
-
</DropdownMenuItem>
|
|
801
804
|
<DropdownMenuSeparator />
|
|
802
805
|
<DropdownMenuItem
|
|
803
806
|
onSelect={() => setTheme(isDark ? "light" : "dark")}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { useT } from "@agent-native/core/client/i18n";
|
|
2
|
-
import { IconLoader2 } from "@tabler/icons-react";
|
|
3
2
|
|
|
4
3
|
import SlideRenderer from "@/components/deck/SlideRenderer";
|
|
5
4
|
import { Skeleton } from "@/components/ui/skeleton";
|
|
@@ -47,7 +46,7 @@ export default function GeneratingSlidePreview({
|
|
|
47
46
|
return (
|
|
48
47
|
<div
|
|
49
48
|
className={cn(
|
|
50
|
-
"relative w-full overflow-hidden rounded-lg border border-
|
|
49
|
+
"relative w-full overflow-hidden rounded-lg border border-border bg-muted/20",
|
|
51
50
|
className,
|
|
52
51
|
)}
|
|
53
52
|
style={{ aspectRatio: cssRatio }}
|
|
@@ -65,13 +64,6 @@ export default function GeneratingSlidePreview({
|
|
|
65
64
|
) : (
|
|
66
65
|
<SlideLoadingArtwork />
|
|
67
66
|
)}
|
|
68
|
-
<div className="pointer-events-none absolute left-2 top-2 inline-flex items-center gap-1.5 rounded-full border border-primary/70 px-2 py-1 text-[11px] font-medium text-primary">
|
|
69
|
-
<span className="size-1.5 rounded-full bg-primary" aria-hidden="true" />
|
|
70
|
-
{t("raw.aiEditing")}
|
|
71
|
-
</div>
|
|
72
|
-
<div className="absolute right-2 top-2 rounded-full bg-background/80 p-1.5 text-muted-foreground shadow-sm">
|
|
73
|
-
<IconLoader2 className="size-3.5 animate-spin" aria-hidden="true" />
|
|
74
|
-
</div>
|
|
75
67
|
</div>
|
|
76
68
|
);
|
|
77
69
|
}
|
|
@@ -159,12 +159,14 @@ export default function ImageDropPromptPopover({
|
|
|
159
159
|
if (payload.kind === "hosted") {
|
|
160
160
|
sendToAgentChat({
|
|
161
161
|
message: payload.message,
|
|
162
|
+
context: payload.context,
|
|
162
163
|
submit: true,
|
|
163
164
|
referenceImagePaths: payload.referenceImagePaths,
|
|
164
165
|
});
|
|
165
166
|
} else {
|
|
166
167
|
sendToAgentChat({
|
|
167
168
|
message: payload.message,
|
|
169
|
+
context: payload.context,
|
|
168
170
|
submit: true,
|
|
169
171
|
images: payload.images,
|
|
170
172
|
});
|
|
@@ -3,10 +3,8 @@ import {
|
|
|
3
3
|
IconPhoto,
|
|
4
4
|
IconFolderOpen,
|
|
5
5
|
IconUpload,
|
|
6
|
-
IconSearch,
|
|
7
6
|
IconMaximize,
|
|
8
7
|
IconMinimize,
|
|
9
|
-
IconGlobe,
|
|
10
8
|
} from "@tabler/icons-react";
|
|
11
9
|
import { useEffect, useRef } from "react";
|
|
12
10
|
import { createPortal } from "react-dom";
|
|
@@ -17,8 +15,6 @@ interface ImageOverlayProps {
|
|
|
17
15
|
onGenerate: () => void;
|
|
18
16
|
onLibrary: () => void;
|
|
19
17
|
onUpload: () => void;
|
|
20
|
-
onSearch: () => void;
|
|
21
|
-
onLogo: () => void;
|
|
22
18
|
onToggleObjectFit: () => void;
|
|
23
19
|
onClose: () => void;
|
|
24
20
|
}
|
|
@@ -29,8 +25,6 @@ export default function ImageOverlay({
|
|
|
29
25
|
onGenerate,
|
|
30
26
|
onLibrary,
|
|
31
27
|
onUpload,
|
|
32
|
-
onSearch,
|
|
33
|
-
onLogo,
|
|
34
28
|
onToggleObjectFit,
|
|
35
29
|
onClose,
|
|
36
30
|
}: ImageOverlayProps) {
|
|
@@ -106,26 +100,6 @@ export default function ImageOverlay({
|
|
|
106
100
|
<IconUpload className="w-3.5 h-3.5 text-muted-foreground" />
|
|
107
101
|
Upload
|
|
108
102
|
</button>
|
|
109
|
-
<button
|
|
110
|
-
onClick={() => {
|
|
111
|
-
onSearch();
|
|
112
|
-
onClose();
|
|
113
|
-
}}
|
|
114
|
-
className="image-overlay-btn"
|
|
115
|
-
>
|
|
116
|
-
<IconSearch className="w-3.5 h-3.5 text-muted-foreground" />
|
|
117
|
-
Search
|
|
118
|
-
</button>
|
|
119
|
-
<button
|
|
120
|
-
onClick={() => {
|
|
121
|
-
onLogo();
|
|
122
|
-
onClose();
|
|
123
|
-
}}
|
|
124
|
-
className="image-overlay-btn"
|
|
125
|
-
>
|
|
126
|
-
<IconGlobe className="w-3.5 h-3.5 text-muted-foreground" />
|
|
127
|
-
Logo
|
|
128
|
-
</button>
|
|
129
103
|
<div className="mx-1.5 border-t border-border" />
|
|
130
104
|
<button onClick={onToggleObjectFit} className="image-overlay-btn">
|
|
131
105
|
{objectFit === "cover" ? (
|