@introspection-ai/recipes 0.55.0 → 0.57.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/artifact-links.d.ts +25 -0
- package/dist/artifact-links.d.ts.map +1 -0
- package/dist/artifact-links.js +92 -0
- package/dist/artifact-links.js.map +1 -0
- package/dist/artifact-viewer-tui.d.ts +2 -1
- package/dist/artifact-viewer-tui.d.ts.map +1 -1
- package/dist/artifact-viewer-tui.js.map +1 -1
- package/dist/artifact-viewer.d.ts +2 -1
- package/dist/artifact-viewer.d.ts.map +1 -1
- package/dist/artifact-viewer.js +49 -3
- package/dist/artifact-viewer.js.map +1 -1
- package/dist/artifact.d.ts +5 -4
- package/dist/artifact.d.ts.map +1 -1
- package/dist/artifact.js +4 -1
- package/dist/artifact.js.map +1 -1
- package/dist/batch/files.d.ts +16 -0
- package/dist/batch/files.d.ts.map +1 -0
- package/dist/batch/files.js +58 -0
- package/dist/batch/files.js.map +1 -0
- package/dist/batch/index.d.ts +67 -0
- package/dist/batch/index.d.ts.map +1 -0
- package/dist/batch/index.js +109 -0
- package/dist/batch/index.js.map +1 -0
- package/dist/batch/limiter.d.ts +20 -0
- package/dist/batch/limiter.d.ts.map +1 -0
- package/dist/batch/limiter.js +54 -0
- package/dist/batch/limiter.js.map +1 -0
- package/dist/batch/lines.d.ts +58 -0
- package/dist/batch/lines.d.ts.map +1 -0
- package/dist/batch/lines.js +77 -0
- package/dist/batch/lines.js.map +1 -0
- package/dist/batch/params.d.ts +30 -0
- package/dist/batch/params.d.ts.map +1 -0
- package/dist/batch/params.js +48 -0
- package/dist/batch/params.js.map +1 -0
- package/dist/batch/runner.d.ts +77 -0
- package/dist/batch/runner.d.ts.map +1 -0
- package/dist/batch/runner.js +240 -0
- package/dist/batch/runner.js.map +1 -0
- package/dist/batch/shards.d.ts +42 -0
- package/dist/batch/shards.d.ts.map +1 -0
- package/dist/batch/shards.js +115 -0
- package/dist/batch/shards.js.map +1 -0
- package/dist/child/agent.d.ts.map +1 -1
- package/dist/child/agent.js +6 -5
- package/dist/child/agent.js.map +1 -1
- package/dist/child/session.d.ts +1 -0
- package/dist/child/session.d.ts.map +1 -1
- package/dist/child/session.js +9 -6
- package/dist/child/session.js.map +1 -1
- package/dist/mcp/daemon/server.d.ts +0 -2
- package/dist/mcp/daemon/server.d.ts.map +1 -1
- package/dist/mcp/daemon/server.js +1 -1
- package/dist/mcp/daemon/server.js.map +1 -1
- package/dist/mcp-chunks/{auth-command-PZLSOYAT.js → auth-command-WE7QY6RH.js} +27 -27
- package/dist/mcp-chunks/call-arguments-2ABANGLE.js +16 -0
- package/dist/mcp-chunks/{call-command-VILJIFYG.js → call-command-OOBUGVTM.js} +56 -70
- package/dist/mcp-chunks/{chunk-N2U2FODH.js → chunk-2PTK6KBV.js} +4 -4
- package/dist/mcp-chunks/{chunk-F2X4Y2TQ.js → chunk-2R2HWX2E.js} +1 -1
- package/dist/mcp-chunks/{chunk-ORJND4AI.js → chunk-2R7UGABC.js} +70 -70
- package/dist/mcp-chunks/{chunk-US63Y6XE.js → chunk-32UZRZIL.js} +1 -1
- package/dist/mcp-chunks/{chunk-THRMUZZD.js → chunk-37VJZIFW.js} +8 -8
- package/dist/mcp-chunks/{chunk-5Z6WSV5D.js → chunk-3KSDZBUJ.js} +5 -5
- package/dist/mcp-chunks/{chunk-JTPTAO4M.js → chunk-44KI6DPL.js} +24 -15
- package/dist/mcp-chunks/{chunk-BHXCAVFP.js → chunk-4ACA5GWL.js} +1 -1
- package/dist/mcp-chunks/{chunk-E76ZUBOJ.js → chunk-4NABHXDS.js} +4 -4
- package/dist/mcp-chunks/{chunk-AJDK5Z7O.js → chunk-4SO2DY7F.js} +2 -3
- package/dist/mcp-chunks/{chunk-I6UFV7RW.js → chunk-5ZQKSEUN.js} +1 -1
- package/dist/mcp-chunks/{chunk-KZGUH7E2.js → chunk-73TMUGJL.js} +2039 -1148
- package/dist/mcp-chunks/{chunk-UVRJ3AAD.js → chunk-7KOGD2JK.js} +2 -2
- package/dist/mcp-chunks/{chunk-KJ5FPQF6.js → chunk-7SQZWTDU.js} +30 -26
- package/dist/mcp-chunks/{chunk-MYAMG6VL.js → chunk-ABPXAKP7.js} +89 -28
- package/dist/mcp-chunks/{chunk-2YV72LUA.js → chunk-AIUZOMBB.js} +12 -12
- package/dist/mcp-chunks/{chunk-V42T3QNK.js → chunk-BI6L3SYV.js} +9 -9
- package/dist/mcp-chunks/{chunk-757ZF552.js → chunk-CFRA424Y.js} +4 -4
- package/dist/mcp-chunks/{chunk-DU4SDPEV.js → chunk-CIQX62WO.js} +2 -2
- package/dist/mcp-chunks/{chunk-MHUMLEBO.js → chunk-CWM4RO33.js} +1 -1
- package/dist/mcp-chunks/{chunk-TUPFPO4L.js → chunk-DEYGZRBD.js} +5 -5
- package/dist/mcp-chunks/{chunk-3SXP4S2A.js → chunk-DL3GVI4M.js} +2 -2
- package/dist/mcp-chunks/{chunk-O7SIXJM6.js → chunk-EUHXZKP2.js} +108 -108
- package/dist/mcp-chunks/{chunk-H5PBSJP3.js → chunk-EV3SP7ME.js} +1 -1
- package/dist/mcp-chunks/chunk-EVEVCVYR.js +42 -0
- package/dist/mcp-chunks/{chunk-RUF27IUF.js → chunk-FDVES4CU.js} +2 -2
- package/dist/mcp-chunks/{chunk-L2MSWQDL.js → chunk-FJNWUAGR.js} +1 -1
- package/dist/mcp-chunks/{chunk-IWCVZ46B.js → chunk-G5DK4L6M.js} +2 -2
- package/dist/mcp-chunks/{chunk-3ETUDW7N.js → chunk-GQM53HF7.js} +1 -1
- package/dist/mcp-chunks/{chunk-2AKSS7WR.js → chunk-H44A4G2O.js} +2 -2
- package/dist/mcp-chunks/{chunk-WDWSA7RL.js → chunk-HGEKP2E5.js} +4 -4
- package/dist/mcp-chunks/{chunk-ELHS763C.js → chunk-HKMH4N3Z.js} +1 -1
- package/dist/mcp-chunks/{chunk-GZ53GNFP.js → chunk-HPFIAALB.js} +13 -10
- package/dist/mcp-chunks/chunk-KUJUYFDC.js +224 -0
- package/dist/mcp-chunks/{chunk-OIK5AH2S.js → chunk-MG6EVYIM.js} +41 -19
- package/dist/mcp-chunks/{chunk-QNXOIF5U.js → chunk-MSPGQEWX.js} +12 -12
- package/dist/mcp-chunks/{chunk-JEHI2YU4.js → chunk-MW3YO24Q.js} +3 -3
- package/dist/mcp-chunks/{chunk-WQL7FJQ3.js → chunk-NJR33E7V.js} +4 -4
- package/dist/mcp-chunks/{chunk-7U5NSQ5T.js → chunk-OSK2JGFH.js} +2 -2
- package/dist/mcp-chunks/{chunk-ZEA3Y5ZD.js → chunk-QHD5RXW4.js} +7 -7
- package/dist/mcp-chunks/{chunk-TC2JPBFB.js → chunk-QYR3UKJS.js} +7 -4
- package/dist/mcp-chunks/{chunk-3FRLDHVD.js → chunk-SYBDN4SV.js} +5 -5
- package/dist/mcp-chunks/{chunk-3P3KGT4H.js → chunk-TQ5T5VO7.js} +2 -2
- package/dist/mcp-chunks/{chunk-OWGTNJNR.js → chunk-TT3LOCMN.js} +2 -2
- package/dist/mcp-chunks/{chunk-3LENTPGE.js → chunk-TTVO6RCP.js} +2 -2
- package/dist/mcp-chunks/{chunk-IRSL7JRH.js → chunk-UY2QWZB3.js} +53 -49
- package/dist/mcp-chunks/{chunk-B6S43WID.js → chunk-VJ45Y5IO.js} +1 -1
- package/dist/mcp-chunks/{chunk-IRARVOUM.js → chunk-VJ5VDK6D.js} +1 -1
- package/dist/mcp-chunks/{chunk-6O42UGLI.js → chunk-VLJQSE6L.js} +9 -9
- package/dist/mcp-chunks/{chunk-HNQSUT44.js → chunk-W47YAN6W.js} +3 -3
- package/dist/mcp-chunks/{chunk-66VSGFXA.js → chunk-XU4D5QN2.js} +1 -1
- package/dist/mcp-chunks/{chunk-CXST5CVH.js → chunk-Y7JQJ352.js} +22 -18
- package/dist/mcp-chunks/{chunk-3HSC6NHZ.js → chunk-Y7UTXETL.js} +1 -1
- package/dist/mcp-chunks/{chunk-O3RTM5HD.js → chunk-YFPPHEDE.js} +1 -1
- package/dist/mcp-chunks/{chunk-N6YUOYDS.js → chunk-YGT57XUN.js} +2 -2
- package/dist/mcp-chunks/{chunk-BUOGKTKK.js → chunk-Z43KJRXY.js} +1 -1
- package/dist/mcp-chunks/{chunk-6P3KAQ5N.js → chunk-Z5XOB522.js} +1 -1
- package/dist/mcp-chunks/{chunk-63L6SHK3.js → chunk-ZEMVGFKG.js} +2 -2
- package/dist/mcp-chunks/{chunk-MEQXX43K.js → chunk-ZJZ53NIB.js} +1 -1
- package/dist/mcp-chunks/{cli-UQ5QXFXU.js → cli-TJFAYJO4.js} +81 -283
- package/dist/mcp-chunks/client-LDKUW5K5.js +32 -0
- package/dist/mcp-chunks/{config-command-ZSPJI34E.js → config-command-YGNK2VVL.js} +29 -29
- package/dist/mcp-chunks/daemon-command-UYAYRHVD.js +36 -0
- package/dist/mcp-chunks/dist-5JNZD3JV.js +69 -0
- package/dist/mcp-chunks/{dist-Q7WSCBBK.js → dist-IFOLXE2R.js} +351 -1305
- package/dist/mcp-chunks/{emit-ts-command-SY4LQE4S.js → emit-ts-command-4EVF6CIG.js} +28 -25
- package/dist/mcp-chunks/{generate-cli-runner-LQBBQ7F5.js → generate-cli-runner-UFVSXJVK.js} +58 -49
- package/dist/mcp-chunks/generated-daemon-runtime-LTH36X2R.js +32 -0
- package/dist/mcp-chunks/{inspect-cli-command-JPX4ON6N.js → inspect-cli-command-L3JGLLTG.js} +11 -11
- package/dist/mcp-chunks/{launch-UG7IH27P.js → launch-LUKDWKH4.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-QBYGUHQ3.js → lifecycle-H57PYAZ5.js} +1 -1
- package/dist/mcp-chunks/{list-command-SDITI3ZM.js → list-command-QBO4LK5Q.js} +53 -42
- package/dist/mcp-chunks/logger-LvdykevT-BQ5B4N5O.js +995 -0
- package/dist/mcp-chunks/{output-utils-YTMZTA7J.js → output-utils-MB3PEV2M.js} +3 -3
- package/dist/mcp-chunks/{pi-mcp-runtime-OLO25D7A.js → pi-mcp-runtime-OIMIJV5A.js} +73 -17
- package/dist/mcp-chunks/{prompt-DkftHXS7-N7UENQ4C.js → prompt-DkftHXS7-TE2LNPAM.js} +1 -1
- package/dist/mcp-chunks/{record-command-JGTMATYI.js → record-command-RYDP3Y2A.js} +5 -5
- package/dist/mcp-chunks/{replay-command-S2VAC4RW.js → replay-command-QDJCQ5JU.js} +6 -6
- package/dist/mcp-chunks/{resource-command-SRFQQROJ.js → resource-command-RKHHQBFP.js} +9 -9
- package/dist/mcp-chunks/{result-utils-JASGNHXK.js → result-utils-ZD5GFX7P.js} +3 -3
- package/dist/mcp-chunks/runtime-F7PP4V25.js +39 -0
- package/dist/mcp-chunks/{runtime-wrapper-7HYO3NM5.js → runtime-wrapper-AV4JCNRF.js} +3 -3
- package/dist/mcp-chunks/{serve-command-YKSIXG7K.js → serve-command-MRPTK4XX.js} +26 -26
- package/dist/mcp-chunks/server-2WSYXDII.js +43 -0
- package/dist/mcp-chunks/{timeouts-BJWDJEMH.js → timeouts-2SQIDYBE.js} +4 -3
- package/dist/mcp-chunks/{vault-command-EYOIFWEY.js → vault-command-6JVDCFWU.js} +5 -5
- package/dist/mcp-chunks/{webapi-WMMA3OEC.js → webapi-CI4O7AUX.js} +1 -1
- package/dist/mcp-daemon.js +35 -31
- package/dist/mcp-run-worker.js +34 -30
- package/dist/model-binding.d.ts +34 -3
- package/dist/model-binding.d.ts.map +1 -1
- package/dist/model-binding.js +174 -4
- package/dist/model-binding.js.map +1 -1
- package/dist/otel-baggage.d.ts +7 -0
- package/dist/otel-baggage.d.ts.map +1 -0
- package/dist/otel-baggage.js +7 -0
- package/dist/otel-baggage.js.map +1 -0
- package/dist/recipe/manifest.generated.d.ts +2 -1
- package/dist/recipe/manifest.generated.d.ts.map +1 -1
- package/dist/recipe/manifest.generated.js +2 -1
- package/dist/recipe/manifest.generated.js.map +1 -1
- package/dist/recipe/model.d.ts +2 -0
- package/dist/recipe/model.d.ts.map +1 -1
- package/dist/recipe/model.js +15 -1
- package/dist/recipe/model.js.map +1 -1
- package/dist/review.d.ts +1 -1
- package/dist/review.d.ts.map +1 -1
- package/dist/review.js +1 -1
- package/dist/review.js.map +1 -1
- package/dist/session.d.ts +9 -2
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +86 -16
- package/dist/session.js.map +1 -1
- package/dist/suggestion-picker.d.ts +2 -2
- package/dist/suggestion-picker.d.ts.map +1 -1
- package/dist/suggestion-picker.js +5 -3
- package/dist/suggestion-picker.js.map +1 -1
- package/docs/README.md +19 -18
- package/docs/batch.md +223 -0
- package/docs/pi-extension.md +42 -0
- package/docs/recipe-format.md +14 -3
- package/package.json +20 -15
- package/skills/documents/SKILL.md +6 -2
- package/skills/issues/SKILL.md +2 -1
- package/skills/search/SKILL.md +3 -0
- package/skills/signature/SKILL.md +4 -4
- package/dist/mcp-chunks/call-arguments-GCXZA4HC.js +0 -16
- package/dist/mcp-chunks/client-SBELHRAE.js +0 -32
- package/dist/mcp-chunks/daemon-command-MQS6AP2W.js +0 -32
- package/dist/mcp-chunks/dist-SDPPH7XQ.js +0 -65
- package/dist/mcp-chunks/generated-daemon-runtime-TUCZ3JEP.js +0 -32
- package/dist/mcp-chunks/runtime-5SOGEUTQ.js +0 -39
- package/dist/mcp-chunks/server-HQBFWAJR.js +0 -41
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
resolveEnvPlaceholders,
|
|
7
7
|
resolveEnvValue
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4ACA5GWL.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/mcporter@0.
|
|
10
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-command.js
|
|
11
11
|
var AUTO_CONNECT_FLAGS = /* @__PURE__ */ new Set(["--autoConnect", "--auto-connect"]);
|
|
12
12
|
var NEGATED_AUTO_CONNECT_FLAGS = /* @__PURE__ */ new Set(["--no-autoConnect", "--no-auto-connect"]);
|
|
13
13
|
var CONNECTION_VALUE_FLAGS = /* @__PURE__ */ new Set([
|
|
@@ -277,7 +277,7 @@ function booleanLiteral(value) {
|
|
|
277
277
|
return void 0;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
// node_modules/.pnpm/mcporter@0.
|
|
280
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/runtime/utils.js
|
|
281
281
|
var ENV_PLACEHOLDER_PATTERN = /\$\{(?:env:[^}]*|[A-Za-z_][A-Za-z0-9_]*(?::-[^}]*)?)\}/;
|
|
282
282
|
var MAX_TIMER_DELAY_MS = 2147483647;
|
|
283
283
|
function resolveCommandArgument(value, env = process.env) {
|
|
@@ -358,13 +358,13 @@ function scheduleDeadline(callback, delayMs) {
|
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
// node_modules/.pnpm/mcporter@0.
|
|
361
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-relay.js
|
|
362
362
|
import { createHash as createHash3 } from "node:crypto";
|
|
363
363
|
import fs from "node:fs";
|
|
364
364
|
import os from "node:os";
|
|
365
365
|
import path2 from "node:path";
|
|
366
366
|
|
|
367
|
-
// node_modules/.pnpm/mcporter@0.
|
|
367
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-relay-proxy.js
|
|
368
368
|
import { createHash, randomBytes, timingSafeEqual } from "node:crypto";
|
|
369
369
|
import http, {} from "node:http";
|
|
370
370
|
var WEBSOCKET_GUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
|
|
@@ -520,7 +520,7 @@ async function closeServer(server, sockets) {
|
|
|
520
520
|
await new Promise((resolve) => server.close(() => resolve()));
|
|
521
521
|
}
|
|
522
522
|
|
|
523
|
-
// node_modules/.pnpm/mcporter@0.
|
|
523
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/browser-relay-auth-v2.js
|
|
524
524
|
import { createHmac, hash, timingSafeEqual as timingSafeEqual2 } from "node:crypto";
|
|
525
525
|
var BROWSER_RELAY_AUTH_LABEL = "openclaw.browser-relay.auth";
|
|
526
526
|
var BROWSER_RELAY_AUTH_VERSION = 2;
|
|
@@ -589,7 +589,7 @@ function isCanonicalBase64Url(value, bytes) {
|
|
|
589
589
|
return decoded.byteLength === bytes && decoded.toString("base64url") === value;
|
|
590
590
|
}
|
|
591
591
|
|
|
592
|
-
// node_modules/.pnpm/mcporter@0.
|
|
592
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-relay-client.js
|
|
593
593
|
import { createHash as createHash2, randomBytes as randomBytes2 } from "node:crypto";
|
|
594
594
|
import { lookup } from "node:dns/promises";
|
|
595
595
|
import net from "node:net";
|
|
@@ -1100,7 +1100,7 @@ function isTimeoutError(error) {
|
|
|
1100
1100
|
return Boolean(error && typeof error === "object" && error.reason === "timeout");
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1103
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-relay-discovery.js
|
|
1104
1104
|
import { spawn } from "node:child_process";
|
|
1105
1105
|
import { statSync } from "node:fs";
|
|
1106
1106
|
import net2 from "node:net";
|
|
@@ -1554,7 +1554,7 @@ function openClawDiscoveryEnvironment(env) {
|
|
|
1554
1554
|
return filtered;
|
|
1555
1555
|
}
|
|
1556
1556
|
|
|
1557
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1557
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/chrome-devtools-relay.js
|
|
1558
1558
|
var DEFAULT_RELAY_PROBE_TIMEOUT_MS = 2e4;
|
|
1559
1559
|
var MIN_RELAY_PROBE_TIMEOUT_MS = 100;
|
|
1560
1560
|
var MAX_RELAY_PROBE_TIMEOUT_MS = 3e4;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
MCPORTER_VERSION
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MSPGQEWX.js";
|
|
5
5
|
import {
|
|
6
6
|
isKeepAliveServer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CWM4RO33.js";
|
|
8
8
|
|
|
9
|
-
// node_modules/.pnpm/mcporter@0.
|
|
9
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/daemon/runtime-wrapper.js
|
|
10
10
|
function createKeepAliveRuntime(base, options) {
|
|
11
11
|
if (!options.daemonClient || options.keepAliveServers.size === 0) {
|
|
12
12
|
return base;
|
|
@@ -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.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.17.0/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) {
|
|
@@ -2,27 +2,27 @@ import { createRequire as __createRequire } from "node:module"; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
isRecord,
|
|
4
4
|
parseJsonBuffer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OSK2JGFH.js";
|
|
6
6
|
import {
|
|
7
7
|
writeTextFileAtomic
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TTVO6RCP.js";
|
|
9
9
|
import {
|
|
10
10
|
homeConfigCandidates,
|
|
11
11
|
listConfigLayerPaths,
|
|
12
12
|
pathExists,
|
|
13
13
|
pathExistsAsync,
|
|
14
14
|
resolveConfigPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MW3YO24Q.js";
|
|
16
16
|
import {
|
|
17
17
|
expandHome,
|
|
18
18
|
resolveEnvPlaceholders
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4ACA5GWL.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveLifecycle
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CWM4RO33.js";
|
|
23
23
|
import {
|
|
24
24
|
external_exports
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-EUHXZKP2.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__require,
|
|
@@ -2024,14 +2024,14 @@ var require_toml = __commonJS({
|
|
|
2024
2024
|
}
|
|
2025
2025
|
});
|
|
2026
2026
|
|
|
2027
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2027
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config.js
|
|
2028
2028
|
import path6 from "node:path";
|
|
2029
2029
|
|
|
2030
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2030
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config/read-config.js
|
|
2031
2031
|
import fs from "node:fs/promises";
|
|
2032
2032
|
import path from "node:path";
|
|
2033
2033
|
|
|
2034
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2034
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config-schema.js
|
|
2035
2035
|
var OAuthRequestedScopeSchema = external_exports.string().regex(/^[\x21\x23-\x5B\x5D-\x7E]+(?: [\x21\x23-\x5B\x5D-\x7E]+)*$/, "OAuth requested scope must be a non-empty, space-separated list of OAuth scope tokens.");
|
|
2036
2036
|
var ImportKindSchema = external_exports.enum(["cursor", "claude-code", "claude-desktop", "codex", "windsurf", "opencode", "vscode"]).describe("Supported editor/client configurations to import MCP servers from");
|
|
2037
2037
|
var DEFAULT_IMPORTS = [
|
|
@@ -2151,7 +2151,7 @@ var RawConfigSchema = external_exports.object({
|
|
|
2151
2151
|
imports: external_exports.array(ImportKindSchema).optional().describe("Editor configurations to import servers from. Omit to use defaults, or set to [] to disable imports")
|
|
2152
2152
|
}).describe("mcporter configuration file schema");
|
|
2153
2153
|
|
|
2154
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2154
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config/read-config.js
|
|
2155
2155
|
async function loadConfigLayers(options, rootDir) {
|
|
2156
2156
|
const explicitPath = options.configPath ?? process.env.MCPORTER_CONFIG;
|
|
2157
2157
|
if (explicitPath) {
|
|
@@ -2218,12 +2218,12 @@ function includesErrnoMessage(error, code) {
|
|
|
2218
2218
|
return typeof message === "string" && message.includes(code);
|
|
2219
2219
|
}
|
|
2220
2220
|
|
|
2221
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2221
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config/imports/external.js
|
|
2222
2222
|
var import_toml = __toESM(require_toml(), 1);
|
|
2223
2223
|
import fs2 from "node:fs/promises";
|
|
2224
2224
|
import path3 from "node:path";
|
|
2225
2225
|
|
|
2226
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2226
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config/imports/paths-utils.js
|
|
2227
2227
|
import os from "node:os";
|
|
2228
2228
|
import path2 from "node:path";
|
|
2229
2229
|
function normalizeProjectPath(input) {
|
|
@@ -2251,7 +2251,7 @@ function pathsEqual(a, b) {
|
|
|
2251
2251
|
return a === b;
|
|
2252
2252
|
}
|
|
2253
2253
|
|
|
2254
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2254
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config/imports/external.js
|
|
2255
2255
|
async function readExternalEntries(filePath, options = {}) {
|
|
2256
2256
|
if (!await pathExistsAsync(filePath)) {
|
|
2257
2257
|
return null;
|
|
@@ -2503,7 +2503,7 @@ function shouldIgnoreParseError(error) {
|
|
|
2503
2503
|
return "fromTOML" in error;
|
|
2504
2504
|
}
|
|
2505
2505
|
|
|
2506
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2506
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config/imports/paths.js
|
|
2507
2507
|
import os2 from "node:os";
|
|
2508
2508
|
import path4 from "node:path";
|
|
2509
2509
|
function pathsForImport(kind, rootDir) {
|
|
@@ -2637,7 +2637,7 @@ function dedupePaths(paths) {
|
|
|
2637
2637
|
return result;
|
|
2638
2638
|
}
|
|
2639
2639
|
|
|
2640
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2640
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config-normalize.js
|
|
2641
2641
|
import fs3 from "node:fs";
|
|
2642
2642
|
import path5 from "node:path";
|
|
2643
2643
|
function normalizeServerEntry(name, raw, baseDir, source, sources, context = {}) {
|
|
@@ -2875,6 +2875,7 @@ function parseCommandString(value) {
|
|
|
2875
2875
|
let inSingleQuote = false;
|
|
2876
2876
|
let inDoubleQuote = false;
|
|
2877
2877
|
let escapeNext = false;
|
|
2878
|
+
let hasQuotedSegment = false;
|
|
2878
2879
|
for (const char of value.trim()) {
|
|
2879
2880
|
if (escapeNext) {
|
|
2880
2881
|
current += char;
|
|
@@ -2886,17 +2887,20 @@ function parseCommandString(value) {
|
|
|
2886
2887
|
continue;
|
|
2887
2888
|
}
|
|
2888
2889
|
if (char === "'" && !inDoubleQuote) {
|
|
2890
|
+
hasQuotedSegment = true;
|
|
2889
2891
|
inSingleQuote = !inSingleQuote;
|
|
2890
2892
|
continue;
|
|
2891
2893
|
}
|
|
2892
2894
|
if (char === '"' && !inSingleQuote) {
|
|
2895
|
+
hasQuotedSegment = true;
|
|
2893
2896
|
inDoubleQuote = !inDoubleQuote;
|
|
2894
2897
|
continue;
|
|
2895
2898
|
}
|
|
2896
2899
|
if (char === " " && !inSingleQuote && !inDoubleQuote) {
|
|
2897
|
-
if (current.length > 0) {
|
|
2900
|
+
if (current.length > 0 || hasQuotedSegment) {
|
|
2898
2901
|
result.push(current);
|
|
2899
2902
|
current = "";
|
|
2903
|
+
hasQuotedSegment = false;
|
|
2900
2904
|
}
|
|
2901
2905
|
continue;
|
|
2902
2906
|
}
|
|
@@ -2905,7 +2909,7 @@ function parseCommandString(value) {
|
|
|
2905
2909
|
if (escapeNext) {
|
|
2906
2910
|
current += "\\";
|
|
2907
2911
|
}
|
|
2908
|
-
if (current.length > 0) {
|
|
2912
|
+
if (current.length > 0 || hasQuotedSegment) {
|
|
2909
2913
|
result.push(current);
|
|
2910
2914
|
}
|
|
2911
2915
|
return result;
|
|
@@ -2921,7 +2925,7 @@ function normalizeLogging(raw) {
|
|
|
2921
2925
|
return void 0;
|
|
2922
2926
|
}
|
|
2923
2927
|
|
|
2924
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2928
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/config.js
|
|
2925
2929
|
async function buildServerDefinitions(layers, rootDir) {
|
|
2926
2930
|
const merged = /* @__PURE__ */ new Map();
|
|
2927
2931
|
for (const layer of layers) {
|
|
@@ -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.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/json-output.js
|
|
4
4
|
function buildConnectionIssueEnvelope(params) {
|
|
5
5
|
return {
|
|
6
6
|
server: params.server,
|
|
@@ -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.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/logging.js
|
|
4
4
|
var LOG_LEVEL_ORDER = {
|
|
5
5
|
debug: 10,
|
|
6
6
|
info: 20,
|
|
@@ -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-CIQX62WO.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/mcporter@0.
|
|
7
|
+
// node_modules/.pnpm/mcporter@0.17.0/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.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/definition-fields.js
|
|
4
4
|
var SHARED_DEFINITION_FIELDS = [
|
|
5
5
|
"auth",
|
|
6
6
|
"tokenCacheDir",
|
|
@@ -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.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/stable-json.js
|
|
4
4
|
function stableJsonStringify(value, space) {
|
|
5
5
|
const json = JSON.stringify(sortJsonValue(value), void 0, space);
|
|
6
6
|
if (json === void 0) {
|
|
@@ -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-32UZRZIL.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.17.0/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,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.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.17.0/node_modules/mcporter/dist/cli/output-format.js
|
|
4
4
|
function consumeOutputFormat(args, options = {}) {
|
|
5
5
|
const allowed = options.allowed ?? ["auto", "text", "markdown", "json", "raw"];
|
|
6
6
|
const defaultFormat = options.defaultFormat ?? "auto";
|