@introspection-ai/recipes 0.36.2 → 0.38.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/ask-user-question.d.ts +82 -0
- package/dist/ask-user-question.d.ts.map +1 -0
- package/dist/ask-user-question.js +314 -0
- package/dist/ask-user-question.js.map +1 -0
- package/dist/connector-tools.d.ts.map +1 -1
- package/dist/connector-tools.js +10 -2
- package/dist/connector-tools.js.map +1 -1
- package/dist/documents/index.d.ts +7 -0
- package/dist/documents/index.d.ts.map +1 -0
- package/dist/documents/index.js +4 -0
- package/dist/documents/index.js.map +1 -0
- package/dist/documents/module.d.ts +61 -0
- package/dist/documents/module.d.ts.map +1 -0
- package/dist/documents/module.js +133 -0
- package/dist/documents/module.js.map +1 -0
- package/dist/documents/profile.d.ts +34 -0
- package/dist/documents/profile.d.ts.map +1 -0
- package/dist/documents/profile.js +94 -0
- package/dist/documents/profile.js.map +1 -0
- package/dist/documents/tools.d.ts +40 -0
- package/dist/documents/tools.d.ts.map +1 -0
- package/dist/documents/tools.js +327 -0
- package/dist/documents/tools.js.map +1 -0
- package/dist/documents/types.d.ts +144 -0
- package/dist/documents/types.d.ts.map +1 -0
- package/dist/documents/types.js +10 -0
- package/dist/documents/types.js.map +1 -0
- package/dist/extensions.d.ts +2 -0
- package/dist/extensions.d.ts.map +1 -1
- package/dist/extensions.js +3 -0
- package/dist/extensions.js.map +1 -1
- package/dist/interaction-tui.d.ts +1 -1
- package/dist/interaction-tui.d.ts.map +1 -1
- package/dist/interaction-tui.js +2 -2
- package/dist/interaction-tui.js.map +1 -1
- package/dist/mcp-chunks/{auth-command-GMMLBU24.js → auth-command-M7TQE3AL.js} +26 -23
- package/dist/mcp-chunks/call-arguments-GCXZA4HC.js +16 -0
- package/dist/mcp-chunks/{call-command-2VF6IKAZ.js → call-command-7LD7UEFK.js} +33 -33
- package/dist/mcp-chunks/{chunk-TYL2NVXI.js → chunk-2AKSS7WR.js} +2 -2
- package/dist/mcp-chunks/{chunk-LZUKBEQZ.js → chunk-2YV72LUA.js} +12 -12
- package/dist/mcp-chunks/{chunk-2JTXIMGE.js → chunk-3ETUDW7N.js} +1 -1
- package/dist/mcp-chunks/{chunk-5UK2JLTN.js → chunk-3FRLDHVD.js} +5 -5
- package/dist/mcp-chunks/{chunk-ENBJFQ6H.js → chunk-3HSC6NHZ.js} +1 -1
- package/dist/mcp-chunks/{chunk-IHOU2BEL.js → chunk-3LENTPGE.js} +2 -2
- package/dist/mcp-chunks/{chunk-ZJWZY54X.js → chunk-3P3KGT4H.js} +2 -2
- package/dist/mcp-chunks/{chunk-IMXPLUKE.js → chunk-3SXP4S2A.js} +2 -2
- package/dist/mcp-chunks/{chunk-22WCLO4D.js → chunk-5Z6WSV5D.js} +5 -5
- package/dist/mcp-chunks/{chunk-QNZGFUKC.js → chunk-63L6SHK3.js} +2 -2
- package/dist/mcp-chunks/{chunk-OI3RTQXY.js → chunk-66VSGFXA.js} +1 -1
- package/dist/mcp-chunks/{chunk-DUBQHYW4.js → chunk-6O42UGLI.js} +9 -9
- package/dist/mcp-chunks/{chunk-R4OYHQ4V.js → chunk-6P3KAQ5N.js} +1 -1
- package/dist/mcp-chunks/{chunk-5OO6WVPL.js → chunk-7U5NSQ5T.js} +1 -1
- package/dist/mcp-chunks/{chunk-O2C3HXGS.js → chunk-B6S43WID.js} +1 -1
- package/dist/mcp-chunks/{chunk-VWPKJFK4.js → chunk-BHXCAVFP.js} +1 -1
- package/dist/mcp-chunks/{chunk-WXNGATQ7.js → chunk-BUOGKTKK.js} +2 -1
- package/dist/mcp-chunks/{chunk-4U4BUXQD.js → chunk-CXST5CVH.js} +33 -17
- package/dist/mcp-chunks/{chunk-YWFQPA4D.js → chunk-DU4SDPEV.js} +2 -2
- package/dist/mcp-chunks/{chunk-ZI5XYM4C.js → chunk-E76ZUBOJ.js} +4 -4
- package/dist/mcp-chunks/{chunk-D2SZ7KRY.js → chunk-ELHS763C.js} +1 -1
- package/dist/mcp-chunks/chunk-EQCSXVQ7.js +10650 -0
- package/dist/mcp-chunks/{chunk-RHXZKYM7.js → chunk-F2X4Y2TQ.js} +1 -1
- package/dist/mcp-chunks/{chunk-6XC5JJWD.js → chunk-GTETFUPQ.js} +28 -25
- package/dist/mcp-chunks/{chunk-UQUM7ICD.js → chunk-GZ53GNFP.js} +10 -10
- package/dist/mcp-chunks/{chunk-LUVLTUKR.js → chunk-H5PBSJP3.js} +1 -1
- package/dist/mcp-chunks/{chunk-FLUF2FRN.js → chunk-HNQSUT44.js} +3 -3
- package/dist/mcp-chunks/{chunk-CN5KSNWG.js → chunk-I6UFV7RW.js} +1 -1
- package/dist/mcp-chunks/{chunk-OSTHIELS.js → chunk-IRARVOUM.js} +1 -1
- package/dist/mcp-chunks/{webapi-NNCZGUMZ.js → chunk-IRSL7JRH.js} +255 -249
- package/dist/mcp-chunks/{chunk-ZXIF7MKN.js → chunk-IWCVZ46B.js} +2 -2
- package/dist/mcp-chunks/{chunk-RZZO3ZD4.js → chunk-JEHI2YU4.js} +3 -3
- package/dist/mcp-chunks/{chunk-ANNJGB6F.js → chunk-JTPTAO4M.js} +13 -13
- package/dist/mcp-chunks/{chunk-U5QZHPCC.js → chunk-KJ5FPQF6.js} +1 -1
- package/dist/mcp-chunks/{chunk-7IVXKYTI.js → chunk-L2MSWQDL.js} +1 -1
- package/dist/mcp-chunks/{chunk-DBNBEWRX.js → chunk-MEQXX43K.js} +1 -1
- package/dist/mcp-chunks/{chunk-3AAF3FSI.js → chunk-MHUMLEBO.js} +1 -1
- package/dist/mcp-chunks/{chunk-HFHIY5TO.js → chunk-N2U2FODH.js} +4 -4
- package/dist/mcp-chunks/{chunk-YFCNRWLV.js → chunk-N6YUOYDS.js} +2 -2
- package/dist/mcp-chunks/{chunk-C4TJGC4F.js → chunk-O3RTM5HD.js} +1 -1
- package/dist/mcp-chunks/{chunk-35LLRCRA.js → chunk-O7SIXJM6.js} +1308 -912
- package/dist/mcp-chunks/{chunk-QDFL757K.js → chunk-PSE442BC.js} +91 -77
- package/dist/mcp-chunks/{chunk-YPSODIQX.js → chunk-QNXOIF5U.js} +15 -14
- package/dist/mcp-chunks/{chunk-RKQC2EE6.js → chunk-RUF27IUF.js} +2 -2
- package/dist/mcp-chunks/{chunk-SS7V7GVT.js → chunk-S2F7DDP5.js} +4 -4
- package/dist/mcp-chunks/{chunk-D65GOMYV.js → chunk-TC2JPBFB.js} +2 -2
- package/dist/mcp-chunks/{chunk-7BVYBZ4J.js → chunk-THRMUZZD.js} +39 -14
- package/dist/mcp-chunks/{chunk-P5YLK5G2.js → chunk-UFV6SVQG.js} +11 -11
- package/dist/mcp-chunks/{chunk-LISNXOIQ.js → chunk-US63Y6XE.js} +1 -1
- package/dist/mcp-chunks/{chunk-HI6VG5LR.js → chunk-UVRJ3AAD.js} +2 -2
- package/dist/mcp-chunks/{chunk-6TIU2CDB.js → chunk-V42T3QNK.js} +456 -64
- package/dist/mcp-chunks/{chunk-347GOMV4.js → chunk-WDWSA7RL.js} +4 -4
- package/dist/mcp-chunks/{chunk-4PN2J74H.js → chunk-WQL7FJQ3.js} +4 -4
- package/dist/mcp-chunks/{chunk-LRGMFF5S.js → chunk-ZEA3Y5ZD.js} +7 -7
- package/dist/mcp-chunks/{cli-4OQD3H4N.js → cli-IYD7Y7MO.js} +67 -67
- package/dist/mcp-chunks/client-5MNBV3Z7.js +32 -0
- package/dist/mcp-chunks/{config-command-72TCIWPV.js → config-command-6DXILFNO.js} +129 -34
- package/dist/mcp-chunks/daemon-command-V3B3EMXD.js +32 -0
- package/dist/mcp-chunks/{dist-74UCKZK5.js → dist-Q7WSCBBK.js} +74 -55
- package/dist/mcp-chunks/{emit-ts-command-KD4ON2SE.js → emit-ts-command-NDCDFDRM.js} +17 -17
- package/dist/mcp-chunks/{generate-cli-runner-HWGI6HPL.js → generate-cli-runner-PW5WJ7KI.js} +136 -92
- package/dist/mcp-chunks/generated-daemon-runtime-3C4NWGAU.js +32 -0
- package/dist/mcp-chunks/{inspect-cli-command-FT5JSB7V.js → inspect-cli-command-4MGF5CPP.js} +9 -9
- package/dist/mcp-chunks/{launch-AHLKP2VM.js → launch-UG7IH27P.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-BJDITFWN.js → lifecycle-QBYGUHQ3.js} +1 -1
- package/dist/mcp-chunks/{list-command-YKF7RN6Y.js → list-command-SDITI3ZM.js} +36 -35
- package/dist/mcp-chunks/{output-utils-LYB5IJRD.js → output-utils-YTMZTA7J.js} +3 -3
- package/dist/mcp-chunks/{prompt-CH6TK0bC-B3USYOND.js → prompt-DkftHXS7-N7UENQ4C.js} +1 -1
- package/dist/mcp-chunks/{record-command-MJW3Z5E5.js → record-command-JGTMATYI.js} +5 -5
- package/dist/mcp-chunks/{replay-command-5ZHBUOLE.js → replay-command-S2VAC4RW.js} +6 -6
- package/dist/mcp-chunks/{resource-command-L4I24AX5.js → resource-command-SRFQQROJ.js} +9 -9
- package/dist/mcp-chunks/{result-utils-5WRI66KV.js → result-utils-JASGNHXK.js} +3 -3
- package/dist/mcp-chunks/runtime-RMI3XCYJ.js +39 -0
- package/dist/mcp-chunks/{runtime-wrapper-WFMNIHD5.js → runtime-wrapper-7HYO3NM5.js} +3 -3
- package/dist/mcp-chunks/{serve-command-KNCSJUXS.js → serve-command-UF5SVREV.js} +1111 -697
- package/dist/mcp-chunks/{timeouts-2ZHGSB3R.js → timeouts-BJWDJEMH.js} +3 -3
- package/dist/mcp-chunks/{vault-command-7EDL45AA.js → vault-command-EYOIFWEY.js} +5 -4
- package/dist/mcp-chunks/webapi-WMMA3OEC.js +82 -0
- package/dist/mcp-daemon.js +28 -27
- package/dist/mcp-run-worker.js +28 -27
- 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/recipe/package.d.ts +15 -0
- package/dist/recipe/package.d.ts.map +1 -1
- package/dist/recipe/package.js +96 -2
- package/dist/recipe/package.js.map +1 -1
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +6 -0
- package/dist/session.js.map +1 -1
- package/docs/documents.md +344 -0
- package/docs/index.md +1 -0
- package/docs/interactions.md +76 -8
- package/docs/mcp-configuration.md +10 -5
- package/docs/recipe-format.md +69 -1
- package/documents/SKILL.md +63 -0
- package/package.json +16 -11
- package/dist/mcp-chunks/call-arguments-WSURHOLV.js +0 -16
- package/dist/mcp-chunks/chunk-BIVX2WFX.js +0 -3349
- package/dist/mcp-chunks/client-LXKCCVMT.js +0 -31
- package/dist/mcp-chunks/daemon-command-QHS3ACBM.js +0 -31
- package/dist/mcp-chunks/generated-daemon-runtime-7ORS5KBR.js +0 -31
- package/dist/mcp-chunks/runtime-IKWDQLZF.js +0 -38
|
@@ -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.16.1/node_modules/mcporter/dist/runtime/elicitation.js
|
|
4
4
|
import readline from "node:readline";
|
|
5
5
|
var NON_INTERACTIVE_ELICITATION_HINT = "Server requested interactive input; run mcporter in a terminal.";
|
|
6
6
|
function createInteractiveElicitationResponder(options = {}) {
|
|
@@ -16,52 +16,53 @@ import {
|
|
|
16
16
|
resolveSystemPowerShellPath,
|
|
17
17
|
secureDaemonDirectory,
|
|
18
18
|
upgradeLegacyDaemonDirectory
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PSE442BC.js";
|
|
20
20
|
import {
|
|
21
21
|
NON_INTERACTIVE_ELICITATION_HINT,
|
|
22
22
|
createNonInteractiveElicitationResponder
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-F2X4Y2TQ.js";
|
|
24
24
|
import {
|
|
25
25
|
isOAuthFlowError,
|
|
26
26
|
resolveOAuthTimeoutFromEnv
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2YV72LUA.js";
|
|
28
28
|
import {
|
|
29
29
|
withRuntimeEnvironment
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-V42T3QNK.js";
|
|
31
31
|
import {
|
|
32
32
|
MCPORTER_VERSION
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-QNXOIF5U.js";
|
|
34
34
|
import {
|
|
35
35
|
getChromeDevtoolsRelayDecision,
|
|
36
36
|
normalizeTimeout
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-6O42UGLI.js";
|
|
38
38
|
import {
|
|
39
39
|
RawEntrySchema,
|
|
40
|
+
VaultEncryptionPolicySchema,
|
|
40
41
|
loadServerDefinitions
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-CXST5CVH.js";
|
|
42
43
|
import {
|
|
43
44
|
isProcessRunning,
|
|
44
45
|
withFileLock,
|
|
45
46
|
writeJsonFile
|
|
46
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-3LENTPGE.js";
|
|
47
48
|
import {
|
|
48
49
|
mcporterDir
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-IWCVZ46B.js";
|
|
50
51
|
import {
|
|
51
52
|
isKeepAliveServer
|
|
52
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-MHUMLEBO.js";
|
|
53
54
|
import {
|
|
54
55
|
SdkErrorCode,
|
|
55
56
|
external_exports
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-O7SIXJM6.js";
|
|
57
58
|
|
|
58
|
-
// node_modules/.pnpm/mcporter@0.
|
|
59
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/socket-rpc.js
|
|
59
60
|
import { createHmac, randomBytes, timingSafeEqual } from "node:crypto";
|
|
60
61
|
import fs from "node:fs/promises";
|
|
61
62
|
import net from "node:net";
|
|
62
63
|
import path from "node:path";
|
|
63
64
|
|
|
64
|
-
// node_modules/.pnpm/mcporter@0.
|
|
65
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/protocol.js
|
|
65
66
|
var DAEMON_PROTOCOL_VERSION = 3;
|
|
66
67
|
var MAX_DAEMON_PAYLOAD_BYTES = 4 * 1024 * 1024;
|
|
67
68
|
var DAEMON_PROGRESS_INTERVAL_MS = 250;
|
|
@@ -86,7 +87,7 @@ function resolveProgressTiming(requestedIdleTimeoutMs) {
|
|
|
86
87
|
};
|
|
87
88
|
}
|
|
88
89
|
|
|
89
|
-
// node_modules/.pnpm/mcporter@0.
|
|
90
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/socket-rpc.js
|
|
90
91
|
async function daemonKey() {
|
|
91
92
|
await secureDaemonDirectory();
|
|
92
93
|
const file = path.join(daemonRunDir(), "user.key");
|
|
@@ -225,11 +226,11 @@ async function requestDaemon(socketPath, request, idleTimeoutMs) {
|
|
|
225
226
|
}
|
|
226
227
|
}
|
|
227
228
|
|
|
228
|
-
// node_modules/.pnpm/mcporter@0.
|
|
229
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/client.js
|
|
229
230
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
230
231
|
import fs3 from "node:fs/promises";
|
|
231
232
|
|
|
232
|
-
// node_modules/.pnpm/mcporter@0.
|
|
233
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/process-retirement.js
|
|
233
234
|
import { execFile } from "node:child_process";
|
|
234
235
|
import { promisify } from "node:util";
|
|
235
236
|
var exec = promisify(execFile);
|
|
@@ -428,24 +429,24 @@ async function awaitRetirement(identities) {
|
|
|
428
429
|
throw new Error("Verified legacy processes have not retired; cutover remains blocked. No process was signalled.");
|
|
429
430
|
}
|
|
430
431
|
|
|
431
|
-
// node_modules/.pnpm/mcporter@0.
|
|
432
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/migration.js
|
|
432
433
|
import fs2 from "node:fs/promises";
|
|
433
434
|
import net2 from "node:net";
|
|
434
435
|
import path2 from "node:path";
|
|
435
436
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
436
437
|
|
|
437
|
-
// node_modules/.pnpm/mcporter@0.
|
|
438
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/idle-timer.js
|
|
438
439
|
var MAX_NATIVE_TIMER_MS = 2147483647;
|
|
439
440
|
function idleTimerDelay(timeoutMs, lastActivity) {
|
|
440
441
|
const remaining = timeoutMs - (Date.now() - lastActivity);
|
|
441
442
|
return Math.min(MAX_NATIVE_TIMER_MS, Math.max(1, remaining > 0 ? remaining : timeoutMs));
|
|
442
443
|
}
|
|
443
444
|
|
|
444
|
-
// node_modules/.pnpm/mcporter@0.
|
|
445
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/broker.js
|
|
445
446
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
446
447
|
import { randomUUID } from "node:crypto";
|
|
447
448
|
|
|
448
|
-
// node_modules/.pnpm/mcporter@0.
|
|
449
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/view-codec.js
|
|
449
450
|
var command = external_exports.discriminatedUnion("kind", [
|
|
450
451
|
external_exports.object({
|
|
451
452
|
kind: external_exports.literal("stdio"),
|
|
@@ -458,6 +459,8 @@ var command = external_exports.discriminatedUnion("kind", [
|
|
|
458
459
|
var definition = external_exports.object({
|
|
459
460
|
...RawEntrySchema.shape,
|
|
460
461
|
name: external_exports.string().min(1).max(256),
|
|
462
|
+
// Top-level config policy carried on each definition (not a RawEntry field).
|
|
463
|
+
oauthVaultEncryption: VaultEncryptionPolicySchema.optional(),
|
|
461
464
|
configuredEnv: external_exports.record(external_exports.string(), external_exports.string()).optional(),
|
|
462
465
|
launchCommand: external_exports.string().min(1).optional(),
|
|
463
466
|
command,
|
|
@@ -485,7 +488,7 @@ function decodeView(value) {
|
|
|
485
488
|
return { definitions, clientInfo: parsed.clientInfo };
|
|
486
489
|
}
|
|
487
490
|
|
|
488
|
-
// node_modules/.pnpm/mcporter@0.
|
|
491
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/broker.js
|
|
489
492
|
var notices = new AsyncLocalStorage();
|
|
490
493
|
var BrokerError = class extends Error {
|
|
491
494
|
code;
|
|
@@ -814,7 +817,7 @@ var DaemonBroker = class {
|
|
|
814
817
|
}
|
|
815
818
|
};
|
|
816
819
|
|
|
817
|
-
// node_modules/.pnpm/mcporter@0.
|
|
820
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/migration.js
|
|
818
821
|
async function probeDaemon(socketPath, method = "status") {
|
|
819
822
|
return new Promise((resolve) => {
|
|
820
823
|
const socket = net2.createConnection(socketPath);
|
|
@@ -920,7 +923,7 @@ async function stopVerifiedLegacyDaemons() {
|
|
|
920
923
|
}
|
|
921
924
|
}
|
|
922
925
|
|
|
923
|
-
// node_modules/.pnpm/mcporter@0.
|
|
926
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/startup-readiness.js
|
|
924
927
|
var DAEMON_STARTUP_TIMEOUT_MS = 45e3;
|
|
925
928
|
var DAEMON_STARTUP_SLOW_NOTICE_MS = 5e3;
|
|
926
929
|
var DAEMON_STARTUP_POLL_INTERVAL_MS = 100;
|
|
@@ -967,7 +970,7 @@ function delay(ms) {
|
|
|
967
970
|
});
|
|
968
971
|
}
|
|
969
972
|
|
|
970
|
-
// node_modules/.pnpm/mcporter@0.
|
|
973
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/daemon/client.js
|
|
971
974
|
var DEFAULT_DAEMON_TIMEOUT_MS = 3e4;
|
|
972
975
|
function resolveDaemonPaths(configPath) {
|
|
973
976
|
const key = "user";
|
|
@@ -1135,7 +1138,7 @@ var DaemonClient = class {
|
|
|
1135
1138
|
if (previous && !isProcessRunning(previous.pid))
|
|
1136
1139
|
throw new Error("Previous daemon exited unexpectedly; verify retirement of its transports before deliberate recovery. No replacement was launched.");
|
|
1137
1140
|
this.startingPromise ??= (async () => {
|
|
1138
|
-
const { launchDaemonDetached } = await import("./launch-
|
|
1141
|
+
const { launchDaemonDetached } = await import("./launch-UG7IH27P.js");
|
|
1139
1142
|
await launchDaemonDetached({
|
|
1140
1143
|
configPath: this.options.configPath,
|
|
1141
1144
|
metadataPath: this.metadataPath,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
buildToolDoc
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5Z6WSV5D.js";
|
|
5
5
|
import {
|
|
6
6
|
buildEmbeddedSchemaMap,
|
|
7
7
|
toCliOptionKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KJ5FPQF6.js";
|
|
9
9
|
import {
|
|
10
10
|
parsePositiveInteger
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TC2JPBFB.js";
|
|
12
12
|
import {
|
|
13
13
|
stableJsonStringify
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6P3KAQ5N.js";
|
|
15
15
|
import {
|
|
16
16
|
MCPORTER_VERSION
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QNXOIF5U.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/mcporter@0.
|
|
19
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/generate/flag-parser.js
|
|
20
20
|
function extractGeneratorFlags(args, options = {}) {
|
|
21
21
|
const result = {};
|
|
22
22
|
let index = 0;
|
|
@@ -58,12 +58,12 @@ function extractGeneratorFlags(args, options = {}) {
|
|
|
58
58
|
return result;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
// node_modules/.pnpm/mcporter@0.
|
|
61
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/generate/template.js
|
|
62
62
|
import { realpathSync } from "node:fs";
|
|
63
63
|
import fs2 from "node:fs/promises";
|
|
64
64
|
import path from "node:path";
|
|
65
65
|
|
|
66
|
-
// node_modules/.pnpm/mcporter@0.
|
|
66
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/generate/fs-helpers.js
|
|
67
67
|
import fs from "node:fs/promises";
|
|
68
68
|
async function markExecutable(filePath) {
|
|
69
69
|
try {
|
|
@@ -94,7 +94,7 @@ function shouldIgnorePosixPermissionError(error) {
|
|
|
94
94
|
return code === "EPERM" || code === "EINVAL" || code === "ENOSYS" || code === "EACCES";
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
// node_modules/.pnpm/mcporter@0.
|
|
97
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/generate/template-help.js
|
|
98
98
|
function renderEmbeddedHelpSource() {
|
|
99
99
|
return `function configureGeneratedCommandHelp(command: Command): void {
|
|
100
100
|
command.configureHelp({
|
|
@@ -208,7 +208,7 @@ function quickStartExamples(): Array<[string, string]> {
|
|
|
208
208
|
`;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
// node_modules/.pnpm/mcporter@0.
|
|
211
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/generate/template.js
|
|
212
212
|
async function writeTemplate(input) {
|
|
213
213
|
const resolvedOutput = input.outputPath ? path.resolve(input.outputPath) : path.resolve(process.cwd(), `${input.serverName}.ts`);
|
|
214
214
|
const runtimeScriptPath = input.runtimeScriptPath ? path.resolve(input.runtimeScriptPath) : resolvedOutput;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/errors.js
|
|
4
4
|
var CliUsageError = class extends Error {
|
|
5
5
|
constructor(message) {
|
|
6
6
|
super(message);
|
|
@@ -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-QNXOIF5U.js";
|
|
5
5
|
import {
|
|
6
6
|
isKeepAliveServer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MHUMLEBO.js";
|
|
8
8
|
|
|
9
|
-
// node_modules/.pnpm/mcporter@0.
|
|
9
|
+
// node_modules/.pnpm/mcporter@0.16.1/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.16.1/node_modules/mcporter/dist/cli/flag-utils.js
|
|
4
4
|
function extractFlags(args, keys) {
|
|
5
5
|
const flags = {};
|
|
6
6
|
let index = 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/terminal.js
|
|
4
4
|
var forceColorRaw = process.env.FORCE_COLOR?.toLowerCase();
|
|
5
5
|
var forceDisableColor = forceColorRaw === "0" || forceColorRaw === "false";
|
|
6
6
|
var forceEnableColor = forceColorRaw === "1" || forceColorRaw === "true" || forceColorRaw === "2" || forceColorRaw === "3";
|