@axiom-lattice/react-sdk 4.11.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.
Files changed (60) hide show
  1. package/dist/{AgentDetailSideApp-ZGV4WC4V.mjs → AgentDetailSideApp-OW5LUKMG.mjs} +7 -7
  2. package/dist/{AgentGovernanceWorkbench-HCVHQ3P7.mjs → AgentGovernanceWorkbench-NNCUUU3E.mjs} +8 -8
  3. package/dist/{MessageGraph-OA2HMEHI.mjs → MessageGraph-SGLKFEJK.mjs} +3 -3
  4. package/dist/{ReactChart-DWIFRI5G.mjs → ReactChart-FHVYPC7S.mjs} +3 -3
  5. package/dist/{SkillFlow-IHRME3YO.mjs → SkillFlow-MLSQCF4X.mjs} +3 -3
  6. package/dist/{TasksSideApp-KKBQDSO4.mjs → TasksSideApp-F2ZZTWGN.mjs} +4 -4
  7. package/dist/{TeamWorkspace-ETVDJAYT.mjs → TeamWorkspace-AQOUI5EN.mjs} +3 -3
  8. package/dist/{TopologyRuntimeView-F7JQAXN2.mjs → TopologyRuntimeView-6GZUQLB6.mjs} +4 -4
  9. package/dist/{WorkflowAutomationView-PBZ5K43L.mjs → WorkflowAutomationView-UUAUG3LZ.mjs} +6 -6
  10. package/dist/{chunk-EHUPRLAS.mjs → chunk-HLOK3K5J.mjs} +14 -26
  11. package/dist/chunk-HLOK3K5J.mjs.map +1 -0
  12. package/dist/{chunk-KU634FOH.mjs → chunk-J23W2JYG.mjs} +3 -3
  13. package/dist/{chunk-6XGZ74LQ.mjs → chunk-JBDRDPL5.mjs} +13 -13
  14. package/dist/{chunk-57IPUJ5T.mjs → chunk-MASPEZN4.mjs} +2 -2
  15. package/dist/{chunk-TA243DB6.mjs → chunk-RDC4ZHXF.mjs} +100 -73
  16. package/dist/chunk-RDC4ZHXF.mjs.map +1 -0
  17. package/dist/{chunk-3MF4SALK.mjs → chunk-TIYJFBLK.mjs} +5 -5
  18. package/dist/{chunk-3FXH5ZAQ.mjs → chunk-TMGDS7XU.mjs} +2 -2
  19. package/dist/{chunk-JQLUFZKH.mjs → chunk-TXBE42BY.mjs} +5 -5
  20. package/dist/{chunk-3SEKZBYQ.mjs → chunk-ZQ7G446O.mjs} +2 -2
  21. package/dist/{embed-page-AgentDetailSideApp-RM4TDSC5.js → embed-page-AgentDetailSideApp-2M4MLVQQ.js} +1 -1
  22. package/dist/{embed-page-AgentGovernanceWorkbench-G6A6QNZY.js → embed-page-AgentGovernanceWorkbench-KEVBIQP6.js} +1 -1
  23. package/dist/{embed-page-MessageGraph-ZLGTKJNE.js → embed-page-MessageGraph-PRBUQINR.js} +1 -1
  24. package/dist/{embed-page-ReactChart-IB6R6G57.js → embed-page-ReactChart-V6JJXCEV.js} +1 -1
  25. package/dist/{embed-page-SkillFlow-STU36L34.js → embed-page-SkillFlow-6LPE2VG3.js} +1 -1
  26. package/dist/{embed-page-TasksSideApp-X4APWG4G.js → embed-page-TasksSideApp-OFZI54MF.js} +1 -1
  27. package/dist/{embed-page-TeamWorkspace-EK4BNNGD.js → embed-page-TeamWorkspace-QSSAF3AA.js} +1 -1
  28. package/dist/{embed-page-TopologyRuntimeView-X5CHJPHN.js → embed-page-TopologyRuntimeView-PHULW2NG.js} +1 -1
  29. package/dist/{embed-page-WorkflowAutomationView-3LIT27E2.js → embed-page-WorkflowAutomationView-LQS6H7X6.js} +1 -1
  30. package/dist/{embed-page-chunk-DDK2VFYD.js → embed-page-chunk-7PNQFZMK.js} +7 -7
  31. package/dist/{embed-page-chunk-EQRDCFN5.js → embed-page-chunk-D5EY6ASK.js} +1 -1
  32. package/dist/{embed-page-chunk-5WPKSLDW.js → embed-page-chunk-IJ2YWGKU.js} +1 -1
  33. package/dist/{embed-page-chunk-W45YCZIC.js → embed-page-chunk-O44JEYLD.js} +7 -7
  34. package/dist/embed-page-chunk-PFCR6CFL.js +2 -0
  35. package/dist/{embed-page-chunk-7D54ACES.js → embed-page-chunk-SSWDAKQU.js} +1 -1
  36. package/dist/{embed-page-chunk-734QFJP3.js → embed-page-chunk-YNHKD2CY.js} +1 -1
  37. package/dist/embed-page.js +1 -1
  38. package/dist/index.js +806 -785
  39. package/dist/index.js.map +1 -1
  40. package/dist/index.mjs +9 -9
  41. package/package.json +3 -3
  42. package/dist/chunk-EHUPRLAS.mjs.map +0 -1
  43. package/dist/chunk-TA243DB6.mjs.map +0 -1
  44. package/dist/embed-page-chunk-64FTYZ5F.js +0 -2
  45. /package/dist/{AgentDetailSideApp-ZGV4WC4V.mjs.map → AgentDetailSideApp-OW5LUKMG.mjs.map} +0 -0
  46. /package/dist/{AgentGovernanceWorkbench-HCVHQ3P7.mjs.map → AgentGovernanceWorkbench-NNCUUU3E.mjs.map} +0 -0
  47. /package/dist/{MessageGraph-OA2HMEHI.mjs.map → MessageGraph-SGLKFEJK.mjs.map} +0 -0
  48. /package/dist/{ReactChart-DWIFRI5G.mjs.map → ReactChart-FHVYPC7S.mjs.map} +0 -0
  49. /package/dist/{SkillFlow-IHRME3YO.mjs.map → SkillFlow-MLSQCF4X.mjs.map} +0 -0
  50. /package/dist/{TasksSideApp-KKBQDSO4.mjs.map → TasksSideApp-F2ZZTWGN.mjs.map} +0 -0
  51. /package/dist/{TeamWorkspace-ETVDJAYT.mjs.map → TeamWorkspace-AQOUI5EN.mjs.map} +0 -0
  52. /package/dist/{TopologyRuntimeView-F7JQAXN2.mjs.map → TopologyRuntimeView-6GZUQLB6.mjs.map} +0 -0
  53. /package/dist/{WorkflowAutomationView-PBZ5K43L.mjs.map → WorkflowAutomationView-UUAUG3LZ.mjs.map} +0 -0
  54. /package/dist/{chunk-KU634FOH.mjs.map → chunk-J23W2JYG.mjs.map} +0 -0
  55. /package/dist/{chunk-6XGZ74LQ.mjs.map → chunk-JBDRDPL5.mjs.map} +0 -0
  56. /package/dist/{chunk-57IPUJ5T.mjs.map → chunk-MASPEZN4.mjs.map} +0 -0
  57. /package/dist/{chunk-3MF4SALK.mjs.map → chunk-TIYJFBLK.mjs.map} +0 -0
  58. /package/dist/{chunk-3FXH5ZAQ.mjs.map → chunk-TMGDS7XU.mjs.map} +0 -0
  59. /package/dist/{chunk-JQLUFZKH.mjs.map → chunk-TXBE42BY.mjs.map} +0 -0
  60. /package/dist/{chunk-3SEKZBYQ.mjs.map → chunk-ZQ7G446O.mjs.map} +0 -0
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  AgentDetailView
3
- } from "./chunk-EHUPRLAS.mjs";
4
- import "./chunk-KU634FOH.mjs";
5
- import "./chunk-57IPUJ5T.mjs";
6
- import "./chunk-3FXH5ZAQ.mjs";
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-6XGZ74LQ.mjs";
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-TA243DB6.mjs";
16
+ } from "./chunk-RDC4ZHXF.mjs";
17
17
  import "./chunk-Y2HJPMUR.mjs";
