@multiplayer-app/ai-agent-react 0.1.0-beta.86 → 0.1.0-beta.88

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.
@@ -36480,8 +36480,8 @@ const H3 = ({ call: e }) => {
36480
36480
  ] });
36481
36481
  };
36482
36482
  return /* @__PURE__ */ se("div", { className: "mp-agent-tool-approval-status-inline", children: [
36483
- e.approved ? /* @__PURE__ */ C("div", { className: "mp-agent-tool-approved", children: /* @__PURE__ */ C("span", { children: "✓ Approved" }) }) : /* @__PURE__ */ C("span", { className: "mp-agent-tool-denied", children: "✗ Denied" }),
36484
- e.approved && n()
36483
+ e.approved && n(),
36484
+ e.approved ? /* @__PURE__ */ C("div", { className: "mp-agent-tool-approved", children: /* @__PURE__ */ C("span", { children: "✓ Approved" }) }) : /* @__PURE__ */ C("span", { className: "mp-agent-tool-denied", children: "✗ Denied" })
36485
36485
  ] });
36486
36486
  }, bwe = (e) => {
36487
36487
  if (!e || typeof e != "object" || Array.isArray(e))
@@ -96461,7 +96461,8 @@ const lVe = () => /* @__PURE__ */ se("span", { className: "mp-agent-message-typi
96461
96461
  return /* @__PURE__ */ se("div", { className: "mp-agent-message-group", children: [
96462
96462
  o && /* @__PURE__ */ C(S7, { reasoning: e.reasoning, isStreaming: n }),
96463
96463
  l && /* @__PURE__ */ C(lVe, {}),
96464
- !n && d.map((p) => /* @__PURE__ */ C(
96464
+ u && /* @__PURE__ */ C(iVe, { message: e, showParticipantChrome: r }),
96465
+ !n && /* @__PURE__ */ C("div", { className: "mp-agent-tool-calls", children: d.map((p) => /* @__PURE__ */ C(
96465
96466
  _we,
96466
96467
  {
96467
96468
  call: p,
@@ -96470,8 +96471,7 @@ const lVe = () => /* @__PURE__ */ se("span", { className: "mp-agent-message-typi
96470
96471
  chatId: e.chat
96471
96472
  },
96472
96473
  p.id
96473
- )),
96474
- u && /* @__PURE__ */ C(iVe, { message: e, showParticipantChrome: r })
96474
+ )) })
96475
96475
  ] });
96476
96476
  }, lo = Rt(cVe), v5 = [], uVe = 120, dVe = (e) => {
96477
96477
  const t = e.activeChatId;