@agent-native/core-corpus 0.207.0 → 0.207.1-nightly-20261012011809
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/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/analytics/actions/check-replay-storyboard-design-target.ts +33 -0
- package/corpus/templates/analytics/app/lib/storyboard-design-target.ts +26 -0
- package/corpus/templates/analytics/app/pages/sessions/SessionReplayStoryboardExportDialog.tsx +17 -3
- package/corpus/templates/analytics/app/pages/sessions/session-replay-screenshot.ts +628 -37
- package/corpus/templates/analytics/changelog/2026-10-11-create-private-design-storyboards-for-session-replay-screens.md +6 -0
- package/corpus/templates/analytics/changelog/2026-10-11-replay-screenshots-wait-for-the-fonts-used-in-the-captured-f.md +6 -0
- package/corpus/templates/analytics/evals/production-source-cases.eval.ts +42 -10
- package/corpus/templates/analytics/scripts/build-source-index.ts +297 -24
- package/corpus/templates/analytics/server/lib/replay-storyboard-design-target.ts +186 -0
- package/corpus/templates/analytics/server/routes/api/session-replay/storyboard.post.ts +43 -11
- package/corpus/templates/assets/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/brain/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/calendar/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/calendar/CHANGELOG.md +1 -1
- package/corpus/templates/chat/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/clips/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/content/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/crm/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/design/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/design/.generated/bridge/editor-chrome.generated.ts +206 -44
- package/corpus/templates/design/CHANGELOG.md +1 -1
- package/corpus/templates/design/actions/capture-design-state.ts +19 -15
- package/corpus/templates/design/actions/create-design-state.ts +20 -17
- package/corpus/templates/design/actions/create-design-version.ts +8 -5
- package/corpus/templates/design/actions/delete-design.ts +165 -9
- package/corpus/templates/design/actions/grant-localhost-write-consent.ts +81 -75
- package/corpus/templates/design/actions/publish-visual-edit-pending.ts +84 -78
- package/corpus/templates/design/actions/queue-fusion-edit.ts +18 -14
- package/corpus/templates/design/app/components/design/LayersPanel.tsx +39 -18
- package/corpus/templates/design/app/components/design/MultiScreenCanvas.tsx +1 -1
- package/corpus/templates/design/app/components/design/code-workbench/CodeWorkbench.tsx +3 -1
- package/corpus/templates/design/app/components/design/code-workbench/editor/BufferSync.tsx +27 -4
- package/corpus/templates/design/app/hooks/useDesignHotkeys.ts +99 -25
- package/corpus/templates/design/app/pages/design-editor/canvas-primitive-insert.ts +13 -2
- package/corpus/templates/design/app/pages/design-editor/commands/copy-selection.ts +6 -2
- package/corpus/templates/design/app/pages/design-editor/commands/cut-selection.ts +30 -0
- package/corpus/templates/design/app/pages/design-editor/commands/geometry-commit.ts +5 -4
- package/corpus/templates/design/app/pages/design-editor/commands/layer-node-identity.ts +39 -16
- package/corpus/templates/design/app/pages/design-editor/commands/undo.ts +61 -29
- package/corpus/templates/design/app/pages/design-editor/domains/use-editor-clipboard.tsx +48 -5
- package/corpus/templates/design/app/pages/design-editor/domains/use-editor-source-and-sync.ts +15 -3
- package/corpus/templates/design/app/pages/design-editor/domains/use-editor-tools-and-vectors.ts +4 -0
- package/corpus/templates/design/app/pages/design-editor/selection-state.ts +6 -0
- package/corpus/templates/design/app/pages/design-editor/view/left-sidebar.tsx +1 -0
- package/corpus/templates/design/changelog/2026-10-09-canvas-selection-follows-the-depth-of-the-selected-layers.md +6 -0
- package/corpus/templates/design/changelog/2026-10-09-delete-includes-screens-added-by-a-shift-marquee-to-an-exist.md +6 -0
- package/corpus/templates/design/changelog/2026-10-09-design-keeps-canvas-gestures-and-shortcuts-working-during-ed.md +6 -0
- package/corpus/templates/design/changelog/2026-10-09-design-keeps-hidden-code-source-reads-quiet-and-speeds-layer.md +6 -0
- package/corpus/templates/design/changelog/2026-10-09-design-keeps-layers-rows-and-rename-focus-stable-as-layers-a.md +6 -0
- package/corpus/templates/design/changelog/2026-10-09-design-protects-cut-and-undo-history-and-improves-text-and-s.md +6 -0
- package/corpus/templates/design/changelog/2026-10-11-accept-authenticated-private-storyboard-uploads-from-analyti.md +6 -0
- package/corpus/templates/design/changelog/2026-10-11-analytics-can-securely-add-replay-screenshots-to-a-design-st.md +6 -0
- package/corpus/templates/design/changelog/2026-10-11-design-keeps-browser-zoom-keys-out-of-inspector-inputs-resto.md +6 -0
- package/corpus/templates/design/changelog/2026-10-11-scrubbing-after-a-numeric-edit-keeps-the-latest-committed-va.md +6 -0
- package/corpus/templates/design/e2e/helpers.ts +10 -2
- package/corpus/templates/design/server/lib/design-versions.ts +111 -37
- package/corpus/templates/design/server/lib/fig-file-to-html.ts +139 -10
- package/corpus/templates/design/server/plugins/auth.ts +3 -0
- package/corpus/templates/design/server/routes/api/session-replay-storyboard.post.ts +288 -8
- package/corpus/templates/design/shared/fig-to-frames.ts +5 -0
- package/corpus/templates/design/shared/source-workspace.ts +9 -1
- package/corpus/templates/dispatch/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/forms/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/mail/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/plan/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/slides/.agents/skills/slide-editing/SKILL.md +6 -0
- package/corpus/templates/slides/.agents/skills/slide-editing/references/transitions.md +26 -0
- package/corpus/templates/slides/.deploy-tmp/agent-native-provided-plugins.mjs +10 -0
- package/corpus/templates/slides/actions/_deck-tracking.ts +1 -0
- package/corpus/templates/slides/actions/get-deck.ts +34 -9
- package/corpus/templates/slides/actions/import-file.ts +10 -3
- package/corpus/templates/slides/actions/patch-deck.ts +141 -66
- package/corpus/templates/slides/actions/update-slide.ts +10 -2
- package/corpus/templates/slides/app/components/editor/AnimationsPanel.tsx +226 -90
- package/corpus/templates/slides/app/components/editor/EditorToolbar.tsx +42 -14
- package/corpus/templates/slides/app/components/editor/SlideEditor.tsx +48 -14
- package/corpus/templates/slides/app/components/editor/SlideTransitionControl.tsx +180 -0
- package/corpus/templates/slides/app/components/presentation/PresentationView.tsx +277 -332
- package/corpus/templates/slides/app/components/presentation/PresenterView.tsx +82 -18
- package/corpus/templates/slides/app/components/presentation/SlideTransitionStage.tsx +268 -0
- package/corpus/templates/slides/app/components/presentation/present-channel.ts +12 -2
- package/corpus/templates/slides/app/components/presentation/slide-build-steps.ts +206 -0
- package/corpus/templates/slides/app/components/presentation/slide-navigation.ts +273 -0
- package/corpus/templates/slides/app/components/presentation/slide-transition-motion.ts +258 -0
- package/corpus/templates/slides/app/components/ui/slider.tsx +1 -0
- package/corpus/templates/slides/app/context/DeckContext.tsx +7 -1
- package/corpus/templates/slides/app/global.css +16 -112
- package/corpus/templates/slides/app/i18n/en-US.ts +19 -4
- package/corpus/templates/slides/app/lib/export-pdf-client.ts +3 -0
- package/corpus/templates/slides/app/lib/reveal-after-delete.ts +55 -0
- package/corpus/templates/slides/app/lib/slide-animation-elements.ts +517 -248
- package/corpus/templates/slides/app/lib/slide-clipboard.ts +24 -3
- package/corpus/templates/slides/app/lib/undo-reveal.ts +21 -1
- package/corpus/templates/slides/app/pages/DeckEditor.tsx +35 -1
- package/corpus/templates/slides/app/pages/Index.tsx +15 -3
- package/corpus/templates/slides/app/pages/SharedPresentation.tsx +16 -2
- package/corpus/templates/slides/app/routes/p.$id.tsx +5 -1
- package/corpus/templates/slides/changelog/2026-10-11-generated-deck-prompts-wait-for-the-first-run-status-check-t.md +6 -0
- package/corpus/templates/slides/changelog/2026-10-11-reveals-and-public-decks-are-reliable.md +6 -0
- package/corpus/templates/slides/changelog/2026-10-11-slide-transitions-match-google-slides.md +6 -0
- package/corpus/templates/slides/scripts/edit-fidelity/authoring-fuzz.ts +62 -5
- package/corpus/templates/slides/server/handlers/share.ts +5 -1
- package/corpus/templates/slides/server/lib/slide-reveal-issues.ts +41 -0
- package/corpus/templates/slides/server/lib/validate-slide-animations.ts +256 -73
- package/corpus/templates/slides/server/routes/api/deck-agent-context.json.get.ts +5 -1
- package/corpus/templates/slides/shared/api.ts +69 -32
- package/corpus/templates/slides/shared/pdf-sidecar.ts +35 -13
- package/corpus/templates/slides/shared/slide-transitions.ts +70 -0
- package/package.json +1 -1
package/corpus/README.md
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// AUTO-GENERATED by @agent-native/core deploy build
|
|
2
|
+
import { markDefaultPluginProvided } from "@agent-native/core/server/edge";
|
|
3
|
+
|
|
4
|
+
const pluginStems = ["agent-chat","analytics-alert-jobs","analytics-rollup-backfill-jobs","auth","collab","config","core-routes","creative-context","dashboard-report-jobs","db","feature-flags","labs","onboarding","otel","session-replay-retention-jobs","transactional-emails","uptime-monitor-jobs"];
|
|
5
|
+
|
|
6
|
+
export default function markBuildDiscoveredPlugins(nitroApp) {
|
|
7
|
+
for (const stem of pluginStems) {
|
|
8
|
+
markDefaultPluginProvided(nitroApp, stem);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineAction, fail } from "@agent-native/core/action";
|
|
2
|
+
import { getRequestUserEmail } from "@agent-native/core/server";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
|
|
5
|
+
import { resolveReplayStoryboardDesignTarget } from "../server/lib/replay-storyboard-design-target.js";
|
|
6
|
+
|
|
7
|
+
export default defineAction({
|
|
8
|
+
description:
|
|
9
|
+
"Check whether the signed-in Analytics caller resolves the approved Design target for session replay storyboard export. Returns only fixed readiness, failure, and target-class codes.",
|
|
10
|
+
schema: z.object({}),
|
|
11
|
+
http: { method: "GET" },
|
|
12
|
+
requiresAuth: true,
|
|
13
|
+
readOnly: true,
|
|
14
|
+
agentTool: false,
|
|
15
|
+
mcpTool: false,
|
|
16
|
+
persistInBrowser: false,
|
|
17
|
+
run: async () => {
|
|
18
|
+
if (!getRequestUserEmail()) {
|
|
19
|
+
fail("Sign in to check the Design export target", {
|
|
20
|
+
errorCode: "unauthenticated",
|
|
21
|
+
statusCode: 401,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
const result = await resolveReplayStoryboardDesignTarget();
|
|
25
|
+
return {
|
|
26
|
+
code: result.code,
|
|
27
|
+
...(result.code === "notready"
|
|
28
|
+
? { failureCode: result.failureCode }
|
|
29
|
+
: {}),
|
|
30
|
+
targetClass: result.targetClass,
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useActionQuery } from "@agent-native/core/client/hooks";
|
|
2
|
+
|
|
3
|
+
export function useStoryboardDesignTargetPreflight(open: boolean) {
|
|
4
|
+
const query = useActionQuery(
|
|
5
|
+
"check-replay-storyboard-design-target",
|
|
6
|
+
{},
|
|
7
|
+
{
|
|
8
|
+
enabled: open,
|
|
9
|
+
retry: false,
|
|
10
|
+
staleTime: 0,
|
|
11
|
+
refetchOnMount: "always",
|
|
12
|
+
refetchOnWindowFocus: false,
|
|
13
|
+
gcTime: 0,
|
|
14
|
+
},
|
|
15
|
+
);
|
|
16
|
+
const settled = !query.isLoading && !query.isFetching;
|
|
17
|
+
|
|
18
|
+
return {
|
|
19
|
+
code: query.data?.code,
|
|
20
|
+
failureCode: query.data?.failureCode,
|
|
21
|
+
targetClass: query.data?.targetClass,
|
|
22
|
+
ready: open && settled && !query.error && query.data?.code === "ready",
|
|
23
|
+
unavailable:
|
|
24
|
+
open && settled && (Boolean(query.error) || query.data?.code !== "ready"),
|
|
25
|
+
};
|
|
26
|
+
}
|
package/corpus/templates/analytics/app/pages/sessions/SessionReplayStoryboardExportDialog.tsx
CHANGED
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
import { Input } from "@/components/ui/input";
|
|
22
22
|
import { Label } from "@/components/ui/label";
|
|
23
23
|
import { getIdToken } from "@/lib/auth";
|
|
24
|
+
import { useStoryboardDesignTargetPreflight } from "@/lib/storyboard-design-target";
|
|
24
25
|
|
|
25
26
|
import {
|
|
26
27
|
captureReplayScreenshot,
|
|
@@ -71,6 +72,7 @@ export function SessionReplayStoryboardExportDialog({
|
|
|
71
72
|
cohortTotal,
|
|
72
73
|
}: Props) {
|
|
73
74
|
const t = useT();
|
|
75
|
+
const designTargetPreflight = useStoryboardDesignTargetPreflight(open);
|
|
74
76
|
const [timestampInputs, setTimestampInputs] = useState<
|
|
75
77
|
Record<string, string>
|
|
76
78
|
>({});
|
|
@@ -217,6 +219,10 @@ export function SessionReplayStoryboardExportDialog({
|
|
|
217
219
|
async function handleSubmit(event: FormEvent<HTMLFormElement>) {
|
|
218
220
|
event.preventDefault();
|
|
219
221
|
if (busy) return;
|
|
222
|
+
if (!designTargetPreflight.ready) {
|
|
223
|
+
setError(t("sessions.storyboardCaptureFailed"));
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
220
226
|
|
|
221
227
|
let targets: Array<{ recording: Recording; offsets: number[] }>;
|
|
222
228
|
try {
|
|
@@ -660,9 +666,9 @@ export function SessionReplayStoryboardExportDialog({
|
|
|
660
666
|
{progress}
|
|
661
667
|
</p>
|
|
662
668
|
) : null}
|
|
663
|
-
{error ? (
|
|
669
|
+
{error || designTargetPreflight.unavailable ? (
|
|
664
670
|
<p className="text-sm text-destructive" role="alert">
|
|
665
|
-
{error}
|
|
671
|
+
{error || t("sessions.storyboardCaptureFailed")}
|
|
666
672
|
</p>
|
|
667
673
|
) : null}
|
|
668
674
|
{warning ? (
|
|
@@ -702,7 +708,15 @@ export function SessionReplayStoryboardExportDialog({
|
|
|
702
708
|
>
|
|
703
709
|
{t("common.cancel")}
|
|
704
710
|
</Button>
|
|
705
|
-
<Button
|
|
711
|
+
<Button
|
|
712
|
+
type="submit"
|
|
713
|
+
disabled={
|
|
714
|
+
recordings.length === 0 || !designTargetPreflight.ready
|
|
715
|
+
}
|
|
716
|
+
data-target-code={designTargetPreflight.code}
|
|
717
|
+
data-target-failure-code={designTargetPreflight.failureCode}
|
|
718
|
+
data-target-class={designTargetPreflight.targetClass}
|
|
719
|
+
>
|
|
706
720
|
<IconPhoto />
|
|
707
721
|
{t("sessions.captureToDesign")}
|
|
708
722
|
</Button>
|