@introspection-ai/recipes 0.36.2 → 0.37.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/ask-user-question.d.ts +82 -0
- package/dist/ask-user-question.d.ts.map +1 -0
- package/dist/ask-user-question.js +314 -0
- package/dist/ask-user-question.js.map +1 -0
- package/dist/connector-tools.d.ts.map +1 -1
- package/dist/connector-tools.js +10 -2
- package/dist/connector-tools.js.map +1 -1
- package/dist/documents/index.d.ts +6 -0
- package/dist/documents/index.d.ts.map +1 -0
- package/dist/documents/index.js +3 -0
- package/dist/documents/index.js.map +1 -0
- package/dist/documents/module.d.ts +51 -0
- package/dist/documents/module.d.ts.map +1 -0
- package/dist/documents/module.js +116 -0
- package/dist/documents/module.js.map +1 -0
- package/dist/documents/tools.d.ts +40 -0
- package/dist/documents/tools.d.ts.map +1 -0
- package/dist/documents/tools.js +327 -0
- package/dist/documents/tools.js.map +1 -0
- package/dist/documents/types.d.ts +144 -0
- package/dist/documents/types.d.ts.map +1 -0
- package/dist/documents/types.js +10 -0
- package/dist/documents/types.js.map +1 -0
- package/dist/extensions.d.ts +2 -0
- package/dist/extensions.d.ts.map +1 -1
- package/dist/extensions.js +3 -0
- package/dist/extensions.js.map +1 -1
- package/dist/interaction-tui.d.ts +1 -1
- package/dist/interaction-tui.d.ts.map +1 -1
- package/dist/interaction-tui.js +2 -2
- package/dist/interaction-tui.js.map +1 -1
- package/dist/mcp-chunks/{auth-command-GMMLBU24.js → auth-command-M7TQE3AL.js} +26 -23
- package/dist/mcp-chunks/call-arguments-GCXZA4HC.js +16 -0
- package/dist/mcp-chunks/{call-command-2VF6IKAZ.js → call-command-7LD7UEFK.js} +33 -33
- package/dist/mcp-chunks/{chunk-TYL2NVXI.js → chunk-2AKSS7WR.js} +2 -2
- package/dist/mcp-chunks/{chunk-LZUKBEQZ.js → chunk-2YV72LUA.js} +12 -12
- package/dist/mcp-chunks/{chunk-2JTXIMGE.js → chunk-3ETUDW7N.js} +1 -1
- package/dist/mcp-chunks/{chunk-5UK2JLTN.js → chunk-3FRLDHVD.js} +5 -5
- package/dist/mcp-chunks/{chunk-ENBJFQ6H.js → chunk-3HSC6NHZ.js} +1 -1
- package/dist/mcp-chunks/{chunk-IHOU2BEL.js → chunk-3LENTPGE.js} +2 -2
- package/dist/mcp-chunks/{chunk-ZJWZY54X.js → chunk-3P3KGT4H.js} +2 -2
- package/dist/mcp-chunks/{chunk-IMXPLUKE.js → chunk-3SXP4S2A.js} +2 -2
- package/dist/mcp-chunks/{chunk-22WCLO4D.js → chunk-5Z6WSV5D.js} +5 -5
- package/dist/mcp-chunks/{chunk-QNZGFUKC.js → chunk-63L6SHK3.js} +2 -2
- package/dist/mcp-chunks/{chunk-OI3RTQXY.js → chunk-66VSGFXA.js} +1 -1
- package/dist/mcp-chunks/{chunk-DUBQHYW4.js → chunk-6O42UGLI.js} +9 -9
- package/dist/mcp-chunks/{chunk-R4OYHQ4V.js → chunk-6P3KAQ5N.js} +1 -1
- package/dist/mcp-chunks/{chunk-5OO6WVPL.js → chunk-7U5NSQ5T.js} +1 -1
- package/dist/mcp-chunks/{chunk-O2C3HXGS.js → chunk-B6S43WID.js} +1 -1
- package/dist/mcp-chunks/{chunk-VWPKJFK4.js → chunk-BHXCAVFP.js} +1 -1
- package/dist/mcp-chunks/{chunk-WXNGATQ7.js → chunk-BUOGKTKK.js} +2 -1
- package/dist/mcp-chunks/{chunk-4U4BUXQD.js → chunk-CXST5CVH.js} +33 -17
- package/dist/mcp-chunks/{chunk-YWFQPA4D.js → chunk-DU4SDPEV.js} +2 -2
- package/dist/mcp-chunks/{chunk-ZI5XYM4C.js → chunk-E76ZUBOJ.js} +4 -4
- package/dist/mcp-chunks/{chunk-D2SZ7KRY.js → chunk-ELHS763C.js} +1 -1
- package/dist/mcp-chunks/{chunk-RHXZKYM7.js → chunk-F2X4Y2TQ.js} +1 -1
- package/dist/mcp-chunks/{chunk-6XC5JJWD.js → chunk-GTETFUPQ.js} +28 -25
- package/dist/mcp-chunks/{chunk-UQUM7ICD.js → chunk-GZ53GNFP.js} +10 -10
- package/dist/mcp-chunks/{chunk-LUVLTUKR.js → chunk-H5PBSJP3.js} +1 -1
- package/dist/mcp-chunks/{chunk-FLUF2FRN.js → chunk-HNQSUT44.js} +3 -3
- package/dist/mcp-chunks/{chunk-CN5KSNWG.js → chunk-I6UFV7RW.js} +1 -1
- package/dist/mcp-chunks/{chunk-OSTHIELS.js → chunk-IRARVOUM.js} +1 -1
- package/dist/mcp-chunks/{webapi-NNCZGUMZ.js → chunk-IRSL7JRH.js} +255 -249
- package/dist/mcp-chunks/{chunk-ZXIF7MKN.js → chunk-IWCVZ46B.js} +2 -2
- package/dist/mcp-chunks/{chunk-RZZO3ZD4.js → chunk-JEHI2YU4.js} +3 -3
- package/dist/mcp-chunks/{chunk-ANNJGB6F.js → chunk-JTPTAO4M.js} +13 -13
- package/dist/mcp-chunks/{chunk-U5QZHPCC.js → chunk-KJ5FPQF6.js} +1 -1
- package/dist/mcp-chunks/{chunk-7IVXKYTI.js → chunk-L2MSWQDL.js} +1 -1
- package/dist/mcp-chunks/{chunk-DBNBEWRX.js → chunk-MEQXX43K.js} +1 -1
- package/dist/mcp-chunks/{chunk-3AAF3FSI.js → chunk-MHUMLEBO.js} +1 -1
- package/dist/mcp-chunks/{chunk-HFHIY5TO.js → chunk-N2U2FODH.js} +4 -4
- package/dist/mcp-chunks/{chunk-YFCNRWLV.js → chunk-N6YUOYDS.js} +2 -2
- package/dist/mcp-chunks/{chunk-C4TJGC4F.js → chunk-O3RTM5HD.js} +1 -1
- package/dist/mcp-chunks/{chunk-35LLRCRA.js → chunk-O7SIXJM6.js} +1308 -912
- package/dist/mcp-chunks/{chunk-QDFL757K.js → chunk-PSE442BC.js} +91 -77
- package/dist/mcp-chunks/{chunk-YPSODIQX.js → chunk-QNXOIF5U.js} +15 -14
- package/dist/mcp-chunks/{chunk-RKQC2EE6.js → chunk-RUF27IUF.js} +2 -2
- package/dist/mcp-chunks/{chunk-SS7V7GVT.js → chunk-S2F7DDP5.js} +4 -4
- package/dist/mcp-chunks/{chunk-D65GOMYV.js → chunk-TC2JPBFB.js} +2 -2
- package/dist/mcp-chunks/{chunk-7BVYBZ4J.js → chunk-THRMUZZD.js} +39 -14
- package/dist/mcp-chunks/{chunk-P5YLK5G2.js → chunk-UFV6SVQG.js} +11 -11
- package/dist/mcp-chunks/{chunk-LISNXOIQ.js → chunk-US63Y6XE.js} +1 -1
- package/dist/mcp-chunks/{chunk-BIVX2WFX.js → chunk-UVEZNUN3.js} +285 -322
- package/dist/mcp-chunks/{chunk-HI6VG5LR.js → chunk-UVRJ3AAD.js} +2 -2
- package/dist/mcp-chunks/{chunk-6TIU2CDB.js → chunk-V42T3QNK.js} +456 -64
- package/dist/mcp-chunks/{chunk-347GOMV4.js → chunk-WDWSA7RL.js} +4 -4
- package/dist/mcp-chunks/{chunk-4PN2J74H.js → chunk-WQL7FJQ3.js} +4 -4
- package/dist/mcp-chunks/{chunk-LRGMFF5S.js → chunk-ZEA3Y5ZD.js} +7 -7
- package/dist/mcp-chunks/{cli-4OQD3H4N.js → cli-IYD7Y7MO.js} +67 -67
- package/dist/mcp-chunks/client-5MNBV3Z7.js +32 -0
- package/dist/mcp-chunks/{config-command-72TCIWPV.js → config-command-6DXILFNO.js} +129 -34
- package/dist/mcp-chunks/daemon-command-V3B3EMXD.js +32 -0
- package/dist/mcp-chunks/{dist-74UCKZK5.js → dist-Q7WSCBBK.js} +74 -55
- package/dist/mcp-chunks/{emit-ts-command-KD4ON2SE.js → emit-ts-command-NDCDFDRM.js} +17 -17
- package/dist/mcp-chunks/{generate-cli-runner-HWGI6HPL.js → generate-cli-runner-PW5WJ7KI.js} +136 -92
- package/dist/mcp-chunks/generated-daemon-runtime-3C4NWGAU.js +32 -0
- package/dist/mcp-chunks/{inspect-cli-command-FT5JSB7V.js → inspect-cli-command-4MGF5CPP.js} +9 -9
- package/dist/mcp-chunks/{launch-AHLKP2VM.js → launch-UG7IH27P.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-BJDITFWN.js → lifecycle-QBYGUHQ3.js} +1 -1
- package/dist/mcp-chunks/{list-command-YKF7RN6Y.js → list-command-SDITI3ZM.js} +36 -35
- package/dist/mcp-chunks/{output-utils-LYB5IJRD.js → output-utils-YTMZTA7J.js} +3 -3
- package/dist/mcp-chunks/{prompt-CH6TK0bC-B3USYOND.js → prompt-DkftHXS7-N7UENQ4C.js} +1 -1
- package/dist/mcp-chunks/{record-command-MJW3Z5E5.js → record-command-JGTMATYI.js} +5 -5
- package/dist/mcp-chunks/{replay-command-5ZHBUOLE.js → replay-command-S2VAC4RW.js} +6 -6
- package/dist/mcp-chunks/{resource-command-L4I24AX5.js → resource-command-SRFQQROJ.js} +9 -9
- package/dist/mcp-chunks/{result-utils-5WRI66KV.js → result-utils-JASGNHXK.js} +3 -3
- package/dist/mcp-chunks/runtime-RMI3XCYJ.js +39 -0
- package/dist/mcp-chunks/{runtime-wrapper-WFMNIHD5.js → runtime-wrapper-7HYO3NM5.js} +3 -3
- package/dist/mcp-chunks/{serve-command-KNCSJUXS.js → serve-command-UF5SVREV.js} +1111 -697
- package/dist/mcp-chunks/{timeouts-2ZHGSB3R.js → timeouts-BJWDJEMH.js} +3 -3
- package/dist/mcp-chunks/{vault-command-7EDL45AA.js → vault-command-EYOIFWEY.js} +5 -4
- package/dist/mcp-chunks/webapi-WMMA3OEC.js +82 -0
- package/dist/mcp-daemon.js +28 -27
- package/dist/mcp-run-worker.js +28 -27
- package/dist/pi-extension.d.ts.map +1 -1
- package/dist/pi-extension.js +6 -0
- package/dist/pi-extension.js.map +1 -1
- package/dist/recipe/package.d.ts +7 -0
- package/dist/recipe/package.d.ts.map +1 -1
- package/dist/recipe/package.js +69 -0
- package/dist/recipe/package.js.map +1 -1
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +6 -0
- package/dist/session.js.map +1 -1
- package/docs/documents.md +249 -0
- package/docs/index.md +1 -0
- package/docs/interactions.md +76 -8
- package/docs/mcp-configuration.md +10 -5
- package/docs/recipe-format.md +69 -1
- package/package.json +10 -6
- package/dist/mcp-chunks/call-arguments-WSURHOLV.js +0 -16
- package/dist/mcp-chunks/client-LXKCCVMT.js +0 -31
- package/dist/mcp-chunks/daemon-command-QHS3ACBM.js +0 -31
- package/dist/mcp-chunks/generated-daemon-runtime-7ORS5KBR.js +0 -31
- package/dist/mcp-chunks/runtime-IKWDQLZF.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-6P3KAQ5N.js";
|
|
5
5
|
import {
|
|
6
6
|
NON_INTERACTIVE_ELICITATION_HINT,
|
|
7
7
|
createNonInteractiveElicitationResponder,
|
|
8
8
|
registerElicitationHandler
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-F2X4Y2TQ.js";
|
|
10
10
|
import {
|
|
11
11
|
RecordTransport,
|
|
12
12
|
resolveRecordingPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2AKSS7WR.js";
|
|
14
14
|
import {
|
|
15
15
|
OAuthTimeoutError,
|
|
16
16
|
connectWithAuth,
|
|
@@ -20,25 +20,27 @@ import {
|
|
|
20
20
|
isUnauthorizedError,
|
|
21
21
|
maybeEnableOAuth,
|
|
22
22
|
resolveOAuthTimeoutFromEnv
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2YV72LUA.js";
|
|
24
24
|
import {
|
|
25
25
|
readCachedAccessToken
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-THRMUZZD.js";
|
|
27
27
|
import {
|
|
28
|
+
VaultEncryptionError,
|
|
29
|
+
childEnvWithoutVaultSecrets,
|
|
28
30
|
withRuntimeEnvironment
|
|
29
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-V42T3QNK.js";
|
|
30
32
|
import {
|
|
31
33
|
createPrefixedConsoleLogger,
|
|
32
34
|
resolveLogLevelFromEnv
|
|
33
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-O3RTM5HD.js";
|
|
34
36
|
import {
|
|
35
37
|
STDIO_TRACE_ENABLED,
|
|
36
38
|
flushStdioLogs,
|
|
37
39
|
ignoreStdioEmitterError
|
|
38
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3ETUDW7N.js";
|
|
39
41
|
import {
|
|
40
42
|
MCPORTER_VERSION
|
|
41
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-QNXOIF5U.js";
|
|
42
44
|
import {
|
|
43
45
|
ChromeDevtoolsRelayDiscoveryError,
|
|
44
46
|
ChromeDevtoolsRelayRequiredError,
|
|
@@ -56,27 +58,27 @@ import {
|
|
|
56
58
|
resolveCommandArgument,
|
|
57
59
|
resolveCommandArguments,
|
|
58
60
|
rewriteChromeDevtoolsArgsForRelay
|
|
59
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-6O42UGLI.js";
|
|
60
62
|
import {
|
|
61
63
|
loadServerDefinitions,
|
|
62
64
|
normalizeServerEntry,
|
|
63
65
|
readConfigFile
|
|
64
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-CXST5CVH.js";
|
|
65
67
|
import {
|
|
66
68
|
isRecord
|
|
67
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-7U5NSQ5T.js";
|
|
68
70
|
import {
|
|
69
71
|
pathExists
|
|
70
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-JEHI2YU4.js";
|
|
71
73
|
import {
|
|
72
74
|
mcporterConfigCandidates
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-IWCVZ46B.js";
|
|
74
76
|
import {
|
|
75
77
|
resolveEnvPlaceholders
|
|
76
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-BHXCAVFP.js";
|
|
77
79
|
import {
|
|
78
80
|
analyzeConnectionError
|
|
79
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-UVRJ3AAD.js";
|
|
80
82
|
import {
|
|
81
83
|
AjvJsonSchemaValidator,
|
|
82
84
|
Client,
|
|
@@ -90,16 +92,16 @@ import {
|
|
|
90
92
|
StreamableHTTPClientTransport,
|
|
91
93
|
serializeMessage,
|
|
92
94
|
specTypeSchemas
|
|
93
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-O7SIXJM6.js";
|
|
94
96
|
import {
|
|
95
97
|
__commonJS,
|
|
96
98
|
__require,
|
|
97
99
|
__toESM
|
|
98
100
|
} from "./chunk-LRKZP7DJ.js";
|
|
99
101
|
|
|
100
|
-
// node_modules/.pnpm/mcporter@0.
|
|
102
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/isexe/windows.js
|
|
101
103
|
var require_windows = __commonJS({
|
|
102
|
-
"node_modules/.pnpm/mcporter@0.
|
|
104
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/isexe/windows.js"(exports, module) {
|
|
103
105
|
module.exports = isexe;
|
|
104
106
|
isexe.sync = sync;
|
|
105
107
|
var fs7 = __require("fs");
|
|
@@ -137,9 +139,9 @@ var require_windows = __commonJS({
|
|
|
137
139
|
}
|
|
138
140
|
});
|
|
139
141
|
|
|
140
|
-
// node_modules/.pnpm/mcporter@0.
|
|
142
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/isexe/mode.js
|
|
141
143
|
var require_mode = __commonJS({
|
|
142
|
-
"node_modules/.pnpm/mcporter@0.
|
|
144
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/isexe/mode.js"(exports, module) {
|
|
143
145
|
module.exports = isexe;
|
|
144
146
|
isexe.sync = sync;
|
|
145
147
|
var fs7 = __require("fs");
|
|
@@ -170,9 +172,9 @@ var require_mode = __commonJS({
|
|
|
170
172
|
}
|
|
171
173
|
});
|
|
172
174
|
|
|
173
|
-
// node_modules/.pnpm/mcporter@0.
|
|
175
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/isexe/index.js
|
|
174
176
|
var require_isexe = __commonJS({
|
|
175
|
-
"node_modules/.pnpm/mcporter@0.
|
|
177
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/isexe/index.js"(exports, module) {
|
|
176
178
|
var fs7 = __require("fs");
|
|
177
179
|
var core;
|
|
178
180
|
if (process.platform === "win32" || global.TESTING_WINDOWS) {
|
|
@@ -225,9 +227,9 @@ var require_isexe = __commonJS({
|
|
|
225
227
|
}
|
|
226
228
|
});
|
|
227
229
|
|
|
228
|
-
// node_modules/.pnpm/mcporter@0.
|
|
230
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/which/which.js
|
|
229
231
|
var require_which = __commonJS({
|
|
230
|
-
"node_modules/.pnpm/mcporter@0.
|
|
232
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/which/which.js"(exports, module) {
|
|
231
233
|
var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
232
234
|
var path7 = __require("path");
|
|
233
235
|
var COLON = isWindows ? ";" : ":";
|
|
@@ -321,9 +323,9 @@ var require_which = __commonJS({
|
|
|
321
323
|
}
|
|
322
324
|
});
|
|
323
325
|
|
|
324
|
-
// node_modules/.pnpm/mcporter@0.
|
|
326
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/path-key/index.js
|
|
325
327
|
var require_path_key = __commonJS({
|
|
326
|
-
"node_modules/.pnpm/mcporter@0.
|
|
328
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/path-key/index.js"(exports, module) {
|
|
327
329
|
"use strict";
|
|
328
330
|
var pathKey = (options = {}) => {
|
|
329
331
|
const environment = options.env || process.env;
|
|
@@ -338,9 +340,9 @@ var require_path_key = __commonJS({
|
|
|
338
340
|
}
|
|
339
341
|
});
|
|
340
342
|
|
|
341
|
-
// node_modules/.pnpm/mcporter@0.
|
|
343
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
342
344
|
var require_resolveCommand = __commonJS({
|
|
343
|
-
"node_modules/.pnpm/mcporter@0.
|
|
345
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module) {
|
|
344
346
|
"use strict";
|
|
345
347
|
var path7 = __require("path");
|
|
346
348
|
var which = require_which();
|
|
@@ -380,9 +382,9 @@ var require_resolveCommand = __commonJS({
|
|
|
380
382
|
}
|
|
381
383
|
});
|
|
382
384
|
|
|
383
|
-
// node_modules/.pnpm/mcporter@0.
|
|
385
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/cross-spawn/lib/util/escape.js
|
|
384
386
|
var require_escape = __commonJS({
|
|
385
|
-
"node_modules/.pnpm/mcporter@0.
|
|
387
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/cross-spawn/lib/util/escape.js"(exports, module) {
|
|
386
388
|
"use strict";
|
|
387
389
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
388
390
|
function escapeCommand(arg) {
|
|
@@ -405,17 +407,17 @@ var require_escape = __commonJS({
|
|
|
405
407
|
}
|
|
406
408
|
});
|
|
407
409
|
|
|
408
|
-
// node_modules/.pnpm/mcporter@0.
|
|
410
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/shebang-regex/index.js
|
|
409
411
|
var require_shebang_regex = __commonJS({
|
|
410
|
-
"node_modules/.pnpm/mcporter@0.
|
|
412
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/shebang-regex/index.js"(exports, module) {
|
|
411
413
|
"use strict";
|
|
412
414
|
module.exports = /^#!(.*)/;
|
|
413
415
|
}
|
|
414
416
|
});
|
|
415
417
|
|
|
416
|
-
// node_modules/.pnpm/mcporter@0.
|
|
418
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/shebang-command/index.js
|
|
417
419
|
var require_shebang_command = __commonJS({
|
|
418
|
-
"node_modules/.pnpm/mcporter@0.
|
|
420
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/shebang-command/index.js"(exports, module) {
|
|
419
421
|
"use strict";
|
|
420
422
|
var shebangRegex = require_shebang_regex();
|
|
421
423
|
module.exports = (string = "") => {
|
|
@@ -433,9 +435,9 @@ var require_shebang_command = __commonJS({
|
|
|
433
435
|
}
|
|
434
436
|
});
|
|
435
437
|
|
|
436
|
-
// node_modules/.pnpm/mcporter@0.
|
|
438
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/cross-spawn/lib/util/readShebang.js
|
|
437
439
|
var require_readShebang = __commonJS({
|
|
438
|
-
"node_modules/.pnpm/mcporter@0.
|
|
440
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module) {
|
|
439
441
|
"use strict";
|
|
440
442
|
var fs7 = __require("fs");
|
|
441
443
|
var shebangCommand = require_shebang_command();
|
|
@@ -455,9 +457,9 @@ var require_readShebang = __commonJS({
|
|
|
455
457
|
}
|
|
456
458
|
});
|
|
457
459
|
|
|
458
|
-
// node_modules/.pnpm/mcporter@0.
|
|
460
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/cross-spawn/lib/parse.js
|
|
459
461
|
var require_parse = __commonJS({
|
|
460
|
-
"node_modules/.pnpm/mcporter@0.
|
|
462
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/cross-spawn/lib/parse.js"(exports, module) {
|
|
461
463
|
"use strict";
|
|
462
464
|
var path7 = __require("path");
|
|
463
465
|
var resolveCommand = require_resolveCommand();
|
|
@@ -517,9 +519,9 @@ var require_parse = __commonJS({
|
|
|
517
519
|
}
|
|
518
520
|
});
|
|
519
521
|
|
|
520
|
-
// node_modules/.pnpm/mcporter@0.
|
|
522
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/cross-spawn/lib/enoent.js
|
|
521
523
|
var require_enoent = __commonJS({
|
|
522
|
-
"node_modules/.pnpm/mcporter@0.
|
|
524
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/cross-spawn/lib/enoent.js"(exports, module) {
|
|
523
525
|
"use strict";
|
|
524
526
|
var isWin = process.platform === "win32";
|
|
525
527
|
function notFoundError(original, syscall) {
|
|
@@ -567,9 +569,9 @@ var require_enoent = __commonJS({
|
|
|
567
569
|
}
|
|
568
570
|
});
|
|
569
571
|
|
|
570
|
-
// node_modules/.pnpm/mcporter@0.
|
|
572
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/cross-spawn/index.js
|
|
571
573
|
var require_cross_spawn = __commonJS({
|
|
572
|
-
"node_modules/.pnpm/mcporter@0.
|
|
574
|
+
"node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/cross-spawn/index.js"(exports, module) {
|
|
573
575
|
"use strict";
|
|
574
576
|
var cp = __require("child_process");
|
|
575
577
|
var parse = require_parse();
|
|
@@ -594,7 +596,7 @@ var require_cross_spawn = __commonJS({
|
|
|
594
596
|
}
|
|
595
597
|
});
|
|
596
598
|
|
|
597
|
-
// node_modules/.pnpm/mcporter@0.
|
|
599
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/connection-identity.js
|
|
598
600
|
import { createHash } from "node:crypto";
|
|
599
601
|
import fs from "node:fs/promises";
|
|
600
602
|
import path from "node:path";
|
|
@@ -611,7 +613,7 @@ var BROKER_ENV = /* @__PURE__ */ new Set([
|
|
|
611
613
|
"MCPORTER_NO_FORCE_EXIT"
|
|
612
614
|
]);
|
|
613
615
|
async function effectiveDefinition(definition, inherited = process.env, purpose = "connection") {
|
|
614
|
-
const env = Object.fromEntries(Object.entries(resolveChromeDevtoolsRelayEnvironment(definition.env, inherited)).filter(([key, value]) => value !== void 0 && !BROKER_ENV.has(key)));
|
|
616
|
+
const env = Object.fromEntries(Object.entries(resolveChromeDevtoolsRelayEnvironment(definition.env, childEnvWithoutVaultSecrets(inherited))).filter(([key, value]) => value !== void 0 && !BROKER_ENV.has(key)));
|
|
615
617
|
const configuredEnv = Object.fromEntries(Object.keys(definition.env ?? {}).filter((key) => !BROKER_ENV.has(key)).map((key) => [key, env[key] ?? ""]));
|
|
616
618
|
normalizeChromeEnvironment(definition, env);
|
|
617
619
|
const chrome = isExistingChromeDefinition(definition, env);
|
|
@@ -685,16 +687,16 @@ function isExistingChromeDefinition(definition, env) {
|
|
|
685
687
|
return [definition.name, command, ...args].some((value) => /chrome[-_]devtools(?:[-_]mcp)?/i.test(value)) && isExistingChromeDevtoolsCommand(command, args);
|
|
686
688
|
}
|
|
687
689
|
|
|
688
|
-
// node_modules/.pnpm/mcporter@0.
|
|
690
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/browser-owner.js
|
|
689
691
|
import os3 from "node:os";
|
|
690
692
|
import path4 from "node:path";
|
|
691
693
|
|
|
692
|
-
// node_modules/.pnpm/mcporter@0.
|
|
694
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/paths.js
|
|
693
695
|
import fs3 from "node:fs/promises";
|
|
694
696
|
import { constants } from "node:fs";
|
|
695
697
|
import { createHash as createHash2 } from "node:crypto";
|
|
696
698
|
|
|
697
|
-
// node_modules/.pnpm/mcporter@0.
|
|
699
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/chrome-devtools-relay-handoff.js
|
|
698
700
|
import { spawnSync } from "node:child_process";
|
|
699
701
|
import { randomBytes } from "node:crypto";
|
|
700
702
|
import fs2 from "node:fs";
|
|
@@ -925,7 +927,7 @@ if (targetPath?.includes('chrome-devtools-mcp')) {
|
|
|
925
927
|
`;
|
|
926
928
|
}
|
|
927
929
|
|
|
928
|
-
// node_modules/.pnpm/mcporter@0.
|
|
930
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/paths.js
|
|
929
931
|
import os2 from "node:os";
|
|
930
932
|
import path3 from "node:path";
|
|
931
933
|
function daemonBaseDir() {
|
|
@@ -1024,7 +1026,7 @@ function getDaemonLogPath(_configKey) {
|
|
|
1024
1026
|
return path3.join(daemonRunDir(), "user.log");
|
|
1025
1027
|
}
|
|
1026
1028
|
|
|
1027
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1029
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/browser-owner.js
|
|
1028
1030
|
var BrowserOwnerConflict = class extends Error {
|
|
1029
1031
|
code = "browser_owner_conflict";
|
|
1030
1032
|
constructor(reason) {
|
|
@@ -1141,7 +1143,7 @@ var BrowserOwner = class {
|
|
|
1141
1143
|
}
|
|
1142
1144
|
};
|
|
1143
1145
|
|
|
1144
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1146
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/transport-authority.js
|
|
1145
1147
|
var authority = /* @__PURE__ */ Symbol("broker transport authority");
|
|
1146
1148
|
function authorizeBrokerDefinition(definition, validateRequest) {
|
|
1147
1149
|
Object.defineProperty(definition, authority, { value: { validateRequest }, enumerable: true });
|
|
@@ -1158,7 +1160,7 @@ function assertChromeBrokerAuthority(definition) {
|
|
|
1158
1160
|
}
|
|
1159
1161
|
}
|
|
1160
1162
|
|
|
1161
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1163
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime-process-utils.js
|
|
1162
1164
|
import { execFile } from "node:child_process";
|
|
1163
1165
|
import { setTimeout as delay } from "node:timers/promises";
|
|
1164
1166
|
async function captureTransportProcessTree(transport) {
|
|
@@ -1376,7 +1378,7 @@ async function waitForTreeExit(pids, durationMs) {
|
|
|
1376
1378
|
}
|
|
1377
1379
|
}
|
|
1378
1380
|
|
|
1379
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1381
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/errors.js
|
|
1380
1382
|
var NON_FATAL_MCP_ERROR_CODES = /* @__PURE__ */ new Set([
|
|
1381
1383
|
ProtocolErrorCode.InvalidRequest,
|
|
1382
1384
|
ProtocolErrorCode.MethodNotFound,
|
|
@@ -1398,7 +1400,7 @@ function protocolErrorCode(error) {
|
|
|
1398
1400
|
return typeof error.code === "number" ? error.code : void 0;
|
|
1399
1401
|
}
|
|
1400
1402
|
|
|
1401
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1403
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/replay-transport.js
|
|
1402
1404
|
import fs4 from "node:fs";
|
|
1403
1405
|
import { isDeepStrictEqual } from "node:util";
|
|
1404
1406
|
var CLIENT_IDENTITY_META_KEYS = [
|
|
@@ -1620,7 +1622,7 @@ function formatReplayRemainder(server, expectedSends) {
|
|
|
1620
1622
|
return `Replay ended for server '${server}' with ${count} recorded ${requestText} still unused; next expected recv ${expectedText}.`;
|
|
1621
1623
|
}
|
|
1622
1624
|
|
|
1623
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1625
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/node_modules/@modelcontextprotocol/client/dist/stdio.mjs
|
|
1624
1626
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
1625
1627
|
import process2 from "node:process";
|
|
1626
1628
|
import { PassThrough } from "node:stream";
|
|
@@ -1832,14 +1834,14 @@ var StdioClientTransport = class {
|
|
|
1832
1834
|
}
|
|
1833
1835
|
};
|
|
1834
1836
|
|
|
1835
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1837
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/chrome-devtools-compat.js
|
|
1836
1838
|
import fs6 from "node:fs";
|
|
1837
1839
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
1838
1840
|
import os4 from "node:os";
|
|
1839
1841
|
import path6 from "node:path";
|
|
1840
1842
|
import { fileURLToPath, pathToFileURL as pathToFileURL2 } from "node:url";
|
|
1841
1843
|
|
|
1842
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1844
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/chrome-devtools-auto-connect-patch.js
|
|
1843
1845
|
import fs5 from "node:fs";
|
|
1844
1846
|
import path5 from "node:path";
|
|
1845
1847
|
var MARKER = "MCPORTER_DEVTOOLS_TIMEOUT_PATCH";
|
|
@@ -1926,7 +1928,7 @@ ${helper}`);
|
|
|
1926
1928
|
}
|
|
1927
1929
|
}
|
|
1928
1930
|
|
|
1929
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1931
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/chrome-devtools-compat.js
|
|
1930
1932
|
var FALLBACK_PATCH_FILENAME = "mcporter-chrome-devtools-auto-connect-patch.js";
|
|
1931
1933
|
function applyChromeDevtoolsCompat(env, command, args) {
|
|
1932
1934
|
if (!shouldApplyChromeDevtoolsCompat(command, args, env)) {
|
|
@@ -1991,7 +1993,7 @@ function writeFallbackPatch(fallbackDir) {
|
|
|
1991
1993
|
}
|
|
1992
1994
|
}
|
|
1993
1995
|
|
|
1994
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1996
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/cached-auth.js
|
|
1995
1997
|
function hasAuthorizationHeader(headers) {
|
|
1996
1998
|
return Boolean(headers && Object.keys(headers).some((key) => key.toLowerCase() === "authorization"));
|
|
1997
1999
|
}
|
|
@@ -2046,7 +2048,7 @@ async function applyCachedAuthIfAvailable(definition, logger, allowCachedAuth) {
|
|
|
2046
2048
|
}
|
|
2047
2049
|
};
|
|
2048
2050
|
} catch (error) {
|
|
2049
|
-
if (definition.auth === "refreshable_bearer") {
|
|
2051
|
+
if (definition.auth === "refreshable_bearer" || error instanceof VaultEncryptionError) {
|
|
2050
2052
|
throw error;
|
|
2051
2053
|
}
|
|
2052
2054
|
logger.debug?.(`Failed to read cached OAuth token for '${definition.name}': ${error instanceof Error ? error.message : String(error)}`);
|
|
@@ -2054,7 +2056,7 @@ async function applyCachedAuthIfAvailable(definition, logger, allowCachedAuth) {
|
|
|
2054
2056
|
}
|
|
2055
2057
|
}
|
|
2056
2058
|
|
|
2057
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2059
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime-header-utils.js
|
|
2058
2060
|
function materializeHeaders(headers, serverName, env = process.env) {
|
|
2059
2061
|
if (!headers) {
|
|
2060
2062
|
return void 0;
|
|
@@ -2071,7 +2073,7 @@ function materializeHeaders(headers, serverName, env = process.env) {
|
|
|
2071
2073
|
return resolved;
|
|
2072
2074
|
}
|
|
2073
2075
|
|
|
2074
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2076
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/node-http-fetch.js
|
|
2075
2077
|
import http from "node:http";
|
|
2076
2078
|
import https from "node:https";
|
|
2077
2079
|
import { Buffer as Buffer2 } from "node:buffer";
|
|
@@ -2251,7 +2253,7 @@ async function materializeRequestBody(body) {
|
|
|
2251
2253
|
throw new TypeError("node-http1 fetch does not support streaming request bodies.");
|
|
2252
2254
|
}
|
|
2253
2255
|
|
|
2254
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2256
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/http-transport.js
|
|
2255
2257
|
function extractTransportStatusCode(error) {
|
|
2256
2258
|
if (!error || typeof error !== "object")
|
|
2257
2259
|
return void 0;
|
|
@@ -2471,7 +2473,7 @@ async function connectSseFallbackTransport(client, definition, command, transpor
|
|
|
2471
2473
|
}
|
|
2472
2474
|
}
|
|
2473
2475
|
|
|
2474
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2476
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/schema-validator.js
|
|
2475
2477
|
var schemaMaps = /* @__PURE__ */ new Set([
|
|
2476
2478
|
"$defs",
|
|
2477
2479
|
"definitions",
|
|
@@ -2530,7 +2532,7 @@ function createOutputSchemaValidator() {
|
|
|
2530
2532
|
};
|
|
2531
2533
|
}
|
|
2532
2534
|
|
|
2533
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2535
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/stdio-transport.js
|
|
2534
2536
|
var McporterStdioTransport = class extends StdioClientTransport {
|
|
2535
2537
|
parameters;
|
|
2536
2538
|
meta;
|
|
@@ -2643,7 +2645,7 @@ var McporterStdioTransport = class extends StdioClientTransport {
|
|
|
2643
2645
|
}
|
|
2644
2646
|
};
|
|
2645
2647
|
|
|
2646
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2648
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/transport.js
|
|
2647
2649
|
function shouldUseModeForServer(definition, serverFilter) {
|
|
2648
2650
|
return !serverFilter || serverFilter === definition.name;
|
|
2649
2651
|
}
|
|
@@ -2839,7 +2841,7 @@ async function createClientContext(definition, logger, clientInfo, options = {})
|
|
|
2839
2841
|
return createReplayClientContext(definition, options.replayPath, clientInfo, options);
|
|
2840
2842
|
}
|
|
2841
2843
|
assertChromeBrokerAuthority(definition);
|
|
2842
|
-
const env = isBrokerDefinition(definition) ? definition.env : resolveChromeDevtoolsRelayEnvironment(definition.env);
|
|
2844
|
+
const env = isBrokerDefinition(definition) ? definition.env : resolveChromeDevtoolsRelayEnvironment(definition.env, childEnvWithoutVaultSecrets(process.env));
|
|
2843
2845
|
return withRuntimeEnvironment(env ?? {}, async () => {
|
|
2844
2846
|
const activeDefinition = await applyCachedAuthIfAvailable({ ...definition, env }, logger, options.allowCachedAuth);
|
|
2845
2847
|
if (activeDefinition.command.kind === "stdio") {
|
|
@@ -2868,7 +2870,7 @@ async function createClientContext(definition, logger, clientInfo, options = {})
|
|
|
2868
2870
|
});
|
|
2869
2871
|
}
|
|
2870
2872
|
|
|
2871
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2873
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/connection-cache.js
|
|
2872
2874
|
var RuntimeConnectionCache = class {
|
|
2873
2875
|
definitions;
|
|
2874
2876
|
options;
|
|
@@ -2880,6 +2882,7 @@ var RuntimeConnectionCache = class {
|
|
|
2880
2882
|
serverGenerations = /* @__PURE__ */ new Map();
|
|
2881
2883
|
retirementPromises = /* @__PURE__ */ new Map();
|
|
2882
2884
|
lastConnectionInfo = /* @__PURE__ */ new Map();
|
|
2885
|
+
lastInstructions = /* @__PURE__ */ new Map();
|
|
2883
2886
|
uncachedInFlight = /* @__PURE__ */ new Set();
|
|
2884
2887
|
constructor(definitions, options) {
|
|
2885
2888
|
this.definitions = definitions;
|
|
@@ -2903,24 +2906,22 @@ var RuntimeConnectionCache = class {
|
|
|
2903
2906
|
supersedeDefinition(server, replace) {
|
|
2904
2907
|
this.bumpServerGeneration(server);
|
|
2905
2908
|
this.lastConnectionInfo.delete(server.trim());
|
|
2909
|
+
this.lastInstructions.delete(server.trim());
|
|
2906
2910
|
replace();
|
|
2907
2911
|
this.retireCachedEntriesForServer(server);
|
|
2908
2912
|
}
|
|
2909
2913
|
async getInstructions(server) {
|
|
2914
|
+
const normalized = server.trim();
|
|
2910
2915
|
const active = this.activeClientForServer(server);
|
|
2911
2916
|
const fallbackEntries = active ? [] : this.cachedEntriesForServer(server);
|
|
2912
2917
|
const cached = active ?? (fallbackEntries.length === 1 ? fallbackEntries[0] : void 0);
|
|
2913
2918
|
if (!cached)
|
|
2914
|
-
return
|
|
2919
|
+
return this.lastInstructions.get(normalized);
|
|
2915
2920
|
try {
|
|
2916
2921
|
const context = await cached.promise;
|
|
2917
|
-
|
|
2918
|
-
if (typeof instructions !== "string")
|
|
2919
|
-
return void 0;
|
|
2920
|
-
const trimmed = instructions.trim();
|
|
2921
|
-
return trimmed.length > 0 ? trimmed : void 0;
|
|
2922
|
+
return instructionsFromClient(context.client);
|
|
2922
2923
|
} catch {
|
|
2923
|
-
return
|
|
2924
|
+
return this.lastInstructions.get(normalized);
|
|
2924
2925
|
}
|
|
2925
2926
|
}
|
|
2926
2927
|
async getConnectionInfo(server) {
|
|
@@ -3120,6 +3121,12 @@ var RuntimeConnectionCache = class {
|
|
|
3120
3121
|
contextRef.current = context;
|
|
3121
3122
|
if (this.serverGeneration(normalized) === generation && !abortController.signal.aborted) {
|
|
3122
3123
|
this.lastConnectionInfo.set(normalized, connectionInfoFromClient(context.client));
|
|
3124
|
+
const instructions = instructionsFromClient(context.client);
|
|
3125
|
+
if (instructions === void 0) {
|
|
3126
|
+
this.lastInstructions.delete(normalized);
|
|
3127
|
+
} else {
|
|
3128
|
+
this.lastInstructions.set(normalized, instructions);
|
|
3129
|
+
}
|
|
3123
3130
|
}
|
|
3124
3131
|
return context;
|
|
3125
3132
|
});
|
|
@@ -3452,6 +3459,13 @@ var RuntimeConnectionCache = class {
|
|
|
3452
3459
|
return `${server}\0oauth-disabled:${disableOAuth ? "1" : "0"}\0${cachedAuthKey}`;
|
|
3453
3460
|
}
|
|
3454
3461
|
};
|
|
3462
|
+
function instructionsFromClient(client) {
|
|
3463
|
+
const instructions = typeof client.getInstructions === "function" ? client.getInstructions() : void 0;
|
|
3464
|
+
if (typeof instructions !== "string")
|
|
3465
|
+
return void 0;
|
|
3466
|
+
const trimmed = instructions.trim();
|
|
3467
|
+
return trimmed.length > 0 ? trimmed : void 0;
|
|
3468
|
+
}
|
|
3455
3469
|
function connectionInfoFromClient(client) {
|
|
3456
3470
|
return {
|
|
3457
3471
|
protocolVersion: typeof client.getNegotiatedProtocolVersion === "function" ? client.getNegotiatedProtocolVersion() : void 0,
|
|
@@ -3459,7 +3473,7 @@ function connectionInfoFromClient(client) {
|
|
|
3459
3473
|
};
|
|
3460
3474
|
}
|
|
3461
3475
|
|
|
3462
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3476
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/tool-filters.js
|
|
3463
3477
|
function validateToolFilters(name, filter) {
|
|
3464
3478
|
if (filter.allowedTools !== void 0 && filter.blockedTools !== void 0) {
|
|
3465
3479
|
throw new Error(`Server '${name}' cannot specify both allowedTools and blockedTools.`);
|
|
@@ -3481,7 +3495,7 @@ function filterTools(tools, filter) {
|
|
|
3481
3495
|
return tools.filter((tool) => isToolAllowed(tool.name, filter));
|
|
3482
3496
|
}
|
|
3483
3497
|
|
|
3484
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3498
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime.js
|
|
3485
3499
|
var PACKAGE_NAME = "mcporter";
|
|
3486
3500
|
var OAUTH_CODE_TIMEOUT_MS = resolveOAuthTimeoutFromEnv();
|
|
3487
3501
|
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
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "mcporter",
|
|
6
|
-
version: "0.
|
|
6
|
+
version: "0.16.1",
|
|
7
7
|
description: "TypeScript runtime and CLI for connecting to configured Model Context Protocol servers.",
|
|
8
8
|
keywords: [
|
|
9
9
|
"cli",
|
|
@@ -43,34 +43,35 @@ var package_default = {
|
|
|
43
43
|
},
|
|
44
44
|
dependencies: {
|
|
45
45
|
"@iarna/toml": "^2.2.5",
|
|
46
|
-
"@modelcontextprotocol/client": "^2.
|
|
47
|
-
"@modelcontextprotocol/server": "^2.
|
|
46
|
+
"@modelcontextprotocol/client": "^2.4.0",
|
|
47
|
+
"@modelcontextprotocol/server": "^2.4.0",
|
|
48
48
|
acorn: "^8.19.0",
|
|
49
49
|
commander: "^15.0.0",
|
|
50
50
|
"es-toolkit": "^1.52.0",
|
|
51
|
+
jose: "^6.2.13",
|
|
51
52
|
"jsonc-parser": "^3.3.1",
|
|
52
53
|
ora: "^9.4.1",
|
|
53
|
-
rolldown: "1.2.
|
|
54
|
+
rolldown: "1.2.15",
|
|
54
55
|
zod: "^4.6.7"
|
|
55
56
|
},
|
|
56
57
|
devDependencies: {
|
|
57
|
-
"@modelcontextprotocol/sdk": "^1.32.
|
|
58
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
58
59
|
"@types/estree": "^1.0.9",
|
|
59
60
|
"@types/express": "^5.0.6",
|
|
60
61
|
"@types/node": "^26.6.5",
|
|
61
62
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
62
|
-
"@vitest/coverage-v8": "^5.0.
|
|
63
|
-
"bun-types": "^1.4.
|
|
63
|
+
"@vitest/coverage-v8": "^5.0.5",
|
|
64
|
+
"bun-types": "^1.4.4",
|
|
64
65
|
"cross-env": "^10.1.0",
|
|
65
66
|
express: "^5.3.0",
|
|
66
|
-
oxfmt: "^0.
|
|
67
|
-
oxlint: "^1.
|
|
68
|
-
"oxlint-tsgolint": "^7.0.
|
|
67
|
+
oxfmt: "^0.74.0",
|
|
68
|
+
oxlint: "^1.89.0",
|
|
69
|
+
"oxlint-tsgolint": "^7.0.2005",
|
|
69
70
|
rimraf: "^6.1.3",
|
|
70
71
|
tsx: "^4.23.15",
|
|
71
72
|
typescript: "npm:@typescript/typescript6@^6.0.2",
|
|
72
|
-
vite: "8.3.
|
|
73
|
-
vitest: "^5.0.
|
|
73
|
+
vite: "8.3.5",
|
|
74
|
+
vitest: "^5.0.5"
|
|
74
75
|
},
|
|
75
76
|
bundleDependencies: [
|
|
76
77
|
"@modelcontextprotocol/client"
|
|
@@ -119,7 +120,7 @@ var package_default = {
|
|
|
119
120
|
}
|
|
120
121
|
};
|
|
121
122
|
|
|
122
|
-
// node_modules/.pnpm/mcporter@0.
|
|
123
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/version.js
|
|
123
124
|
var MCPORTER_VERSION = package_default.version;
|
|
124
125
|
|
|
125
126
|
export {
|
|
@@ -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-DU4SDPEV.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.16.1/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,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-HNQSUT44.js";
|
|
5
5
|
import {
|
|
6
6
|
DaemonClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GTETFUPQ.js";
|
|
8
8
|
import {
|
|
9
9
|
isKeepAliveServer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MHUMLEBO.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/.pnpm/mcporter@0.
|
|
12
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/generated-daemon-runtime.js
|
|
13
13
|
async function createGeneratedKeepAliveRuntime(base, server) {
|
|
14
14
|
if (!isKeepAliveServer(server)) {
|
|
15
15
|
return {
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
resolveChromeDevtoolsRelayEnvironment,
|
|
6
6
|
resolveCommandArgument,
|
|
7
7
|
resolveCommandArguments
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6O42UGLI.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/mcporter@0.
|
|
10
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/timeouts.js
|
|
11
11
|
var DEFAULT_LIST_TIMEOUT_MS = 3e4;
|
|
12
12
|
var DEFAULT_CALL_TIMEOUT_MS = 6e4;
|
|
13
13
|
var DEFAULT_CHROME_TIMEOUT_MS = 3e5;
|