18
18
  import "./chunk-HLVE2SB7.mjs";
19
19
  import {
@@ -158,4 +158,4 @@ var AgentDetailSideApp = ({ data }) => {
158
158
  export {
159
159
  AgentDetailSideApp
160
160
  };
161
- //# sourceMappingURL=AgentDetailSideApp-ZGV4WC4V.mjs.map
161
+ //# sourceMappingURL=AgentDetailSideApp-OW5LUKMG.mjs.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  AgentGovernanceWorkbench
3
- } from "./chunk-JQLUFZKH.mjs";
4
- import "./chunk-EHUPRLAS.mjs";
5
- import "./chunk-KU634FOH.mjs";
6
- import "./chunk-57IPUJ5T.mjs";
7
- import "./chunk-3FXH5ZAQ.mjs";
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
8
  import "./chunk-7FWCKQNB.mjs";
9
- import "./chunk-6XGZ74LQ.mjs";
9
+ import "./chunk-JBDRDPL5.mjs";
10
10
  import "./chunk-XC6TB6PI.mjs";
11
11
  import "./chunk-XAGSG72Y.mjs";
12
- import "./chunk-TA243DB6.mjs";
12
+ import "./chunk-RDC4ZHXF.mjs";
13
13
  import "./chunk-Y2HJPMUR.mjs";
14
14
  import "./chunk-HLVE2SB7.mjs";
15
15
  import "./chunk-PEEXMLMK.mjs";
@@ -17,4 +17,4 @@ import "./chunk-32GKV6EM.mjs";
17
17
  export {
18
18
  AgentGovernanceWorkbench
19
19
  };
20
- //# sourceMappingURL=AgentGovernanceWorkbench-HCVHQ3P7.mjs.map
20
+ //# sourceMappingURL=AgentGovernanceWorkbench-NNCUUU3E.mjs.map
@@ -11,14 +11,14 @@ import {
11
11
  collapseOlderPhases,
12
12
  formatToolName,
13
13
  toolResponseText
14
- } from "./chunk-6XGZ74LQ.mjs";
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-TA243DB6.mjs";
21
+ import "./chunk-RDC4ZHXF.mjs";
22
22
  import "./chunk-HLVE2SB7.mjs";
23
23
  import {
24
24
  useT
@@ -382,4 +382,4 @@ var MessageGraph = ({
382
382
  export {
383
383
  MessageGraph
384
384
  };
385
- //# sourceMappingURL=MessageGraph-OA2HMEHI.mjs.map
385
+ //# sourceMappingURL=MessageGraph-SGLKFEJK.mjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GenericDataTable
3
- } from "./chunk-6XGZ74LQ.mjs";
4
- import "./chunk-TA243DB6.mjs";
3
+ } from "./chunk-JBDRDPL5.mjs";
4
+ import "./chunk-RDC4ZHXF.mjs";
5
5
  import "./chunk-HLVE2SB7.mjs";
6
6
  import {
7
7
  useT
@@ -456,4 +456,4 @@ var ReactChart = (props) => {
456
456
  export {
457
457
  ReactChart
458
458
  };
459
- //# sourceMappingURL=ReactChart-DWIFRI5G.mjs.map
459
+ //# sourceMappingURL=ReactChart-FHVYPC7S.mjs.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SkillFlow_default
3
- } from "./chunk-3SEKZBYQ.mjs";
3
+ } from "./chunk-ZQ7G446O.mjs";
4
4
  import "./chunk-XC6TB6PI.mjs";
5
5
  import "./chunk-XAGSG72Y.mjs";
6
- import "./chunk-TA243DB6.mjs";
6
+ import "./chunk-RDC4ZHXF.mjs";
7
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-IHRME3YO.mjs.map
12
+ //# sourceMappingURL=SkillFlow-MLSQCF4X.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TaskOutlineList
3
- } from "./chunk-57IPUJ5T.mjs";
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-6XGZ74LQ.mjs";
22
+ } from "./chunk-JBDRDPL5.mjs";
23
23
  import {
24
24
  Handle,
25
25
  Position,
@@ -30,7 +30,7 @@ import "./chunk-XAGSG72Y.mjs";
30
30
  import {
31
31
  useAuth,
32
32
  useClient
33
- } from "./chunk-TA243DB6.mjs";
33
+ } from "./chunk-RDC4ZHXF.mjs";
34
34
  import "./chunk-HLVE2SB7.mjs";
