@mcp-use/inspector 7.0.0-canary.20 → 7.0.0-canary.21

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.
@@ -26903,7 +26903,7 @@ var Ud = class {
26903
26903
  //#region src/client/telemetry/utils.ts
26904
26904
  function of() {
26905
26905
  try {
26906
- return "7.0.0-canary.20";
26906
+ return "7.0.0-canary.21";
26907
26907
  } catch {
26908
26908
  return "0.0.0";
26909
26909
  }
@@ -48440,9 +48440,9 @@ var HA, UA, WA, GA, KA, qA, JA, YA, XA, ZA, QA, $A, ej, tj, Zce, Qce, nj, rj, ij
48440
48440
  }(), Pue);
48441
48441
  }));
48442
48442
  //#endregion
48443
- //#region ../mcp-use/dist/chunk-4KZKI6EU.js
48443
+ //#region ../mcp-use/dist/chunk-BBFAO5J6.js
48444
48444
  Yp();
48445
- var zue = "1.29.0-canary.20";
48445
+ var zue = "1.29.0-canary.21";
48446
48446
  function KF() {
48447
48447
  return zue;
48448
48448
  }
@@ -118081,7 +118081,7 @@ function G4({ content: e }) {
118081
118081
  });
118082
118082
  }
118083
118083
  //#endregion
118084
- //#region src/client/components/chat/AssistantMessage.tsx
118084
+ //#region src/client/components/chat/CopyButton.tsx
118085
118085
  function Jze({ text: e }) {
118086
118086
  let [t, n] = (0, A.useState)(!1);
118087
118087
  return /* @__PURE__ */ (0, O.jsx)("button", {
@@ -118090,9 +118090,12 @@ function Jze({ text: e }) {
118090
118090
  await sR(e), n(!0), setTimeout(() => n(!1), 2e3);
118091
118091
  },
118092
118092
  title: "Copy message content",
118093
+ "data-testid": "copy-button",
118093
118094
  children: t ? /* @__PURE__ */ (0, O.jsx)(Af, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ (0, O.jsx)(Uf, { className: "h-3.5 w-3.5" })
118094
118095
  });
118095
118096
  }
118097
+ //#endregion
118098
+ //#region src/client/components/chat/AssistantMessage.tsx
118096
118099
  function Yze({ content: e, timestamp: t, _isStreaming: n }) {
118097
118100
  return !e || e.length === 0 ? null : /* @__PURE__ */ (0, O.jsx)("div", {
118098
118101
  className: "flex items-start gap-6 group/message relative",
@@ -133569,9 +133572,12 @@ function cQe({ content: e, timestamp: t, attachments: n }) {
133569
133572
  className: "text-base leading-7 font-sans text-start break-words",
133570
133573
  children: e
133571
133574
  })]
133572
- }), t && /* @__PURE__ */ (0, O.jsx)("span", {
133573
- className: "text-xs text-muted-foreground mt-1",
133574
- children: new Date(t).toLocaleTimeString()
133575
+ }), t && /* @__PURE__ */ (0, O.jsxs)("div", {
133576
+ className: "flex items-center gap-2 mt-2",
133577
+ children: [/* @__PURE__ */ (0, O.jsx)(Jze, { text: e }), /* @__PURE__ */ (0, O.jsx)("span", {
133578
+ className: "text-xs text-muted-foreground",
133579
+ children: new Date(t).toLocaleTimeString()
133580
+ })]
133575
133581
  })]
133576
133582
  })
133577
133583
  });
@@ -1 +1 @@
1
- {"version":3,"file":"AssistantMessage.d.ts","sourceRoot":"","sources":["../../../../src/client/components/chat/AssistantMessage.tsx"],"names":[],"mappings":"AAmCA,UAAU,qBAAqB;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,kEAAkE;IAClE,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,SAAS,EACT,YAAY,EAAE,CAAC,GAChB,EAAE,qBAAqB,kDAgCvB"}
1
+ {"version":3,"file":"AssistantMessage.d.ts","sourceRoot":"","sources":["../../../../src/client/components/chat/AssistantMessage.tsx"],"names":[],"mappings":"AAGA,UAAU,qBAAqB;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,kEAAkE;IAClE,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,SAAS,EACT,YAAY,EAAE,CAAC,GAChB,EAAE,qBAAqB,kDAgCvB"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Button that copies the provided text to the clipboard and shows a brief visual confirmation.
3
+ *
4
+ * @param text - The string content to copy when the button is clicked.
5
+ * @returns A button element that copies `text` to the clipboard and displays a check icon for two seconds after a successful copy.
6
+ */
7
+ export declare function CopyButton({ text }: {
8
+ text: string;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=CopyButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CopyButton.d.ts","sourceRoot":"","sources":["../../../../src/client/components/chat/CopyButton.tsx"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,2CAuBpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"UserMessage.d.ts","sourceRoot":"","sources":["../../../../src/client/components/chat/UserMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,UAAU,gBAAgB;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,iBAAiB,EAAE,CAAC;CACnC;AAED,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,SAAS,EACT,WAAW,GACZ,EAAE,gBAAgB,kDAqDlB"}
1
+ {"version":3,"file":"UserMessage.d.ts","sourceRoot":"","sources":["../../../../src/client/components/chat/UserMessage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,UAAU,gBAAgB;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,iBAAiB,EAAE,CAAC;CACnC;AAED,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,SAAS,EACT,WAAW,GACZ,EAAE,gBAAgB,kDAwDlB"}