@axiom-lattice/react-sdk 2.1.0 → 2.1.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/index.mjs CHANGED
@@ -1113,9 +1113,9 @@ var ToolCall = ({ data, eventHandler }) => {
1113
1113
  import { Card as Card4, List, Typography as Typography5, Space as Space5 } from "antd";
1114
1114
  import { createStyles as createStyles3 } from "antd-style";
1115
1115
  import {
1116
+ ArrowRightOutlined,
1116
1117
  CheckCircleOutlined as CheckCircleOutlined2,
1117
- ClockCircleOutlined,
1118
- LoadingOutlined as LoadingOutlined2
1118
+ ClockCircleOutlined
1119
1119
  } from "@ant-design/icons";
1120
1120
  import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
1121
1121
  var { Text: Text4 } = Typography5;
@@ -1157,7 +1157,7 @@ var Todo = ({
1157
1157
  case "completed":
1158
1158
  return /* @__PURE__ */ jsx7(CheckCircleOutlined2, { style: { color: "#52c41a" } });
1159
1159
  case "in_progress":
1160
- return /* @__PURE__ */ jsx7(LoadingOutlined2, { style: { color: "#1890ff" } });
1160
+ return /* @__PURE__ */ jsx7(ArrowRightOutlined, { style: { fontWeight: "500" } });
1161
1161
  case "pending":
1162
1162
  return /* @__PURE__ */ jsx7(ClockCircleOutlined, { style: { color: "gray" } });
1163
1163
  default:
@@ -1282,7 +1282,7 @@ var WriteTodos = ({
1282
1282
  {
1283
1283
  size: "small",
1284
1284
  bordered: false,
1285
- defaultActiveKey: [],
1285
+ defaultActiveKey: [toolCallData.id],
1286
1286
  expandIcon,
1287
1287
  children: /* @__PURE__ */ jsx8(
1288
1288
  CollapsePanel2,
@@ -3135,7 +3135,7 @@ ${JSON.stringify(tool_call)}
3135
3135
  import {
3136
3136
  CheckCircleOutlined as CheckCircleOutlined3,
3137
3137
  InfoCircleOutlined as InfoCircleOutlined2,
3138
- LoadingOutlined as LoadingOutlined4
3138
+ LoadingOutlined as LoadingOutlined3
3139
3139
  } from "@ant-design/icons";
3140
3140
  import {
3141
3141
  ThoughtChain
@@ -3148,7 +3148,7 @@ function getStatusIcon2(status) {
3148
3148
  case "error":
3149
3149
  return /* @__PURE__ */ jsx20(InfoCircleOutlined2, {});
3150
3150
  case "pending":
3151
- return /* @__PURE__ */ jsx20(LoadingOutlined4, {});
3151
+ return /* @__PURE__ */ jsx20(LoadingOutlined3, {});
3152
3152
  default:
3153
3153
  return /* @__PURE__ */ jsx20(CheckCircleOutlined3, {});
3154
3154
  }