@introspection-ai/recipes 0.20.0 → 0.22.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/README.md +10 -4
- package/dist/channels/index.d.ts +7 -0
- package/dist/channels/index.d.ts.map +1 -0
- package/dist/channels/index.js +4 -0
- package/dist/channels/index.js.map +1 -0
- package/dist/channels/module.d.ts +43 -0
- package/dist/channels/module.d.ts.map +1 -0
- package/dist/channels/module.js +61 -0
- package/dist/channels/module.js.map +1 -0
- package/dist/channels/refs.d.ts +28 -0
- package/dist/channels/refs.d.ts.map +1 -0
- package/dist/channels/refs.js +91 -0
- package/dist/channels/refs.js.map +1 -0
- package/dist/channels/tools.d.ts +56 -0
- package/dist/channels/tools.d.ts.map +1 -0
- package/dist/channels/tools.js +324 -0
- package/dist/channels/tools.js.map +1 -0
- package/dist/channels/types.d.ts +209 -0
- package/dist/channels/types.d.ts.map +1 -0
- package/dist/channels/types.js +23 -0
- package/dist/channels/types.js.map +1 -0
- package/dist/child-agent.d.ts +2 -0
- package/dist/child-agent.d.ts.map +1 -1
- package/dist/child-agent.js +33 -1
- package/dist/child-agent.js.map +1 -1
- package/dist/connector-tools.d.ts +37 -0
- package/dist/connector-tools.d.ts.map +1 -0
- package/dist/connector-tools.js +88 -0
- package/dist/connector-tools.js.map +1 -0
- package/dist/mcp-chunks/{auth-command-IQ4J332A.js → auth-command-4OEOMU2V.js} +22 -22
- package/dist/mcp-chunks/call-arguments-RPXZJOXL.js +15 -0
- package/dist/mcp-chunks/{call-command-WPQ3MDOE.js → call-command-AUEKSBMD.js} +31 -31
- package/dist/mcp-chunks/{chunk-3FB4ZJ4Z.js → chunk-3VLPWGJL.js} +4 -4
- package/dist/mcp-chunks/{chunk-WKUCIR2F.js → chunk-47N2EELW.js} +32 -29
- package/dist/mcp-chunks/{chunk-NACLB5YH.js → chunk-4NDR45CX.js} +5 -5
- package/dist/mcp-chunks/{chunk-RXSZ2W6Y.js → chunk-5WGJPYOR.js} +1 -1
- package/dist/mcp-chunks/{chunk-JJG2OEHI.js → chunk-6CYJ6RN3.js} +1 -1
- package/dist/mcp-chunks/{chunk-IUFDFNNP.js → chunk-6DL2C6V5.js} +1 -1
- package/dist/mcp-chunks/{chunk-NPU7EMGE.js → chunk-6QH47GNE.js} +5 -5
- package/dist/mcp-chunks/{chunk-UDG3RHKX.js → chunk-756YH7S4.js} +2 -2
- package/dist/mcp-chunks/{chunk-B4XFULJ6.js → chunk-7CS27CWE.js} +6 -6
- package/dist/mcp-chunks/{chunk-SCD2NAX5.js → chunk-7KEDX7SE.js} +2 -2
- package/dist/mcp-chunks/{chunk-24FKKIXI.js → chunk-AB7MHBEG.js} +11 -11
- package/dist/mcp-chunks/{chunk-ITJWLDF5.js → chunk-ACTRQW5L.js} +2 -2
- package/dist/mcp-chunks/{chunk-ETYYCEQF.js → chunk-ADINDBOF.js} +2 -2
- package/dist/mcp-chunks/{chunk-QONTHFPO.js → chunk-AF74TOWM.js} +4 -4
- package/dist/mcp-chunks/{chunk-GQHTGV5E.js → chunk-AFKE4BTR.js} +15 -15
- package/dist/mcp-chunks/{chunk-RDOD354S.js → chunk-DEYKPG4K.js} +4 -4
- package/dist/mcp-chunks/{chunk-UAIJZBGL.js → chunk-E4YYMOT2.js} +10 -10
- package/dist/mcp-chunks/{chunk-DIIFWDZ7.js → chunk-HBDCHBJP.js} +1 -1
- package/dist/mcp-chunks/{chunk-NMF5S5DC.js → chunk-HDUKEFBI.js} +2 -2
- package/dist/mcp-chunks/{chunk-5YBCGQA7.js → chunk-HHMWZ2FZ.js} +1 -1
- package/dist/mcp-chunks/{chunk-2CTVPSHF.js → chunk-IPH6U7SE.js} +3 -3
- package/dist/mcp-chunks/{chunk-NSZY5WLR.js → chunk-J3J3NQ4X.js} +1 -1
- package/dist/mcp-chunks/{chunk-U23EY5DN.js → chunk-J6VOMOKI.js} +1 -1
- package/dist/mcp-chunks/{chunk-KJ3CMHWS.js → chunk-JILBFEBD.js} +1 -1
- package/dist/mcp-chunks/{chunk-YDJ7E2PH.js → chunk-JZDXKYQM.js} +4 -4
- package/dist/mcp-chunks/{chunk-FZ7K5EGL.js → chunk-KMH3PHLA.js} +5 -5
- package/dist/mcp-chunks/{chunk-FW5QVG6V.js → chunk-KPXFBRTG.js} +1 -1
- package/dist/mcp-chunks/{chunk-ZI44YPFF.js → chunk-L4CUJJI5.js} +4 -4
- package/dist/mcp-chunks/{chunk-GPCLDF6U.js → chunk-LC2CCTQN.js} +1 -1
- package/dist/mcp-chunks/{chunk-3MIFROM7.js → chunk-LJCZWKGJ.js} +1 -1
- package/dist/mcp-chunks/{chunk-SHZVDY6Z.js → chunk-MFFE5QSH.js} +1 -1
- package/dist/mcp-chunks/{chunk-HULRE4D2.js → chunk-MOML5C2E.js} +1 -1
- package/dist/mcp-chunks/{chunk-TAVMVGD5.js → chunk-MRXSXBZT.js} +2 -2
- package/dist/mcp-chunks/{chunk-LI4L4FOV.js → chunk-NMFI6AUD.js} +21 -21
- package/dist/mcp-chunks/{chunk-EEYUPDRX.js → chunk-NWLOPQT7.js} +1 -1
- package/dist/mcp-chunks/{chunk-ZSKQI4TS.js → chunk-OGFFBNIC.js} +4 -4
- package/dist/mcp-chunks/{chunk-QK6LUI5Q.js → chunk-PPIXUCYQ.js} +2 -2
- package/dist/mcp-chunks/{chunk-ILULMM2E.js → chunk-PPOHGQKM.js} +2 -2
- package/dist/mcp-chunks/{chunk-FNQV2ONG.js → chunk-PRZCYXVO.js} +2 -2
- package/dist/mcp-chunks/{chunk-LYZRCACV.js → chunk-Q7ESBNJG.js} +2 -2
- package/dist/mcp-chunks/{chunk-VC6SKXTI.js → chunk-RE4EVQNC.js} +1 -1
- package/dist/mcp-chunks/{chunk-AJPFOQLF.js → chunk-RO2Y34XX.js} +1 -1
- package/dist/mcp-chunks/{chunk-G5C4WVDQ.js → chunk-SAK5KCLR.js} +1 -1
- package/dist/mcp-chunks/{chunk-ILSK6AWI.js → chunk-SCGMRUKI.js} +1 -1
- package/dist/mcp-chunks/{chunk-MNAVFYYV.js → chunk-SQTXZR56.js} +10 -10
- package/dist/mcp-chunks/{chunk-VREKED5H.js → chunk-TGJOZDKG.js} +2 -2
- package/dist/mcp-chunks/{chunk-ZNKNF2BV.js → chunk-US57PK4B.js} +1 -1
- package/dist/mcp-chunks/{chunk-RYAUNXFA.js → chunk-V4RYLZM5.js} +1 -1
- package/dist/mcp-chunks/{chunk-54UGGTOX.js → chunk-X3FOKZ5C.js} +1 -1
- package/dist/mcp-chunks/{chunk-XRRT3SZM.js → chunk-XVJAASVZ.js} +10 -10
- package/dist/mcp-chunks/{chunk-MDVNQ4HM.js → chunk-YX2NKW6O.js} +1 -1
- package/dist/mcp-chunks/{chunk-5HQYKAE7.js → chunk-Z7O6NF7X.js} +16 -16
- package/dist/mcp-chunks/{chunk-MWD5PZ4G.js → chunk-ZKFG37TB.js} +2 -2
- package/dist/mcp-chunks/{chunk-VJ2TSA5R.js → chunk-ZRZ7C6L3.js} +13 -8
- package/dist/mcp-chunks/{chunk-N2HVJU7X.js → chunk-ZZSD2JT7.js} +1 -1
- package/dist/mcp-chunks/{cli-Z7KV4PCE.js → cli-B7WQQUME.js} +67 -67
- package/dist/mcp-chunks/client-4ZHIBB67.js +21 -0
- package/dist/mcp-chunks/{config-command-XXCDOB3M.js → config-command-FF3JPMOP.js} +26 -26
- package/dist/mcp-chunks/daemon-command-FKW6YELL.js +35 -0
- package/dist/mcp-chunks/{emit-ts-command-FEHTMXXB.js → emit-ts-command-4X56IZ32.js} +16 -16
- package/dist/mcp-chunks/{generate-cli-runner-OA6XL77R.js → generate-cli-runner-MIPF73SJ.js} +42 -42
- package/dist/mcp-chunks/{inspect-cli-command-UQKKE5VO.js → inspect-cli-command-GX54ZXKR.js} +8 -8
- package/dist/mcp-chunks/{launch-KMPDJOUH.js → launch-E2LWGPZS.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-R3IP22MJ.js → lifecycle-TONHXXXJ.js} +1 -1
- package/dist/mcp-chunks/{list-command-7ENYKBF6.js → list-command-YUGRZO4G.js} +28 -28
- package/dist/mcp-chunks/{output-utils-N75TOWBX.js → output-utils-AZY6N2VQ.js} +3 -3
- package/dist/mcp-chunks/{record-command-XHPCL7IG.js → record-command-25DLELA2.js} +5 -5
- package/dist/mcp-chunks/{replay-command-CB56L3ZA.js → replay-command-6SLDG6PC.js} +6 -6
- package/dist/mcp-chunks/{resource-command-STEBHVT7.js → resource-command-YVOB4JCU.js} +8 -8
- package/dist/mcp-chunks/{result-utils-UONY2KNY.js → result-utils-ZXB5DM36.js} +2 -2
- package/dist/mcp-chunks/runtime-NOWGTHZ5.js +39 -0
- package/dist/mcp-chunks/{runtime-wrapper-SYYAQVO6.js → runtime-wrapper-ZZPAFQE4.js} +5 -5
- package/dist/mcp-chunks/{serve-command-VYSFRZFE.js → serve-command-QYGM2AMB.js} +26 -26
- package/dist/mcp-chunks/{timeouts-T3JP3MUF.js → timeouts-P3TBB3AX.js} +3 -3
- package/dist/mcp-chunks/{vault-command-AJ3X7GDI.js → vault-command-VDMPATIX.js} +6 -6
- package/dist/mcp-daemon.js +29 -29
- package/dist/mcp-run-worker.js +29 -29
- package/dist/mcp-tools.d.ts +1 -6
- package/dist/mcp-tools.d.ts.map +1 -1
- package/dist/mcp-tools.js +5 -73
- package/dist/mcp-tools.js.map +1 -1
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +24 -0
- package/dist/mcp.js.map +1 -1
- package/dist/pi-extension.d.ts.map +1 -1
- package/dist/pi-extension.js +66 -35
- package/dist/pi-extension.js.map +1 -1
- package/dist/recipe-agent.d.ts.map +1 -1
- package/dist/recipe-agent.js +3 -2
- package/dist/recipe-agent.js.map +1 -1
- package/dist/recipe-extensions.d.ts +1 -0
- package/dist/recipe-extensions.d.ts.map +1 -1
- package/dist/recipe-extensions.js +32 -11
- package/dist/recipe-extensions.js.map +1 -1
- package/dist/recipe-package.d.ts +5 -0
- package/dist/recipe-package.d.ts.map +1 -1
- package/dist/recipe-package.js +68 -3
- package/dist/recipe-package.js.map +1 -1
- package/dist/run-controller.d.ts.map +1 -1
- package/dist/run-controller.js +7 -3
- package/dist/run-controller.js.map +1 -1
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +71 -16
- package/dist/session.js.map +1 -1
- package/dist/test-utils.d.ts +1 -0
- package/dist/test-utils.d.ts.map +1 -1
- package/dist/test-utils.js +1 -0
- package/dist/test-utils.js.map +1 -1
- package/dist/tool-search.d.ts +21 -0
- package/dist/tool-search.d.ts.map +1 -0
- package/dist/tool-search.js +176 -0
- package/dist/tool-search.js.map +1 -0
- package/docs/channels.md +166 -0
- package/docs/index.md +2 -0
- package/docs/mcp-configuration.md +6 -4
- package/docs/pi-extension.md +12 -8
- package/docs/recipe-format.md +37 -0
- package/docs/slack.md +135 -0
- package/package.json +23 -14
- package/dist/mcp-chunks/call-arguments-MCCBPJMY.js +0 -15
- package/dist/mcp-chunks/client-B3FMQNGF.js +0 -21
- package/dist/mcp-chunks/daemon-command-BAREANTC.js +0 -35
- package/dist/mcp-chunks/runtime-Z45IVD24.js +0 -39
- package/dist/recipe-check.d.ts +0 -18
- package/dist/recipe-check.d.ts.map +0 -1
- package/dist/recipe-check.js +0 -263
- package/dist/recipe-check.js.map +0 -1
- package/vendor/introspection-recipe-check/darwin-arm64/introspection-recipe-check +0 -0
- package/vendor/introspection-recipe-check/darwin-x64/introspection-recipe-check +0 -0
- package/vendor/introspection-recipe-check/linux-arm64/introspection-recipe-check +0 -0
- package/vendor/introspection-recipe-check/linux-x64/introspection-recipe-check +0 -0
- package/vendor/introspection-recipe-check/linux-x64-musl/introspection-recipe-check +0 -0
- package/vendor/introspection-recipe-check/win32-x64/introspection-recipe-check.exe +0 -0
- package/vendor/mcp-client/darwin-arm64/mcp-client +0 -0
- package/vendor/mcp-client/darwin-x64/mcp-client +0 -0
- package/vendor/mcp-client/linux-arm64/mcp-client +0 -0
- package/vendor/mcp-client/linux-x64/mcp-client +0 -0
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
reconcilePersistedTokens,
|
|
8
8
|
withRefreshLock,
|
|
9
9
|
withRefreshRequestTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SQTXZR56.js";
|
|
11
11
|
import {
|
|
12
12
|
sameOAuthTokenGeneration
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7CS27CWE.js";
|
|
14
14
|
import {
|
|
15
15
|
isUnauthorizedError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZKFG37TB.js";
|
|
17
17
|
import {
|
|
18
18
|
IssuerMismatchError,
|
|
19
19
|
auth,
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
} from "./chunk-K56RW4HB.js";
|
|
22
22
|
import {
|
|
23
23
|
suppressBrowserLaunchFromEnv
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6CYJ6RN3.js";
|
|
25
25
|
import {
|
|
26
26
|
isFileLockTimeoutError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ADINDBOF.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
29
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/oauth.js
|
|
30
30
|
import { spawn } from "node:child_process";
|
|
31
31
|
import { createHash, randomUUID } from "node:crypto";
|
|
32
32
|
import http from "node:http";
|
|
@@ -34,6 +34,11 @@ import { URL } from "node:url";
|
|
|
34
34
|
var CALLBACK_HOST = "127.0.0.1";
|
|
35
35
|
var CALLBACK_PATH = "/callback";
|
|
36
36
|
var INTERACTIVE_AUTHORIZATION_TTL_MS = 3e5;
|
|
37
|
+
var oauthJsonFetch = (input, init = {}) => {
|
|
38
|
+
const headers = new Headers(init.headers);
|
|
39
|
+
headers.set("accept", "application/json");
|
|
40
|
+
return fetch(input, { ...init, headers });
|
|
41
|
+
};
|
|
37
42
|
var OAuthRefreshUnavailableError = class extends Error {
|
|
38
43
|
serverName;
|
|
39
44
|
constructor(serverName, options) {
|
|
@@ -331,7 +336,7 @@ var PersistentOAuthClientProvider = class _PersistentOAuthClientProvider {
|
|
|
331
336
|
if (!sameOAuthTokenGeneration(latest, rejected)) {
|
|
332
337
|
return;
|
|
333
338
|
}
|
|
334
|
-
await continueDefault({ fetchFn: withRefreshRequestTimeout(
|
|
339
|
+
await continueDefault({ fetchFn: withRefreshRequestTimeout(oauthJsonFetch) });
|
|
335
340
|
});
|
|
336
341
|
} catch (error) {
|
|
337
342
|
if (isFileLockTimeoutError(error)) {
|
|
@@ -532,7 +537,7 @@ var __oauthInternals = {
|
|
|
532
537
|
openExternal
|
|
533
538
|
};
|
|
534
539
|
|
|
535
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
540
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/runtime/oauth.js
|
|
536
541
|
var DEFAULT_OAUTH_CODE_TIMEOUT_MS = 3e5;
|
|
537
542
|
var OAUTH_FLOW_ERROR = /* @__PURE__ */ Symbol("oauth-flow-error");
|
|
538
543
|
var POST_AUTH_CONNECT_ERROR = /* @__PURE__ */ Symbol("post-auth-connect-error");
|
|
@@ -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.13.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/daemon/launch.js
|
|
4
4
|
import { spawn } from "node:child_process";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
function launchDaemonDetached(options, launch = spawn) {
|
|
@@ -3,75 +3,75 @@ import { createRequire as __createRequire } from "node:module"; const require =
|
|
|
3
3
|
import {
|
|
4
4
|
consumeMatchingTokens,
|
|
5
5
|
extractFlags
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LC2CCTQN.js";
|
|
7
7
|
import {
|
|
8
8
|
isRecordReplayModeActive,
|
|
9
9
|
isReplayModeActive
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HHMWZ2FZ.js";
|
|
11
11
|
import {
|
|
12
12
|
extractListFlags
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-L4CUJJI5.js";
|
|
14
14
|
import {
|
|
15
15
|
DEBUG_HANG,
|
|
16
16
|
dumpActiveHandles,
|
|
17
17
|
terminateChildProcesses
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PPIXUCYQ.js";
|
|
19
19
|
import {
|
|
20
20
|
parseCallArguments
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AB7MHBEG.js";
|
|
22
22
|
import {
|
|
23
23
|
CliUsageError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KPXFBRTG.js";
|
|
25
25
|
import {
|
|
26
26
|
getActiveLogLevel,
|
|
27
27
|
getActiveLogger,
|
|
28
28
|
logError,
|
|
29
29
|
logInfo,
|
|
30
30
|
setLogLevel
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PPOHGQKM.js";
|
|
32
32
|
import {
|
|
33
33
|
chooseClosestIdentifier,
|
|
34
34
|
renderIdentifierResolutionMessages
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-J6VOMOKI.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-6DL2C6V5.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-HDUKEFBI.js";
|
|
48
|
+
import "./chunk-NWLOPQT7.js";
|
|
49
49
|
import {
|
|
50
50
|
looksLikeHttpUrl,
|
|
51
51
|
splitHttpToolSelector
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-SCGMRUKI.js";
|
|
53
|
+
import "./chunk-MFFE5QSH.js";
|
|
54
54
|
import {
|
|
55
55
|
configureAutoSelectFamilyAttemptTimeout
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-MOML5C2E.js";
|
|
57
57
|
import {
|
|
58
58
|
createInteractiveElicitationResponder
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-RE4EVQNC.js";
|
|
60
60
|
import {
|
|
61
61
|
MCPORTER_VERSION
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-J3J3NQ4X.js";
|
|
63
63
|
import {
|
|
64
64
|
parseLogLevel
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-X3FOKZ5C.js";
|
|
66
|
+
import "./chunk-Q7ESBNJG.js";
|
|
67
67
|
import {
|
|
68
68
|
resolveConfigPath
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-IPH6U7SE.js";
|
|
70
|
+
import "./chunk-TGJOZDKG.js";
|
|
71
|
+
import "./chunk-HBDCHBJP.js";
|
|
72
72
|
import "./chunk-LRKZP7DJ.js";
|
|
73
73
|
|
|
74
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
74
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/cli-factory.js
|
|
75
75
|
function buildGlobalContext(argv) {
|
|
76
76
|
const globalFlags = extractFlags(argv, ["--config", "--root", "--log-level", "--oauth-timeout"]);
|
|
77
77
|
if (globalFlags["--log-level"]) {
|
|
@@ -104,7 +104,7 @@ function buildGlobalContext(argv) {
|
|
|
104
104
|
return { globalFlags, oauthTimeoutOverride, runtimeOptions };
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
107
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/command-inference.js
|
|
108
108
|
var CALL_TOKEN_PATTERN = /[.(]/;
|
|
109
109
|
function inferCommandRouting(token, args, definitions) {
|
|
110
110
|
if (!token) {
|
|
@@ -176,7 +176,7 @@ function isHttpToolToken(token) {
|
|
|
176
176
|
return splitHttpToolSelector(token) !== null;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
179
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/help-output.js
|
|
180
180
|
import fsPromises from "node:fs/promises";
|
|
181
181
|
function printHelp(message) {
|
|
182
182
|
if (message) {
|
|
@@ -378,7 +378,7 @@ async function resolveCliVersion() {
|
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
381
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli.js
|
|
382
382
|
configureAutoSelectFamilyAttemptTimeout();
|
|
383
383
|
var FORCE_EXIT_GRACE_MS = 50;
|
|
384
384
|
var DAEMON_FAST_PATH_SERVERS = /* @__PURE__ */ new Set(["chrome-devtools", "mobile-mcp", "playwright"]);
|
|
@@ -420,31 +420,31 @@ function flushStdioThenForceExit() {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
async function handleAuth(...args) {
|
|
423
|
-
const { handleAuth: imported } = await import("./auth-command-
|
|
423
|
+
const { handleAuth: imported } = await import("./auth-command-4OEOMU2V.js");
|
|
424
424
|
return imported(...args);
|
|
425
425
|
}
|
|
426
426
|
async function printAuthHelp() {
|
|
427
|
-
const { printAuthHelp: imported } = await import("./auth-command-
|
|
427
|
+
const { printAuthHelp: imported } = await import("./auth-command-4OEOMU2V.js");
|
|
428
428
|
imported();
|
|
429
429
|
}
|
|
430
430
|
async function handleCall(...args) {
|
|
431
|
-
const { handleCall: imported } = await import("./call-command-
|
|
431
|
+
const { handleCall: imported } = await import("./call-command-AUEKSBMD.js");
|
|
432
432
|
return imported(...args);
|
|
433
433
|
}
|
|
434
434
|
async function handleGenerateCli(...args) {
|
|
435
|
-
const { handleGenerateCli: imported } = await import("./generate-cli-runner-
|
|
435
|
+
const { handleGenerateCli: imported } = await import("./generate-cli-runner-MIPF73SJ.js");
|
|
436
436
|
return imported(...args);
|
|
437
437
|
}
|
|
438
438
|
async function handleInspectCli(...args) {
|
|
439
|
-
const { handleInspectCli: imported } = await import("./inspect-cli-command-
|
|
439
|
+
const { handleInspectCli: imported } = await import("./inspect-cli-command-GX54ZXKR.js");
|
|
440
440
|
return imported(...args);
|
|
441
441
|
}
|
|
442
442
|
async function handleList(...args) {
|
|
443
|
-
const { handleList: imported } = await import("./list-command-
|
|
443
|
+
const { handleList: imported } = await import("./list-command-YUGRZO4G.js");
|
|
444
444
|
return imported(...args);
|
|
445
445
|
}
|
|
446
446
|
async function handleResource(...args) {
|
|
447
|
-
const { handleResource: imported } = await import("./resource-command-
|
|
447
|
+
const { handleResource: imported } = await import("./resource-command-YVOB4JCU.js");
|
|
448
448
|
return imported(...args);
|
|
449
449
|
}
|
|
450
450
|
async function runCli(argv) {
|
|
@@ -477,23 +477,23 @@ async function runCli(argv) {
|
|
|
477
477
|
}
|
|
478
478
|
if (command === "generate-cli") {
|
|
479
479
|
if (consumeHelpTokens(args)) {
|
|
480
|
-
const { printGenerateCliHelp } = await import("./generate-cli-runner-
|
|
480
|
+
const { printGenerateCliHelp } = await import("./generate-cli-runner-MIPF73SJ.js");
|
|
481
481
|
printGenerateCliHelp();
|
|
482
482
|
process.exitCode = 0;
|
|
483
483
|
return;
|
|
484
484
|
}
|
|
485
|
-
const { handleGenerateCli: importedHandleGenerateCli } = await import("./generate-cli-runner-
|
|
485
|
+
const { handleGenerateCli: importedHandleGenerateCli } = await import("./generate-cli-runner-MIPF73SJ.js");
|
|
486
486
|
await importedHandleGenerateCli(args, globalFlags);
|
|
487
487
|
return;
|
|
488
488
|
}
|
|
489
489
|
if (command === "inspect-cli") {
|
|
490
490
|
if (consumeHelpTokens(args)) {
|
|
491
|
-
const { printInspectCliHelp } = await import("./inspect-cli-command-
|
|
491
|
+
const { printInspectCliHelp } = await import("./inspect-cli-command-GX54ZXKR.js");
|
|
492
492
|
printInspectCliHelp();
|
|
493
493
|
process.exitCode = 0;
|
|
494
494
|
return;
|
|
495
495
|
}
|
|
496
|
-
const { handleInspectCli: importedHandleInspectCli } = await import("./inspect-cli-command-
|
|
496
|
+
const { handleInspectCli: importedHandleInspectCli } = await import("./inspect-cli-command-GX54ZXKR.js");
|
|
497
497
|
await importedHandleInspectCli(args);
|
|
498
498
|
return;
|
|
499
499
|
}
|
|
@@ -508,7 +508,7 @@ async function runCli(argv) {
|
|
|
508
508
|
...interactiveElicitation ? { elicitationHandler: interactiveElicitation.handler } : {}
|
|
509
509
|
};
|
|
510
510
|
if (command === "daemon") {
|
|
511
|
-
const { handleDaemonCli } = await import("./daemon-command-
|
|
511
|
+
const { handleDaemonCli } = await import("./daemon-command-FKW6YELL.js");
|
|
512
512
|
await handleDaemonCli(args, {
|
|
513
513
|
configPath: configPathResolved,
|
|
514
514
|
configExplicit: configResolution.explicit,
|
|
@@ -517,7 +517,7 @@ async function runCli(argv) {
|
|
|
517
517
|
return;
|
|
518
518
|
}
|
|
519
519
|
if (command === "serve") {
|
|
520
|
-
const { handleServeCli, printServeHelp } = await import("./serve-command-
|
|
520
|
+
const { handleServeCli, printServeHelp } = await import("./serve-command-QYGM2AMB.js");
|
|
521
521
|
if (consumeHelpTokens(args)) {
|
|
522
522
|
printServeHelp();
|
|
523
523
|
process.exitCode = 0;
|
|
@@ -531,7 +531,7 @@ async function runCli(argv) {
|
|
|
531
531
|
return;
|
|
532
532
|
}
|
|
533
533
|
if (command === "record") {
|
|
534
|
-
const { handleRecordCli, printRecordHelp } = await import("./record-command-
|
|
534
|
+
const { handleRecordCli, printRecordHelp } = await import("./record-command-25DLELA2.js");
|
|
535
535
|
if (consumeHelpTokens(wrapperArgsBeforeSeparator(args))) {
|
|
536
536
|
printRecordHelp();
|
|
537
537
|
process.exitCode = 0;
|
|
@@ -541,7 +541,7 @@ async function runCli(argv) {
|
|
|
541
541
|
return;
|
|
542
542
|
}
|
|
543
543
|
if (command === "replay") {
|
|
544
|
-
const { handleReplayCli, printReplayHelp } = await import("./replay-command-
|
|
544
|
+
const { handleReplayCli, printReplayHelp } = await import("./replay-command-6SLDG6PC.js");
|
|
545
545
|
if (consumeHelpTokens(wrapperArgsBeforeSeparator(args))) {
|
|
546
546
|
printReplayHelp();
|
|
547
547
|
process.exitCode = 0;
|
|
@@ -551,7 +551,7 @@ async function runCli(argv) {
|
|
|
551
551
|
return;
|
|
552
552
|
}
|
|
553
553
|
if (command === "config") {
|
|
554
|
-
const { handleConfigCli } = await import("./config-command-
|
|
554
|
+
const { handleConfigCli } = await import("./config-command-FF3JPMOP.js");
|
|
555
555
|
await handleConfigCli({
|
|
556
556
|
loadOptions: { configPath, rootDir: rootOverride },
|
|
557
557
|
invokeAuth: (authArgs) => invokeAuthCommand(runtimeOptionsWithPath, authArgs)
|
|
@@ -560,14 +560,14 @@ async function runCli(argv) {
|
|
|
560
560
|
}
|
|
561
561
|
if (command === "emit-ts") {
|
|
562
562
|
if (consumeHelpTokens(args)) {
|
|
563
|
-
const { printEmitTsHelp } = await import("./emit-ts-command-
|
|
563
|
+
const { printEmitTsHelp } = await import("./emit-ts-command-4X56IZ32.js");
|
|
564
564
|
printEmitTsHelp();
|
|
565
565
|
process.exitCode = 0;
|
|
566
566
|
return;
|
|
567
567
|
}
|
|
568
568
|
const [{ createRuntime: createRuntime2 }, { handleEmitTs }] = await Promise.all([
|
|
569
|
-
import("./runtime-
|
|
570
|
-
import("./emit-ts-command-
|
|
569
|
+
import("./runtime-NOWGTHZ5.js"),
|
|
570
|
+
import("./emit-ts-command-4X56IZ32.js")
|
|
571
571
|
]);
|
|
572
572
|
const runtime2 = await createRuntime2(runtimeOptionsWithPath);
|
|
573
573
|
try {
|
|
@@ -582,10 +582,10 @@ async function runCli(argv) {
|
|
|
582
582
|
return;
|
|
583
583
|
}
|
|
584
584
|
const [{ createRuntime }, { DaemonClient }, { createKeepAliveRuntime }, { isKeepAliveServer }] = await Promise.all([
|
|
585
|
-
import("./runtime-
|
|
586
|
-
import("./client-
|
|
587
|
-
import("./runtime-wrapper-
|
|
588
|
-
import("./lifecycle-
|
|
585
|
+
import("./runtime-NOWGTHZ5.js"),
|
|
586
|
+
import("./client-4ZHIBB67.js"),
|
|
587
|
+
import("./runtime-wrapper-ZZPAFQE4.js"),
|
|
588
|
+
import("./lifecycle-TONHXXXJ.js")
|
|
589
589
|
]);
|
|
590
590
|
const baseRuntime = await createRuntime(runtimeOptionsWithPath);
|
|
591
591
|
const recordReplayModeActive = isRecordReplayModeActive();
|
|
@@ -607,56 +607,56 @@ async function runCli(argv) {
|
|
|
607
607
|
const resolvedArgs = inference.args;
|
|
608
608
|
if (resolvedCommand === "list") {
|
|
609
609
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
610
|
-
const { printListHelp } = await import("./list-command-
|
|
610
|
+
const { printListHelp } = await import("./list-command-YUGRZO4G.js");
|
|
611
611
|
printListHelp();
|
|
612
612
|
process.exitCode = 0;
|
|
613
613
|
return;
|
|
614
614
|
}
|
|
615
|
-
const { handleList: importedHandleList } = await import("./list-command-
|
|
615
|
+
const { handleList: importedHandleList } = await import("./list-command-YUGRZO4G.js");
|
|
616
616
|
await importedHandleList(runtime, resolvedArgs);
|
|
617
617
|
return;
|
|
618
618
|
}
|
|
619
619
|
if (resolvedCommand === "call") {
|
|
620
620
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
621
|
-
const { printCallHelp } = await import("./call-command-
|
|
621
|
+
const { printCallHelp } = await import("./call-command-AUEKSBMD.js");
|
|
622
622
|
printCallHelp();
|
|
623
623
|
process.exitCode = 0;
|
|
624
624
|
return;
|
|
625
625
|
}
|
|
626
|
-
const { handleCall: runHandleCall } = await import("./call-command-
|
|
626
|
+
const { handleCall: runHandleCall } = await import("./call-command-AUEKSBMD.js");
|
|
627
627
|
await runHandleCall(runtime, resolvedArgs);
|
|
628
628
|
return;
|
|
629
629
|
}
|
|
630
630
|
if (resolvedCommand === "auth") {
|
|
631
631
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
632
|
-
const { printAuthHelp: importedPrintAuthHelp } = await import("./auth-command-
|
|
632
|
+
const { printAuthHelp: importedPrintAuthHelp } = await import("./auth-command-4OEOMU2V.js");
|
|
633
633
|
importedPrintAuthHelp();
|
|
634
634
|
process.exitCode = 0;
|
|
635
635
|
return;
|
|
636
636
|
}
|
|
637
|
-
const { handleAuth: importedHandleAuth } = await import("./auth-command-
|
|
637
|
+
const { handleAuth: importedHandleAuth } = await import("./auth-command-4OEOMU2V.js");
|
|
638
638
|
await importedHandleAuth(runtime, resolvedArgs, { oauthTimeoutMs: runtimeOptionsWithPath.oauthTimeoutMs });
|
|
639
639
|
return;
|
|
640
640
|
}
|
|
641
641
|
if (resolvedCommand === "vault") {
|
|
642
642
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
643
|
-
const { printVaultHelp } = await import("./vault-command-
|
|
643
|
+
const { printVaultHelp } = await import("./vault-command-VDMPATIX.js");
|
|
644
644
|
printVaultHelp();
|
|
645
645
|
process.exitCode = 0;
|
|
646
646
|
return;
|
|
647
647
|
}
|
|
648
|
-
const { handleVault } = await import("./vault-command-
|
|
648
|
+
const { handleVault } = await import("./vault-command-VDMPATIX.js");
|
|
649
649
|
await handleVault(runtime, resolvedArgs);
|
|
650
650
|
return;
|
|
651
651
|
}
|
|
652
652
|
if (resolvedCommand === "resource" || resolvedCommand === "resources") {
|
|
653
653
|
if (consumeHelpTokens(resolvedArgs)) {
|
|
654
|
-
const { printResourceHelp } = await import("./resource-command-
|
|
654
|
+
const { printResourceHelp } = await import("./resource-command-YVOB4JCU.js");
|
|
655
655
|
printResourceHelp();
|
|
656
656
|
process.exitCode = 0;
|
|
657
657
|
return;
|
|
658
658
|
}
|
|
659
|
-
const { handleResource: importedHandleResource } = await import("./resource-command-
|
|
659
|
+
const { handleResource: importedHandleResource } = await import("./resource-command-YVOB4JCU.js");
|
|
660
660
|
await importedHandleResource(runtime, resolvedArgs);
|
|
661
661
|
return;
|
|
662
662
|
}
|
|
@@ -739,8 +739,8 @@ if (process.env.MCPORTER_DISABLE_AUTORUN !== "1") {
|
|
|
739
739
|
}
|
|
740
740
|
async function invokeAuthCommand(runtimeOptions, args) {
|
|
741
741
|
const [{ createRuntime }, { handleAuth: importedHandleAuth }] = await Promise.all([
|
|
742
|
-
import("./runtime-
|
|
743
|
-
import("./auth-command-
|
|
742
|
+
import("./runtime-NOWGTHZ5.js"),
|
|
743
|
+
import("./auth-command-4OEOMU2V.js")
|
|
744
744
|
]);
|
|
745
745
|
const runtime = await createRuntime(runtimeOptions);
|
|
746
746
|
try {
|
|
@@ -766,8 +766,8 @@ async function maybeHandleDaemonFastCall(command, args, configResolution, rootDi
|
|
|
766
766
|
return true;
|
|
767
767
|
}
|
|
768
768
|
const [{ DaemonClient }, { handleCall: importedHandleCall }] = await Promise.all([
|
|
769
|
-
import("./client-
|
|
770
|
-
import("./call-command-
|
|
769
|
+
import("./client-4ZHIBB67.js"),
|
|
770
|
+
import("./call-command-AUEKSBMD.js")
|
|
771
771
|
]);
|
|
772
772
|
const daemonClient = new DaemonClient({
|
|
773
773
|
configPath: configResolution.path,
|
|
@@ -779,8 +779,8 @@ async function maybeHandleDaemonFastCall(command, args, configResolution, rootDi
|
|
|
779
779
|
}
|
|
780
780
|
async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootDir) {
|
|
781
781
|
const [{ parseCallArguments: parseCallArguments2 }, { resolveCallTimeout: resolveCallTimeout2 }] = await Promise.all([
|
|
782
|
-
import("./call-arguments-
|
|
783
|
-
import("./timeouts-
|
|
782
|
+
import("./call-arguments-RPXZJOXL.js"),
|
|
783
|
+
import("./timeouts-P3TBB3AX.js")
|
|
784
784
|
]);
|
|
785
785
|
let parsed;
|
|
786
786
|
try {
|
|
@@ -792,9 +792,9 @@ async function maybeHandleSimpleDaemonFastCall(callArgs, configResolution, rootD
|
|
|
792
792
|
return false;
|
|
793
793
|
}
|
|
794
794
|
const [{ DaemonClient }, { wrapCallResult }, { printCallOutput }] = await Promise.all([
|
|
795
|
-
import("./client-
|
|
796
|
-
import("./result-utils-
|
|
797
|
-
import("./output-utils-
|
|
795
|
+
import("./client-4ZHIBB67.js"),
|
|
796
|
+
import("./result-utils-ZXB5DM36.js"),
|
|
797
|
+
import("./output-utils-AZY6N2VQ.js")
|
|
798
798
|
]);
|
|
799
799
|
const daemonClient = new DaemonClient({
|
|
800
800
|
configPath: configResolution.path,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
DaemonClient,
|
|
4
|
+
resolveDaemonPaths
|
|
5
|
+
} from "./chunk-AFKE4BTR.js";
|
|
6
|
+
import "./chunk-YX2NKW6O.js";
|
|
7
|
+
import "./chunk-XVJAASVZ.js";
|
|
8
|
+
import "./chunk-6CYJ6RN3.js";
|
|
9
|
+
import "./chunk-Q7ESBNJG.js";
|
|
10
|
+
import "./chunk-Z7O6NF7X.js";
|
|
11
|
+
import "./chunk-ADINDBOF.js";
|
|
12
|
+
import "./chunk-IPH6U7SE.js";
|
|
13
|
+
import "./chunk-TGJOZDKG.js";
|
|
14
|
+
import "./chunk-HBDCHBJP.js";
|
|
15
|
+
import "./chunk-RO2Y34XX.js";
|
|
16
|
+
import "./chunk-LWVFSQYX.js";
|
|
17
|
+
import "./chunk-LRKZP7DJ.js";
|
|
18
|
+
export {
|
|
19
|
+
DaemonClient,
|
|
20
|
+
resolveDaemonPaths
|
|
21
|
+
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
pickSharedDefinitionFields
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JILBFEBD.js";
|
|
5
5
|
import {
|
|
6
6
|
consumeMatchingTokens
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LC2CCTQN.js";
|
|
8
8
|
import {
|
|
9
9
|
CliUsageError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KPXFBRTG.js";
|
|
11
11
|
import {
|
|
12
12
|
chooseClosestIdentifier,
|
|
13
13
|
renderIdentifierResolutionMessages
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-J6VOMOKI.js";
|
|
15
15
|
import {
|
|
16
16
|
boldText,
|
|
17
17
|
dimText,
|
|
18
18
|
extraDimText,
|
|
19
19
|
supportsAnsiColor
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6DL2C6V5.js";
|
|
21
21
|
import {
|
|
22
22
|
clearOAuthCaches
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-SQTXZR56.js";
|
|
24
|
+
import "./chunk-7CS27CWE.js";
|
|
25
25
|
import {
|
|
26
26
|
MCPORTER_VERSION
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-J3J3NQ4X.js";
|
|
28
28
|
import "./chunk-K56RW4HB.js";
|
|
29
29
|
import {
|
|
30
30
|
loadRawConfig,
|
|
@@ -33,26 +33,26 @@ import {
|
|
|
33
33
|
readExternalEntries,
|
|
34
34
|
resolveConfigPath,
|
|
35
35
|
writeRawConfig
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Z7O6NF7X.js";
|
|
37
37
|
import {
|
|
38
38
|
withFileLock
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-ADINDBOF.js";
|
|
40
|
+
import "./chunk-IPH6U7SE.js";
|
|
41
41
|
import {
|
|
42
42
|
mcporterConfigCandidates,
|
|
43
43
|
mcporterDir
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-TGJOZDKG.js";
|
|
45
45
|
import {
|
|
46
46
|
expandHome
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-HBDCHBJP.js";
|
|
48
|
+
import "./chunk-RO2Y34XX.js";
|
|
49
49
|
import "./chunk-LWVFSQYX.js";
|
|
50
50
|
import "./chunk-LRKZP7DJ.js";
|
|
51
51
|
|
|
52
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
52
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/config/add.js
|
|
53
53
|
import path2 from "node:path";
|
|
54
54
|
|
|
55
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
55
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/config/shared.js
|
|
56
56
|
import fs from "node:fs/promises";
|
|
57
57
|
import path from "node:path";
|
|
58
58
|
var COLOR_ENABLED = () => Boolean(supportsAnsiColor && process.stdout.isTTY);
|
|
@@ -174,7 +174,7 @@ function isErrno(error, code) {
|
|
|
174
174
|
return Boolean(error && typeof error === "object" && error.code === code);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
177
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/config/add.js
|
|
178
178
|
async function handleAddCommand(options, args) {
|
|
179
179
|
const name = args.shift();
|
|
180
180
|
if (!name) {
|
|
@@ -456,7 +456,7 @@ function looksLikeHttp(value) {
|
|
|
456
456
|
return value.startsWith("http://") || value.startsWith("https://");
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
459
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/config/auth.js
|
|
460
460
|
async function handleLoginCommand(options, args) {
|
|
461
461
|
if (args.length === 0) {
|
|
462
462
|
throw new CliUsageError("Usage: mcporter config login <name|url>");
|
|
@@ -474,7 +474,7 @@ async function handleLogoutCommand(options, args) {
|
|
|
474
474
|
console.log(`Cleared cached credentials for '${target.name}'`);
|
|
475
475
|
}
|
|
476
476
|
|
|
477
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
477
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/config/doctor.js
|
|
478
478
|
import path3 from "node:path";
|
|
479
479
|
async function handleDoctorCommand(options, _args) {
|
|
480
480
|
console.log(`MCPorter ${MCPORTER_VERSION}`);
|
|
@@ -498,7 +498,7 @@ async function handleDoctorCommand(options, _args) {
|
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
500
|
|
|
501
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
501
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/config/render.js
|
|
502
502
|
function serializeDefinition(definition) {
|
|
503
503
|
const origin = definition.source ?? { kind: "local", path: "" };
|
|
504
504
|
const sharedFields = pickSharedDefinitionFields(definition);
|
|
@@ -593,7 +593,7 @@ function printConfigUsageExamples() {
|
|
|
593
593
|
];
|
|
594
594
|
}
|
|
595
595
|
|
|
596
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
596
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/config/get.js
|
|
597
597
|
async function handleGetCommand(options, args) {
|
|
598
598
|
const flags = extractGetFlags(args);
|
|
599
599
|
const name = args.shift();
|
|
@@ -635,7 +635,7 @@ function extractGetFlags(args) {
|
|
|
635
635
|
return { format };
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
638
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/config/help.js
|
|
639
639
|
var CONFIG_HELP_ENTRIES = {
|
|
640
640
|
list: {
|
|
641
641
|
name: "list [options] [filter]",
|
|
@@ -834,7 +834,7 @@ function printSubcommandHelp(subcommand, colorize) {
|
|
|
834
834
|
console.log(lines.join("\n"));
|
|
835
835
|
}
|
|
836
836
|
|
|
837
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
837
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/config/import.js
|
|
838
838
|
import path4 from "node:path";
|
|
839
839
|
async function handleImportCommand(options, args) {
|
|
840
840
|
const kind = args.shift();
|
|
@@ -928,7 +928,7 @@ function extractImportFlags(args) {
|
|
|
928
928
|
return flags;
|
|
929
929
|
}
|
|
930
930
|
|
|
931
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
931
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/config/list.js
|
|
932
932
|
async function handleListCommand(options, args) {
|
|
933
933
|
const flags = extractListFlags(args);
|
|
934
934
|
const filter = args.shift();
|
|
@@ -992,7 +992,7 @@ function filterMatches(filter, server) {
|
|
|
992
992
|
return server.name.includes(filter);
|
|
993
993
|
}
|
|
994
994
|
|
|
995
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
995
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/config/remove.js
|
|
996
996
|
async function handleRemoveCommand(options, args) {
|
|
997
997
|
const name = args.shift();
|
|
998
998
|
if (!name) {
|
|
@@ -1017,7 +1017,7 @@ async function handleRemoveCommand(options, args) {
|
|
|
1017
1017
|
console.log(`Removed '${targetName}' from ${configPath}`);
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1020
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/config-command.js
|
|
1021
1021
|
async function handleConfigCli(options, args) {
|
|
1022
1022
|
const initialToken = args[0];
|
|
1023
1023
|
if (args.length === 0 || initialToken && isHelpToken(initialToken)) {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
handleDaemonCli
|
|
4
|
+
} from "./chunk-NMFI6AUD.js";
|
|
5
|
+
import "./chunk-MOML5C2E.js";
|
|
6
|
+
import "./chunk-V4RYLZM5.js";
|
|
7
|
+
import "./chunk-47N2EELW.js";
|
|
8
|
+
import "./chunk-RE4EVQNC.js";
|
|
9
|
+
import "./chunk-PRZCYXVO.js";
|
|
10
|
+
import "./chunk-ZRZ7C6L3.js";
|
|
11
|
+
import "./chunk-SQTXZR56.js";
|
|
12
|
+
import "./chunk-7CS27CWE.js";
|
|
13
|
+
import "./chunk-ZKFG37TB.js";
|
|
14
|
+
import "./chunk-5WGJPYOR.js";
|
|
15
|
+
import "./chunk-J3J3NQ4X.js";
|
|
16
|
+
import "./chunk-X3FOKZ5C.js";
|
|
17
|
+
import "./chunk-US57PK4B.js";
|
|
18
|
+
import "./chunk-K56RW4HB.js";
|
|
19
|
+
import "./chunk-ZZSD2JT7.js";
|
|
20
|
+
import "./chunk-AFKE4BTR.js";
|
|
21
|
+
import "./chunk-YX2NKW6O.js";
|
|
22
|
+
import "./chunk-XVJAASVZ.js";
|
|
23
|
+
import "./chunk-6CYJ6RN3.js";
|
|
24
|
+
import "./chunk-Q7ESBNJG.js";
|
|
25
|
+
import "./chunk-Z7O6NF7X.js";
|
|
26
|
+
import "./chunk-ADINDBOF.js";
|
|
27
|
+
import "./chunk-IPH6U7SE.js";
|
|
28
|
+
import "./chunk-TGJOZDKG.js";
|
|
29
|
+
import "./chunk-HBDCHBJP.js";
|
|
30
|
+
import "./chunk-RO2Y34XX.js";
|
|
31
|
+
import "./chunk-LWVFSQYX.js";
|
|
32
|
+
import "./chunk-LRKZP7DJ.js";
|
|
33
|
+
export {
|
|
34
|
+
handleDaemonCli
|
|
35
|
+
};
|