@axiom-lattice/react-sdk 4.1.2 → 4.1.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.
- package/dist/{AgentDetailSideApp-BANXDHGC.mjs → AgentDetailSideApp-KVL27KAF.mjs} +6 -6
- package/dist/{AgentGovernanceWorkbench-PNF7MG6Q.mjs → AgentGovernanceWorkbench-I6S4XU3T.mjs} +7 -7
- package/dist/{MessageGraph-JYJJGID6.mjs → MessageGraph-LOSAZQ2V.mjs} +2 -2
- package/dist/{ReactChart-YSVXA36V.mjs → ReactChart-NDLIHCJJ.mjs} +2 -2
- package/dist/{TasksSideApp-BHSO6MME.mjs → TasksSideApp-37YKH7HV.mjs} +3 -3
- package/dist/{TeamWorkspace-UX5XZOBG.mjs → TeamWorkspace-EAFZU3KS.mjs} +2 -2
- package/dist/{TopologyRuntimeView-7RTCOJL6.mjs → TopologyRuntimeView-53OCKDYA.mjs} +3 -3
- package/dist/{WorkflowAutomationView-ZXWX7KAO.mjs → WorkflowAutomationView-R4EHXT7I.mjs} +5 -5
- package/dist/{chunk-2ZHLPYFM.mjs → chunk-EWLXRAWY.mjs} +64 -10
- package/dist/chunk-EWLXRAWY.mjs.map +1 -0
- package/dist/{chunk-PCVIQHMU.mjs → chunk-FKK4AXDU.mjs} +4 -4
- package/dist/{chunk-U3IFNUHY.mjs → chunk-N4C7TX7T.mjs} +2 -2
- package/dist/{chunk-TIJF2N43.mjs → chunk-OT7IZRSM.mjs} +2 -2
- package/dist/{chunk-YHTQIFV7.mjs → chunk-SLXJAOF2.mjs} +2 -2
- package/dist/{chunk-XVKJMRHA.mjs → chunk-WQBBDRPU.mjs} +11 -11
- package/dist/{chunk-V4IPV2ZK.mjs → chunk-YYP5ASCR.mjs} +4 -4
- package/dist/{embed-page-AgentDetailSideApp-2LI6OOO7.js → embed-page-AgentDetailSideApp-3LBCEKFU.js} +1 -1
- package/dist/{embed-page-AgentGovernanceWorkbench-M4H7NQNZ.js → embed-page-AgentGovernanceWorkbench-K3JUQNBW.js} +1 -1
- package/dist/{embed-page-MessageGraph-C3WBV4X7.js → embed-page-MessageGraph-3X4ROEN6.js} +1 -1
- package/dist/{embed-page-ReactChart-7K7Z2GKH.js → embed-page-ReactChart-F6VYCIYY.js} +1 -1
- package/dist/{embed-page-SkillFlow-MAXK7HAQ.js → embed-page-SkillFlow-3CF7R3CW.js} +1 -1
- package/dist/{embed-page-TasksSideApp-LJDTRCAB.js → embed-page-TasksSideApp-3WRDBZU3.js} +1 -1
- package/dist/{embed-page-TeamWorkspace-GXWDJBUR.js → embed-page-TeamWorkspace-6JSMZYUF.js} +1 -1
- package/dist/{embed-page-TopologyRuntimeView-JCAZCHS7.js → embed-page-TopologyRuntimeView-YDFENLHH.js} +1 -1
- package/dist/{embed-page-WorkflowAutomationView-4MAB62HK.js → embed-page-WorkflowAutomationView-MP5B7Q2Q.js} +1 -1
- package/dist/{embed-page-chunk-GZXI22WX.js → embed-page-chunk-B2E2XOH2.js} +8 -8
- package/dist/{embed-page-chunk-UVYHBMEW.js → embed-page-chunk-FFO7CAYL.js} +1 -1
- package/dist/{embed-page-chunk-HCLU6MDW.js → embed-page-chunk-GDTBDOUE.js} +4 -4
- package/dist/{embed-page-chunk-YPHDGMDG.js → embed-page-chunk-IRP6JSSX.js} +1 -1
- package/dist/{embed-page-chunk-Z6HFQXM5.js → embed-page-chunk-PAJ5NG2Z.js} +1 -1
- package/dist/{embed-page-chunk-DFJ7Y4ID.js → embed-page-chunk-QEYWJHEK.js} +1 -1
- package/dist/{embed-page-chunk-E7PTLQAG.js → embed-page-chunk-RVXX5HKF.js} +1 -1
- package/dist/{embed-page-chunk-7LQKELZI.js → embed-page-chunk-UOL6CUAL.js} +1 -1
- package/dist/{embed-page-chunk-J2VPD2GD.js → embed-page-chunk-URNZX66S.js} +1 -1
- package/dist/{embed-page-chunk-E46G4ZHX.js → embed-page-chunk-YMJGPA3F.js} +118 -118
- package/dist/embed-page.js +1 -1
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +59 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/package.json +3 -3
- package/dist/chunk-2ZHLPYFM.mjs.map +0 -1
- /package/dist/{AgentDetailSideApp-BANXDHGC.mjs.map → AgentDetailSideApp-KVL27KAF.mjs.map} +0 -0
- /package/dist/{AgentGovernanceWorkbench-PNF7MG6Q.mjs.map → AgentGovernanceWorkbench-I6S4XU3T.mjs.map} +0 -0
- /package/dist/{MessageGraph-JYJJGID6.mjs.map → MessageGraph-LOSAZQ2V.mjs.map} +0 -0
- /package/dist/{ReactChart-YSVXA36V.mjs.map → ReactChart-NDLIHCJJ.mjs.map} +0 -0
- /package/dist/{TasksSideApp-BHSO6MME.mjs.map → TasksSideApp-37YKH7HV.mjs.map} +0 -0
- /package/dist/{TeamWorkspace-UX5XZOBG.mjs.map → TeamWorkspace-EAFZU3KS.mjs.map} +0 -0
- /package/dist/{TopologyRuntimeView-7RTCOJL6.mjs.map → TopologyRuntimeView-53OCKDYA.mjs.map} +0 -0
- /package/dist/{WorkflowAutomationView-ZXWX7KAO.mjs.map → WorkflowAutomationView-R4EHXT7I.mjs.map} +0 -0
- /package/dist/{chunk-PCVIQHMU.mjs.map → chunk-FKK4AXDU.mjs.map} +0 -0
- /package/dist/{chunk-U3IFNUHY.mjs.map → chunk-N4C7TX7T.mjs.map} +0 -0
- /package/dist/{chunk-TIJF2N43.mjs.map → chunk-OT7IZRSM.mjs.map} +0 -0
- /package/dist/{chunk-YHTQIFV7.mjs.map → chunk-SLXJAOF2.mjs.map} +0 -0
- /package/dist/{chunk-XVKJMRHA.mjs.map → chunk-WQBBDRPU.mjs.map} +0 -0
- /package/dist/{chunk-V4IPV2ZK.mjs.map → chunk-YYP5ASCR.mjs.map} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentDetailView
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WQBBDRPU.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ProjectScopeProvider_default
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-N4C7TX7T.mjs";
|
|
7
|
+
import "./chunk-OT7IZRSM.mjs";
|
|
8
8
|
import "./chunk-DTZKYPER.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-SLXJAOF2.mjs";
|
|
10
10
|
import "./chunk-7FWCKQNB.mjs";
|
|
11
11
|
import {
|
|
12
12
|
useSideAppOpener
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EWLXRAWY.mjs";
|
|
14
14
|
import "./chunk-NSGSGYM7.mjs";
|
|
15
15
|
import "./chunk-AMIVRDYB.mjs";
|
|
16
16
|
import "./chunk-XC6TB6PI.mjs";
|
|
@@ -157,4 +157,4 @@ var AgentDetailSideApp = ({ data }) => {
|
|
|
157
157
|
export {
|
|
158
158
|
AgentDetailSideApp
|
|
159
159
|
};
|
|
160
|
-
//# sourceMappingURL=AgentDetailSideApp-
|
|
160
|
+
//# sourceMappingURL=AgentDetailSideApp-KVL27KAF.mjs.map
|
package/dist/{AgentGovernanceWorkbench-PNF7MG6Q.mjs → AgentGovernanceWorkbench-I6S4XU3T.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentGovernanceWorkbench
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-YYP5ASCR.mjs";
|
|
4
|
+
import "./chunk-WQBBDRPU.mjs";
|
|
5
|
+
import "./chunk-N4C7TX7T.mjs";
|
|
6
|
+
import "./chunk-OT7IZRSM.mjs";
|
|
7
7
|
import "./chunk-DTZKYPER.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-SLXJAOF2.mjs";
|
|
9
9
|
import "./chunk-7FWCKQNB.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-EWLXRAWY.mjs";
|
|
11
11
|
import "./chunk-NSGSGYM7.mjs";
|
|
12
12
|
import "./chunk-AMIVRDYB.mjs";
|
|
13
13
|
import "./chunk-XC6TB6PI.mjs";
|
|
@@ -17,4 +17,4 @@ import "./chunk-SH6YXSHR.mjs";
|
|
|
17
17
|
export {
|
|
18
18
|
AgentGovernanceWorkbench
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=AgentGovernanceWorkbench-
|
|
20
|
+
//# sourceMappingURL=AgentGovernanceWorkbench-I6S4XU3T.mjs.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
buildTraceGraph,
|
|
10
10
|
collapseOlderPhases,
|
|
11
11
|
formatToolName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EWLXRAWY.mjs";
|
|
13
13
|
import "./chunk-NSGSGYM7.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Handle,
|
|
@@ -376,4 +376,4 @@ var MessageGraph = ({
|
|
|
376
376
|
export {
|
|
377
377
|
MessageGraph
|
|
378
378
|
};
|
|
379
|
-
//# sourceMappingURL=MessageGraph-
|
|
379
|
+
//# sourceMappingURL=MessageGraph-LOSAZQ2V.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenericDataTable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EWLXRAWY.mjs";
|
|
4
4
|
import "./chunk-NSGSGYM7.mjs";
|
|
5
5
|
import "./chunk-LEEQPRDB.mjs";
|
|
6
6
|
import "./chunk-SH6YXSHR.mjs";
|
|
@@ -452,4 +452,4 @@ var ReactChart = (props) => {
|
|
|
452
452
|
export {
|
|
453
453
|
ReactChart
|
|
454
454
|
};
|
|
455
|
-
//# sourceMappingURL=ReactChart-
|
|
455
|
+
//# sourceMappingURL=ReactChart-NDLIHCJJ.mjs.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
TaskOutlineList,
|
|
8
8
|
buildTaskGraph,
|
|
9
9
|
useOpenTaskChat
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SLXJAOF2.mjs";
|
|
11
11
|
import {
|
|
12
12
|
WorkflowGraphBase,
|
|
13
13
|
applyDagreLayout
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
FilterSelect,
|
|
17
17
|
useWorkspaceContext
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EWLXRAWY.mjs";
|
|
19
19
|
import "./chunk-NSGSGYM7.mjs";
|
|
20
20
|
import {
|
|
21
21
|
Handle,
|
|
@@ -1094,4 +1094,4 @@ var TasksSideApp = ({ statusFilter, getOwnerLabel, showProjectFilter = true, ini
|
|
|
1094
1094
|
export {
|
|
1095
1095
|
TasksSideApp
|
|
1096
1096
|
};
|
|
1097
|
-
//# sourceMappingURL=TasksSideApp-
|
|
1097
|
+
//# sourceMappingURL=TasksSideApp-37YKH7HV.mjs.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
Chating,
|
|
4
4
|
MailboxPanel,
|
|
5
5
|
useAgentState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EWLXRAWY.mjs";
|
|
7
7
|
import "./chunk-NSGSGYM7.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Background,
|
|
@@ -2409,4 +2409,4 @@ export {
|
|
|
2409
2409
|
TeamWorkspace,
|
|
2410
2410
|
TeamWorkspace_default as default
|
|
2411
2411
|
};
|
|
2412
|
-
//# sourceMappingURL=TeamWorkspace-
|
|
2412
|
+
//# sourceMappingURL=TeamWorkspace-EAFZU3KS.mjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkflowCanvas,
|
|
3
3
|
expandWorkflow
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OT7IZRSM.mjs";
|
|
5
5
|
import "./chunk-7FWCKQNB.mjs";
|
|
6
6
|
import {
|
|
7
7
|
MDResponse
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EWLXRAWY.mjs";
|
|
9
9
|
import "./chunk-NSGSGYM7.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Background,
|
|
@@ -811,4 +811,4 @@ var TopologyRuntimeView = () => {
|
|
|
811
811
|
export {
|
|
812
812
|
TopologyRuntimeView
|
|
813
813
|
};
|
|
814
|
-
//# sourceMappingURL=TopologyRuntimeView-
|
|
814
|
+
//# sourceMappingURL=TopologyRuntimeView-53OCKDYA.mjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkflowAutomationView,
|
|
3
3
|
WorkflowAutomationView_default
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-FKK4AXDU.mjs";
|
|
5
|
+
import "./chunk-N4C7TX7T.mjs";
|
|
6
|
+
import "./chunk-OT7IZRSM.mjs";
|
|
7
7
|
import "./chunk-7FWCKQNB.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-EWLXRAWY.mjs";
|
|
9
9
|
import "./chunk-NSGSGYM7.mjs";
|
|
10
10
|
import "./chunk-XC6TB6PI.mjs";
|
|
11
11
|
import "./chunk-XAGSG72Y.mjs";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
WorkflowAutomationView,
|
|
16
16
|
WorkflowAutomationView_default as default
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=WorkflowAutomationView-
|
|
18
|
+
//# sourceMappingURL=WorkflowAutomationView-R4EHXT7I.mjs.map
|
|
@@ -63,6 +63,20 @@ function useChat(threadId, assistantId, options = {}) {
|
|
|
63
63
|
const handleStreamEvent = useCallback(
|
|
64
64
|
(chunk) => {
|
|
65
65
|
const anyChunk = chunk;
|
|
66
|
+
if (anyChunk.type === "error") {
|
|
67
|
+
const code = typeof anyChunk.data?.code === "string" ? anyChunk.data.code : "stream_error";
|
|
68
|
+
const isStop = code === "aborted" || code === "superseded";
|
|
69
|
+
setState((prev) => ({
|
|
70
|
+
...prev,
|
|
71
|
+
messages: chunkMessageMerger.current.getMessages(),
|
|
72
|
+
isLoading: false,
|
|
73
|
+
streamingMessage: null,
|
|
74
|
+
error: isStop ? null : new Error(
|
|
75
|
+
typeof anyChunk.data?.content === "string" && anyChunk.data.content ? anyChunk.data.content : "Stream error"
|
|
76
|
+
)
|
|
77
|
+
}));
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
66
80
|
let interrupt;
|
|
67
81
|
if (chunk.type === "interrupt") {
|
|
68
82
|
interrupt = chunk;
|
|
@@ -3152,6 +3166,7 @@ function AgentThreadProvider({
|
|
|
3152
3166
|
messages: options.initialMessages || [],
|
|
3153
3167
|
isLoading: false,
|
|
3154
3168
|
error: null,
|
|
3169
|
+
stopReason: null,
|
|
3155
3170
|
interrupts: void 0,
|
|
3156
3171
|
agentState: null,
|
|
3157
3172
|
// 新增队列状态
|
|
@@ -3262,6 +3277,23 @@ function AgentThreadProvider({
|
|
|
3262
3277
|
(chunk) => {
|
|
3263
3278
|
if (currentThreadIdRef.current !== threadId) return;
|
|
3264
3279
|
const anyChunk = chunk;
|
|
3280
|
+
if (anyChunk.type === "error") {
|
|
3281
|
+
const code = typeof anyChunk.data?.code === "string" ? anyChunk.data.code : "stream_error";
|
|
3282
|
+
const isStop = code === "aborted" || code === "superseded";
|
|
3283
|
+
streamActiveRef.current = false;
|
|
3284
|
+
const isLoading = getOwnedLoading();
|
|
3285
|
+
isLoadingRef.current = isLoading;
|
|
3286
|
+
setState((prev) => ({
|
|
3287
|
+
...prev,
|
|
3288
|
+
messages: chunkMessageMerger.current.getMessages(),
|
|
3289
|
+
isLoading,
|
|
3290
|
+
stopReason: isStop ? code : null,
|
|
3291
|
+
error: isStop ? null : new Error(
|
|
3292
|
+
typeof anyChunk.data?.content === "string" && anyChunk.data.content ? anyChunk.data.content : "Stream error"
|
|
3293
|
+
)
|
|
3294
|
+
}));
|
|
3295
|
+
return;
|
|
3296
|
+
}
|
|
3265
3297
|
if (anyChunk.type === "human") {
|
|
3266
3298
|
const chunkId = anyChunk.data?.id;
|
|
3267
3299
|
const chunkContent = anyChunk.data?.content;
|
|
@@ -3339,6 +3371,7 @@ function AgentThreadProvider({
|
|
|
3339
3371
|
todos: todos || prev.todos,
|
|
3340
3372
|
messages: chunkMessageMerger.current.getMessages(),
|
|
3341
3373
|
isLoading,
|
|
3374
|
+
stopReason: null,
|
|
3342
3375
|
interrupts: interrupt ? [interrupt] : void 0
|
|
3343
3376
|
};
|
|
3344
3377
|
});
|
|
@@ -3353,7 +3386,8 @@ function AgentThreadProvider({
|
|
|
3353
3386
|
...prev,
|
|
3354
3387
|
todos: todos || prev.todos,
|
|
3355
3388
|
messages: chunkMessageMerger.current.getMessages(),
|
|
3356
|
-
isLoading
|
|
3389
|
+
isLoading,
|
|
3390
|
+
stopReason: null
|
|
3357
3391
|
}));
|
|
3358
3392
|
});
|
|
3359
3393
|
}
|
|
@@ -3395,8 +3429,11 @@ function AgentThreadProvider({
|
|
|
3395
3429
|
...prev,
|
|
3396
3430
|
isLoading,
|
|
3397
3431
|
error: null,
|
|
3432
|
+
stopReason: null,
|
|
3398
3433
|
interrupts: void 0
|
|
3399
3434
|
}));
|
|
3435
|
+
} else {
|
|
3436
|
+
setState((prev) => prev.stopReason == null ? prev : { ...prev, stopReason: null });
|
|
3400
3437
|
}
|
|
3401
3438
|
pendingIdsRef.current.add(userMessage.id);
|
|
3402
3439
|
setState((prev) => ({
|
|
@@ -3550,7 +3587,7 @@ function AgentThreadProvider({
|
|
|
3550
3587
|
isLoadingRef.current = initialIsLoading;
|
|
3551
3588
|
setState((prev) => {
|
|
3552
3589
|
if (currentThreadIdRef.current !== capturedThreadId) return prev;
|
|
3553
|
-
return { ...prev, messages: [], isLoading: initialIsLoading, error: null };
|
|
3590
|
+
return { ...prev, messages: [], isLoading: initialIsLoading, error: null, stopReason: null };
|
|
3554
3591
|
});
|
|
3555
3592
|
try {
|
|
3556
3593
|
const agentState = await client.getAgentState(threadId);
|
|
@@ -3636,7 +3673,8 @@ function AgentThreadProvider({
|
|
|
3636
3673
|
const clearError = useCallback7(() => {
|
|
3637
3674
|
setState((prev) => ({
|
|
3638
3675
|
...prev,
|
|
3639
|
-
error: null
|
|
3676
|
+
error: null,
|
|
3677
|
+
stopReason: null
|
|
3640
3678
|
}));
|
|
3641
3679
|
}, []);
|
|
3642
3680
|
const removePendingMessage = useCallback7(
|
|
@@ -3665,7 +3703,11 @@ function AgentThreadProvider({
|
|
|
3665
3703
|
[client, threadId, assistantId, clientAssistantId]
|
|
3666
3704
|
);
|
|
3667
3705
|
const abortAgent = useCallback7(async () => {
|
|
3706
|
+
const wasActive = getOwnedLoading();
|
|
3668
3707
|
stopStreaming();
|
|
3708
|
+
if (wasActive) {
|
|
3709
|
+
setState((prev) => ({ ...prev, stopReason: "aborted", error: null }));
|
|
3710
|
+
}
|
|
3669
3711
|
if (assistantId && threadId) {
|
|
3670
3712
|
try {
|
|
3671
3713
|
await client.chat.abort({
|
|
@@ -3676,7 +3718,7 @@ function AgentThreadProvider({
|
|
|
3676
3718
|
console.error("Failed to abort agent:", error);
|
|
3677
3719
|
}
|
|
3678
3720
|
}
|
|
3679
|
-
}, [stopStreaming, assistantId, threadId, client]);
|
|
3721
|
+
}, [stopStreaming, getOwnedLoading, assistantId, threadId, client]);
|
|
3680
3722
|
useLayoutEffect2(() => {
|
|
3681
3723
|
if (threadId && state.threadId !== threadId) {
|
|
3682
3724
|
chunkMessageMerger.current.reset();
|
|
@@ -3690,7 +3732,8 @@ function AgentThreadProvider({
|
|
|
3690
3732
|
agentState: null,
|
|
3691
3733
|
interrupts: void 0,
|
|
3692
3734
|
isLoading,
|
|
3693
|
-
error: null
|
|
3735
|
+
error: null,
|
|
3736
|
+
stopReason: null
|
|
3694
3737
|
}));
|
|
3695
3738
|
}
|
|
3696
3739
|
}, [getOwnedLoading, threadId, state.threadId]);
|
|
@@ -15180,7 +15223,7 @@ ${JSON.stringify(
|
|
|
15180
15223
|
// src/components/Chat/MessageViewPanel.tsx
|
|
15181
15224
|
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
15182
15225
|
var MessageGraph = React29.lazy(
|
|
15183
|
-
() => import("./MessageGraph-
|
|
15226
|
+
() => import("./MessageGraph-LOSAZQ2V.mjs").then((m) => ({ default: m.MessageGraph }))
|
|
15184
15227
|
);
|
|
15185
15228
|
var MessageViewPanel = ({
|
|
15186
15229
|
messages,
|
|
@@ -18591,6 +18634,7 @@ var Chating = ({
|
|
|
18591
18634
|
loadMessages,
|
|
18592
18635
|
isLoading,
|
|
18593
18636
|
error,
|
|
18637
|
+
stopReason,
|
|
18594
18638
|
interrupts,
|
|
18595
18639
|
tenantId,
|
|
18596
18640
|
clearError,
|
|
@@ -19202,6 +19246,16 @@ ${nextContent}`;
|
|
|
19202
19246
|
message: `${error.message}`
|
|
19203
19247
|
}
|
|
19204
19248
|
) }),
|
|
19249
|
+
!error && stopReason && /* @__PURE__ */ jsx76("div", { style: { padding: "0 16px 8px" }, children: /* @__PURE__ */ jsx76(
|
|
19250
|
+
Alert6,
|
|
19251
|
+
{
|
|
19252
|
+
type: "info",
|
|
19253
|
+
banner: true,
|
|
19254
|
+
closable: true,
|
|
19255
|
+
onClose: () => clearError(),
|
|
19256
|
+
message: stopReason === "superseded" ? "Response interrupted by a new message." : "Response stopped."
|
|
19257
|
+
}
|
|
19258
|
+
) }),
|
|
19205
19259
|
showHITL && /* @__PURE__ */ jsx76(HITLContainer, {}),
|
|
19206
19260
|
/* @__PURE__ */ jsx76(PendingMessagesContainer, {}),
|
|
19207
19261
|
showSender && /* @__PURE__ */ jsx76(
|
|
@@ -22628,10 +22682,10 @@ var SearchCollectionResult = ({
|
|
|
22628
22682
|
// src/components/GenUI/elements/builtIns.tsx
|
|
22629
22683
|
import { jsx as jsx92 } from "react/jsx-runtime";
|
|
22630
22684
|
var TasksSideApp = lazy(
|
|
22631
|
-
() => import("./TasksSideApp-
|
|
22685
|
+
() => import("./TasksSideApp-37YKH7HV.mjs").then((m) => ({ default: m.TasksSideApp }))
|
|
22632
22686
|
);
|
|
22633
22687
|
var TeamWorkspace = lazy(
|
|
22634
|
-
() => import("./TeamWorkspace-
|
|
22688
|
+
() => import("./TeamWorkspace-EAFZU3KS.mjs").then((m) => ({ default: m.TeamWorkspace }))
|
|
22635
22689
|
);
|
|
22636
22690
|
var elements = {
|
|
22637
22691
|
action_show_attachments_uploader: {
|
|
@@ -22949,7 +23003,7 @@ var LazyReactInfographic = lazy2(
|
|
|
22949
23003
|
() => import("./ReactInfographic-ONUZIC7W.mjs").then((m) => ({ default: m.ReactInfographic }))
|
|
22950
23004
|
);
|
|
22951
23005
|
var LazyReactChart = lazy2(
|
|
22952
|
-
() => import("./ReactChart-
|
|
23006
|
+
() => import("./ReactChart-NDLIHCJJ.mjs").then((m) => ({ default: m.ReactChart }))
|
|
22953
23007
|
);
|
|
22954
23008
|
function BlockLoading() {
|
|
22955
23009
|
return /* @__PURE__ */ jsx94(
|
|
@@ -23768,4 +23822,4 @@ export {
|
|
|
23768
23822
|
http://jedwatson.github.io/classnames
|
|
23769
23823
|
*)
|
|
23770
23824
|
*/
|
|
23771
|
-
//# sourceMappingURL=chunk-
|
|
23825
|
+
//# sourceMappingURL=chunk-EWLXRAWY.mjs.map
|