@introspection-ai/recipes 0.61.0 → 0.62.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/documents/module.d.ts.map +1 -1
- package/dist/documents/module.js +2 -3
- package/dist/documents/module.js.map +1 -1
- package/dist/issues/module.d.ts.map +1 -1
- package/dist/issues/module.js +2 -2
- package/dist/issues/module.js.map +1 -1
- package/dist/mcp-chunks/{auth-command-WE7QY6RH.js → auth-command-ENP2QQ5Z.js} +67 -27
- package/dist/mcp-chunks/call-arguments-Z5REZUAX.js +16 -0
- package/dist/mcp-chunks/{call-command-OOBUGVTM.js → call-command-LOWTMLJD.js} +59 -43
- package/dist/mcp-chunks/{chunk-32UZRZIL.js → chunk-27PQUO34.js} +1 -1
- package/dist/mcp-chunks/{chunk-NJR33E7V.js → chunk-2OSM5WUI.js} +4 -4
- package/dist/mcp-chunks/{chunk-BI6L3SYV.js → chunk-33P3PYCH.js} +28 -20
- package/dist/mcp-chunks/{chunk-2PTK6KBV.js → chunk-3MELXKB4.js} +12 -9
- package/dist/mcp-chunks/{chunk-Z5XOB522.js → chunk-3P3Z5PKQ.js} +1 -1
- package/dist/mcp-chunks/{chunk-ZEMVGFKG.js → chunk-3TZZPKQP.js} +2 -2
- package/dist/mcp-chunks/{chunk-73TMUGJL.js → chunk-3UONQ24E.js} +3 -3
- package/dist/mcp-chunks/{chunk-W47YAN6W.js → chunk-5AVROWKC.js} +3 -3
- package/dist/mcp-chunks/{chunk-SYBDN4SV.js → chunk-6HA2S26Q.js} +5 -5
- package/dist/mcp-chunks/{chunk-MG6EVYIM.js → chunk-6IKBK334.js} +13 -13
- package/dist/mcp-chunks/{chunk-7SQZWTDU.js → chunk-6VAFZAST.js} +1 -1
- package/dist/mcp-chunks/{chunk-2R7UGABC.js → chunk-6WTCG4OR.js} +113 -89
- package/dist/mcp-chunks/{chunk-ZJZ53NIB.js → chunk-7JRVQRQ4.js} +10 -7
- package/dist/mcp-chunks/{chunk-AIUZOMBB.js → chunk-7LKVFBEL.js} +12 -12
- package/dist/mcp-chunks/{chunk-44KI6DPL.js → chunk-ACSE24O5.js} +15 -18
- package/dist/mcp-chunks/{chunk-5ZQKSEUN.js → chunk-B6YFFSTP.js} +6 -3
- package/dist/mcp-chunks/{chunk-3KSDZBUJ.js → chunk-BA3QLN3P.js} +5 -5
- package/dist/mcp-chunks/{chunk-MSPGQEWX.js → chunk-BMOK7SQE.js} +12 -12
- package/dist/mcp-chunks/{chunk-H44A4G2O.js → chunk-CPAQ4API.js} +2 -2
- package/dist/mcp-chunks/{chunk-Y7JQJ352.js → chunk-CSUDITHP.js} +16 -16
- package/dist/mcp-chunks/{chunk-UY2QWZB3.js → chunk-DSBXRWGJ.js} +64 -65
- package/dist/mcp-chunks/{chunk-DEYGZRBD.js → chunk-EUT2CVFE.js} +8 -5
- package/dist/mcp-chunks/{chunk-HPFIAALB.js → chunk-F4UVQBNV.js} +16 -13
- package/dist/mcp-chunks/{chunk-VLJQSE6L.js → chunk-F5XGHRRC.js} +9 -9
- package/dist/mcp-chunks/{chunk-YFPPHEDE.js → chunk-FMLYITVD.js} +1 -1
- package/dist/mcp-chunks/{chunk-37VJZIFW.js → chunk-FYRRJZPO.js} +8 -8
- package/dist/mcp-chunks/{chunk-2R2HWX2E.js → chunk-GJKH5KNE.js} +1 -1
- package/dist/mcp-chunks/{chunk-HGEKP2E5.js → chunk-H4TU7J5F.js} +9 -6
- package/dist/mcp-chunks/{chunk-4ACA5GWL.js → chunk-IX6HNQSH.js} +1 -1
- package/dist/mcp-chunks/{chunk-FJNWUAGR.js → chunk-KKM3M3F7.js} +13 -10
- package/dist/mcp-chunks/{chunk-Z43KJRXY.js → chunk-KUP2GHFE.js} +1 -1
- package/dist/mcp-chunks/{chunk-CWM4RO33.js → chunk-L3BBHB3E.js} +1 -1
- package/dist/mcp-chunks/{chunk-XU4D5QN2.js → chunk-M4RI6BN4.js} +1 -1
- package/dist/mcp-chunks/{chunk-EUHXZKP2.js → chunk-N53HQB4G.js} +108 -108
- package/dist/mcp-chunks/{chunk-HKMH4N3Z.js → chunk-NAGTWK62.js} +1 -1
- package/dist/mcp-chunks/{chunk-ABPXAKP7.js → chunk-OH3HVZE7.js} +40 -32
- package/dist/mcp-chunks/{chunk-4SO2DY7F.js → chunk-OHAXEQ22.js} +2 -2
- package/dist/mcp-chunks/{chunk-OSK2JGFH.js → chunk-PBYZ5QZW.js} +1 -1
- package/dist/mcp-chunks/{chunk-QYR3UKJS.js → chunk-PJH2FNYO.js} +3 -3
- package/dist/mcp-chunks/{chunk-FDVES4CU.js → chunk-PJSLJ3YK.js} +2 -2
- package/dist/mcp-chunks/{chunk-MW3YO24Q.js → chunk-PPJWHK7M.js} +3 -3
- package/dist/mcp-chunks/{chunk-4NABHXDS.js → chunk-QA6AKKCT.js} +11 -8
- package/dist/mcp-chunks/{chunk-DL3GVI4M.js → chunk-QDLNI6YU.js} +2 -2
- package/dist/mcp-chunks/{chunk-TTVO6RCP.js → chunk-QRC4AH7I.js} +2 -2
- package/dist/mcp-chunks/{chunk-Y7UTXETL.js → chunk-QRD3PAVF.js} +1 -1
- package/dist/mcp-chunks/{chunk-G5DK4L6M.js → chunk-RAUI7O2B.js} +2 -2
- package/dist/mcp-chunks/{chunk-VJ45Y5IO.js → chunk-RF3HIBXO.js} +1 -1
- package/dist/mcp-chunks/{chunk-CIQX62WO.js → chunk-RFQCNCWI.js} +2 -2
- package/dist/mcp-chunks/{chunk-GQM53HF7.js → chunk-SL74CLNX.js} +1 -1
- package/dist/mcp-chunks/{chunk-EVEVCVYR.js → chunk-TAEXC3CS.js} +5 -5
- package/dist/mcp-chunks/{chunk-QHD5RXW4.js → chunk-U4NDKPOH.js} +24 -17
- package/dist/mcp-chunks/{chunk-CFRA424Y.js → chunk-UP3I6WR3.js} +4 -4
- package/dist/mcp-chunks/{chunk-VJ5VDK6D.js → chunk-UZ5WW52A.js} +1 -1
- package/dist/mcp-chunks/{chunk-TT3LOCMN.js → chunk-V65N6VX7.js} +2 -2
- package/dist/mcp-chunks/{chunk-7KOGD2JK.js → chunk-VKRJV2OQ.js} +2 -2
- package/dist/mcp-chunks/{chunk-YGT57XUN.js → chunk-VNQIAJ4I.js} +2 -2
- package/dist/mcp-chunks/{chunk-EV3SP7ME.js → chunk-W3HK334E.js} +1 -1
- package/dist/mcp-chunks/{chunk-KUJUYFDC.js → chunk-XCAIV2CS.js} +4 -4
- package/dist/mcp-chunks/{chunk-TQ5T5VO7.js → chunk-YINZMSAI.js} +2 -2
- package/dist/mcp-chunks/{cli-TJFAYJO4.js → cli-QNVUCDJE.js} +70 -70
- package/dist/mcp-chunks/client-VL2MU7HF.js +32 -0
- package/dist/mcp-chunks/{config-command-YGNK2VVL.js → config-command-NMIYA3HF.js} +31 -31
- package/dist/mcp-chunks/daemon-command-SLRKTEMY.js +36 -0
- package/dist/mcp-chunks/dist-GMDBFGJD.js +69 -0
- package/dist/mcp-chunks/{dist-IFOLXE2R.js → dist-P7P5T6YZ.js} +1362 -1231
- package/dist/mcp-chunks/{emit-ts-command-4EVF6CIG.js → emit-ts-command-CH34ZIJL.js} +18 -18
- package/dist/mcp-chunks/{generate-cli-runner-UFVSXJVK.js → generate-cli-runner-3X2GEPPY.js} +57 -55
- package/dist/mcp-chunks/generated-daemon-runtime-BL7IYY6T.js +32 -0
- package/dist/mcp-chunks/{inspect-cli-command-L3JGLLTG.js → inspect-cli-command-JCKHV5GL.js} +16 -13
- package/dist/mcp-chunks/{launch-LUKDWKH4.js → launch-YFY4X7YJ.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-H57PYAZ5.js → lifecycle-UUTEE5WE.js} +1 -1
- package/dist/mcp-chunks/{list-command-QBO4LK5Q.js → list-command-VDZVNILR.js} +36 -36
- package/dist/mcp-chunks/{logger-LvdykevT-BQ5B4N5O.js → logger-CpvFcLaq-27JFRZ4G.js} +3 -3
- package/dist/mcp-chunks/{output-utils-MB3PEV2M.js → output-utils-SYVU3XAD.js} +3 -3
- package/dist/mcp-chunks/{pi-mcp-runtime-OIMIJV5A.js → pi-mcp-runtime-V2OMZAIR.js} +1 -1
- package/dist/mcp-chunks/{prompt-DkftHXS7-TE2LNPAM.js → prompt-DkftHXS7-6LABGWLG.js} +1 -1
- package/dist/mcp-chunks/{record-command-RYDP3Y2A.js → record-command-U7L3OGJZ.js} +6 -5
- package/dist/mcp-chunks/{replay-command-QDJCQ5JU.js → replay-command-4AZZBGXO.js} +7 -6
- package/dist/mcp-chunks/{resource-command-RKHHQBFP.js → resource-command-BZZBELBM.js} +14 -11
- package/dist/mcp-chunks/{result-utils-ZD5GFX7P.js → result-utils-XNXSDC6N.js} +3 -3
- package/dist/mcp-chunks/runtime-OVVVPYHO.js +39 -0
- package/dist/mcp-chunks/{runtime-wrapper-AV4JCNRF.js → runtime-wrapper-6BUJRMQL.js} +3 -3
- package/dist/mcp-chunks/{serve-command-MRPTK4XX.js → serve-command-ZY3PLYNM.js} +39 -36
- package/dist/mcp-chunks/server-6DQUPUFW.js +43 -0
- package/dist/mcp-chunks/{timeouts-2SQIDYBE.js → timeouts-EEXKP36K.js} +4 -4
- package/dist/mcp-chunks/{vault-command-6JVDCFWU.js → vault-command-PRTY3B4I.js} +5 -5
- package/dist/mcp-chunks/{webapi-CI4O7AUX.js → webapi-SSFFKLRR.js} +1 -1
- package/dist/mcp-daemon.js +35 -35
- package/dist/mcp-run-worker.js +34 -34
- package/dist/memory-context.d.ts +16 -0
- package/dist/memory-context.d.ts.map +1 -0
- package/dist/memory-context.js +100 -0
- package/dist/memory-context.js.map +1 -0
- package/dist/memory.d.ts +2 -0
- package/dist/memory.d.ts.map +1 -1
- package/dist/memory.js +13 -0
- package/dist/memory.js.map +1 -1
- package/dist/pi-extension.d.ts.map +1 -1
- package/dist/pi-extension.js +6 -0
- package/dist/pi-extension.js.map +1 -1
- package/dist/productivity/module.js +2 -2
- package/dist/productivity/module.js.map +1 -1
- package/dist/recipe/companions.d.ts +14 -0
- package/dist/recipe/companions.d.ts.map +1 -1
- package/dist/recipe/companions.js +23 -0
- package/dist/recipe/companions.js.map +1 -1
- package/dist/recipe/manifest.generated.d.ts +1 -1
- package/dist/recipe/manifest.generated.js +1 -1
- package/dist/recipe/python.d.ts.map +1 -1
- package/dist/recipe/python.js +2 -5
- package/dist/recipe/python.js.map +1 -1
- package/dist/recipe/resolve.d.ts +1 -0
- package/dist/recipe/resolve.d.ts.map +1 -1
- package/dist/recipe/resolve.js +1 -0
- package/dist/recipe/resolve.js.map +1 -1
- package/dist/search/tool.d.ts.map +1 -1
- package/dist/search/tool.js +2 -2
- package/dist/search/tool.js.map +1 -1
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +27 -9
- package/dist/session.js.map +1 -1
- package/dist/signature/module.d.ts.map +1 -1
- package/dist/signature/module.js +2 -2
- package/dist/signature/module.js.map +1 -1
- package/docs/host-api.md +18 -10
- package/docs/pi-extension.md +11 -0
- package/docs/recipe-format.md +6 -0
- package/package.json +8 -8
- package/dist/mcp-chunks/call-arguments-2ABANGLE.js +0 -16
- package/dist/mcp-chunks/client-LDKUW5K5.js +0 -32
- package/dist/mcp-chunks/daemon-command-UYAYRHVD.js +0 -36
- package/dist/mcp-chunks/dist-5JNZD3JV.js +0 -69
- package/dist/mcp-chunks/generated-daemon-runtime-LTH36X2R.js +0 -32
- package/dist/mcp-chunks/runtime-F7PP4V25.js +0 -39
- package/dist/mcp-chunks/server-2WSYXDII.js +0 -43
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
loadToolMetadata
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YINZMSAI.js";
|
|
5
5
|
import {
|
|
6
6
|
extractGeneratorFlags,
|
|
7
7
|
readPackageMetadata
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-F4UVQBNV.js";
|
|
9
9
|
import {
|
|
10
10
|
buildToolDoc,
|
|
11
11
|
formatParameterObjectType
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-BA3QLN3P.js";
|
|
13
|
+
import "./chunk-6VAFZAST.js";
|
|
14
|
+
import "./chunk-PJH2FNYO.js";
|
|
15
15
|
import {
|
|
16
16
|
findServerByHttpUrl
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3TZZPKQP.js";
|
|
18
18
|
import {
|
|
19
19
|
extractHttpServerTarget
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-27PQUO34.js";
|
|
21
21
|
import {
|
|
22
22
|
consumeOutputFormat
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-7JRVQRQ4.js";
|
|
24
|
+
import "./chunk-UZ5WW52A.js";
|
|
25
25
|
import {
|
|
26
26
|
CliUsageError
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-W3HK334E.js";
|
|
28
|
+
import "./chunk-3P3Z5PKQ.js";
|
|
29
|
+
import "./chunk-BMOK7SQE.js";
|
|
30
|
+
import "./chunk-F5XGHRRC.js";
|
|
31
31
|
import {
|
|
32
32
|
isRecord
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-PBYZ5QZW.js";
|
|
34
34
|
import "./chunk-T4MQCFIK.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-IX6HNQSH.js";
|
|
36
36
|
import "./chunk-LRKZP7DJ.js";
|
|
37
37
|
|
|
38
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
38
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/emit-ts-command.js
|
|
39
39
|
import fs from "node:fs/promises";
|
|
40
40
|
import path2 from "node:path";
|
|
41
41
|
|
|
42
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
42
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/emit-ts-templates.js
|
|
43
43
|
import path from "node:path";
|
|
44
44
|
function renderTypesModule(input) {
|
|
45
45
|
const lines = [];
|
|
@@ -208,7 +208,7 @@ function describeSource(definition) {
|
|
|
208
208
|
return void 0;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
211
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/emit-ts-command.js
|
|
212
212
|
async function handleEmitTs(runtime, args) {
|
|
213
213
|
const options = parseEmitTsArgs(args);
|
|
214
214
|
const definition = getServerDefinition(runtime, options.server);
|
|
@@ -5,77 +5,79 @@ import {
|
|
|
5
5
|
readPackageMetadata,
|
|
6
6
|
safeCopyFile,
|
|
7
7
|
writeTemplate
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-F4UVQBNV.js";
|
|
9
|
+
import "./chunk-BA3QLN3P.js";
|
|
10
10
|
import {
|
|
11
11
|
buildToolMetadataList,
|
|
12
12
|
toolsTestHelpers
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6VAFZAST.js";
|
|
14
14
|
import {
|
|
15
15
|
buildGenerateCliCommand,
|
|
16
16
|
readCliMetadata,
|
|
17
17
|
resolveGenerateRequestFromArtifact,
|
|
18
18
|
serializeDefinition,
|
|
19
19
|
validateToolSelection
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-QA6AKKCT.js";
|
|
21
|
+
import "./chunk-KUP2GHFE.js";
|
|
22
|
+
import "./chunk-PJH2FNYO.js";
|
|
23
23
|
import {
|
|
24
24
|
splitCommandLine,
|
|
25
25
|
toAsciiSlug
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-U4NDKPOH.js";
|
|
27
27
|
import {
|
|
28
28
|
extractHttpServerTarget,
|
|
29
29
|
looksLikeHttpUrl,
|
|
30
30
|
normalizeHttpUrl,
|
|
31
31
|
normalizeHttpUrlCandidate,
|
|
32
32
|
splitHttpToolSelector
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-27PQUO34.js";
|
|
34
34
|
import {
|
|
35
35
|
expectValue
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import
|
|
36
|
+
} from "./chunk-B6YFFSTP.js";
|
|
37
|
+
import "./chunk-UZ5WW52A.js";
|
|
38
|
+
import {
|
|
39
|
+
CliUsageError
|
|
40
|
+
} from "./chunk-W3HK334E.js";
|
|
39
41
|
import {
|
|
40
42
|
createRuntime
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-6WTCG4OR.js";
|
|
44
|
+
import "./chunk-CPAQ4API.js";
|
|
43
45
|
import {
|
|
44
46
|
stableJsonStringify
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-3P3Z5PKQ.js";
|
|
48
|
+
import "./chunk-GJKH5KNE.js";
|
|
49
|
+
import "./chunk-SL74CLNX.js";
|
|
48
50
|
import {
|
|
49
51
|
MCPORTER_VERSION
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-BMOK7SQE.js";
|
|
53
|
+
import "./chunk-F5XGHRRC.js";
|
|
54
|
+
import "./chunk-7LKVFBEL.js";
|
|
55
|
+
import "./chunk-FYRRJZPO.js";
|
|
56
|
+
import "./chunk-33P3PYCH.js";
|
|
57
|
+
import "./chunk-FMLYITVD.js";
|
|
56
58
|
import {
|
|
57
59
|
RawEntrySchema,
|
|
58
60
|
VaultEncryptionPolicySchema,
|
|
59
61
|
loadServerDefinitions,
|
|
60
62
|
normalizeServerEntry
|
|
61
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-CSUDITHP.js";
|
|
62
64
|
import {
|
|
63
65
|
parseJsonBuffer
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-PBYZ5QZW.js";
|
|
67
|
+
import "./chunk-QRC4AH7I.js";
|
|
68
|
+
import "./chunk-PPJWHK7M.js";
|
|
69
|
+
import "./chunk-RAUI7O2B.js";
|
|
68
70
|
import "./chunk-T4MQCFIK.js";
|
|
69
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-IX6HNQSH.js";
|
|
70
72
|
import {
|
|
71
73
|
resolveLifecycle
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
74
|
+
} from "./chunk-L3BBHB3E.js";
|
|
75
|
+
import "./chunk-DSBXRWGJ.js";
|
|
76
|
+
import "./chunk-VKRJV2OQ.js";
|
|
77
|
+
import "./chunk-N53HQB4G.js";
|
|
76
78
|
import "./chunk-LRKZP7DJ.js";
|
|
77
79
|
|
|
78
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
80
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/generate/name-utils.js
|
|
79
81
|
function inferNameFromCommand(command) {
|
|
80
82
|
if (typeof command === "string") {
|
|
81
83
|
const normalizedHttp = normalizeHttpUrlCandidate(command);
|
|
@@ -164,8 +166,8 @@ function looksLikeInlineCommand(value) {
|
|
|
164
166
|
}
|
|
165
167
|
function parseInlineCommand(value) {
|
|
166
168
|
const parts = splitCommandLine(value.trim());
|
|
167
|
-
if (parts.length === 0) {
|
|
168
|
-
throw new
|
|
169
|
+
if (parts.length === 0 || parts[0] === "") {
|
|
170
|
+
throw new CliUsageError("--command requires a non-empty value.");
|
|
169
171
|
}
|
|
170
172
|
const [command, ...rest] = parts;
|
|
171
173
|
return { command, args: rest };
|
|
@@ -234,7 +236,7 @@ function deriveNameFromUrl(url) {
|
|
|
234
236
|
return void 0;
|
|
235
237
|
}
|
|
236
238
|
|
|
237
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
239
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/generate/flags.js
|
|
238
240
|
function parseGenerateFlags(args) {
|
|
239
241
|
const common = extractGeneratorFlags(args);
|
|
240
242
|
let server;
|
|
@@ -321,7 +323,7 @@ function parseGenerateFlags(args) {
|
|
|
321
323
|
if (token === "--bundler") {
|
|
322
324
|
const value = expectValue(token, args[index + 1]);
|
|
323
325
|
if (value !== "rolldown" && value !== "bun") {
|
|
324
|
-
throw new
|
|
326
|
+
throw new CliUsageError("--bundler must be 'rolldown' or 'bun'.");
|
|
325
327
|
}
|
|
326
328
|
bundler = value;
|
|
327
329
|
args.splice(index, 2);
|
|
@@ -349,7 +351,7 @@ function parseGenerateFlags(args) {
|
|
|
349
351
|
continue;
|
|
350
352
|
}
|
|
351
353
|
if (token.startsWith("--")) {
|
|
352
|
-
throw new
|
|
354
|
+
throw new CliUsageError(`Unknown flag '${token}' for generate-cli.`);
|
|
353
355
|
}
|
|
354
356
|
index += 1;
|
|
355
357
|
}
|
|
@@ -417,12 +419,12 @@ function normalizeCommandInput2(value) {
|
|
|
417
419
|
return command;
|
|
418
420
|
}
|
|
419
421
|
|
|
420
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
422
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/generate-cli.js
|
|
421
423
|
import fs3 from "node:fs/promises";
|
|
422
424
|
import { createHash } from "node:crypto";
|
|
423
425
|
import path4 from "node:path";
|
|
424
426
|
|
|
425
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
427
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/generate/artifacts.js
|
|
426
428
|
import { execFile as execFile2 } from "node:child_process";
|
|
427
429
|
import fsSync from "node:fs";
|
|
428
430
|
import fs from "node:fs/promises";
|
|
@@ -430,7 +432,7 @@ import { builtinModules, createRequire } from "node:module";
|
|
|
430
432
|
import path2 from "node:path";
|
|
431
433
|
import { fileURLToPath } from "node:url";
|
|
432
434
|
|
|
433
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
435
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/generate/runtime.js
|
|
434
436
|
import { execFile } from "node:child_process";
|
|
435
437
|
import path from "node:path";
|
|
436
438
|
import { devNull } from "node:os";
|
|
@@ -494,7 +496,7 @@ async function isBunAvailable() {
|
|
|
494
496
|
}
|
|
495
497
|
}
|
|
496
498
|
|
|
497
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
499
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/generate/artifacts.js
|
|
498
500
|
var localRequire = createRequire(import.meta.url);
|
|
499
501
|
var packageRoot = fileURLToPath(new URL("../../..", import.meta.url));
|
|
500
502
|
var BUNDLED_DEPENDENCIES = ["commander", "mcporter", "jsonc-parser"];
|
|
@@ -509,7 +511,7 @@ async function bundleOutput({ sourcePath, targetPath, runtimeKind, minify, bundl
|
|
|
509
511
|
async function bundleWithRolldown({ sourcePath, targetPath, runtimeKind, minify }) {
|
|
510
512
|
let rolldownImpl;
|
|
511
513
|
try {
|
|
512
|
-
({ rolldown: rolldownImpl } = await import("./dist-
|
|
514
|
+
({ rolldown: rolldownImpl } = await import("./dist-P7P5T6YZ.js"));
|
|
513
515
|
} catch (error) {
|
|
514
516
|
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.";
|
|
515
517
|
if (error instanceof Error) {
|
|
@@ -623,11 +625,11 @@ function resolveBundleTarget({ bundle, compile, outputPath }) {
|
|
|
623
625
|
}
|
|
624
626
|
if (bundle) {
|
|
625
627
|
if (compile) {
|
|
626
|
-
throw new
|
|
628
|
+
throw new CliUsageError("--bundle requires an explicit output path when used with --compile.");
|
|
627
629
|
}
|
|
628
630
|
const ext = path2.extname(outputPath);
|
|
629
631
|
if (ext.toLowerCase() === ".js") {
|
|
630
|
-
throw new
|
|
632
|
+
throw new CliUsageError("--bundle requires an explicit output path when --output already ends in .js.");
|
|
631
633
|
}
|
|
632
634
|
return path2.join(path2.dirname(outputPath), `${path2.basename(outputPath, ext)}.js`);
|
|
633
635
|
}
|
|
@@ -641,7 +643,7 @@ function resolveBundleTarget({ bundle, compile, outputPath }) {
|
|
|
641
643
|
const baseName = path2.basename(outputPath, path2.extname(outputPath)) || "bundle";
|
|
642
644
|
return path2.join(tmpDir, `${baseName}-${Date.now()}.bundle.js`);
|
|
643
645
|
}
|
|
644
|
-
throw new
|
|
646
|
+
throw new CliUsageError("--compile requires an explicit bundle target.");
|
|
645
647
|
}
|
|
646
648
|
function computeCompileTarget(compileOption, _bundlePath, serverName) {
|
|
647
649
|
if (typeof compileOption === "string") {
|
|
@@ -801,7 +803,7 @@ function resolveUniquePath(directory, baseName) {
|
|
|
801
803
|
return attempt;
|
|
802
804
|
}
|
|
803
805
|
|
|
804
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
806
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/generate/definition.js
|
|
805
807
|
import fs2 from "node:fs/promises";
|
|
806
808
|
import path3 from "node:path";
|
|
807
809
|
function ensureInvocationDefaults(invocation, definition) {
|
|
@@ -886,7 +888,7 @@ async function fetchTools(definition, serverName, configPath, rootDir) {
|
|
|
886
888
|
rootDir,
|
|
887
889
|
servers: [definition]
|
|
888
890
|
});
|
|
889
|
-
const { createGeneratedKeepAliveRuntime } = await import("./generated-daemon-runtime-
|
|
891
|
+
const { createGeneratedKeepAliveRuntime } = await import("./generated-daemon-runtime-BL7IYY6T.js");
|
|
890
892
|
const context = await createGeneratedKeepAliveRuntime(base, definition);
|
|
891
893
|
const runtime = context.runtime;
|
|
892
894
|
try {
|
|
@@ -1171,7 +1173,7 @@ function toStringRecord(value) {
|
|
|
1171
1173
|
return Object.keys(result).length > 0 ? result : void 0;
|
|
1172
1174
|
}
|
|
1173
1175
|
|
|
1174
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
1176
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/generate-cli.js
|
|
1175
1177
|
var REPRODUCIBLE_GENERATED_AT = "1970-01-01T00:00:00.000Z";
|
|
1176
1178
|
async function generateCli(options) {
|
|
1177
1179
|
const runtimeKind = await resolveRuntimeKind(options.runtime, options.compile);
|
|
@@ -1370,7 +1372,7 @@ function applyToolFilters(tools, includeTools, excludeTools) {
|
|
|
1370
1372
|
}
|
|
1371
1373
|
var __test = { ...toolsTestHelpers, applyToolFilters };
|
|
1372
1374
|
|
|
1373
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
1375
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/generate/output.js
|
|
1374
1376
|
async function performGenerateFromArtifact(metadata, request) {
|
|
1375
1377
|
const { outputPath, bundlePath, compilePath } = await generateCli(request);
|
|
1376
1378
|
if (metadata.artifact.kind === "binary" && compilePath) {
|
|
@@ -1394,7 +1396,7 @@ async function performGenerateFromRequest(request) {
|
|
|
1394
1396
|
}
|
|
1395
1397
|
}
|
|
1396
1398
|
|
|
1397
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
1399
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/generate/server-utils.js
|
|
1398
1400
|
function buildInlineServerDefinition(name, command, description) {
|
|
1399
1401
|
if (typeof command === "string") {
|
|
1400
1402
|
const url = normalizeHttpUrlCandidate(command) ?? command;
|
|
@@ -1427,17 +1429,17 @@ function buildInlineServerDefinition(name, command, description) {
|
|
|
1427
1429
|
};
|
|
1428
1430
|
}
|
|
1429
1431
|
|
|
1430
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
1432
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/generate-cli-runner.js
|
|
1431
1433
|
async function handleGenerateCli(args, globalFlags) {
|
|
1432
1434
|
const parsed = parseGenerateFlags(args);
|
|
1433
1435
|
validateToolSelection(parsed.includeTools, parsed.excludeTools, {
|
|
1434
1436
|
mutuallyExclusiveMessage: "--include-tools and --exclude-tools cannot be used together."
|
|
1435
1437
|
});
|
|
1436
1438
|
if (parsed.from && (parsed.command || parsed.description || parsed.name)) {
|
|
1437
|
-
throw new
|
|
1439
|
+
throw new CliUsageError("--from cannot be combined with --command/--description/--name.");
|
|
1438
1440
|
}
|
|
1439
1441
|
if (parsed.dryRun && !parsed.from) {
|
|
1440
|
-
throw new
|
|
1442
|
+
throw new CliUsageError("--dry-run currently requires --from <artifact>.");
|
|
1441
1443
|
}
|
|
1442
1444
|
if (parsed.from) {
|
|
1443
1445
|
const metadata = await readCliMetadata(parsed.from);
|
|
@@ -1466,7 +1468,7 @@ async function handleGenerateCli(args, globalFlags) {
|
|
|
1466
1468
|
const inferredName = parsed.name ?? (parsed.command ? inferNameFromCommand(parsed.command) : void 0);
|
|
1467
1469
|
const serverRef = parsed.server ?? (parsed.command && inferredName ? JSON.stringify(buildInlineServerDefinition(inferredName, parsed.command, parsed.description)) : void 0);
|
|
1468
1470
|
if (!serverRef) {
|
|
1469
|
-
throw new
|
|
1471
|
+
throw new CliUsageError("Provide --server with a definition or a command we can infer a name from (use --name to override).");
|
|
1470
1472
|
}
|
|
1471
1473
|
await performGenerateFromRequest({
|
|
1472
1474
|
serverRef,
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
createGeneratedKeepAliveRuntime
|
|
4
|
+
} from "./chunk-UP3I6WR3.js";
|
|
5
|
+
import "./chunk-5AVROWKC.js";
|
|
6
|
+
import "./chunk-OH3HVZE7.js";
|
|
7
|
+
import "./chunk-6WTCG4OR.js";
|
|
8
|
+
import "./chunk-CPAQ4API.js";
|
|
9
|
+
import "./chunk-3P3Z5PKQ.js";
|
|
10
|
+
import "./chunk-GJKH5KNE.js";
|
|
11
|
+
import "./chunk-SL74CLNX.js";
|
|
12
|
+
import "./chunk-BMOK7SQE.js";
|
|
13
|
+
import "./chunk-F5XGHRRC.js";
|
|
14
|
+
import "./chunk-7LKVFBEL.js";
|
|
15
|
+
import "./chunk-FYRRJZPO.js";
|
|
16
|
+
import "./chunk-33P3PYCH.js";
|
|
17
|
+
import "./chunk-FMLYITVD.js";
|
|
18
|
+
import "./chunk-CSUDITHP.js";
|
|
19
|
+
import "./chunk-PBYZ5QZW.js";
|
|
20
|
+
import "./chunk-QRC4AH7I.js";
|
|
21
|
+
import "./chunk-PPJWHK7M.js";
|
|
22
|
+
import "./chunk-RAUI7O2B.js";
|
|
23
|
+
import "./chunk-T4MQCFIK.js";
|
|
24
|
+
import "./chunk-IX6HNQSH.js";
|
|
25
|
+
import "./chunk-L3BBHB3E.js";
|
|
26
|
+
import "./chunk-DSBXRWGJ.js";
|
|
27
|
+
import "./chunk-VKRJV2OQ.js";
|
|
28
|
+
import "./chunk-N53HQB4G.js";
|
|
29
|
+
import "./chunk-LRKZP7DJ.js";
|
|
30
|
+
export {
|
|
31
|
+
createGeneratedKeepAliveRuntime
|
|
32
|
+
};
|
|
@@ -2,25 +2,28 @@ import { createRequire as __createRequire } from "node:module"; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
formatPathForDisplay,
|
|
4
4
|
formatSourceSuffix
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2OSM5WUI.js";
|
|
6
6
|
import {
|
|
7
7
|
buildGenerateCliCommand,
|
|
8
8
|
readCliMetadata,
|
|
9
9
|
shellQuote
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-QA6AKKCT.js";
|
|
11
|
+
import "./chunk-KUP2GHFE.js";
|
|
12
12
|
import {
|
|
13
13
|
consumeOutputFormat
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7JRVQRQ4.js";
|
|
15
15
|
import {
|
|
16
16
|
expectValue
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import
|
|
20
|
-
|
|
17
|
+
} from "./chunk-B6YFFSTP.js";
|
|
18
|
+
import "./chunk-UZ5WW52A.js";
|
|
19
|
+
import {
|
|
20
|
+
CliUsageError
|
|
21
|
+
} from "./chunk-W3HK334E.js";
|
|
22
|
+
import "./chunk-VKRJV2OQ.js";
|
|
23
|
+
import "./chunk-N53HQB4G.js";
|
|
21
24
|
import "./chunk-LRKZP7DJ.js";
|
|
22
25
|
|
|
23
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
26
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/inspect-cli-command.js
|
|
24
27
|
async function handleInspectCli(args) {
|
|
25
28
|
const parsed = parseInspectFlags(args);
|
|
26
29
|
const metadata = await readCliMetadata(parsed.artifactPath);
|
|
@@ -81,23 +84,23 @@ function parseInspectFlags(args) {
|
|
|
81
84
|
if (token === "--format") {
|
|
82
85
|
const value = expectValue(token, args[index + 1]);
|
|
83
86
|
if (value !== "json" && value !== "text") {
|
|
84
|
-
throw new
|
|
87
|
+
throw new CliUsageError("--format must be 'json' or 'text'.");
|
|
85
88
|
}
|
|
86
89
|
format = value;
|
|
87
90
|
args.splice(index, 2);
|
|
88
91
|
continue;
|
|
89
92
|
}
|
|
90
93
|
if (token.startsWith("--")) {
|
|
91
|
-
throw new
|
|
94
|
+
throw new CliUsageError(`Unknown flag '${token}' for inspect-cli.`);
|
|
92
95
|
}
|
|
93
96
|
index += 1;
|
|
94
97
|
}
|
|
95
98
|
const artifactPath = args.shift();
|
|
96
99
|
if (!artifactPath) {
|
|
97
|
-
throw new
|
|
100
|
+
throw new CliUsageError("Usage: mcporter inspect-cli <artifact> [--json]");
|
|
98
101
|
}
|
|
99
102
|
if (args.length > 0) {
|
|
100
|
-
throw new
|
|
103
|
+
throw new CliUsageError(`Unexpected inspect-cli argument '${args[0]}'.`);
|
|
101
104
|
}
|
|
102
105
|
return { artifactPath, format };
|
|
103
106
|
}
|
|
@@ -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-RF3HIBXO.js";
|
|
6
6
|
import "./chunk-LRKZP7DJ.js";
|
|
7
7
|
export {
|
|
8
8
|
buildDaemonLaunchInvocation,
|
|
@@ -1,71 +1,71 @@
|
|
|
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-H4TU7J5F.js";
|
|
5
5
|
import {
|
|
6
6
|
loadToolMetadata
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
chooseClosestIdentifier,
|
|
10
|
-
renderIdentifierResolutionMessages
|
|
11
|
-
} from "./chunk-XU4D5QN2.js";
|
|
7
|
+
} from "./chunk-YINZMSAI.js";
|
|
12
8
|
import {
|
|
13
9
|
buildToolDoc,
|
|
14
10
|
formatExampleBlock
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-BA3QLN3P.js";
|
|
12
|
+
import "./chunk-6VAFZAST.js";
|
|
17
13
|
import {
|
|
18
14
|
classifyListError,
|
|
19
15
|
formatSourceSuffix,
|
|
20
16
|
renderServerListRow
|
|
21
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2OSM5WUI.js";
|
|
22
18
|
import {
|
|
23
19
|
resolveListTimeout,
|
|
24
20
|
withTimeout
|
|
25
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PJH2FNYO.js";
|
|
26
22
|
import {
|
|
27
23
|
persistPreparedEphemeralServer,
|
|
28
24
|
prepareEphemeralServerTarget,
|
|
29
25
|
renderAdhocServerHelpLines
|
|
30
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6HA2S26Q.js";
|
|
31
27
|
import {
|
|
32
28
|
formatErrorMessage,
|
|
33
29
|
serializeConnectionIssue
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import
|
|
37
|
-
|
|
30
|
+
} from "./chunk-QRD3PAVF.js";
|
|
31
|
+
import "./chunk-3TZZPKQP.js";
|
|
32
|
+
import {
|
|
33
|
+
chooseClosestIdentifier,
|
|
34
|
+
renderIdentifierResolutionMessages
|
|
35
|
+
} from "./chunk-M4RI6BN4.js";
|
|
36
|
+
import "./chunk-U4NDKPOH.js";
|
|
37
|
+
import "./chunk-KKM3M3F7.js";
|
|
38
38
|
import {
|
|
39
39
|
splitHttpToolSelector
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-27PQUO34.js";
|
|
41
|
+
import "./chunk-7JRVQRQ4.js";
|
|
42
42
|
import {
|
|
43
43
|
boldText,
|
|
44
44
|
dimText,
|
|
45
45
|
extraDimText,
|
|
46
46
|
supportsSpinner,
|
|
47
47
|
yellowText
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-UZ5WW52A.js";
|
|
49
49
|
import {
|
|
50
50
|
CliUsageError
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-W3HK334E.js";
|
|
52
52
|
import {
|
|
53
53
|
setStdioLogMode
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-SL74CLNX.js";
|
|
55
55
|
import {
|
|
56
56
|
MCPORTER_VERSION
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-BMOK7SQE.js";
|
|
58
|
+
import "./chunk-F5XGHRRC.js";
|
|
59
|
+
import "./chunk-CSUDITHP.js";
|
|
60
|
+
import "./chunk-PBYZ5QZW.js";
|
|
61
|
+
import "./chunk-QRC4AH7I.js";
|
|
62
|
+
import "./chunk-PPJWHK7M.js";
|
|
63
|
+
import "./chunk-RAUI7O2B.js";
|
|
64
64
|
import "./chunk-T4MQCFIK.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-IX6HNQSH.js";
|
|
66
|
+
import "./chunk-L3BBHB3E.js";
|
|
67
|
+
import "./chunk-VKRJV2OQ.js";
|
|
68
|
+
import "./chunk-N53HQB4G.js";
|
|
69
69
|
import {
|
|
70
70
|
__export
|
|
71
71
|
} from "./chunk-LRKZP7DJ.js";
|
|
@@ -3529,7 +3529,7 @@ function ora(options) {
|
|
|
3529
3529
|
return new Ora(options);
|
|
3530
3530
|
}
|
|
3531
3531
|
|
|
3532
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
3532
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/transport-utils.js
|
|
3533
3533
|
function formatTransportSummary(definition) {
|
|
3534
3534
|
if (definition.command.kind === "http") {
|
|
3535
3535
|
const url = definition.command.url instanceof URL ? definition.command.url.href : String(definition.command.url);
|
|
@@ -3539,7 +3539,7 @@ function formatTransportSummary(definition) {
|
|
|
3539
3539
|
return `STDIO ${rendered}`;
|
|
3540
3540
|
}
|
|
3541
3541
|
|
|
3542
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
3542
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/list-output.js
|
|
3543
3543
|
function printSingleServerHeader(definition, toolCount, durationMs, transportSummary, sourcePath, options) {
|
|
3544
3544
|
const prefix = boldText(definition.name);
|
|
3545
3545
|
if (definition.description) {
|
|
@@ -3716,7 +3716,7 @@ function quoteCommandSegment(segment) {
|
|
|
3716
3716
|
return `'${segment.replace(/'/g, `'\\''`)}'`;
|
|
3717
3717
|
}
|
|
3718
3718
|
|
|
3719
|
-
// node_modules/.pnpm/mcporter@0.17.
|
|
3719
|
+
// node_modules/.pnpm/mcporter@0.17.1/node_modules/mcporter/dist/cli/list-command.js
|
|
3720
3720
|
async function handleList(runtime, args) {
|
|
3721
3721
|
const flags = extractListFlags(args);
|
|
3722
3722
|
let target = args.shift();
|
|
@@ -3741,7 +3741,7 @@ async function handleList(runtime, args) {
|
|
|
3741
3741
|
target = prepared.target;
|
|
3742
3742
|
if (!target) {
|
|
3743
3743
|
if (flags.brief) {
|
|
3744
|
-
throw new
|
|
3744
|
+
throw new CliUsageError("--brief requires a server target.");
|
|
3745
3745
|
}
|
|
3746
3746
|
const previousStdioLogMode2 = setStdioLogMode("silent");
|
|
3747
3747
|
try {
|
|
@@ -3832,7 +3832,7 @@ async function handleList(runtime, args) {
|
|
|
3832
3832
|
}
|
|
3833
3833
|
}
|
|
3834
3834
|
if (flags.statusOnly && requestedTool) {
|
|
3835
|
-
throw new
|
|
3835
|
+
throw new CliUsageError("--status cannot be used with a tool selector.");
|
|
3836
3836
|
}
|
|
3837
3837
|
const resolved = resolveServerDefinition(runtime, target, { quiet: flags.quiet });
|
|
3838
3838
|
if (!resolved) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
__exportAll
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TAEXC3CS.js";
|
|
5
5
|
import "./chunk-LRKZP7DJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/rolldown@1.2
|
|
7
|
+
// node_modules/.pnpm/rolldown@1.3.2/node_modules/rolldown/dist/shared/logger-CpvFcLaq.mjs
|
|
8
8
|
import { sep } from "node:path";
|
|
9
9
|
import { formatWithOptions } from "node:util";
|
|
10
10
|
import g$1 from "node:process";
|
|
@@ -955,7 +955,7 @@ function createConsola(options = {}) {
|
|
|
955
955
|
defaults: { level },
|
|
956
956
|
stdout: process.stdout,
|
|
957
957
|
stderr: process.stderr,
|
|
958
|
-
prompt: (...args) => import("./prompt-DkftHXS7-
|
|
958
|
+
prompt: (...args) => import("./prompt-DkftHXS7-6LABGWLG.js").then((m) => m.prompt(...args)),
|
|
959
959
|
reporters: options.reporters || [options.fancy ?? !(T || R) ? new FancyReporter() : new BasicReporter()],
|
|
960
960
|
...options
|
|
961
961
|
});
|
|
@@ -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-PJSLJ3YK.js";
|
|
6
|
+
import "./chunk-RFQCNCWI.js";
|
|
7
|
+
import "./chunk-FMLYITVD.js";
|
|
8
8
|
import "./chunk-LRKZP7DJ.js";
|
|
9
9
|
export {
|
|
10
10
|
printCallOutput,
|