@tangle-network/agent-app 0.45.47 → 0.45.49
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/{DesignCanvas-P2ZVK6FM.js → DesignCanvas-JRBCAWHW.js} +2 -2
- package/dist/{DesignCanvasEditor-DGNCA54P.js → DesignCanvasEditor-J2OLS22G.js} +4 -4
- package/dist/{IntakeInterview-3ZIQMZS6.js → IntakeInterview-OKT6DCBN.js} +2 -2
- package/dist/InvitationsPanel-OFCYVSAE.js +9 -0
- package/dist/InviteAcceptPage-BDOO4JSE.js +7 -0
- package/dist/MembersPanel-3ZK2GCMC.js +9 -0
- package/dist/{TimelineEditor-OTNPJ3SN.js → TimelineEditor-52YEPDX5.js} +2 -2
- package/dist/VaultPane-IGJKB6CX.js +7 -0
- package/dist/assistant/index.d.ts +36 -11
- package/dist/assistant/index.js +235 -90
- package/dist/assistant/index.js.map +1 -1
- package/dist/{billing-BibxgALe.d.ts → billing-BuNlaKlE.d.ts} +15 -23
- package/dist/chat-react/index.js +2 -1
- package/dist/chat-react/index.js.map +1 -1
- package/dist/{chunk-TL37E5YY.js → chunk-33BN7P57.js} +6 -6
- package/dist/chunk-33BN7P57.js.map +1 -0
- package/dist/{chunk-IUSO2XRE.js → chunk-5MI2SKQH.js} +14 -15
- package/dist/chunk-5MI2SKQH.js.map +1 -0
- package/dist/{chunk-65OZT566.js → chunk-7LJYCHXK.js} +29 -27
- package/dist/chunk-7LJYCHXK.js.map +1 -0
- package/dist/chunk-AULM4X7U.js +77 -0
- package/dist/chunk-AULM4X7U.js.map +1 -0
- package/dist/{chunk-GNPN6ED4.js → chunk-CJHIAZKK.js} +128 -166
- package/dist/chunk-CJHIAZKK.js.map +1 -0
- package/dist/{chunk-54FYYXAX.js → chunk-ENLRJYVW.js} +21 -18
- package/dist/chunk-ENLRJYVW.js.map +1 -0
- package/dist/{chunk-F4XLTVQ3.js → chunk-GRDLGQ6A.js} +19 -18
- package/dist/chunk-GRDLGQ6A.js.map +1 -0
- package/dist/{chunk-BT4QFCTB.js → chunk-HSBJB46C.js} +13 -1
- package/dist/chunk-HSBJB46C.js.map +1 -0
- package/dist/{chunk-VOJB7MVG.js → chunk-I2CA5N7V.js} +70 -28
- package/dist/chunk-I2CA5N7V.js.map +1 -0
- package/dist/chunk-MLG6XKPV.js +44 -0
- package/dist/chunk-MLG6XKPV.js.map +1 -0
- package/dist/{chunk-IN6LNZ7O.js → chunk-Q2QKEV6J.js} +7 -7
- package/dist/{chunk-IN6LNZ7O.js.map → chunk-Q2QKEV6J.js.map} +1 -1
- package/dist/{chunk-B62EZF52.js → chunk-UMV45ZDF.js} +3 -3
- package/dist/{chunk-JJJEO4ND.js → chunk-VWTODXRW.js} +2 -2
- package/dist/{chunk-JJJEO4ND.js.map → chunk-VWTODXRW.js.map} +1 -1
- package/dist/{chunk-VCPZ3HTN.js → chunk-W7P5KV6O.js} +51 -27
- package/dist/chunk-W7P5KV6O.js.map +1 -0
- package/dist/{chunk-ZX5UT4HF.js → chunk-ZAKKG6WI.js} +354 -273
- package/dist/chunk-ZAKKG6WI.js.map +1 -0
- package/dist/{chunk-PE67O2LH.js → chunk-ZGY6QB4F.js} +21 -16
- package/dist/chunk-ZGY6QB4F.js.map +1 -0
- package/dist/design-canvas-react/index.js +18 -16
- package/dist/design-canvas-react/index.js.map +1 -1
- package/dist/design-canvas-react/lazy.js +1 -1
- package/dist/intakes-react/index.js +1 -1
- package/dist/intakes-react/lazy.js +1 -1
- package/dist/platform/index.d.ts +1 -1
- package/dist/platform/index.js +16 -16
- package/dist/platform/index.js.map +1 -1
- package/dist/sequences-react/index.js +2 -2
- package/dist/studio/index.d.ts +13 -1
- package/dist/studio/index.js +13 -1
- package/dist/studio-react/index.js +115 -78
- package/dist/studio-react/index.js.map +1 -1
- package/dist/studio-react/studio.css +0 -56
- package/dist/teams-react/index.js +4 -3
- package/dist/teams-react/lazy.js +3 -3
- package/dist/theme/index.js +1 -1
- package/dist/theme/tokens.css +15 -13
- package/dist/vault/index.js +1 -1
- package/dist/vault/lazy.js +1 -1
- package/dist/web-react/index.d.ts +16 -12
- package/dist/web-react/index.js +6 -4
- package/dist/work-product-react/index.js +9 -27
- package/dist/work-product-react/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/InvitationsPanel-F56UOQXA.js +0 -8
- package/dist/InviteAcceptPage-P3QJC3C6.js +0 -7
- package/dist/MembersPanel-XNLF3SA4.js +0 -8
- package/dist/VaultPane-MUWGYVJ7.js +0 -7
- package/dist/chunk-54FYYXAX.js.map +0 -1
- package/dist/chunk-65OZT566.js.map +0 -1
- package/dist/chunk-BT4QFCTB.js.map +0 -1
- package/dist/chunk-F4XLTVQ3.js.map +0 -1
- package/dist/chunk-GNPN6ED4.js.map +0 -1
- package/dist/chunk-IUSO2XRE.js.map +0 -1
- package/dist/chunk-PE67O2LH.js.map +0 -1
- package/dist/chunk-TL37E5YY.js.map +0 -1
- package/dist/chunk-VCPZ3HTN.js.map +0 -1
- package/dist/chunk-VOJB7MVG.js.map +0 -1
- package/dist/chunk-ZX5UT4HF.js.map +0 -1
- /package/dist/{DesignCanvas-P2ZVK6FM.js.map → DesignCanvas-JRBCAWHW.js.map} +0 -0
- /package/dist/{DesignCanvasEditor-DGNCA54P.js.map → DesignCanvasEditor-J2OLS22G.js.map} +0 -0
- /package/dist/{IntakeInterview-3ZIQMZS6.js.map → IntakeInterview-OKT6DCBN.js.map} +0 -0
- /package/dist/{InvitationsPanel-F56UOQXA.js.map → InvitationsPanel-OFCYVSAE.js.map} +0 -0
- /package/dist/{InviteAcceptPage-P3QJC3C6.js.map → InviteAcceptPage-BDOO4JSE.js.map} +0 -0
- /package/dist/{MembersPanel-XNLF3SA4.js.map → MembersPanel-3ZK2GCMC.js.map} +0 -0
- /package/dist/{TimelineEditor-OTNPJ3SN.js.map → TimelineEditor-52YEPDX5.js.map} +0 -0
- /package/dist/{VaultPane-MUWGYVJ7.js.map → VaultPane-IGJKB6CX.js.map} +0 -0
- /package/dist/{chunk-B62EZF52.js.map → chunk-UMV45ZDF.js.map} +0 -0
|
@@ -1029,6 +1029,7 @@ function PreviewCanvas({ timeline, clock, frameProvider, className }) {
|
|
|
1029
1029
|
const canvasRef = useRef(null);
|
|
1030
1030
|
const [size, setSize] = useState(null);
|
|
1031
1031
|
const [drawError, setDrawError] = useState(null);
|
|
1032
|
+
const [emptyFrame, setEmptyFrame] = useState(false);
|
|
1032
1033
|
const paintQueueRef = useRef({ running: false, queuedFrame: null });
|
|
1033
1034
|
const paintInputsRef = useRef({ timeline, frameProvider, size });
|
|
1034
1035
|
paintInputsRef.current = { timeline, frameProvider, size };
|
|
@@ -1062,6 +1063,11 @@ function PreviewCanvas({ timeline, clock, frameProvider, className }) {
|
|
|
1062
1063
|
const { timeline: current, frameProvider: provider, size: cssSize } = paintInputsRef.current;
|
|
1063
1064
|
const canvas = canvasRef.current;
|
|
1064
1065
|
if (!canvas || !cssSize) return;
|
|
1066
|
+
const paintFrame = Math.max(0, Math.min(frame, current.sequence.durationFrames - 1));
|
|
1067
|
+
const snapshot = snapshotFrame(current, paintFrame);
|
|
1068
|
+
const mediaEntries = snapshot.active.filter(({ track, clip }) => track.kind === "video" && !track.muted && clip.media !== void 0 && (clip.media.kind === "video" || clip.media.kind === "image"));
|
|
1069
|
+
const top = mediaEntries[mediaEntries.length - 1];
|
|
1070
|
+
setEmptyFrame(!(top && top.clip.media));
|
|
1065
1071
|
const ctx = canvas.getContext("2d");
|
|
1066
1072
|
if (!ctx) return;
|
|
1067
1073
|
const dpr = typeof window !== "undefined" && window.devicePixelRatio || 1;
|
|
@@ -1072,10 +1078,6 @@ function PreviewCanvas({ timeline, clock, frameProvider, className }) {
|
|
|
1072
1078
|
ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
|
|
1073
1079
|
ctx.fillStyle = "#000";
|
|
1074
1080
|
ctx.fillRect(0, 0, cssSize.width, cssSize.height);
|
|
1075
|
-
const paintFrame = Math.max(0, Math.min(frame, current.sequence.durationFrames - 1));
|
|
1076
|
-
const snapshot = snapshotFrame(current, paintFrame);
|
|
1077
|
-
const mediaEntries = snapshot.active.filter(({ track, clip }) => track.kind === "video" && !track.muted && clip.media !== void 0 && (clip.media.kind === "video" || clip.media.kind === "image"));
|
|
1078
|
-
const top = mediaEntries[mediaEntries.length - 1];
|
|
1079
1081
|
if (top && top.clip.media) {
|
|
1080
1082
|
const sourceSeconds = framesToSeconds(top.clip.sourceInFrame + (paintFrame - top.clip.startFrame), current.sequence.fps);
|
|
1081
1083
|
await provider.drawFrame(top.clip.media.url, sourceSeconds, ctx, {
|
|
@@ -1144,6 +1146,7 @@ function PreviewCanvas({ timeline, clock, frameProvider, className }) {
|
|
|
1144
1146
|
style: size ? { width: `${size.width}px`, height: `${size.height}px` } : { width: "100%", height: "100%" }
|
|
1145
1147
|
}
|
|
1146
1148
|
),
|
|
1149
|
+
emptyFrame && !drawError ? /* @__PURE__ */ jsx("p", { className: "pointer-events-none absolute inset-0 flex items-center justify-center text-xs text-[var(--text-muted)]", children: "No media at the playhead" }) : null,
|
|
1147
1150
|
drawError ? /* @__PURE__ */ jsx("p", { className: "absolute inset-x-3 bottom-2 truncate rounded bg-[hsl(var(--destructive))] px-2 py-1 text-center text-xs text-[hsl(var(--destructive-foreground))]", role: "alert", children: drawError }) : null
|
|
1148
1151
|
] });
|
|
1149
1152
|
}
|
|
@@ -1323,11 +1326,11 @@ function drawWaveform(ctx, data, rect, color) {
|
|
|
1323
1326
|
// src/sequences-react/components/TimelineClipChip.tsx
|
|
1324
1327
|
import { Fragment, jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
1325
1328
|
var KIND_TONES = {
|
|
1326
|
-
video: "border-
|
|
1327
|
-
audio: "border-
|
|
1328
|
-
caption: "border-
|
|
1329
|
-
reference: "border-
|
|
1330
|
-
agent: "border-
|
|
1329
|
+
video: "border-[hsl(var(--primary)/0.4)] bg-[color-mix(in_srgb,hsl(var(--primary))_15%,var(--bg-input))]",
|
|
1330
|
+
audio: "border-[hsl(var(--success)/0.4)] bg-[color-mix(in_srgb,hsl(var(--success))_15%,var(--bg-input))]",
|
|
1331
|
+
caption: "border-[hsl(var(--warning)/0.4)] bg-[color-mix(in_srgb,hsl(var(--warning))_15%,var(--bg-input))]",
|
|
1332
|
+
reference: "border-[hsl(var(--muted-foreground)/0.4)] bg-[color-mix(in_srgb,hsl(var(--muted-foreground))_15%,var(--bg-input))]",
|
|
1333
|
+
agent: "border-[hsl(var(--primary)/0.4)] bg-[color-mix(in_srgb,hsl(var(--primary))_15%,var(--bg-input))]"
|
|
1331
1334
|
};
|
|
1332
1335
|
var waveformCache = /* @__PURE__ */ new Map();
|
|
1333
1336
|
var WAVEFORM_BUCKETS = 256;
|
|
@@ -1640,7 +1643,7 @@ function TimelineClipChip(props) {
|
|
|
1640
1643
|
/* @__PURE__ */ jsxs3("div", { className: "relative flex h-full min-w-0 items-stretch gap-1.5 px-1.5 py-1", children: [
|
|
1641
1644
|
isVisualMedia ? /* @__PURE__ */ jsx5("canvas", { ref: posterRef, className: "h-full w-10 shrink-0 rounded-sm bg-black object-cover" }) : null,
|
|
1642
1645
|
/* @__PURE__ */ jsxs3("div", { className: "min-w-0 flex-1", children: [
|
|
1643
|
-
/* @__PURE__ */ jsx5("div", { className: "truncate text-
|
|
1646
|
+
/* @__PURE__ */ jsx5("div", { className: "truncate text-xs font-medium leading-4 text-[var(--text-primary)]", children: isCaption && typeof clip.text === "string" ? clip.text : clip.label }),
|
|
1644
1647
|
/* @__PURE__ */ jsx5("span", { className: "mt-0.5 inline-block rounded bg-[hsl(var(--background))] px-1 font-mono text-[9px] leading-3 text-[var(--text-secondary)]", children: formatTimecode(shown.durationFrames, fps) })
|
|
1645
1648
|
] })
|
|
1646
1649
|
] }),
|
|
@@ -1657,7 +1660,7 @@ function TimelineClipChip(props) {
|
|
|
1657
1660
|
event.stopPropagation();
|
|
1658
1661
|
},
|
|
1659
1662
|
onBlur: commitText,
|
|
1660
|
-
className: "agent-app-edit-selection absolute inset-0 z-10 w-full bg-[hsl(var(--popover))] px-1.5 text-
|
|
1663
|
+
className: "agent-app-edit-selection absolute inset-0 z-10 w-full bg-[hsl(var(--popover))] px-1.5 text-xs text-[var(--text-primary)] ring-1 ring-[var(--brand-primary)]",
|
|
1661
1664
|
"aria-label": "Caption text"
|
|
1662
1665
|
}
|
|
1663
1666
|
) : null,
|
|
@@ -1776,6 +1779,8 @@ var ExportGlyph = glyph(
|
|
|
1776
1779
|
/* @__PURE__ */ jsx6("path", { d: "M12 3v12M8 7l4-4 4 4" })
|
|
1777
1780
|
] })
|
|
1778
1781
|
);
|
|
1782
|
+
var PlusGlyph = glyph(/* @__PURE__ */ jsx6("path", { d: "M12 5v14M5 12h14" }));
|
|
1783
|
+
var MinusGlyph = glyph(/* @__PURE__ */ jsx6("path", { d: "M5 12h14" }));
|
|
1779
1784
|
|
|
1780
1785
|
// src/sequences-react/components/TimelineTrackRow.tsx
|
|
1781
1786
|
import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
@@ -1951,7 +1956,7 @@ function TimelineSmallScreenGate({ labels }) {
|
|
|
1951
1956
|
className: "flex h-full min-h-0 flex-col items-center justify-center gap-3 bg-[var(--bg-input)] px-8 py-12 text-center text-[var(--text-primary)] sm:hidden",
|
|
1952
1957
|
children: [
|
|
1953
1958
|
/* @__PURE__ */ jsx11(BrandMark, { size: 32, className: "shrink-0 opacity-90" }),
|
|
1954
|
-
/* @__PURE__ */ jsx11("p", { className: "text-
|
|
1959
|
+
/* @__PURE__ */ jsx11("p", { className: "text-sm font-semibold", children: copy.smallScreenTitle }),
|
|
1955
1960
|
/* @__PURE__ */ jsx11("p", { className: "max-w-xs text-sm text-[var(--text-muted)]", children: copy.smallScreenBody })
|
|
1956
1961
|
]
|
|
1957
1962
|
}
|
|
@@ -1983,7 +1988,7 @@ function ZoomControl({ zoomMath, zoom, onZoomChange, fitZoom }) {
|
|
|
1983
1988
|
"aria-label": "Zoom out",
|
|
1984
1989
|
onClick: () => setSlider(slider - sliderStep * 10),
|
|
1985
1990
|
className: ZOOM_STEP_BUTTON,
|
|
1986
|
-
children: "
|
|
1991
|
+
children: /* @__PURE__ */ jsx12(MinusGlyph, { className: "h-3.5 w-3.5" })
|
|
1987
1992
|
}
|
|
1988
1993
|
),
|
|
1989
1994
|
/* @__PURE__ */ jsx12(
|
|
@@ -2007,7 +2012,7 @@ function ZoomControl({ zoomMath, zoom, onZoomChange, fitZoom }) {
|
|
|
2007
2012
|
"aria-label": "Zoom in",
|
|
2008
2013
|
onClick: () => setSlider(slider + sliderStep * 10),
|
|
2009
2014
|
className: ZOOM_STEP_BUTTON,
|
|
2010
|
-
children: "
|
|
2015
|
+
children: /* @__PURE__ */ jsx12(PlusGlyph, { className: "h-3.5 w-3.5" })
|
|
2011
2016
|
}
|
|
2012
2017
|
),
|
|
2013
2018
|
/* @__PURE__ */ jsxs9(
|
|
@@ -2016,7 +2021,7 @@ function ZoomControl({ zoomMath, zoom, onZoomChange, fitZoom }) {
|
|
|
2016
2021
|
"aria-hidden": true,
|
|
2017
2022
|
title: fitZoom ? "Zoom (100% = fits the whole sequence)" : "Zoom",
|
|
2018
2023
|
onClick: fitZoom ? () => onZoomChange(fitZoom) : void 0,
|
|
2019
|
-
className: `w-11 select-none text-right font-mono text-
|
|
2024
|
+
className: `w-11 select-none text-right font-mono text-xs tabular-nums text-[var(--text-muted)] ${fitZoom ? "cursor-pointer hover:text-[var(--text-primary)]" : ""}`,
|
|
2020
2025
|
children: [
|
|
2021
2026
|
percent,
|
|
2022
2027
|
"%"
|
|
@@ -2700,4 +2705,4 @@ export {
|
|
|
2700
2705
|
TimelineEditor,
|
|
2701
2706
|
TimelineEditor_default
|
|
2702
2707
|
};
|
|
2703
|
-
//# sourceMappingURL=chunk-
|
|
2708
|
+
//# sourceMappingURL=chunk-ZGY6QB4F.js.map
|