@mcp-use/cli 2.6.0-canary.11 → 2.6.0-canary.12
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.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
// ../../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.
|
|
3
|
+
// ../../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/esm_shims.js
|
|
4
4
|
import path from "path";
|
|
5
5
|
import { fileURLToPath } from "url";
|
|
6
6
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -357,9 +357,9 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
|
357
357
|
|
|
358
358
|
// ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js
|
|
359
359
|
var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
|
|
360
|
-
var GENERATOR = Symbol("GENERATOR");
|
|
361
|
-
var STYLER = Symbol("STYLER");
|
|
362
|
-
var IS_EMPTY = Symbol("IS_EMPTY");
|
|
360
|
+
var GENERATOR = /* @__PURE__ */ Symbol("GENERATOR");
|
|
361
|
+
var STYLER = /* @__PURE__ */ Symbol("STYLER");
|
|
362
|
+
var IS_EMPTY = /* @__PURE__ */ Symbol("IS_EMPTY");
|
|
363
363
|
var levelMapping = [
|
|
364
364
|
"ansi",
|
|
365
365
|
"ansi",
|
|
@@ -715,7 +715,7 @@ import { promisify as promisify6 } from "util";
|
|
|
715
715
|
import process7 from "process";
|
|
716
716
|
import { execFile as execFile6 } from "child_process";
|
|
717
717
|
|
|
718
|
-
// ../../node_modules/.pnpm/default-browser-id@5.0.
|
|
718
|
+
// ../../node_modules/.pnpm/default-browser-id@5.0.1/node_modules/default-browser-id/index.js
|
|
719
719
|
import { promisify as promisify3 } from "util";
|
|
720
720
|
import process5 from "process";
|
|
721
721
|
import { execFile as execFile3 } from "child_process";
|
|
@@ -726,7 +726,11 @@ async function defaultBrowserId() {
|
|
|
726
726
|
}
|
|
727
727
|
const { stdout } = await execFileAsync("defaults", ["read", "com.apple.LaunchServices/com.apple.launchservices.secure", "LSHandlers"]);
|
|
728
728
|
const match = /LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(stdout);
|
|
729
|
-
|
|
729
|
+
const browserId = match?.groups.id ?? "com.apple.Safari";
|
|
730
|
+
if (browserId === "com.apple.safari") {
|
|
731
|
+
return "com.apple.Safari";
|
|
732
|
+
}
|
|
733
|
+
return browserId;
|
|
730
734
|
}
|
|
731
735
|
|
|
732
736
|
// ../../node_modules/.pnpm/run-applescript@7.1.0/node_modules/run-applescript/index.js
|
|
@@ -825,7 +829,7 @@ var isInSsh = Boolean(process8.env.SSH_CONNECTION || process8.env.SSH_CLIENT ||
|
|
|
825
829
|
var is_in_ssh_default = isInSsh;
|
|
826
830
|
|
|
827
831
|
// ../../node_modules/.pnpm/open@11.0.0/node_modules/open/index.js
|
|
828
|
-
var fallbackAttemptSymbol = Symbol("fallbackAttempt");
|
|
832
|
+
var fallbackAttemptSymbol = /* @__PURE__ */ Symbol("fallbackAttempt");
|
|
829
833
|
var __dirname2 = import.meta.url ? path2.dirname(fileURLToPath2(import.meta.url)) : "";
|
|
830
834
|
var localXdgOpenPath = path2.join(__dirname2, "xdg-open");
|
|
831
835
|
var { platform, arch } = process9;
|