@introspection-ai/recipes 0.61.1 → 0.63.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-WE7QY6RH.js → auth-command-ENP2QQ5Z.js} +67 -27
- package/dist/mcp-chunks/call-arguments-Z5REZUAX.js +16 -0
- package/dist/mcp-chunks/{call-command-OOBUGVTM.js → call-command-LOWTMLJD.js} +59 -43
- package/dist/mcp-chunks/{chunk-32UZRZIL.js → chunk-27PQUO34.js} +1 -1
- package/dist/mcp-chunks/{chunk-NJR33E7V.js → chunk-2OSM5WUI.js} +4 -4
- package/dist/mcp-chunks/{chunk-BI6L3SYV.js → chunk-33P3PYCH.js} +28 -20
- package/dist/mcp-chunks/{chunk-2PTK6KBV.js → chunk-3MELXKB4.js} +12 -9
- package/dist/mcp-chunks/{chunk-Z5XOB522.js → chunk-3P3Z5PKQ.js} +1 -1
- package/dist/mcp-chunks/{chunk-ZEMVGFKG.js → chunk-3TZZPKQP.js} +2 -2
- package/dist/mcp-chunks/{chunk-73TMUGJL.js → chunk-3UONQ24E.js} +3 -3
- package/dist/mcp-chunks/{chunk-W47YAN6W.js → chunk-5AVROWKC.js} +3 -3
- package/dist/mcp-chunks/{chunk-SYBDN4SV.js → chunk-6HA2S26Q.js} +5 -5
- package/dist/mcp-chunks/{chunk-MG6EVYIM.js → chunk-6IKBK334.js} +13 -13
- package/dist/mcp-chunks/{chunk-7SQZWTDU.js → chunk-6VAFZAST.js} +1 -1
- package/dist/mcp-chunks/{chunk-2R7UGABC.js → chunk-6WTCG4OR.js} +113 -89
- package/dist/mcp-chunks/{chunk-ZJZ53NIB.js → chunk-7JRVQRQ4.js} +10 -7
- package/dist/mcp-chunks/{chunk-AIUZOMBB.js → chunk-7LKVFBEL.js} +12 -12
- package/dist/mcp-chunks/{chunk-44KI6DPL.js → chunk-ACSE24O5.js} +15 -18
- package/dist/mcp-chunks/{chunk-5ZQKSEUN.js → chunk-B6YFFSTP.js} +6 -3
- package/dist/mcp-chunks/{chunk-3KSDZBUJ.js → chunk-BA3QLN3P.js} +5 -5
- package/dist/mcp-chunks/{chunk-MSPGQEWX.js → chunk-BMOK7SQE.js} +12 -12
- package/dist/mcp-chunks/{chunk-H44A4G2O.js → chunk-CPAQ4API.js} +2 -2
- package/dist/mcp-chunks/{chunk-Y7JQJ352.js → chunk-CSUDITHP.js} +16 -16
- package/dist/mcp-chunks/{chunk-UY2QWZB3.js → chunk-DSBXRWGJ.js} +64 -65
- package/dist/mcp-chunks/{chunk-DEYGZRBD.js → chunk-EUT2CVFE.js} +8 -5
- package/dist/mcp-chunks/{chunk-HPFIAALB.js → chunk-F4UVQBNV.js} +16 -13
- package/dist/mcp-chunks/{chunk-VLJQSE6L.js → chunk-F5XGHRRC.js} +9 -9
- package/dist/mcp-chunks/{chunk-YFPPHEDE.js → chunk-FMLYITVD.js} +1 -1
- package/dist/mcp-chunks/{chunk-37VJZIFW.js → chunk-FYRRJZPO.js} +8 -8
- package/dist/mcp-chunks/{chunk-2R2HWX2E.js → chunk-GJKH5KNE.js} +1 -1
- package/dist/mcp-chunks/{chunk-HGEKP2E5.js → chunk-H4TU7J5F.js} +9 -6
- package/dist/mcp-chunks/{chunk-4ACA5GWL.js → chunk-IX6HNQSH.js} +1 -1
- package/dist/mcp-chunks/{chunk-FJNWUAGR.js → chunk-KKM3M3F7.js} +13 -10
- package/dist/mcp-chunks/{chunk-Z43KJRXY.js → chunk-KUP2GHFE.js} +1 -1
- package/dist/mcp-chunks/{chunk-CWM4RO33.js → chunk-L3BBHB3E.js} +1 -1
- package/dist/mcp-chunks/{chunk-XU4D5QN2.js → chunk-M4RI6BN4.js} +1 -1
- package/dist/mcp-chunks/{chunk-EUHXZKP2.js → chunk-N53HQB4G.js} +108 -108
- package/dist/mcp-chunks/{chunk-HKMH4N3Z.js → chunk-NAGTWK62.js} +1 -1
- package/dist/mcp-chunks/{chunk-ABPXAKP7.js → chunk-OH3HVZE7.js} +40 -32
- package/dist/mcp-chunks/{chunk-4SO2DY7F.js → chunk-OHAXEQ22.js} +2 -2
- package/dist/mcp-chunks/{chunk-OSK2JGFH.js → chunk-PBYZ5QZW.js} +1 -1
- package/dist/mcp-chunks/{chunk-QYR3UKJS.js → chunk-PJH2FNYO.js} +3 -3
- package/dist/mcp-chunks/{chunk-FDVES4CU.js → chunk-PJSLJ3YK.js} +2 -2
- package/dist/mcp-chunks/{chunk-MW3YO24Q.js → chunk-PPJWHK7M.js} +3 -3
- package/dist/mcp-chunks/{chunk-4NABHXDS.js → chunk-QA6AKKCT.js} +11 -8
- package/dist/mcp-chunks/{chunk-DL3GVI4M.js → chunk-QDLNI6YU.js} +2 -2
- package/dist/mcp-chunks/{chunk-TTVO6RCP.js → chunk-QRC4AH7I.js} +2 -2
- package/dist/mcp-chunks/{chunk-Y7UTXETL.js → chunk-QRD3PAVF.js} +1 -1
- package/dist/mcp-chunks/{chunk-G5DK4L6M.js → chunk-RAUI7O2B.js} +2 -2
- package/dist/mcp-chunks/{chunk-VJ45Y5IO.js → chunk-RF3HIBXO.js} +1 -1
- package/dist/mcp-chunks/{chunk-CIQX62WO.js → chunk-RFQCNCWI.js} +2 -2
- package/dist/mcp-chunks/{chunk-GQM53HF7.js → chunk-SL74CLNX.js} +1 -1
- package/dist/mcp-chunks/{chunk-EVEVCVYR.js → chunk-TAEXC3CS.js} +5 -5
- package/dist/mcp-chunks/{chunk-QHD5RXW4.js → chunk-U4NDKPOH.js} +24 -17
- package/dist/mcp-chunks/{chunk-CFRA424Y.js → chunk-UP3I6WR3.js} +4 -4
- package/dist/mcp-chunks/{chunk-VJ5VDK6D.js → chunk-UZ5WW52A.js} +1 -1
- package/dist/mcp-chunks/{chunk-TT3LOCMN.js → chunk-V65N6VX7.js} +2 -2
- package/dist/mcp-chunks/{chunk-7KOGD2JK.js → chunk-VKRJV2OQ.js} +2 -2
- package/dist/mcp-chunks/{chunk-YGT57XUN.js → chunk-VNQIAJ4I.js} +2 -2
- package/dist/mcp-chunks/{chunk-EV3SP7ME.js → chunk-W3HK334E.js} +1 -1
- package/dist/mcp-chunks/{chunk-KUJUYFDC.js → chunk-XCAIV2CS.js} +4 -4
- package/dist/mcp-chunks/{chunk-TQ5T5VO7.js → chunk-YINZMSAI.js} +2 -2
- package/dist/mcp-chunks/{cli-TJFAYJO4.js → cli-QNVUCDJE.js} +70 -70
- package/dist/mcp-chunks/client-VL2MU7HF.js +32 -0
- package/dist/mcp-chunks/{config-command-YGNK2VVL.js → config-command-NMIYA3HF.js} +31 -31
- package/dist/mcp-chunks/daemon-command-SLRKTEMY.js +36 -0
- package/dist/mcp-chunks/dist-GMDBFGJD.js +69 -0
- package/dist/mcp-chunks/{dist-IFOLXE2R.js → dist-P7P5T6YZ.js} +1362 -1231
- package/dist/mcp-chunks/{emit-ts-command-4EVF6CIG.js → emit-ts-command-CH34ZIJL.js} +18 -18
- package/dist/mcp-chunks/{generate-cli-runner-UFVSXJVK.js → generate-cli-runner-3X2GEPPY.js} +57 -55
- package/dist/mcp-chunks/generated-daemon-runtime-BL7IYY6T.js +32 -0
- package/dist/mcp-chunks/{inspect-cli-command-L3JGLLTG.js → inspect-cli-command-JCKHV5GL.js} +16 -13
- package/dist/mcp-chunks/{launch-LUKDWKH4.js → launch-YFY4X7YJ.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-H57PYAZ5.js → lifecycle-UUTEE5WE.js} +1 -1
- package/dist/mcp-chunks/{list-command-QBO4LK5Q.js → list-command-VDZVNILR.js} +36 -36
- package/dist/mcp-chunks/{logger-LvdykevT-BQ5B4N5O.js → logger-CpvFcLaq-27JFRZ4G.js} +3 -3
- package/dist/mcp-chunks/{output-utils-MB3PEV2M.js → output-utils-SYVU3XAD.js} +3 -3
- package/dist/mcp-chunks/{pi-mcp-runtime-OIMIJV5A.js → pi-mcp-runtime-V2OMZAIR.js} +1 -1
- package/dist/mcp-chunks/{prompt-DkftHXS7-TE2LNPAM.js → prompt-DkftHXS7-6LABGWLG.js} +1 -1
- package/dist/mcp-chunks/{record-command-RYDP3Y2A.js → record-command-U7L3OGJZ.js} +6 -5
- package/dist/mcp-chunks/{replay-command-QDJCQ5JU.js → replay-command-4AZZBGXO.js} +7 -6
- package/dist/mcp-chunks/{resource-command-RKHHQBFP.js → resource-command-BZZBELBM.js} +14 -11
- package/dist/mcp-chunks/{result-utils-ZD5GFX7P.js → result-utils-XNXSDC6N.js} +3 -3
- package/dist/mcp-chunks/runtime-OVVVPYHO.js +39 -0
- package/dist/mcp-chunks/{runtime-wrapper-AV4JCNRF.js → runtime-wrapper-6BUJRMQL.js} +3 -3
- package/dist/mcp-chunks/{serve-command-MRPTK4XX.js → serve-command-ZY3PLYNM.js} +39 -36
- package/dist/mcp-chunks/server-6DQUPUFW.js +43 -0
- package/dist/mcp-chunks/{timeouts-2SQIDYBE.js → timeouts-EEXKP36K.js} +4 -4
- package/dist/mcp-chunks/{vault-command-6JVDCFWU.js → vault-command-PRTY3B4I.js} +5 -5
- package/dist/mcp-chunks/{webapi-CI4O7AUX.js → webapi-SSFFKLRR.js} +1 -1
- package/dist/mcp-daemon.js +35 -35
- package/dist/mcp-run-worker.js +34 -34
- package/dist/memory-context.d.ts +16 -0
- package/dist/memory-context.d.ts.map +1 -0
- package/dist/memory-context.js +100 -0
- package/dist/memory-context.js.map +1 -0
- package/dist/memory.d.ts +2 -0
- package/dist/memory.d.ts.map +1 -1
- package/dist/memory.js +13 -0
- package/dist/memory.js.map +1 -1
- 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/manifest.generated.d.ts +1 -1
- package/dist/recipe/manifest.generated.js +1 -1
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +35 -9
- package/dist/session.js.map +1 -1
- package/docs/host-api.md +26 -13
- package/docs/pi-extension.md +41 -10
- package/package.json +8 -8
- package/dist/mcp-chunks/call-arguments-2ABANGLE.js +0 -16
- package/dist/mcp-chunks/client-LDKUW5K5.js +0 -32
- package/dist/mcp-chunks/daemon-command-UYAYRHVD.js +0 -36
- package/dist/mcp-chunks/dist-5JNZD3JV.js +0 -69
- package/dist/mcp-chunks/generated-daemon-runtime-LTH36X2R.js +0 -32
- package/dist/mcp-chunks/runtime-F7PP4V25.js +0 -39
- package/dist/mcp-chunks/server-2WSYXDII.js +0 -43
|
@@ -2,9 +2,9 @@ import { createRequire as __createRequire } from "node:module"; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
logInfo,
|
|
4
4
|
logWarn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RFQCNCWI.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
7
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/runtime-debug.js
|
|
8
8
|
var DEBUG_HANG = process.env.MCPORTER_DEBUG_HANG === "1";
|
|
9
9
|
function describeHandle(handle) {
|
|
10
10
|
if (!handle || typeof handle !== "object" && typeof handle !== "function") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/errors.js
|
|
4
4
|
var CliUsageError = class extends Error {
|
|
5
5
|
constructor(message) {
|
|
6
6
|
super(message);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
consumeMatchingTokens
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-B6YFFSTP.js";
|
|
5
5
|
import {
|
|
6
6
|
boldText,
|
|
7
7
|
dimText,
|
|
8
8
|
extraDimText,
|
|
9
9
|
supportsAnsiColor
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UZ5WW52A.js";
|
|
11
11
|
import {
|
|
12
12
|
MCPORTER_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BMOK7SQE.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
15
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/help-output.js
|
|
16
16
|
import fsPromises from "node:fs/promises";
|
|
17
17
|
function printHelp(message) {
|
|
18
18
|
if (message) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
buildToolMetadataList
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6VAFZAST.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/tool-cache.js
|
|
7
7
|
var runtimeCache = /* @__PURE__ */ new WeakMap();
|
|
8
8
|
function cacheKey(serverName, options) {
|
|
9
9
|
const includeSchema = options.includeSchema !== false;
|
|
@@ -3,74 +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-NAGTWK62.js";
|
|
7
7
|
import {
|
|
8
8
|
extractListFlags
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-H4TU7J5F.js";
|
|
10
10
|
import {
|
|
11
11
|
DEBUG_HANG,
|
|
12
12
|
dumpActiveHandles,
|
|
13
13
|
terminateChildProcesses
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import {
|
|
16
|
-
chooseClosestIdentifier,
|
|
17
|
-
renderIdentifierResolutionMessages
|
|
18
|
-
} from "./chunk-XU4D5QN2.js";
|
|
14
|
+
} from "./chunk-VNQIAJ4I.js";
|
|
19
15
|
import {
|
|
20
16
|
parseCallArguments
|
|
21
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ACSE24O5.js";
|
|
22
18
|
import {
|
|
23
19
|
STDOUT_FLUSH_TIMEOUT_MS,
|
|
24
20
|
parsePositiveInteger,
|
|
25
21
|
resolveCallTimeout
|
|
26
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PJH2FNYO.js";
|
|
27
23
|
import {
|
|
28
24
|
getActiveLogLevel,
|
|
29
25
|
getActiveLogger,
|
|
30
26
|
logError,
|
|
31
27
|
logInfo,
|
|
32
28
|
setLogLevel
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import
|
|
29
|
+
} from "./chunk-RFQCNCWI.js";
|
|
30
|
+
import {
|
|
31
|
+
chooseClosestIdentifier,
|
|
32
|
+
renderIdentifierResolutionMessages
|
|
33
|
+
} from "./chunk-M4RI6BN4.js";
|
|
34
|
+
import "./chunk-KKM3M3F7.js";
|
|
35
35
|
import {
|
|
36
36
|
looksLikeHttpUrl,
|
|
37
37
|
splitHttpToolSelector
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-27PQUO34.js";
|
|
39
|
+
import "./chunk-7JRVQRQ4.js";
|
|
40
40
|
import {
|
|
41
41
|
consumeHelpTokens,
|
|
42
42
|
isHelpToken,
|
|
43
43
|
isVersionToken,
|
|
44
44
|
printHelp,
|
|
45
45
|
printVersion
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-XCAIV2CS.js";
|
|
47
47
|
import {
|
|
48
48
|
extractFlags
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-B6YFFSTP.js";
|
|
50
50
|
import {
|
|
51
51
|
dimText,
|
|
52
52
|
yellowText
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-UZ5WW52A.js";
|
|
54
54
|
import {
|
|
55
55
|
CliUsageError
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-W3HK334E.js";
|
|
57
57
|
import {
|
|
58
58
|
createInteractiveElicitationResponder
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-GJKH5KNE.js";
|
|
60
|
+
import "./chunk-BMOK7SQE.js";
|
|
61
|
+
import "./chunk-F5XGHRRC.js";
|
|
62
62
|
import {
|
|
63
63
|
parseLogLevel
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-FMLYITVD.js";
|
|
65
65
|
import {
|
|
66
66
|
resolveConfigPath
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-
|
|
67
|
+
} from "./chunk-PPJWHK7M.js";
|
|
68
|
+
import "./chunk-RAUI7O2B.js";
|
|
69
69
|
import "./chunk-T4MQCFIK.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-IX6HNQSH.js";
|
|
71
71
|
import "./chunk-LRKZP7DJ.js";
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
73
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/cli-factory.js
|
|
74
74
|
function buildGlobalContext(argv) {
|
|
75
75
|
const globalFlags = extractFlags(argv, ["--config", "--root", "--log-level", "--oauth-timeout"]);
|
|
76
76
|
if (globalFlags["--log-level"]) {
|
|
@@ -103,7 +103,7 @@ function buildGlobalContext(argv) {
|
|
|
103
103
|
return { globalFlags, oauthTimeoutOverride, runtimeOptions };
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
106
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/command-inference.js
|
|
107
107
|
var CALL_TOKEN_PATTERN = /[.(]/;
|
|
108
108
|
function inferCommandRouting(token, args, definitions) {
|
|
109
109
|
if (!token) {
|
|
@@ -175,7 +175,7 @@ function isHttpToolToken(token) {
|
|
|
175
175
|
return splitHttpToolSelector(token) !== null;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
178
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/network-family-autoselection.js
|
|
179
179
|
import net from "node:net";
|
|
180
180
|
var NODE_DEFAULT_ATTEMPT_TIMEOUT_MS = 250;
|
|
181
181
|
var MCPORTER_ATTEMPT_TIMEOUT_MS = 1500;
|
|
@@ -209,7 +209,7 @@ function isNodeOptionBoundary(character) {
|
|
|
209
209
|
return character === void 0 || character === "'" || character === '"' || /\s/u.test(character);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
212
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli.js
|
|
213
213
|
configureAutoSelectFamilyAttemptTimeout();
|
|
214
214
|
var FORCE_EXIT_GRACE_MS = 50;
|
|
215
215
|
var DAEMON_FAST_PATH_SERVERS = /* @__PURE__ */ new Set(["chrome-devtools", "mobile-mcp", "playwright"]);
|
|
@@ -251,31 +251,31 @@ function flushStdioThenForceExit() {
|
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
253
|
async function handleAuth(...args) {
|
|
254
|
-
const { handleAuth: imported } = await import("./auth-command-
|
|
254
|
+
const { handleAuth: imported } = await import("./auth-command-ENP2QQ5Z.js");
|
|
255
255
|
return imported(...args);
|
|
256
256
|
}
|
|
257
257
|
async function printAuthHelp() {
|
|
258
|
-
const { printAuthHelp: imported } = await import("./auth-command-
|
|
258
|
+
const { printAuthHelp: imported } = await import("./auth-command-ENP2QQ5Z.js");
|
|
259
259
|
imported();
|
|
260
260
|
}
|
|
261
261
|
async function handleCall(...args) {
|
|
262
|
-
const { handleCall: imported } = await import("./call-command-
|
|
262
|
+
const { handleCall: imported } = await import("./call-command-LOWTMLJD.js");
|
|
263
263
|
return imported(...args);
|
|
264
264
|
}
|
|
265
265
|
async function handleGenerateCli(...args) {
|
|
266
|
-
const { handleGenerateCli: imported } = await import("./generate-cli-runner-
|
|
266
|
+
const { handleGenerateCli: imported } = await import("./generate-cli-runner-3X2GEPPY.js");
|
|
267
267
|
return imported(...args);
|
|
268
268
|
}
|
|
269
269
|
async function handleInspectCli(...args) {
|
|
270
|
-
const { handleInspectCli: imported } = await import("./inspect-cli-command-
|
|
270
|
+
const { handleInspectCli: imported } = await import("./inspect-cli-command-JCKHV5GL.js");
|
|
271
271
|
return imported(...args);
|
|
272
272
|
}
|
|
273
273
|
async function handleList(...args) {
|
|
274
|
-
const { handleList: imported } = await import("./list-command-
|
|
274
|
+
const { handleList: imported } = await import("./list-command-VDZVNILR.js");
|
|
275
275
|
return imported(...args);
|
|
276
276
|
}
|
|
277
277
|
async function handleResource(...args) {
|
|
278
|
-
const { handleResource: imported } = await import("./resource-command-
|
|
278
|
+
const { handleResource: imported } = await import("./resource-command-BZZBELBM.js");
|
|
279
279
|
return imported(...args);
|
|
280
280
|
}
|
|
281
281
|
async function runCli(argv) {
|
|
@@ -308,23 +308,23 @@ async function runCli(argv) {
|
|
|
308
308
|
}
|
|
309
309
|
if (command === "generate-cli") {
|
|
310
310
|
if (consumeHelpTokens(args)) {
|
|
311
|
-
const { printGenerateCliHelp } = await import("./generate-cli-runner-
|
|
311
|
+
const { printGenerateCliHelp } = await import("./generate-cli-runner-3X2GEPPY.js");
|
|
312
312
|
printGenerateCliHelp();
|
|
313
313
|
process.exitCode = 0;
|
|
314
314
|
return;
|
|
315
315
|
}
|
|
316
|
-
const { handleGenerateCli: importedHandleGenerateCli } = await import("./generate-cli-runner-
|
|
316
|
+
const { handleGenerateCli: importedHandleGenerateCli } = await import("./generate-cli-runner-3X2GEPPY.js");
|
|
317
317
|
await importedHandleGenerateCli(args, globalFlags);
|
|
318
318
|
return;
|
|
319
319
|
}
|
|
320
320
|
if (command === "inspect-cli") {
|
|
321
321
|
if (consumeHelpTokens(args)) {
|
|
322
|
-
const { printInspectCliHelp } = await import("./inspect-cli-command-
|
|
322
|
+
const { printInspectCliHelp } = await import("./inspect-cli-command-JCKHV5GL.js");
|
|
323
323
|
printInspectCliHelp();
|
|
324
324
|
process.exitCode = 0;
|
|
325
325
|
return;
|
|
326
326
|
}
|
|
327
|
-
const { handleInspectCli: importedHandleInspectCli } = await import("./inspect-cli-command-
|
|
327
|
+
const { handleInspectCli: importedHandleInspectCli } = await import("./inspect-cli-command-JCKHV5GL.js");
|
|
328
328
|
await importedHandleInspectCli(args);
|
|
329
329
|
return;
|
|
330
330
|
}
|
|
@@ -339,7 +339,7 @@ async function runCli(argv) {
|
|
|
339
339
|
...interactiveElicitation ? { elicitationHandler: interactiveElicitation.handler } : {}
|
|
340
340
|
};
|
|
341
341
|
if (command === "daemon") {
|
|
342
|
-
const { handleDaemonCli } = await import("./daemon-command-
|
|
342
|
+
const { handleDaemonCli } = await import("./daemon-command-SLRKTEMY.js");
|
|
343
343
|
await handleDaemonCli(args, {
|
|
344
344
|
configPath: configPathResolved,
|
|
345
345
|
configExplicit: configResolution.explicit,
|
|
@@ -348,7 +348,7 @@ async function runCli(argv) {
|
|
|
348
348
|
return;
|
|
349
349
|
}
|
|
350
350
|
if (command === "serve") {
|
|
351
|
-
const { handleServeCli, printServeHelp } = await import("./serve-command-
|
|
351
|
+
const { handleServeCli, printServeHelp } = await import("./serve-command-ZY3PLYNM.js");
|
|
352
352
|
if (consumeHelpTokens(args)) {
|
|
353
353
|
printServeHelp();
|
|
354
354
|
process.exitCode = 0;
|
|
@@ -362,7 +362,7 @@ async function runCli(argv) {
|
|
|
362
362
|
return;
|
|
363
363
|
}
|
|
364
364
|
if (command === "record") {
|
|
365
|
-
const { handleRecordCli, printRecordHelp } = await import("./record-command-
|
|
365
|
+
const { handleRecordCli, printRecordHelp } = await import("./record-command-U7L3OGJZ.js");
|
|
366
366
|
if (consumeHelpTokens(wrapperArgsBeforeSeparator(args))) {
|
|
367
367
|
printRecordHelp();
|
|
368
368
|
process.exitCode = 0;
|
|
@@ -372,7 +372,7 @@ async function runCli(argv) {
|
|
|
372
372
|
return;
|
|
373
373
|
}
|
|
374
374
|
if (command === "replay") {
|
|
375
|
-
const { handleReplayCli, printReplayHelp } = await import("./replay-command-
|
|
375
|
+
const { handleReplayCli, printReplayHelp } = await import("./replay-command-4AZZBGXO.js");
|
|
376
376
|
if (consumeHelpTokens(wrapperArgsBeforeSeparator(args))) {
|
|
377
377
|
printReplayHelp();
|
|
378
378
|
process.exitCode = 0;
|
|
@@ -382,7 +382,7 @@ async function runCli(argv) {
|
|
|
382
382
|
return;
|
|
383
383
|
}
|
|
384
384
|
if (command === "config") {
|
|
385
|
-
const { handleConfigCli } = await import("./config-command-
|
|
385
|
+
const { handleConfigCli } = await import("./config-command-NMIYA3HF.js");
|
|
386
386
|
await handleConfigCli({
|
|
387
387
|
loadOptions: { configPath, rootDir: rootOverride },
|
|
388
388
|
invokeAuth: (authArgs) => invokeAuthCommand(runtimeOptionsWithPath, authArgs)
|
|
@@ -391,14 +391,14 @@ async function runCli(argv) {
|
|
|
391
391
|
}
|
|
392
392
|
if (command === "emit-ts") {
|
|
393
393
|
if (consumeHelpTokens(args)) {
|
|
394
|
-
const { printEmitTsHelp } = await import("./emit-ts-command-
|
|
394
|
+
const { printEmitTsHelp } = await import("./emit-ts-command-CH34ZIJL.js");
|
|
395
395
|
printEmitTsHelp();
|
|
396
396
|
process.exitCode = 0;
|
|
397
397
|
return;
|
|
398
398
|
}
|
|
399
399
|
const [{ createRuntime: createRuntime2 }, { handleEmitTs }] = await Promise.all([
|
|
400
|
-
import("./runtime-
|
|
401
|
-
import("./emit-ts-command-
|
|
400
|
+
import("./runtime-OVVVPYHO.js"),
|
|
401
|
+
import("./emit-ts-command-CH34ZIJL.js")
|
|
402
402
|
]);
|
|
403
403
|
const runtime2 = await createRuntime2(runtimeOptionsWithPath);
|
|
404
404
|
try {
|
|
@@ -413,10 +413,10 @@ async function runCli(argv) {
|
|
|
413
413
|
return;
|
|
414
414
|
}
|
|
415
415
|
const [{ createRuntime }, { DaemonClient }, { createKeepAliveRuntime }, { isKeepAliveServer }] = await Promise.all([
|
|
416
|
-
import("./runtime-
|
|
417
|
-
import("./client-
|
|
418
|
-
import("./runtime-wrapper-
|
|
419
|
-
import("./lifecycle-
|
|
416
|
+
import("./runtime-OVVVPYHO.js"),
|
|
417
|
+
import("./client-VL2MU7HF.js"),
|
|
418
|
+
import("./runtime-wrapper-6BUJRMQL.js"),
|
|
419
|
+
import("./lifecycle-UUTEE5WE.js")
|
|
420
420
|
]);
|
|
421
421
|
const baseRuntime = await createRuntime(runtimeOptionsWithPath);
|
|
422
422
|
const recordReplayModeActive = isRecordReplayModeActive();
|
|
@@ -438,56 +438,56 @@ async function runCli(argv) {
|
|
|
438
438
|
const resolvedArgs = inference.args;
|
|
439
439
|
if (resolvedCommand === "list") {
|
|
440
440
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
441
|
-
const { printListHelp } = await import("./list-command-
|
|
441
|
+
const { printListHelp } = await import("./list-command-VDZVNILR.js");
|
|
442
442
|
printListHelp();
|
|
443
443
|
process.exitCode = 0;
|
|
444
444
|
return;
|
|
445
445
|
}
|
|
446
|
-
const { handleList: importedHandleList } = await import("./list-command-
|
|
446
|
+
const { handleList: importedHandleList } = await import("./list-command-VDZVNILR.js");
|
|
447
447
|
await importedHandleList(runtime, resolvedArgs);
|
|
448
448
|
return;
|
|
449
449
|
}
|
|
450
450
|
if (resolvedCommand === "call") {
|
|
451
451
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
452
|
-
const { printCallHelp } = await import("./call-command-
|
|
452
|
+
const { printCallHelp } = await import("./call-command-LOWTMLJD.js");
|
|
453
453
|
printCallHelp();
|
|
454
454
|
process.exitCode = 0;
|
|
455
455
|
return;
|
|
456
456
|
}
|
|
457
|
-
const { handleCall: runHandleCall } = await import("./call-command-
|
|
457
|
+
const { handleCall: runHandleCall } = await import("./call-command-LOWTMLJD.js");
|
|
458
458
|
await runHandleCall(runtime, resolvedArgs);
|
|
459
459
|
return;
|
|
460
460
|
}
|
|
461
461
|
if (resolvedCommand === "auth") {
|
|
462
462
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
463
|
-
const { printAuthHelp: importedPrintAuthHelp } = await import("./auth-command-
|
|
463
|
+
const { printAuthHelp: importedPrintAuthHelp } = await import("./auth-command-ENP2QQ5Z.js");
|
|
464
464
|
importedPrintAuthHelp();
|
|
465
465
|
process.exitCode = 0;
|
|
466
466
|
return;
|
|
467
467
|
}
|
|
468
|
-
const { handleAuth: importedHandleAuth } = await import("./auth-command-
|
|
468
|
+
const { handleAuth: importedHandleAuth } = await import("./auth-command-ENP2QQ5Z.js");
|
|
469
469
|
await importedHandleAuth(runtime, resolvedArgs, { oauthTimeoutMs: runtimeOptionsWithPath.oauthTimeoutMs });
|
|
470
470
|
return;
|
|
471
471
|
}
|
|
472
472
|
if (resolvedCommand === "vault") {
|
|
473
473
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
474
|
-
const { printVaultHelp } = await import("./vault-command-
|
|
474
|
+
const { printVaultHelp } = await import("./vault-command-PRTY3B4I.js");
|
|
475
475
|
printVaultHelp();
|
|
476
476
|
process.exitCode = 0;
|
|
477
477
|
return;
|
|
478
478
|
}
|
|
479
|
-
const { handleVault } = await import("./vault-command-
|
|
479
|
+
const { handleVault } = await import("./vault-command-PRTY3B4I.js");
|
|
480
480
|
await handleVault(runtime, resolvedArgs);
|
|
481
481
|
return;
|
|
482
482
|
}
|
|
483
483
|
if (resolvedCommand === "resource" || resolvedCommand === "resources") {
|
|
484
484
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
485
|
-
const { printResourceHelp } = await import("./resource-command-
|
|
485
|
+
const { printResourceHelp } = await import("./resource-command-BZZBELBM.js");
|
|
486
486
|
printResourceHelp();
|
|
487
487
|
process.exitCode = 0;
|
|
488
488
|
return;
|
|
489
489
|
}
|
|
490
|
-
const { handleResource: importedHandleResource } = await import("./resource-command-
|
|
490
|
+
const { handleResource: importedHandleResource } = await import("./resource-command-BZZBELBM.js");
|
|
491
491
|
await importedHandleResource(runtime, resolvedArgs);
|
|
492
492
|
return;
|
|
493
493
|
}
|
|
@@ -570,8 +570,8 @@ if (process.env.MCPORTER_DISABLE_AUTORUN !== "1") {
|
|
|
570
570
|
}
|
|
571
571
|
async function invokeAuthCommand(runtimeOptions, args) {
|
|
572
572
|
const [{ createRuntime }, { handleAuth: importedHandleAuth }] = await Promise.all([
|
|
573
|
-
import("./runtime-
|
|
574
|
-
import("./auth-command-
|
|
573
|
+
import("./runtime-OVVVPYHO.js"),
|
|
574
|
+
import("./auth-command-ENP2QQ5Z.js")
|
|
575
575
|
]);
|
|
576
576
|
const runtime = await createRuntime(runtimeOptions);
|
|
577
577
|
try {
|
|
@@ -597,8 +597,8 @@ async function maybeHandleDaemonFastCall(command, args, configResolution, rootDi
|
|
|
597
597
|
return true;
|
|
598
598
|
}
|
|
599
599
|
const [{ DaemonClient }, { handleCall: importedHandleCall }] = await Promise.all([
|
|
600
|
-
import("./client-
|
|
601
|
-
import("./call-command-
|
|
600
|
+
import("./client-VL2MU7HF.js"),
|
|
601
|
+
import("./call-command-LOWTMLJD.js")
|
|
602
602
|
]);
|
|
603
603
|
const daemonClient = new DaemonClient({
|
|
604
604
|
configPath: configResolution.path,
|
|
@@ -610,8 +610,8 @@ async function maybeHandleDaemonFastCall(command, args, configResolution, rootDi
|
|
|
610
610
|
}
|
|
611
611
|
async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootDir) {
|
|
612
612
|
const [{ parseCallArguments: parseCallArguments2 }, { resolveServerCallTimeout }] = await Promise.all([
|
|
613
|
-
import("./call-arguments-
|
|
614
|
-
import("./timeouts-
|
|
613
|
+
import("./call-arguments-Z5REZUAX.js"),
|
|
614
|
+
import("./timeouts-EEXKP36K.js")
|
|
615
615
|
]);
|
|
616
616
|
let parsed;
|
|
617
617
|
try {
|
|
@@ -623,9 +623,9 @@ async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootD
|
|
|
623
623
|
return false;
|
|
624
624
|
}
|
|
625
625
|
const [{ DaemonClient }, { wrapCallResult }, { printCallOutput }] = await Promise.all([
|
|
626
|
-
import("./client-
|
|
627
|
-
import("./result-utils-
|
|
628
|
-
import("./output-utils-
|
|
626
|
+
import("./client-VL2MU7HF.js"),
|
|
627
|
+
import("./result-utils-XNXSDC6N.js"),
|
|
628
|
+
import("./output-utils-SYVU3XAD.js")
|
|
629
629
|
]);
|
|
630
630
|
const daemonClient = new DaemonClient({
|
|
631
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-OH3HVZE7.js";
|
|
6
|
+
import "./chunk-6WTCG4OR.js";
|
|
7
|
+
import "./chunk-CPAQ4API.js";
|
|
8
|
+
import "./chunk-3P3Z5PKQ.js";
|
|
9
|
+
import "./chunk-GJKH5KNE.js";
|
|
10
|
+
import "./chunk-SL74CLNX.js";
|
|
11
|
+
import "./chunk-BMOK7SQE.js";
|
|
12
|
+
import "./chunk-F5XGHRRC.js";
|
|
13
|
+
import "./chunk-7LKVFBEL.js";
|
|
14
|
+
import "./chunk-FYRRJZPO.js";
|
|
15
|
+
import "./chunk-33P3PYCH.js";
|
|
16
|
+
import "./chunk-FMLYITVD.js";
|
|
17
|
+
import "./chunk-CSUDITHP.js";
|
|
18
|
+
import "./chunk-PBYZ5QZW.js";
|
|
19
|
+
import "./chunk-QRC4AH7I.js";
|
|
20
|
+
import "./chunk-PPJWHK7M.js";
|
|
21
|
+
import "./chunk-RAUI7O2B.js";
|
|
22
|
+
import "./chunk-T4MQCFIK.js";
|
|
23
|
+
import "./chunk-IX6HNQSH.js";
|
|
24
|
+
import "./chunk-L3BBHB3E.js";
|
|
25
|
+
import "./chunk-DSBXRWGJ.js";
|
|
26
|
+
import "./chunk-VKRJV2OQ.js";
|
|
27
|
+
import "./chunk-N53HQB4G.js";
|
|
28
|
+
import "./chunk-LRKZP7DJ.js";
|
|
29
|
+
export {
|
|
30
|
+
DaemonClient,
|
|
31
|
+
resolveDaemonPaths
|
|
32
|
+
};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
pickSharedDefinitionFields
|
|
4
|
+
} from "./chunk-KUP2GHFE.js";
|
|
2
5
|
import {
|
|
3
6
|
chooseClosestIdentifier,
|
|
4
7
|
renderIdentifierResolutionMessages
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
pickSharedDefinitionFields
|
|
8
|
-
} from "./chunk-Z43KJRXY.js";
|
|
8
|
+
} from "./chunk-M4RI6BN4.js";
|
|
9
9
|
import {
|
|
10
10
|
consumeMatchingTokens
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-B6YFFSTP.js";
|
|
12
12
|
import {
|
|
13
13
|
boldText,
|
|
14
14
|
dimText,
|
|
15
15
|
extraDimText,
|
|
16
16
|
supportsAnsiColor
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UZ5WW52A.js";
|
|
18
18
|
import {
|
|
19
19
|
CliUsageError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-W3HK334E.js";
|
|
21
21
|
import {
|
|
22
22
|
MCPORTER_VERSION
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BMOK7SQE.js";
|
|
24
24
|
import {
|
|
25
25
|
clearOAuthCaches
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FYRRJZPO.js";
|
|
27
27
|
import {
|
|
28
28
|
VAULT_ENCRYPTION_POLICY_ENV,
|
|
29
29
|
VAULT_PASSWORD_ENV,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
getOAuthVaultPath,
|
|
34
34
|
hasVaultEncryptionMarker,
|
|
35
35
|
readVaultEncryptionSettings
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-33P3PYCH.js";
|
|
37
37
|
import {
|
|
38
38
|
OAuthRequestedScopeSchema,
|
|
39
39
|
listConfigLayerPaths,
|
|
@@ -44,30 +44,30 @@ import {
|
|
|
44
44
|
readExternalEntries,
|
|
45
45
|
resolveConfigPath,
|
|
46
46
|
writeRawConfig
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-CSUDITHP.js";
|
|
48
|
+
import "./chunk-PBYZ5QZW.js";
|
|
49
49
|
import {
|
|
50
50
|
readJsonFile,
|
|
51
51
|
withFileLock
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-QRC4AH7I.js";
|
|
53
|
+
import "./chunk-PPJWHK7M.js";
|
|
54
54
|
import {
|
|
55
55
|
mcporterConfigCandidates,
|
|
56
56
|
mcporterDir
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-RAUI7O2B.js";
|
|
58
58
|
import "./chunk-T4MQCFIK.js";
|
|
59
59
|
import {
|
|
60
60
|
expandHome
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-IX6HNQSH.js";
|
|
62
|
+
import "./chunk-L3BBHB3E.js";
|
|
63
|
+
import "./chunk-DSBXRWGJ.js";
|
|
64
|
+
import "./chunk-N53HQB4G.js";
|
|
65
65
|
import "./chunk-LRKZP7DJ.js";
|
|
66
66
|
|
|
67
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
67
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/config/add.js
|
|
68
68
|
import path2 from "node:path";
|
|
69
69
|
|
|
70
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
70
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/config/shared.js
|
|
71
71
|
import fs from "node:fs/promises";
|
|
72
72
|
import path from "node:path";
|
|
73
73
|
var COLOR_ENABLED = () => Boolean(supportsAnsiColor && process.stdout.isTTY);
|
|
@@ -196,7 +196,7 @@ function isErrno(error, code) {
|
|
|
196
196
|
return Boolean(error && typeof error === "object" && error.code === code);
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
199
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/config/add.js
|
|
200
200
|
async function handleAddCommand(options, args) {
|
|
201
201
|
const name = args.shift();
|
|
202
202
|
if (!name) {
|
|
@@ -489,7 +489,7 @@ function looksLikeHttp(value) {
|
|
|
489
489
|
return value.startsWith("http://") || value.startsWith("https://");
|
|
490
490
|
}
|
|
491
491
|
|
|
492
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
492
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/config/auth.js
|
|
493
493
|
async function handleLoginCommand(options, args) {
|
|
494
494
|
if (args.length === 0) {
|
|
495
495
|
throw new CliUsageError("Usage: mcporter config login <name|url>");
|
|
@@ -507,7 +507,7 @@ async function handleLogoutCommand(options, args) {
|
|
|
507
507
|
console.log(`Cleared cached credentials for '${target.name}'`);
|
|
508
508
|
}
|
|
509
509
|
|
|
510
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
510
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/config/doctor.js
|
|
511
511
|
import path3 from "node:path";
|
|
512
512
|
function isVaultDocument(document) {
|
|
513
513
|
if (!document || typeof document !== "object")
|
|
@@ -614,7 +614,7 @@ async function handleDoctorCommand(options, _args) {
|
|
|
614
614
|
console.log(` - ${issue}`);
|
|
615
615
|
}
|
|
616
616
|
|
|
617
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
617
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/config/render.js
|
|
618
618
|
function serializeDefinition(definition) {
|
|
619
619
|
const origin = definition.source ?? { kind: "local", path: "" };
|
|
620
620
|
const sharedFields = pickSharedDefinitionFields(definition);
|
|
@@ -709,7 +709,7 @@ function printConfigUsageExamples() {
|
|
|
709
709
|
];
|
|
710
710
|
}
|
|
711
711
|
|
|
712
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
712
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/config/get.js
|
|
713
713
|
async function handleGetCommand(options, args) {
|
|
714
714
|
const flags = extractGetFlags(args);
|
|
715
715
|
const name = args.shift();
|
|
@@ -751,7 +751,7 @@ function extractGetFlags(args) {
|
|
|
751
751
|
return { format };
|
|
752
752
|
}
|
|
753
753
|
|
|
754
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
754
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/config/help.js
|
|
755
755
|
var CONFIG_HELP_ENTRIES = {
|
|
756
756
|
list: {
|
|
757
757
|
name: "list [options] [filter]",
|
|
@@ -957,7 +957,7 @@ function printSubcommandHelp(subcommand, colorize) {
|
|
|
957
957
|
console.log(lines.join("\n"));
|
|
958
958
|
}
|
|
959
959
|
|
|
960
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
960
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/config/import.js
|
|
961
961
|
import path4 from "node:path";
|
|
962
962
|
async function handleImportCommand(options, args) {
|
|
963
963
|
const kind = args.shift();
|
|
@@ -1056,7 +1056,7 @@ function extractImportFlags(args) {
|
|
|
1056
1056
|
return flags;
|
|
1057
1057
|
}
|
|
1058
1058
|
|
|
1059
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
1059
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/config/list.js
|
|
1060
1060
|
async function handleListCommand(options, args) {
|
|
1061
1061
|
const flags = extractListFlags(args);
|
|
1062
1062
|
const filter = args.shift();
|
|
@@ -1142,7 +1142,7 @@ function filterMatches(filter, server) {
|
|
|
1142
1142
|
return server.name.includes(filter);
|
|
1143
1143
|
}
|
|
1144
1144
|
|
|
1145
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
1145
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/config/remove.js
|
|
1146
1146
|
async function handleRemoveCommand(options, args) {
|
|
1147
1147
|
const name = args.shift();
|
|
1148
1148
|
if (!name) {
|
|
@@ -1167,7 +1167,7 @@ async function handleRemoveCommand(options, args) {
|
|
|
1167
1167
|
console.log(`Removed '${targetName}' from ${configPath}`);
|
|
1168
1168
|
}
|
|
1169
1169
|
|
|
1170
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
1170
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/config-command.js
|
|
1171
1171
|
async function handleConfigCli(options, args) {
|
|
1172
1172
|
const initialToken = args[0];
|
|
1173
1173
|
if (args.length === 0 || initialToken && isHelpToken(initialToken)) {
|