@mcp-use/inspector 7.0.0-canary.22 → 7.0.0-canary.24

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.22";
26906
+ return "7.0.0-canary.24";
26907
26907
  } catch {
26908
26908
  return "0.0.0";
26909
26909
  }
@@ -43646,7 +43646,7 @@ function IA(e, t, n) {
43646
43646
  var LA, RA, zA, BA, VA, HA, UA, WA, GA, KA, qA, JA, YA, XA, nle, rle, ZA, QA, $A, ile, ej, tj, nj, rj, ij, aj, oj, sj, cj, lj, uj, dj, fj, pj, mj, ale, ole, sle, hj, cle, lle, gj, _j, vj, yj, bj, xj, Sj, Cj, wj, Tj, Ej, Dj, Oj, kj, ule, Aj, jj, Mj, Nj, dle, Pj, Fj, Ij, Lj, Rj, zj, Bj, Vj, Hj, Uj, Wj, Gj, Kj, qj, fle, Jj, Yj, Xj, Zj, ple, mle, hle, Qj, gle, $j, _le, eM, vle, tM, yle, ble, nM, rM, xle, Sle, iM, aM, Cle, wle, Tle, Ele, Dle, Ole, kle, oM, sM, Ale, jle, Mle, Nle, Ple, Fle, Ile, Lle, Rle, zle, cM, lM, uM, Ble, dM, fM, pM, mM, hM, Vle, gM, Hle, _M, vM, yM, bM, xM, SM, CM, wM, TM, EM, DM, OM, kM, AM, jM, MM, NM, PM, FM, IM, LM, RM, zM, BM, VM, HM, UM, WM, GM, KM, qM, JM, Ule, YM, Wle, XM, ZM, QM, $M, eN, tN, Gle, nN, Kle, qle, rN, iN, Jle, aN, oN, sN, cN, lN, Yle, uN, Xle, Zle, Qle, dN, $le, fN, eue, pN, tue, mN, hN, gN, _N, vN, yN, bN, xN, SN, CN, wN, TN, EN, DN, ON, nue, rue, kN, AN, iue, aue, jN, MN, NN, oue, sue, cue, PN, FN, lue, IN, uue, LN, RN, due, fue, pue, zN, mue, BN, VN, HN, UN, WN, GN, KN, qN, JN, hue, YN, XN, ZN, QN, $N, eP, tP, nP, gue, _ue, rP, iP, aP, oP, sP, cP, lP, uP, dP, fP, vue, yue, bue, pP, xue, Sue, mP, hP, gP, _P, vP, yP, bP, xP, SP, Cue, CP, wP, wue, Tue, Eue, Due, Oue, kue, Aue, TP, EP, DP, OP, kP, AP, jP, jue, Mue, Nue, Pue, MP, NP, PP, FP, IP, LP, RP, zP, BP, VP, HP, UP, WP, GP, KP, qP, JP, YP, XP, ZP, QP, $P, eF, tF, nF, rF, iF, aF, oF, sF, cF, lF, uF, dF, fF, pF, mF, hF, gF, _F, vF, yF, bF, xF, SF, CF, wF, TF, EF, DF, OF, kF, AF, jF, MF, NF, PF, FF, IF, LF, RF, zF, BF, VF, Fue, HF, Iue, Lue, Rue, zue, UF, Bue = o((() => {
43647
43647
  for (LA = typeof window < "u" ? window : void 0, RA = typeof globalThis < "u" ? globalThis : LA, typeof self > "u" && (RA.self = RA), typeof File > "u" && (RA.File = function() {}), zA = Array.prototype, BA = zA.forEach, VA = zA.indexOf, HA = RA?.navigator, UA = RA?.document, WA = RA?.location, GA = RA?.fetch, KA = RA != null && RA.XMLHttpRequest && ("withCredentials" in new RA.XMLHttpRequest()) ? RA.XMLHttpRequest : void 0, qA = RA?.AbortController, JA = HA?.userAgent, YA = LA ?? {}, XA = {
43648
43648
  DEBUG: !1,
43649
- LIB_VERSION: "1.351.4"
43649
+ LIB_VERSION: "1.351.3"
43650
43650
  }, nle = [
43651
43651
  "$snapshot",
43652
43652
  "$pageview",
@@ -45803,13 +45803,11 @@ var LA, RA, zA, BA, VA, HA, UA, WA, GA, KA, qA, JA, YA, XA, nle, rle, ZA, QA, $A
45803
45803
  }
45804
45804
  }
45805
45805
  getFeatureFlag(e, t) {
45806
- if (t === void 0 && (t = {}), !t.fresh || this.vi) {
45807
- if (this.li || this.getFlags() && this.getFlags().length > 0) {
45808
- var n = this.getFeatureFlagResult(e, t);
45809
- return n?.variant ?? n?.enabled;
45810
- }
45811
- CP.warn("getFeatureFlag for key \"" + e + "\" failed. Feature flags didn't load in time.");
45806
+ if (t === void 0 && (t = {}), this.li || this.getFlags() && this.getFlags().length > 0) {
45807
+ var n = this.getFeatureFlagResult(e, t);
45808
+ return n?.variant ?? n?.enabled;
45812
45809
  }
45810
+ CP.warn("getFeatureFlag for key \"" + e + "\" failed. Feature flags didn't load in time.");
45813
45811
  }
45814
45812
  getFeatureFlagDetails(e) {
45815
45813
  return this.getFlagsWithDetails()[e];
@@ -45818,7 +45816,7 @@ var LA, RA, zA, BA, VA, HA, UA, WA, GA, KA, qA, JA, YA, XA, nle, rle, ZA, QA, $A
45818
45816
  return this.getFeatureFlagResult(e, { send_event: !1 })?.payload;
45819
45817
  }
45820
45818
  getFeatureFlagResult(e, t) {
45821
- if (t === void 0 && (t = {}), !t.fresh || this.vi) if (this.li || this.getFlags() && this.getFlags().length > 0) {
45819
+ if (t === void 0 && (t = {}), this.li || this.getFlags() && this.getFlags().length > 0) {
45822
45820
  var n = this.getFlagVariants(), r = e in n, i = n[e], a = this.getFlagPayloads()[e], o = String(i), s = this._instance.get_property(kP) || void 0, c = this._instance.get_property(AP) || void 0, l = this._instance.get_property(RM) || {};
45823
45821
  if ((t.send_event || !("send_event" in t)) && (!(e in l) || !l[e].includes(o))) {
45824
45822
  var u, d, f, p, m, h, g, _;
@@ -45871,13 +45869,11 @@ var LA, RA, zA, BA, VA, HA, UA, WA, GA, KA, qA, JA, YA, XA, nle, rle, ZA, QA, $A
45871
45869
  });
45872
45870
  }
45873
45871
  isFeatureEnabled(e, t) {
45874
- if (t === void 0 && (t = {}), !t.fresh || this.vi) {
45875
- if (this.li || this.getFlags() && this.getFlags().length > 0) {
45876
- var n = this.getFeatureFlag(e, t);
45877
- return sj(n) ? void 0 : !!n;
45878
- }
45879
- CP.warn("isFeatureEnabled for key \"" + e + "\" failed. Feature flags didn't load in time.");
45872
+ if (t === void 0 && (t = {}), this.li || this.getFlags() && this.getFlags().length > 0) {
45873
+ var n = this.getFeatureFlag(e, t);
45874
+ return sj(n) ? void 0 : !!n;
45880
45875
  }
45876
+ CP.warn("isFeatureEnabled for key \"" + e + "\" failed. Feature flags didn't load in time.");
45881
45877
  }
45882
45878
  addFeatureFlagsHandler(e) {
45883
45879
  this.featureFlagEventHandlers.push(e);
@@ -48440,9 +48436,9 @@ var LA, RA, zA, BA, VA, HA, UA, WA, GA, KA, qA, JA, YA, XA, nle, rle, ZA, QA, $A
48440
48436
  }(), Iue);
48441
48437
  }));
48442
48438
  //#endregion
48443
- //#region ../mcp-use/dist/chunk-F7NNO36N.js
48439
+ //#region ../mcp-use/dist/chunk-VUGVCWS6.js
48444
48440
  Yp();
48445
- var Vue = "1.29.0-canary.22";
48441
+ var Vue = "1.29.0-canary.24";
48446
48442
  function WF() {
48447
48443
  return Vue;
48448
48444
  }
@@ -1,15 +1,5 @@
1
1
  import { type RefObject } from "react";
2
- export type WidgetDisplayMode = "inline" | "pip" | "fullscreen";
3
- /** Shell when the browser owns the viewport via Fullscreen API. */
4
- export declare const WIDGET_FULLSCREEN_NATIVE_CLASSES = "w-full h-full min-h-0 bg-background flex flex-col [&:fullscreen]:h-full [&:fullscreen]:w-full [&:fullscreen]:bg-background";
5
- /** Shell when Fullscreen API is unavailable (CSS fallback). */
6
- export declare const WIDGET_FULLSCREEN_OVERLAY_CLASSES = "fixed inset-0 z-[100] w-full h-full min-h-0 bg-background flex flex-col [&:fullscreen]:h-full [&:fullscreen]:w-full [&:fullscreen]:bg-background";
7
- /** PiP floating card; portaled to document.body to escape host stacking contexts. */
8
- export declare const WIDGET_PIP_SHELL_CLASSES: string;
9
- /** @deprecated Use WIDGET_DISPLAY_MODE_ATTR */
10
- export declare const WIDGET_FULLSCREEN_DOCUMENT_ATTR = "data-mcp-widget-fullscreen";
11
- export declare const WIDGET_DISPLAY_MODE_ATTR = "data-mcp-widget-display-mode";
12
- export declare function useWidgetDisplayModeDocumentChrome(displayMode: WidgetDisplayMode): void;
2
+ type WidgetDisplayMode = "inline" | "pip" | "fullscreen";
13
3
  /** Native Fullscreen API first; CSS overlay only when `requestFullscreen` fails. */
14
4
  export declare function useWidgetDisplayModeControls({ containerRef, displayMode, setDisplayMode, }: {
15
5
  /** Shell that includes exit chrome + widget; promoted via `requestFullscreen`. */
@@ -23,8 +13,5 @@ export declare function useWidgetDisplayModeControls({ containerRef, displayMode
23
13
  isFullscreen: boolean;
24
14
  isPip: boolean;
25
15
  };
26
- /** @deprecated Use useWidgetDisplayModeControls */
27
- export declare const useWidgetFullscreenControls: typeof useWidgetDisplayModeControls;
28
- /** @deprecated Use useWidgetDisplayModeDocumentChrome */
29
- export declare const useWidgetFullscreenDocumentChrome: (active: boolean) => void;
16
+ export {};
30
17
  //# sourceMappingURL=widget-fullscreen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"widget-fullscreen.d.ts","sourceRoot":"","sources":["../../../src/client/lib/widget-fullscreen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzE,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,KAAK,GAAG,YAAY,CAAC;AAKhE,mEAAmE;AACnE,eAAO,MAAM,gCAAgC,+HAAa,CAAC;AAE3D,+DAA+D;AAC/D,eAAO,MAAM,iCAAiC,qJAAwC,CAAC;AAEvF,qFAAqF;AACrF,eAAO,MAAM,wBAAwB,QAM1B,CAAC;AAEZ,+CAA+C;AAC/C,eAAO,MAAM,+BAA+B,+BAA+B,CAAC;AAE5E,eAAO,MAAM,wBAAwB,iCAAiC,CAAC;AAQvE,wBAAgB,kCAAkC,CAChD,WAAW,EAAE,iBAAiB,GAC7B,IAAI,CA4BN;AAED,oFAAoF;AACpF,wBAAgB,4BAA4B,CAAC,EAC3C,YAAY,EACZ,WAAW,EACX,cAAc,GACf,EAAE;IACD,kFAAkF;IAClF,YAAY,EAAE,SAAS,CAAC,WAAW,GAAG,IAA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