@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
|
@@ -4,72 +4,72 @@ import {
|
|
|
4
4
|
DEBUG_HANG,
|
|
5
5
|
dumpActiveHandles,
|
|
6
6
|
terminateChildProcesses
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YFCNRWLV.js";
|
|
8
8
|
import {
|
|
9
9
|
consumeMatchingTokens,
|
|
10
10
|
extractFlags
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CN5KSNWG.js";
|
|
12
12
|
import {
|
|
13
13
|
isRecordReplayModeActive,
|
|
14
14
|
isReplayModeActive
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-D2SZ7KRY.js";
|
|
16
16
|
import {
|
|
17
17
|
parseCallArguments
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ANNJGB6F.js";
|
|
19
19
|
import {
|
|
20
20
|
CliUsageError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LUVLTUKR.js";
|
|
22
22
|
import {
|
|
23
23
|
getActiveLogLevel,
|
|
24
24
|
getActiveLogger,
|
|
25
25
|
logError,
|
|
26
26
|
logInfo,
|
|
27
27
|
setLogLevel
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YWFQPA4D.js";
|
|
29
29
|
import {
|
|
30
30
|
extractListFlags
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-347GOMV4.js";
|
|
32
32
|
import {
|
|
33
33
|
chooseClosestIdentifier,
|
|
34
34
|
renderIdentifierResolutionMessages
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OI3RTQXY.js";
|
|
36
36
|
import {
|
|
37
37
|
boldText,
|
|
38
38
|
dimText,
|
|
39
39
|
extraDimText,
|
|
40
40
|
supportsAnsiColor,
|
|
41
41
|
yellowText
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-OSTHIELS.js";
|
|
43
43
|
import {
|
|
44
44
|
STDOUT_FLUSH_TIMEOUT_MS,
|
|
45
45
|
parsePositiveInteger,
|
|
46
46
|
resolveCallTimeout
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-D65GOMYV.js";
|
|
48
|
+
import "./chunk-7IVXKYTI.js";
|
|
49
49
|
import {
|
|
50
50
|
looksLikeHttpUrl,
|
|
51
51
|
splitHttpToolSelector
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-LISNXOIQ.js";
|
|
53
|
+
import "./chunk-DBNBEWRX.js";
|
|
54
54
|
import {
|
|
55
55
|
createInteractiveElicitationResponder
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-RHXZKYM7.js";
|
|
57
57
|
import {
|
|
58
58
|
parseLogLevel
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-C4TJGC4F.js";
|
|
60
60
|
import {
|
|
61
61
|
MCPORTER_VERSION
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-YPSODIQX.js";
|
|
63
|
+
import "./chunk-DUBQHYW4.js";
|
|
64
64
|
import {
|
|
65
65
|
resolveConfigPath
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-RZZO3ZD4.js";
|
|
67
|
+
import "./chunk-ZXIF7MKN.js";
|
|
68
68
|
import "./chunk-T4MQCFIK.js";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-VWPKJFK4.js";
|
|
70
70
|
import "./chunk-LRKZP7DJ.js";
|
|
71
71
|
|
|
72
|
-
// node_modules/.pnpm/mcporter@0.
|
|
72
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/cli-factory.js
|
|
73
73
|
function buildGlobalContext(argv) {
|
|
74
74
|
const globalFlags = extractFlags(argv, ["--config", "--root", "--log-level", "--oauth-timeout"]);
|
|
75
75
|
if (globalFlags["--log-level"]) {
|
|
@@ -102,7 +102,7 @@ function buildGlobalContext(argv) {
|
|
|
102
102
|
return { globalFlags, oauthTimeoutOverride, runtimeOptions };
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
// node_modules/.pnpm/mcporter@0.
|
|
105
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/command-inference.js
|
|
106
106
|
var CALL_TOKEN_PATTERN = /[.(]/;
|
|
107
107
|
function inferCommandRouting(token, args, definitions) {
|
|
108
108
|
if (!token) {
|
|
@@ -174,7 +174,7 @@ function isHttpToolToken(token) {
|
|
|
174
174
|
return splitHttpToolSelector(token) !== null;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
// node_modules/.pnpm/mcporter@0.
|
|
177
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/help-output.js
|
|
178
178
|
import fsPromises from "node:fs/promises";
|
|
179
179
|
function printHelp(message) {
|
|
180
180
|
if (message) {
|
|
@@ -377,7 +377,7 @@ async function resolveCliVersion() {
|
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
-
// node_modules/.pnpm/mcporter@0.
|
|
380
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/network-family-autoselection.js
|
|
381
381
|
import net from "node:net";
|
|
382
382
|
var NODE_DEFAULT_ATTEMPT_TIMEOUT_MS = 250;
|
|
383
383
|
var MCPORTER_ATTEMPT_TIMEOUT_MS = 1500;
|
|
@@ -411,7 +411,7 @@ function isNodeOptionBoundary(character) {
|
|
|
411
411
|
return character === void 0 || character === "'" || character === '"' || /\s/u.test(character);
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
-
// node_modules/.pnpm/mcporter@0.
|
|
414
|
+
// node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli.js
|
|
415
415
|
configureAutoSelectFamilyAttemptTimeout();
|
|
416
416
|
var FORCE_EXIT_GRACE_MS = 50;
|
|
417
417
|
var DAEMON_FAST_PATH_SERVERS = /* @__PURE__ */ new Set(["chrome-devtools", "mobile-mcp", "playwright"]);
|
|
@@ -453,31 +453,31 @@ function flushStdioThenForceExit() {
|
|
|
453
453
|
});
|
|
454
454
|
}
|
|
455
455
|
async function handleAuth(...args) {
|
|
456
|
-
const { handleAuth: imported } = await import("./auth-command-
|
|
456
|
+
const { handleAuth: imported } = await import("./auth-command-GMMLBU24.js");
|
|
457
457
|
return imported(...args);
|
|
458
458
|
}
|
|
459
459
|
async function printAuthHelp() {
|
|
460
|
-
const { printAuthHelp: imported } = await import("./auth-command-
|
|
460
|
+
const { printAuthHelp: imported } = await import("./auth-command-GMMLBU24.js");
|
|
461
461
|
imported();
|
|
462
462
|
}
|
|
463
463
|
async function handleCall(...args) {
|
|
464
|
-
const { handleCall: imported } = await import("./call-command-
|
|
464
|
+
const { handleCall: imported } = await import("./call-command-2VF6IKAZ.js");
|
|
465
465
|
return imported(...args);
|
|
466
466
|
}
|
|
467
467
|
async function handleGenerateCli(...args) {
|
|
468
|
-
const { handleGenerateCli: imported } = await import("./generate-cli-runner-
|
|
468
|
+
const { handleGenerateCli: imported } = await import("./generate-cli-runner-HWGI6HPL.js");
|
|
469
469
|
return imported(...args);
|
|
470
470
|
}
|
|
471
471
|
async function handleInspectCli(...args) {
|
|
472
|
-
const { handleInspectCli: imported } = await import("./inspect-cli-command-
|
|
472
|
+
const { handleInspectCli: imported } = await import("./inspect-cli-command-FT5JSB7V.js");
|
|
473
473
|
return imported(...args);
|
|
474
474
|
}
|
|
475
475
|
async function handleList(...args) {
|
|
476
|
-
const { handleList: imported } = await import("./list-command-
|
|
476
|
+
const { handleList: imported } = await import("./list-command-YKF7RN6Y.js");
|
|
477
477
|
return imported(...args);
|
|
478
478
|
}
|
|
479
479
|
async function handleResource(...args) {
|
|
480
|
-
const { handleResource: imported } = await import("./resource-command-
|
|
480
|
+
const { handleResource: imported } = await import("./resource-command-L4I24AX5.js");
|
|
481
481
|
return imported(...args);
|
|
482
482
|
}
|
|
483
483
|
async function runCli(argv) {
|
|
@@ -510,23 +510,23 @@ async function runCli(argv) {
|
|
|
510
510
|
}
|
|
511
511
|
if (command === "generate-cli") {
|
|
512
512
|
if (consumeHelpTokens(args)) {
|
|
513
|
-
const { printGenerateCliHelp } = await import("./generate-cli-runner-
|
|
513
|
+
const { printGenerateCliHelp } = await import("./generate-cli-runner-HWGI6HPL.js");
|
|
514
514
|
printGenerateCliHelp();
|
|
515
515
|
process.exitCode = 0;
|
|
516
516
|
return;
|
|
517
517
|
}
|
|
518
|
-
const { handleGenerateCli: importedHandleGenerateCli } = await import("./generate-cli-runner-
|
|
518
|
+
const { handleGenerateCli: importedHandleGenerateCli } = await import("./generate-cli-runner-HWGI6HPL.js");
|
|
519
519
|
await importedHandleGenerateCli(args, globalFlags);
|
|
520
520
|
return;
|
|
521
521
|
}
|
|
522
522
|
if (command === "inspect-cli") {
|
|
523
523
|
if (consumeHelpTokens(args)) {
|
|
524
|
-
const { printInspectCliHelp } = await import("./inspect-cli-command-
|
|
524
|
+
const { printInspectCliHelp } = await import("./inspect-cli-command-FT5JSB7V.js");
|
|
525
525
|
printInspectCliHelp();
|
|
526
526
|
process.exitCode = 0;
|
|
527
527
|
return;
|
|
528
528
|
}
|
|
529
|
-
const { handleInspectCli: importedHandleInspectCli } = await import("./inspect-cli-command-
|
|
529
|
+
const { handleInspectCli: importedHandleInspectCli } = await import("./inspect-cli-command-FT5JSB7V.js");
|
|
530
530
|
await importedHandleInspectCli(args);
|
|
531
531
|
return;
|
|
532
532
|
}
|
|
@@ -541,7 +541,7 @@ async function runCli(argv) {
|
|
|
541
541
|
...interactiveElicitation ? { elicitationHandler: interactiveElicitation.handler } : {}
|
|
542
542
|
};
|
|
543
543
|
if (command === "daemon") {
|
|
544
|
-
const { handleDaemonCli } = await import("./daemon-command-
|
|
544
|
+
const { handleDaemonCli } = await import("./daemon-command-QHS3ACBM.js");
|
|
545
545
|
await handleDaemonCli(args, {
|
|
546
546
|
configPath: configPathResolved,
|
|
547
547
|
configExplicit: configResolution.explicit,
|
|
@@ -550,7 +550,7 @@ async function runCli(argv) {
|
|
|
550
550
|
return;
|
|
551
551
|
}
|
|
552
552
|
if (command === "serve") {
|
|
553
|
-
const { handleServeCli, printServeHelp } = await import("./serve-command-
|
|
553
|
+
const { handleServeCli, printServeHelp } = await import("./serve-command-KNCSJUXS.js");
|
|
554
554
|
if (consumeHelpTokens(args)) {
|
|
555
555
|
printServeHelp();
|
|
556
556
|
process.exitCode = 0;
|
|
@@ -564,7 +564,7 @@ async function runCli(argv) {
|
|
|
564
564
|
return;
|
|
565
565
|
}
|
|
566
566
|
if (command === "record") {
|
|
567
|
-
const { handleRecordCli, printRecordHelp } = await import("./record-command-
|
|
567
|
+
const { handleRecordCli, printRecordHelp } = await import("./record-command-MJW3Z5E5.js");
|
|
568
568
|
if (consumeHelpTokens(wrapperArgsBeforeSeparator(args))) {
|
|
569
569
|
printRecordHelp();
|
|
570
570
|
process.exitCode = 0;
|
|
@@ -574,7 +574,7 @@ async function runCli(argv) {
|
|
|
574
574
|
return;
|
|
575
575
|
}
|
|
576
576
|
if (command === "replay") {
|
|
577
|
-
const { handleReplayCli, printReplayHelp } = await import("./replay-command-
|
|
577
|
+
const { handleReplayCli, printReplayHelp } = await import("./replay-command-5ZHBUOLE.js");
|
|
578
578
|
if (consumeHelpTokens(wrapperArgsBeforeSeparator(args))) {
|
|
579
579
|
printReplayHelp();
|
|
580
580
|
process.exitCode = 0;
|
|
@@ -584,7 +584,7 @@ async function runCli(argv) {
|
|
|
584
584
|
return;
|
|
585
585
|
}
|
|
586
586
|
if (command === "config") {
|
|
587
|
-
const { handleConfigCli } = await import("./config-command-
|
|
587
|
+
const { handleConfigCli } = await import("./config-command-72TCIWPV.js");
|
|
588
588
|
await handleConfigCli({
|
|
589
589
|
loadOptions: { configPath, rootDir: rootOverride },
|
|
590
590
|
invokeAuth: (authArgs) => invokeAuthCommand(runtimeOptionsWithPath, authArgs)
|
|
@@ -593,14 +593,14 @@ async function runCli(argv) {
|
|
|
593
593
|
}
|
|
594
594
|
if (command === "emit-ts") {
|
|
595
595
|
if (consumeHelpTokens(args)) {
|
|
596
|
-
const { printEmitTsHelp } = await import("./emit-ts-command-
|
|
596
|
+
const { printEmitTsHelp } = await import("./emit-ts-command-KD4ON2SE.js");
|
|
597
597
|
printEmitTsHelp();
|
|
598
598
|
process.exitCode = 0;
|
|
599
599
|
return;
|
|
600
600
|
}
|
|
601
601
|
const [{ createRuntime: createRuntime2 }, { handleEmitTs }] = await Promise.all([
|
|
602
|
-
import("./runtime-
|
|
603
|
-
import("./emit-ts-command-
|
|
602
|
+
import("./runtime-IKWDQLZF.js"),
|
|
603
|
+
import("./emit-ts-command-KD4ON2SE.js")
|
|
604
604
|
]);
|
|
605
605
|
const runtime2 = await createRuntime2(runtimeOptionsWithPath);
|
|
606
606
|
try {
|
|
@@ -615,10 +615,10 @@ async function runCli(argv) {
|
|
|
615
615
|
return;
|
|
616
616
|
}
|
|
617
617
|
const [{ createRuntime }, { DaemonClient }, { createKeepAliveRuntime }, { isKeepAliveServer }] = await Promise.all([
|
|
618
|
-
import("./runtime-
|
|
619
|
-
import("./client-
|
|
620
|
-
import("./runtime-wrapper-
|
|
621
|
-
import("./lifecycle-
|
|
618
|
+
import("./runtime-IKWDQLZF.js"),
|
|
619
|
+
import("./client-LXKCCVMT.js"),
|
|
620
|
+
import("./runtime-wrapper-WFMNIHD5.js"),
|
|
621
|
+
import("./lifecycle-BJDITFWN.js")
|
|
622
622
|
]);
|
|
623
623
|
const baseRuntime = await createRuntime(runtimeOptionsWithPath);
|
|
624
624
|
const recordReplayModeActive = isRecordReplayModeActive();
|
|
@@ -640,56 +640,56 @@ async function runCli(argv) {
|
|
|
640
640
|
const resolvedArgs = inference.args;
|
|
641
641
|
if (resolvedCommand === "list") {
|
|
642
642
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
643
|
-
const { printListHelp } = await import("./list-command-
|
|
643
|
+
const { printListHelp } = await import("./list-command-YKF7RN6Y.js");
|
|
644
644
|
printListHelp();
|
|
645
645
|
process.exitCode = 0;
|
|
646
646
|
return;
|
|
647
647
|
}
|
|
648
|
-
const { handleList: importedHandleList } = await import("./list-command-
|
|
648
|
+
const { handleList: importedHandleList } = await import("./list-command-YKF7RN6Y.js");
|
|
649
649
|
await importedHandleList(runtime, resolvedArgs);
|
|
650
650
|
return;
|
|
651
651
|
}
|
|
652
652
|
if (resolvedCommand === "call") {
|
|
653
653
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
654
|
-
const { printCallHelp } = await import("./call-command-
|
|
654
|
+
const { printCallHelp } = await import("./call-command-2VF6IKAZ.js");
|
|
655
655
|
printCallHelp();
|
|
656
656
|
process.exitCode = 0;
|
|
657
657
|
return;
|
|
658
658
|
}
|
|
659
|
-
const { handleCall: runHandleCall } = await import("./call-command-
|
|
659
|
+
const { handleCall: runHandleCall } = await import("./call-command-2VF6IKAZ.js");
|
|
660
660
|
await runHandleCall(runtime, resolvedArgs);
|
|
661
661
|
return;
|
|
662
662
|
}
|
|
663
663
|
if (resolvedCommand === "auth") {
|
|
664
664
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
665
|
-
const { printAuthHelp: importedPrintAuthHelp } = await import("./auth-command-
|
|
665
|
+
const { printAuthHelp: importedPrintAuthHelp } = await import("./auth-command-GMMLBU24.js");
|
|
666
666
|
importedPrintAuthHelp();
|
|
667
667
|
process.exitCode = 0;
|
|
668
668
|
return;
|
|
669
669
|
}
|
|
670
|
-
const { handleAuth: importedHandleAuth } = await import("./auth-command-
|
|
670
|
+
const { handleAuth: importedHandleAuth } = await import("./auth-command-GMMLBU24.js");
|
|
671
671
|
await importedHandleAuth(runtime, resolvedArgs, { oauthTimeoutMs: runtimeOptionsWithPath.oauthTimeoutMs });
|
|
672
672
|
return;
|
|
673
673
|
}
|
|
674
674
|
if (resolvedCommand === "vault") {
|
|
675
675
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
676
|
-
const { printVaultHelp } = await import("./vault-command-
|
|
676
|
+
const { printVaultHelp } = await import("./vault-command-7EDL45AA.js");
|
|
677
677
|
printVaultHelp();
|
|
678
678
|
process.exitCode = 0;
|
|
679
679
|
return;
|
|
680
680
|
}
|
|
681
|
-
const { handleVault } = await import("./vault-command-
|
|
681
|
+
const { handleVault } = await import("./vault-command-7EDL45AA.js");
|
|
682
682
|
await handleVault(runtime, resolvedArgs);
|
|
683
683
|
return;
|
|
684
684
|
}
|
|
685
685
|
if (resolvedCommand === "resource" || resolvedCommand === "resources") {
|
|
686
686
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
687
|
-
const { printResourceHelp } = await import("./resource-command-
|
|
687
|
+
const { printResourceHelp } = await import("./resource-command-L4I24AX5.js");
|
|
688
688
|
printResourceHelp();
|
|
689
689
|
process.exitCode = 0;
|
|
690
690
|
return;
|
|
691
691
|
}
|
|
692
|
-
const { handleResource: importedHandleResource } = await import("./resource-command-
|
|
692
|
+
const { handleResource: importedHandleResource } = await import("./resource-command-L4I24AX5.js");
|
|
693
693
|
await importedHandleResource(runtime, resolvedArgs);
|
|
694
694
|
return;
|
|
695
695
|
}
|
|
@@ -772,8 +772,8 @@ if (process.env.MCPORTER_DISABLE_AUTORUN !== "1") {
|
|
|
772
772
|
}
|
|
773
773
|
async function invokeAuthCommand(runtimeOptions, args) {
|
|
774
774
|
const [{ createRuntime }, { handleAuth: importedHandleAuth }] = await Promise.all([
|
|
775
|
-
import("./runtime-
|
|
776
|
-
import("./auth-command-
|
|
775
|
+
import("./runtime-IKWDQLZF.js"),
|
|
776
|
+
import("./auth-command-GMMLBU24.js")
|
|
777
777
|
]);
|
|
778
778
|
const runtime = await createRuntime(runtimeOptions);
|
|
779
779
|
try {
|
|
@@ -799,8 +799,8 @@ async function maybeHandleDaemonFastCall(command, args, configResolution, rootDi
|
|
|
799
799
|
return true;
|
|
800
800
|
}
|
|
801
801
|
const [{ DaemonClient }, { handleCall: importedHandleCall }] = await Promise.all([
|
|
802
|
-
import("./client-
|
|
803
|
-
import("./call-command-
|
|
802
|
+
import("./client-LXKCCVMT.js"),
|
|
803
|
+
import("./call-command-2VF6IKAZ.js")
|
|
804
804
|
]);
|
|
805
805
|
const daemonClient = new DaemonClient({
|
|
806
806
|
configPath: configResolution.path,
|
|
@@ -812,8 +812,8 @@ async function maybeHandleDaemonFastCall(command, args, configResolution, rootDi
|
|
|
812
812
|
}
|
|
813
813
|
async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootDir) {
|
|
814
814
|
const [{ parseCallArguments: parseCallArguments2 }, { resolveServerCallTimeout }] = await Promise.all([
|
|
815
|
-
import("./call-arguments-
|
|
816
|
-
import("./timeouts-
|
|
815
|
+
import("./call-arguments-WSURHOLV.js"),
|
|
816
|
+
import("./timeouts-2ZHGSB3R.js")
|
|
817
817
|
]);
|
|
818
818
|
let parsed;
|
|
819
819
|
try {
|
|
@@ -825,9 +825,9 @@ async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootD
|
|
|
825
825
|
return false;
|
|
826
826
|
}
|
|
827
827
|
const [{ DaemonClient }, { wrapCallResult }, { printCallOutput }] = await Promise.all([
|
|
828
|
-
import("./client-
|
|
829
|
-
import("./result-utils-
|
|
830
|
-
import("./output-utils-
|
|
828
|
+
import("./client-LXKCCVMT.js"),
|
|
829
|
+
import("./result-utils-5WRI66KV.js"),
|
|
830
|
+
import("./output-utils-LYB5IJRD.js")
|
|
831
831
|
]);
|
|
832
832
|
const daemonClient = new DaemonClient({
|
|
833
833
|
configPath: configResolution.path,
|
|
@@ -860,7 +860,17 @@ function resolveDaemonFastCallArgs(command, args) {
|
|
|
860
860
|
function isExplicitNonCallCommand(command) {
|
|
861
861
|
return command === "list" || command === "auth" || command === "resource" || command === "resources" || command === "daemon" || command === "serve" || command === "record" || command === "replay" || command === "config" || command === "emit-ts" || command === "generate-cli" || command === "inspect-cli" || command === "describe";
|
|
862
862
|
}
|
|
863
|
+
function hasEphemeralServerFlag(args) {
|
|
864
|
+
const end = args.indexOf("--");
|
|
865
|
+
return (end === -1 ? args : args.slice(0, end)).some((token) => {
|
|
866
|
+
const flag = token.split("=", 1)[0];
|
|
867
|
+
return flag === "--http-url" || flag === "--sse" || flag === "--stdio";
|
|
868
|
+
});
|
|
869
|
+
}
|
|
863
870
|
function resolveExplicitCallServer(args) {
|
|
871
|
+
if (hasEphemeralServerFlag(args)) {
|
|
872
|
+
return void 0;
|
|
873
|
+
}
|
|
864
874
|
let serverFlag;
|
|
865
875
|
for (let index = 0; index < args.length; index += 1) {
|
|
866
876
|
const token = args[index];
|
|
@@ -870,9 +880,6 @@ function resolveExplicitCallServer(args) {
|
|
|
870
880
|
if (isHelpToken(token)) {
|
|
871
881
|
return void 0;
|
|
872
882
|
}
|
|
873
|
-
if (token === "--http-url" || token === "--stdio") {
|
|
874
|
-
return void 0;
|
|
875
|
-
}
|
|
876
883
|
if (token === "--server") {
|
|
877
884
|
serverFlag = args[index + 1];
|
|
878
885
|
index += 1;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
DaemonClient,
|
|
4
|
+
resolveDaemonPaths
|
|
5
|
+
} from "./chunk-6XC5JJWD.js";
|
|
6
|
+
import "./chunk-QDFL757K.js";
|
|
7
|
+
import "./chunk-R4OYHQ4V.js";
|
|
8
|
+
import "./chunk-RHXZKYM7.js";
|
|
9
|
+
import "./chunk-TYL2NVXI.js";
|
|
10
|
+
import "./chunk-LZUKBEQZ.js";
|
|
11
|
+
import "./chunk-7BVYBZ4J.js";
|
|
12
|
+
import "./chunk-6TIU2CDB.js";
|
|
13
|
+
import "./chunk-C4TJGC4F.js";
|
|
14
|
+
import "./chunk-2JTXIMGE.js";
|
|
15
|
+
import "./chunk-YPSODIQX.js";
|
|
16
|
+
import "./chunk-DUBQHYW4.js";
|
|
17
|
+
import "./chunk-4U4BUXQD.js";
|
|
18
|
+
import "./chunk-5OO6WVPL.js";
|
|
19
|
+
import "./chunk-IHOU2BEL.js";
|
|
20
|
+
import "./chunk-RZZO3ZD4.js";
|
|
21
|
+
import "./chunk-ZXIF7MKN.js";
|
|
22
|
+
import "./chunk-T4MQCFIK.js";
|
|
23
|
+
import "./chunk-VWPKJFK4.js";
|
|
24
|
+
import "./chunk-3AAF3FSI.js";
|
|
25
|
+
import "./chunk-HI6VG5LR.js";
|
|
26
|
+
import "./chunk-35LLRCRA.js";
|
|
27
|
+
import "./chunk-LRKZP7DJ.js";
|
|
28
|
+
export {
|
|
29
|
+
DaemonClient,
|
|
30
|
+
resolveDaemonPaths
|
|
31
|
+
};
|