@introspection-ai/recipes 0.56.0 → 0.58.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/batch/index.d.ts +2 -0
- package/dist/batch/index.d.ts.map +1 -1
- package/dist/batch/index.js +2 -1
- package/dist/batch/index.js.map +1 -1
- package/dist/batch/runner.d.ts +5 -0
- package/dist/batch/runner.d.ts.map +1 -1
- package/dist/batch/runner.js +6 -0
- package/dist/batch/runner.js.map +1 -1
- package/dist/batch/shards.d.ts +1 -1
- package/dist/batch/shards.d.ts.map +1 -1
- package/dist/batch/shards.js +3 -3
- package/dist/batch/shards.js.map +1 -1
- package/dist/child/agent.d.ts.map +1 -1
- package/dist/child/agent.js +6 -5
- package/dist/child/agent.js.map +1 -1
- package/dist/child/session.d.ts +1 -0
- package/dist/child/session.d.ts.map +1 -1
- package/dist/child/session.js +9 -6
- package/dist/child/session.js.map +1 -1
- package/dist/judges/classifier.d.ts +8 -0
- package/dist/judges/classifier.d.ts.map +1 -0
- package/dist/judges/classifier.js +30 -0
- package/dist/judges/classifier.js.map +1 -0
- package/dist/judges/cli-main.d.ts +41 -0
- package/dist/judges/cli-main.d.ts.map +1 -0
- package/dist/judges/cli-main.js +182 -0
- package/dist/judges/cli-main.js.map +1 -0
- package/dist/judges/cli.d.ts +2 -0
- package/dist/judges/cli.d.ts.map +1 -0
- package/dist/judges/cli.js +43 -0
- package/dist/judges/cli.js.map +1 -0
- package/dist/judges/controller.d.ts +78 -0
- package/dist/judges/controller.d.ts.map +1 -0
- package/dist/judges/controller.js +243 -0
- package/dist/judges/controller.js.map +1 -0
- package/dist/judges/definition.d.ts +86 -0
- package/dist/judges/definition.d.ts.map +1 -0
- package/dist/judges/definition.js +100 -0
- package/dist/judges/definition.js.map +1 -0
- package/dist/judges/gate.d.ts +46 -0
- package/dist/judges/gate.d.ts.map +1 -0
- package/dist/judges/gate.js +256 -0
- package/dist/judges/gate.js.map +1 -0
- package/dist/judges/identity.d.ts +21 -0
- package/dist/judges/identity.d.ts.map +1 -0
- package/dist/judges/identity.js +48 -0
- package/dist/judges/identity.js.map +1 -0
- package/dist/judges/index.d.ts +10 -0
- package/dist/judges/index.d.ts.map +1 -0
- package/dist/judges/index.js +10 -0
- package/dist/judges/index.js.map +1 -0
- package/dist/judges/resolve-hooks.d.ts +10 -0
- package/dist/judges/resolve-hooks.d.ts.map +1 -0
- package/dist/judges/resolve-hooks.js +25 -0
- package/dist/judges/resolve-hooks.js.map +1 -0
- package/dist/judges/run.d.ts +123 -0
- package/dist/judges/run.d.ts.map +1 -0
- package/dist/judges/run.js +319 -0
- package/dist/judges/run.js.map +1 -0
- package/dist/judges/session.d.ts +9 -0
- package/dist/judges/session.d.ts.map +1 -0
- package/dist/judges/session.js +109 -0
- package/dist/judges/session.js.map +1 -0
- package/dist/judges/trajectory.d.ts +91 -0
- package/dist/judges/trajectory.d.ts.map +1 -0
- package/dist/judges/trajectory.js +223 -0
- package/dist/judges/trajectory.js.map +1 -0
- package/dist/judges/verdict.d.ts +31 -0
- package/dist/judges/verdict.d.ts.map +1 -0
- package/dist/judges/verdict.js +121 -0
- package/dist/judges/verdict.js.map +1 -0
- package/dist/mcp/daemon/server.d.ts +0 -2
- package/dist/mcp/daemon/server.d.ts.map +1 -1
- package/dist/mcp/daemon/server.js +1 -1
- package/dist/mcp/daemon/server.js.map +1 -1
- package/dist/mcp-chunks/{auth-command-PZLSOYAT.js → auth-command-WE7QY6RH.js} +27 -27
- package/dist/mcp-chunks/call-arguments-2ABANGLE.js +16 -0
- package/dist/mcp-chunks/{call-command-VILJIFYG.js → call-command-OOBUGVTM.js} +56 -70
- package/dist/mcp-chunks/{chunk-N2U2FODH.js → chunk-2PTK6KBV.js} +4 -4
- package/dist/mcp-chunks/{chunk-F2X4Y2TQ.js → chunk-2R2HWX2E.js} +1 -1
- package/dist/mcp-chunks/{chunk-ORJND4AI.js → chunk-2R7UGABC.js} +70 -70
- package/dist/mcp-chunks/{chunk-US63Y6XE.js → chunk-32UZRZIL.js} +1 -1
- package/dist/mcp-chunks/{chunk-THRMUZZD.js → chunk-37VJZIFW.js} +8 -8
- package/dist/mcp-chunks/{chunk-5Z6WSV5D.js → chunk-3KSDZBUJ.js} +5 -5
- package/dist/mcp-chunks/{chunk-JTPTAO4M.js → chunk-44KI6DPL.js} +24 -15
- package/dist/mcp-chunks/{chunk-BHXCAVFP.js → chunk-4ACA5GWL.js} +1 -1
- package/dist/mcp-chunks/{chunk-E76ZUBOJ.js → chunk-4NABHXDS.js} +4 -4
- package/dist/mcp-chunks/{chunk-AJDK5Z7O.js → chunk-4SO2DY7F.js} +2 -3
- package/dist/mcp-chunks/{chunk-I6UFV7RW.js → chunk-5ZQKSEUN.js} +1 -1
- package/dist/mcp-chunks/{chunk-KZGUH7E2.js → chunk-73TMUGJL.js} +2039 -1148
- package/dist/mcp-chunks/{chunk-UVRJ3AAD.js → chunk-7KOGD2JK.js} +2 -2
- package/dist/mcp-chunks/{chunk-KJ5FPQF6.js → chunk-7SQZWTDU.js} +30 -26
- package/dist/mcp-chunks/{chunk-MYAMG6VL.js → chunk-ABPXAKP7.js} +89 -28
- package/dist/mcp-chunks/{chunk-2YV72LUA.js → chunk-AIUZOMBB.js} +12 -12
- package/dist/mcp-chunks/{chunk-V42T3QNK.js → chunk-BI6L3SYV.js} +9 -9
- package/dist/mcp-chunks/{chunk-757ZF552.js → chunk-CFRA424Y.js} +4 -4
- package/dist/mcp-chunks/{chunk-DU4SDPEV.js → chunk-CIQX62WO.js} +2 -2
- package/dist/mcp-chunks/{chunk-MHUMLEBO.js → chunk-CWM4RO33.js} +1 -1
- package/dist/mcp-chunks/{chunk-TUPFPO4L.js → chunk-DEYGZRBD.js} +5 -5
- package/dist/mcp-chunks/{chunk-3SXP4S2A.js → chunk-DL3GVI4M.js} +2 -2
- package/dist/mcp-chunks/{chunk-O7SIXJM6.js → chunk-EUHXZKP2.js} +108 -108
- package/dist/mcp-chunks/{chunk-H5PBSJP3.js → chunk-EV3SP7ME.js} +1 -1
- package/dist/mcp-chunks/chunk-EVEVCVYR.js +42 -0
- package/dist/mcp-chunks/{chunk-RUF27IUF.js → chunk-FDVES4CU.js} +2 -2
- package/dist/mcp-chunks/{chunk-L2MSWQDL.js → chunk-FJNWUAGR.js} +1 -1
- package/dist/mcp-chunks/{chunk-IWCVZ46B.js → chunk-G5DK4L6M.js} +2 -2
- package/dist/mcp-chunks/{chunk-3ETUDW7N.js → chunk-GQM53HF7.js} +1 -1
- package/dist/mcp-chunks/{chunk-2AKSS7WR.js → chunk-H44A4G2O.js} +2 -2
- package/dist/mcp-chunks/{chunk-WDWSA7RL.js → chunk-HGEKP2E5.js} +4 -4
- package/dist/mcp-chunks/{chunk-ELHS763C.js → chunk-HKMH4N3Z.js} +1 -1
- package/dist/mcp-chunks/{chunk-GZ53GNFP.js → chunk-HPFIAALB.js} +13 -10
- package/dist/mcp-chunks/chunk-KUJUYFDC.js +224 -0
- package/dist/mcp-chunks/{chunk-OIK5AH2S.js → chunk-MG6EVYIM.js} +41 -19
- package/dist/mcp-chunks/{chunk-QNXOIF5U.js → chunk-MSPGQEWX.js} +12 -12
- package/dist/mcp-chunks/{chunk-JEHI2YU4.js → chunk-MW3YO24Q.js} +3 -3
- package/dist/mcp-chunks/{chunk-WQL7FJQ3.js → chunk-NJR33E7V.js} +4 -4
- package/dist/mcp-chunks/{chunk-7U5NSQ5T.js → chunk-OSK2JGFH.js} +2 -2
- package/dist/mcp-chunks/{chunk-ZEA3Y5ZD.js → chunk-QHD5RXW4.js} +7 -7
- package/dist/mcp-chunks/{chunk-TC2JPBFB.js → chunk-QYR3UKJS.js} +7 -4
- package/dist/mcp-chunks/{chunk-3FRLDHVD.js → chunk-SYBDN4SV.js} +5 -5
- package/dist/mcp-chunks/{chunk-3P3KGT4H.js → chunk-TQ5T5VO7.js} +2 -2
- package/dist/mcp-chunks/{chunk-OWGTNJNR.js → chunk-TT3LOCMN.js} +2 -2
- package/dist/mcp-chunks/{chunk-3LENTPGE.js → chunk-TTVO6RCP.js} +2 -2
- package/dist/mcp-chunks/{chunk-IRSL7JRH.js → chunk-UY2QWZB3.js} +53 -49
- package/dist/mcp-chunks/{chunk-B6S43WID.js → chunk-VJ45Y5IO.js} +1 -1
- package/dist/mcp-chunks/{chunk-IRARVOUM.js → chunk-VJ5VDK6D.js} +1 -1
- package/dist/mcp-chunks/{chunk-6O42UGLI.js → chunk-VLJQSE6L.js} +9 -9
- package/dist/mcp-chunks/{chunk-HNQSUT44.js → chunk-W47YAN6W.js} +3 -3
- package/dist/mcp-chunks/{chunk-66VSGFXA.js → chunk-XU4D5QN2.js} +1 -1
- package/dist/mcp-chunks/{chunk-CXST5CVH.js → chunk-Y7JQJ352.js} +22 -18
- package/dist/mcp-chunks/{chunk-3HSC6NHZ.js → chunk-Y7UTXETL.js} +1 -1
- package/dist/mcp-chunks/{chunk-O3RTM5HD.js → chunk-YFPPHEDE.js} +1 -1
- package/dist/mcp-chunks/{chunk-N6YUOYDS.js → chunk-YGT57XUN.js} +2 -2
- package/dist/mcp-chunks/{chunk-BUOGKTKK.js → chunk-Z43KJRXY.js} +1 -1
- package/dist/mcp-chunks/{chunk-6P3KAQ5N.js → chunk-Z5XOB522.js} +1 -1
- package/dist/mcp-chunks/{chunk-63L6SHK3.js → chunk-ZEMVGFKG.js} +2 -2
- package/dist/mcp-chunks/{chunk-MEQXX43K.js → chunk-ZJZ53NIB.js} +1 -1
- package/dist/mcp-chunks/{cli-UQ5QXFXU.js → cli-TJFAYJO4.js} +81 -283
- package/dist/mcp-chunks/client-LDKUW5K5.js +32 -0
- package/dist/mcp-chunks/{config-command-ZSPJI34E.js → config-command-YGNK2VVL.js} +29 -29
- package/dist/mcp-chunks/daemon-command-UYAYRHVD.js +36 -0
- package/dist/mcp-chunks/dist-5JNZD3JV.js +69 -0
- package/dist/mcp-chunks/{dist-Q7WSCBBK.js → dist-IFOLXE2R.js} +351 -1305
- package/dist/mcp-chunks/{emit-ts-command-SY4LQE4S.js → emit-ts-command-4EVF6CIG.js} +28 -25
- package/dist/mcp-chunks/{generate-cli-runner-LQBBQ7F5.js → generate-cli-runner-UFVSXJVK.js} +58 -49
- package/dist/mcp-chunks/generated-daemon-runtime-LTH36X2R.js +32 -0
- package/dist/mcp-chunks/{inspect-cli-command-JPX4ON6N.js → inspect-cli-command-L3JGLLTG.js} +11 -11
- package/dist/mcp-chunks/{launch-UG7IH27P.js → launch-LUKDWKH4.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-QBYGUHQ3.js → lifecycle-H57PYAZ5.js} +1 -1
- package/dist/mcp-chunks/{list-command-SDITI3ZM.js → list-command-QBO4LK5Q.js} +53 -42
- package/dist/mcp-chunks/logger-LvdykevT-BQ5B4N5O.js +995 -0
- package/dist/mcp-chunks/{output-utils-YTMZTA7J.js → output-utils-MB3PEV2M.js} +3 -3
- package/dist/mcp-chunks/{pi-mcp-runtime-OLO25D7A.js → pi-mcp-runtime-OIMIJV5A.js} +73 -17
- package/dist/mcp-chunks/{prompt-DkftHXS7-N7UENQ4C.js → prompt-DkftHXS7-TE2LNPAM.js} +1 -1
- package/dist/mcp-chunks/{record-command-JGTMATYI.js → record-command-RYDP3Y2A.js} +5 -5
- package/dist/mcp-chunks/{replay-command-S2VAC4RW.js → replay-command-QDJCQ5JU.js} +6 -6
- package/dist/mcp-chunks/{resource-command-SRFQQROJ.js → resource-command-RKHHQBFP.js} +9 -9
- package/dist/mcp-chunks/{result-utils-JASGNHXK.js → result-utils-ZD5GFX7P.js} +3 -3
- package/dist/mcp-chunks/runtime-F7PP4V25.js +39 -0
- package/dist/mcp-chunks/{runtime-wrapper-7HYO3NM5.js → runtime-wrapper-AV4JCNRF.js} +3 -3
- package/dist/mcp-chunks/{serve-command-YKSIXG7K.js → serve-command-MRPTK4XX.js} +26 -26
- package/dist/mcp-chunks/server-2WSYXDII.js +43 -0
- package/dist/mcp-chunks/{timeouts-BJWDJEMH.js → timeouts-2SQIDYBE.js} +4 -3
- package/dist/mcp-chunks/{vault-command-EYOIFWEY.js → vault-command-6JVDCFWU.js} +5 -5
- package/dist/mcp-chunks/{webapi-WMMA3OEC.js → webapi-CI4O7AUX.js} +1 -1
- package/dist/mcp-daemon.js +35 -31
- package/dist/mcp-run-worker.js +34 -30
- package/dist/model-binding.d.ts +44 -3
- package/dist/model-binding.d.ts.map +1 -1
- package/dist/model-binding.js +195 -4
- package/dist/model-binding.js.map +1 -1
- package/dist/recipe/manifest.generated.d.ts +2 -2
- package/dist/recipe/manifest.generated.d.ts.map +1 -1
- package/dist/recipe/manifest.generated.js +2 -2
- package/dist/recipe/manifest.generated.js.map +1 -1
- package/dist/recipe/model.d.ts +7 -12
- package/dist/recipe/model.d.ts.map +1 -1
- package/dist/recipe/model.js +197 -249
- package/dist/recipe/model.js.map +1 -1
- package/dist/session.d.ts +11 -0
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +59 -6
- package/dist/session.js.map +1 -1
- package/dist/suggestion-picker.d.ts +2 -2
- package/dist/suggestion-picker.d.ts.map +1 -1
- package/dist/suggestion-picker.js +5 -3
- package/dist/suggestion-picker.js.map +1 -1
- package/docs/README.md +1 -0
- package/docs/batch.md +2 -2
- package/docs/judges.md +269 -0
- package/docs/recipe-format.md +23 -12
- package/docs/recipe-judges.md +119 -59
- package/package.json +20 -16
- package/skills/documents/SKILL.md +6 -2
- package/skills/issues/SKILL.md +2 -1
- package/skills/search/SKILL.md +3 -0
- package/skills/signature/SKILL.md +4 -4
- package/dist/mcp-chunks/call-arguments-GCXZA4HC.js +0 -16
- package/dist/mcp-chunks/client-SBELHRAE.js +0 -32
- package/dist/mcp-chunks/daemon-command-MQS6AP2W.js +0 -32
- package/dist/mcp-chunks/dist-SDPPH7XQ.js +0 -65
- package/dist/mcp-chunks/generated-daemon-runtime-TUCZ3JEP.js +0 -32
- package/dist/mcp-chunks/runtime-5SOGEUTQ.js +0 -39
- package/dist/mcp-chunks/server-HQBFWAJR.js +0 -41
|
@@ -3,73 +3,74 @@ import { createRequire as __createRequire } from "node:module"; const require =
|
|
|
3
3
|
import {
|
|
4
4
|
isRecordReplayModeActive,
|
|
5
5
|
isReplayModeActive
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HKMH4N3Z.js";
|
|
7
7
|
import {
|
|
8
8
|
extractListFlags
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HGEKP2E5.js";
|
|
10
10
|
import {
|
|
11
11
|
DEBUG_HANG,
|
|
12
12
|
dumpActiveHandles,
|
|
13
13
|
terminateChildProcesses
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YGT57XUN.js";
|
|
15
15
|
import {
|
|
16
16
|
chooseClosestIdentifier,
|
|
17
17
|
renderIdentifierResolutionMessages
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
consumeMatchingTokens,
|
|
21
|
-
extractFlags
|
|
22
|
-
} from "./chunk-I6UFV7RW.js";
|
|
23
|
-
import {
|
|
24
|
-
boldText,
|
|
25
|
-
dimText,
|
|
26
|
-
extraDimText,
|
|
27
|
-
supportsAnsiColor,
|
|
28
|
-
yellowText
|
|
29
|
-
} from "./chunk-IRARVOUM.js";
|
|
18
|
+
} from "./chunk-XU4D5QN2.js";
|
|
30
19
|
import {
|
|
31
20
|
parseCallArguments
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import {
|
|
34
|
-
CliUsageError
|
|
35
|
-
} from "./chunk-H5PBSJP3.js";
|
|
21
|
+
} from "./chunk-44KI6DPL.js";
|
|
36
22
|
import {
|
|
37
23
|
STDOUT_FLUSH_TIMEOUT_MS,
|
|
38
24
|
parsePositiveInteger,
|
|
39
25
|
resolveCallTimeout
|
|
40
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QYR3UKJS.js";
|
|
41
27
|
import {
|
|
42
28
|
getActiveLogLevel,
|
|
43
29
|
getActiveLogger,
|
|
44
30
|
logError,
|
|
45
31
|
logInfo,
|
|
46
32
|
setLogLevel
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-CIQX62WO.js";
|
|
34
|
+
import "./chunk-FJNWUAGR.js";
|
|
49
35
|
import {
|
|
50
36
|
looksLikeHttpUrl,
|
|
51
37
|
splitHttpToolSelector
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-32UZRZIL.js";
|
|
39
|
+
import "./chunk-ZJZ53NIB.js";
|
|
54
40
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
41
|
+
consumeHelpTokens,
|
|
42
|
+
isHelpToken,
|
|
43
|
+
isVersionToken,
|
|
44
|
+
printHelp,
|
|
45
|
+
printVersion
|
|
46
|
+
} from "./chunk-KUJUYFDC.js";
|
|
57
47
|
import {
|
|
58
|
-
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-6O42UGLI.js";
|
|
48
|
+
extractFlags
|
|
49
|
+
} from "./chunk-5ZQKSEUN.js";
|
|
61
50
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
51
|
+
dimText,
|
|
52
|
+
yellowText
|
|
53
|
+
} from "./chunk-VJ5VDK6D.js";
|
|
54
|
+
import {
|
|
55
|
+
CliUsageError
|
|
56
|
+
} from "./chunk-EV3SP7ME.js";
|
|
57
|
+
import {
|
|
58
|
+
createInteractiveElicitationResponder
|
|
59
|
+
} from "./chunk-2R2HWX2E.js";
|
|
60
|
+
import "./chunk-MSPGQEWX.js";
|
|
61
|
+
import "./chunk-VLJQSE6L.js";
|
|
65
62
|
import {
|
|
66
63
|
parseLogLevel
|
|
67
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-YFPPHEDE.js";
|
|
65
|
+
import {
|
|
66
|
+
resolveConfigPath
|
|
67
|
+
} from "./chunk-MW3YO24Q.js";
|
|
68
|
+
import "./chunk-G5DK4L6M.js";
|
|
68
69
|
import "./chunk-T4MQCFIK.js";
|
|
69
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-4ACA5GWL.js";
|
|
70
71
|
import "./chunk-LRKZP7DJ.js";
|
|
71
72
|
|
|
72
|
-
// node_modules/.pnpm/mcporter@0.
|
|
73
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/cli-factory.js
|
|
73
74
|
function buildGlobalContext(argv) {
|
|
74
75
|
const globalFlags = extractFlags(argv, ["--config", "--root", "--log-level", "--oauth-timeout"]);
|
|
75
76
|
if (globalFlags["--log-level"]) {
|
|
@@ -102,7 +103,7 @@ function buildGlobalContext(argv) {
|
|
|
102
103
|
return { globalFlags, oauthTimeoutOverride, runtimeOptions };
|
|
103
104
|
}
|
|
104
105
|
|
|
105
|
-
// node_modules/.pnpm/mcporter@0.
|
|
106
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/command-inference.js
|
|
106
107
|
var CALL_TOKEN_PATTERN = /[.(]/;
|
|
107
108
|
function inferCommandRouting(token, args, definitions) {
|
|
108
109
|
if (!token) {
|
|
@@ -174,210 +175,7 @@ function isHttpToolToken(token) {
|
|
|
174
175
|
return splitHttpToolSelector(token) !== null;
|
|
175
176
|
}
|
|
176
177
|
|
|
177
|
-
// node_modules/.pnpm/mcporter@0.
|
|
178
|
-
import fsPromises from "node:fs/promises";
|
|
179
|
-
function printHelp(message) {
|
|
180
|
-
if (message) {
|
|
181
|
-
console.error(message);
|
|
182
|
-
console.error("");
|
|
183
|
-
}
|
|
184
|
-
const colorize = supportsAnsiColor;
|
|
185
|
-
const sections = buildCommandSections(colorize);
|
|
186
|
-
const globalFlags = formatGlobalFlags(colorize);
|
|
187
|
-
const quickStart = formatQuickStart(colorize);
|
|
188
|
-
const footer = formatHelpFooter(colorize);
|
|
189
|
-
const title = colorize ? `${boldText("mcporter")} ${dimText("\u2014 Model Context Protocol CLI & generator")}` : "mcporter \u2014 Model Context Protocol CLI & generator";
|
|
190
|
-
const lines = [
|
|
191
|
-
title,
|
|
192
|
-
"",
|
|
193
|
-
"Usage: mcporter <command> [options]",
|
|
194
|
-
"",
|
|
195
|
-
...sections,
|
|
196
|
-
"",
|
|
197
|
-
globalFlags,
|
|
198
|
-
"",
|
|
199
|
-
quickStart,
|
|
200
|
-
"",
|
|
201
|
-
footer
|
|
202
|
-
];
|
|
203
|
-
console.error(lines.join("\n"));
|
|
204
|
-
}
|
|
205
|
-
function buildCommandSections(colorize) {
|
|
206
|
-
const sections = [
|
|
207
|
-
{
|
|
208
|
-
title: "Core commands",
|
|
209
|
-
entries: [
|
|
210
|
-
{
|
|
211
|
-
name: "list",
|
|
212
|
-
summary: "List configured servers (add --schema for tool docs)",
|
|
213
|
-
usage: "mcporter list [name] [--schema] [--json]"
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
name: "call",
|
|
217
|
-
summary: "Call a tool by selector (server.tool) or HTTP URL; key=value flags supported",
|
|
218
|
-
usage: "mcporter call <selector> [key=value ...]"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
name: "resource",
|
|
222
|
-
summary: "List or read MCP resources exposed by a server",
|
|
223
|
-
usage: "mcporter resource <server> [uri]"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
name: "auth",
|
|
227
|
-
summary: "Complete OAuth for a server without listing tools",
|
|
228
|
-
usage: "mcporter auth <server | url> [--reset]"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
name: "vault",
|
|
232
|
-
summary: "Seed or clear OAuth credentials non-interactively",
|
|
233
|
-
usage: "mcporter vault set <server> --tokens-file <path>"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
name: "record",
|
|
237
|
-
summary: "Capture MCP JSON-RPC traffic to NDJSON",
|
|
238
|
-
usage: "mcporter record <session-name> [--server <name>] [-- <command>]"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
name: "replay",
|
|
242
|
-
summary: "Replay recorded MCP JSON-RPC traffic deterministically",
|
|
243
|
-
usage: "mcporter replay <session-name> [--server <name>] [-- <command>]"
|
|
244
|
-
}
|
|
245
|
-
]
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
title: "Generator & tooling",
|
|
249
|
-
entries: [
|
|
250
|
-
{
|
|
251
|
-
name: "generate-cli",
|
|
252
|
-
summary: "Emit a standalone CLI (supports HTTP, stdio, and inline commands)",
|
|
253
|
-
usage: "mcporter generate-cli --server <name> | --command <ref> [options]"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
name: "inspect-cli",
|
|
257
|
-
summary: "Show metadata and regen instructions for a generated CLI",
|
|
258
|
-
usage: "mcporter inspect-cli <path> [--json]"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
name: "emit-ts",
|
|
262
|
-
summary: "Generate TypeScript client/types for a server",
|
|
263
|
-
usage: "mcporter emit-ts <server> --mode client|types [options]"
|
|
264
|
-
}
|
|
265
|
-
]
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
title: "Configuration",
|
|
269
|
-
entries: [
|
|
270
|
-
{
|
|
271
|
-
name: "config",
|
|
272
|
-
summary: "Inspect or edit config files (list, get, add, remove, import, login, logout)",
|
|
273
|
-
usage: "mcporter config <command> [options]"
|
|
274
|
-
}
|
|
275
|
-
]
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
title: "Daemon",
|
|
279
|
-
entries: [
|
|
280
|
-
{
|
|
281
|
-
name: "daemon",
|
|
282
|
-
summary: "Manage the keep-alive daemon (start | status | stop | restart)",
|
|
283
|
-
usage: "mcporter daemon <subcommand>"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
name: "serve",
|
|
287
|
-
summary: "Expose daemon-managed keep-alive servers as one MCP server",
|
|
288
|
-
usage: "mcporter serve [--servers a,b,c] [--stdio | --http <port>]"
|
|
289
|
-
}
|
|
290
|
-
]
|
|
291
|
-
}
|
|
292
|
-
];
|
|
293
|
-
return sections.flatMap((section) => formatCommandSection(section, colorize));
|
|
294
|
-
}
|
|
295
|
-
function formatCommandSection(section, colorize) {
|
|
296
|
-
const maxNameLength = Math.max(...section.entries.map((entry) => entry.name.length));
|
|
297
|
-
const header = colorize ? boldText(section.title) : section.title;
|
|
298
|
-
const lines = [header];
|
|
299
|
-
section.entries.forEach((entry) => {
|
|
300
|
-
const paddedName = entry.name.padEnd(maxNameLength);
|
|
301
|
-
const renderedName = colorize ? boldText(paddedName) : paddedName;
|
|
302
|
-
const summary = colorize ? dimText(entry.summary) : entry.summary;
|
|
303
|
-
lines.push(` ${renderedName} ${summary}`);
|
|
304
|
-
lines.push(` ${extraDimText("usage:")} ${entry.usage}`);
|
|
305
|
-
});
|
|
306
|
-
return [...lines, ""];
|
|
307
|
-
}
|
|
308
|
-
function formatGlobalFlags(colorize) {
|
|
309
|
-
const title = colorize ? boldText("Global flags") : "Global flags";
|
|
310
|
-
const entries = [
|
|
311
|
-
{
|
|
312
|
-
flag: "--config <path>",
|
|
313
|
-
summary: "Path to mcporter.json (defaults to ./config/mcporter.json)"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
flag: "--root <path>",
|
|
317
|
-
summary: "Working directory for stdio servers"
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
flag: "--log-level <debug|info|warn|error>",
|
|
321
|
-
summary: "Adjust CLI logging (defaults to warn)"
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
flag: "--oauth-timeout <ms>",
|
|
325
|
-
summary: "Time to wait for browser-based OAuth before giving up (default 300000)"
|
|
326
|
-
}
|
|
327
|
-
];
|
|
328
|
-
const flagWidth = Math.max(...entries.map((entry) => entry.flag.length));
|
|
329
|
-
const formatted = entries.map((entry) => ` ${entry.flag.padEnd(flagWidth)} ${entry.summary}`);
|
|
330
|
-
return [title, ...formatted].join("\n");
|
|
331
|
-
}
|
|
332
|
-
function formatQuickStart(colorize) {
|
|
333
|
-
const title = colorize ? boldText("Quick start") : "Quick start";
|
|
334
|
-
const entries = [
|
|
335
|
-
["mcporter list", "show configured servers"],
|
|
336
|
-
["mcporter list linear --schema", "view Linear tool docs"],
|
|
337
|
-
["mcporter call linear.list_issues limit:5", "invoke a tool with key=value arguments"],
|
|
338
|
-
["mcporter generate-cli --command https://host/mcp --compile ./my-cli", "build a standalone CLI/binary"]
|
|
339
|
-
];
|
|
340
|
-
const formatted = entries.map(([cmd, note]) => {
|
|
341
|
-
const comment = colorize ? dimText(`# ${note}`) : `# ${note}`;
|
|
342
|
-
return ` ${cmd}
|
|
343
|
-
${comment}`;
|
|
344
|
-
});
|
|
345
|
-
return [title, ...formatted].join("\n");
|
|
346
|
-
}
|
|
347
|
-
function formatHelpFooter(colorize) {
|
|
348
|
-
const pointer = "Run `mcporter <command> --help` for detailed flags.";
|
|
349
|
-
const autoLoad = "mcporter auto-loads servers from ./config/mcporter.json and editor imports (Cursor, Claude, Codex, etc.).";
|
|
350
|
-
if (!colorize) {
|
|
351
|
-
return `${pointer}
|
|
352
|
-
${autoLoad}`;
|
|
353
|
-
}
|
|
354
|
-
return `${dimText(pointer)}
|
|
355
|
-
${extraDimText(autoLoad)}`;
|
|
356
|
-
}
|
|
357
|
-
function isHelpToken(token) {
|
|
358
|
-
return token === "--help" || token === "-h" || token === "help";
|
|
359
|
-
}
|
|
360
|
-
function consumeHelpTokens(args) {
|
|
361
|
-
return consumeMatchingTokens(args, isHelpToken);
|
|
362
|
-
}
|
|
363
|
-
function isVersionToken(token) {
|
|
364
|
-
return token === "--version" || token === "-v" || token === "-V";
|
|
365
|
-
}
|
|
366
|
-
async function printVersion() {
|
|
367
|
-
console.log(await resolveCliVersion());
|
|
368
|
-
}
|
|
369
|
-
async function resolveCliVersion() {
|
|
370
|
-
try {
|
|
371
|
-
const packageJsonPath = new URL("../../package.json", import.meta.url);
|
|
372
|
-
const buffer = await fsPromises.readFile(packageJsonPath, "utf8");
|
|
373
|
-
const pkg = JSON.parse(buffer);
|
|
374
|
-
return pkg.version ?? MCPORTER_VERSION;
|
|
375
|
-
} catch {
|
|
376
|
-
return MCPORTER_VERSION;
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/network-family-autoselection.js
|
|
178
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/network-family-autoselection.js
|
|
381
179
|
import net from "node:net";
|
|
382
180
|
var NODE_DEFAULT_ATTEMPT_TIMEOUT_MS = 250;
|
|
383
181
|
var MCPORTER_ATTEMPT_TIMEOUT_MS = 1500;
|
|
@@ -411,7 +209,7 @@ function isNodeOptionBoundary(character) {
|
|
|
411
209
|
return character === void 0 || character === "'" || character === '"' || /\s/u.test(character);
|
|
412
210
|
}
|
|
413
211
|
|
|
414
|
-
// node_modules/.pnpm/mcporter@0.
|
|
212
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli.js
|
|
415
213
|
configureAutoSelectFamilyAttemptTimeout();
|
|
416
214
|
var FORCE_EXIT_GRACE_MS = 50;
|
|
417
215
|
var DAEMON_FAST_PATH_SERVERS = /* @__PURE__ */ new Set(["chrome-devtools", "mobile-mcp", "playwright"]);
|
|
@@ -453,31 +251,31 @@ function flushStdioThenForceExit() {
|
|
|
453
251
|
});
|
|
454
252
|
}
|
|
455
253
|
async function handleAuth(...args) {
|
|
456
|
-
const { handleAuth: imported } = await import("./auth-command-
|
|
254
|
+
const { handleAuth: imported } = await import("./auth-command-WE7QY6RH.js");
|
|
457
255
|
return imported(...args);
|
|
458
256
|
}
|
|
459
257
|
async function printAuthHelp() {
|
|
460
|
-
const { printAuthHelp: imported } = await import("./auth-command-
|
|
258
|
+
const { printAuthHelp: imported } = await import("./auth-command-WE7QY6RH.js");
|
|
461
259
|
imported();
|
|
462
260
|
}
|
|
463
261
|
async function handleCall(...args) {
|
|
464
|
-
const { handleCall: imported } = await import("./call-command-
|
|
262
|
+
const { handleCall: imported } = await import("./call-command-OOBUGVTM.js");
|
|
465
263
|
return imported(...args);
|
|
466
264
|
}
|
|
467
265
|
async function handleGenerateCli(...args) {
|
|
468
|
-
const { handleGenerateCli: imported } = await import("./generate-cli-runner-
|
|
266
|
+
const { handleGenerateCli: imported } = await import("./generate-cli-runner-UFVSXJVK.js");
|
|
469
267
|
return imported(...args);
|
|
470
268
|
}
|
|
471
269
|
async function handleInspectCli(...args) {
|
|
472
|
-
const { handleInspectCli: imported } = await import("./inspect-cli-command-
|
|
270
|
+
const { handleInspectCli: imported } = await import("./inspect-cli-command-L3JGLLTG.js");
|
|
473
271
|
return imported(...args);
|
|
474
272
|
}
|
|
475
273
|
async function handleList(...args) {
|
|
476
|
-
const { handleList: imported } = await import("./list-command-
|
|
274
|
+
const { handleList: imported } = await import("./list-command-QBO4LK5Q.js");
|
|
477
275
|
return imported(...args);
|
|
478
276
|
}
|
|
479
277
|
async function handleResource(...args) {
|
|
480
|
-
const { handleResource: imported } = await import("./resource-command-
|
|
278
|
+
const { handleResource: imported } = await import("./resource-command-RKHHQBFP.js");
|
|
481
279
|
return imported(...args);
|
|
482
280
|
}
|
|
483
281
|
async function runCli(argv) {
|
|
@@ -510,23 +308,23 @@ async function runCli(argv) {
|
|
|
510
308
|
}
|
|
511
309
|
if (command === "generate-cli") {
|
|
512
310
|
if (consumeHelpTokens(args)) {
|
|
513
|
-
const { printGenerateCliHelp } = await import("./generate-cli-runner-
|
|
311
|
+
const { printGenerateCliHelp } = await import("./generate-cli-runner-UFVSXJVK.js");
|
|
514
312
|
printGenerateCliHelp();
|
|
515
313
|
process.exitCode = 0;
|
|
516
314
|
return;
|
|
517
315
|
}
|
|
518
|
-
const { handleGenerateCli: importedHandleGenerateCli } = await import("./generate-cli-runner-
|
|
316
|
+
const { handleGenerateCli: importedHandleGenerateCli } = await import("./generate-cli-runner-UFVSXJVK.js");
|
|
519
317
|
await importedHandleGenerateCli(args, globalFlags);
|
|
520
318
|
return;
|
|
521
319
|
}
|
|
522
320
|
if (command === "inspect-cli") {
|
|
523
321
|
if (consumeHelpTokens(args)) {
|
|
524
|
-
const { printInspectCliHelp } = await import("./inspect-cli-command-
|
|
322
|
+
const { printInspectCliHelp } = await import("./inspect-cli-command-L3JGLLTG.js");
|
|
525
323
|
printInspectCliHelp();
|
|
526
324
|
process.exitCode = 0;
|
|
527
325
|
return;
|
|
528
326
|
}
|
|
529
|
-
const { handleInspectCli: importedHandleInspectCli } = await import("./inspect-cli-command-
|
|
327
|
+
const { handleInspectCli: importedHandleInspectCli } = await import("./inspect-cli-command-L3JGLLTG.js");
|
|
530
328
|
await importedHandleInspectCli(args);
|
|
531
329
|
return;
|
|
532
330
|
}
|
|
@@ -541,7 +339,7 @@ async function runCli(argv) {
|
|
|
541
339
|
...interactiveElicitation ? { elicitationHandler: interactiveElicitation.handler } : {}
|
|
542
340
|
};
|
|
543
341
|
if (command === "daemon") {
|
|
544
|
-
const { handleDaemonCli } = await import("./daemon-command-
|
|
342
|
+
const { handleDaemonCli } = await import("./daemon-command-UYAYRHVD.js");
|
|
545
343
|
await handleDaemonCli(args, {
|
|
546
344
|
configPath: configPathResolved,
|
|
547
345
|
configExplicit: configResolution.explicit,
|
|
@@ -550,7 +348,7 @@ async function runCli(argv) {
|
|
|
550
348
|
return;
|
|
551
349
|
}
|
|
552
350
|
if (command === "serve") {
|
|
553
|
-
const { handleServeCli, printServeHelp } = await import("./serve-command-
|
|
351
|
+
const { handleServeCli, printServeHelp } = await import("./serve-command-MRPTK4XX.js");
|
|
554
352
|
if (consumeHelpTokens(args)) {
|
|
555
353
|
printServeHelp();
|
|
556
354
|
process.exitCode = 0;
|
|
@@ -564,7 +362,7 @@ async function runCli(argv) {
|
|
|
564
362
|
return;
|
|
565
363
|
}
|
|
566
364
|
if (command === "record") {
|
|
567
|
-
const { handleRecordCli, printRecordHelp } = await import("./record-command-
|
|
365
|
+
const { handleRecordCli, printRecordHelp } = await import("./record-command-RYDP3Y2A.js");
|
|
568
366
|
if (consumeHelpTokens(wrapperArgsBeforeSeparator(args))) {
|
|
569
367
|
printRecordHelp();
|
|
570
368
|
process.exitCode = 0;
|
|
@@ -574,7 +372,7 @@ async function runCli(argv) {
|
|
|
574
372
|
return;
|
|
575
373
|
}
|
|
576
374
|
if (command === "replay") {
|
|
577
|
-
const { handleReplayCli, printReplayHelp } = await import("./replay-command-
|
|
375
|
+
const { handleReplayCli, printReplayHelp } = await import("./replay-command-QDJCQ5JU.js");
|
|
578
376
|
if (consumeHelpTokens(wrapperArgsBeforeSeparator(args))) {
|
|
579
377
|
printReplayHelp();
|
|
580
378
|
process.exitCode = 0;
|
|
@@ -584,7 +382,7 @@ async function runCli(argv) {
|
|
|
584
382
|
return;
|
|
585
383
|
}
|
|
586
384
|
if (command === "config") {
|
|
587
|
-
const { handleConfigCli } = await import("./config-command-
|
|
385
|
+
const { handleConfigCli } = await import("./config-command-YGNK2VVL.js");
|
|
588
386
|
await handleConfigCli({
|
|
589
387
|
loadOptions: { configPath, rootDir: rootOverride },
|
|
590
388
|
invokeAuth: (authArgs) => invokeAuthCommand(runtimeOptionsWithPath, authArgs)
|
|
@@ -593,14 +391,14 @@ async function runCli(argv) {
|
|
|
593
391
|
}
|
|
594
392
|
if (command === "emit-ts") {
|
|
595
393
|
if (consumeHelpTokens(args)) {
|
|
596
|
-
const { printEmitTsHelp } = await import("./emit-ts-command-
|
|
394
|
+
const { printEmitTsHelp } = await import("./emit-ts-command-4EVF6CIG.js");
|
|
597
395
|
printEmitTsHelp();
|
|
598
396
|
process.exitCode = 0;
|
|
599
397
|
return;
|
|
600
398
|
}
|
|
601
399
|
const [{ createRuntime: createRuntime2 }, { handleEmitTs }] = await Promise.all([
|
|
602
|
-
import("./runtime-
|
|
603
|
-
import("./emit-ts-command-
|
|
400
|
+
import("./runtime-F7PP4V25.js"),
|
|
401
|
+
import("./emit-ts-command-4EVF6CIG.js")
|
|
604
402
|
]);
|
|
605
403
|
const runtime2 = await createRuntime2(runtimeOptionsWithPath);
|
|
606
404
|
try {
|
|
@@ -615,10 +413,10 @@ async function runCli(argv) {
|
|
|
615
413
|
return;
|
|
616
414
|
}
|
|
617
415
|
const [{ createRuntime }, { DaemonClient }, { createKeepAliveRuntime }, { isKeepAliveServer }] = await Promise.all([
|
|
618
|
-
import("./runtime-
|
|
619
|
-
import("./client-
|
|
620
|
-
import("./runtime-wrapper-
|
|
621
|
-
import("./lifecycle-
|
|
416
|
+
import("./runtime-F7PP4V25.js"),
|
|
417
|
+
import("./client-LDKUW5K5.js"),
|
|
418
|
+
import("./runtime-wrapper-AV4JCNRF.js"),
|
|
419
|
+
import("./lifecycle-H57PYAZ5.js")
|
|
622
420
|
]);
|
|
623
421
|
const baseRuntime = await createRuntime(runtimeOptionsWithPath);
|
|
624
422
|
const recordReplayModeActive = isRecordReplayModeActive();
|
|
@@ -640,56 +438,56 @@ async function runCli(argv) {
|
|
|
640
438
|
const resolvedArgs = inference.args;
|
|
641
439
|
if (resolvedCommand === "list") {
|
|
642
440
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
643
|
-
const { printListHelp } = await import("./list-command-
|
|
441
|
+
const { printListHelp } = await import("./list-command-QBO4LK5Q.js");
|
|
644
442
|
printListHelp();
|
|
645
443
|
process.exitCode = 0;
|
|
646
444
|
return;
|
|
647
445
|
}
|
|
648
|
-
const { handleList: importedHandleList } = await import("./list-command-
|
|
446
|
+
const { handleList: importedHandleList } = await import("./list-command-QBO4LK5Q.js");
|
|
649
447
|
await importedHandleList(runtime, resolvedArgs);
|
|
650
448
|
return;
|
|
651
449
|
}
|
|
652
450
|
if (resolvedCommand === "call") {
|
|
653
451
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
654
|
-
const { printCallHelp } = await import("./call-command-
|
|
452
|
+
const { printCallHelp } = await import("./call-command-OOBUGVTM.js");
|
|
655
453
|
printCallHelp();
|
|
656
454
|
process.exitCode = 0;
|
|
657
455
|
return;
|
|
658
456
|
}
|
|
659
|
-
const { handleCall: runHandleCall } = await import("./call-command-
|
|
457
|
+
const { handleCall: runHandleCall } = await import("./call-command-OOBUGVTM.js");
|
|
660
458
|
await runHandleCall(runtime, resolvedArgs);
|
|
661
459
|
return;
|
|
662
460
|
}
|
|
663
461
|
if (resolvedCommand === "auth") {
|
|
664
462
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
665
|
-
const { printAuthHelp: importedPrintAuthHelp } = await import("./auth-command-
|
|
463
|
+
const { printAuthHelp: importedPrintAuthHelp } = await import("./auth-command-WE7QY6RH.js");
|
|
666
464
|
importedPrintAuthHelp();
|
|
667
465
|
process.exitCode = 0;
|
|
668
466
|
return;
|
|
669
467
|
}
|
|
670
|
-
const { handleAuth: importedHandleAuth } = await import("./auth-command-
|
|
468
|
+
const { handleAuth: importedHandleAuth } = await import("./auth-command-WE7QY6RH.js");
|
|
671
469
|
await importedHandleAuth(runtime, resolvedArgs, { oauthTimeoutMs: runtimeOptionsWithPath.oauthTimeoutMs });
|
|
672
470
|
return;
|
|
673
471
|
}
|
|
674
472
|
if (resolvedCommand === "vault") {
|
|
675
473
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
676
|
-
const { printVaultHelp } = await import("./vault-command-
|
|
474
|
+
const { printVaultHelp } = await import("./vault-command-6JVDCFWU.js");
|
|
677
475
|
printVaultHelp();
|
|
678
476
|
process.exitCode = 0;
|
|
679
477
|
return;
|
|
680
478
|
}
|
|
681
|
-
const { handleVault } = await import("./vault-command-
|
|
479
|
+
const { handleVault } = await import("./vault-command-6JVDCFWU.js");
|
|
682
480
|
await handleVault(runtime, resolvedArgs);
|
|
683
481
|
return;
|
|
684
482
|
}
|
|
685
483
|
if (resolvedCommand === "resource" || resolvedCommand === "resources") {
|
|
686
484
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
687
|
-
const { printResourceHelp } = await import("./resource-command-
|
|
485
|
+
const { printResourceHelp } = await import("./resource-command-RKHHQBFP.js");
|
|
688
486
|
printResourceHelp();
|
|
689
487
|
process.exitCode = 0;
|
|
690
488
|
return;
|
|
691
489
|
}
|
|
692
|
-
const { handleResource: importedHandleResource } = await import("./resource-command-
|
|
490
|
+
const { handleResource: importedHandleResource } = await import("./resource-command-RKHHQBFP.js");
|
|
693
491
|
await importedHandleResource(runtime, resolvedArgs);
|
|
694
492
|
return;
|
|
695
493
|
}
|
|
@@ -772,8 +570,8 @@ if (process.env.MCPORTER_DISABLE_AUTORUN !== "1") {
|
|
|
772
570
|
}
|
|
773
571
|
async function invokeAuthCommand(runtimeOptions, args) {
|
|
774
572
|
const [{ createRuntime }, { handleAuth: importedHandleAuth }] = await Promise.all([
|
|
775
|
-
import("./runtime-
|
|
776
|
-
import("./auth-command-
|
|
573
|
+
import("./runtime-F7PP4V25.js"),
|
|
574
|
+
import("./auth-command-WE7QY6RH.js")
|
|
777
575
|
]);
|
|
778
576
|
const runtime = await createRuntime(runtimeOptions);
|
|
779
577
|
try {
|
|
@@ -799,8 +597,8 @@ async function maybeHandleDaemonFastCall(command, args, configResolution, rootDi
|
|
|
799
597
|
return true;
|
|
800
598
|
}
|
|
801
599
|
const [{ DaemonClient }, { handleCall: importedHandleCall }] = await Promise.all([
|
|
802
|
-
import("./client-
|
|
803
|
-
import("./call-command-
|
|
600
|
+
import("./client-LDKUW5K5.js"),
|
|
601
|
+
import("./call-command-OOBUGVTM.js")
|
|
804
602
|
]);
|
|
805
603
|
const daemonClient = new DaemonClient({
|
|
806
604
|
configPath: configResolution.path,
|
|
@@ -812,8 +610,8 @@ async function maybeHandleDaemonFastCall(command, args, configResolution, rootDi
|
|
|
812
610
|
}
|
|
813
611
|
async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootDir) {
|
|
814
612
|
const [{ parseCallArguments: parseCallArguments2 }, { resolveServerCallTimeout }] = await Promise.all([
|
|
815
|
-
import("./call-arguments-
|
|
816
|
-
import("./timeouts-
|
|
613
|
+
import("./call-arguments-2ABANGLE.js"),
|
|
614
|
+
import("./timeouts-2SQIDYBE.js")
|
|
817
615
|
]);
|
|
818
616
|
let parsed;
|
|
819
617
|
try {
|
|
@@ -825,9 +623,9 @@ async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootD
|
|
|
825
623
|
return false;
|
|
826
624
|
}
|
|
827
625
|
const [{ DaemonClient }, { wrapCallResult }, { printCallOutput }] = await Promise.all([
|
|
828
|
-
import("./client-
|
|
829
|
-
import("./result-utils-
|
|
830
|
-
import("./output-utils-
|
|
626
|
+
import("./client-LDKUW5K5.js"),
|
|
627
|
+
import("./result-utils-ZD5GFX7P.js"),
|
|
628
|
+
import("./output-utils-MB3PEV2M.js")
|
|
831
629
|
]);
|
|
832
630
|
const daemonClient = new DaemonClient({
|
|
833
631
|
configPath: configResolution.path,
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
DaemonClient,
|
|
4
|
+
resolveDaemonPaths
|
|
5
|
+
} from "./chunk-ABPXAKP7.js";
|
|
6
|
+
import "./chunk-2R7UGABC.js";
|
|
7
|
+
import "./chunk-H44A4G2O.js";
|
|
8
|
+
import "./chunk-Z5XOB522.js";
|
|
9
|
+
import "./chunk-2R2HWX2E.js";
|
|
10
|
+
import "./chunk-GQM53HF7.js";
|
|
11
|
+
import "./chunk-MSPGQEWX.js";
|
|
12
|
+
import "./chunk-VLJQSE6L.js";
|
|
13
|
+
import "./chunk-AIUZOMBB.js";
|
|
14
|
+
import "./chunk-37VJZIFW.js";
|
|
15
|
+
import "./chunk-BI6L3SYV.js";
|
|
16
|
+
import "./chunk-YFPPHEDE.js";
|
|
17
|
+
import "./chunk-Y7JQJ352.js";
|
|
18
|
+
import "./chunk-OSK2JGFH.js";
|
|
19
|
+
import "./chunk-TTVO6RCP.js";
|
|
20
|
+
import "./chunk-MW3YO24Q.js";
|
|
21
|
+
import "./chunk-G5DK4L6M.js";
|
|
22
|
+
import "./chunk-T4MQCFIK.js";
|
|
23
|
+
import "./chunk-4ACA5GWL.js";
|
|
24
|
+
import "./chunk-CWM4RO33.js";
|
|
25
|
+
import "./chunk-UY2QWZB3.js";
|
|
26
|
+
import "./chunk-7KOGD2JK.js";
|
|
27
|
+
import "./chunk-EUHXZKP2.js";
|
|
28
|
+
import "./chunk-LRKZP7DJ.js";
|
|
29
|
+
export {
|
|
30
|
+
DaemonClient,
|
|
31
|
+
resolveDaemonPaths
|
|
32
|
+
};
|