@axiom-lattice/react-sdk 4.10.0 → 4.11.1
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-EQDCKCXY.mjs → AgentDetailSideApp-OW5LUKMG.mjs} +8 -8
- package/dist/AgentGovernanceWorkbench-NNCUUU3E.mjs +20 -0
- package/dist/{MessageGraph-WWTTGLD7.mjs → MessageGraph-SGLKFEJK.mjs} +4 -4
- package/dist/{ReactChart-AOJAFAZM.mjs → ReactChart-FHVYPC7S.mjs} +4 -4
- package/dist/{SkillFlow-3ZGSHMHW.mjs → SkillFlow-MLSQCF4X.mjs} +4 -4
- package/dist/{TasksSideApp-42BLTNY4.mjs → TasksSideApp-F2ZZTWGN.mjs} +5 -5
- package/dist/{TeamWorkspace-U2IO3W4F.mjs → TeamWorkspace-AQOUI5EN.mjs} +4 -4
- package/dist/{TopologyRuntimeView-KJQVVUGE.mjs → TopologyRuntimeView-6GZUQLB6.mjs} +5 -5
- package/dist/{WorkflowAutomationView-3L3IMYYG.mjs → WorkflowAutomationView-UUAUG3LZ.mjs} +7 -7
- package/dist/{chunk-ZHOCTUDR.mjs → chunk-HLOK3K5J.mjs} +28 -12
- package/dist/chunk-HLOK3K5J.mjs.map +1 -0
- package/dist/{chunk-QTXQT77Q.mjs → chunk-J23W2JYG.mjs} +4 -4
- package/dist/{chunk-TBQVOSCN.mjs → chunk-JBDRDPL5.mjs} +24 -18
- package/dist/chunk-JBDRDPL5.mjs.map +1 -0
- package/dist/{chunk-HJDE5RQJ.mjs → chunk-MASPEZN4.mjs} +3 -3
- package/dist/{chunk-XVZUC4U3.mjs → chunk-PEEXMLMK.mjs} +21 -5
- package/dist/chunk-PEEXMLMK.mjs.map +1 -0
- package/dist/{chunk-JNP2AHRT.mjs → chunk-RDC4ZHXF.mjs} +109 -49
- package/dist/chunk-RDC4ZHXF.mjs.map +1 -0
- package/dist/{chunk-ECHGNV43.mjs → chunk-TIYJFBLK.mjs} +6 -6
- package/dist/{chunk-4CGRA733.mjs → chunk-TMGDS7XU.mjs} +3 -3
- package/dist/{chunk-CRGVJY56.mjs → chunk-TXBE42BY.mjs} +6 -6
- package/dist/{chunk-HG7UMQO2.mjs → chunk-ZQ7G446O.mjs} +3 -3
- package/dist/{embed-page-AgentDetailSideApp-GH3XNS5A.js → embed-page-AgentDetailSideApp-2M4MLVQQ.js} +1 -1
- package/dist/{embed-page-AgentGovernanceWorkbench-AXHLZTUG.js → embed-page-AgentGovernanceWorkbench-KEVBIQP6.js} +1 -1
- package/dist/{embed-page-MessageGraph-HLLPBTLQ.js → embed-page-MessageGraph-PRBUQINR.js} +1 -1
- package/dist/{embed-page-ReactChart-46EYPRQ7.js → embed-page-ReactChart-V6JJXCEV.js} +1 -1
- package/dist/{embed-page-SkillFlow-NMUDTNTY.js → embed-page-SkillFlow-6LPE2VG3.js} +1 -1
- package/dist/{embed-page-TasksSideApp-DOCKHJCF.js → embed-page-TasksSideApp-OFZI54MF.js} +1 -1
- package/dist/{embed-page-TeamWorkspace-LXOIMYRW.js → embed-page-TeamWorkspace-QSSAF3AA.js} +1 -1
- package/dist/{embed-page-TopologyRuntimeView-DT7XXEK2.js → embed-page-TopologyRuntimeView-PHULW2NG.js} +1 -1
- package/dist/{embed-page-WorkflowAutomationView-ONAY4RTM.js → embed-page-WorkflowAutomationView-LQS6H7X6.js} +1 -1
- package/dist/{embed-page-chunk-OY4CDWED.js → embed-page-chunk-7PNQFZMK.js} +7 -7
- package/dist/{embed-page-chunk-F7G2DME5.js → embed-page-chunk-D5EY6ASK.js} +1 -1
- package/dist/{embed-page-chunk-JQSBSZMP.js → embed-page-chunk-IJ2YWGKU.js} +1 -1
- package/dist/{embed-page-chunk-H4W4NDIY.js → embed-page-chunk-O44JEYLD.js} +7 -7
- package/dist/embed-page-chunk-PFCR6CFL.js +2 -0
- package/dist/{embed-page-chunk-RA35MUYW.js → embed-page-chunk-SSWDAKQU.js} +1 -1
- package/dist/{embed-page-chunk-LGZUYB7B.js → embed-page-chunk-YNHKD2CY.js} +1 -1
- package/dist/embed-page.js +1 -1
- package/dist/index.d.mts +41 -3
- package/dist/index.d.ts +41 -3
- package/dist/index.js +973 -866
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/web-app.js +1 -6
- package/dist/web-app.js.map +1 -1
- package/dist/web-app.mjs +1 -1
- package/package.json +1 -1
- package/dist/AgentGovernanceWorkbench-2HCQ4POL.mjs +0 -20
- package/dist/chunk-JNP2AHRT.mjs.map +0 -1
- package/dist/chunk-TBQVOSCN.mjs.map +0 -1
- package/dist/chunk-XVZUC4U3.mjs.map +0 -1
- package/dist/chunk-ZHOCTUDR.mjs.map +0 -1
- package/dist/embed-page-chunk-NR2PTMJ6.js +0 -2
- /package/dist/{AgentDetailSideApp-EQDCKCXY.mjs.map → AgentDetailSideApp-OW5LUKMG.mjs.map} +0 -0
- /package/dist/{AgentGovernanceWorkbench-2HCQ4POL.mjs.map → AgentGovernanceWorkbench-NNCUUU3E.mjs.map} +0 -0
- /package/dist/{MessageGraph-WWTTGLD7.mjs.map → MessageGraph-SGLKFEJK.mjs.map} +0 -0
- /package/dist/{ReactChart-AOJAFAZM.mjs.map → ReactChart-FHVYPC7S.mjs.map} +0 -0
- /package/dist/{SkillFlow-3ZGSHMHW.mjs.map → SkillFlow-MLSQCF4X.mjs.map} +0 -0
- /package/dist/{TasksSideApp-42BLTNY4.mjs.map → TasksSideApp-F2ZZTWGN.mjs.map} +0 -0
- /package/dist/{TeamWorkspace-U2IO3W4F.mjs.map → TeamWorkspace-AQOUI5EN.mjs.map} +0 -0
- /package/dist/{TopologyRuntimeView-KJQVVUGE.mjs.map → TopologyRuntimeView-6GZUQLB6.mjs.map} +0 -0
- /package/dist/{WorkflowAutomationView-3L3IMYYG.mjs.map → WorkflowAutomationView-UUAUG3LZ.mjs.map} +0 -0
- /package/dist/{chunk-QTXQT77Q.mjs.map → chunk-J23W2JYG.mjs.map} +0 -0
- /package/dist/{chunk-HJDE5RQJ.mjs.map → chunk-MASPEZN4.mjs.map} +0 -0
- /package/dist/{chunk-ECHGNV43.mjs.map → chunk-TIYJFBLK.mjs.map} +0 -0
- /package/dist/{chunk-4CGRA733.mjs.map → chunk-TMGDS7XU.mjs.map} +0 -0
- /package/dist/{chunk-CRGVJY56.mjs.map → chunk-TXBE42BY.mjs.map} +0 -0
- /package/dist/{chunk-HG7UMQO2.mjs.map → chunk-ZQ7G446O.mjs.map} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentDetailView
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-HLOK3K5J.mjs";
|
|
4
|
+
import "./chunk-J23W2JYG.mjs";
|
|
5
|
+
import "./chunk-MASPEZN4.mjs";
|
|
6
|
+
import "./chunk-TMGDS7XU.mjs";
|
|
7
7
|
import "./chunk-7FWCKQNB.mjs";
|
|
8
8
|
import {
|
|
9
9
|
ProjectScopeProvider_default,
|
|
10
10
|
useSideAppOpener
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JBDRDPL5.mjs";
|
|
12
12
|
import "./chunk-XC6TB6PI.mjs";
|
|
13
13
|
import "./chunk-XAGSG72Y.mjs";
|
|
14
14
|
import {
|
|
15
15
|
useApi
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RDC4ZHXF.mjs";
|
|
17
17
|
import "./chunk-Y2HJPMUR.mjs";
|
|
18
18
|
import "./chunk-HLVE2SB7.mjs";
|
|
19
19
|
import {
|
|
20
20
|
useT
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PEEXMLMK.mjs";
|
|
22
22
|
import "./chunk-32GKV6EM.mjs";
|
|
23
23
|
|
|
24
24
|
// src/components/Governance/AgentDetailSideApp.tsx
|
|
@@ -158,4 +158,4 @@ var AgentDetailSideApp = ({ data }) => {
|
|
|
158
158
|
export {
|
|
159
159
|
AgentDetailSideApp
|
|
160
160
|
};
|
|
161
|
-
//# sourceMappingURL=AgentDetailSideApp-
|
|
161
|
+
//# sourceMappingURL=AgentDetailSideApp-OW5LUKMG.mjs.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AgentGovernanceWorkbench
|
|
3
|
+
} from "./chunk-TXBE42BY.mjs";
|
|
4
|
+
import "./chunk-HLOK3K5J.mjs";
|
|
5
|
+
import "./chunk-J23W2JYG.mjs";
|
|
6
|
+
import "./chunk-MASPEZN4.mjs";
|
|
7
|
+
import "./chunk-TMGDS7XU.mjs";
|
|
8
|
+
import "./chunk-7FWCKQNB.mjs";
|
|
9
|
+
import "./chunk-JBDRDPL5.mjs";
|
|
10
|
+
import "./chunk-XC6TB6PI.mjs";
|
|
11
|
+
import "./chunk-XAGSG72Y.mjs";
|
|
12
|
+
import "./chunk-RDC4ZHXF.mjs";
|
|
13
|
+
import "./chunk-Y2HJPMUR.mjs";
|
|
14
|
+
import "./chunk-HLVE2SB7.mjs";
|
|
15
|
+
import "./chunk-PEEXMLMK.mjs";
|
|
16
|
+
import "./chunk-32GKV6EM.mjs";
|
|
17
|
+
export {
|
|
18
|
+
AgentGovernanceWorkbench
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=AgentGovernanceWorkbench-NNCUUU3E.mjs.map
|
|
@@ -11,18 +11,18 @@ import {
|
|
|
11
11
|
collapseOlderPhases,
|
|
12
12
|
formatToolName,
|
|
13
13
|
toolResponseText
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JBDRDPL5.mjs";
|
|
15
15
|
import {
|
|
16
16
|
Handle,
|
|
17
17
|
Position,
|
|
18
18
|
useReactFlow
|
|
19
19
|
} from "./chunk-XC6TB6PI.mjs";
|
|
20
20
|
import "./chunk-XAGSG72Y.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-RDC4ZHXF.mjs";
|
|
22
22
|
import "./chunk-HLVE2SB7.mjs";
|
|
23
23
|
import {
|
|
24
24
|
useT
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PEEXMLMK.mjs";
|
|
26
26
|
import "./chunk-32GKV6EM.mjs";
|
|
27
27
|
|
|
28
28
|
// src/components/Chat/MessageGraph.tsx
|
|
@@ -382,4 +382,4 @@ var MessageGraph = ({
|
|
|
382
382
|
export {
|
|
383
383
|
MessageGraph
|
|
384
384
|
};
|
|
385
|
-
//# sourceMappingURL=MessageGraph-
|
|
385
|
+
//# sourceMappingURL=MessageGraph-SGLKFEJK.mjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenericDataTable
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-JBDRDPL5.mjs";
|
|
4
|
+
import "./chunk-RDC4ZHXF.mjs";
|
|
5
5
|
import "./chunk-HLVE2SB7.mjs";
|
|
6
6
|
import {
|
|
7
7
|
useT
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PEEXMLMK.mjs";
|
|
9
9
|
import "./chunk-32GKV6EM.mjs";
|
|
10
10
|
|
|
11
11
|
// src/components/GenUI/ReactChart.tsx
|
|
@@ -456,4 +456,4 @@ var ReactChart = (props) => {
|
|
|
456
456
|
export {
|
|
457
457
|
ReactChart
|
|
458
458
|
};
|
|
459
|
-
//# sourceMappingURL=ReactChart-
|
|
459
|
+
//# sourceMappingURL=ReactChart-FHVYPC7S.mjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SkillFlow_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZQ7G446O.mjs";
|
|
4
4
|
import "./chunk-XC6TB6PI.mjs";
|
|
5
5
|
import "./chunk-XAGSG72Y.mjs";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-RDC4ZHXF.mjs";
|
|
7
|
+
import "./chunk-PEEXMLMK.mjs";
|
|
8
8
|
import "./chunk-32GKV6EM.mjs";
|
|
9
9
|
export {
|
|
10
10
|
SkillFlow_default as default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=SkillFlow-
|
|
12
|
+
//# sourceMappingURL=SkillFlow-MLSQCF4X.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TaskOutlineList
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MASPEZN4.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-JBDRDPL5.mjs";
|
|
23
23
|
import {
|
|
24
24
|
Handle,
|
|
25
25
|
Position,
|
|
@@ -30,11 +30,11 @@ import "./chunk-XAGSG72Y.mjs";
|
|
|
30
30
|
import {
|
|
31
31
|
useAuth,
|
|
32
32
|
useClient
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RDC4ZHXF.mjs";
|
|
34
34
|
import "./chunk-HLVE2SB7.mjs";
|
|
35
35
|
import {
|
|
36
36
|
useT
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PEEXMLMK.mjs";
|
|
38
38
|
import "./chunk-32GKV6EM.mjs";
|
|
39
39
|
|
|
40
40
|
// src/components/Tasks/TasksSideApp.tsx
|
|
@@ -1175,4 +1175,4 @@ var TasksSideApp = ({ statusFilter, getOwnerLabel, showProjectFilter = true, ini
|
|
|
1175
1175
|
export {
|
|
1176
1176
|
TasksSideApp
|
|
1177
1177
|
};
|
|
1178
|
-
//# sourceMappingURL=TasksSideApp-
|
|
1178
|
+
//# sourceMappingURL=TasksSideApp-F2ZZTWGN.mjs.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
Chating,
|
|
4
4
|
MailboxPanel,
|
|
5
5
|
useAgentState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JBDRDPL5.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Background,
|
|
9
9
|
Controls,
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
useReactFlow
|
|
15
15
|
} from "./chunk-XC6TB6PI.mjs";
|
|
16
16
|
import "./chunk-XAGSG72Y.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-RDC4ZHXF.mjs";
|
|
18
18
|
import "./chunk-HLVE2SB7.mjs";
|
|
19
19
|
import {
|
|
20
20
|
useT
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PEEXMLMK.mjs";
|
|
22
22
|
import "./chunk-32GKV6EM.mjs";
|
|
23
23
|
|
|
24
24
|
// src/components/GenUI/elements/TeamWorkspace/index.tsx
|
|
@@ -2423,4 +2423,4 @@ export {
|
|
|
2423
2423
|
TeamWorkspace,
|
|
2424
2424
|
TeamWorkspace_default as default
|
|
2425
2425
|
};
|
|
2426
|
-
//# sourceMappingURL=TeamWorkspace-
|
|
2426
|
+
//# sourceMappingURL=TeamWorkspace-AQOUI5EN.mjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkflowCanvas,
|
|
3
3
|
expandWorkflow
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TMGDS7XU.mjs";
|
|
5
5
|
import "./chunk-7FWCKQNB.mjs";
|
|
6
6
|
import {
|
|
7
7
|
MDResponse
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JBDRDPL5.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Background,
|
|
11
11
|
BackgroundVariant,
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
import "./chunk-XAGSG72Y.mjs";
|
|
23
23
|
import {
|
|
24
24
|
useApi
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-RDC4ZHXF.mjs";
|
|
26
26
|
import "./chunk-HLVE2SB7.mjs";
|
|
27
27
|
import {
|
|
28
28
|
useT
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PEEXMLMK.mjs";
|
|
30
30
|
import "./chunk-32GKV6EM.mjs";
|
|
31
31
|
|
|
32
32
|
// src/components/Chat/TopologyRuntimeView.tsx
|
|
@@ -810,4 +810,4 @@ var TopologyRuntimeView = () => {
|
|
|
810
810
|
export {
|
|
811
811
|
TopologyRuntimeView
|
|
812
812
|
};
|
|
813
|
-
//# sourceMappingURL=TopologyRuntimeView-
|
|
813
|
+
//# sourceMappingURL=TopologyRuntimeView-6GZUQLB6.mjs.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorkflowAutomationView,
|
|
3
3
|
WorkflowAutomationView_default
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TIYJFBLK.mjs";
|
|
5
|
+
import "./chunk-J23W2JYG.mjs";
|
|
6
|
+
import "./chunk-TMGDS7XU.mjs";
|
|
7
7
|
import "./chunk-7FWCKQNB.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-JBDRDPL5.mjs";
|
|
9
9
|
import "./chunk-XC6TB6PI.mjs";
|
|
10
10
|
import "./chunk-XAGSG72Y.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-RDC4ZHXF.mjs";
|
|
12
12
|
import "./chunk-HLVE2SB7.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-PEEXMLMK.mjs";
|
|
14
14
|
import "./chunk-32GKV6EM.mjs";
|
|
15
15
|
export {
|
|
16
16
|
WorkflowAutomationView,
|
|
17
17
|
WorkflowAutomationView_default as default
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=WorkflowAutomationView-
|
|
19
|
+
//# sourceMappingURL=WorkflowAutomationView-UUAUG3LZ.mjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CopilotPanel,
|
|
3
3
|
TrainingContextCard
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-J23W2JYG.mjs";
|
|
5
5
|
import {
|
|
6
6
|
TaskOutlineList
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MASPEZN4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
WorkflowCanvas_default,
|
|
10
10
|
expandWorkflow
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TMGDS7XU.mjs";
|
|
12
12
|
import {
|
|
13
13
|
WorkflowGraphBase,
|
|
14
14
|
applyDagreLayout
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
useTaskCommands,
|
|
51
51
|
useWorkbenchNavStyles,
|
|
52
52
|
useWorkspaceContext
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-JBDRDPL5.mjs";
|
|
54
54
|
import {
|
|
55
55
|
Background,
|
|
56
56
|
Controls,
|
|
@@ -67,20 +67,22 @@ import {
|
|
|
67
67
|
import {
|
|
68
68
|
AxiomLatticeProvider,
|
|
69
69
|
LatticeChatShellContextProvider,
|
|
70
|
+
LocaleLayerIfAbsent,
|
|
70
71
|
readAuthItem,
|
|
71
72
|
useApi,
|
|
72
73
|
useAuth,
|
|
73
74
|
useClient,
|
|
74
75
|
useLatticeChatShellContext
|
|
75
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-RDC4ZHXF.mjs";
|
|
76
77
|
import {
|
|
77
78
|
AgentWebAppRuntimeClient,
|
|
78
79
|
AgentWebAppRuntimeClientError
|
|
79
80
|
} from "./chunk-Y2HJPMUR.mjs";
|
|
80
81
|
import {
|
|
81
|
-
|
|
82
|
+
DEFAULT_LOCALE_STORAGE_KEY,
|
|
83
|
+
readStoredLocale,
|
|
82
84
|
useT
|
|
83
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-PEEXMLMK.mjs";
|
|
84
86
|
|
|
85
87
|
// src/components/Governance/agentMeta.ts
|
|
86
88
|
var TYPE_LABEL = {
|
|
@@ -585,11 +587,25 @@ function identityScopeKey(identity) {
|
|
|
585
587
|
function AgentChatApp(props) {
|
|
586
588
|
validateProps(props);
|
|
587
589
|
const scopeKey = `${props.gatewayUrl}\0${props.webAppId}\0${identityScopeKey(props.identity)}`;
|
|
590
|
+
const storageKey = props.storageKey ?? DEFAULT_LOCALE_STORAGE_KEY;
|
|
591
|
+
const initialLocale = useMemo(
|
|
592
|
+
() => props.locale ?? readStoredLocale(storageKey) ?? "en-US",
|
|
593
|
+
[props.locale, storageKey]
|
|
594
|
+
);
|
|
588
595
|
return (
|
|
589
|
-
/* The
|
|
590
|
-
* component
|
|
591
|
-
* provider
|
|
592
|
-
|
|
596
|
+
/* The layer is supplied only when the host has not: the embed page is this
|
|
597
|
+
* component's root, while the Console preview nests it inside a host
|
|
598
|
+
* provider that must keep winning. `locale` is still passed down resolved
|
|
599
|
+
* so antd's built-in text follows the value the dictionaries load for. */
|
|
600
|
+
/* @__PURE__ */ jsx3(
|
|
601
|
+
LocaleLayerIfAbsent,
|
|
602
|
+
{
|
|
603
|
+
locale: initialLocale,
|
|
604
|
+
storageKey,
|
|
605
|
+
onLocaleChange: props.onLocaleChange,
|
|
606
|
+
children: /* @__PURE__ */ jsx3(ScopedAgentChatApp, { ...props, locale: initialLocale }, scopeKey)
|
|
607
|
+
}
|
|
608
|
+
)
|
|
593
609
|
);
|
|
594
610
|
}
|
|
595
611
|
function ScopedAgentChatApp({ gatewayUrl, webAppId, identity, onError, onChatReady, onChatMessage, fetch: fetchImplementation, className, welcome, quickPrompts, locale = "en-US" }) {
|
|
@@ -8895,4 +8911,4 @@ export {
|
|
|
8895
8911
|
AgentConfigGraph,
|
|
8896
8912
|
AgentDetailView
|
|
8897
8913
|
};
|
|
8898
|
-
//# sourceMappingURL=chunk-
|
|
8914
|
+
//# sourceMappingURL=chunk-HLOK3K5J.mjs.map
|