@mcp-use/cli 2.6.0-canary.11 → 2.6.0-canary.13
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 +11 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -7
- package/dist/index.js.map +1 -1
- package/package.json +8 -10
package/dist/index.cjs
CHANGED
|
@@ -23,7 +23,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
23
|
mod
|
|
24
24
|
));
|
|
25
25
|
|
|
26
|
-
// ../../node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.
|
|
26
|
+
// ../../node_modules/.pnpm/tsup@8.5.1_jiti@2.6.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/cjs_shims.js
|
|
27
27
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.tagName.toUpperCase() === "SCRIPT" ? document.currentScript.src : new URL("main.js", document.baseURI).href;
|
|
28
28
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
29
29
|
|
|
@@ -377,9 +377,9 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
|
377
377
|
|
|
378
378
|
// ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js
|
|
379
379
|
var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
|
|
380
|
-
var GENERATOR = Symbol("GENERATOR");
|
|
381
|
-
var STYLER = Symbol("STYLER");
|
|
382
|
-
var IS_EMPTY = Symbol("IS_EMPTY");
|
|
380
|
+
var GENERATOR = /* @__PURE__ */ Symbol("GENERATOR");
|
|
381
|
+
var STYLER = /* @__PURE__ */ Symbol("STYLER");
|
|
382
|
+
var IS_EMPTY = /* @__PURE__ */ Symbol("IS_EMPTY");
|
|
383
383
|
var levelMapping = [
|
|
384
384
|
"ansi",
|
|
385
385
|
"ansi",
|
|
@@ -735,7 +735,7 @@ var import_node_util6 = require("util");
|
|
|
735
735
|
var import_node_process6 = __toESM(require("process"), 1);
|
|
736
736
|
var import_node_child_process6 = require("child_process");
|
|
737
737
|
|
|
738
|
-
// ../../node_modules/.pnpm/default-browser-id@5.0.
|
|
738
|
+
// ../../node_modules/.pnpm/default-browser-id@5.0.1/node_modules/default-browser-id/index.js
|
|
739
739
|
var import_node_util3 = require("util");
|
|
740
740
|
var import_node_process4 = __toESM(require("process"), 1);
|
|
741
741
|
var import_node_child_process3 = require("child_process");
|
|
@@ -746,7 +746,11 @@ async function defaultBrowserId() {
|
|
|
746
746
|
}
|
|
747
747
|
const { stdout } = await execFileAsync("defaults", ["read", "com.apple.LaunchServices/com.apple.launchservices.secure", "LSHandlers"]);
|
|
748
748
|
const match = /LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(stdout);
|
|
749
|
-
|
|
749
|
+
const browserId = match?.groups.id ?? "com.apple.Safari";
|
|
750
|
+
if (browserId === "com.apple.safari") {
|
|
751
|
+
return "com.apple.Safari";
|
|
752
|
+
}
|
|
753
|
+
return browserId;
|
|
750
754
|
}
|
|
751
755
|
|
|
752
756
|
// ../../node_modules/.pnpm/run-applescript@7.1.0/node_modules/run-applescript/index.js
|
|
@@ -845,7 +849,7 @@ var isInSsh = Boolean(import_node_process7.default.env.SSH_CONNECTION || import_
|
|
|
845
849
|
var is_in_ssh_default = isInSsh;
|
|
846
850
|
|
|
847
851
|
// ../../node_modules/.pnpm/open@11.0.0/node_modules/open/index.js
|
|
848
|
-
var fallbackAttemptSymbol = Symbol("fallbackAttempt");
|
|
852
|
+
var fallbackAttemptSymbol = /* @__PURE__ */ Symbol("fallbackAttempt");
|
|
849
853
|
var __dirname2 = importMetaUrl ? import_node_path.default.dirname((0, import_node_url.fileURLToPath)(importMetaUrl)) : "";
|
|
850
854
|
var localXdgOpenPath = import_node_path.default.join(__dirname2, "xdg-open");
|
|
851
855
|
var { platform, arch } = import_node_process8.default;
|