35
35
  import {
36
36
  useT
@@ -1175,4 +1175,4 @@ var TasksSideApp = ({ statusFilter, getOwnerLabel, showProjectFilter = true, ini
1175
1175
  export {
1176
1176
  TasksSideApp
1177
1177
  };
1178
- //# sourceMappingURL=TasksSideApp-KKBQDSO4.mjs.map
1178
+ //# sourceMappingURL=TasksSideApp-F2ZZTWGN.mjs.map
@@ -3,7 +3,7 @@ import {
3
3
  Chating,
4
4
  MailboxPanel,
5
5
  useAgentState
6
- } from "./chunk-6XGZ74LQ.mjs";
6
+ } from "./chunk-JBDRDPL5.mjs";
7
7
  import {
8
8
  Background,
9
9
  Controls,
@@ -14,7 +14,7 @@ import {
14
14
  useReactFlow
15
15
  } from "./chunk-XC6TB6PI.mjs";
16
16
  import "./chunk-XAGSG72Y.mjs";
17
- import "./chunk-TA243DB6.mjs";
17
+ import "./chunk-RDC4ZHXF.mjs";
18
18
  import "./chunk-HLVE2SB7.mjs";
19
19
  import {
20
20
  useT
@@ -2423,4 +2423,4 @@ export {
2423
2423
  TeamWorkspace,
2424
2424
  TeamWorkspace_default as default
2425
2425
  };
2426
- //# sourceMappingURL=TeamWorkspace-ETVDJAYT.mjs.map
2426
+ //# sourceMappingURL=TeamWorkspace-AQOUI5EN.mjs.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  WorkflowCanvas,
3
3
  expandWorkflow
4
- } from "./chunk-3FXH5ZAQ.mjs";
4
+ } from "./chunk-TMGDS7XU.mjs";
5
5
  import "./chunk-7FWCKQNB.mjs";
6
6
  import {
7
7
  MDResponse
8
- } from "./chunk-6XGZ74LQ.mjs";
8
+ } from "./chunk-JBDRDPL5.mjs";
9
9
  import {
10
10
  Background,
11
11
  BackgroundVariant,
@@ -22,7 +22,7 @@ import {
22
22
  import "./chunk-XAGSG72Y.mjs";
23
23
  import {
24
24
  useApi
25
- } from "./chunk-TA243DB6.mjs";
25
+ } from "./chunk-RDC4ZHXF.mjs";
26
26
  import "./chunk-HLVE2SB7.mjs";
27
27
  import {
28
28
  useT
@@ -810,4 +810,4 @@ var TopologyRuntimeView = () => {
810
810
  export {
811
811
  TopologyRuntimeView
812
812
  };
813
- //# sourceMappingURL=TopologyRuntimeView-F7JQAXN2.mjs.map
813
+ //# sourceMappingURL=TopologyRuntimeView-6GZUQLB6.mjs.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  WorkflowAutomationView,
3
3
  WorkflowAutomationView_default
4
- } from "./chunk-3MF4SALK.mjs";
5
- import "./chunk-KU634FOH.mjs";
6
- import "./chunk-3FXH5ZAQ.mjs";
4
+ } from "./chunk-TIYJFBLK.mjs";
5
+ import "./chunk-J23W2JYG.mjs";
6
+ import "./chunk-TMGDS7XU.mjs";
7
7
  import "./chunk-7FWCKQNB.mjs";
8
- import "./chunk-6XGZ74LQ.mjs";
8
+ import "./chunk-JBDRDPL5.mjs";
9
9
  import "./chunk-XC6TB6PI.mjs";
10
10
  import "./chunk-XAGSG72Y.mjs";
11
- import "./chunk-TA243DB6.mjs";
11
+ import "./chunk-RDC4ZHXF.mjs";
12
12
  import "./chunk-HLVE2SB7.mjs";
13
13
  import "./chunk-PEEXMLMK.mjs";
14
14
  import "./chunk-32GKV6EM.mjs";
@@ -16,4 +16,4 @@ export {
16
16
  WorkflowAutomationView,
17
17
  WorkflowAutomationView_default as default
18
18
  };
19
- //# sourceMappingURL=WorkflowAutomationView-PBZ5K43L.mjs.map
19
+ //# sourceMappingURL=WorkflowAutomationView-UUAUG3LZ.mjs.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  CopilotPanel,
3
3
  TrainingContextCard
4
- } from "./chunk-KU634FOH.mjs";
4
+ } from "./chunk-J23W2JYG.mjs";
5
5
  import {
6
6
  TaskOutlineList
7
- } from "./chunk-57IPUJ5T.mjs";
7
+ } from "./chunk-MASPEZN4.mjs";
8
8
  import {
9
9
  WorkflowCanvas_default,
10
10
  expandWorkflow
11
- } from "./chunk-3FXH5ZAQ.mjs";
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-6XGZ74LQ.mjs";
53
+ } from "./chunk-JBDRDPL5.mjs";
54
54
  import {
55
55
  Background,
56
56
  Controls,
@@ -67,20 +67,19 @@ 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-TA243DB6.mjs";
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,
82
- LatticeLocaleProvider,
83
- LocaleBridgeContext,
84
83
  readStoredLocale,
85
84
  useT
86
85
  } from "./chunk-PEEXMLMK.mjs";
