@introspection-ai/recipes 0.18.0 → 0.19.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/inspect.d.ts +1 -0
- package/dist/inspect.d.ts.map +1 -1
- package/dist/inspect.js +3 -0
- package/dist/inspect.js.map +1 -1
- package/dist/mcp-chunks/{auth-command-ZLGYIEUY.js → auth-command-3K7V3VCW.js} +31 -35
- package/dist/mcp-chunks/call-arguments-TX3F2TEE.js +15 -0
- package/dist/mcp-chunks/{call-command-LKTKSYTH.js → call-command-OFPHPFM5.js} +36 -34
- package/dist/mcp-chunks/chunk-2FSDGCHW.js +3299 -0
- package/dist/mcp-chunks/{chunk-BV56DXPW.js → chunk-2JHHONW4.js} +1 -1
- package/dist/mcp-chunks/chunk-2MEHGB7D.js +63 -0
- package/dist/mcp-chunks/chunk-3IZQW4H4.js +929 -0
- package/dist/mcp-chunks/{chunk-MZ2NARG7.js → chunk-54EWGONA.js} +5 -5
- package/dist/mcp-chunks/{chunk-LQQEYD76.js → chunk-55JIHDU3.js} +1 -1
- package/dist/mcp-chunks/chunk-64EP2BVO.js +39 -0
- package/dist/mcp-chunks/{chunk-LS7PMWSR.js → chunk-6D6KPSXN.js} +1 -1
- package/dist/mcp-chunks/{chunk-2XL7MG7R.js → chunk-7A63PAGP.js} +15 -9
- package/dist/mcp-chunks/chunk-7DH57OKF.js +28 -0
- package/dist/mcp-chunks/{chunk-BTLAWHTA.js → chunk-7RDLPFIO.js} +2 -2
- package/dist/mcp-chunks/chunk-C2PQFLWS.js +422 -0
- package/dist/mcp-chunks/chunk-CA5WFJZA.js +197 -0
- package/dist/mcp-chunks/{chunk-LNH5LAJD.js → chunk-CNDY7WB4.js} +2 -2
- package/dist/mcp-chunks/{chunk-UKYNQGNE.js → chunk-DEUU7WSN.js} +34 -8
- package/dist/mcp-chunks/{chunk-LKIBAYKU.js → chunk-DXPHJFSA.js} +25 -35
- package/dist/mcp-chunks/{chunk-J6LYIZXN.js → chunk-E6RVTWJY.js} +1 -1
- package/dist/mcp-chunks/{chunk-7FHEBT5G.js → chunk-E6T37ED6.js} +18 -13
- package/dist/mcp-chunks/chunk-ETWN4IIA.js +57 -0
- package/dist/mcp-chunks/{chunk-YVZKMV5H.js → chunk-F3LL4EBL.js} +1 -1
- package/dist/mcp-chunks/chunk-FWP4RACK.js +42 -0
- package/dist/mcp-chunks/{chunk-6W5QFASN.js → chunk-GFYTST6N.js} +1 -1
- package/dist/mcp-chunks/{chunk-TEUKFFQL.js → chunk-GIF7LOYU.js} +2 -2
- package/dist/mcp-chunks/{chunk-QXJUA3ND.js → chunk-GSZOK5TS.js} +828 -7
- package/dist/mcp-chunks/chunk-H7F5RZXS.js +26 -0
- package/dist/mcp-chunks/{chunk-ECIVB7P4.js → chunk-HAO6PL7Z.js} +2 -37
- package/dist/mcp-chunks/{chunk-WQJZMCJN.js → chunk-HTZ2URXW.js} +5 -3
- package/dist/mcp-chunks/{chunk-BWHIA4PC.js → chunk-JAKI24KR.js} +1 -1
- package/dist/mcp-chunks/{chunk-PWYFKGKG.js → chunk-KSGYBW3F.js} +180 -89
- package/dist/mcp-chunks/{chunk-SJCCBNZ4.js → chunk-KSMY7PXI.js} +1 -1
- package/dist/mcp-chunks/{chunk-2U4BSDC4.js → chunk-L4VKBFYI.js} +48 -29
- package/dist/mcp-chunks/{chunk-LEZSACDE.js → chunk-LICH4Q7A.js} +4 -4
- package/dist/mcp-chunks/{chunk-PIIYJR44.js → chunk-LNSUME65.js} +29 -33
- package/dist/mcp-chunks/{chunk-D3MRAZ6H.js → chunk-LWVFSQYX.js} +13974 -15562
- package/dist/mcp-chunks/{chunk-7KA2VJVZ.js → chunk-NCXEJ35U.js} +10 -5
- package/dist/mcp-chunks/{chunk-5QOSCSQB.js → chunk-NZOIX6XW.js} +2 -2
- package/dist/mcp-chunks/{chunk-XANPGTLI.js → chunk-P3RN22HQ.js} +11 -4
- package/dist/mcp-chunks/{chunk-IABRYROW.js → chunk-PKOJCYNA.js} +3 -3
- package/dist/mcp-chunks/{chunk-BNV3TPE4.js → chunk-QJACOI2W.js} +5 -13
- package/dist/mcp-chunks/{chunk-UNKB4SBV.js → chunk-RBVYCKCD.js} +2 -2
- package/dist/mcp-chunks/{chunk-DHBE7UBH.js → chunk-SB2UUURE.js} +12 -42
- package/dist/mcp-chunks/{chunk-4SQKWYFF.js → chunk-SFREPU3D.js} +1 -1
- package/dist/mcp-chunks/{chunk-BZIQOWE6.js → chunk-SRZZQ6TL.js} +35 -36
- package/dist/mcp-chunks/{chunk-M3TPODXI.js → chunk-UENXT3NE.js} +1 -1
- package/dist/mcp-chunks/chunk-UHOKCTZT.js +37 -0
- package/dist/mcp-chunks/{chunk-E22DYOW5.js → chunk-WWO5WGH5.js} +5 -5
- package/dist/mcp-chunks/{chunk-6XCZGU3G.js → chunk-WXBPMFSN.js} +149 -192
- package/dist/mcp-chunks/{chunk-XQK2JSW4.js → chunk-XRGLP3Z2.js} +14 -2
- package/dist/mcp-chunks/{chunk-L7NTQVYN.js → chunk-XTL4MHFH.js} +28 -10
- package/dist/mcp-chunks/{chunk-N46NEFAF.js → chunk-XUF6KARU.js} +1 -1
- package/dist/mcp-chunks/{chunk-WD6BOD24.js → chunk-YCYSQA5V.js} +23 -4
- package/dist/mcp-chunks/chunk-YPJ5EHXR.js +17394 -0
- package/dist/mcp-chunks/{chunk-NRAJX5E4.js → chunk-YSPT6F7K.js} +3 -3
- package/dist/mcp-chunks/{chunk-7UDVSOOF.js → chunk-YTKRAHO6.js} +54 -46
- package/dist/mcp-chunks/chunk-ZBFZ5UFE.js +67 -0
- package/dist/mcp-chunks/{cli-UV4QJZZM.js → cli-E4P6SZLQ.js} +89 -76
- package/dist/mcp-chunks/client-2EJC4PLL.js +18 -0
- package/dist/mcp-chunks/{config-command-NLAGKID5.js → config-command-MWF3RHPQ.js} +38 -59
- package/dist/mcp-chunks/daemon-command-6CJ26MKI.js +33 -0
- package/dist/mcp-chunks/{dist-LK3SHAMX.js → dist-ZIPUENTM.js} +527 -469
- package/dist/mcp-chunks/{emit-ts-command-VBXVXO6V.js → emit-ts-command-GOVJJ64A.js} +16 -13
- package/dist/mcp-chunks/{generate-cli-runner-6CAZZA3P.js → generate-cli-runner-L5OQIMEY.js} +242 -247
- package/dist/mcp-chunks/{inspect-cli-command-3ZORTOR7.js → inspect-cli-command-7OMMREPE.js} +10 -9
- package/dist/mcp-chunks/{launch-YKRXHXJI.js → launch-BWXPLPB7.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-XVKRHPH3.js → lifecycle-B5UC65PT.js} +1 -1
- package/dist/mcp-chunks/{list-command-2MEGGNFQ.js → list-command-ZO4HVFQK.js} +74 -43
- package/dist/mcp-chunks/{output-utils-NKESLAJ6.js → output-utils-M3TJ2N4M.js} +3 -3
- package/dist/mcp-chunks/{prompt-B1Yc1NPt-VGOTWJMN.js → prompt-CH6TK0bC-C7OTKGRD.js} +1 -3
- package/dist/mcp-chunks/{record-command-YXHTTTT5.js → record-command-VD3HUQIC.js} +5 -4
- package/dist/mcp-chunks/replay-command-AX6IN7YD.js +42 -0
- package/dist/mcp-chunks/{resource-command-OO4NYF5C.js → resource-command-JEZ2DW2G.js} +10 -10
- package/dist/mcp-chunks/{result-utils-MOHHLNM7.js → result-utils-3YHYGS45.js} +4 -4
- package/dist/mcp-chunks/runtime-HSYVOME7.js +37 -0
- package/dist/mcp-chunks/{runtime-wrapper-RPWDIDBF.js → runtime-wrapper-UREU7GC3.js} +7 -3
- package/dist/mcp-chunks/serve-command-M47YZ6JN.js +16018 -0
- package/dist/mcp-chunks/{timeouts-W2XWCCXR.js → timeouts-THZRYP4B.js} +3 -1
- package/dist/mcp-chunks/{vault-command-PIYIUEZL.js → vault-command-53P7MLCB.js} +7 -6
- package/dist/mcp-chunks/webapi-PHEQZQKH.js +3316 -0
- package/dist/mcp-client.js +11 -1
- package/dist/mcp-client.js.map +1 -1
- package/dist/mcp-daemon-client.d.ts.map +1 -1
- package/dist/mcp-daemon-client.js +3 -0
- package/dist/mcp-daemon-client.js.map +1 -1
- package/dist/mcp-daemon-protocol.d.ts +6 -0
- package/dist/mcp-daemon-protocol.d.ts.map +1 -1
- package/dist/mcp-daemon-protocol.js.map +1 -1
- package/dist/mcp-daemon.js +43 -22
- package/dist/mcp-daemon.js.map +1 -1
- package/dist/mcp-run-worker.js +29 -22
- package/dist/mcp-trace-context.d.ts +6 -0
- package/dist/mcp-trace-context.d.ts.map +1 -0
- package/dist/mcp-trace-context.js +31 -0
- package/dist/mcp-trace-context.js.map +1 -0
- package/dist/model-binding.d.ts.map +1 -1
- package/dist/model-binding.js +8 -4
- package/dist/model-binding.js.map +1 -1
- package/dist/pi-extension.d.ts.map +1 -1
- package/dist/pi-extension.js +12 -0
- package/dist/pi-extension.js.map +1 -1
- package/dist/recipe/resolve.d.ts +2 -0
- package/dist/recipe/resolve.d.ts.map +1 -1
- package/dist/recipe/resolve.js +2 -1
- package/dist/recipe/resolve.js.map +1 -1
- package/dist/recipe-agent.d.ts +5 -2
- package/dist/recipe-agent.d.ts.map +1 -1
- package/dist/recipe-agent.js +20 -4
- package/dist/recipe-agent.js.map +1 -1
- package/dist/recipe-model.d.ts +7 -1
- package/dist/recipe-model.d.ts.map +1 -1
- package/dist/recipe-model.js +89 -20
- package/dist/recipe-model.js.map +1 -1
- package/dist/recipe-session.d.ts +14 -0
- package/dist/recipe-session.d.ts.map +1 -0
- package/dist/recipe-session.js +181 -0
- package/dist/recipe-session.js.map +1 -0
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +23 -1
- package/dist/session.js.map +1 -1
- package/docs/agent-composition.md +46 -22
- package/docs/pi-extension.md +9 -3
- package/docs/recipe-format.md +41 -5
- package/package.json +7 -7
- package/vendor/introspection-recipe-check/darwin-arm64/introspection-recipe-check +0 -0
- package/vendor/introspection-recipe-check/darwin-x64/introspection-recipe-check +0 -0
- package/vendor/introspection-recipe-check/linux-arm64/introspection-recipe-check +0 -0
- package/vendor/introspection-recipe-check/linux-x64/introspection-recipe-check +0 -0
- package/vendor/introspection-recipe-check/linux-x64-musl/introspection-recipe-check +0 -0
- package/vendor/introspection-recipe-check/win32-x64/introspection-recipe-check.exe +0 -0
- package/dist/mcp-chunks/call-arguments-LU3W6D3K.js +0 -13
- package/dist/mcp-chunks/chunk-HKRJ6O36.js +0 -1076
- package/dist/mcp-chunks/chunk-NNOEGEUZ.js +0 -17273
- package/dist/mcp-chunks/chunk-P3PSC54P.js +0 -869
- package/dist/mcp-chunks/chunk-TATVT5IT.js +0 -194
- package/dist/mcp-chunks/chunk-YHQUTU6L.js +0 -571
- package/dist/mcp-chunks/client-S7RQUG5U.js +0 -13
- package/dist/mcp-chunks/daemon-command-U242Z6VY.js +0 -26
- package/dist/mcp-chunks/replay-command-25HJ6AQU.js +0 -85
- package/dist/mcp-chunks/runtime-5WJ3G25Y.js +0 -33
- package/dist/mcp-chunks/serve-command-DHXJZMMN.js +0 -3302
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
DaemonClient,
|
|
4
|
+
resolveDaemonPaths
|
|
5
|
+
} from "./chunk-KSGYBW3F.js";
|
|
6
|
+
import "./chunk-ZBFZ5UFE.js";
|
|
7
|
+
import "./chunk-L4VKBFYI.js";
|
|
8
|
+
import "./chunk-7A63PAGP.js";
|
|
9
|
+
import "./chunk-HTZ2URXW.js";
|
|
10
|
+
import "./chunk-FWP4RACK.js";
|
|
11
|
+
import "./chunk-HAO6PL7Z.js";
|
|
12
|
+
import "./chunk-6D6KPSXN.js";
|
|
13
|
+
import "./chunk-LWVFSQYX.js";
|
|
14
|
+
import "./chunk-LRKZP7DJ.js";
|
|
15
|
+
export {
|
|
16
|
+
DaemonClient,
|
|
17
|
+
resolveDaemonPaths
|
|
18
|
+
};
|
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
pickSharedDefinitionFields
|
|
4
|
+
} from "./chunk-H7F5RZXS.js";
|
|
5
|
+
import {
|
|
6
|
+
consumeMatchingTokens
|
|
7
|
+
} from "./chunk-XRGLP3Z2.js";
|
|
2
8
|
import {
|
|
3
9
|
CliUsageError
|
|
4
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2JHHONW4.js";
|
|
5
11
|
import {
|
|
6
12
|
chooseClosestIdentifier,
|
|
7
13
|
renderIdentifierResolutionMessages
|
|
8
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JAKI24KR.js";
|
|
9
15
|
import {
|
|
10
16
|
boldText,
|
|
11
17
|
dimText,
|
|
12
18
|
extraDimText,
|
|
13
19
|
supportsAnsiColor
|
|
14
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XUF6KARU.js";
|
|
15
21
|
import {
|
|
16
22
|
clearOAuthCaches
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-3IZQW4H4.js";
|
|
24
|
+
import "./chunk-C2PQFLWS.js";
|
|
19
25
|
import {
|
|
20
26
|
MCPORTER_VERSION
|
|
21
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SFREPU3D.js";
|
|
28
|
+
import "./chunk-YPJ5EHXR.js";
|
|
22
29
|
import {
|
|
23
30
|
loadRawConfig,
|
|
24
31
|
loadServerDefinitions,
|
|
@@ -26,25 +33,26 @@ import {
|
|
|
26
33
|
readExternalEntries,
|
|
27
34
|
resolveConfigPath,
|
|
28
35
|
writeRawConfig
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-P3PSC54P.js";
|
|
36
|
+
} from "./chunk-L4VKBFYI.js";
|
|
31
37
|
import {
|
|
32
38
|
withFileLock
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-7A63PAGP.js";
|
|
40
|
+
import "./chunk-HTZ2URXW.js";
|
|
35
41
|
import {
|
|
36
|
-
expandHome,
|
|
37
42
|
mcporterConfigCandidates,
|
|
38
43
|
mcporterDir
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import
|
|
41
|
-
|
|
44
|
+
} from "./chunk-FWP4RACK.js";
|
|
45
|
+
import {
|
|
46
|
+
expandHome
|
|
47
|
+
} from "./chunk-HAO6PL7Z.js";
|
|
48
|
+
import "./chunk-6D6KPSXN.js";
|
|
49
|
+
import "./chunk-LWVFSQYX.js";
|
|
42
50
|
import "./chunk-LRKZP7DJ.js";
|
|
43
51
|
|
|
44
|
-
// node_modules/.pnpm/mcporter@0.
|
|
52
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/config/add.js
|
|
45
53
|
import path2 from "node:path";
|
|
46
54
|
|
|
47
|
-
// node_modules/.pnpm/mcporter@0.
|
|
55
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/config/shared.js
|
|
48
56
|
import fs from "node:fs/promises";
|
|
49
57
|
import path from "node:path";
|
|
50
58
|
var COLOR_ENABLED = () => Boolean(supportsAnsiColor && process.stdout.isTTY);
|
|
@@ -166,7 +174,7 @@ function isErrno(error, code) {
|
|
|
166
174
|
return Boolean(error && typeof error === "object" && error.code === code);
|
|
167
175
|
}
|
|
168
176
|
|
|
169
|
-
// node_modules/.pnpm/mcporter@0.
|
|
177
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/config/add.js
|
|
170
178
|
async function handleAddCommand(options, args) {
|
|
171
179
|
const name = args.shift();
|
|
172
180
|
if (!name) {
|
|
@@ -448,7 +456,7 @@ function looksLikeHttp(value) {
|
|
|
448
456
|
return value.startsWith("http://") || value.startsWith("https://");
|
|
449
457
|
}
|
|
450
458
|
|
|
451
|
-
// node_modules/.pnpm/mcporter@0.
|
|
459
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/config/auth.js
|
|
452
460
|
async function handleLoginCommand(options, args) {
|
|
453
461
|
if (args.length === 0) {
|
|
454
462
|
throw new CliUsageError("Usage: mcporter config login <name|url>");
|
|
@@ -466,7 +474,7 @@ async function handleLogoutCommand(options, args) {
|
|
|
466
474
|
console.log(`Cleared cached credentials for '${target.name}'`);
|
|
467
475
|
}
|
|
468
476
|
|
|
469
|
-
// node_modules/.pnpm/mcporter@0.
|
|
477
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/config/doctor.js
|
|
470
478
|
import path3 from "node:path";
|
|
471
479
|
async function handleDoctorCommand(options, _args) {
|
|
472
480
|
console.log(`MCPorter ${MCPORTER_VERSION}`);
|
|
@@ -490,26 +498,16 @@ async function handleDoctorCommand(options, _args) {
|
|
|
490
498
|
}
|
|
491
499
|
}
|
|
492
500
|
|
|
493
|
-
// node_modules/.pnpm/mcporter@0.
|
|
501
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/config/render.js
|
|
494
502
|
function serializeDefinition(definition) {
|
|
495
503
|
const origin = definition.source ?? { kind: "local", path: "" };
|
|
504
|
+
const sharedFields = pickSharedDefinitionFields(definition);
|
|
496
505
|
if (definition.command.kind === "http") {
|
|
497
506
|
return {
|
|
498
507
|
name: definition.name,
|
|
499
508
|
description: definition.description,
|
|
500
509
|
source: origin,
|
|
501
|
-
|
|
502
|
-
tokenCacheDir: definition.tokenCacheDir,
|
|
503
|
-
clientName: definition.clientName,
|
|
504
|
-
oauthClientId: definition.oauthClientId,
|
|
505
|
-
oauthClientSecretEnv: definition.oauthClientSecretEnv,
|
|
506
|
-
oauthTokenEndpointAuthMethod: definition.oauthTokenEndpointAuthMethod,
|
|
507
|
-
oauthRedirectUrl: definition.oauthRedirectUrl,
|
|
508
|
-
oauthScope: definition.oauthScope,
|
|
509
|
-
refresh: definition.refresh,
|
|
510
|
-
httpFetch: definition.httpFetch,
|
|
511
|
-
allowedTools: definition.allowedTools,
|
|
512
|
-
blockedTools: definition.blockedTools,
|
|
510
|
+
...sharedFields,
|
|
513
511
|
env: definition.env,
|
|
514
512
|
transport: "http",
|
|
515
513
|
baseUrl: definition.command.url.href,
|
|
@@ -520,18 +518,7 @@ function serializeDefinition(definition) {
|
|
|
520
518
|
name: definition.name,
|
|
521
519
|
description: definition.description,
|
|
522
520
|
source: origin,
|
|
523
|
-
|
|
524
|
-
tokenCacheDir: definition.tokenCacheDir,
|
|
525
|
-
clientName: definition.clientName,
|
|
526
|
-
oauthClientId: definition.oauthClientId,
|
|
527
|
-
oauthClientSecretEnv: definition.oauthClientSecretEnv,
|
|
528
|
-
oauthTokenEndpointAuthMethod: definition.oauthTokenEndpointAuthMethod,
|
|
529
|
-
oauthRedirectUrl: definition.oauthRedirectUrl,
|
|
530
|
-
oauthScope: definition.oauthScope,
|
|
531
|
-
refresh: definition.refresh,
|
|
532
|
-
httpFetch: definition.httpFetch,
|
|
533
|
-
allowedTools: definition.allowedTools,
|
|
534
|
-
blockedTools: definition.blockedTools,
|
|
521
|
+
...sharedFields,
|
|
535
522
|
env: definition.env,
|
|
536
523
|
transport: "stdio",
|
|
537
524
|
command: definition.command.command,
|
|
@@ -606,7 +593,7 @@ function printConfigUsageExamples() {
|
|
|
606
593
|
];
|
|
607
594
|
}
|
|
608
595
|
|
|
609
|
-
// node_modules/.pnpm/mcporter@0.
|
|
596
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/config/get.js
|
|
610
597
|
async function handleGetCommand(options, args) {
|
|
611
598
|
const flags = extractGetFlags(args);
|
|
612
599
|
const name = args.shift();
|
|
@@ -648,7 +635,7 @@ function extractGetFlags(args) {
|
|
|
648
635
|
return { format };
|
|
649
636
|
}
|
|
650
637
|
|
|
651
|
-
// node_modules/.pnpm/mcporter@0.
|
|
638
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/config/help.js
|
|
652
639
|
var CONFIG_HELP_ENTRIES = {
|
|
653
640
|
list: {
|
|
654
641
|
name: "list [options] [filter]",
|
|
@@ -776,15 +763,7 @@ function isHelpToken(token) {
|
|
|
776
763
|
return token === "--help" || token === "-h";
|
|
777
764
|
}
|
|
778
765
|
function consumeInlineHelpTokens(args) {
|
|
779
|
-
|
|
780
|
-
for (let index = args.length - 1; index >= 0; index -= 1) {
|
|
781
|
-
const token = args[index];
|
|
782
|
-
if (token && isHelpToken(token)) {
|
|
783
|
-
args.splice(index, 1);
|
|
784
|
-
found = true;
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
return found;
|
|
766
|
+
return consumeMatchingTokens(args, isHelpToken);
|
|
788
767
|
}
|
|
789
768
|
function printConfigHelp(subcommand) {
|
|
790
769
|
const colorize = COLOR_ENABLED();
|
|
@@ -855,7 +834,7 @@ function printSubcommandHelp(subcommand, colorize) {
|
|
|
855
834
|
console.log(lines.join("\n"));
|
|
856
835
|
}
|
|
857
836
|
|
|
858
|
-
// node_modules/.pnpm/mcporter@0.
|
|
837
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/config/import.js
|
|
859
838
|
import path4 from "node:path";
|
|
860
839
|
async function handleImportCommand(options, args) {
|
|
861
840
|
const kind = args.shift();
|
|
@@ -949,7 +928,7 @@ function extractImportFlags(args) {
|
|
|
949
928
|
return flags;
|
|
950
929
|
}
|
|
951
930
|
|
|
952
|
-
// node_modules/.pnpm/mcporter@0.
|
|
931
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/config/list.js
|
|
953
932
|
async function handleListCommand(options, args) {
|
|
954
933
|
const flags = extractListFlags(args);
|
|
955
934
|
const filter = args.shift();
|
|
@@ -1013,7 +992,7 @@ function filterMatches(filter, server) {
|
|
|
1013
992
|
return server.name.includes(filter);
|
|
1014
993
|
}
|
|
1015
994
|
|
|
1016
|
-
// node_modules/.pnpm/mcporter@0.
|
|
995
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/config/remove.js
|
|
1017
996
|
async function handleRemoveCommand(options, args) {
|
|
1018
997
|
const name = args.shift();
|
|
1019
998
|
if (!name) {
|
|
@@ -1038,7 +1017,7 @@ async function handleRemoveCommand(options, args) {
|
|
|
1038
1017
|
console.log(`Removed '${targetName}' from ${configPath}`);
|
|
1039
1018
|
}
|
|
1040
1019
|
|
|
1041
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1020
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/config-command.js
|
|
1042
1021
|
async function handleConfigCli(options, args) {
|
|
1043
1022
|
const initialToken = args[0];
|
|
1044
1023
|
if (args.length === 0 || initialToken && isHelpToken(initialToken)) {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
handleDaemonCli
|
|
4
|
+
} from "./chunk-WXBPMFSN.js";
|
|
5
|
+
import "./chunk-64EP2BVO.js";
|
|
6
|
+
import "./chunk-UHOKCTZT.js";
|
|
7
|
+
import "./chunk-2FSDGCHW.js";
|
|
8
|
+
import "./chunk-CA5WFJZA.js";
|
|
9
|
+
import "./chunk-E6T37ED6.js";
|
|
10
|
+
import "./chunk-SRZZQ6TL.js";
|
|
11
|
+
import "./chunk-3IZQW4H4.js";
|
|
12
|
+
import "./chunk-C2PQFLWS.js";
|
|
13
|
+
import "./chunk-7DH57OKF.js";
|
|
14
|
+
import "./chunk-2MEHGB7D.js";
|
|
15
|
+
import "./chunk-SFREPU3D.js";
|
|
16
|
+
import "./chunk-GFYTST6N.js";
|
|
17
|
+
import "./chunk-ETWN4IIA.js";
|
|
18
|
+
import "./chunk-DEUU7WSN.js";
|
|
19
|
+
import "./chunk-YPJ5EHXR.js";
|
|
20
|
+
import "./chunk-YSPT6F7K.js";
|
|
21
|
+
import "./chunk-KSGYBW3F.js";
|
|
22
|
+
import "./chunk-ZBFZ5UFE.js";
|
|
23
|
+
import "./chunk-L4VKBFYI.js";
|
|
24
|
+
import "./chunk-7A63PAGP.js";
|
|
25
|
+
import "./chunk-HTZ2URXW.js";
|
|
26
|
+
import "./chunk-FWP4RACK.js";
|
|
27
|
+
import "./chunk-HAO6PL7Z.js";
|
|
28
|
+
import "./chunk-6D6KPSXN.js";
|
|
29
|
+
import "./chunk-LWVFSQYX.js";
|
|
30
|
+
import "./chunk-LRKZP7DJ.js";
|
|
31
|
+
export {
|
|
32
|
+
handleDaemonCli
|
|
33
|
+
};
|