@axiom-lattice/react-sdk 4.6.2 → 4.6.4
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-4LEF6MS5.mjs → AgentDetailSideApp-I757NYJ2.mjs} +6 -6
- package/dist/{AgentGovernanceWorkbench-2DXFFSY4.mjs → AgentGovernanceWorkbench-FHUUFIBQ.mjs} +7 -7
- package/dist/{MessageGraph-AOTQBN3S.mjs → MessageGraph-XFWEFW6Q.mjs} +2 -2
- package/dist/{ReactChart-HPD5TQOE.mjs → ReactChart-L5JUVMDS.mjs} +2 -2
- package/dist/{TasksSideApp-TSMN3OAM.mjs → TasksSideApp-OXXDJAMA.mjs} +3 -3
- package/dist/{TeamWorkspace-JVO6SBQH.mjs → TeamWorkspace-B7LILTQB.mjs} +2 -2
- package/dist/{TopologyRuntimeView-GHOPKUAU.mjs → TopologyRuntimeView-4WVFTTDW.mjs} +3 -3
- package/dist/{WorkflowAutomationView-OLFR3AZH.mjs → WorkflowAutomationView-L43FU66L.mjs} +5 -5
- package/dist/{chunk-ERYKIL3X.mjs → chunk-3ANYAMF2.mjs} +4 -4
- package/dist/{chunk-Z6XUZLP7.mjs → chunk-5ZKSOZEV.mjs} +91 -79
- package/dist/chunk-5ZKSOZEV.mjs.map +1 -0
- package/dist/{chunk-4QPBMVJD.mjs → chunk-6MOZUF23.mjs} +2 -2
- package/dist/{chunk-PS5OPS6W.mjs → chunk-AHROJTC5.mjs} +5 -5
- package/dist/{chunk-ZGGVWYV4.mjs → chunk-DZ53JF6O.mjs} +2 -2
- package/dist/{chunk-JWVMQZ6G.mjs → chunk-G263V4ZX.mjs} +4 -4
- package/dist/{chunk-D3657YM2.mjs → chunk-JE2POWEU.mjs} +2 -2
- package/dist/{embed-page-AgentDetailSideApp-NTLAFO5C.js → embed-page-AgentDetailSideApp-R2RYOFBU.js} +1 -1
- package/dist/{embed-page-AgentGovernanceWorkbench-QPVBOMLH.js → embed-page-AgentGovernanceWorkbench-DYEK37IB.js} +1 -1
- package/dist/{embed-page-MessageGraph-JAJGMYKH.js → embed-page-MessageGraph-GQKF6ERQ.js} +1 -1
- package/dist/{embed-page-ReactChart-WUG6TEAZ.js → embed-page-ReactChart-2J36M2FN.js} +1 -1
- package/dist/{embed-page-TasksSideApp-TJI22YGD.js → embed-page-TasksSideApp-IEKDM5AK.js} +1 -1
- package/dist/{embed-page-TeamWorkspace-OJJLN5VI.js → embed-page-TeamWorkspace-7IBW4J2Z.js} +1 -1
- package/dist/{embed-page-TopologyRuntimeView-ZFU4N6TV.js → embed-page-TopologyRuntimeView-TVYZRWMY.js} +1 -1
- package/dist/{embed-page-WorkflowAutomationView-ALXV7VQQ.js → embed-page-WorkflowAutomationView-SS6TZVER.js} +1 -1
- package/dist/{embed-page-chunk-N22EGQAJ.js → embed-page-chunk-626XAYL6.js} +1 -1
- package/dist/{embed-page-chunk-QMVIL4BJ.js → embed-page-chunk-CFUFMRE6.js} +157 -163
- package/dist/{embed-page-chunk-O72XBKQH.js → embed-page-chunk-FRXM6EXJ.js} +1 -1
- package/dist/{embed-page-chunk-UT3WYBZH.js → embed-page-chunk-NCP3KPCF.js} +1 -1
- package/dist/{embed-page-chunk-IPIJ2SG6.js → embed-page-chunk-SG4KQEFI.js} +1 -1
- package/dist/{embed-page-chunk-DZQBVJ7Z.js → embed-page-chunk-TJGWHX6G.js} +1 -1
- package/dist/embed-page.js +1 -1
- package/dist/index.js +80 -68
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
- package/dist/chunk-Z6XUZLP7.mjs.map +0 -1
- /package/dist/{AgentDetailSideApp-4LEF6MS5.mjs.map → AgentDetailSideApp-I757NYJ2.mjs.map} +0 -0
- /package/dist/{AgentGovernanceWorkbench-2DXFFSY4.mjs.map → AgentGovernanceWorkbench-FHUUFIBQ.mjs.map} +0 -0
- /package/dist/{MessageGraph-AOTQBN3S.mjs.map → MessageGraph-XFWEFW6Q.mjs.map} +0 -0
- /package/dist/{ReactChart-HPD5TQOE.mjs.map → ReactChart-L5JUVMDS.mjs.map} +0 -0
- /package/dist/{TasksSideApp-TSMN3OAM.mjs.map → TasksSideApp-OXXDJAMA.mjs.map} +0 -0
- /package/dist/{TeamWorkspace-JVO6SBQH.mjs.map → TeamWorkspace-B7LILTQB.mjs.map} +0 -0
- /package/dist/{TopologyRuntimeView-GHOPKUAU.mjs.map → TopologyRuntimeView-4WVFTTDW.mjs.map} +0 -0
- /package/dist/{WorkflowAutomationView-OLFR3AZH.mjs.map → WorkflowAutomationView-L43FU66L.mjs.map} +0 -0
- /package/dist/{chunk-ERYKIL3X.mjs.map → chunk-3ANYAMF2.mjs.map} +0 -0
- /package/dist/{chunk-4QPBMVJD.mjs.map → chunk-6MOZUF23.mjs.map} +0 -0
- /package/dist/{chunk-PS5OPS6W.mjs.map → chunk-AHROJTC5.mjs.map} +0 -0
- /package/dist/{chunk-ZGGVWYV4.mjs.map → chunk-DZ53JF6O.mjs.map} +0 -0
- /package/dist/{chunk-JWVMQZ6G.mjs.map → chunk-G263V4ZX.mjs.map} +0 -0
- /package/dist/{chunk-D3657YM2.mjs.map → chunk-JE2POWEU.mjs.map} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentDetailView
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-AHROJTC5.mjs";
|
|
4
|
+
import "./chunk-6MOZUF23.mjs";
|
|
5
|
+
import "./chunk-JE2POWEU.mjs";
|
|
6
6
|
import "./chunk-7QQKL657.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-DZ53JF6O.mjs";
|
|
8
8
|
import "./chunk-7FWCKQNB.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ProjectScopeProvider_default,
|
|
11
11
|
useSideAppOpener
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5ZKSOZEV.mjs";
|
|
13
13
|
import "./chunk-HLVE2SB7.mjs";
|
|
14
14
|
import "./chunk-XC6TB6PI.mjs";
|
|
15
15
|
import "./chunk-XAGSG72Y.mjs";
|
|
@@ -155,4 +155,4 @@ var AgentDetailSideApp = ({ data }) => {
|
|
|
155
155
|
export {
|
|
156
156
|
AgentDetailSideApp
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=AgentDetailSideApp-
|
|
158
|
+
//# sourceMappingURL=AgentDetailSideApp-I757NYJ2.mjs.map
|
package/dist/{AgentGovernanceWorkbench-2DXFFSY4.mjs → AgentGovernanceWorkbench-FHUUFIBQ.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-3ANYAMF2.mjs";
|
|
4
|
+
import "./chunk-AHROJTC5.mjs";
|
|
5
|
+
import "./chunk-6MOZUF23.mjs";
|
|
6
|
+
import "./chunk-JE2POWEU.mjs";
|
|
7
7
|
import "./chunk-7QQKL657.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-DZ53JF6O.mjs";
|
|
9
9
|
import "./chunk-7FWCKQNB.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-5ZKSOZEV.mjs";
|
|
11
11
|
import "./chunk-HLVE2SB7.mjs";
|
|
12
12
|
import "./chunk-XC6TB6PI.mjs";
|
|
13
13
|
import "./chunk-XAGSG72Y.mjs";
|
|
@@ -16,4 +16,4 @@ import "./chunk-SH6YXSHR.mjs";
|
|
|
16
16
|
export {
|
|
17
17
|
AgentGovernanceWorkbench
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=AgentGovernanceWorkbench-
|
|
19
|
+
//# sourceMappingURL=AgentGovernanceWorkbench-FHUUFIBQ.mjs.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
collapseOlderPhases,
|
|
12
12
|
formatToolName,
|
|
13
13
|
toolResponseText
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5ZKSOZEV.mjs";
|
|
15
15
|
import "./chunk-HLVE2SB7.mjs";
|
|
16
16
|
import {
|
|
17
17
|
Handle,
|
|
@@ -380,4 +380,4 @@ var MessageGraph = ({
|
|
|
380
380
|
export {
|
|
381
381
|
MessageGraph
|
|
382
382
|
};
|
|
383
|
-
//# sourceMappingURL=MessageGraph-
|
|
383
|
+
//# sourceMappingURL=MessageGraph-XFWEFW6Q.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenericDataTable
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5ZKSOZEV.mjs";
|
|
4
4
|
import "./chunk-HLVE2SB7.mjs";
|
|
5
5
|
import "./chunk-3VRRRJHP.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-L5JUVMDS.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TaskOutlineList
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DZ53JF6O.mjs";
|
|
4
4
|
import {
|
|
5
5
|
WorkflowGraphBase,
|
|
6
6
|
applyDagreLayout
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
useOpenTaskChat,
|
|
20
20
|
useTaskCommands,
|
|
21
21
|
useWorkspaceContext
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5ZKSOZEV.mjs";
|
|
23
23
|
import "./chunk-HLVE2SB7.mjs";
|
|
24
24
|
import {
|
|
25
25
|
Handle,
|
|
@@ -1164,4 +1164,4 @@ var TasksSideApp = ({ statusFilter, getOwnerLabel, showProjectFilter = true, ini
|
|
|
1164
1164
|
export {
|
|
1165
1165
|
TasksSideApp
|
|
1166
1166
|
};
|
|
1167
|
-
//# sourceMappingURL=TasksSideApp-
|
|
1167
|
+
//# sourceMappingURL=TasksSideApp-OXXDJAMA.mjs.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
Chating,
|
|
4
4
|
MailboxPanel,
|
|
5
5
|
useAgentState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5ZKSOZEV.mjs";
|
|
7
7
|
import "./chunk-HLVE2SB7.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-B7LILTQB.mjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkflowCanvas,
|
|
3
3
|
expandWorkflow
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JE2POWEU.mjs";
|
|
5
5
|
import "./chunk-7FWCKQNB.mjs";
|
|
6
6
|
import {
|
|
7
7
|
MDResponse
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5ZKSOZEV.mjs";
|
|
9
9
|
import "./chunk-HLVE2SB7.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-4WVFTTDW.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-G263V4ZX.mjs";
|
|
5
|
+
import "./chunk-6MOZUF23.mjs";
|
|
6
|
+
import "./chunk-JE2POWEU.mjs";
|
|
7
7
|
import "./chunk-7FWCKQNB.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-5ZKSOZEV.mjs";
|
|
9
9
|
import "./chunk-HLVE2SB7.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-L43FU66L.mjs.map
|
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
shortHash,
|
|
12
12
|
startLearningRound,
|
|
13
13
|
statusHex
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AHROJTC5.mjs";
|
|
15
15
|
import {
|
|
16
16
|
TrainingContextCard
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6MOZUF23.mjs";
|
|
18
18
|
import {
|
|
19
19
|
EntityListView,
|
|
20
20
|
FilterSelect,
|
|
21
21
|
ProjectScopeProvider_default,
|
|
22
22
|
useSideAppOpener,
|
|
23
23
|
useWorkspaceContext
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5ZKSOZEV.mjs";
|
|
25
25
|
import {
|
|
26
26
|
Background,
|
|
27
27
|
Controls,
|
|
@@ -1837,4 +1837,4 @@ export {
|
|
|
1837
1837
|
CreateAssistantModal_default,
|
|
1838
1838
|
AgentGovernanceWorkbench
|
|
1839
1839
|
};
|
|
1840
|
-
//# sourceMappingURL=chunk-
|
|
1840
|
+
//# sourceMappingURL=chunk-3ANYAMF2.mjs.map
|
|
@@ -3201,6 +3201,17 @@ function AgentThreadProvider({
|
|
|
3201
3201
|
onStreamCompletedRef.current = onStreamCompleted;
|
|
3202
3202
|
const pendingIdsRef = useRef5(/* @__PURE__ */ new Set());
|
|
3203
3203
|
const inFlightRef = useRef5(0);
|
|
3204
|
+
const dismissedInterruptIdsRef = useRef5(/* @__PURE__ */ new Set());
|
|
3205
|
+
const interruptsRef = useRef5(state.interrupts);
|
|
3206
|
+
interruptsRef.current = state.interrupts;
|
|
3207
|
+
const isDismissedInterrupt = useCallback7(
|
|
3208
|
+
(id) => id !== void 0 && dismissedInterruptIdsRef.current.has(id),
|
|
3209
|
+
[]
|
|
3210
|
+
);
|
|
3211
|
+
const filterDismissedInterrupts = useCallback7(
|
|
3212
|
+
(list) => list?.filter((interrupt) => !dismissedInterruptIdsRef.current.has(interrupt.id)),
|
|
3213
|
+
[]
|
|
3214
|
+
);
|
|
3204
3215
|
const historyLoadingRef = useRef5(false);
|
|
3205
3216
|
const streamActiveRef = useRef5(false);
|
|
3206
3217
|
const historyGenerationRef = useRef5(0);
|
|
@@ -3216,6 +3227,7 @@ function AgentThreadProvider({
|
|
|
3216
3227
|
historyLoadingRef.current = false;
|
|
3217
3228
|
inFlightRef.current = 0;
|
|
3218
3229
|
streamActiveRef.current = false;
|
|
3230
|
+
dismissedInterruptIdsRef.current = /* @__PURE__ */ new Set();
|
|
3219
3231
|
}
|
|
3220
3232
|
const isLoadingRef = useRef5(state.isLoading);
|
|
3221
3233
|
isLoadingRef.current = state.isLoading;
|
|
@@ -3245,8 +3257,9 @@ function AgentThreadProvider({
|
|
|
3245
3257
|
};
|
|
3246
3258
|
});
|
|
3247
3259
|
});
|
|
3248
|
-
|
|
3249
|
-
|
|
3260
|
+
const remainingInterrupts = filterDismissedInterrupts(fetchedInterrupts);
|
|
3261
|
+
if (remainingInterrupts?.length) {
|
|
3262
|
+
needUpdateFields.interrupts = remainingInterrupts;
|
|
3250
3263
|
}
|
|
3251
3264
|
needUpdateFields.todos = agentState?.values?.todos;
|
|
3252
3265
|
needUpdateFields.tasks = agentState?.values?.tasks;
|
|
@@ -3258,7 +3271,7 @@ function AgentThreadProvider({
|
|
|
3258
3271
|
console.warn("Failed to fetch agent state:", error);
|
|
3259
3272
|
}
|
|
3260
3273
|
},
|
|
3261
|
-
[client, options.enableReturnStateWhenStreamCompleted]
|
|
3274
|
+
[client, options.enableReturnStateWhenStreamCompleted, filterDismissedInterrupts]
|
|
3262
3275
|
);
|
|
3263
3276
|
useEffect8(() => {
|
|
3264
3277
|
if (options.initialMessages && options.initialMessages.length > 0) {
|
|
@@ -3358,13 +3371,14 @@ function AgentThreadProvider({
|
|
|
3358
3371
|
isLoadingRef.current = isLoading;
|
|
3359
3372
|
setState((prev) => {
|
|
3360
3373
|
if (currentThreadIdRef.current !== threadId) return prev;
|
|
3374
|
+
const nextInterrupts = interrupt ? isDismissedInterrupt(interrupt.id) ? prev.interrupts : [interrupt] : void 0;
|
|
3361
3375
|
return {
|
|
3362
3376
|
...prev,
|
|
3363
3377
|
todos: todos || prev.todos,
|
|
3364
3378
|
messages: chunkMessageMerger.current.getMessages(),
|
|
3365
3379
|
isLoading,
|
|
3366
3380
|
stopReason: null,
|
|
3367
|
-
interrupts:
|
|
3381
|
+
interrupts: nextInterrupts
|
|
3368
3382
|
};
|
|
3369
3383
|
});
|
|
3370
3384
|
} else {
|
|
@@ -3384,7 +3398,7 @@ function AgentThreadProvider({
|
|
|
3384
3398
|
});
|
|
3385
3399
|
}
|
|
3386
3400
|
},
|
|
3387
|
-
[getOwnedLoading, startTransition, threadId]
|
|
3401
|
+
[getOwnedLoading, startTransition, threadId, isDismissedInterrupt]
|
|
3388
3402
|
);
|
|
3389
3403
|
const handleStreamEventRef = useRef5(handleStreamEvent);
|
|
3390
3404
|
handleStreamEventRef.current = handleStreamEvent;
|
|
@@ -3414,8 +3428,14 @@ function AgentThreadProvider({
|
|
|
3414
3428
|
};
|
|
3415
3429
|
messageActivityGenerationRef.current += 1;
|
|
3416
3430
|
const wasIdle = !getOwnedLoading();
|
|
3431
|
+
const isHitlResume = command?.resume !== void 0;
|
|
3432
|
+
if (isHitlResume) {
|
|
3433
|
+
for (const pending of interruptsRef.current ?? []) {
|
|
3434
|
+
dismissedInterruptIdsRef.current.add(pending.id);
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3417
3437
|
inFlightRef.current += 1;
|
|
3418
|
-
if (wasIdle) {
|
|
3438
|
+
if (wasIdle || isHitlResume) {
|
|
3419
3439
|
const isLoading = getOwnedLoading();
|
|
3420
3440
|
isLoadingRef.current = isLoading;
|
|
3421
3441
|
setState((prev) => ({
|
|
@@ -3608,8 +3628,8 @@ function AgentThreadProvider({
|
|
|
3608
3628
|
};
|
|
3609
3629
|
});
|
|
3610
3630
|
}
|
|
3611
|
-
);
|
|
3612
|
-
needUpdateFields.interrupts = interrupts;
|
|
3631
|
+
) ?? [];
|
|
3632
|
+
needUpdateFields.interrupts = filterDismissedInterrupts(interrupts);
|
|
3613
3633
|
const fetchedMessages = await client.getMessages({ threadId: capturedThreadId });
|
|
3614
3634
|
if (capturedEpoch !== threadEpochRef.current || currentThreadIdRef.current !== capturedThreadId || capturedGeneration !== historyGenerationRef.current) return;
|
|
3615
3635
|
historyLoadingRef.current = false;
|
|
@@ -3627,7 +3647,7 @@ function AgentThreadProvider({
|
|
|
3627
3647
|
return {
|
|
3628
3648
|
...prev,
|
|
3629
3649
|
...needUpdateFields,
|
|
3630
|
-
interrupts: prev.interrupts ?? needUpdateFields.interrupts,
|
|
3650
|
+
interrupts: filterDismissedInterrupts(prev.interrupts ?? needUpdateFields.interrupts),
|
|
3631
3651
|
messages: chunkMessageMerger.current.getMessages(),
|
|
3632
3652
|
isLoading
|
|
3633
3653
|
};
|
|
@@ -3651,7 +3671,8 @@ function AgentThreadProvider({
|
|
|
3651
3671
|
handleStreamEvent,
|
|
3652
3672
|
fetchAndUpdateAgentState,
|
|
3653
3673
|
getOwnedLoading,
|
|
3654
|
-
resumeStream
|
|
3674
|
+
resumeStream,
|
|
3675
|
+
filterDismissedInterrupts
|
|
3655
3676
|
]);
|
|
3656
3677
|
const clearMessages = useCallback7(() => {
|
|
3657
3678
|
messageActivityGenerationRef.current += 1;
|
|
@@ -12374,10 +12395,6 @@ var useStyle3 = createStyles15(({ token, css }) => {
|
|
|
12374
12395
|
display: flex;
|
|
12375
12396
|
flex-direction: column;
|
|
12376
12397
|
align-items: center;
|
|
12377
|
-
// The wrapper spans the full width only to center the pill. Keep it
|
|
12378
|
-
// transparent to pointer events so the empty top band never intercepts
|
|
12379
|
-
// clicks on the content beneath; the visible pill/header opt back in.
|
|
12380
|
-
pointer-events: none;
|
|
12381
12398
|
`,
|
|
12382
12399
|
compactPill: css`
|
|
12383
12400
|
display: flex;
|
|
@@ -12396,7 +12413,6 @@ var useStyle3 = createStyles15(({ token, css }) => {
|
|
|
12396
12413
|
cursor: default;
|
|
12397
12414
|
transition: all 0.2s ease;
|
|
12398
12415
|
margin-top: 0;
|
|
12399
|
-
pointer-events: auto;
|
|
12400
12416
|
|
|
12401
12417
|
&:hover {
|
|
12402
12418
|
color: ${token.colorText};
|
|
@@ -12422,7 +12438,6 @@ var useStyle3 = createStyles15(({ token, css }) => {
|
|
|
12422
12438
|
padding: 4px 8px;
|
|
12423
12439
|
gap: 4px;
|
|
12424
12440
|
width: 100%;
|
|
12425
|
-
pointer-events: auto;
|
|
12426
12441
|
animation: floatIn 0.2s ease;
|
|
12427
12442
|
transition: background 0.2s ease;
|
|
12428
12443
|
|
|
@@ -12635,64 +12650,61 @@ var SideAppViewBrowser = ({ region = "side", compact = true, showCloseButton = t
|
|
|
12635
12650
|
[openApp]
|
|
12636
12651
|
);
|
|
12637
12652
|
return /* @__PURE__ */ jsxs25("div", { className: styles.container, children: [
|
|
12638
|
-
compact && items.length > 0 && /* @__PURE__ */ jsx41(
|
|
12639
|
-
"div",
|
|
12640
|
-
{
|
|
12641
|
-
className: `${styles.floatingHeader} ${autoPeek ? styles.floatingHeaderPeek : ""} ${isLeaving ? styles.floatingHeaderLeaving : ""}`,
|
|
12642
|
-
style: { width: "fit-content", maxWidth: "100%" },
|
|
12643
|
-
onMouseEnter: handleMouseEnter,
|
|
12644
|
-
onMouseLeave: handleMouseLeave,
|
|
12645
|
-
onAnimationEnd: handleFloatingAnimationEnd,
|
|
12646
|
-
children: [
|
|
12647
|
-
/* @__PURE__ */ jsx41("div", { className: styles.floatingTabsStrip, children: items.map((item) => /* @__PURE__ */ jsx41(Tooltip3, { title: item.label, placement: "bottom", children: /* @__PURE__ */ jsxs25(
|
|
12648
|
-
"div",
|
|
12649
|
-
{
|
|
12650
|
-
"data-tab-key": item.key,
|
|
12651
|
-
className: `${styles.tab} ${item.key === activeKey ? "active" : ""}`,
|
|
12652
|
-
onClick: () => switchTab(item.key),
|
|
12653
|
-
onMouseEnter: () => setHoveredTab(item.key),
|
|
12654
|
-
onMouseLeave: () => setHoveredTab(null),
|
|
12655
|
-
children: [
|
|
12656
|
-
getTabIcon(item.componentKey),
|
|
12657
|
-
/* @__PURE__ */ jsx41("span", { className: styles.tabLabel, children: item.label }),
|
|
12658
|
-
/* @__PURE__ */ jsx41(
|
|
12659
|
-
"span",
|
|
12660
|
-
{
|
|
12661
|
-
className: `${styles.closeIndicator} ${hoveredTab === item.key || item.key === activeKey ? "always-visible" : ""}`,
|
|
12662
|
-
onClick: (e) => {
|
|
12663
|
-
e.stopPropagation();
|
|
12664
|
-
remove(item.key);
|
|
12665
|
-
},
|
|
12666
|
-
children: /* @__PURE__ */ jsx41(CloseOutlined, { style: { fontSize: 10 } })
|
|
12667
|
-
}
|
|
12668
|
-
)
|
|
12669
|
-
]
|
|
12670
|
-
}
|
|
12671
|
-
) }, item.key)) }),
|
|
12672
|
-
items.length > 1 && /* @__PURE__ */ jsx41(
|
|
12673
|
-
Dropdown2,
|
|
12674
|
-
{
|
|
12675
|
-
menu: { items: dropdownItems },
|
|
12676
|
-
placement: "bottomRight",
|
|
12677
|
-
trigger: ["click"],
|
|
12678
|
-
children: /* @__PURE__ */ jsx41("button", { className: styles.actionBtn, title: "All tabs", children: /* @__PURE__ */ jsx41(MoreOutlined, {}) })
|
|
12679
|
-
}
|
|
12680
|
-
),
|
|
12681
|
-
showCloseButton && /* @__PURE__ */ jsx41(Tooltip3, { title: "Close", children: /* @__PURE__ */ jsx41("button", { className: styles.actionBtn, onClick: closeApp, children: /* @__PURE__ */ jsx41(CloseOutlined, {}) }) })
|
|
12682
|
-
]
|
|
12683
|
-
}
|
|
12684
|
-
) : activeItem && /* @__PURE__ */ jsxs25(
|
|
12653
|
+
compact && items.length > 0 && /* @__PURE__ */ jsx41(
|
|
12685
12654
|
"div",
|
|
12686
12655
|
{
|
|
12687
|
-
className: styles.
|
|
12656
|
+
className: styles.compactWrapper,
|
|
12688
12657
|
onMouseEnter: handleMouseEnter,
|
|
12689
12658
|
onMouseLeave: handleMouseLeave,
|
|
12690
|
-
children:
|
|
12659
|
+
children: expanded ? /* @__PURE__ */ jsxs25(
|
|
12660
|
+
"div",
|
|
12661
|
+
{
|
|
12662
|
+
className: `${styles.floatingHeader} ${autoPeek ? styles.floatingHeaderPeek : ""} ${isLeaving ? styles.floatingHeaderLeaving : ""}`,
|
|
12663
|
+
onAnimationEnd: handleFloatingAnimationEnd,
|
|
12664
|
+
children: [
|
|
12665
|
+
/* @__PURE__ */ jsx41("div", { className: styles.floatingTabsStrip, children: items.map((item) => /* @__PURE__ */ jsx41(Tooltip3, { title: item.label, placement: "bottom", children: /* @__PURE__ */ jsxs25(
|
|
12666
|
+
"div",
|
|
12667
|
+
{
|
|
12668
|
+
"data-tab-key": item.key,
|
|
12669
|
+
className: `${styles.tab} ${item.key === activeKey ? "active" : ""}`,
|
|
12670
|
+
onClick: () => switchTab(item.key),
|
|
12671
|
+
onMouseEnter: () => setHoveredTab(item.key),
|
|
12672
|
+
onMouseLeave: () => setHoveredTab(null),
|
|
12673
|
+
children: [
|
|
12674
|
+
getTabIcon(item.componentKey),
|
|
12675
|
+
/* @__PURE__ */ jsx41("span", { className: styles.tabLabel, children: item.label }),
|
|
12676
|
+
/* @__PURE__ */ jsx41(
|
|
12677
|
+
"span",
|
|
12678
|
+
{
|
|
12679
|
+
className: `${styles.closeIndicator} ${hoveredTab === item.key || item.key === activeKey ? "always-visible" : ""}`,
|
|
12680
|
+
onClick: (e) => {
|
|
12681
|
+
e.stopPropagation();
|
|
12682
|
+
remove(item.key);
|
|
12683
|
+
},
|
|
12684
|
+
children: /* @__PURE__ */ jsx41(CloseOutlined, { style: { fontSize: 10 } })
|
|
12685
|
+
}
|
|
12686
|
+
)
|
|
12687
|
+
]
|
|
12688
|
+
}
|
|
12689
|
+
) }, item.key)) }),
|
|
12690
|
+
items.length > 1 && /* @__PURE__ */ jsx41(
|
|
12691
|
+
Dropdown2,
|
|
12692
|
+
{
|
|
12693
|
+
menu: { items: dropdownItems },
|
|
12694
|
+
placement: "bottomRight",
|
|
12695
|
+
trigger: ["click"],
|
|
12696
|
+
children: /* @__PURE__ */ jsx41("button", { className: styles.actionBtn, title: "All tabs", children: /* @__PURE__ */ jsx41(MoreOutlined, {}) })
|
|
12697
|
+
}
|
|
12698
|
+
),
|
|
12699
|
+
showCloseButton && /* @__PURE__ */ jsx41(Tooltip3, { title: "Close", children: /* @__PURE__ */ jsx41("button", { className: styles.actionBtn, onClick: closeApp, children: /* @__PURE__ */ jsx41(CloseOutlined, {}) }) })
|
|
12700
|
+
]
|
|
12701
|
+
}
|
|
12702
|
+
) : activeItem && /* @__PURE__ */ jsxs25("div", { className: styles.compactPill, children: [
|
|
12691
12703
|
getTabIcon(activeItem.componentKey),
|
|
12692
12704
|
/* @__PURE__ */ jsx41("span", { className: styles.compactPillLabel, children: activeItem.label })
|
|
12693
|
-
]
|
|
12705
|
+
] })
|
|
12694
12706
|
}
|
|
12695
|
-
)
|
|
12707
|
+
),
|
|
12696
12708
|
!compact && /* @__PURE__ */ jsxs25("div", { className: styles.header, children: [
|
|
12697
12709
|
/* @__PURE__ */ jsx41("div", { className: styles.tabsStrip, children: items.map((item) => /* @__PURE__ */ jsx41(Tooltip3, { title: item.label, placement: "bottom", children: /* @__PURE__ */ jsxs25(
|
|
12698
12710
|
"div",
|
|
@@ -28716,7 +28728,7 @@ import { Spin as Spin21 } from "antd";
|
|
|
28716
28728
|
import { ListChecks as ListChecks2 } from "lucide-react";
|
|
28717
28729
|
import { jsx as jsx106 } from "react/jsx-runtime";
|
|
28718
28730
|
var TasksSideApp = lazy2(
|
|
28719
|
-
() => import("./TasksSideApp-
|
|
28731
|
+
() => import("./TasksSideApp-OXXDJAMA.mjs").then((m) => ({ default: m.TasksSideApp }))
|
|
28720
28732
|
);
|
|
28721
28733
|
var TasksButton = () => {
|
|
28722
28734
|
const { openSideApp, sideAppVisible, sideAppSelectedCard } = useChatUIContext();
|
|
@@ -28989,7 +29001,7 @@ ${JSON.stringify(
|
|
|
28989
29001
|
// src/components/Chat/MessageViewPanel.tsx
|
|
28990
29002
|
import { jsx as jsx108 } from "react/jsx-runtime";
|
|
28991
29003
|
var MessageGraph = React77.lazy(
|
|
28992
|
-
() => import("./MessageGraph-
|
|
29004
|
+
() => import("./MessageGraph-XFWEFW6Q.mjs").then((m) => ({ default: m.MessageGraph }))
|
|
28993
29005
|
);
|
|
28994
29006
|
var MessageViewPanel = ({
|
|
28995
29007
|
messages,
|
|
@@ -37547,19 +37559,19 @@ var DEFAULT_WORKSPACE_MENU_ITEMS = [
|
|
|
37547
37559
|
];
|
|
37548
37560
|
var PanelSuspenseFallback = () => /* @__PURE__ */ jsx151("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", height: "100%", minHeight: 120 }, children: /* @__PURE__ */ jsx151(Spin32, {}) });
|
|
37549
37561
|
var AgentGovernanceWorkbench = lazy3(
|
|
37550
|
-
() => import("./AgentGovernanceWorkbench-
|
|
37562
|
+
() => import("./AgentGovernanceWorkbench-FHUUFIBQ.mjs").then((m) => ({ default: m.AgentGovernanceWorkbench }))
|
|
37551
37563
|
);
|
|
37552
37564
|
var TopologyRuntimeView = lazy3(
|
|
37553
|
-
() => import("./TopologyRuntimeView-
|
|
37565
|
+
() => import("./TopologyRuntimeView-4WVFTTDW.mjs").then((m) => ({ default: m.TopologyRuntimeView }))
|
|
37554
37566
|
);
|
|
37555
37567
|
var WorkflowAutomationView = lazy3(
|
|
37556
|
-
() => import("./WorkflowAutomationView-
|
|
37568
|
+
() => import("./WorkflowAutomationView-L43FU66L.mjs").then((m) => ({ default: m.WorkflowAutomationView }))
|
|
37557
37569
|
);
|
|
37558
37570
|
var TasksSideApp2 = lazy3(
|
|
37559
|
-
() => import("./TasksSideApp-
|
|
37571
|
+
() => import("./TasksSideApp-OXXDJAMA.mjs").then((m) => ({ default: m.TasksSideApp }))
|
|
37560
37572
|
);
|
|
37561
37573
|
var AgentDetailSideApp = lazy3(
|
|
37562
|
-
() => import("./AgentDetailSideApp-
|
|
37574
|
+
() => import("./AgentDetailSideApp-I757NYJ2.mjs").then((m) => ({ default: m.AgentDetailSideApp }))
|
|
37563
37575
|
);
|
|
37564
37576
|
var createWrapper = (Component2) => {
|
|
37565
37577
|
return () => /* @__PURE__ */ jsx151(Suspense4, { fallback: /* @__PURE__ */ jsx151(PanelSuspenseFallback, {}), children: /* @__PURE__ */ jsx151(Component2, { ...{} }) });
|
|
@@ -37901,7 +37913,7 @@ var WorkspaceResourceManager = ({
|
|
|
37901
37913
|
)
|
|
37902
37914
|
}
|
|
37903
37915
|
),
|
|
37904
|
-
main: /* @__PURE__ */ jsx151(SideAppViewBrowser, { region: "content",
|
|
37916
|
+
main: /* @__PURE__ */ jsx151(SideAppViewBrowser, { region: "content", showCloseButton: false }),
|
|
37905
37917
|
mainStyle: { padding: 0 }
|
|
37906
37918
|
}
|
|
37907
37919
|
),
|
|
@@ -46535,10 +46547,10 @@ var McpAppCard = ({ data, component_key }) => {
|
|
|
46535
46547
|
// src/components/GenUI/elements/builtIns.tsx
|
|
46536
46548
|
import { jsx as jsx188 } from "react/jsx-runtime";
|
|
46537
46549
|
var TasksSideApp3 = lazy4(
|
|
46538
|
-
() => import("./TasksSideApp-
|
|
46550
|
+
() => import("./TasksSideApp-OXXDJAMA.mjs").then((m) => ({ default: m.TasksSideApp }))
|
|
46539
46551
|
);
|
|
46540
46552
|
var TeamWorkspace = lazy4(
|
|
46541
|
-
() => import("./TeamWorkspace-
|
|
46553
|
+
() => import("./TeamWorkspace-B7LILTQB.mjs").then((m) => ({ default: m.TeamWorkspace }))
|
|
46542
46554
|
);
|
|
46543
46555
|
var elements = {
|
|
46544
46556
|
action_show_attachments_uploader: {
|
|
@@ -46860,7 +46872,7 @@ var LazyReactInfographic = lazy5(
|
|
|
46860
46872
|
() => import("./ReactInfographic-ONUZIC7W.mjs").then((m) => ({ default: m.ReactInfographic }))
|
|
46861
46873
|
);
|
|
46862
46874
|
var LazyReactChart = lazy5(
|
|
46863
|
-
() => import("./ReactChart-
|
|
46875
|
+
() => import("./ReactChart-L5JUVMDS.mjs").then((m) => ({ default: m.ReactChart }))
|
|
46864
46876
|
);
|
|
46865
46877
|
function BlockLoading() {
|
|
46866
46878
|
return /* @__PURE__ */ jsx190(
|
|
@@ -47771,4 +47783,4 @@ export {
|
|
|
47771
47783
|
http://jedwatson.github.io/classnames
|
|
47772
47784
|
*)
|
|
47773
47785
|
*/
|
|
47774
|
-
//# sourceMappingURL=chunk-
|
|
47786
|
+
//# sourceMappingURL=chunk-5ZKSOZEV.mjs.map
|