@@ -392,7 +391,7 @@ var AgentEvalPanel = ({ assistantId, initial, navigationKey, onEvalInvalidated }
392
391
  };
393
392
 
394
393
  // src/integrations/web-app/console-chat/AgentChatApp.tsx
395
- import { useCallback as useCallback3, useContext, useEffect as useEffect3, useMemo, useRef as useRef2, useState as useState2 } from "react";
394
+ import { useCallback as useCallback3, useEffect as useEffect3, useMemo, useRef as useRef2, useState as useState2 } from "react";
396
395
  import { ConfigProvider, Spin as Spin2 } from "antd";
397
396
  import { RuntimeAxiomClient } from "@axiom-lattice/client-sdk";
398
397
 
@@ -588,33 +587,22 @@ function identityScopeKey(identity) {
588
587
  function AgentChatApp(props) {
589
588
  validateProps(props);
590
589
  const scopeKey = `${props.gatewayUrl}\0${props.webAppId}\0${identityScopeKey(props.identity)}`;
591
- const localeProvidedAbove = useContext(LocaleBridgeContext) !== null;
592
590
  const storageKey = props.storageKey ?? DEFAULT_LOCALE_STORAGE_KEY;
593
591
  const initialLocale = useMemo(
594
592
  () => props.locale ?? readStoredLocale(storageKey) ?? "en-US",
595
593
  [props.locale, storageKey]
596
594
  );
597
- const onLocaleChange = useMemo(
598
- () => props.onLocaleChange ?? (() => {
599
- if (typeof window !== "undefined") window.location.reload();
600
- }),
601
- [props.onLocaleChange]
602
- );
603
- if (localeProvidedAbove) {
604
- return /* @__PURE__ */ jsx3(ScopedAgentChatApp, { ...props }, scopeKey);
605
- }
606
595
  return (
607
- /* The locale provider sits ABOVE ScopedAgentChatApp on purpose: that
608
- * component calls useT() itself for its own loading/error copy, so a
609
- * provider rendered inside its return value would only reach descendants.
610
- * `locale` is passed down resolved so antd's built-in text follows the same
611
- * value the dictionaries were loaded for. */
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. */
612
600
  /* @__PURE__ */ jsx3(
613
- LatticeLocaleProvider,
601
+ LocaleLayerIfAbsent,
614
602
  {
615
603
  locale: initialLocale,
616
604
  storageKey,
617
- onLocaleChange,
605
+ onLocaleChange: props.onLocaleChange,
618
606
  children: /* @__PURE__ */ jsx3(ScopedAgentChatApp, { ...props, locale: initialLocale }, scopeKey)
619
607
  }
620
608
  )
@@ -8923,4 +8911,4 @@ export {
8923
8911
  AgentConfigGraph,
8924
8912
  AgentDetailView
8925
8913
  };
8926
- //# sourceMappingURL=chunk-EHUPRLAS.mjs.map
8914
+ //# sourceMappingURL=chunk-HLOK3K5J.mjs.map