@cueframe/kernel 0.2.32 → 0.2.34
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/dist/_members/errors/registry.d.ts +4 -0
- package/dist/_members/render-harness/assetRefs.d.ts +26 -0
- package/dist/_members/render-harness/assetRefs.d.ts.map +1 -0
- package/dist/_members/render-harness/cardAssetAdmission.d.ts.map +1 -1
- package/dist/_members/render-harness/cardFonts.d.ts +13 -0
- package/dist/_members/render-harness/cardFonts.d.ts.map +1 -0
- package/dist/_members/render-harness/cardRender.d.ts +1 -0
- package/dist/_members/render-harness/cardRender.d.ts.map +1 -1
- package/dist/_members/render-harness/css-tree-subpaths.d.ts +5 -0
- package/dist/_members/render-harness/renderInputAssets.d.ts.map +1 -1
- package/dist/authoring.js +2 -2
- package/dist/{chunk-LLC6TCH5.js → chunk-3GNTA646.js} +1 -1
- package/dist/{chunk-LEJ5QXHP.js → chunk-4RREA7VA.js} +7 -6
- package/dist/{chunk-3OOMVQ6I.js → chunk-5YO4LAB7.js} +2 -2
- package/dist/{chunk-WYKUWRQG.js → chunk-A3MXR6JI.js} +33 -1
- package/dist/{chunk-F5B6OM73.js → chunk-ANNB4VC6.js} +1283 -1271
- package/dist/{chunk-T4XTC35J.js → chunk-DLKCGEKP.js} +1 -1
- package/dist/{chunk-Q244EHRI.js → chunk-GMVUJYPM.js} +1 -1
- package/dist/{chunk-MN6D3U5N.js → chunk-KSRFYFUZ.js} +8 -1
- package/dist/{chunk-JGXJEY77.js → chunk-NJOWIGUL.js} +3 -3
- package/dist/chunk-OSMXQV5V.js +18 -0
- package/dist/chunk-RAPDICTC.js +82 -0
- package/dist/{chunk-NSXFYDBP.js → chunk-TCYULWNP.js} +1 -1
- package/dist/{chunk-AZSTZE64.js → chunk-W44ASS4N.js} +6 -6
- package/dist/{chunk-JTVHOHT6.js → chunk-YOE5Y2SJ.js} +1 -1
- package/dist/compose.js +20 -20
- package/dist/composition/projection.js +2 -2
- package/dist/composition-ops.js +5 -5
- package/dist/composition.js +2 -2
- package/dist/core/render.js +3 -3
- package/dist/core/select.js +2 -2
- package/dist/core.js +3 -3
- package/dist/director/ai-sdk.js +3 -3
- package/dist/director/domain.js +2 -2
- package/dist/director.js +3 -3
- package/dist/errors.js +3 -1
- package/dist/mcp/adapter.js +3 -3
- package/dist/mcp/core.js +1 -1
- package/dist/mcp/curation.js +1 -1
- package/dist/mcp/server.js +4 -4
- package/dist/mcp.js +4 -4
- package/dist/primitives/hero-text.js +2 -2
- package/dist/primitives/lib/index.js +6 -6
- package/dist/primitives/lib.js +6 -6
- package/dist/primitives/scenes.js +2 -2
- package/dist/primitives/text.js +3 -3
- package/dist/primitives.js +18 -18
- package/dist/render-harness/cardAssetAdmission.js +3 -2
- package/dist/render-harness/cardFonts.d.ts +1 -0
- package/dist/render-harness/cardFonts.js +13 -0
- package/dist/render-harness/renderInputAssets.js +2 -1
- package/dist/render-harness.js +28 -7
- package/package.json +17 -13
- package/dist/{chunk-ZDL7XEXW.js → chunk-RBWS5XHE.js} +7 -7
- package/dist/{chunk-7SQOXIWR.js → chunk-RL5SO653.js} +3 -3
- package/dist/{chunk-IAQHWJUO.js → chunk-TE3PNQG6.js} +4 -4
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
hasNonFragmentCssUrl
|
|
3
|
+
} from "./chunk-OSMXQV5V.js";
|
|
1
4
|
import {
|
|
2
5
|
getPrimitiveCatalogMeta
|
|
3
6
|
} from "./chunk-7AZLFN26.js";
|
|
@@ -86,7 +89,11 @@ function parameterAssetPaths(primitiveId) {
|
|
|
86
89
|
}
|
|
87
90
|
function suspiciousUnannotatedAsset(value) {
|
|
88
91
|
if (typeof value === "string") {
|
|
89
|
-
return /^(?:https?:\/\/|\/\/|data:|blob:|file:|\.\.?\/)/i.test(value) ||
|
|
92
|
+
return /^(?:https?:\/\/|\/\/|data:|blob:|file:|\.\.?\/)/i.test(value) || // A `url()` counts only when it leaves the document. `url(#mark-clip)` is a
|
|
93
|
+
// same-document fragment — the SVG/CSS walk in `cardAssetAdmission` has
|
|
94
|
+
// always known that, and this sweep did not, so an inline logo passed one
|
|
95
|
+
// guard and was refused by the other. Same predicate, both places.
|
|
96
|
+
hasNonFragmentCssUrl(value) || /^[^\s]+\.(?:png|jpe?g|gif|webp|svg|json|lottie|mp4|mov|webm|m4a|mp3|wav|woff2?|ttf|otf)(?:\?.*)?$/i.test(value);
|
|
90
97
|
}
|
|
91
98
|
if (Array.isArray(value)) return value.some(suspiciousUnannotatedAsset);
|
|
92
99
|
if (value && typeof value === "object") return Object.values(value).some(suspiciousUnannotatedAsset);
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
querySchemaShape,
|
|
3
3
|
serializeQuery,
|
|
4
4
|
waitForJob
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YOE5Y2SJ.js";
|
|
6
6
|
import {
|
|
7
7
|
CURATED_TOOLS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5YO4LAB7.js";
|
|
9
9
|
import {
|
|
10
10
|
GENERATED_OPERATIONS,
|
|
11
11
|
apiErrorFrom,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
text,
|
|
24
24
|
textWithData,
|
|
25
25
|
withMedia
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ANNB4VC6.js";
|
|
27
27
|
|
|
28
28
|
// ../mcp/src/prompts.ts
|
|
29
29
|
var skillListCache = null;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// ../execution/render-harness/src/assetRefs.ts
|
|
2
|
+
function isFragmentReference(value) {
|
|
3
|
+
return value.trim().startsWith("#");
|
|
4
|
+
}
|
|
5
|
+
function cssUrlPayloads(value) {
|
|
6
|
+
return [...value.matchAll(/url\(\s*(['"]?)(.*?)\1\s*\)/gi)].map((m) => m[2] ?? "");
|
|
7
|
+
}
|
|
8
|
+
function hasNonFragmentCssUrl(value) {
|
|
9
|
+
const payloads = cssUrlPayloads(value);
|
|
10
|
+
if (payloads.length === 0) return false;
|
|
11
|
+
return payloads.some((payload) => !isFragmentReference(payload));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export {
|
|
15
|
+
isFragmentReference,
|
|
16
|
+
cssUrlPayloads,
|
|
17
|
+
hasNonFragmentCssUrl
|
|
18
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CueframeError
|
|
3
|
+
} from "./chunk-A3MXR6JI.js";
|
|
4
|
+
import {
|
|
5
|
+
bundledFontFamilyFaces,
|
|
6
|
+
isGenericOnlyStack,
|
|
7
|
+
parseFontStack
|
|
8
|
+
} from "./chunk-AVTEPAWI.js";
|
|
9
|
+
|
|
10
|
+
// ../execution/render-harness/src/cardFonts.ts
|
|
11
|
+
import parseCss from "css-tree/parser";
|
|
12
|
+
import walkCss from "css-tree/walker";
|
|
13
|
+
import generateCss from "css-tree/generator";
|
|
14
|
+
import { parseFragment } from "parse5";
|
|
15
|
+
function collectFontFamilyStacks(css, context, out) {
|
|
16
|
+
let ast;
|
|
17
|
+
try {
|
|
18
|
+
ast = parseCss(css, { context });
|
|
19
|
+
} catch {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
walkCss(ast, (node) => {
|
|
23
|
+
if (node.type !== "Declaration") return;
|
|
24
|
+
if (node.property.toLowerCase() !== "font-family") return;
|
|
25
|
+
const value = generateCss(node.value).trim();
|
|
26
|
+
if (value.length > 0) out.add(value);
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function collectFromNode(node, out) {
|
|
30
|
+
if ("tagName" in node) {
|
|
31
|
+
for (const attr of node.attrs) {
|
|
32
|
+
if (attr.name.toLowerCase() === "style") {
|
|
33
|
+
collectFontFamilyStacks(attr.value, "declarationList", out);
|
|
34
|
+
}
|
|
35
|
+
if (attr.name.toLowerCase() === "font-family" && attr.value.trim().length > 0) {
|
|
36
|
+
out.add(attr.value.trim());
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
if (node.tagName.toLowerCase() === "style" && "childNodes" in node) {
|
|
40
|
+
const css = node.childNodes.filter((child) => child.nodeName === "#text").map((child) => child.value).join("");
|
|
41
|
+
collectFontFamilyStacks(css, "stylesheet", out);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
if ("childNodes" in node) for (const child of node.childNodes) collectFromNode(child, out);
|
|
45
|
+
}
|
|
46
|
+
function cardFontFamilyStacks(html) {
|
|
47
|
+
const out = /* @__PURE__ */ new Set();
|
|
48
|
+
for (const node of parseFragment(html).childNodes) collectFromNode(node, out);
|
|
49
|
+
return [...out];
|
|
50
|
+
}
|
|
51
|
+
function stackDrawsSomethingReal(stack) {
|
|
52
|
+
const entries = parseFontStack(stack);
|
|
53
|
+
if (entries.length === 0) return true;
|
|
54
|
+
return entries.some((entry) => bundledFontFamilyFaces(entry) !== void 0 || isGenericOnlyStack(entry));
|
|
55
|
+
}
|
|
56
|
+
function cardBundledFamilies(html) {
|
|
57
|
+
const out = /* @__PURE__ */ new Set();
|
|
58
|
+
for (const stack of cardFontFamilyStacks(html)) {
|
|
59
|
+
for (const entry of parseFontStack(stack)) {
|
|
60
|
+
if (bundledFontFamilyFaces(entry) !== void 0) out.add(entry);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return [...out];
|
|
64
|
+
}
|
|
65
|
+
function assertCardFontsAdmitted(html, locator) {
|
|
66
|
+
for (const stack of cardFontFamilyStacks(html)) {
|
|
67
|
+
if (!stackDrawsSomethingReal(stack)) {
|
|
68
|
+
throw new CueframeError(
|
|
69
|
+
"font_not_reproducible",
|
|
70
|
+
`Card ${locator} asks for font-family '${stack}', which the renderer has no bytes for. Read GET /v1/fonts (list_render_fonts) for the admitted families; a stack naming one of them resolves to it. @import and remote font files are not available inside a card.`,
|
|
71
|
+
void 0,
|
|
72
|
+
{ card: locator, fontFamily: stack }
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export {
|
|
79
|
+
cardFontFamilyStacks,
|
|
80
|
+
cardBundledFamilies,
|
|
81
|
+
assertCardFontsAdmitted
|
|
82
|
+
};
|
|
@@ -7,10 +7,6 @@ import {
|
|
|
7
7
|
flattenCompoundClips,
|
|
8
8
|
hasCompoundClips
|
|
9
9
|
} from "./chunk-QISFYLBB.js";
|
|
10
|
-
import {
|
|
11
|
-
compositionHasVo,
|
|
12
|
-
roleDefaultGainDb
|
|
13
|
-
} from "./chunk-VZ7TYX6Z.js";
|
|
14
10
|
import {
|
|
15
11
|
DOMINANCE_WEIGHTS,
|
|
16
12
|
ENTER_SEC,
|
|
@@ -28,7 +24,11 @@ import {
|
|
|
28
24
|
scoreAndRank,
|
|
29
25
|
segmentShots,
|
|
30
26
|
stabilizeSelectionHysteresis
|
|
31
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3GNTA646.js";
|
|
28
|
+
import {
|
|
29
|
+
compositionHasVo,
|
|
30
|
+
roleDefaultGainDb
|
|
31
|
+
} from "./chunk-VZ7TYX6Z.js";
|
|
32
32
|
import {
|
|
33
33
|
SHOT_SCALE_TARGET,
|
|
34
34
|
shotScaleZoom
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
CueframeError,
|
|
38
38
|
encodeError
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-A3MXR6JI.js";
|
|
40
40
|
import {
|
|
41
41
|
SCENE_CAPTURE_IDENTITY_FIELDS_V1,
|
|
42
42
|
SCENE_PRESET_TRIANGLES,
|
package/dist/compose.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import "./chunk-JVDUSOYG.js";
|
|
2
|
+
import "./chunk-GULDS3VE.js";
|
|
2
3
|
import {
|
|
3
4
|
isContrastCritical
|
|
4
5
|
} from "./chunk-QDBVYZSF.js";
|
|
5
6
|
import "./chunk-JQMPHKLU.js";
|
|
6
7
|
import "./chunk-ZZRBKGDA.js";
|
|
7
|
-
import "./chunk-GULDS3VE.js";
|
|
8
|
-
import {
|
|
9
|
-
catalog as catalog6
|
|
10
|
-
} from "./chunk-VLJOIUHL.js";
|
|
11
|
-
import {
|
|
12
|
-
catalog as catalog2
|
|
13
|
-
} from "./chunk-WAUVKF2F.js";
|
|
14
|
-
import {
|
|
15
|
-
catalog as catalog8
|
|
16
|
-
} from "./chunk-7SQOXIWR.js";
|
|
17
8
|
import {
|
|
18
9
|
catalog as catalog4
|
|
19
10
|
} from "./chunk-JRJQECCF.js";
|
|
20
11
|
import {
|
|
21
12
|
catalog as catalog7
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-S5H6GH6M.js";
|
|
24
|
-
import "./chunk-QAGGJHAF.js";
|
|
25
|
-
import "./chunk-MFHXCHRI.js";
|
|
13
|
+
} from "./chunk-TE3PNQG6.js";
|
|
26
14
|
import {
|
|
27
15
|
catalog
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-U4V4FZGE.js";
|
|
16
|
+
} from "./chunk-RBWS5XHE.js";
|
|
30
17
|
import "./chunk-DLF4WVSE.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-FWSJLHSV.js";
|
|
18
|
+
import "./chunk-U4V4FZGE.js";
|
|
33
19
|
import {
|
|
34
20
|
catalog as catalog3
|
|
35
21
|
} from "./chunk-FVDFPJHT.js";
|
|
36
22
|
import "./chunk-QGAWDLYX.js";
|
|
23
|
+
import {
|
|
24
|
+
catalog as catalog6
|
|
25
|
+
} from "./chunk-VLJOIUHL.js";
|
|
26
|
+
import "./chunk-S5H6GH6M.js";
|
|
27
|
+
import "./chunk-QAGGJHAF.js";
|
|
37
28
|
import {
|
|
38
29
|
catalog as catalog5
|
|
39
30
|
} from "./chunk-RAXHCRVV.js";
|
|
40
|
-
import
|
|
31
|
+
import {
|
|
32
|
+
catalog as catalog2
|
|
33
|
+
} from "./chunk-WAUVKF2F.js";
|
|
34
|
+
import "./chunk-MFHXCHRI.js";
|
|
35
|
+
import {
|
|
36
|
+
catalog as catalog8
|
|
37
|
+
} from "./chunk-RL5SO653.js";
|
|
38
|
+
import "./chunk-LT4PWSR2.js";
|
|
39
|
+
import "./chunk-FWSJLHSV.js";
|
|
41
40
|
import "./chunk-ZFEXATWN.js";
|
|
41
|
+
import "./chunk-XHGZ2E77.js";
|
|
42
42
|
import "./chunk-W2245F6G.js";
|
|
43
43
|
import "./chunk-JBWSK2YD.js";
|
|
44
44
|
import "./chunk-OBA6NW4S.js";
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
import {
|
|
55
55
|
CueframeError,
|
|
56
56
|
encodeError
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-A3MXR6JI.js";
|
|
58
58
|
import "./chunk-7PA7FGLD.js";
|
|
59
59
|
import "./chunk-XACXNDFL.js";
|
|
60
60
|
import "./chunk-2L7PYYJK.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
silhouetteKeepOutForWindow,
|
|
33
33
|
sourceRectToOutput,
|
|
34
34
|
sourceWindowKey
|
|
35
|
-
} from "../chunk-
|
|
35
|
+
} from "../chunk-GMVUJYPM.js";
|
|
36
36
|
import {
|
|
37
37
|
BRAND_TOKEN_REFS,
|
|
38
38
|
BRAND_TOKEN_ROOT_KEYS,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
contrastRatio
|
|
75
75
|
} from "../chunk-ILO4NEZ3.js";
|
|
76
76
|
import "../chunk-VG2ND6PX.js";
|
|
77
|
-
import "../chunk-
|
|
77
|
+
import "../chunk-A3MXR6JI.js";
|
|
78
78
|
import "../chunk-AVTEPAWI.js";
|
|
79
79
|
import "../chunk-2ESYSVXG.js";
|
|
80
80
|
export {
|
package/dist/composition-ops.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
playableSpans
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W44ASS4N.js";
|
|
4
4
|
import "./chunk-QH3YI3ND.js";
|
|
5
5
|
import "./chunk-QISFYLBB.js";
|
|
6
|
+
import "./chunk-3GNTA646.js";
|
|
6
7
|
import "./chunk-VZ7TYX6Z.js";
|
|
7
|
-
import "./chunk-LLC6TCH5.js";
|
|
8
8
|
import "./chunk-DENF4TPI.js";
|
|
9
9
|
import {
|
|
10
10
|
createHeadlessStore,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-B7J5UUUV.js";
|
|
31
31
|
import "./chunk-KYRDKK2D.js";
|
|
32
32
|
import "./chunk-WREYUH2E.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-A3MXR6JI.js";
|
|
34
34
|
import "./chunk-7PA7FGLD.js";
|
|
35
35
|
import {
|
|
36
36
|
SCENE_SLOT_MEDIA_FORMATS,
|
|
@@ -578,7 +578,7 @@ var CompositionOp = z.discriminatedUnion("type", [
|
|
|
578
578
|
"Set the output format \u2014 `aspectRatio` (16:9|9:16|1:1|4:5) plus optional `fps` and `resolution`. Merges: an omitted field keeps the current value."
|
|
579
579
|
),
|
|
580
580
|
z.object({ type: z.literal("addTrack"), kind: Track.shape.kind, name: z.string().optional(), id: z.string().optional() }).strict().describe(
|
|
581
|
-
"Add an EMPTY track of a given family (video|audio|image|overlay|effect). Optional pinned `id`."
|
|
581
|
+
"Add an EMPTY track of a given family (video|audio|image|overlay|effect). Optional pinned `id`. The new track is appended, so it starts at the BACK: index 0 is the top layer and higher indices are further back (see `reorderTracks`). Track order only ranks clips on the same plane \u2014 every overlay draws above the video lane unless its `zPlane` is `behind-subject`, whatever its track index."
|
|
582
582
|
),
|
|
583
583
|
z.object({ type: z.literal("removeTrack"), trackId: z.string() }).strict().describe(
|
|
584
584
|
"Remove a track AND all its clips by id."
|
|
@@ -587,7 +587,7 @@ var CompositionOp = z.discriminatedUnion("type", [
|
|
|
587
587
|
"Patch a track's `name` / `enabled` by id."
|
|
588
588
|
),
|
|
589
589
|
z.object({ type: z.literal("reorderTracks"), fromIndex: z.number(), toIndex: z.number() }).strict().describe(
|
|
590
|
-
|
|
590
|
+
'Move a track from one index to another. ORDER: index 0 is the TOP layer, not the bottom \u2014 moving a backdrop to index 0 puts it in FRONT of everything and hides the composition. Higher index = further back. PRECEDENCE: track order decides compositing only among clips on the same plane. Overlays are composited in a lane ABOVE the video lane whatever their track index; the one exception is `zPlane:"behind-subject"`, which moves the overlay inside its host clip, behind the segmented foreground. So if reordering tracks does not change what you see, the plane split already decided it.'
|
|
591
591
|
),
|
|
592
592
|
z.object({ type: z.literal("moveClipToTrack"), clipId: z.string(), targetTrackId: z.string(), newStartTime: z.number().optional() }).strict().describe(
|
|
593
593
|
"Move a clip to another SAME-family track, optionally at a new `newStartTime`."
|
package/dist/composition.js
CHANGED
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
silhouetteKeepOutForWindow,
|
|
47
47
|
sourceRectToOutput,
|
|
48
48
|
sourceWindowKey
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-GMVUJYPM.js";
|
|
50
50
|
import {
|
|
51
51
|
BRAND_TOKEN_REFS,
|
|
52
52
|
BRAND_TOKEN_ROOT_KEYS,
|
|
@@ -194,7 +194,7 @@ import {
|
|
|
194
194
|
ReframeSegmentFields
|
|
195
195
|
} from "./chunk-B7J5UUUV.js";
|
|
196
196
|
import "./chunk-WREYUH2E.js";
|
|
197
|
-
import "./chunk-
|
|
197
|
+
import "./chunk-A3MXR6JI.js";
|
|
198
198
|
import "./chunk-AVTEPAWI.js";
|
|
199
199
|
import "./chunk-2ESYSVXG.js";
|
|
200
200
|
|
package/dist/core/render.js
CHANGED
|
@@ -66,19 +66,19 @@ import {
|
|
|
66
66
|
sliceTranscriptWords,
|
|
67
67
|
splitIntoSentences,
|
|
68
68
|
validateComposition
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-W44ASS4N.js";
|
|
70
70
|
import {
|
|
71
71
|
buildEasedZooms,
|
|
72
72
|
buildPannedCenters,
|
|
73
73
|
easeOutCubic
|
|
74
74
|
} from "../chunk-QH3YI3ND.js";
|
|
75
75
|
import "../chunk-QISFYLBB.js";
|
|
76
|
+
import "../chunk-3GNTA646.js";
|
|
76
77
|
import "../chunk-VZ7TYX6Z.js";
|
|
77
|
-
import "../chunk-LLC6TCH5.js";
|
|
78
78
|
import "../chunk-DENF4TPI.js";
|
|
79
79
|
import "../chunk-KYRDKK2D.js";
|
|
80
80
|
import "../chunk-WREYUH2E.js";
|
|
81
|
-
import "../chunk-
|
|
81
|
+
import "../chunk-A3MXR6JI.js";
|
|
82
82
|
import "../chunk-7PA7FGLD.js";
|
|
83
83
|
import "../chunk-XACXNDFL.js";
|
|
84
84
|
import "../chunk-2L7PYYJK.js";
|
package/dist/core/select.js
CHANGED
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
stabilizeIncumbentChallenger,
|
|
8
8
|
stabilizePresenceGate,
|
|
9
9
|
stabilizeSelectionHysteresis
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-3GNTA646.js";
|
|
11
|
+
import "../chunk-A3MXR6JI.js";
|
|
12
12
|
import "../chunk-2ESYSVXG.js";
|
|
13
13
|
|
|
14
14
|
// ../execution/core/src/select/errorCodes.ts
|
package/dist/core.js
CHANGED
|
@@ -10,15 +10,15 @@ import {
|
|
|
10
10
|
ensureEven,
|
|
11
11
|
extractCaptionWordsFromDoc,
|
|
12
12
|
isEmphasized
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-W44ASS4N.js";
|
|
14
14
|
import "./chunk-QH3YI3ND.js";
|
|
15
15
|
import "./chunk-QISFYLBB.js";
|
|
16
|
+
import "./chunk-3GNTA646.js";
|
|
16
17
|
import "./chunk-VZ7TYX6Z.js";
|
|
17
|
-
import "./chunk-LLC6TCH5.js";
|
|
18
18
|
import "./chunk-DENF4TPI.js";
|
|
19
19
|
import "./chunk-KYRDKK2D.js";
|
|
20
20
|
import "./chunk-WREYUH2E.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-A3MXR6JI.js";
|
|
22
22
|
import "./chunk-7PA7FGLD.js";
|
|
23
23
|
import "./chunk-XACXNDFL.js";
|
|
24
24
|
import "./chunk-2L7PYYJK.js";
|
package/dist/director/ai-sdk.js
CHANGED
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
dataChunk,
|
|
11
11
|
generationArtifactFromToolResult,
|
|
12
12
|
projectDirectorHistory
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-TCYULWNP.js";
|
|
14
|
+
import "../chunk-DLKCGEKP.js";
|
|
15
15
|
import "../chunk-73DQTUWY.js";
|
|
16
16
|
import "../chunk-BADZHXLR.js";
|
|
17
17
|
import "../chunk-U3JPILZS.js";
|
|
18
18
|
import "../chunk-XELS2BGA.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-A3MXR6JI.js";
|
|
20
20
|
import "../chunk-2ESYSVXG.js";
|
|
21
21
|
export {
|
|
22
22
|
CueFrameIteration,
|
package/dist/director/domain.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
ProjectRef,
|
|
10
10
|
chatErrorViewFromEnvelope,
|
|
11
11
|
chatErrorViewFromUnknown
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-DLKCGEKP.js";
|
|
13
13
|
import {
|
|
14
14
|
ClientRequestId,
|
|
15
15
|
GenerateMediaCommand,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
import "../chunk-BADZHXLR.js";
|
|
32
32
|
import "../chunk-U3JPILZS.js";
|
|
33
33
|
import "../chunk-XELS2BGA.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-A3MXR6JI.js";
|
|
35
35
|
import "../chunk-2ESYSVXG.js";
|
|
36
36
|
export {
|
|
37
37
|
ChatErrorView,
|
package/dist/director.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
dataChunk,
|
|
11
11
|
generationArtifactFromToolResult,
|
|
12
12
|
projectDirectorHistory
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TCYULWNP.js";
|
|
14
14
|
import "./chunk-FTVZF4GO.js";
|
|
15
15
|
import {
|
|
16
16
|
ChatErrorView,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
ProjectRef,
|
|
23
23
|
chatErrorViewFromEnvelope,
|
|
24
24
|
chatErrorViewFromUnknown
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DLKCGEKP.js";
|
|
26
26
|
import {
|
|
27
27
|
ClientRequestId,
|
|
28
28
|
GenerateMediaCommand,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
import "./chunk-BADZHXLR.js";
|
|
45
45
|
import "./chunk-U3JPILZS.js";
|
|
46
46
|
import "./chunk-XELS2BGA.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-A3MXR6JI.js";
|
|
48
48
|
import "./chunk-2ESYSVXG.js";
|
|
49
49
|
export {
|
|
50
50
|
ChatErrorView,
|
package/dist/errors.js
CHANGED
|
@@ -3,15 +3,17 @@ import {
|
|
|
3
3
|
ERROR_CODES,
|
|
4
4
|
decodeError,
|
|
5
5
|
encodeError,
|
|
6
|
+
retryAfterSecondsFor,
|
|
6
7
|
scrubSensitive,
|
|
7
8
|
toWireEnvelope
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A3MXR6JI.js";
|
|
9
10
|
import "./chunk-2ESYSVXG.js";
|
|
10
11
|
export {
|
|
11
12
|
CueframeError,
|
|
12
13
|
ERROR_CODES,
|
|
13
14
|
decodeError,
|
|
14
15
|
encodeError,
|
|
16
|
+
retryAfterSecondsFor,
|
|
15
17
|
scrubSensitive,
|
|
16
18
|
toWireEnvelope
|
|
17
19
|
};
|
package/dist/mcp/adapter.js
CHANGED
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
querySchemaShape,
|
|
3
3
|
serializeQuery,
|
|
4
4
|
waitForJob
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-YOE5Y2SJ.js";
|
|
6
6
|
import {
|
|
7
7
|
CURATED_TOOLS
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-5YO4LAB7.js";
|
|
9
9
|
import {
|
|
10
10
|
apiErrorFrom,
|
|
11
11
|
bodySchemaFor,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
opById,
|
|
17
17
|
safeParse,
|
|
18
18
|
sniffImageMediaType
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-ANNB4VC6.js";
|
|
20
20
|
import "../chunk-2ESYSVXG.js";
|
|
21
21
|
|
|
22
22
|
// ../mcp/src/adapter.ts
|
package/dist/mcp/core.js
CHANGED
package/dist/mcp/curation.js
CHANGED
package/dist/mcp/server.js
CHANGED
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
registerRawTools,
|
|
8
8
|
registerSkillPrompts,
|
|
9
9
|
titleCase
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-NJOWIGUL.js";
|
|
11
|
+
import "../chunk-YOE5Y2SJ.js";
|
|
12
|
+
import "../chunk-5YO4LAB7.js";
|
|
13
|
+
import "../chunk-ANNB4VC6.js";
|
|
14
14
|
import "../chunk-2ESYSVXG.js";
|
|
15
15
|
export {
|
|
16
16
|
RAW_EXCLUDED_OPERATION_IDS,
|
package/dist/mcp.js
CHANGED
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
buildServer,
|
|
8
8
|
registerCuratedTools,
|
|
9
9
|
registerRawTools
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-NJOWIGUL.js";
|
|
11
|
+
import "./chunk-YOE5Y2SJ.js";
|
|
12
|
+
import "./chunk-5YO4LAB7.js";
|
|
13
|
+
import "./chunk-ANNB4VC6.js";
|
|
14
14
|
import "./chunk-2ESYSVXG.js";
|
|
15
15
|
export {
|
|
16
16
|
API_URLS,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HeroText,
|
|
3
3
|
catalog
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-RL5SO653.js";
|
|
5
5
|
import "../chunk-LT4PWSR2.js";
|
|
6
6
|
import "../chunk-FWSJLHSV.js";
|
|
7
|
-
import "../chunk-XHGZ2E77.js";
|
|
8
7
|
import "../chunk-ZFEXATWN.js";
|
|
8
|
+
import "../chunk-XHGZ2E77.js";
|
|
9
9
|
import "../chunk-W2245F6G.js";
|
|
10
10
|
import "../chunk-2ESYSVXG.js";
|
|
11
11
|
export {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import "../../chunk-JVDUSOYG.js";
|
|
2
|
+
import {
|
|
3
|
+
SeededPRNG,
|
|
4
|
+
gauss,
|
|
5
|
+
pick,
|
|
6
|
+
range
|
|
7
|
+
} from "../../chunk-GULDS3VE.js";
|
|
2
8
|
import {
|
|
3
9
|
ALLOWED_BRAND_PATHS,
|
|
4
10
|
CONTRAST_CRITICAL_PATHS,
|
|
@@ -18,12 +24,6 @@ import {
|
|
|
18
24
|
zodToDefaults,
|
|
19
25
|
zodToJsonSchemaFor
|
|
20
26
|
} from "../../chunk-ZZRBKGDA.js";
|
|
21
|
-
import {
|
|
22
|
-
SeededPRNG,
|
|
23
|
-
gauss,
|
|
24
|
-
pick,
|
|
25
|
-
range
|
|
26
|
-
} from "../../chunk-GULDS3VE.js";
|
|
27
27
|
import {
|
|
28
28
|
FRAME_BASELINE_WIDTH,
|
|
29
29
|
frameScale,
|
package/dist/primitives/lib.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import "../chunk-JVDUSOYG.js";
|
|
2
|
+
import {
|
|
3
|
+
SeededPRNG,
|
|
4
|
+
gauss,
|
|
5
|
+
pick,
|
|
6
|
+
range
|
|
7
|
+
} from "../chunk-GULDS3VE.js";
|
|
2
8
|
import {
|
|
3
9
|
ALLOWED_BRAND_PATHS,
|
|
4
10
|
CONTRAST_CRITICAL_PATHS,
|
|
@@ -18,12 +24,6 @@ import {
|
|
|
18
24
|
zodToDefaults,
|
|
19
25
|
zodToJsonSchemaFor
|
|
20
26
|
} from "../chunk-ZZRBKGDA.js";
|
|
21
|
-
import {
|
|
22
|
-
SeededPRNG,
|
|
23
|
-
gauss,
|
|
24
|
-
pick,
|
|
25
|
-
range
|
|
26
|
-
} from "../chunk-GULDS3VE.js";
|
|
27
27
|
import {
|
|
28
28
|
FRAME_BASELINE_WIDTH,
|
|
29
29
|
frameScale,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
ProductLaunchTrailer,
|
|
9
9
|
TerminalToBrowserDeploy,
|
|
10
10
|
catalog
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-TE3PNQG6.js";
|
|
12
|
+
import "../chunk-QGAWDLYX.js";
|
|
12
13
|
import "../chunk-S5H6GH6M.js";
|
|
13
14
|
import "../chunk-QAGGJHAF.js";
|
|
14
15
|
import "../chunk-MFHXCHRI.js";
|
|
15
|
-
import "../chunk-QGAWDLYX.js";
|
|
16
16
|
import "../chunk-W2245F6G.js";
|
|
17
17
|
import "../chunk-JBWSK2YD.js";
|
|
18
18
|
import "../chunk-OBA6NW4S.js";
|