@tangle-network/agent-app 0.45.46 → 0.45.48
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-QY2CA5GI.js} +2 -2
- package/dist/{DesignCanvasEditor-DGNCA54P.js → DesignCanvasEditor-CJ7PLX7A.js} +3 -3
- package/dist/{IntakeInterview-3ZIQMZS6.js → IntakeInterview-NJXKH35Q.js} +2 -2
- package/dist/InvitationsPanel-F2VY4TSL.js +9 -0
- package/dist/InviteAcceptPage-UT4452KT.js +7 -0
- package/dist/MembersPanel-N5CBOUXC.js +9 -0
- package/dist/{TimelineEditor-OTNPJ3SN.js → TimelineEditor-IYNKBSUX.js} +2 -2
- package/dist/assistant/index.d.ts +35 -10
- package/dist/assistant/index.js +234 -89
- package/dist/assistant/index.js.map +1 -1
- package/dist/chat-react/index.js +2 -1
- package/dist/chat-react/index.js.map +1 -1
- package/dist/{chunk-IUSO2XRE.js → chunk-5BACNOVR.js} +13 -14
- package/dist/chunk-5BACNOVR.js.map +1 -0
- package/dist/chunk-AULM4X7U.js +77 -0
- package/dist/chunk-AULM4X7U.js.map +1 -0
- package/dist/{chunk-UM6ODCLN.js → chunk-C7AQW6US.js} +346 -249
- package/dist/chunk-C7AQW6US.js.map +1 -0
- package/dist/{chunk-VCPZ3HTN.js → chunk-DB2D2JBQ.js} +51 -27
- package/dist/chunk-DB2D2JBQ.js.map +1 -0
- package/dist/{chunk-TL37E5YY.js → chunk-DS2WE62K.js} +3 -3
- package/dist/{chunk-TL37E5YY.js.map → chunk-DS2WE62K.js.map} +1 -1
- package/dist/{chunk-PE67O2LH.js → chunk-GT4GTRGQ.js} +18 -13
- package/dist/chunk-GT4GTRGQ.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-54FYYXAX.js → chunk-J6OJTFNE.js} +13 -10
- package/dist/chunk-J6OJTFNE.js.map +1 -0
- package/dist/chunk-MLG6XKPV.js +44 -0
- package/dist/chunk-MLG6XKPV.js.map +1 -0
- package/dist/{chunk-F4XLTVQ3.js → chunk-R6KGLGEJ.js} +18 -17
- package/dist/chunk-R6KGLGEJ.js.map +1 -0
- package/dist/{chunk-B62EZF52.js → chunk-RILGAFEL.js} +3 -3
- package/dist/{chunk-65OZT566.js → chunk-T7XPIBCX.js} +16 -14
- package/dist/chunk-T7XPIBCX.js.map +1 -0
- package/dist/{chunk-VOJB7MVG.js → chunk-XPFNEKHS.js} +70 -28
- package/dist/chunk-XPFNEKHS.js.map +1 -0
- package/dist/{chunk-GNPN6ED4.js → chunk-XVRHISF3.js} +127 -165
- package/dist/chunk-XVRHISF3.js.map +1 -0
- package/dist/design-canvas-react/index.js +14 -12
- 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/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 +100 -63
- 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/tokens.css +173 -0
- package/dist/web-react/index.d.ts +15 -11
- package/dist/web-react/index.js +6 -4
- package/dist/work-product-react/index.js +3 -21
- 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/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-UM6ODCLN.js.map +0 -1
- package/dist/chunk-VCPZ3HTN.js.map +0 -1
- package/dist/chunk-VOJB7MVG.js.map +0 -1
- /package/dist/{DesignCanvas-P2ZVK6FM.js.map → DesignCanvas-QY2CA5GI.js.map} +0 -0
- /package/dist/{DesignCanvasEditor-DGNCA54P.js.map → DesignCanvasEditor-CJ7PLX7A.js.map} +0 -0
- /package/dist/{IntakeInterview-3ZIQMZS6.js.map → IntakeInterview-NJXKH35Q.js.map} +0 -0
- /package/dist/{InvitationsPanel-F56UOQXA.js.map → InvitationsPanel-F2VY4TSL.js.map} +0 -0
- /package/dist/{InviteAcceptPage-P3QJC3C6.js.map → InviteAcceptPage-UT4452KT.js.map} +0 -0
- /package/dist/{MembersPanel-XNLF3SA4.js.map → MembersPanel-N5CBOUXC.js.map} +0 -0
- /package/dist/{TimelineEditor-OTNPJ3SN.js.map → TimelineEditor-IYNKBSUX.js.map} +0 -0
- /package/dist/{chunk-B62EZF52.js.map → chunk-RILGAFEL.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-[11px] 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;
|
|
@@ -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(
|
|
@@ -2700,4 +2705,4 @@ export {
|
|
|
2700
2705
|
TimelineEditor,
|
|
2701
2706
|
TimelineEditor_default
|
|
2702
2707
|
};
|
|
2703
|
-
//# sourceMappingURL=chunk-
|
|
2708
|
+
//# sourceMappingURL=chunk-GT4GTRGQ.js.map
|