@flamingo-stack/openframe-frontend-core 0.0.293 → 0.0.294
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/{chunk-JSOMFVEV.cjs → chunk-6LUVYHKD.cjs} +25 -25
- package/dist/{chunk-JSOMFVEV.cjs.map → chunk-6LUVYHKD.cjs.map} +1 -1
- package/dist/{chunk-BRNHX6C6.js → chunk-6SG25O2N.js} +2 -2
- package/dist/{chunk-VTY7S2QG.cjs → chunk-73QT66LJ.cjs} +5 -5
- package/dist/{chunk-VTY7S2QG.cjs.map → chunk-73QT66LJ.cjs.map} +1 -1
- package/dist/{chunk-X3TSMCKX.cjs → chunk-AFKRDSRS.cjs} +4 -4
- package/dist/{chunk-X3TSMCKX.cjs.map → chunk-AFKRDSRS.cjs.map} +1 -1
- package/dist/{chunk-6G2INVGG.cjs → chunk-B4T3RTFX.cjs} +3 -3
- package/dist/{chunk-6G2INVGG.cjs.map → chunk-B4T3RTFX.cjs.map} +1 -1
- package/dist/{chunk-TYMUKFP2.cjs → chunk-CLWQ7MHW.cjs} +23 -23
- package/dist/{chunk-TYMUKFP2.cjs.map → chunk-CLWQ7MHW.cjs.map} +1 -1
- package/dist/{chunk-YICTMMXP.js → chunk-DEBURY5R.js} +2 -2
- package/dist/{chunk-FJDPUPXC.js → chunk-E24HKKIE.js} +2 -2
- package/dist/{chunk-2U2M2TG2.js → chunk-QFG4G62D.js} +2 -2
- package/dist/{chunk-SOJCR63T.js → chunk-RT6DJB3C.js} +2 -2
- package/dist/{chunk-RJL6PIOK.cjs → chunk-V6YZGLHZ.cjs} +2 -8
- package/dist/chunk-V6YZGLHZ.cjs.map +1 -0
- package/dist/{chunk-DOMJSNXW.js → chunk-ZYZWD7LS.js} +2 -8
- package/dist/{chunk-DOMJSNXW.js.map → chunk-ZYZWD7LS.js.map} +1 -1
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts +0 -5
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-realtime-chunk-processor.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/chat/types/api.types.d.ts +0 -6
- package/dist/components/chat/types/api.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/index.cjs +46 -46
- package/dist/components/index.js +5 -5
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +45 -45
- package/dist/components/tickets/index.js +3 -3
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/chat/hooks/use-nats-chat-adapter.ts +0 -8
- package/src/components/chat/hooks/use-realtime-chunk-processor.ts +1 -12
- package/src/components/chat/types/api.types.ts +0 -6
- package/dist/chunk-RJL6PIOK.cjs.map +0 -1
- /package/dist/{chunk-BRNHX6C6.js.map → chunk-6SG25O2N.js.map} +0 -0
- /package/dist/{chunk-YICTMMXP.js.map → chunk-DEBURY5R.js.map} +0 -0
- /package/dist/{chunk-FJDPUPXC.js.map → chunk-E24HKKIE.js.map} +0 -0
- /package/dist/{chunk-2U2M2TG2.js.map → chunk-QFG4G62D.js.map} +0 -0
- /package/dist/{chunk-SOJCR63T.js.map → chunk-RT6DJB3C.js.map} +0 -0
|
@@ -34691,7 +34691,6 @@ function useRealtimeChunkProcessor(options) {
|
|
|
34691
34691
|
displayApprovalTypes = ["CLIENT"],
|
|
34692
34692
|
approvalStatuses = {},
|
|
34693
34693
|
initialState,
|
|
34694
|
-
enableThinking = false,
|
|
34695
34694
|
// Owned by the consumer (e.g. oss-tenant chat client / openframe-frontend
|
|
34696
34695
|
// tickets view). Default ON so consumers that haven't wired the flag yet
|
|
34697
34696
|
// get the new batch UI; pass `false` explicitly to fall back to legacy.
|
|
@@ -34728,9 +34727,6 @@ function useRealtimeChunkProcessor(options) {
|
|
|
34728
34727
|
const pendingEscalatedRef = useRef50(/* @__PURE__ */ new Map());
|
|
34729
34728
|
const processChunk = useCallback37(
|
|
34730
34729
|
(chunk) => {
|
|
34731
|
-
if (!enableThinking && chunk && typeof chunk === "object" && chunk.type === MESSAGE_TYPE.THINKING) {
|
|
34732
|
-
return;
|
|
34733
|
-
}
|
|
34734
34730
|
const action = parseChunkToAction(chunk);
|
|
34735
34731
|
if (!action) return;
|
|
34736
34732
|
const accumulator = accumulatorRef.current;
|
|
@@ -34956,7 +34952,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
34956
34952
|
break;
|
|
34957
34953
|
}
|
|
34958
34954
|
},
|
|
34959
|
-
[callbacks, displayApprovalTypes, approvalStatuses, initialState
|
|
34955
|
+
[callbacks, displayApprovalTypes, approvalStatuses, initialState]
|
|
34960
34956
|
);
|
|
34961
34957
|
const getSegments = useCallback37(() => {
|
|
34962
34958
|
return accumulatorRef.current.getSegments();
|
|
@@ -36900,7 +36896,6 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
36900
36896
|
publishUserMessage,
|
|
36901
36897
|
fetchChunks,
|
|
36902
36898
|
topics,
|
|
36903
|
-
enableThinking,
|
|
36904
36899
|
batchApprovalsEnabled,
|
|
36905
36900
|
fetchDialogs,
|
|
36906
36901
|
fetchDialogMessages,
|
|
@@ -37008,7 +37003,6 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
37008
37003
|
onApprove: accumApprove,
|
|
37009
37004
|
onReject: accumReject
|
|
37010
37005
|
},
|
|
37011
|
-
enableThinking,
|
|
37012
37006
|
batchApprovalsEnabled
|
|
37013
37007
|
});
|
|
37014
37008
|
const {
|
|
@@ -39561,4 +39555,4 @@ export {
|
|
|
39561
39555
|
LogsList,
|
|
39562
39556
|
assets
|
|
39563
39557
|
};
|
|
39564
|
-
//# sourceMappingURL=chunk-
|
|
39558
|
+
//# sourceMappingURL=chunk-ZYZWD7LS.js.map
|