@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
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
__configInternals
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Z7O6NF7X.js";
|
|
5
5
|
import {
|
|
6
6
|
withFileLock,
|
|
7
7
|
writeTextFileAtomic
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ADINDBOF.js";
|
|
9
9
|
import {
|
|
10
10
|
expandHome
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HBDCHBJP.js";
|
|
12
12
|
import {
|
|
13
13
|
canonicalKeepAliveName,
|
|
14
14
|
resolveLifecycle
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RO2Y34XX.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
17
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/adhoc-server.js
|
|
18
18
|
import fs from "node:fs/promises";
|
|
19
19
|
import path from "node:path";
|
|
20
20
|
var TEMP_SOURCE = { kind: "local", path: "<adhoc>" };
|
|
@@ -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/sdk-stdio-logging.js
|
|
4
4
|
var STDIO_LOGS_FORCED = process.env.MCPORTER_STDIO_LOGS === "1";
|
|
5
5
|
var STDIO_TRACE_ENABLED = process.env.MCPORTER_STDIO_TRACE === "1";
|
|
6
6
|
var stdioLogMode = STDIO_LOGS_FORCED ? "always" : "auto";
|
|
@@ -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/oauth-browser-suppression.js
|
|
4
4
|
var TRUE_VALUES = /* @__PURE__ */ new Set(["1", "true", "yes"]);
|
|
5
5
|
function suppressBrowserLaunchFromEnv(env = process.env) {
|
|
6
6
|
const raw = env.MCPORTER_OAUTH_NO_BROWSER;
|
|
@@ -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/cli/terminal.js
|
|
4
4
|
var forceColorRaw = process.env.FORCE_COLOR?.toLowerCase();
|
|
5
5
|
var forceDisableColor = forceColorRaw === "0" || forceColorRaw === "false";
|
|
6
6
|
var forceEnableColor = forceColorRaw === "1" || forceColorRaw === "true" || forceColorRaw === "2" || forceColorRaw === "3";
|
|
@@ -2,15 +2,15 @@ import { createRequire as __createRequire } from "node:module"; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
buildFallbackLiteral,
|
|
4
4
|
pickExampleLiteral
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LJCZWKGJ.js";
|
|
6
6
|
import {
|
|
7
7
|
cyanText,
|
|
8
8
|
dimText,
|
|
9
9
|
extraDimText,
|
|
10
10
|
yellowText
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6DL2C6V5.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
13
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/list-signature.js
|
|
14
14
|
function formatFunctionSignature(name, options, outputSchema, formatOptions) {
|
|
15
15
|
const colorize = formatOptions?.colorize !== false;
|
|
16
16
|
const keyword = colorize ? extraDimText("function") : "function";
|
|
@@ -193,7 +193,7 @@ function formatArrayItemType(type) {
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
196
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/list-doc-comments.js
|
|
197
197
|
var DEFAULT_WRAP_WIDTH = 100;
|
|
198
198
|
function buildDocComment(description, options, opts) {
|
|
199
199
|
const colorize = opts?.colorize !== false;
|
|
@@ -304,7 +304,7 @@ function wrapCommentText(text, width = DEFAULT_WRAP_WIDTH) {
|
|
|
304
304
|
return lines;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
307
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/list-detail-helpers.js
|
|
308
308
|
var DEFAULT_MIN_VISIBLE_PARAMS = 5;
|
|
309
309
|
function selectDisplayOptions(options, requiredOnly, minVisible = DEFAULT_MIN_VISIBLE_PARAMS) {
|
|
310
310
|
if (!requiredOnly || options.length <= minVisible) {
|
|
@@ -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-LJCZWKGJ.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.13.7/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,16 +3,16 @@ import {
|
|
|
3
3
|
readJsonFile,
|
|
4
4
|
withFileLock,
|
|
5
5
|
writeJsonFile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ADINDBOF.js";
|
|
7
7
|
import {
|
|
8
8
|
mcporterDir
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TGJOZDKG.js";
|
|
10
10
|
|
|
11
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
11
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/oauth-vault.js
|
|
12
12
|
import crypto from "node:crypto";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
15
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/oauth-credential-validation.js
|
|
16
16
|
function isRecord(value) {
|
|
17
17
|
return Boolean(value && typeof value === "object" && !Array.isArray(value));
|
|
18
18
|
}
|
|
@@ -33,7 +33,7 @@ function isStoredOAuthClientInformation(value) {
|
|
|
33
33
|
return isOptionalString(value, "issuer");
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
36
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/oauth-token-generation.js
|
|
37
37
|
import { randomUUID } from "node:crypto";
|
|
38
38
|
import { isDeepStrictEqual } from "node:util";
|
|
39
39
|
var TOKEN_GENERATION_FIELD = "__mcporter_generation";
|
|
@@ -113,7 +113,7 @@ function sameOAuthClientValue(left, right) {
|
|
|
113
113
|
return isDeepStrictEqual(withoutClientGeneration(left), withoutClientGeneration(right));
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
116
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/oauth-vault.js
|
|
117
117
|
function getOAuthVaultPath() {
|
|
118
118
|
return path.join(mcporterDir("data"), "credentials.json");
|
|
119
119
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
normalizeHttpUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SCGMRUKI.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/server-lookup.js
|
|
7
7
|
function findServerByHttpUrl(definitions, urlString) {
|
|
8
8
|
const normalizedTarget = normalizeHttpUrl(urlString);
|
|
9
9
|
if (!normalizedTarget) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
CliUsageError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KPXFBRTG.js";
|
|
5
5
|
import {
|
|
6
6
|
consumeTimeoutFlag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HDUKEFBI.js";
|
|
8
8
|
import {
|
|
9
9
|
extractEphemeralServerFlags
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NWLOPQT7.js";
|
|
11
11
|
import {
|
|
12
12
|
splitHttpToolSelector
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SCGMRUKI.js";
|
|
14
14
|
import {
|
|
15
15
|
consumeOutputFormat
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MFFE5QSH.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
18
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/call-arguments.js
|
|
19
19
|
import fs from "node:fs";
|
|
20
20
|
|
|
21
21
|
// node_modules/.pnpm/acorn@8.18.0/node_modules/acorn/dist/acorn.mjs
|
|
@@ -5715,7 +5715,7 @@ function parseExpressionAt2(input, pos, options) {
|
|
|
5715
5715
|
return Parser.parseExpressionAt(input, pos, options);
|
|
5716
5716
|
}
|
|
5717
5717
|
|
|
5718
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
5718
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/call-expression-parser.js
|
|
5719
5719
|
var ACORN_OPTIONS = {
|
|
5720
5720
|
ecmaVersion: "latest",
|
|
5721
5721
|
sourceType: "module"
|
|
@@ -5885,7 +5885,7 @@ function isSupportedValue(node) {
|
|
|
5885
5885
|
return type === "Literal" || type === "ArrayExpression" || type === "ObjectExpression" || type === "UnaryExpression";
|
|
5886
5886
|
}
|
|
5887
5887
|
|
|
5888
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
5888
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/call-argument-expression.js
|
|
5889
5889
|
function parseLeadingCallExpression(rawToken) {
|
|
5890
5890
|
try {
|
|
5891
5891
|
return extractHttpCallExpression(rawToken) ?? parseCallExpressionFragment(rawToken);
|
|
@@ -5935,7 +5935,7 @@ function buildCallExpressionUsageError(error) {
|
|
|
5935
5935
|
return new CliUsageError(lines.join("\n"));
|
|
5936
5936
|
}
|
|
5937
5937
|
|
|
5938
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
5938
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/call-argument-values.js
|
|
5939
5939
|
function parseKeyValueToken(token, nextToken) {
|
|
5940
5940
|
const eqIndex = token.indexOf("=");
|
|
5941
5941
|
if (eqIndex !== -1) {
|
|
@@ -6019,7 +6019,7 @@ function warnMissingNamedArgumentValue(key) {
|
|
|
6019
6019
|
console.warn(lines.join(" "));
|
|
6020
6020
|
}
|
|
6021
6021
|
|
|
6022
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
6022
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/call-help.js
|
|
6023
6023
|
var CALL_HELP_ARGUMENT_LINES = [
|
|
6024
6024
|
" key=value / key:value Flag-style named arguments.",
|
|
6025
6025
|
" key=@path Read a UTF-8 string value from a file; use @@ for a literal @.",
|
|
@@ -6062,7 +6062,7 @@ function buildUnvalidatedCallFlagMessage(token, server, tool) {
|
|
|
6062
6062
|
].join("\n");
|
|
6063
6063
|
}
|
|
6064
6064
|
|
|
6065
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
6065
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/call-arguments.js
|
|
6066
6066
|
var FLAG_HANDLERS = {
|
|
6067
6067
|
"--server": handleServerFlag,
|
|
6068
6068
|
"--mcp": handleServerFlag,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
analyzeConnectionError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-US57PK4B.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/result-utils.js
|
|
7
7
|
function extractEnvelope(raw) {
|
|
8
8
|
return collectEnvelopeFields(raw, { content: null, structuredContent: null }, 0);
|
|
9
9
|
}
|
|
@@ -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/process-utils.js
|
|
4
4
|
function isProcessRunning(pid) {
|
|
5
5
|
if (!Number.isInteger(pid) || pid <= 0) {
|
|
6
6
|
return false;
|
|
@@ -13,7 +13,7 @@ function isProcessRunning(pid) {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
16
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/fs-json.js
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
import { constants } from "node:fs";
|
|
19
19
|
import fs from "node:fs/promises";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
isUnauthorizedError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZKFG37TB.js";
|
|
5
5
|
import {
|
|
6
6
|
ProtocolErrorCode
|
|
7
7
|
} from "./chunk-K56RW4HB.js";
|
|
8
8
|
import {
|
|
9
9
|
DAEMON_OAUTH_FLOW_ERROR_CODE,
|
|
10
10
|
DAEMON_OPERATION_TIMEOUT_CODE
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YX2NKW6O.js";
|
|
12
12
|
import {
|
|
13
13
|
isKeepAliveServer
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RO2Y34XX.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
16
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/daemon/runtime-wrapper.js
|
|
17
17
|
function createKeepAliveRuntime(base, options) {
|
|
18
18
|
if (!options.daemonClient || options.keepAliveServers.size === 0) {
|
|
19
19
|
return base;
|
|
@@ -4,38 +4,38 @@ import {
|
|
|
4
4
|
DaemonFrameDecoder,
|
|
5
5
|
isDaemonProgressFrame,
|
|
6
6
|
resolveProgressInterval
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YX2NKW6O.js";
|
|
8
8
|
import {
|
|
9
9
|
CHROME_DEVTOOLS_RELAY_RUNTIME_IDENTITY_VERSION,
|
|
10
10
|
resolveChromeDevtoolsRelayRuntimeIdentity
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XVJAASVZ.js";
|
|
12
12
|
import {
|
|
13
13
|
suppressBrowserLaunchFromEnv
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6CYJ6RN3.js";
|
|
15
15
|
import {
|
|
16
16
|
listConfigLayerPaths
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Z7O6NF7X.js";
|
|
18
18
|
import {
|
|
19
19
|
isProcessRunning,
|
|
20
20
|
withFileLock
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ADINDBOF.js";
|
|
22
22
|
import {
|
|
23
23
|
mcporterDir
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-TGJOZDKG.js";
|
|
25
25
|
import {
|
|
26
26
|
expandHome
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HBDCHBJP.js";
|
|
28
28
|
import {
|
|
29
29
|
keepAliveIdleTimeout
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-RO2Y34XX.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
32
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/daemon/client.js
|
|
33
33
|
import crypto, { randomUUID } from "node:crypto";
|
|
34
34
|
import fs2 from "node:fs/promises";
|
|
35
35
|
import net from "node:net";
|
|
36
36
|
import path3 from "node:path";
|
|
37
37
|
|
|
38
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
38
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/daemon/config-layers.js
|
|
39
39
|
import fs from "node:fs/promises";
|
|
40
40
|
import path from "node:path";
|
|
41
41
|
async function statConfigMtime(configPath) {
|
|
@@ -66,7 +66,7 @@ function normalizeConfigLayers(layers) {
|
|
|
66
66
|
return normalized.toSorted((a, b) => a.path < b.path ? -1 : a.path > b.path ? 1 : 0);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
69
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/daemon/paths.js
|
|
70
70
|
import path2 from "node:path";
|
|
71
71
|
function resolveBaseDir() {
|
|
72
72
|
const override = process.env.MCPORTER_DAEMON_DIR;
|
|
@@ -92,7 +92,7 @@ function getDaemonLogPath(configKey) {
|
|
|
92
92
|
return path2.join(ensureRunDir(), `daemon-${configKey}.log`);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
95
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/daemon/request-utils.js
|
|
96
96
|
function delay(ms) {
|
|
97
97
|
return new Promise((resolve) => {
|
|
98
98
|
setTimeout(resolve, ms);
|
|
@@ -157,7 +157,7 @@ function buildErrorResponse(id, code, error) {
|
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
160
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/daemon/startup-readiness.js
|
|
161
161
|
var DAEMON_STARTUP_TIMEOUT_MS = 45e3;
|
|
162
162
|
var DAEMON_STARTUP_SLOW_NOTICE_MS = 5e3;
|
|
163
163
|
var DAEMON_STARTUP_POLL_INTERVAL_MS = 100;
|
|
@@ -200,7 +200,7 @@ function delay2(ms) {
|
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
203
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/daemon/client.js
|
|
204
204
|
var DEFAULT_DAEMON_TIMEOUT_MS = 3e4;
|
|
205
205
|
var MIN_DAEMON_STATUS_TIMEOUT_MS = 1e3;
|
|
206
206
|
function resolveDaemonPaths(configPath) {
|
|
@@ -313,7 +313,7 @@ var DaemonClient = class {
|
|
|
313
313
|
await this.startingPromise;
|
|
314
314
|
}
|
|
315
315
|
async launchDaemonAndWait() {
|
|
316
|
-
const { launchDaemonDetached } = await import("./launch-
|
|
316
|
+
const { launchDaemonDetached } = await import("./launch-E2LWGPZS.js");
|
|
317
317
|
launchDaemonDetached({
|
|
318
318
|
configPath: this.options.configPath,
|
|
319
319
|
configExplicit: this.options.configExplicit,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
buildRecordCommandEnv
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HHMWZ2FZ.js";
|
|
5
5
|
import {
|
|
6
6
|
PRIVATE_RECORDING_FILE_MODE,
|
|
7
7
|
ensurePrivateRecordingDir,
|
|
8
8
|
resolveRecordingConfigPath,
|
|
9
9
|
resolveRecordingPath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PRZCYXVO.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
12
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/record-replay-command.js
|
|
13
13
|
import { spawn } from "node:child_process";
|
|
14
14
|
import fs from "node:fs/promises";
|
|
15
15
|
async function writeRecordReplayConfig(parsed, mode) {
|
|
@@ -63,7 +63,7 @@ function buildRecordReplayInstructionEnv(mode, sessionName, server) {
|
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
66
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/record-command.js
|
|
67
67
|
async function handleRecordCli(args) {
|
|
68
68
|
const parsed = parseRecordArgs(args);
|
|
69
69
|
const recordPath = resolveRecordingPath(parsed.sessionName);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
buildToolDoc
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6QH47GNE.js";
|
|
5
5
|
import {
|
|
6
6
|
buildEmbeddedSchemaMap
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LJCZWKGJ.js";
|
|
8
8
|
import {
|
|
9
9
|
parsePositiveInteger
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HDUKEFBI.js";
|
|
11
11
|
import {
|
|
12
12
|
stableJsonStringify
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-V4RYLZM5.js";
|
|
14
14
|
import {
|
|
15
15
|
MCPORTER_VERSION
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J3J3NQ4X.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
18
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/generate/flag-parser.js
|
|
19
19
|
function extractGeneratorFlags(args, options = {}) {
|
|
20
20
|
const result = {};
|
|
21
21
|
let index = 0;
|
|
@@ -57,12 +57,12 @@ function extractGeneratorFlags(args, options = {}) {
|
|
|
57
57
|
return result;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
60
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/generate/template.js
|
|
61
61
|
import { realpathSync } from "node:fs";
|
|
62
62
|
import fs2 from "node:fs/promises";
|
|
63
63
|
import path from "node:path";
|
|
64
64
|
|
|
65
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
65
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/generate/fs-helpers.js
|
|
66
66
|
import fs from "node:fs/promises";
|
|
67
67
|
async function markExecutable(filePath) {
|
|
68
68
|
try {
|
|
@@ -93,7 +93,7 @@ function shouldIgnorePosixPermissionError(error) {
|
|
|
93
93
|
return code === "EPERM" || code === "EINVAL" || code === "ENOSYS" || code === "EACCES";
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
96
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/generate/template-help.js
|
|
97
97
|
function renderEmbeddedHelpSource() {
|
|
98
98
|
return `function configureGeneratedCommandHelp(command: Command): void {
|
|
99
99
|
command.configureHelp({
|
|
@@ -207,7 +207,7 @@ function quickStartExamples(): Array<[string, string]> {
|
|
|
207
207
|
`;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
210
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/generate/template.js
|
|
211
211
|
async function writeTemplate(input) {
|
|
212
212
|
const resolvedOutput = input.outputPath ? path.resolve(input.outputPath) : path.resolve(process.cwd(), `${input.serverName}.ts`);
|
|
213
213
|
const runtimeScriptPath = input.runtimeScriptPath ? path.resolve(input.runtimeScriptPath) : resolvedOutput;
|
|
@@ -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/env.js
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
var ENV_DEFAULT_PATTERN = /^\$\{([A-Za-z_][A-Za-z0-9_]*)(?::-|:|-)?([^}]*)\}$/;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
raceWithTimeout
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q7ESBNJG.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/timeouts.js
|
|
7
7
|
var DEFAULT_LIST_TIMEOUT_MS = 3e4;
|
|
8
8
|
var DEFAULT_CALL_TIMEOUT_MS = 6e4;
|
|
9
9
|
var POSITIVE_INTEGER_PATTERN = /^[1-9]\d*$/;
|
|
@@ -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/cli/record-replay-env.js
|
|
4
4
|
var KEEP_ALIVE_DISABLED_FOR_MODE = "*";
|
|
5
5
|
function buildRecordCommandEnv(sessionName, server) {
|
|
6
6
|
return buildModeEnv({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
mcporterConfigCandidates
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TGJOZDKG.js";
|
|
5
5
|
import {
|
|
6
6
|
expandHome
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HBDCHBJP.js";
|
|
8
8
|
|
|
9
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
9
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config/path-discovery.js
|
|
10
10
|
import fsSync from "node:fs";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import path from "node:path";
|
|
@@ -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/version.js
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
var MCPORTER_VERSION = (() => {
|
|
6
6
|
try {
|
|
@@ -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/cli/identifier-helpers.js
|
|
4
4
|
var AUTO_THRESHOLD_RATIO = 0.3;
|
|
5
5
|
var AUTO_THRESHOLD_MIN = 2;
|
|
6
6
|
function chooseClosestIdentifier(input, candidates) {
|
|
@@ -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/definition-fields.js
|
|
4
4
|
var SHARED_DEFINITION_FIELDS = [
|
|
5
5
|
"auth",
|
|
6
6
|
"tokenCacheDir",
|
|
@@ -2,10 +2,10 @@ import { createRequire as __createRequire } from "node:module"; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
createCallResult,
|
|
4
4
|
describeConnectionIssue
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ACTRQW5L.js";
|
|
6
6
|
import {
|
|
7
7
|
createRuntime
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-47N2EELW.js";
|
|
9
9
|
|
|
10
10
|
// node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context/context.js
|
|
11
11
|
function createContextKey(description) {
|
|
@@ -1222,7 +1222,7 @@ var RESOURCE_KEYS = [
|
|
|
1222
1222
|
"skills",
|
|
1223
1223
|
"prompts"
|
|
1224
1224
|
];
|
|
1225
|
-
var PI_KEYS = /* @__PURE__ */ new Set([...RESOURCE_KEYS, "mcp", "runtime"]);
|
|
1225
|
+
var PI_KEYS = /* @__PURE__ */ new Set([...RESOURCE_KEYS, "connectors", "mcp", "runtime"]);
|
|
1226
1226
|
|
|
1227
1227
|
// src/mcp-policy.ts
|
|
1228
1228
|
function mcpSelectionAllowsTool(selection, toolName) {
|
|
@@ -1505,7 +1505,7 @@ function loadMcporterCli() {
|
|
|
1505
1505
|
if (mcporterCliPromise) return mcporterCliPromise;
|
|
1506
1506
|
const previousDisableAutorun = process.env.MCPORTER_DISABLE_AUTORUN;
|
|
1507
1507
|
process.env.MCPORTER_DISABLE_AUTORUN = "1";
|
|
1508
|
-
mcporterCliPromise = import("./cli-
|
|
1508
|
+
mcporterCliPromise = import("./cli-B7WQQUME.js").finally(() => {
|
|
1509
1509
|
if (previousDisableAutorun === void 0) {
|
|
1510
1510
|
delete process.env.MCPORTER_DISABLE_AUTORUN;
|
|
1511
1511
|
} else {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
findServerByHttpUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7KEDX7SE.js";
|
|
5
5
|
import {
|
|
6
6
|
persistEphemeralServer,
|
|
7
7
|
resolveEphemeralServer,
|
|
8
8
|
splitCommandLine
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4NDR45CX.js";
|
|
10
10
|
import {
|
|
11
11
|
looksLikeHttpUrl,
|
|
12
12
|
normalizeHttpUrlCandidate
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SCGMRUKI.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
15
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/adhoc-help.js
|
|
16
16
|
var ADHOC_SERVER_HELP_ENTRIES = [
|
|
17
17
|
{ flag: "--http-url <url>", description: "Register an HTTP server for this run." },
|
|
18
18
|
{ flag: "--allow-http", description: "Permit plain http:// URLs with --http-url." },
|
|
@@ -30,7 +30,7 @@ function renderAdhocServerHelpLines(width = 23) {
|
|
|
30
30
|
return ADHOC_SERVER_HELP_ENTRIES.map((entry) => ` ${entry.flag.padEnd(width)}${entry.description}`);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
33
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/ephemeral-target.js
|
|
34
34
|
async function prepareEphemeralServerTarget(options) {
|
|
35
35
|
let target = options.target;
|
|
36
36
|
let spec = options.ephemeral ? { ...options.ephemeral } : void 0;
|
|
@@ -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/cli/errors.js
|
|
4
4
|
var CliUsageError = class extends Error {
|
|
5
5
|
constructor(message) {
|
|
6
6
|
super(message);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
consumeTimeoutFlag
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HDUKEFBI.js";
|
|
5
5
|
import {
|
|
6
6
|
extractEphemeralServerFlags
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NWLOPQT7.js";
|
|
8
8
|
import {
|
|
9
9
|
consumeOutputFormat
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MFFE5QSH.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
12
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/cli/list-flags.js
|
|
13
13
|
function extractListFlags(args) {
|
|
14
14
|
let schema = false;
|
|
15
15
|
let timeoutMs;
|