@zero-library/chat-copilot 3.2.2 → 3.2.3

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.cjs.js CHANGED
@@ -6371,21 +6371,18 @@ var agentExecList_module_default = {
6371
6371
  execRow: "agentExecList_module_execRow",
6372
6372
  rowLine: "agentExecList_module_rowLine",
6373
6373
  rowIcon: "agentExecList_module_rowIcon",
6374
- rowLabel: "agentExecList_module_rowLabel",
6375
- rowLabelError: "agentExecList_module_rowLabelError",
6376
6374
  rowDetail: "agentExecList_module_rowDetail",
6377
6375
  rowDetailExpandable: "agentExecList_module_rowDetailExpandable",
6378
6376
  rowDetailAction: "agentExecList_module_rowDetailAction",
6379
6377
  rowBody: "agentExecList_module_rowBody"
6380
6378
  };
6381
- var AgentExecRow = React10.memo(({ icon, label, detail, status, content, onDetail }) => {
6379
+ var AgentExecRow = React10.memo(({ icon, detail, status, content, onDetail }) => {
6382
6380
  const { t: t11 } = common.useTranslation(NS_CHAT_COPILOT);
6383
6381
  const [open, setOpen] = React10.useState(false);
6384
6382
  const hasExpand = !!content;
6385
6383
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: agentExecList_module_default.execRow, children: [
6386
6384
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: agentExecList_module_default.rowLine, onClick: () => hasExpand && setOpen((o) => !o), children: [
6387
6385
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: agentExecList_module_default.rowIcon, children: icon }),
6388
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: `${agentExecList_module_default.rowLabel} ${status === "error" ? agentExecList_module_default.rowLabelError : ""}`, children: label }),
6389
6386
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: `${agentExecList_module_default.rowDetail} ${hasExpand ? agentExecList_module_default.rowDetailExpandable : ""}`, title: detail, children: detail || " " }),
6390
6387
  onDetail && /* @__PURE__ */ jsxRuntime.jsx(
6391
6388
  "span",
@@ -6409,7 +6406,7 @@ var agentExecSequence_module_default = {
6409
6406
  seq: "agentExecSequence_module_seq"
6410
6407
  };
6411
6408
  function renderRow(row, key) {
6412
- return /* @__PURE__ */ jsxRuntime.jsx(agentExecRow_default, { icon: row.icon, label: row.label, detail: row.detail, status: row.status, content: row.content, onDetail: row.onDetail }, key);
6409
+ return /* @__PURE__ */ jsxRuntime.jsx(agentExecRow_default, { icon: row.icon, detail: row.detail, status: row.status, content: row.content, onDetail: row.onDetail }, key);
6413
6410
  }
6414
6411
  var AgentExecSequence = React10.memo(({ content, message: message3, customComponents, messageIndex, role, onViewSubAgent }) => {
6415
6412
  const ctx = { message: message3, customComponents, onViewSubAgent };
@@ -7027,7 +7024,7 @@ var ChatSender_default2 = React10.forwardRef(
7027
7024
  sendBtnProps,
7028
7025
  footerBelow = false,
7029
7026
  reasonBtn = true,
7030
- resourceBtn = true,
7027
+ resourceBtn = false,
7031
7028
  // skillsBtn = false,
7032
7029
  // knowledgeBtn = false,
7033
7030
  modelSelect = false,
@@ -7975,7 +7972,6 @@ var ExecutionTracePanel_default = ExecutionTracePanel;
7975
7972
  // src/ui/layouts/components/styles.module.less
7976
7973
  var styles_module_default5 = {
7977
7974
  bodyWidth: "styles_module_bodyWidth",
7978
- mainTabs: "styles_module_mainTabs",
7979
7975
  inputContainer: "styles_module_inputContainer",
7980
7976
  disclaimerNotice: "styles_module_disclaimerNotice",
7981
7977
  previewHeader: "styles_module_previewHeader",
@@ -8027,7 +8023,7 @@ var ChatMainPanel = React10.memo(
8027
8023
  showDebugLog ? /* @__PURE__ */ jsxRuntime.jsx(
8028
8024
  antd.Tabs,
8029
8025
  {
8030
- className: classNames9__default.default(styles_module_default5.mainTabs),
8026
+ className: "full-tabs",
8031
8027
  defaultActiveKey: "chat",
8032
8028
  items: [
8033
8029
  { key: "chat", label: t11("chatTab"), children: /* @__PURE__ */ jsxRuntime.jsx(ChatContent, { senderRef }) },