@introspection-ai/recipes 0.25.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp-chunks/{auth-command-4WFRNU2I.js → auth-command-JBYNHHMV.js} +23 -27
- package/dist/mcp-chunks/call-arguments-S4EGFKUQ.js +15 -0
- package/dist/mcp-chunks/{call-command-JBIKXOGC.js → call-command-467BVXTE.js} +32 -33
- package/dist/mcp-chunks/{chunk-IPNSPKQK.js → chunk-3Q2Q7SBU.js} +12 -14
- package/dist/mcp-chunks/chunk-66P5FXP3.js +31 -0
- package/dist/mcp-chunks/{chunk-TF2YTYE4.js → chunk-6DVS7RBO.js} +1 -1
- package/dist/mcp-chunks/{chunk-IME7DGLJ.js → chunk-AK5ZEDEF.js} +2 -2
- package/dist/mcp-chunks/{chunk-OP3IW2V6.js → chunk-AP5VHS73.js} +2 -2
- package/dist/mcp-chunks/{chunk-B2LNXGAP.js → chunk-AS27BTCS.js} +1 -1
- package/dist/mcp-chunks/{chunk-MOEZ43ZL.js → chunk-BC2HDCYV.js} +1 -1
- package/dist/mcp-chunks/{chunk-RSTKSBVF.js → chunk-BSCNF4NY.js} +2 -2
- package/dist/mcp-chunks/chunk-BTU34BUG.js +1182 -0
- package/dist/mcp-chunks/{chunk-HN7WPMCA.js → chunk-CN5YF3IQ.js} +21042 -3688
- package/dist/mcp-chunks/{chunk-G6OMDUNG.js → chunk-CZ43ZITK.js} +1 -1
- package/dist/mcp-chunks/{chunk-JG4TRUPF.js → chunk-D2P2IV4H.js} +1 -1
- package/dist/mcp-chunks/{chunk-3R2WK3NB.js → chunk-DMBE47LM.js} +6 -6
- package/dist/mcp-chunks/{chunk-WTMJMM3B.js → chunk-EP22XMWK.js} +3 -30
- package/dist/mcp-chunks/{chunk-ITCCROID.js → chunk-EUDC3ICZ.js} +5 -5
- package/dist/mcp-chunks/{chunk-FX5NYWBH.js → chunk-G4H535MI.js} +3 -21
- package/dist/mcp-chunks/{chunk-HCOKLSOB.js → chunk-GA4ZYSRX.js} +4 -4
- package/dist/mcp-chunks/{chunk-C2KNLFZR.js → chunk-GEVQ2GJW.js} +2 -2
- package/dist/mcp-chunks/{chunk-WYLHHXI6.js → chunk-GK4LA4E6.js} +26 -11
- package/dist/mcp-chunks/{chunk-QZUC2T72.js → chunk-GL4AA5QV.js} +2 -2
- package/dist/mcp-chunks/{chunk-KW3ANJ36.js → chunk-HBN3ESMH.js} +4 -4
- package/dist/mcp-chunks/{chunk-ELA77TDC.js → chunk-HKZZGSDV.js} +4 -4
- package/dist/mcp-chunks/{chunk-36VIJRYY.js → chunk-HTXQPQPB.js} +4 -4
- package/dist/mcp-chunks/{chunk-3JGS7LQB.js → chunk-I7JR2GIC.js} +2 -2
- package/dist/mcp-chunks/{chunk-AIKLVBYU.js → chunk-IO2IMWYS.js} +2 -2
- package/dist/mcp-chunks/{chunk-RD7NHCRK.js → chunk-J2WP6ERZ.js} +39 -42
- package/dist/mcp-chunks/{chunk-HLRCUHNO.js → chunk-KJNNO5Z6.js} +1 -1
- package/dist/mcp-chunks/{chunk-4ZNBWL65.js → chunk-L2LGMX5P.js} +2 -2
- package/dist/mcp-chunks/chunk-LG3GLOSA.js +513 -0
- package/dist/mcp-chunks/{chunk-CZKDJZER.js → chunk-LTR626QF.js} +1 -1
- package/dist/mcp-chunks/{chunk-FS5JIKT6.js → chunk-LYWEATXZ.js} +6 -6
- package/dist/mcp-chunks/{chunk-YIRGLKDA.js → chunk-M62ESEOY.js} +45 -14
- package/dist/mcp-chunks/{chunk-V5AYEKSL.js → chunk-MJHMXYMO.js} +52 -81
- package/dist/mcp-chunks/{chunk-7WOKCV6Q.js → chunk-N7ZWX3WW.js} +1 -1
- package/dist/mcp-chunks/chunk-NTABJCUL.js +123 -0
- package/dist/mcp-chunks/{chunk-EPT4MYOF.js → chunk-OABFKFSL.js} +11 -11
- package/dist/mcp-chunks/{chunk-SCOMDV54.js → chunk-OB256NMD.js} +1 -1
- package/dist/mcp-chunks/{chunk-IYWYVHHD.js → chunk-OZQTZWW4.js} +1 -1
- package/dist/mcp-chunks/{chunk-ITR7FQM3.js → chunk-QIBGY4IX.js} +2 -2
- package/dist/mcp-chunks/{chunk-ZOAQDFAO.js → chunk-REEFOL44.js} +1 -1
- package/dist/mcp-chunks/{chunk-ED2WN5BI.js → chunk-SUNOYTQJ.js} +3 -3
- package/dist/mcp-chunks/{chunk-Y3EDWN2P.js → chunk-TFU4NKFJ.js} +1 -1
- package/dist/mcp-chunks/{chunk-EMSNQHZZ.js → chunk-TGPIW6F6.js} +1 -1
- package/dist/mcp-chunks/{chunk-SNKXMWDB.js → chunk-UCJ7YDFN.js} +1 -1
- package/dist/mcp-chunks/{chunk-TPHPAEDH.js → chunk-WUEDIOR5.js} +1 -1
- package/dist/mcp-chunks/{chunk-FAJPJTOC.js → chunk-XCNWICLD.js} +1 -1
- package/dist/mcp-chunks/{chunk-6YZW3XAE.js → chunk-XFQSUC7T.js} +5 -5
- package/dist/mcp-chunks/{chunk-GQ6NSIDS.js → chunk-Y3L5LWBY.js} +3037 -747
- package/dist/mcp-chunks/{chunk-53NRFMB3.js → chunk-YI5SMRFH.js} +46 -25
- package/dist/mcp-chunks/{chunk-GUXMP7QB.js → chunk-YPTN46JQ.js} +2 -2
- package/dist/mcp-chunks/{chunk-I5GI2A2D.js → chunk-YVH36MGQ.js} +2 -2
- package/dist/mcp-chunks/{chunk-ASG4OY3M.js → chunk-Z6QEOUMK.js} +22 -23
- package/dist/mcp-chunks/{cli-XU26MUCN.js → cli-TN6JTLTS.js} +108 -77
- package/dist/mcp-chunks/client-G33HPQAC.js +29 -0
- package/dist/mcp-chunks/{config-command-UQMMIK2U.js → config-command-LICU56ZH.js} +27 -28
- package/dist/mcp-chunks/daemon-command-JLVHGWHB.js +29 -0
- package/dist/mcp-chunks/{dist-DM2RXZMU.js → dist-MFAWSKGH.js} +80 -46
- package/dist/mcp-chunks/{emit-ts-command-KAOL6DAN.js → emit-ts-command-FVX3JMSN.js} +18 -18
- package/dist/mcp-chunks/{generate-cli-runner-AK6XNRTK.js → generate-cli-runner-L2L7VMCA.js} +53 -51
- package/dist/mcp-chunks/generated-daemon-runtime-DC6IL7E7.js +29 -0
- package/dist/mcp-chunks/{inspect-cli-command-6FVJO7H2.js → inspect-cli-command-Y5D3GRE2.js} +9 -10
- package/dist/mcp-chunks/{launch-EIT73HX4.js → launch-ZFY6CM2A.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-QH4TUI3K.js → lifecycle-H7DIW5DM.js} +1 -1
- package/dist/mcp-chunks/{list-command-UOB2XZK7.js → list-command-55LCLW4S.js} +34 -35
- package/dist/mcp-chunks/{output-utils-6YXH23T7.js → output-utils-YYHI637S.js} +3 -3
- package/dist/mcp-chunks/{prompt-CH6TK0bC-ZB6RFAXR.js → prompt-CH6TK0bC-DZLFAAPK.js} +1 -1
- package/dist/mcp-chunks/{record-command-FO5TTERC.js → record-command-PWIBYC5J.js} +5 -5
- package/dist/mcp-chunks/{replay-command-SCBPCGQ7.js → replay-command-QHZZZMXF.js} +6 -6
- package/dist/mcp-chunks/{resource-command-S2J7XEMV.js → resource-command-HMR2KXWK.js} +9 -10
- package/dist/mcp-chunks/{result-utils-OME6HGS6.js → result-utils-UGCQSRJ4.js} +3 -4
- package/dist/mcp-chunks/runtime-ZNFPZXKE.js +36 -0
- package/dist/mcp-chunks/runtime-wrapper-I4B3OROR.js +10 -0
- package/dist/mcp-chunks/{serve-command-DDBZZSG6.js → serve-command-NTDI3YPN.js} +29 -34
- package/dist/mcp-chunks/{timeouts-HNGNKDQN.js → timeouts-35UDWFA7.js} +3 -3
- package/dist/mcp-chunks/{vault-command-TJZYS3YI.js → vault-command-D5QZL4FI.js} +4 -6
- package/dist/mcp-daemon.js +26 -31
- package/dist/mcp-run-worker.js +26 -31
- package/dist/pi-extension.d.ts.map +1 -1
- package/dist/pi-extension.js +27 -0
- package/dist/pi-extension.js.map +1 -1
- package/docs/pi-extension.md +1 -1
- package/docs/recipe-format.md +7 -3
- package/docs/recipe-templates.md +46 -0
- package/package.json +14 -14
- package/dist/mcp-chunks/call-arguments-4DWPBLQP.js +0 -15
- package/dist/mcp-chunks/chunk-3Z7MFS6K.js +0 -86
- package/dist/mcp-chunks/chunk-AD3FQ73K.js +0 -39
- package/dist/mcp-chunks/chunk-BWW4XRUC.js +0 -1931
- package/dist/mcp-chunks/chunk-DTZHEVKC.js +0 -12
- package/dist/mcp-chunks/chunk-H3JCYHGS.js +0 -1018
- package/dist/mcp-chunks/chunk-IRTJXFWA.js +0 -28
- package/dist/mcp-chunks/chunk-NTHUNCXJ.js +0 -526
- package/dist/mcp-chunks/chunk-OD3MSMXY.js +0 -15
- package/dist/mcp-chunks/chunk-PZ323CXI.js +0 -17394
- package/dist/mcp-chunks/client-OT34CKRH.js +0 -21
- package/dist/mcp-chunks/daemon-command-YCIOZGPZ.js +0 -35
- package/dist/mcp-chunks/runtime-QIPMLIJI.js +0 -39
- package/dist/mcp-chunks/runtime-wrapper-X4YFKMJI.js +0 -16
|
@@ -5,72 +5,68 @@ import {
|
|
|
5
5
|
readPackageMetadata,
|
|
6
6
|
safeCopyFile,
|
|
7
7
|
writeTemplate
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3Q2Q7SBU.js";
|
|
9
9
|
import {
|
|
10
10
|
buildGenerateCliCommand,
|
|
11
11
|
readCliMetadata,
|
|
12
12
|
resolveGenerateRequestFromArtifact,
|
|
13
13
|
serializeDefinition,
|
|
14
14
|
validateToolSelection
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-HKZZGSDV.js";
|
|
16
|
+
import "./chunk-OZQTZWW4.js";
|
|
17
17
|
import {
|
|
18
18
|
expectValue
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-6DVS7RBO.js";
|
|
20
|
+
import "./chunk-XFQSUC7T.js";
|
|
21
21
|
import {
|
|
22
22
|
buildToolMetadataList,
|
|
23
23
|
toolsTestHelpers
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-WUEDIOR5.js";
|
|
25
|
+
import "./chunk-OB256NMD.js";
|
|
26
|
+
import "./chunk-IO2IMWYS.js";
|
|
27
27
|
import {
|
|
28
28
|
splitCommandLine,
|
|
29
29
|
toAsciiSlug
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DMBE47LM.js";
|
|
31
31
|
import {
|
|
32
32
|
extractHttpServerTarget,
|
|
33
33
|
looksLikeHttpUrl,
|
|
34
34
|
normalizeHttpUrl,
|
|
35
35
|
normalizeHttpUrlCandidate,
|
|
36
36
|
splitHttpToolSelector
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import {
|
|
39
|
-
stableJsonStringify
|
|
40
|
-
} from "./chunk-B2LNXGAP.js";
|
|
37
|
+
} from "./chunk-CZ43ZITK.js";
|
|
41
38
|
import {
|
|
42
39
|
createRuntime
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-Y3L5LWBY.js";
|
|
41
|
+
import {
|
|
42
|
+
stableJsonStringify
|
|
43
|
+
} from "./chunk-AS27BTCS.js";
|
|
44
|
+
import "./chunk-REEFOL44.js";
|
|
45
|
+
import "./chunk-AP5VHS73.js";
|
|
46
|
+
import "./chunk-M62ESEOY.js";
|
|
47
|
+
import "./chunk-Z6QEOUMK.js";
|
|
48
|
+
import "./chunk-YI5SMRFH.js";
|
|
49
|
+
import "./chunk-N7ZWX3WW.js";
|
|
50
|
+
import "./chunk-TGPIW6F6.js";
|
|
51
51
|
import {
|
|
52
52
|
MCPORTER_VERSION
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-QZUC2T72.js";
|
|
56
|
-
import "./chunk-PZ323CXI.js";
|
|
57
|
-
import "./chunk-BWW4XRUC.js";
|
|
58
|
-
import "./chunk-DTZHEVKC.js";
|
|
59
|
-
import "./chunk-I5GI2A2D.js";
|
|
53
|
+
} from "./chunk-NTABJCUL.js";
|
|
54
|
+
import "./chunk-YVH36MGQ.js";
|
|
60
55
|
import {
|
|
61
56
|
loadServerDefinitions
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-J2WP6ERZ.js";
|
|
58
|
+
import "./chunk-QIBGY4IX.js";
|
|
59
|
+
import "./chunk-G4H535MI.js";
|
|
60
|
+
import "./chunk-LYWEATXZ.js";
|
|
61
|
+
import "./chunk-EP22XMWK.js";
|
|
67
62
|
import {
|
|
68
63
|
resolveLifecycle
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-
|
|
64
|
+
} from "./chunk-D2P2IV4H.js";
|
|
65
|
+
import "./chunk-GL4AA5QV.js";
|
|
66
|
+
import "./chunk-CN5YF3IQ.js";
|
|
71
67
|
import "./chunk-LRKZP7DJ.js";
|
|
72
68
|
|
|
73
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
69
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/generate/name-utils.js
|
|
74
70
|
function inferNameFromCommand(command) {
|
|
75
71
|
if (typeof command === "string") {
|
|
76
72
|
const normalizedHttp = normalizeHttpUrlCandidate(command);
|
|
@@ -229,7 +225,7 @@ function deriveNameFromUrl(url) {
|
|
|
229
225
|
return void 0;
|
|
230
226
|
}
|
|
231
227
|
|
|
232
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
228
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/generate/flags.js
|
|
233
229
|
function parseGenerateFlags(args) {
|
|
234
230
|
const common = extractGeneratorFlags(args);
|
|
235
231
|
let server;
|
|
@@ -412,12 +408,12 @@ function normalizeCommandInput2(value) {
|
|
|
412
408
|
return command;
|
|
413
409
|
}
|
|
414
410
|
|
|
415
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
411
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/generate-cli.js
|
|
416
412
|
import fs3 from "node:fs/promises";
|
|
417
413
|
import { createHash } from "node:crypto";
|
|
418
414
|
import path3 from "node:path";
|
|
419
415
|
|
|
420
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
416
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/generate/artifacts.js
|
|
421
417
|
import { execFile as execFile2 } from "node:child_process";
|
|
422
418
|
import fsSync from "node:fs";
|
|
423
419
|
import fs from "node:fs/promises";
|
|
@@ -425,7 +421,7 @@ import { builtinModules, createRequire } from "node:module";
|
|
|
425
421
|
import path from "node:path";
|
|
426
422
|
import { fileURLToPath } from "node:url";
|
|
427
423
|
|
|
428
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
424
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/generate/runtime.js
|
|
429
425
|
import { execFile } from "node:child_process";
|
|
430
426
|
async function resolveRuntimeKind(runtimeOption, compileOption) {
|
|
431
427
|
if (runtimeOption) {
|
|
@@ -459,7 +455,7 @@ async function isBunAvailable() {
|
|
|
459
455
|
}
|
|
460
456
|
}
|
|
461
457
|
|
|
462
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
458
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/generate/artifacts.js
|
|
463
459
|
var localRequire = createRequire(import.meta.url);
|
|
464
460
|
var packageRoot = fileURLToPath(new URL("../../..", import.meta.url));
|
|
465
461
|
var BUNDLED_DEPENDENCIES = ["commander", "mcporter", "jsonc-parser"];
|
|
@@ -474,7 +470,7 @@ async function bundleOutput({ sourcePath, targetPath, runtimeKind, minify, bundl
|
|
|
474
470
|
async function bundleWithRolldown({ sourcePath, targetPath, runtimeKind, minify }) {
|
|
475
471
|
let rolldownImpl;
|
|
476
472
|
try {
|
|
477
|
-
({ rolldown: rolldownImpl } = await import("./dist-
|
|
473
|
+
({ rolldown: rolldownImpl } = await import("./dist-MFAWSKGH.js"));
|
|
478
474
|
} catch (error) {
|
|
479
475
|
const message = "Rolldown bundling is unavailable in this build of mcporter; rerun with --bundler bun or install mcporter via npm (Node.js) to use the Rolldown bundler.";
|
|
480
476
|
if (error instanceof Error) {
|
|
@@ -759,7 +755,7 @@ function resolveUniquePath(directory, baseName) {
|
|
|
759
755
|
return attempt;
|
|
760
756
|
}
|
|
761
757
|
|
|
762
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
758
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/generate/definition.js
|
|
763
759
|
import fs2 from "node:fs/promises";
|
|
764
760
|
import path2 from "node:path";
|
|
765
761
|
function ensureInvocationDefaults(invocation, definition) {
|
|
@@ -835,22 +831,28 @@ async function resolveServerDefinition(serverRef, configPath, rootDir) {
|
|
|
835
831
|
throw new Error(`Unknown MCP server '${trimmed}'. Provide a name from config, a JSON file, inline JSON, or an HTTP URL that matches a configured server.`);
|
|
836
832
|
}
|
|
837
833
|
async function fetchTools(definition, serverName, configPath, rootDir) {
|
|
838
|
-
const
|
|
834
|
+
const base = await createRuntime({
|
|
839
835
|
configPath,
|
|
840
836
|
rootDir,
|
|
841
|
-
servers:
|
|
837
|
+
servers: [definition]
|
|
842
838
|
});
|
|
839
|
+
const { createGeneratedKeepAliveRuntime } = await import("./generated-daemon-runtime-DC6IL7E7.js");
|
|
840
|
+
const context = await createGeneratedKeepAliveRuntime(base, definition);
|
|
841
|
+
const runtime = context.runtime;
|
|
843
842
|
try {
|
|
844
843
|
const tools = await runtime.listTools(serverName, { includeSchema: true });
|
|
845
844
|
const derivedDescription = definition.description ? void 0 : await deriveDefinitionDescription(runtime, serverName);
|
|
846
845
|
return { tools, derivedDescription };
|
|
847
846
|
} finally {
|
|
848
|
-
await
|
|
849
|
-
});
|
|
847
|
+
await context.close(serverName);
|
|
850
848
|
}
|
|
851
849
|
}
|
|
852
850
|
async function deriveDefinitionDescription(runtime, serverName) {
|
|
853
851
|
try {
|
|
852
|
+
if (runtime.getServerMetadata) {
|
|
853
|
+
const { instructions: instructions2, serverInfo: serverInfo2 } = await runtime.getServerMetadata(serverName);
|
|
854
|
+
return pickDescription(instructions2, serverInfo2);
|
|
855
|
+
}
|
|
854
856
|
const context = await runtime.connect(serverName);
|
|
855
857
|
const instructions = typeof context.client.getInstructions === "function" ? context.client.getInstructions() : void 0;
|
|
856
858
|
const serverInfo = typeof context.client.getServerVersion === "function" ? context.client.getServerVersion() : void 0;
|
|
@@ -1107,7 +1109,7 @@ function toStringRecord(value) {
|
|
|
1107
1109
|
return Object.keys(result).length > 0 ? result : void 0;
|
|
1108
1110
|
}
|
|
1109
1111
|
|
|
1110
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1112
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/generate-cli.js
|
|
1111
1113
|
var REPRODUCIBLE_GENERATED_AT = "1970-01-01T00:00:00.000Z";
|
|
1112
1114
|
async function generateCli(options) {
|
|
1113
1115
|
const runtimeKind = await resolveRuntimeKind(options.runtime, options.compile);
|
|
@@ -1305,7 +1307,7 @@ function applyToolFilters(tools, includeTools, excludeTools) {
|
|
|
1305
1307
|
}
|
|
1306
1308
|
var __test = { ...toolsTestHelpers, applyToolFilters };
|
|
1307
1309
|
|
|
1308
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1310
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/generate/output.js
|
|
1309
1311
|
async function performGenerateFromArtifact(metadata, request) {
|
|
1310
1312
|
const { outputPath, bundlePath, compilePath } = await generateCli(request);
|
|
1311
1313
|
if (metadata.artifact.kind === "binary" && compilePath) {
|
|
@@ -1329,7 +1331,7 @@ async function performGenerateFromRequest(request) {
|
|
|
1329
1331
|
}
|
|
1330
1332
|
}
|
|
1331
1333
|
|
|
1332
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1334
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/generate/server-utils.js
|
|
1333
1335
|
function buildInlineServerDefinition(name, command, description) {
|
|
1334
1336
|
if (typeof command === "string") {
|
|
1335
1337
|
const url = normalizeHttpUrlCandidate(command) ?? command;
|
|
@@ -1362,7 +1364,7 @@ function buildInlineServerDefinition(name, command, description) {
|
|
|
1362
1364
|
};
|
|
1363
1365
|
}
|
|
1364
1366
|
|
|
1365
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1367
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/generate-cli-runner.js
|
|
1366
1368
|
async function handleGenerateCli(args, globalFlags) {
|
|
1367
1369
|
const parsed = parseGenerateFlags(args);
|
|
1368
1370
|
validateToolSelection(parsed.includeTools, parsed.excludeTools, {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
createGeneratedKeepAliveRuntime
|
|
4
|
+
} from "./chunk-66P5FXP3.js";
|
|
5
|
+
import "./chunk-MJHMXYMO.js";
|
|
6
|
+
import "./chunk-BTU34BUG.js";
|
|
7
|
+
import "./chunk-Y3L5LWBY.js";
|
|
8
|
+
import "./chunk-AS27BTCS.js";
|
|
9
|
+
import "./chunk-REEFOL44.js";
|
|
10
|
+
import "./chunk-AP5VHS73.js";
|
|
11
|
+
import "./chunk-M62ESEOY.js";
|
|
12
|
+
import "./chunk-Z6QEOUMK.js";
|
|
13
|
+
import "./chunk-YI5SMRFH.js";
|
|
14
|
+
import "./chunk-N7ZWX3WW.js";
|
|
15
|
+
import "./chunk-TGPIW6F6.js";
|
|
16
|
+
import "./chunk-NTABJCUL.js";
|
|
17
|
+
import "./chunk-YVH36MGQ.js";
|
|
18
|
+
import "./chunk-J2WP6ERZ.js";
|
|
19
|
+
import "./chunk-QIBGY4IX.js";
|
|
20
|
+
import "./chunk-G4H535MI.js";
|
|
21
|
+
import "./chunk-LYWEATXZ.js";
|
|
22
|
+
import "./chunk-EP22XMWK.js";
|
|
23
|
+
import "./chunk-D2P2IV4H.js";
|
|
24
|
+
import "./chunk-GL4AA5QV.js";
|
|
25
|
+
import "./chunk-CN5YF3IQ.js";
|
|
26
|
+
import "./chunk-LRKZP7DJ.js";
|
|
27
|
+
export {
|
|
28
|
+
createGeneratedKeepAliveRuntime
|
|
29
|
+
};
|
|
@@ -3,25 +3,24 @@ import {
|
|
|
3
3
|
buildGenerateCliCommand,
|
|
4
4
|
readCliMetadata,
|
|
5
5
|
shellQuote
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-HKZZGSDV.js";
|
|
7
|
+
import "./chunk-OZQTZWW4.js";
|
|
8
8
|
import {
|
|
9
9
|
expectValue
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6DVS7RBO.js";
|
|
11
11
|
import {
|
|
12
12
|
formatPathForDisplay,
|
|
13
13
|
formatSourceSuffix
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-GA4ZYSRX.js";
|
|
15
|
+
import "./chunk-OB256NMD.js";
|
|
16
16
|
import {
|
|
17
17
|
consumeOutputFormat
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-HN7WPMCA.js";
|
|
18
|
+
} from "./chunk-TFU4NKFJ.js";
|
|
19
|
+
import "./chunk-GL4AA5QV.js";
|
|
20
|
+
import "./chunk-CN5YF3IQ.js";
|
|
22
21
|
import "./chunk-LRKZP7DJ.js";
|
|
23
22
|
|
|
24
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
23
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/inspect-cli-command.js
|
|
25
24
|
async function handleInspectCli(args) {
|
|
26
25
|
const parsed = parseInspectFlags(args);
|
|
27
26
|
const metadata = await readCliMetadata(parsed.artifactPath);
|
|
@@ -2,7 +2,7 @@ import { createRequire as __createRequire } from "node:module"; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
buildDaemonLaunchInvocation,
|
|
4
4
|
launchDaemonDetached
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GK4LA4E6.js";
|
|
6
6
|
import "./chunk-LRKZP7DJ.js";
|
|
7
7
|
export {
|
|
8
8
|
buildDaemonLaunchInvocation,
|
|
@@ -1,67 +1,66 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
extractListFlags
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HTXQPQPB.js";
|
|
5
|
+
import {
|
|
6
|
+
loadToolMetadata
|
|
7
|
+
} from "./chunk-BSCNF4NY.js";
|
|
8
|
+
import {
|
|
9
|
+
chooseClosestIdentifier,
|
|
10
|
+
renderIdentifierResolutionMessages
|
|
11
|
+
} from "./chunk-KJNNO5Z6.js";
|
|
5
12
|
import {
|
|
6
13
|
buildToolDoc,
|
|
7
14
|
formatExampleBlock
|
|
8
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XFQSUC7T.js";
|
|
16
|
+
import "./chunk-WUEDIOR5.js";
|
|
9
17
|
import {
|
|
10
18
|
classifyListError,
|
|
11
19
|
formatSourceSuffix,
|
|
12
20
|
renderServerListRow
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
loadToolMetadata
|
|
16
|
-
} from "./chunk-RSTKSBVF.js";
|
|
17
|
-
import {
|
|
18
|
-
chooseClosestIdentifier,
|
|
19
|
-
renderIdentifierResolutionMessages
|
|
20
|
-
} from "./chunk-HLRCUHNO.js";
|
|
21
|
-
import "./chunk-TPHPAEDH.js";
|
|
21
|
+
} from "./chunk-GA4ZYSRX.js";
|
|
22
22
|
import {
|
|
23
23
|
boldText,
|
|
24
24
|
dimText,
|
|
25
25
|
extraDimText,
|
|
26
26
|
supportsSpinner,
|
|
27
27
|
yellowText
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OB256NMD.js";
|
|
29
29
|
import {
|
|
30
30
|
LIST_TIMEOUT_MS,
|
|
31
31
|
withTimeout
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-IO2IMWYS.js";
|
|
33
33
|
import {
|
|
34
34
|
persistPreparedEphemeralServer,
|
|
35
35
|
prepareEphemeralServerTarget,
|
|
36
36
|
renderAdhocServerHelpLines
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-EUDC3ICZ.js";
|
|
38
|
+
import "./chunk-AK5ZEDEF.js";
|
|
39
|
+
import "./chunk-DMBE47LM.js";
|
|
40
40
|
import {
|
|
41
41
|
formatErrorMessage,
|
|
42
42
|
serializeConnectionIssue
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-UCJ7YDFN.js";
|
|
44
|
+
import "./chunk-BC2HDCYV.js";
|
|
45
45
|
import {
|
|
46
46
|
splitHttpToolSelector
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-CZ43ZITK.js";
|
|
48
|
+
import "./chunk-TFU4NKFJ.js";
|
|
49
49
|
import {
|
|
50
50
|
setStdioLogMode
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-TGPIW6F6.js";
|
|
52
52
|
import {
|
|
53
53
|
MCPORTER_VERSION
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-HN7WPMCA.js";
|
|
54
|
+
} from "./chunk-NTABJCUL.js";
|
|
55
|
+
import "./chunk-YVH36MGQ.js";
|
|
56
|
+
import "./chunk-J2WP6ERZ.js";
|
|
57
|
+
import "./chunk-QIBGY4IX.js";
|
|
58
|
+
import "./chunk-G4H535MI.js";
|
|
59
|
+
import "./chunk-LYWEATXZ.js";
|
|
60
|
+
import "./chunk-EP22XMWK.js";
|
|
61
|
+
import "./chunk-D2P2IV4H.js";
|
|
62
|
+
import "./chunk-GL4AA5QV.js";
|
|
63
|
+
import "./chunk-CN5YF3IQ.js";
|
|
65
64
|
import {
|
|
66
65
|
__export
|
|
67
66
|
} from "./chunk-LRKZP7DJ.js";
|
|
@@ -3524,7 +3523,7 @@ function ora(options) {
|
|
|
3524
3523
|
return new Ora(options);
|
|
3525
3524
|
}
|
|
3526
3525
|
|
|
3527
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3526
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/transport-utils.js
|
|
3528
3527
|
function formatTransportSummary(definition) {
|
|
3529
3528
|
if (definition.command.kind === "http") {
|
|
3530
3529
|
const url = definition.command.url instanceof URL ? definition.command.url.href : String(definition.command.url);
|
|
@@ -3534,7 +3533,7 @@ function formatTransportSummary(definition) {
|
|
|
3534
3533
|
return `STDIO ${rendered}`;
|
|
3535
3534
|
}
|
|
3536
3535
|
|
|
3537
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3536
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/list-output.js
|
|
3538
3537
|
function printSingleServerHeader(definition, toolCount, durationMs, transportSummary, sourcePath, options) {
|
|
3539
3538
|
const prefix = boldText(definition.name);
|
|
3540
3539
|
if (definition.description) {
|
|
@@ -3719,7 +3718,7 @@ function quoteCommandSegment(segment) {
|
|
|
3719
3718
|
return `'${segment.replace(/'/g, `'\\''`)}'`;
|
|
3720
3719
|
}
|
|
3721
3720
|
|
|
3722
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3721
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/list-command.js
|
|
3723
3722
|
async function handleList(runtime, args) {
|
|
3724
3723
|
const flags = extractListFlags(args);
|
|
3725
3724
|
let target = args.shift();
|
|
@@ -2,9 +2,9 @@ import { createRequire as __createRequire } from "node:module"; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
printCallOutput,
|
|
4
4
|
tailLogIfRequested
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-GEVQ2GJW.js";
|
|
6
|
+
import "./chunk-YPTN46JQ.js";
|
|
7
|
+
import "./chunk-N7ZWX3WW.js";
|
|
8
8
|
import "./chunk-LRKZP7DJ.js";
|
|
9
9
|
export {
|
|
10
10
|
printCallOutput,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import "./chunk-LRKZP7DJ.js";
|
|
3
3
|
|
|
4
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
4
|
+
// node_modules/.pnpm/rolldown@1.2.7/node_modules/rolldown/dist/shared/prompt-CH6TK0bC.mjs
|
|
5
5
|
import g$1, { stdin, stdout } from "node:process";
|
|
6
6
|
import { WriteStream } from "node:tty";
|
|
7
7
|
import f from "node:readline";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
parseRecordArgs,
|
|
5
5
|
parseReplayArgs,
|
|
6
6
|
printRecordHelp
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-HBN3ESMH.js";
|
|
8
|
+
import "./chunk-XCNWICLD.js";
|
|
9
|
+
import "./chunk-AP5VHS73.js";
|
|
10
|
+
import "./chunk-LYWEATXZ.js";
|
|
11
|
+
import "./chunk-EP22XMWK.js";
|
|
12
12
|
import "./chunk-LRKZP7DJ.js";
|
|
13
13
|
export {
|
|
14
14
|
handleRecordCli,
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
parseReplayArgs,
|
|
5
5
|
runRecordReplayCommand,
|
|
6
6
|
writeRecordReplayConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HBN3ESMH.js";
|
|
8
8
|
import {
|
|
9
9
|
buildReplayCommandEnv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XCNWICLD.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveRecordingPath
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-AP5VHS73.js";
|
|
14
|
+
import "./chunk-LYWEATXZ.js";
|
|
15
|
+
import "./chunk-EP22XMWK.js";
|
|
16
16
|
import "./chunk-LRKZP7DJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
18
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/replay-command.js
|
|
19
19
|
async function handleReplayCli(args) {
|
|
20
20
|
const parsed = parseReplayArgs(args);
|
|
21
21
|
const replayPath = resolveRecordingPath(parsed.sessionName);
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
printCallOutput
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-GEVQ2GJW.js";
|
|
5
|
+
import "./chunk-YPTN46JQ.js";
|
|
6
6
|
import {
|
|
7
7
|
buildConnectionIssueEnvelope,
|
|
8
8
|
formatErrorMessage
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UCJ7YDFN.js";
|
|
10
10
|
import {
|
|
11
11
|
consumeOutputFormat
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TFU4NKFJ.js";
|
|
13
13
|
import {
|
|
14
14
|
wrapCallResult
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-L2LGMX5P.js";
|
|
16
|
+
import "./chunk-N7ZWX3WW.js";
|
|
17
17
|
import {
|
|
18
18
|
analyzeConnectionError
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-HN7WPMCA.js";
|
|
19
|
+
} from "./chunk-GL4AA5QV.js";
|
|
20
|
+
import "./chunk-CN5YF3IQ.js";
|
|
22
21
|
import "./chunk-LRKZP7DJ.js";
|
|
23
22
|
|
|
24
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
23
|
+
// node_modules/.pnpm/mcporter@0.13.10/node_modules/mcporter/dist/cli/resource-command.js
|
|
25
24
|
async function handleResource(runtime, args) {
|
|
26
25
|
const output = consumeOutputFormat(args, {
|
|
27
26
|
defaultFormat: "auto",
|
|
@@ -3,10 +3,9 @@ import {
|
|
|
3
3
|
createCallResult,
|
|
4
4
|
describeConnectionIssue,
|
|
5
5
|
wrapCallResult
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-HN7WPMCA.js";
|
|
6
|
+
} from "./chunk-L2LGMX5P.js";
|
|
7
|
+
import "./chunk-GL4AA5QV.js";
|
|
8
|
+
import "./chunk-CN5YF3IQ.js";
|
|
10
9
|
import "./chunk-LRKZP7DJ.js";
|
|
11
10
|
export {
|
|
12
11
|
createCallResult,
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
callOnce,
|
|
4
|
+
createRuntime
|
|
5
|
+
} from "./chunk-Y3L5LWBY.js";
|
|
6
|
+
import "./chunk-AS27BTCS.js";
|
|
7
|
+
import "./chunk-REEFOL44.js";
|
|
8
|
+
import "./chunk-AP5VHS73.js";
|
|
9
|
+
import "./chunk-M62ESEOY.js";
|
|
10
|
+
import "./chunk-Z6QEOUMK.js";
|
|
11
|
+
import "./chunk-YI5SMRFH.js";
|
|
12
|
+
import "./chunk-N7ZWX3WW.js";
|
|
13
|
+
import "./chunk-TGPIW6F6.js";
|
|
14
|
+
import {
|
|
15
|
+
MCPORTER_VERSION
|
|
16
|
+
} from "./chunk-NTABJCUL.js";
|
|
17
|
+
import "./chunk-YVH36MGQ.js";
|
|
18
|
+
import "./chunk-J2WP6ERZ.js";
|
|
19
|
+
import {
|
|
20
|
+
readJsonFile,
|
|
21
|
+
writeJsonFile
|
|
22
|
+
} from "./chunk-QIBGY4IX.js";
|
|
23
|
+
import "./chunk-G4H535MI.js";
|
|
24
|
+
import "./chunk-LYWEATXZ.js";
|
|
25
|
+
import "./chunk-EP22XMWK.js";
|
|
26
|
+
import "./chunk-D2P2IV4H.js";
|
|
27
|
+
import "./chunk-GL4AA5QV.js";
|
|
28
|
+
import "./chunk-CN5YF3IQ.js";
|
|
29
|
+
import "./chunk-LRKZP7DJ.js";
|
|
30
|
+
export {
|
|
31
|
+
MCPORTER_VERSION,
|
|
32
|
+
callOnce,
|
|
33
|
+
createRuntime,
|
|
34
|
+
readJsonFile,
|
|
35
|
+
writeJsonFile
|
|
36
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
createKeepAliveRuntime
|
|
4
|
+
} from "./chunk-MJHMXYMO.js";
|
|
5
|
+
import "./chunk-NTABJCUL.js";
|
|
6
|
+
import "./chunk-D2P2IV4H.js";
|
|
7
|
+
import "./chunk-LRKZP7DJ.js";
|
|
8
|
+
export {
|
|
9
|
+
createKeepAliveRuntime
|
|
10
|
+
};
|