@introspection-ai/recipes 0.35.0 → 0.36.0
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/mcp-chunks/{auth-command-SDTBVC2R.js → auth-command-GMMLBU24.js} +23 -23
- package/dist/mcp-chunks/call-arguments-WSURHOLV.js +16 -0
- package/dist/mcp-chunks/{call-command-WOZT2DLX.js → call-command-2VF6IKAZ.js} +33 -33
- package/dist/mcp-chunks/{chunk-WQBESOWG.js → chunk-22WCLO4D.js} +7 -6
- package/dist/mcp-chunks/{chunk-2IO3FXZJ.js → chunk-2JTXIMGE.js} +1 -1
- package/dist/mcp-chunks/{chunk-SVCKS5MW.js → chunk-347GOMV4.js} +5 -5
- package/dist/mcp-chunks/{chunk-IR5SMKTP.js → chunk-35LLRCRA.js} +303 -128
- package/dist/mcp-chunks/{chunk-EIXFNLU6.js → chunk-3AAF3FSI.js} +1 -1
- package/dist/mcp-chunks/{chunk-TKZA4MPW.js → chunk-4PN2J74H.js} +4 -4
- package/dist/mcp-chunks/{chunk-FWWPRZ37.js → chunk-4U4BUXQD.js} +16 -16
- package/dist/mcp-chunks/{chunk-XDARNDP3.js → chunk-5OO6WVPL.js} +1 -1
- package/dist/mcp-chunks/{chunk-4IXQQER3.js → chunk-5UK2JLTN.js} +5 -5
- package/dist/mcp-chunks/{chunk-M7VINGHY.js → chunk-6TIU2CDB.js} +7 -7
- package/dist/mcp-chunks/{chunk-VRTH73R5.js → chunk-6XC5JJWD.js} +73 -36
- package/dist/mcp-chunks/{chunk-OURSGEZX.js → chunk-7BVYBZ4J.js} +8 -8
- package/dist/mcp-chunks/{chunk-HM26TIPK.js → chunk-7IVXKYTI.js} +42 -22
- package/dist/mcp-chunks/{chunk-CO4CYU5W.js → chunk-ANNJGB6F.js} +62 -32
- package/dist/mcp-chunks/{chunk-TL7V3OBY.js → chunk-BIVX2WFX.js} +3 -3
- package/dist/mcp-chunks/{chunk-JRU5LZJQ.js → chunk-C4TJGC4F.js} +1 -1
- package/dist/mcp-chunks/{chunk-7X3JHUMH.js → chunk-CN5KSNWG.js} +1 -1
- package/dist/mcp-chunks/{chunk-UXI26V4F.js → chunk-D2SZ7KRY.js} +1 -1
- package/dist/mcp-chunks/{chunk-VWNF5PIF.js → chunk-D65GOMYV.js} +2 -2
- package/dist/mcp-chunks/{chunk-27XDYSXJ.js → chunk-DBNBEWRX.js} +4 -1
- package/dist/mcp-chunks/{chunk-P3S4OJPI.js → chunk-DUBQHYW4.js} +9 -9
- package/dist/mcp-chunks/{chunk-FMYP6JXX.js → chunk-ENBJFQ6H.js} +1 -1
- package/dist/mcp-chunks/{chunk-YTO7DITJ.js → chunk-FLUF2FRN.js} +3 -3
- package/dist/mcp-chunks/{chunk-IJTZ2ZRM.js → chunk-HFHIY5TO.js} +4 -4
- package/dist/mcp-chunks/{chunk-35JUFDQI.js → chunk-HI6VG5LR.js} +2 -2
- package/dist/mcp-chunks/{chunk-7OQUF6V6.js → chunk-IHOU2BEL.js} +2 -2
- package/dist/mcp-chunks/{chunk-7CI6DKEP.js → chunk-IMXPLUKE.js} +20 -20
- package/dist/mcp-chunks/{chunk-UHXTAPEC.js → chunk-LISNXOIQ.js} +1 -1
- package/dist/mcp-chunks/{chunk-ASFI5AJK.js → chunk-LRGMFF5S.js} +7 -7
- package/dist/mcp-chunks/{chunk-ALLS7CUV.js → chunk-LUVLTUKR.js} +1 -1
- package/dist/mcp-chunks/{chunk-SONMFI3S.js → chunk-LZUKBEQZ.js} +12 -12
- package/dist/mcp-chunks/{chunk-FQAJT6U2.js → chunk-O2C3HXGS.js} +1 -1
- package/dist/mcp-chunks/{chunk-EIF7GALA.js → chunk-OI3RTQXY.js} +1 -1
- package/dist/mcp-chunks/{chunk-CRX2G22W.js → chunk-OSTHIELS.js} +1 -1
- package/dist/mcp-chunks/{chunk-R636HUNL.js → chunk-P5YLK5G2.js} +17 -12
- package/dist/mcp-chunks/{chunk-YGRORKGT.js → chunk-QDFL757K.js} +99 -74
- package/dist/mcp-chunks/{chunk-DUJ5WAHC.js → chunk-QNZGFUKC.js} +2 -2
- package/dist/mcp-chunks/{chunk-GJ7DWMRT.js → chunk-R4OYHQ4V.js} +1 -1
- package/dist/mcp-chunks/{chunk-7ZZZ7MR2.js → chunk-RHXZKYM7.js} +1 -1
- package/dist/mcp-chunks/{chunk-POYT6GCW.js → chunk-RKQC2EE6.js} +2 -2
- package/dist/mcp-chunks/{chunk-43QNQO5C.js → chunk-RZZO3ZD4.js} +4 -4
- package/dist/mcp-chunks/{chunk-FUKRLUU7.js → chunk-SS7V7GVT.js} +4 -4
- package/dist/mcp-chunks/{chunk-FVZKQMZS.js → chunk-TYL2NVXI.js} +2 -2
- package/dist/mcp-chunks/{chunk-TDBM2UIR.js → chunk-U5QZHPCC.js} +10 -1
- package/dist/mcp-chunks/{chunk-6XBQDCGX.js → chunk-UQUM7ICD.js} +36 -17
- package/dist/mcp-chunks/{chunk-JQCSGX6E.js → chunk-VWPKJFK4.js} +2 -5
- package/dist/mcp-chunks/{chunk-AHDUZPNI.js → chunk-WXNGATQ7.js} +1 -1
- package/dist/mcp-chunks/{chunk-VCPUZFU7.js → chunk-YFCNRWLV.js} +2 -2
- package/dist/mcp-chunks/{chunk-IWXEOLJL.js → chunk-YPSODIQX.js} +18 -18
- package/dist/mcp-chunks/{chunk-CMDB57MS.js → chunk-YWFQPA4D.js} +2 -2
- package/dist/mcp-chunks/{chunk-YM7ZVYI2.js → chunk-ZI5XYM4C.js} +23 -7
- package/dist/mcp-chunks/{chunk-UYG7PAN2.js → chunk-ZJWZY54X.js} +2 -2
- package/dist/mcp-chunks/{chunk-ZLV5S5UP.js → chunk-ZXIF7MKN.js} +2 -2
- package/dist/mcp-chunks/{cli-67GWFF4R.js → cli-4OQD3H4N.js} +77 -70
- package/dist/mcp-chunks/client-LXKCCVMT.js +31 -0
- package/dist/mcp-chunks/{config-command-3IKIRWMW.js → config-command-72TCIWPV.js} +63 -36
- package/dist/mcp-chunks/daemon-command-QHS3ACBM.js +31 -0
- package/dist/mcp-chunks/{dist-YL3LFKVP.js → dist-74UCKZK5.js} +95 -69
- package/dist/mcp-chunks/{emit-ts-command-YWKROLL2.js → emit-ts-command-KD4ON2SE.js} +34 -22
- package/dist/mcp-chunks/{generate-cli-runner-CZEVY2Y7.js → generate-cli-runner-HWGI6HPL.js} +55 -49
- package/dist/mcp-chunks/generated-daemon-runtime-7ORS5KBR.js +31 -0
- package/dist/mcp-chunks/{inspect-cli-command-5Y2LORK5.js → inspect-cli-command-FT5JSB7V.js} +9 -9
- package/dist/mcp-chunks/{launch-43TA3HYF.js → launch-AHLKP2VM.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-BY2ILXTB.js → lifecycle-BJDITFWN.js} +1 -1
- package/dist/mcp-chunks/{list-command-7RU7NNAV.js → list-command-YKF7RN6Y.js} +30 -30
- package/dist/mcp-chunks/{output-utils-2R3SA6KR.js → output-utils-LYB5IJRD.js} +3 -3
- package/dist/mcp-chunks/{prompt-CH6TK0bC-GKQOEUY4.js → prompt-CH6TK0bC-B3USYOND.js} +1 -1
- package/dist/mcp-chunks/{record-command-ROIRRNFS.js → record-command-MJW3Z5E5.js} +5 -5
- package/dist/mcp-chunks/{replay-command-Y2MYVQTL.js → replay-command-5ZHBUOLE.js} +6 -6
- package/dist/mcp-chunks/{resource-command-VUV7AYYQ.js → resource-command-L4I24AX5.js} +9 -9
- package/dist/mcp-chunks/{result-utils-5U7NVXDZ.js → result-utils-5WRI66KV.js} +3 -3
- package/dist/mcp-chunks/runtime-IKWDQLZF.js +38 -0
- package/dist/mcp-chunks/{runtime-wrapper-3BVFTSWJ.js → runtime-wrapper-WFMNIHD5.js} +3 -3
- package/dist/mcp-chunks/{serve-command-BXLQWHFW.js → serve-command-KNCSJUXS.js} +185 -78
- package/dist/mcp-chunks/{timeouts-6GL2F44N.js → timeouts-2ZHGSB3R.js} +3 -3
- package/dist/mcp-chunks/{vault-command-JCMW3DQA.js → vault-command-7EDL45AA.js} +4 -4
- package/dist/mcp-chunks/{webapi-UMWFGMQV.js → webapi-NNCZGUMZ.js} +46 -46
- package/dist/mcp-daemon.js +27 -27
- package/dist/mcp-run-worker.js +27 -27
- package/dist/pi-extension.d.ts.map +1 -1
- package/dist/pi-extension.js +8 -1
- package/dist/pi-extension.js.map +1 -1
- package/docs/slack.md +6 -0
- package/package.json +10 -10
- package/dist/mcp-chunks/call-arguments-ER7NWEPS.js +0 -16
- package/dist/mcp-chunks/client-MQMNAYYW.js +0 -31
- package/dist/mcp-chunks/daemon-command-OMOZ5MP7.js +0 -31
- package/dist/mcp-chunks/generated-daemon-runtime-SRFULTIT.js +0 -31
- package/dist/mcp-chunks/runtime-Q4SCCOQE.js +0 -38
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
stableJsonStringify
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-R4OYHQ4V.js";
|
|
5
5
|
import {
|
|
6
6
|
NON_INTERACTIVE_ELICITATION_HINT,
|
|
7
7
|
createNonInteractiveElicitationResponder,
|
|
8
8
|
registerElicitationHandler
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RHXZKYM7.js";
|
|
10
10
|
import {
|
|
11
11
|
RecordTransport,
|
|
12
12
|
resolveRecordingPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TYL2NVXI.js";
|
|
14
14
|
import {
|
|
15
15
|
OAuthTimeoutError,
|
|
16
16
|
connectWithAuth,
|
|
@@ -20,25 +20,25 @@ import {
|
|
|
20
20
|
isUnauthorizedError,
|
|
21
21
|
maybeEnableOAuth,
|
|
22
22
|
resolveOAuthTimeoutFromEnv
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LZUKBEQZ.js";
|
|
24
24
|
import {
|
|
25
25
|
readCachedAccessToken
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7BVYBZ4J.js";
|
|
27
27
|
import {
|
|
28
28
|
withRuntimeEnvironment
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-6TIU2CDB.js";
|
|
30
30
|
import {
|
|
31
31
|
createPrefixedConsoleLogger,
|
|
32
32
|
resolveLogLevelFromEnv
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-C4TJGC4F.js";
|
|
34
34
|
import {
|
|
35
35
|
STDIO_TRACE_ENABLED,
|
|
36
36
|
flushStdioLogs,
|
|
37
37
|
ignoreStdioEmitterError
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2JTXIMGE.js";
|
|
39
39
|
import {
|
|
40
40
|
MCPORTER_VERSION
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YPSODIQX.js";
|
|
42
42
|
import {
|
|
43
43
|
ChromeDevtoolsRelayDiscoveryError,
|
|
44
44
|
ChromeDevtoolsRelayRequiredError,
|
|
@@ -56,27 +56,27 @@ import {
|
|
|
56
56
|
resolveCommandArgument,
|
|
57
57
|
resolveCommandArguments,
|
|
58
58
|
rewriteChromeDevtoolsArgsForRelay
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-DUBQHYW4.js";
|
|
60
60
|
import {
|
|
61
61
|
loadServerDefinitions,
|
|
62
62
|
normalizeServerEntry,
|
|
63
63
|
readConfigFile
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-4U4BUXQD.js";
|
|
65
65
|
import {
|
|
66
66
|
isRecord
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-5OO6WVPL.js";
|
|
68
68
|
import {
|
|
69
69
|
pathExists
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-RZZO3ZD4.js";
|
|
71
71
|
import {
|
|
72
72
|
mcporterConfigCandidates
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-ZXIF7MKN.js";
|
|
74
74
|
import {
|
|
75
75
|
resolveEnvPlaceholders
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-VWPKJFK4.js";
|
|
77
77
|
import {
|
|
78
78
|
analyzeConnectionError
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-HI6VG5LR.js";
|
|
80
80
|
import {
|
|
81
81
|
AjvJsonSchemaValidator,
|
|
82
82
|
Client,
|
|
@@ -90,16 +90,16 @@ import {
|
|
|
90
90
|
StreamableHTTPClientTransport,
|
|
91
91
|
serializeMessage,
|
|
92
92
|
specTypeSchemas
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-35LLRCRA.js";
|
|
94
94
|
import {
|
|
95
95
|
__commonJS,
|
|
96
96
|
__require,
|
|
97
97
|
__toESM
|
|
98
98
|
} from "./chunk-LRKZP7DJ.js";
|
|
99
99
|
|
|
100
|
-
// node_modules/.pnpm/mcporter@0.
|
|
100
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/isexe/windows.js
|
|
101
101
|
var require_windows = __commonJS({
|
|
102
|
-
"node_modules/.pnpm/mcporter@0.
|
|
102
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/isexe/windows.js"(exports, module) {
|
|
103
103
|
module.exports = isexe;
|
|
104
104
|
isexe.sync = sync;
|
|
105
105
|
var fs7 = __require("fs");
|
|
@@ -137,9 +137,9 @@ var require_windows = __commonJS({
|
|
|
137
137
|
}
|
|
138
138
|
});
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/mcporter@0.
|
|
140
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/isexe/mode.js
|
|
141
141
|
var require_mode = __commonJS({
|
|
142
|
-
"node_modules/.pnpm/mcporter@0.
|
|
142
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/isexe/mode.js"(exports, module) {
|
|
143
143
|
module.exports = isexe;
|
|
144
144
|
isexe.sync = sync;
|
|
145
145
|
var fs7 = __require("fs");
|
|
@@ -170,9 +170,9 @@ var require_mode = __commonJS({
|
|
|
170
170
|
}
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
// node_modules/.pnpm/mcporter@0.
|
|
173
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/isexe/index.js
|
|
174
174
|
var require_isexe = __commonJS({
|
|
175
|
-
"node_modules/.pnpm/mcporter@0.
|
|
175
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/isexe/index.js"(exports, module) {
|
|
176
176
|
var fs7 = __require("fs");
|
|
177
177
|
var core;
|
|
178
178
|
if (process.platform === "win32" || global.TESTING_WINDOWS) {
|
|
@@ -225,9 +225,9 @@ var require_isexe = __commonJS({
|
|
|
225
225
|
}
|
|
226
226
|
});
|
|
227
227
|
|
|
228
|
-
// node_modules/.pnpm/mcporter@0.
|
|
228
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/which/which.js
|
|
229
229
|
var require_which = __commonJS({
|
|
230
|
-
"node_modules/.pnpm/mcporter@0.
|
|
230
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/which/which.js"(exports, module) {
|
|
231
231
|
var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
232
232
|
var path7 = __require("path");
|
|
233
233
|
var COLON = isWindows ? ";" : ":";
|
|
@@ -321,9 +321,9 @@ var require_which = __commonJS({
|
|
|
321
321
|
}
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
// node_modules/.pnpm/mcporter@0.
|
|
324
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/path-key/index.js
|
|
325
325
|
var require_path_key = __commonJS({
|
|
326
|
-
"node_modules/.pnpm/mcporter@0.
|
|
326
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/path-key/index.js"(exports, module) {
|
|
327
327
|
"use strict";
|
|
328
328
|
var pathKey = (options = {}) => {
|
|
329
329
|
const environment = options.env || process.env;
|
|
@@ -338,9 +338,9 @@ var require_path_key = __commonJS({
|
|
|
338
338
|
}
|
|
339
339
|
});
|
|
340
340
|
|
|
341
|
-
// node_modules/.pnpm/mcporter@0.
|
|
341
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
342
342
|
var require_resolveCommand = __commonJS({
|
|
343
|
-
"node_modules/.pnpm/mcporter@0.
|
|
343
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
|
|
344
344
|
"use strict";
|
|
345
345
|
var path7 = __require("path");
|
|
346
346
|
var which = require_which();
|
|
@@ -380,9 +380,9 @@ var require_resolveCommand = __commonJS({
|
|
|
380
380
|
}
|
|
381
381
|
});
|
|
382
382
|
|
|
383
|
-
// node_modules/.pnpm/mcporter@0.
|
|
383
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/cross-spawn/lib/util/escape.js
|
|
384
384
|
var require_escape = __commonJS({
|
|
385
|
-
"node_modules/.pnpm/mcporter@0.
|
|
385
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
|
|
386
386
|
"use strict";
|
|
387
387
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
388
388
|
function escapeCommand(arg) {
|
|
@@ -405,17 +405,17 @@ var require_escape = __commonJS({
|
|
|
405
405
|
}
|
|
406
406
|
});
|
|
407
407
|
|
|
408
|
-
// node_modules/.pnpm/mcporter@0.
|
|
408
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/shebang-regex/index.js
|
|
409
409
|
var require_shebang_regex = __commonJS({
|
|
410
|
-
"node_modules/.pnpm/mcporter@0.
|
|
410
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/shebang-regex/index.js"(exports, module) {
|
|
411
411
|
"use strict";
|
|
412
412
|
module.exports = /^#!(.*)/;
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
415
|
|
|
416
|
-
// node_modules/.pnpm/mcporter@0.
|
|
416
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/shebang-command/index.js
|
|
417
417
|
var require_shebang_command = __commonJS({
|
|
418
|
-
"node_modules/.pnpm/mcporter@0.
|
|
418
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/shebang-command/index.js"(exports, module) {
|
|
419
419
|
"use strict";
|
|
420
420
|
var shebangRegex = require_shebang_regex();
|
|
421
421
|
module.exports = (string = "") => {
|
|
@@ -433,9 +433,9 @@ var require_shebang_command = __commonJS({
|
|
|
433
433
|
}
|
|
434
434
|
});
|
|
435
435
|
|
|
436
|
-
// node_modules/.pnpm/mcporter@0.
|
|
436
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/cross-spawn/lib/util/readShebang.js
|
|
437
437
|
var require_readShebang = __commonJS({
|
|
438
|
-
"node_modules/.pnpm/mcporter@0.
|
|
438
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
|
|
439
439
|
"use strict";
|
|
440
440
|
var fs7 = __require("fs");
|
|
441
441
|
var shebangCommand = require_shebang_command();
|
|
@@ -455,9 +455,9 @@ var require_readShebang = __commonJS({
|
|
|
455
455
|
}
|
|
456
456
|
});
|
|
457
457
|
|
|
458
|
-
// node_modules/.pnpm/mcporter@0.
|
|
458
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/cross-spawn/lib/parse.js
|
|
459
459
|
var require_parse = __commonJS({
|
|
460
|
-
"node_modules/.pnpm/mcporter@0.
|
|
460
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/cross-spawn/lib/parse.js"(exports, module) {
|
|
461
461
|
"use strict";
|
|
462
462
|
var path7 = __require("path");
|
|
463
463
|
var resolveCommand = require_resolveCommand();
|
|
@@ -517,9 +517,9 @@ var require_parse = __commonJS({
|
|
|
517
517
|
}
|
|
518
518
|
});
|
|
519
519
|
|
|
520
|
-
// node_modules/.pnpm/mcporter@0.
|
|
520
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/cross-spawn/lib/enoent.js
|
|
521
521
|
var require_enoent = __commonJS({
|
|
522
|
-
"node_modules/.pnpm/mcporter@0.
|
|
522
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/cross-spawn/lib/enoent.js"(exports, module) {
|
|
523
523
|
"use strict";
|
|
524
524
|
var isWin = process.platform === "win32";
|
|
525
525
|
function notFoundError(original, syscall) {
|
|
@@ -567,9 +567,9 @@ var require_enoent = __commonJS({
|
|
|
567
567
|
}
|
|
568
568
|
});
|
|
569
569
|
|
|
570
|
-
// node_modules/.pnpm/mcporter@0.
|
|
570
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/cross-spawn/index.js
|
|
571
571
|
var require_cross_spawn = __commonJS({
|
|
572
|
-
"node_modules/.pnpm/mcporter@0.
|
|
572
|
+
"node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/cross-spawn/index.js"(exports, module) {
|
|
573
573
|
"use strict";
|
|
574
574
|
var cp = __require("child_process");
|
|
575
575
|
var parse = require_parse();
|
|
@@ -594,7 +594,7 @@ var require_cross_spawn = __commonJS({
|
|
|
594
594
|
}
|
|
595
595
|
});
|
|
596
596
|
|
|
597
|
-
// node_modules/.pnpm/mcporter@0.
|
|
597
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/daemon/connection-identity.js
|
|
598
598
|
import { createHash } from "node:crypto";
|
|
599
599
|
import fs from "node:fs/promises";
|
|
600
600
|
import path from "node:path";
|
|
@@ -685,16 +685,16 @@ function isExistingChromeDefinition(definition, env) {
|
|
|
685
685
|
return [definition.name, command, ...args].some((value) => /chrome[-_]devtools(?:[-_]mcp)?/i.test(value)) && isExistingChromeDevtoolsCommand(command, args);
|
|
686
686
|
}
|
|
687
687
|
|
|
688
|
-
// node_modules/.pnpm/mcporter@0.
|
|
688
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/daemon/browser-owner.js
|
|
689
689
|
import os3 from "node:os";
|
|
690
690
|
import path4 from "node:path";
|
|
691
691
|
|
|
692
|
-
// node_modules/.pnpm/mcporter@0.
|
|
692
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/daemon/paths.js
|
|
693
693
|
import fs3 from "node:fs/promises";
|
|
694
694
|
import { constants } from "node:fs";
|
|
695
695
|
import { createHash as createHash2 } from "node:crypto";
|
|
696
696
|
|
|
697
|
-
// node_modules/.pnpm/mcporter@0.
|
|
697
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/chrome-devtools-relay-handoff.js
|
|
698
698
|
import { spawnSync } from "node:child_process";
|
|
699
699
|
import { randomBytes } from "node:crypto";
|
|
700
700
|
import fs2 from "node:fs";
|
|
@@ -925,7 +925,7 @@ if (targetPath?.includes('chrome-devtools-mcp')) {
|
|
|
925
925
|
`;
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
-
// node_modules/.pnpm/mcporter@0.
|
|
928
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/daemon/paths.js
|
|
929
929
|
import os2 from "node:os";
|
|
930
930
|
import path3 from "node:path";
|
|
931
931
|
function daemonBaseDir() {
|
|
@@ -1024,7 +1024,7 @@ function getDaemonLogPath(_configKey) {
|
|
|
1024
1024
|
return path3.join(daemonRunDir(), "user.log");
|
|
1025
1025
|
}
|
|
1026
1026
|
|
|
1027
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1027
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/daemon/browser-owner.js
|
|
1028
1028
|
var BrowserOwnerConflict = class extends Error {
|
|
1029
1029
|
code = "browser_owner_conflict";
|
|
1030
1030
|
constructor(reason) {
|
|
@@ -1141,7 +1141,7 @@ var BrowserOwner = class {
|
|
|
1141
1141
|
}
|
|
1142
1142
|
};
|
|
1143
1143
|
|
|
1144
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1144
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/daemon/transport-authority.js
|
|
1145
1145
|
var authority = /* @__PURE__ */ Symbol("broker transport authority");
|
|
1146
1146
|
function authorizeBrokerDefinition(definition, validateRequest) {
|
|
1147
1147
|
Object.defineProperty(definition, authority, { value: { validateRequest }, enumerable: true });
|
|
@@ -1158,7 +1158,7 @@ function assertChromeBrokerAuthority(definition) {
|
|
|
1158
1158
|
}
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1161
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime-process-utils.js
|
|
1162
1162
|
import { execFile } from "node:child_process";
|
|
1163
1163
|
import { setTimeout as delay } from "node:timers/promises";
|
|
1164
1164
|
async function captureTransportProcessTree(transport) {
|
|
@@ -1376,7 +1376,7 @@ async function waitForTreeExit(pids, durationMs) {
|
|
|
1376
1376
|
}
|
|
1377
1377
|
}
|
|
1378
1378
|
|
|
1379
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1379
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime/errors.js
|
|
1380
1380
|
var NON_FATAL_MCP_ERROR_CODES = /* @__PURE__ */ new Set([
|
|
1381
1381
|
ProtocolErrorCode.InvalidRequest,
|
|
1382
1382
|
ProtocolErrorCode.MethodNotFound,
|
|
@@ -1398,7 +1398,7 @@ function protocolErrorCode(error) {
|
|
|
1398
1398
|
return typeof error.code === "number" ? error.code : void 0;
|
|
1399
1399
|
}
|
|
1400
1400
|
|
|
1401
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1401
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime/replay-transport.js
|
|
1402
1402
|
import fs4 from "node:fs";
|
|
1403
1403
|
import { isDeepStrictEqual } from "node:util";
|
|
1404
1404
|
var CLIENT_IDENTITY_META_KEYS = [
|
|
@@ -1494,7 +1494,7 @@ function buildReplayQueue(messages, server) {
|
|
|
1494
1494
|
};
|
|
1495
1495
|
expected.push(expectedSend);
|
|
1496
1496
|
if (request.id !== void 0) {
|
|
1497
|
-
pendingRequests.set(
|
|
1497
|
+
pendingRequests.set(request.id, expectedSend);
|
|
1498
1498
|
}
|
|
1499
1499
|
continue;
|
|
1500
1500
|
}
|
|
@@ -1507,9 +1507,9 @@ function buildReplayQueue(messages, server) {
|
|
|
1507
1507
|
if (responseId === void 0) {
|
|
1508
1508
|
continue;
|
|
1509
1509
|
}
|
|
1510
|
-
const pending = pendingRequests.get(
|
|
1510
|
+
const pending = pendingRequests.get(responseId);
|
|
1511
1511
|
if (pending) {
|
|
1512
|
-
pendingRequests.delete(
|
|
1512
|
+
pendingRequests.delete(responseId);
|
|
1513
1513
|
pending.notificationsBeforeResponse = bufferedNotifications;
|
|
1514
1514
|
bufferedNotifications = [];
|
|
1515
1515
|
pending.response = clean;
|
|
@@ -1620,7 +1620,7 @@ function formatReplayRemainder(server, expectedSends) {
|
|
|
1620
1620
|
return `Replay ended for server '${server}' with ${count} recorded ${requestText} still unused; next expected recv ${expectedText}.`;
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1623
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/node_modules/@modelcontextprotocol/client/dist/stdio.mjs
|
|
1624
1624
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
1625
1625
|
import process2 from "node:process";
|
|
1626
1626
|
import { PassThrough } from "node:stream";
|
|
@@ -1832,14 +1832,14 @@ var StdioClientTransport = class {
|
|
|
1832
1832
|
}
|
|
1833
1833
|
};
|
|
1834
1834
|
|
|
1835
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1835
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/chrome-devtools-compat.js
|
|
1836
1836
|
import fs6 from "node:fs";
|
|
1837
1837
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
1838
1838
|
import os4 from "node:os";
|
|
1839
1839
|
import path6 from "node:path";
|
|
1840
1840
|
import { fileURLToPath, pathToFileURL as pathToFileURL2 } from "node:url";
|
|
1841
1841
|
|
|
1842
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1842
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/chrome-devtools-auto-connect-patch.js
|
|
1843
1843
|
import fs5 from "node:fs";
|
|
1844
1844
|
import path5 from "node:path";
|
|
1845
1845
|
var MARKER = "MCPORTER_DEVTOOLS_TIMEOUT_PATCH";
|
|
@@ -1926,7 +1926,7 @@ ${helper}`);
|
|
|
1926
1926
|
}
|
|
1927
1927
|
}
|
|
1928
1928
|
|
|
1929
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1929
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/chrome-devtools-compat.js
|
|
1930
1930
|
var FALLBACK_PATCH_FILENAME = "mcporter-chrome-devtools-auto-connect-patch.js";
|
|
1931
1931
|
function applyChromeDevtoolsCompat(env, command, args) {
|
|
1932
1932
|
if (!shouldApplyChromeDevtoolsCompat(command, args, env)) {
|
|
@@ -1991,7 +1991,7 @@ function writeFallbackPatch(fallbackDir) {
|
|
|
1991
1991
|
}
|
|
1992
1992
|
}
|
|
1993
1993
|
|
|
1994
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1994
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime/cached-auth.js
|
|
1995
1995
|
function hasAuthorizationHeader(headers) {
|
|
1996
1996
|
return Boolean(headers && Object.keys(headers).some((key) => key.toLowerCase() === "authorization"));
|
|
1997
1997
|
}
|
|
@@ -2054,7 +2054,7 @@ async function applyCachedAuthIfAvailable(definition, logger, allowCachedAuth) {
|
|
|
2054
2054
|
}
|
|
2055
2055
|
}
|
|
2056
2056
|
|
|
2057
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2057
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime-header-utils.js
|
|
2058
2058
|
function materializeHeaders(headers, serverName, env = process.env) {
|
|
2059
2059
|
if (!headers) {
|
|
2060
2060
|
return void 0;
|
|
@@ -2071,11 +2071,12 @@ function materializeHeaders(headers, serverName, env = process.env) {
|
|
|
2071
2071
|
return resolved;
|
|
2072
2072
|
}
|
|
2073
2073
|
|
|
2074
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2074
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime/node-http-fetch.js
|
|
2075
2075
|
import http from "node:http";
|
|
2076
2076
|
import https from "node:https";
|
|
2077
2077
|
import { Buffer as Buffer2 } from "node:buffer";
|
|
2078
|
-
import { Readable } from "node:stream";
|
|
2078
|
+
import { Readable, pipeline } from "node:stream";
|
|
2079
|
+
import { createGunzip, createInflate, createBrotliDecompress } from "node:zlib";
|
|
2079
2080
|
var MAX_REDIRECTS = 20;
|
|
2080
2081
|
var REDIRECT_STATUSES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
|
|
2081
2082
|
var NULL_BODY_STATUSES = /* @__PURE__ */ new Set([204, 205, 304]);
|
|
@@ -2148,10 +2149,11 @@ async function nodeHttp1FetchWithRedirects(input, init, redirectCount) {
|
|
|
2148
2149
|
resolve(nodeHttp1FetchWithRedirects(nextUrl, buildRedirectInit(init, status, url, nextUrl), redirectCount + 1));
|
|
2149
2150
|
return;
|
|
2150
2151
|
}
|
|
2151
|
-
|
|
2152
|
+
const nullBody = NULL_BODY_STATUSES.has(status) || init.method?.toUpperCase() === "HEAD";
|
|
2153
|
+
if (nullBody) {
|
|
2152
2154
|
response.resume();
|
|
2153
2155
|
}
|
|
2154
|
-
resolve(new Response(
|
|
2156
|
+
resolve(new Response(nullBody ? null : Readable.toWeb(decodeResponseBody(response, responseHeaders)), {
|
|
2155
2157
|
status,
|
|
2156
2158
|
statusText: response.statusMessage,
|
|
2157
2159
|
headers: responseHeaders
|
|
@@ -2164,13 +2166,36 @@ async function nodeHttp1FetchWithRedirects(input, init, redirectCount) {
|
|
|
2164
2166
|
request.end();
|
|
2165
2167
|
});
|
|
2166
2168
|
}
|
|
2169
|
+
function decodeResponseBody(response, headers) {
|
|
2170
|
+
if (headers.get("content-length") === "0")
|
|
2171
|
+
return response;
|
|
2172
|
+
const encodings = headers.get("content-encoding")?.split(",").map((encoding) => encoding.trim().toLowerCase());
|
|
2173
|
+
if (!encodings?.length || encodings.some((encoding) => !["gzip", "deflate", "br"].includes(encoding))) {
|
|
2174
|
+
return response;
|
|
2175
|
+
}
|
|
2176
|
+
const decoders = encodings.toReversed().map((encoding) => {
|
|
2177
|
+
if (encoding === "gzip")
|
|
2178
|
+
return createGunzip();
|
|
2179
|
+
if (encoding === "deflate")
|
|
2180
|
+
return createInflate();
|
|
2181
|
+
return createBrotliDecompress();
|
|
2182
|
+
});
|
|
2183
|
+
const output = decoders.at(-1);
|
|
2184
|
+
if (!output)
|
|
2185
|
+
return response;
|
|
2186
|
+
pipeline([response, ...decoders], (error) => {
|
|
2187
|
+
if (error)
|
|
2188
|
+
output.destroy(error);
|
|
2189
|
+
});
|
|
2190
|
+
return output;
|
|
2191
|
+
}
|
|
2167
2192
|
function buildRedirectInit(init, status, currentUrl, nextUrl) {
|
|
2168
2193
|
const method = (init.method ?? "GET").toUpperCase();
|
|
2169
2194
|
const headers = new Headers(init.headers);
|
|
2170
2195
|
if (currentUrl.origin !== nextUrl.origin) {
|
|
2171
2196
|
stripCrossOriginRedirectHeaders(headers);
|
|
2172
2197
|
}
|
|
2173
|
-
if ((status === 301 || status === 302 || status === 303
|
|
2198
|
+
if ((status === 301 || status === 302) && method === "POST" || status === 303 && method !== "GET" && method !== "HEAD") {
|
|
2174
2199
|
headers.delete("content-length");
|
|
2175
2200
|
headers.delete("content-type");
|
|
2176
2201
|
return {
|
|
@@ -2226,7 +2251,7 @@ async function materializeRequestBody(body) {
|
|
|
2226
2251
|
throw new TypeError("node-http1 fetch does not support streaming request bodies.");
|
|
2227
2252
|
}
|
|
2228
2253
|
|
|
2229
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2254
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime/http-transport.js
|
|
2230
2255
|
function extractTransportStatusCode(error) {
|
|
2231
2256
|
if (!error || typeof error !== "object")
|
|
2232
2257
|
return void 0;
|
|
@@ -2446,7 +2471,7 @@ async function connectSseFallbackTransport(client, definition, command, transpor
|
|
|
2446
2471
|
}
|
|
2447
2472
|
}
|
|
2448
2473
|
|
|
2449
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2474
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime/schema-validator.js
|
|
2450
2475
|
var schemaMaps = /* @__PURE__ */ new Set([
|
|
2451
2476
|
"$defs",
|
|
2452
2477
|
"definitions",
|
|
@@ -2505,7 +2530,7 @@ function createOutputSchemaValidator() {
|
|
|
2505
2530
|
};
|
|
2506
2531
|
}
|
|
2507
2532
|
|
|
2508
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2533
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime/stdio-transport.js
|
|
2509
2534
|
var McporterStdioTransport = class extends StdioClientTransport {
|
|
2510
2535
|
parameters;
|
|
2511
2536
|
meta;
|
|
@@ -2618,7 +2643,7 @@ var McporterStdioTransport = class extends StdioClientTransport {
|
|
|
2618
2643
|
}
|
|
2619
2644
|
};
|
|
2620
2645
|
|
|
2621
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2646
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime/transport.js
|
|
2622
2647
|
function shouldUseModeForServer(definition, serverFilter) {
|
|
2623
2648
|
return !serverFilter || serverFilter === definition.name;
|
|
2624
2649
|
}
|
|
@@ -2843,7 +2868,7 @@ async function createClientContext(definition, logger, clientInfo, options = {})
|
|
|
2843
2868
|
});
|
|
2844
2869
|
}
|
|
2845
2870
|
|
|
2846
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2871
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime/connection-cache.js
|
|
2847
2872
|
var RuntimeConnectionCache = class {
|
|
2848
2873
|
definitions;
|
|
2849
2874
|
options;
|
|
@@ -3434,7 +3459,7 @@ function connectionInfoFromClient(client) {
|
|
|
3434
3459
|
};
|
|
3435
3460
|
}
|
|
3436
3461
|
|
|
3437
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3462
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/tool-filters.js
|
|
3438
3463
|
function validateToolFilters(name, filter) {
|
|
3439
3464
|
if (filter.allowedTools !== void 0 && filter.blockedTools !== void 0) {
|
|
3440
3465
|
throw new Error(`Server '${name}' cannot specify both allowedTools and blockedTools.`);
|
|
@@ -3456,7 +3481,7 @@ function filterTools(tools, filter) {
|
|
|
3456
3481
|
return tools.filter((tool) => isToolAllowed(tool.name, filter));
|
|
3457
3482
|
}
|
|
3458
3483
|
|
|
3459
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3484
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime.js
|
|
3460
3485
|
var PACKAGE_NAME = "mcporter";
|
|
3461
3486
|
var OAUTH_CODE_TIMEOUT_MS = resolveOAuthTimeoutFromEnv();
|
|
3462
3487
|
var MAX_RESOURCE_LIST_PAGES = 100;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
normalizeHttpUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LISNXOIQ.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/server-lookup.js
|
|
7
7
|
function findServerByHttpUrl(definitions, urlString) {
|
|
8
8
|
const normalizedTarget = normalizeHttpUrl(urlString);
|
|
9
9
|
if (!normalizedTarget) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/stable-json.js
|
|
4
4
|
function stableJsonStringify(value, space) {
|
|
5
5
|
const json = JSON.stringify(sortJsonValue(value), void 0, space);
|
|
6
6
|
if (json === void 0) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime/elicitation.js
|
|
4
4
|
import readline from "node:readline";
|
|
5
5
|
var NON_INTERACTIVE_ELICITATION_HINT = "Server requested interactive input; run mcporter in a terminal.";
|
|
6
6
|
function createInteractiveElicitationResponder(options = {}) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
logWarn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YWFQPA4D.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/output-utils.js
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { inspect } from "node:util";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
mcporterConfigCandidates
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZXIF7MKN.js";
|
|
5
5
|
import {
|
|
6
6
|
expandHome
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VWPKJFK4.js";
|
|
8
8
|
|
|
9
|
-
// node_modules/.pnpm/mcporter@0.
|
|
9
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/config/path-discovery.js
|
|
10
10
|
import fsSync from "node:fs";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import path from "node:path";
|
|
@@ -29,7 +29,7 @@ async function listConfigLayerPaths(options = {}, rootDir = process.cwd()) {
|
|
|
29
29
|
}
|
|
30
30
|
function resolveConfigPath(configPath, rootDir) {
|
|
31
31
|
if (configPath) {
|
|
32
|
-
return { path: path.resolve(configPath), explicit: true };
|
|
32
|
+
return { path: path.resolve(expandHome(configPath.trim())), explicit: true };
|
|
33
33
|
}
|
|
34
34
|
const envConfig = process.env.MCPORTER_CONFIG;
|
|
35
35
|
if (envConfig && envConfig.trim().length > 0) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createKeepAliveRuntime
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FLUF2FRN.js";
|
|
5
5
|
import {
|
|
6
6
|
DaemonClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6XC5JJWD.js";
|
|
8
8
|
import {
|
|
9
9
|
isKeepAliveServer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3AAF3FSI.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/.pnpm/mcporter@0.
|
|
12
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/generated-daemon-runtime.js
|
|
13
13
|
async function createGeneratedKeepAliveRuntime(base, server) {
|
|
14
14
|
if (!isKeepAliveServer(server)) {
|
|
15
15
|
return {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
legacyMcporterDir
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZXIF7MKN.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/runtime/record-transport.js
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
var initializedRecordingPaths = /* @__PURE__ */ new Map();
|