@opengeni/react 5.0.5-canary.1 → 5.0.5-canary.3
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.
|
@@ -7312,23 +7312,24 @@ var TimelineGroupEntry = memo(function TimelineGroupEntry2({
|
|
|
7312
7312
|
const reducedMotion = useReducedMotion2();
|
|
7313
7313
|
const { behavior, userMessageDisclosureContext } = context;
|
|
7314
7314
|
const contextCompactionCount = group.kind === "turn" ? group.contextCompactionCount ?? 0 : group.kind === "activity" && nextGroup?.kind === "item" && nextGroup.item.kind === "context-compaction" && nextGroup.item.phase === "compacted" ? 1 : 0;
|
|
7315
|
-
|
|
7315
|
+
const content = /* @__PURE__ */ jsx17(
|
|
7316
|
+
TimelineGroupView,
|
|
7317
|
+
{
|
|
7318
|
+
...behavior,
|
|
7319
|
+
group,
|
|
7320
|
+
foldLiveCluster: isAgentProgress(nextGroup),
|
|
7321
|
+
startupDismissed,
|
|
7322
|
+
trailingAgentText: trailingAgentTextAfterTurn(group, nextGroup),
|
|
7323
|
+
contextCompactionCount: contextCompactionCount > 0 ? contextCompactionCount : void 0
|
|
7324
|
+
}
|
|
7325
|
+
);
|
|
7326
|
+
return /* @__PURE__ */ jsx17(GenieLoadingOptionsContext.Provider, { value: behavior.genieLoading, children: /* @__PURE__ */ jsx17("div", { "data-og-timeline-group-anchor": "", "data-og-group-key": groupKey, children: /* @__PURE__ */ jsx17(EntranceAnimationProvider, { value: entranceEnabled, liveValue: liveEntranceEnabled, children: /* @__PURE__ */ jsx17(TimelineGroupRenderBoundary, { resetKeys: [group, behavior], children: /* @__PURE__ */ jsx17(UserMessageDisclosureProvider, { value: userMessageDisclosureContext, children: group.kind === "item" ? /* @__PURE__ */ jsx17("div", { children: content }) : /* @__PURE__ */ jsx17(AnimatePresence2, { initial: false, children: /* @__PURE__ */ jsx17(
|
|
7316
7327
|
motion2.div,
|
|
7317
7328
|
{
|
|
7318
7329
|
initial: false,
|
|
7319
7330
|
exit: { opacity: 0, height: 0 },
|
|
7320
7331
|
transition: { duration: reducedMotion ? 0 : 0.2 },
|
|
7321
|
-
children:
|
|
7322
|
-
TimelineGroupView,
|
|
7323
|
-
{
|
|
7324
|
-
...behavior,
|
|
7325
|
-
group,
|
|
7326
|
-
foldLiveCluster: isAgentProgress(nextGroup),
|
|
7327
|
-
startupDismissed,
|
|
7328
|
-
trailingAgentText: trailingAgentTextAfterTurn(group, nextGroup),
|
|
7329
|
-
contextCompactionCount: contextCompactionCount > 0 ? contextCompactionCount : void 0
|
|
7330
|
-
}
|
|
7331
|
-
)
|
|
7332
|
+
children: content
|
|
7332
7333
|
},
|
|
7333
7334
|
!startupDismissed && group.kind === "activity" && group.items.every(
|
|
7334
7335
|
(item) => item.kind === "startup-phase" || item.kind === "reasoning" && !item.text.trim()
|
|
@@ -10457,4 +10458,4 @@ export {
|
|
|
10457
10458
|
SessionChrome,
|
|
10458
10459
|
SessionCommandsPanel
|
|
10459
10460
|
};
|
|
10460
|
-
//# sourceMappingURL=chunk-
|
|
10461
|
+
//# sourceMappingURL=chunk-7S2KWUJD.js.map
|