@axiom-lattice/react-sdk 2.1.7 → 2.1.9

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/index.mjs CHANGED
@@ -671,7 +671,7 @@ function AgentThreadProvider({
671
671
  }));
672
672
  }, []);
673
673
  useEffect3(() => {
674
- if (threadId) {
674
+ if (threadId && clientAssistantId === assistantId) {
675
675
  loadMessages();
676
676
  } else {
677
677
  clearMessages();
@@ -682,7 +682,7 @@ function AgentThreadProvider({
682
682
  stopStreamingRef.current = null;
683
683
  }
684
684
  };
685
- }, [threadId, loadMessages, clearMessages]);
685
+ }, [threadId, loadMessages, clearMessages, clientAssistantId, assistantId]);
686
686
  const value = {
687
687
  state,
688
688
  sendMessage,
@@ -4108,7 +4108,6 @@ var TaskDetail = ({ data, component_key, interactive = true }) => {
4108
4108
  children: /* @__PURE__ */ jsx29("div", { style: { overflow: "hidden" }, children: /* @__PURE__ */ jsx29(
4109
4109
  Chating,
4110
4110
  {
4111
- description,
4112
4111
  name: subagent_type,
4113
4112
  showHeader: true,
4114
4113
  showSender: false,
@@ -4386,12 +4385,25 @@ var LatticeChat = (props) => {
4386
4385
  }
4387
4386
  );
4388
4387
  };
4388
+
4389
+ // src/components/Chat/AgentConversations.tsx
4390
+ import {
4391
+ CodeOutlined as CodeOutlined4,
4392
+ FileImageOutlined as FileImageOutlined3,
4393
+ FileSearchOutlined,
4394
+ SignatureOutlined
4395
+ } from "@ant-design/icons";
4396
+ import { Conversations } from "@ant-design/x";
4397
+ import { theme } from "antd";
4398
+ import { useState as useState18 } from "react";
4399
+ import { jsx as jsx32 } from "react/jsx-runtime";
4389
4400
  export {
4390
4401
  AgentThreadProvider,
4391
4402
  AxiomLatticeProvider,
4392
4403
  ChatUIContext,
4393
4404
  ChatUIContextProvider,
4394
4405
  Chating,
4406
+ ColumnLayout,
4395
4407
  FileExplorer,
4396
4408
  LatticeChat,
4397
4409
  MDMermaid,