agent-tower 0.1.4 → 0.1.6
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/cli.js +0 -0
- package/dist/mcp/index.js +0 -0
- package/node_modules/prisma/node_modules/@prisma/debug/LICENSE +201 -0
- package/node_modules/prisma/node_modules/@prisma/debug/README.md +29 -0
- package/node_modules/prisma/node_modules/@prisma/debug/dist/index.d.ts +35 -0
- package/node_modules/prisma/node_modules/@prisma/debug/dist/index.js +236 -0
- package/node_modules/prisma/node_modules/@prisma/debug/dist/util.d.ts +2 -0
- package/node_modules/prisma/node_modules/@prisma/debug/dist/util.js +74 -0
- package/node_modules/prisma/node_modules/@prisma/debug/package.json +37 -0
- package/node_modules/prisma/node_modules/@prisma/engines-version/LICENSE +201 -0
- package/node_modules/prisma/node_modules/@prisma/engines-version/README.md +8 -0
- package/node_modules/prisma/node_modules/@prisma/engines-version/index.d.ts +1 -0
- package/node_modules/prisma/node_modules/@prisma/engines-version/index.js +5 -0
- package/node_modules/prisma/node_modules/@prisma/engines-version/package.json +27 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/LICENSE +201 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/README.md +8 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/BinaryType.d.ts +5 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/BinaryType.js +25 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chmodPlusX.d.ts +1 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chmodPlusX.js +25 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-2BCLJS3M.js +2385 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-4LX3XBNY.js +161 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-AH6QHEOA.js +66 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-CWGQAQ3T.js +49 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-FQ2BOR66.js +2457 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-KDPLGCY6.js +1404 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-KJ74H3SQ.js +2385 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-MX3HXAU2.js +44 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-PXQVM7NP.js +159 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-QLWYUM7O.js +8153 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-QSTZGX47.js +70 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-RGVHWUUH.js +2786 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-VTJS2JJN.js +4232 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/chunk-X37PZICB.js +29 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/cleanupCache.d.ts +1 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/cleanupCache.js +28 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/download.d.ts +27 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/download.js +41 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/downloadZip.d.ts +6 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/downloadZip.js +30 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/env.d.ts +14 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/env.js +29 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/getHash.d.ts +1 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/getHash.js +25 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/getProxyAgent.d.ts +3 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/getProxyAgent.js +25 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/index.d.ts +5 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/index.js +49 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/log.d.ts +2 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/log.js +25 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/multipart-parser-47FFAP42.js +371 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/utils.d.ts +11 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/dist/utils.js +29 -0
- package/node_modules/prisma/node_modules/@prisma/fetch-engine/package.json +59 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/LICENSE +201 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/README.md +16 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/assertNodeAPISupported.d.ts +4 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/assertNodeAPISupported.js +25 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/binaryTargets.d.ts +2 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/binaryTargets.js +26 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-2ESYSVXG.js +67 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-2U36ISZO.js +34 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-6HZWON4S.js +1 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-7MLUNQIZ.js +62 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-B23KD6U3.js +53 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-D7S5FGQN.js +367 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-FWMN4WME.js +41 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-M5NKJZ76.js +14956 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-O5EOXX3N.js +43 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-YDM7ULQH.js +580 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/chunk-YVXCXD3A.js +70 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/getNodeAPIName.d.ts +8 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/getNodeAPIName.js +25 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/getPlatform.d.ts +105 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/getPlatform.js +38 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/index.d.ts +7 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/index.js +43 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/link.d.ts +1 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/link.js +26 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/logger.d.ts +8 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/logger.js +29 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/binaryTargetRegex.d.ts +8 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/binaryTargetRegex.js +27 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/index.d.ts +1 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/index.js +28 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/jestContext.d.ts +108 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/jestContext.js +27 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/dist/test-utils/jestSnapshotSerializer.js +205 -0
- package/node_modules/prisma/node_modules/@prisma/get-platform/package.json +49 -0
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var assertNodeAPISupported_exports = {};
|
|
20
|
+
__export(assertNodeAPISupported_exports, {
|
|
21
|
+
assertNodeAPISupported: () => import_chunk_O5EOXX3N.assertNodeAPISupported
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(assertNodeAPISupported_exports);
|
|
24
|
+
var import_chunk_O5EOXX3N = require("./chunk-O5EOXX3N.js");
|
|
25
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type BinaryTarget = 'native' | 'darwin' | 'darwin-arm64' | 'debian-openssl-1.0.x' | 'debian-openssl-1.1.x' | 'debian-openssl-3.0.x' | 'rhel-openssl-1.0.x' | 'rhel-openssl-1.1.x' | 'rhel-openssl-3.0.x' | 'linux-arm64-openssl-1.1.x' | 'linux-arm64-openssl-1.0.x' | 'linux-arm64-openssl-3.0.x' | 'linux-arm-openssl-1.1.x' | 'linux-arm-openssl-1.0.x' | 'linux-arm-openssl-3.0.x' | 'linux-musl' | 'linux-musl-openssl-3.0.x' | 'linux-musl-arm64-openssl-1.1.x' | 'linux-musl-arm64-openssl-3.0.x' | 'linux-nixos' | 'linux-static-x64' | 'linux-static-arm64' | 'windows' | 'freebsd11' | 'freebsd12' | 'freebsd13' | 'freebsd14' | 'freebsd15' | 'openbsd' | 'netbsd' | 'arm';
|
|
2
|
+
export declare const binaryTargets: BinaryTarget[];
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var binaryTargets_exports = {};
|
|
20
|
+
__export(binaryTargets_exports, {
|
|
21
|
+
binaryTargets: () => import_chunk_7MLUNQIZ.binaryTargets
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(binaryTargets_exports);
|
|
24
|
+
var import_chunk_7MLUNQIZ = require("./chunk-7MLUNQIZ.js");
|
|
25
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
26
|
+
(0, import_chunk_7MLUNQIZ.init_binaryTargets)();
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var chunk_2ESYSVXG_exports = {};
|
|
20
|
+
__export(chunk_2ESYSVXG_exports, {
|
|
21
|
+
__commonJS: () => __commonJS,
|
|
22
|
+
__esm: () => __esm,
|
|
23
|
+
__export: () => __export2,
|
|
24
|
+
__require: () => __require,
|
|
25
|
+
__toCommonJS: () => __toCommonJS2,
|
|
26
|
+
__toESM: () => __toESM
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(chunk_2ESYSVXG_exports);
|
|
29
|
+
var __create = Object.create;
|
|
30
|
+
var __defProp2 = Object.defineProperty;
|
|
31
|
+
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
32
|
+
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
33
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
34
|
+
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
35
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
36
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
37
|
+
}) : x)(function(x) {
|
|
38
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
39
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
40
|
+
});
|
|
41
|
+
var __esm = (fn, res) => function __init() {
|
|
42
|
+
return fn && (res = (0, fn[__getOwnPropNames2(fn)[0]])(fn = 0)), res;
|
|
43
|
+
};
|
|
44
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
45
|
+
return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
46
|
+
};
|
|
47
|
+
var __export2 = (target, all) => {
|
|
48
|
+
for (var name in all)
|
|
49
|
+
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
50
|
+
};
|
|
51
|
+
var __copyProps2 = (to, from, except, desc) => {
|
|
52
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
53
|
+
for (let key of __getOwnPropNames2(from))
|
|
54
|
+
if (!__hasOwnProp2.call(to, key) && key !== except)
|
|
55
|
+
__defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
56
|
+
}
|
|
57
|
+
return to;
|
|
58
|
+
};
|
|
59
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps2(
|
|
60
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
61
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
62
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
63
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
64
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
|
|
65
|
+
mod
|
|
66
|
+
));
|
|
67
|
+
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var chunk_2U36ISZO_exports = {};
|
|
20
|
+
__export(chunk_2U36ISZO_exports, {
|
|
21
|
+
getNodeAPIName: () => getNodeAPIName
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(chunk_2U36ISZO_exports);
|
|
24
|
+
var NODE_API_QUERY_ENGINE_URL_BASE = "libquery_engine";
|
|
25
|
+
function getNodeAPIName(binaryTarget, type) {
|
|
26
|
+
const isUrl = type === "url";
|
|
27
|
+
if (binaryTarget.includes("windows")) {
|
|
28
|
+
return isUrl ? `query_engine.dll.node` : `query_engine-${binaryTarget}.dll.node`;
|
|
29
|
+
} else if (binaryTarget.includes("darwin")) {
|
|
30
|
+
return isUrl ? `${NODE_API_QUERY_ENGINE_URL_BASE}.dylib.node` : `${NODE_API_QUERY_ENGINE_URL_BASE}-${binaryTarget}.dylib.node`;
|
|
31
|
+
} else {
|
|
32
|
+
return isUrl ? `${NODE_API_QUERY_ENGINE_URL_BASE}.so.node` : `${NODE_API_QUERY_ENGINE_URL_BASE}-${binaryTarget}.so.node`;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var chunk_7MLUNQIZ_exports = {};
|
|
20
|
+
__export(chunk_7MLUNQIZ_exports, {
|
|
21
|
+
binaryTargets: () => binaryTargets,
|
|
22
|
+
init_binaryTargets: () => init_binaryTargets
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(chunk_7MLUNQIZ_exports);
|
|
25
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
26
|
+
var binaryTargets;
|
|
27
|
+
var init_binaryTargets = (0, import_chunk_2ESYSVXG.__esm)({
|
|
28
|
+
"src/binaryTargets.ts"() {
|
|
29
|
+
binaryTargets = [
|
|
30
|
+
"darwin",
|
|
31
|
+
"darwin-arm64",
|
|
32
|
+
"debian-openssl-1.0.x",
|
|
33
|
+
"debian-openssl-1.1.x",
|
|
34
|
+
"debian-openssl-3.0.x",
|
|
35
|
+
"rhel-openssl-1.0.x",
|
|
36
|
+
"rhel-openssl-1.1.x",
|
|
37
|
+
"rhel-openssl-3.0.x",
|
|
38
|
+
"linux-arm64-openssl-1.1.x",
|
|
39
|
+
"linux-arm64-openssl-1.0.x",
|
|
40
|
+
"linux-arm64-openssl-3.0.x",
|
|
41
|
+
"linux-arm-openssl-1.1.x",
|
|
42
|
+
"linux-arm-openssl-1.0.x",
|
|
43
|
+
"linux-arm-openssl-3.0.x",
|
|
44
|
+
"linux-musl",
|
|
45
|
+
"linux-musl-openssl-3.0.x",
|
|
46
|
+
"linux-musl-arm64-openssl-1.1.x",
|
|
47
|
+
"linux-musl-arm64-openssl-3.0.x",
|
|
48
|
+
"linux-nixos",
|
|
49
|
+
"linux-static-x64",
|
|
50
|
+
"linux-static-arm64",
|
|
51
|
+
"windows",
|
|
52
|
+
"freebsd11",
|
|
53
|
+
"freebsd12",
|
|
54
|
+
"freebsd13",
|
|
55
|
+
"freebsd14",
|
|
56
|
+
"freebsd15",
|
|
57
|
+
"openbsd",
|
|
58
|
+
"netbsd",
|
|
59
|
+
"arm"
|
|
60
|
+
];
|
|
61
|
+
}
|
|
62
|
+
});
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var chunk_B23KD6U3_exports = {};
|
|
20
|
+
__export(chunk_B23KD6U3_exports, {
|
|
21
|
+
binaryTargetRegex: () => binaryTargetRegex,
|
|
22
|
+
binaryTargetRegex_exports: () => binaryTargetRegex_exports,
|
|
23
|
+
init_binaryTargetRegex: () => init_binaryTargetRegex
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(chunk_B23KD6U3_exports);
|
|
26
|
+
var import_chunk_7MLUNQIZ = require("./chunk-7MLUNQIZ.js");
|
|
27
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
28
|
+
var require_escape_string_regexp = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
29
|
+
"../../node_modules/.pnpm/escape-string-regexp@4.0.0/node_modules/escape-string-regexp/index.js"(exports, module2) {
|
|
30
|
+
"use strict";
|
|
31
|
+
module2.exports = (string) => {
|
|
32
|
+
if (typeof string !== "string") {
|
|
33
|
+
throw new TypeError("Expected a string");
|
|
34
|
+
}
|
|
35
|
+
return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
var binaryTargetRegex_exports = {};
|
|
40
|
+
(0, import_chunk_2ESYSVXG.__export)(binaryTargetRegex_exports, {
|
|
41
|
+
binaryTargetRegex: () => binaryTargetRegex
|
|
42
|
+
});
|
|
43
|
+
var import_escape_string_regexp, binaryTargetRegex;
|
|
44
|
+
var init_binaryTargetRegex = (0, import_chunk_2ESYSVXG.__esm)({
|
|
45
|
+
"src/test-utils/binaryTargetRegex.ts"() {
|
|
46
|
+
import_escape_string_regexp = (0, import_chunk_2ESYSVXG.__toESM)(require_escape_string_regexp());
|
|
47
|
+
(0, import_chunk_7MLUNQIZ.init_binaryTargets)();
|
|
48
|
+
binaryTargetRegex = new RegExp(
|
|
49
|
+
"(" + [...import_chunk_7MLUNQIZ.binaryTargets].sort((a, b) => b.length - a.length).map((p) => (0, import_escape_string_regexp.default)(p)).join("|") + ")",
|
|
50
|
+
"g"
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var chunk_D7S5FGQN_exports = {};
|
|
20
|
+
__export(chunk_D7S5FGQN_exports, {
|
|
21
|
+
link: () => link
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(chunk_D7S5FGQN_exports);
|
|
24
|
+
var import_chunk_YVXCXD3A = require("./chunk-YVXCXD3A.js");
|
|
25
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
26
|
+
var require_ansi_escapes = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
27
|
+
"../../node_modules/.pnpm/ansi-escapes@4.3.2/node_modules/ansi-escapes/index.js"(exports, module2) {
|
|
28
|
+
"use strict";
|
|
29
|
+
var ansiEscapes = module2.exports;
|
|
30
|
+
module2.exports.default = ansiEscapes;
|
|
31
|
+
var ESC = "\x1B[";
|
|
32
|
+
var OSC = "\x1B]";
|
|
33
|
+
var BEL = "\x07";
|
|
34
|
+
var SEP = ";";
|
|
35
|
+
var isTerminalApp = process.env.TERM_PROGRAM === "Apple_Terminal";
|
|
36
|
+
ansiEscapes.cursorTo = (x, y) => {
|
|
37
|
+
if (typeof x !== "number") {
|
|
38
|
+
throw new TypeError("The `x` argument is required");
|
|
39
|
+
}
|
|
40
|
+
if (typeof y !== "number") {
|
|
41
|
+
return ESC + (x + 1) + "G";
|
|
42
|
+
}
|
|
43
|
+
return ESC + (y + 1) + ";" + (x + 1) + "H";
|
|
44
|
+
};
|
|
45
|
+
ansiEscapes.cursorMove = (x, y) => {
|
|
46
|
+
if (typeof x !== "number") {
|
|
47
|
+
throw new TypeError("The `x` argument is required");
|
|
48
|
+
}
|
|
49
|
+
let ret = "";
|
|
50
|
+
if (x < 0) {
|
|
51
|
+
ret += ESC + -x + "D";
|
|
52
|
+
} else if (x > 0) {
|
|
53
|
+
ret += ESC + x + "C";
|
|
54
|
+
}
|
|
55
|
+
if (y < 0) {
|
|
56
|
+
ret += ESC + -y + "A";
|
|
57
|
+
} else if (y > 0) {
|
|
58
|
+
ret += ESC + y + "B";
|
|
59
|
+
}
|
|
60
|
+
return ret;
|
|
61
|
+
};
|
|
62
|
+
ansiEscapes.cursorUp = (count = 1) => ESC + count + "A";
|
|
63
|
+
ansiEscapes.cursorDown = (count = 1) => ESC + count + "B";
|
|
64
|
+
ansiEscapes.cursorForward = (count = 1) => ESC + count + "C";
|
|
65
|
+
ansiEscapes.cursorBackward = (count = 1) => ESC + count + "D";
|
|
66
|
+
ansiEscapes.cursorLeft = ESC + "G";
|
|
67
|
+
ansiEscapes.cursorSavePosition = isTerminalApp ? "\x1B7" : ESC + "s";
|
|
68
|
+
ansiEscapes.cursorRestorePosition = isTerminalApp ? "\x1B8" : ESC + "u";
|
|
69
|
+
ansiEscapes.cursorGetPosition = ESC + "6n";
|
|
70
|
+
ansiEscapes.cursorNextLine = ESC + "E";
|
|
71
|
+
ansiEscapes.cursorPrevLine = ESC + "F";
|
|
72
|
+
ansiEscapes.cursorHide = ESC + "?25l";
|
|
73
|
+
ansiEscapes.cursorShow = ESC + "?25h";
|
|
74
|
+
ansiEscapes.eraseLines = (count) => {
|
|
75
|
+
let clear = "";
|
|
76
|
+
for (let i = 0; i < count; i++) {
|
|
77
|
+
clear += ansiEscapes.eraseLine + (i < count - 1 ? ansiEscapes.cursorUp() : "");
|
|
78
|
+
}
|
|
79
|
+
if (count) {
|
|
80
|
+
clear += ansiEscapes.cursorLeft;
|
|
81
|
+
}
|
|
82
|
+
return clear;
|
|
83
|
+
};
|
|
84
|
+
ansiEscapes.eraseEndLine = ESC + "K";
|
|
85
|
+
ansiEscapes.eraseStartLine = ESC + "1K";
|
|
86
|
+
ansiEscapes.eraseLine = ESC + "2K";
|
|
87
|
+
ansiEscapes.eraseDown = ESC + "J";
|
|
88
|
+
ansiEscapes.eraseUp = ESC + "1J";
|
|
89
|
+
ansiEscapes.eraseScreen = ESC + "2J";
|
|
90
|
+
ansiEscapes.scrollUp = ESC + "S";
|
|
91
|
+
ansiEscapes.scrollDown = ESC + "T";
|
|
92
|
+
ansiEscapes.clearScreen = "\x1Bc";
|
|
93
|
+
ansiEscapes.clearTerminal = process.platform === "win32" ? `${ansiEscapes.eraseScreen}${ESC}0f` : (
|
|
94
|
+
// 1. Erases the screen (Only done in case `2` is not supported)
|
|
95
|
+
// 2. Erases the whole screen including scrollback buffer
|
|
96
|
+
// 3. Moves cursor to the top-left position
|
|
97
|
+
// More info: https://www.real-world-systems.com/docs/ANSIcode.html
|
|
98
|
+
`${ansiEscapes.eraseScreen}${ESC}3J${ESC}H`
|
|
99
|
+
);
|
|
100
|
+
ansiEscapes.beep = BEL;
|
|
101
|
+
ansiEscapes.link = (text, url) => {
|
|
102
|
+
return [
|
|
103
|
+
OSC,
|
|
104
|
+
"8",
|
|
105
|
+
SEP,
|
|
106
|
+
SEP,
|
|
107
|
+
url,
|
|
108
|
+
BEL,
|
|
109
|
+
text,
|
|
110
|
+
OSC,
|
|
111
|
+
"8",
|
|
112
|
+
SEP,
|
|
113
|
+
SEP,
|
|
114
|
+
BEL
|
|
115
|
+
].join("");
|
|
116
|
+
};
|
|
117
|
+
ansiEscapes.image = (buffer, options = {}) => {
|
|
118
|
+
let ret = `${OSC}1337;File=inline=1`;
|
|
119
|
+
if (options.width) {
|
|
120
|
+
ret += `;width=${options.width}`;
|
|
121
|
+
}
|
|
122
|
+
if (options.height) {
|
|
123
|
+
ret += `;height=${options.height}`;
|
|
124
|
+
}
|
|
125
|
+
if (options.preserveAspectRatio === false) {
|
|
126
|
+
ret += ";preserveAspectRatio=0";
|
|
127
|
+
}
|
|
128
|
+
return ret + ":" + buffer.toString("base64") + BEL;
|
|
129
|
+
};
|
|
130
|
+
ansiEscapes.iTerm = {
|
|
131
|
+
setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
|
|
132
|
+
annotation: (message, options = {}) => {
|
|
133
|
+
let ret = `${OSC}1337;`;
|
|
134
|
+
const hasX = typeof options.x !== "undefined";
|
|
135
|
+
const hasY = typeof options.y !== "undefined";
|
|
136
|
+
if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== "undefined")) {
|
|
137
|
+
throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");
|
|
138
|
+
}
|
|
139
|
+
message = message.replace(/\|/g, "");
|
|
140
|
+
ret += options.isHidden ? "AddHiddenAnnotation=" : "AddAnnotation=";
|
|
141
|
+
if (options.length > 0) {
|
|
142
|
+
ret += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join("|");
|
|
143
|
+
} else {
|
|
144
|
+
ret += message;
|
|
145
|
+
}
|
|
146
|
+
return ret + BEL;
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
var require_has_flag = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
152
|
+
"../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module2) {
|
|
153
|
+
"use strict";
|
|
154
|
+
module2.exports = (flag, argv = process.argv) => {
|
|
155
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
156
|
+
const position = argv.indexOf(prefix + flag);
|
|
157
|
+
const terminatorPosition = argv.indexOf("--");
|
|
158
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
var require_supports_color = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
163
|
+
"../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports, module2) {
|
|
164
|
+
"use strict";
|
|
165
|
+
var os = (0, import_chunk_2ESYSVXG.__require)("os");
|
|
166
|
+
var tty = (0, import_chunk_2ESYSVXG.__require)("tty");
|
|
167
|
+
var hasFlag = require_has_flag();
|
|
168
|
+
var { env } = process;
|
|
169
|
+
var forceColor;
|
|
170
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
171
|
+
forceColor = 0;
|
|
172
|
+
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
173
|
+
forceColor = 1;
|
|
174
|
+
}
|
|
175
|
+
if ("FORCE_COLOR" in env) {
|
|
176
|
+
if (env.FORCE_COLOR === "true") {
|
|
177
|
+
forceColor = 1;
|
|
178
|
+
} else if (env.FORCE_COLOR === "false") {
|
|
179
|
+
forceColor = 0;
|
|
180
|
+
} else {
|
|
181
|
+
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
function translateLevel(level) {
|
|
185
|
+
if (level === 0) {
|
|
186
|
+
return false;
|
|
187
|
+
}
|
|
188
|
+
return {
|
|
189
|
+
level,
|
|
190
|
+
hasBasic: true,
|
|
191
|
+
has256: level >= 2,
|
|
192
|
+
has16m: level >= 3
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
function supportsColor(haveStream, streamIsTTY) {
|
|
196
|
+
if (forceColor === 0) {
|
|
197
|
+
return 0;
|
|
198
|
+
}
|
|
199
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
200
|
+
return 3;
|
|
201
|
+
}
|
|
202
|
+
if (hasFlag("color=256")) {
|
|
203
|
+
return 2;
|
|
204
|
+
}
|
|
205
|
+
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
206
|
+
return 0;
|
|
207
|
+
}
|
|
208
|
+
const min = forceColor || 0;
|
|
209
|
+
if (env.TERM === "dumb") {
|
|
210
|
+
return min;
|
|
211
|
+
}
|
|
212
|
+
if (process.platform === "win32") {
|
|
213
|
+
const osRelease = os.release().split(".");
|
|
214
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
215
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
216
|
+
}
|
|
217
|
+
return 1;
|
|
218
|
+
}
|
|
219
|
+
if ("CI" in env) {
|
|
220
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
221
|
+
return 1;
|
|
222
|
+
}
|
|
223
|
+
return min;
|
|
224
|
+
}
|
|
225
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
226
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
227
|
+
}
|
|
228
|
+
if (env.COLORTERM === "truecolor") {
|
|
229
|
+
return 3;
|
|
230
|
+
}
|
|
231
|
+
if ("TERM_PROGRAM" in env) {
|
|
232
|
+
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
233
|
+
switch (env.TERM_PROGRAM) {
|
|
234
|
+
case "iTerm.app":
|
|
235
|
+
return version >= 3 ? 3 : 2;
|
|
236
|
+
case "Apple_Terminal":
|
|
237
|
+
return 2;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
241
|
+
return 2;
|
|
242
|
+
}
|
|
243
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
244
|
+
return 1;
|
|
245
|
+
}
|
|
246
|
+
if ("COLORTERM" in env) {
|
|
247
|
+
return 1;
|
|
248
|
+
}
|
|
249
|
+
return min;
|
|
250
|
+
}
|
|
251
|
+
function getSupportLevel(stream) {
|
|
252
|
+
const level = supportsColor(stream, stream && stream.isTTY);
|
|
253
|
+
return translateLevel(level);
|
|
254
|
+
}
|
|
255
|
+
module2.exports = {
|
|
256
|
+
supportsColor: getSupportLevel,
|
|
257
|
+
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
258
|
+
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
var require_supports_hyperlinks = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
263
|
+
"../../node_modules/.pnpm/supports-hyperlinks@2.3.0/node_modules/supports-hyperlinks/index.js"(exports, module2) {
|
|
264
|
+
"use strict";
|
|
265
|
+
var supportsColor = require_supports_color();
|
|
266
|
+
var hasFlag = require_has_flag();
|
|
267
|
+
function parseVersion(versionString) {
|
|
268
|
+
if (/^\d{3,4}$/.test(versionString)) {
|
|
269
|
+
const m = /(\d{1,2})(\d{2})/.exec(versionString);
|
|
270
|
+
return {
|
|
271
|
+
major: 0,
|
|
272
|
+
minor: parseInt(m[1], 10),
|
|
273
|
+
patch: parseInt(m[2], 10)
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
const versions = (versionString || "").split(".").map((n) => parseInt(n, 10));
|
|
277
|
+
return {
|
|
278
|
+
major: versions[0],
|
|
279
|
+
minor: versions[1],
|
|
280
|
+
patch: versions[2]
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
function supportsHyperlink(stream) {
|
|
284
|
+
const { env } = process;
|
|
285
|
+
if ("FORCE_HYPERLINK" in env) {
|
|
286
|
+
return !(env.FORCE_HYPERLINK.length > 0 && parseInt(env.FORCE_HYPERLINK, 10) === 0);
|
|
287
|
+
}
|
|
288
|
+
if (hasFlag("no-hyperlink") || hasFlag("no-hyperlinks") || hasFlag("hyperlink=false") || hasFlag("hyperlink=never")) {
|
|
289
|
+
return false;
|
|
290
|
+
}
|
|
291
|
+
if (hasFlag("hyperlink=true") || hasFlag("hyperlink=always")) {
|
|
292
|
+
return true;
|
|
293
|
+
}
|
|
294
|
+
if ("NETLIFY" in env) {
|
|
295
|
+
return true;
|
|
296
|
+
}
|
|
297
|
+
if (!supportsColor.supportsColor(stream)) {
|
|
298
|
+
return false;
|
|
299
|
+
}
|
|
300
|
+
if (stream && !stream.isTTY) {
|
|
301
|
+
return false;
|
|
302
|
+
}
|
|
303
|
+
if (process.platform === "win32") {
|
|
304
|
+
return false;
|
|
305
|
+
}
|
|
306
|
+
if ("CI" in env) {
|
|
307
|
+
return false;
|
|
308
|
+
}
|
|
309
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
310
|
+
return false;
|
|
311
|
+
}
|
|
312
|
+
if ("TERM_PROGRAM" in env) {
|
|
313
|
+
const version = parseVersion(env.TERM_PROGRAM_VERSION);
|
|
314
|
+
switch (env.TERM_PROGRAM) {
|
|
315
|
+
case "iTerm.app":
|
|
316
|
+
if (version.major === 3) {
|
|
317
|
+
return version.minor >= 1;
|
|
318
|
+
}
|
|
319
|
+
return version.major > 3;
|
|
320
|
+
case "WezTerm":
|
|
321
|
+
return version.major >= 20200620;
|
|
322
|
+
case "vscode":
|
|
323
|
+
return version.major > 1 || version.major === 1 && version.minor >= 72;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
if ("VTE_VERSION" in env) {
|
|
327
|
+
if (env.VTE_VERSION === "0.50.0") {
|
|
328
|
+
return false;
|
|
329
|
+
}
|
|
330
|
+
const version = parseVersion(env.VTE_VERSION);
|
|
331
|
+
return version.major > 0 || version.minor >= 50;
|
|
332
|
+
}
|
|
333
|
+
return false;
|
|
334
|
+
}
|
|
335
|
+
module2.exports = {
|
|
336
|
+
supportsHyperlink,
|
|
337
|
+
stdout: supportsHyperlink(process.stdout),
|
|
338
|
+
stderr: supportsHyperlink(process.stderr)
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
});
|
|
342
|
+
var require_terminal_link = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
343
|
+
"../../node_modules/.pnpm/terminal-link@2.1.1/node_modules/terminal-link/index.js"(exports, module2) {
|
|
344
|
+
"use strict";
|
|
345
|
+
var ansiEscapes = require_ansi_escapes();
|
|
346
|
+
var supportsHyperlinks = require_supports_hyperlinks();
|
|
347
|
+
var terminalLink2 = (text, url, { target = "stdout", ...options } = {}) => {
|
|
348
|
+
if (!supportsHyperlinks[target]) {
|
|
349
|
+
if (options.fallback === false) {
|
|
350
|
+
return text;
|
|
351
|
+
}
|
|
352
|
+
return typeof options.fallback === "function" ? options.fallback(text, url) : `${text} (\u200B${url}\u200B)`;
|
|
353
|
+
}
|
|
354
|
+
return ansiEscapes.link(text, url);
|
|
355
|
+
};
|
|
356
|
+
module2.exports = (text, url, options = {}) => terminalLink2(text, url, options);
|
|
357
|
+
module2.exports.stderr = (text, url, options = {}) => terminalLink2(text, url, { target: "stderr", ...options });
|
|
358
|
+
module2.exports.isSupported = supportsHyperlinks.stdout;
|
|
359
|
+
module2.exports.stderr.isSupported = supportsHyperlinks.stderr;
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
var import_terminal_link = (0, import_chunk_2ESYSVXG.__toESM)(require_terminal_link());
|
|
363
|
+
function link(url) {
|
|
364
|
+
return (0, import_terminal_link.default)(url, url, {
|
|
365
|
+
fallback: import_chunk_YVXCXD3A.underline
|
|
366
|
+
});
|
|
367
|
+
}
|