@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interaction-tui.js","sourceRoot":"","sources":["../src/interaction-tui.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAY1E,MAAM,UAAU,kBAAkB,CAChC,OAAe,EACf,OAAqC,EACrC,EAAsB,EACtB,MAA+B
|
|
1
|
+
{"version":3,"file":"interaction-tui.js","sourceRoot":"","sources":["../src/interaction-tui.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAY1E,MAAM,UAAU,kBAAkB,CAChC,OAAe,EACf,OAAqC,EACrC,EAAsB,EACtB,MAA+B,EAC/B,WAAW,GAAG,OAAO;IAErB,OAAO,EAAE,CAAC,MAAM,CACd,CAAC,GAAG,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE;QACjC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAU,CAAC;QACnC,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;QACnC,MAAM,SAAS,GAAG,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;QACrC,MAAM,SAAS,GA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
|
10
10
|
renderAdhocServerHelpLines
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-3FRLDHVD.js";
|
|
12
|
+
import "./chunk-63L6SHK3.js";
|
|
13
|
+
import "./chunk-ZEA3Y5ZD.js";
|
|
14
14
|
import {
|
|
15
15
|
buildConnectionIssueEnvelope
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3HSC6NHZ.js";
|
|
17
17
|
import {
|
|
18
18
|
extractEphemeralServerFlags
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-L2MSWQDL.js";
|
|
20
20
|
import {
|
|
21
21
|
looksLikeHttpUrl
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-US63Y6XE.js";
|
|
23
23
|
import {
|
|
24
24
|
consumeOutputFormat
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MEQXX43K.js";
|
|
26
26
|
import {
|
|
27
27
|
isOAuthFlowError,
|
|
28
28
|
resolveOAuthTimeoutFromEnv,
|
|
29
29
|
suppressBrowserLaunchFromEnv
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-2YV72LUA.js";
|
|
31
31
|
import {
|
|
32
32
|
clearOAuthCaches
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-THRMUZZD.js";
|
|
34
|
+
import {
|
|
35
|
+
childEnvWithoutVaultSecrets
|
|
36
|
+
} from "./chunk-V42T3QNK.js";
|
|
37
|
+
import "./chunk-O3RTM5HD.js";
|
|
38
|
+
import "./chunk-CXST5CVH.js";
|
|
39
|
+
import "./chunk-7U5NSQ5T.js";
|
|
40
|
+
import "./chunk-3LENTPGE.js";
|
|
41
|
+
import "./chunk-JEHI2YU4.js";
|
|
42
|
+
import "./chunk-IWCVZ46B.js";
|
|
41
43
|
import "./chunk-T4MQCFIK.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-BHXCAVFP.js";
|
|
45
|
+
import "./chunk-MHUMLEBO.js";
|
|
46
|
+
import "./chunk-IRSL7JRH.js";
|
|
44
47
|
import {
|
|
45
48
|
analyzeConnectionError
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-UVRJ3AAD.js";
|
|
50
|
+
import "./chunk-O7SIXJM6.js";
|
|
48
51
|
import "./chunk-LRKZP7DJ.js";
|
|
49
52
|
|
|
50
|
-
// node_modules/.pnpm/mcporter@0.
|
|
53
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/auth-command.js
|
|
51
54
|
import { spawn } from "node:child_process";
|
|
52
55
|
async function handleAuth(runtime, args, options = {}) {
|
|
53
56
|
const browserSuppression = consumeBrowserSuppression(args, process.env);
|
|
@@ -163,7 +166,7 @@ async function runStdioAuth(definition, options = {}) {
|
|
|
163
166
|
if (definition.oauthCommand) {
|
|
164
167
|
authArgs.push(...definition.oauthCommand.args);
|
|
165
168
|
}
|
|
166
|
-
const env = options.noBrowser ? { ...process.env, MCPORTER_OAUTH_NO_BROWSER: "1" } : process.env;
|
|
169
|
+
const env = childEnvWithoutVaultSecrets(options.noBrowser ? { ...process.env, MCPORTER_OAUTH_NO_BROWSER: "1" } : process.env);
|
|
167
170
|
return new Promise((resolve, reject) => {
|
|
168
171
|
const child = spawn(definition.command.kind === "stdio" ? definition.command.command : "", authArgs, {
|
|
169
172
|
stdio: "inherit",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
parseCallArguments
|
|
4
|
+
} from "./chunk-JTPTAO4M.js";
|
|
5
|
+
import "./chunk-H5PBSJP3.js";
|
|
6
|
+
import "./chunk-TC2JPBFB.js";
|
|
7
|
+
import "./chunk-L2MSWQDL.js";
|
|
8
|
+
import "./chunk-US63Y6XE.js";
|
|
9
|
+
import "./chunk-MEQXX43K.js";
|
|
10
|
+
import "./chunk-6O42UGLI.js";
|
|
11
|
+
import "./chunk-T4MQCFIK.js";
|
|
12
|
+
import "./chunk-BHXCAVFP.js";
|
|
13
|
+
import "./chunk-LRKZP7DJ.js";
|
|
14
|
+
export {
|
|
15
|
+
parseCallArguments
|
|
16
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
dumpActiveHandles
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N6YUOYDS.js";
|
|
5
5
|
import {
|
|
6
6
|
CALL_HELP_ARGUMENT_LINES,
|
|
7
7
|
CALL_HELP_EXAMPLE_LINES,
|
|
@@ -9,69 +9,69 @@ import {
|
|
|
9
9
|
buildUnknownCallFlagMessage,
|
|
10
10
|
buildUnvalidatedCallFlagMessage,
|
|
11
11
|
parseCallArguments
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JTPTAO4M.js";
|
|
13
13
|
import {
|
|
14
14
|
CliUsageError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-H5PBSJP3.js";
|
|
16
16
|
import {
|
|
17
17
|
printCallOutput,
|
|
18
18
|
tailLogIfRequested
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-RUF27IUF.js";
|
|
20
|
+
import "./chunk-DU4SDPEV.js";
|
|
21
21
|
import {
|
|
22
22
|
loadToolMetadata
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3P3KGT4H.js";
|
|
24
24
|
import {
|
|
25
25
|
chooseClosestIdentifier,
|
|
26
26
|
normalizeIdentifier,
|
|
27
27
|
renderIdentifierResolutionMessages
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-66VSGFXA.js";
|
|
29
|
+
import "./chunk-KJ5FPQF6.js";
|
|
30
30
|
import {
|
|
31
31
|
dimText,
|
|
32
32
|
redText,
|
|
33
33
|
yellowText
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IRARVOUM.js";
|
|
35
35
|
import {
|
|
36
36
|
resolveServerCallTimeout,
|
|
37
37
|
withTimeout
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-TC2JPBFB.js";
|
|
39
39
|
import {
|
|
40
40
|
persistPreparedEphemeralServer,
|
|
41
41
|
prepareEphemeralServerTarget,
|
|
42
42
|
renderAdhocServerHelpLines
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-3FRLDHVD.js";
|
|
44
|
+
import "./chunk-63L6SHK3.js";
|
|
45
|
+
import "./chunk-ZEA3Y5ZD.js";
|
|
46
46
|
import {
|
|
47
47
|
buildConnectionIssueEnvelope
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-3HSC6NHZ.js";
|
|
49
|
+
import "./chunk-L2MSWQDL.js";
|
|
50
50
|
import {
|
|
51
51
|
looksLikeHttpUrl,
|
|
52
52
|
normalizeHttpUrlCandidate
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-US63Y6XE.js";
|
|
54
|
+
import "./chunk-MEQXX43K.js";
|
|
55
55
|
import {
|
|
56
56
|
wrapCallResult
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-3SXP4S2A.js";
|
|
58
|
+
import "./chunk-O3RTM5HD.js";
|
|
59
|
+
import "./chunk-6O42UGLI.js";
|
|
60
|
+
import "./chunk-CXST5CVH.js";
|
|
61
|
+
import "./chunk-7U5NSQ5T.js";
|
|
62
|
+
import "./chunk-3LENTPGE.js";
|
|
63
|
+
import "./chunk-JEHI2YU4.js";
|
|
64
|
+
import "./chunk-IWCVZ46B.js";
|
|
65
65
|
import "./chunk-T4MQCFIK.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-BHXCAVFP.js";
|
|
67
|
+
import "./chunk-MHUMLEBO.js";
|
|
68
68
|
import {
|
|
69
69
|
analyzeConnectionError
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import "./chunk-
|
|
70
|
+
} from "./chunk-UVRJ3AAD.js";
|
|
71
|
+
import "./chunk-O7SIXJM6.js";
|
|
72
72
|
import "./chunk-LRKZP7DJ.js";
|
|
73
73
|
|
|
74
|
-
// node_modules/.pnpm/mcporter@0.
|
|
74
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/image-output.js
|
|
75
75
|
import fs from "node:fs";
|
|
76
76
|
import path from "node:path";
|
|
77
77
|
function saveCallImagesIfRequested(wrapped, outputDir) {
|
|
@@ -129,7 +129,7 @@ function resolveImageOutputPath(outputDir, baseName, extension) {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
// node_modules/.pnpm/mcporter@0.
|
|
132
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/call-command.js
|
|
133
133
|
async function handleCall(runtime, args) {
|
|
134
134
|
let prepared;
|
|
135
135
|
try {
|
|
@@ -301,7 +301,7 @@ async function maybeDescribeServer(runtime, server, tool, outputFormat, disableO
|
|
|
301
301
|
if (outputFormat === "json") {
|
|
302
302
|
listArgs2.push("--json");
|
|
303
303
|
}
|
|
304
|
-
const { handleList: handleList2 } = await import("./list-command-
|
|
304
|
+
const { handleList: handleList2 } = await import("./list-command-SDITI3ZM.js");
|
|
305
305
|
await handleList2(runtime, listArgs2);
|
|
306
306
|
return true;
|
|
307
307
|
}
|
|
@@ -324,7 +324,7 @@ async function maybeDescribeServer(runtime, server, tool, outputFormat, disableO
|
|
|
324
324
|
if (outputFormat === "json") {
|
|
325
325
|
listArgs.push("--json");
|
|
326
326
|
}
|
|
327
|
-
const { handleList } = await import("./list-command-
|
|
327
|
+
const { handleList } = await import("./list-command-SDITI3ZM.js");
|
|
328
328
|
await handleList(runtime, listArgs);
|
|
329
329
|
return true;
|
|
330
330
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
legacyMcporterDir
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IWCVZ46B.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/record-transport.js
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
var initializedRecordingPaths = /* @__PURE__ */ new Map();
|
|
@@ -7,42 +7,42 @@ import {
|
|
|
7
7
|
reconcilePersistedTokens,
|
|
8
8
|
withRefreshLock,
|
|
9
9
|
withRefreshRequestTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-THRMUZZD.js";
|
|
11
11
|
import {
|
|
12
12
|
runtimeEnvironment,
|
|
13
13
|
sameOAuthClientGeneration,
|
|
14
14
|
sameOAuthTokenGeneration,
|
|
15
15
|
withOAuthClientGeneration
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-V42T3QNK.js";
|
|
17
17
|
import {
|
|
18
18
|
OAuthRequestedScopeSchema
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CXST5CVH.js";
|
|
20
20
|
import {
|
|
21
21
|
isFileLockTimeoutError
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3LENTPGE.js";
|
|
23
23
|
import {
|
|
24
24
|
analyzeConnectionError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-UVRJ3AAD.js";
|
|
26
26
|
import {
|
|
27
27
|
IssuerMismatchError,
|
|
28
28
|
auth,
|
|
29
29
|
validateClientMetadataUrl
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-O7SIXJM6.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/mcporter@0.
|
|
32
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/oauth-browser-suppression.js
|
|
33
33
|
var TRUE_VALUES = /* @__PURE__ */ new Set(["1", "true", "yes"]);
|
|
34
34
|
function suppressBrowserLaunchFromEnv(env = runtimeEnvironment()) {
|
|
35
35
|
const raw = env.MCPORTER_OAUTH_NO_BROWSER;
|
|
36
36
|
return raw !== void 0 && TRUE_VALUES.has(raw.trim().toLowerCase());
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
// node_modules/.pnpm/mcporter@0.
|
|
39
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/oauth.js
|
|
40
40
|
import { spawn } from "node:child_process";
|
|
41
41
|
import { createHash, randomUUID } from "node:crypto";
|
|
42
42
|
import http from "node:http";
|
|
43
43
|
import { URL as URL2 } from "node:url";
|
|
44
44
|
|
|
45
|
-
// node_modules/.pnpm/mcporter@0.
|
|
45
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/oauth-redirect-uri.js
|
|
46
46
|
function matchesFreshLoopbackRedirect(returned, requested) {
|
|
47
47
|
let redirect;
|
|
48
48
|
try {
|
|
@@ -63,7 +63,7 @@ function matchesFreshLoopbackRedirect(returned, requested) {
|
|
|
63
63
|
return redirect.href === requested.href;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
// node_modules/.pnpm/mcporter@0.
|
|
66
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/oauth.js
|
|
67
67
|
var CALLBACK_HOST = "127.0.0.1";
|
|
68
68
|
var CALLBACK_PATH = "/callback";
|
|
69
69
|
var INTERACTIVE_AUTHORIZATION_TTL_MS = 3e5;
|
|
@@ -576,7 +576,7 @@ var __oauthInternals = {
|
|
|
576
576
|
openExternal
|
|
577
577
|
};
|
|
578
578
|
|
|
579
|
-
// node_modules/.pnpm/mcporter@0.
|
|
579
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime-oauth-support.js
|
|
580
580
|
function maybeEnableOAuth(definition, logger) {
|
|
581
581
|
if (definition.auth === "oauth" || definition.auth === "refreshable_bearer") {
|
|
582
582
|
return void 0;
|
|
@@ -595,7 +595,7 @@ function isUnauthorizedError(error) {
|
|
|
595
595
|
return issue.kind === "auth";
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
// node_modules/.pnpm/mcporter@0.
|
|
598
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/oauth.js
|
|
599
599
|
var DEFAULT_OAUTH_CODE_TIMEOUT_MS = 3e5;
|
|
600
600
|
var OAUTH_FLOW_ERROR = /* @__PURE__ */ Symbol("oauth-flow-error");
|
|
601
601
|
var POST_AUTH_CONNECT_ERROR = /* @__PURE__ */ Symbol("post-auth-connect-error");
|
|
@@ -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/sdk-stdio-logging.js
|
|
4
4
|
var STDIO_LOGS_FORCED = process.env.MCPORTER_STDIO_LOGS === "1";
|
|
5
5
|
var STDIO_TRACE_ENABLED = process.env.MCPORTER_STDIO_TRACE === "1";
|
|
6
6
|
var stdioLogMode = STDIO_LOGS_FORCED ? "always" : "auto";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
findServerByHttpUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-63L6SHK3.js";
|
|
5
5
|
import {
|
|
6
6
|
persistEphemeralServer,
|
|
7
7
|
resolveEphemeralServer,
|
|
8
8
|
splitCommandLine
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZEA3Y5ZD.js";
|
|
10
10
|
import {
|
|
11
11
|
looksLikeHttpUrl,
|
|
12
12
|
normalizeHttpUrlCandidate
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-US63Y6XE.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/mcporter@0.
|
|
15
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/adhoc-help.js
|
|
16
16
|
var ADHOC_SERVER_HELP_ENTRIES = [
|
|
17
17
|
{ flag: "--http-url <url>", description: "Register an HTTP server for this run." },
|
|
18
18
|
{ flag: "--allow-http", description: "Permit plain http:// URLs with --http-url." },
|
|
@@ -36,7 +36,7 @@ function renderAdhocServerHelpLines(width = 23) {
|
|
|
36
36
|
return ADHOC_SERVER_HELP_ENTRIES.map((entry) => ` ${entry.flag.padEnd(width)}${entry.description}`);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
// node_modules/.pnpm/mcporter@0.
|
|
39
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/ephemeral-target.js
|
|
40
40
|
async function prepareEphemeralServerTarget(options) {
|
|
41
41
|
let target = options.target;
|
|
42
42
|
let spec = options.ephemeral ? { ...options.ephemeral } : void 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/json-output.js
|
|
4
4
|
function buildConnectionIssueEnvelope(params) {
|
|
5
5
|
return {
|
|
6
6
|
server: params.server,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/process-utils.js
|
|
4
4
|
function isProcessRunning(pid) {
|
|
5
5
|
if (!Number.isInteger(pid) || pid <= 0) {
|
|
6
6
|
return false;
|
|
@@ -13,7 +13,7 @@ function isProcessRunning(pid) {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/mcporter@0.
|
|
16
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/fs-json.js
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
import { constants } from "node:fs";
|
|
19
19
|
import fs from "node:fs/promises";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
buildToolMetadataList
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KJ5FPQF6.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/tool-cache.js
|
|
7
7
|
var runtimeCache = /* @__PURE__ */ new WeakMap();
|
|
8
8
|
function cacheKey(serverName, options) {
|
|
9
9
|
const includeSchema = options.includeSchema !== false;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
analyzeConnectionError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UVRJ3AAD.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/result-utils.js
|
|
7
7
|
function extractEnvelope(raw) {
|
|
8
8
|
return collectEnvelopeFields(raw, { content: null, structuredContent: null }, 0);
|
|
9
9
|
}
|
|
@@ -2,15 +2,15 @@ import { createRequire as __createRequire } from "node:module"; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
buildFallbackLiteral,
|
|
4
4
|
pickExampleLiteral
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KJ5FPQF6.js";
|
|
6
6
|
import {
|
|
7
7
|
cyanText,
|
|
8
8
|
dimText,
|
|
9
9
|
extraDimText,
|
|
10
10
|
yellowText
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IRARVOUM.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/mcporter@0.
|
|
13
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/list-signature.js
|
|
14
14
|
function formatFunctionSignature(name, options, outputSchema, formatOptions) {
|
|
15
15
|
const colorize = formatOptions?.colorize !== false;
|
|
16
16
|
const keyword = colorize ? extraDimText("function") : "function";
|
|
@@ -272,7 +272,7 @@ function formatArrayItemType(type) {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
// node_modules/.pnpm/mcporter@0.
|
|
275
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/list-doc-comments.js
|
|
276
276
|
var DEFAULT_WRAP_WIDTH = 100;
|
|
277
277
|
function buildDocComment(description, options, opts) {
|
|
278
278
|
const colorize = opts?.colorize !== false;
|
|
@@ -383,7 +383,7 @@ function wrapCommentText(text, width = DEFAULT_WRAP_WIDTH) {
|
|
|
383
383
|
return lines;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
// node_modules/.pnpm/mcporter@0.
|
|
386
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/list-detail-helpers.js
|
|
387
387
|
var DEFAULT_MIN_VISIBLE_PARAMS = 5;
|
|
388
388
|
function selectDisplayOptions(options, requiredOnly, minVisible = DEFAULT_MIN_VISIBLE_PARAMS) {
|
|
389
389
|
if (!requiredOnly || options.length <= minVisible) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
normalizeHttpUrl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-US63Y6XE.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/server-lookup.js
|
|
7
7
|
function findServerByHttpUrl(definitions, urlString) {
|
|
8
8
|
const normalizedTarget = normalizeHttpUrl(urlString);
|
|
9
9
|
if (!normalizedTarget) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/identifier-helpers.js
|
|
4
4
|
var AUTO_THRESHOLD_RATIO = 0.3;
|
|
5
5
|
var AUTO_THRESHOLD_MIN = 2;
|
|
6
6
|
function chooseClosestIdentifier(input, candidates) {
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
resolveEnvPlaceholders,
|
|
7
7
|
resolveEnvValue
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BHXCAVFP.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/mcporter@0.
|
|
10
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/chrome-devtools-command.js
|
|
11
11
|
var AUTO_CONNECT_FLAGS = /* @__PURE__ */ new Set(["--autoConnect", "--auto-connect"]);
|
|
12
12
|
var NEGATED_AUTO_CONNECT_FLAGS = /* @__PURE__ */ new Set(["--no-autoConnect", "--no-auto-connect"]);
|
|
13
13
|
var CONNECTION_VALUE_FLAGS = /* @__PURE__ */ new Set([
|
|
@@ -277,7 +277,7 @@ function booleanLiteral(value) {
|
|
|
277
277
|
return void 0;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
// node_modules/.pnpm/mcporter@0.
|
|
280
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/runtime/utils.js
|
|
281
281
|
var ENV_PLACEHOLDER_PATTERN = /\$\{(?:env:[^}]*|[A-Za-z_][A-Za-z0-9_]*(?::-[^}]*)?)\}/;
|
|
282
282
|
var MAX_TIMER_DELAY_MS = 2147483647;
|
|
283
283
|
function resolveCommandArgument(value, env = process.env) {
|
|
@@ -358,13 +358,13 @@ function scheduleDeadline(callback, delayMs) {
|
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
// node_modules/.pnpm/mcporter@0.
|
|
361
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/chrome-devtools-relay.js
|
|
362
362
|
import { createHash as createHash3 } from "node:crypto";
|
|
363
363
|
import fs from "node:fs";
|
|
364
364
|
import os from "node:os";
|
|
365
365
|
import path2 from "node:path";
|
|
366
366
|
|
|
367
|
-
// node_modules/.pnpm/mcporter@0.
|
|
367
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/chrome-devtools-relay-proxy.js
|
|
368
368
|
import { createHash, randomBytes, timingSafeEqual } from "node:crypto";
|
|
369
369
|
import http, {} from "node:http";
|
|
370
370
|
var WEBSOCKET_GUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
|
|
@@ -520,7 +520,7 @@ async function closeServer(server, sockets) {
|
|
|
520
520
|
await new Promise((resolve) => server.close(() => resolve()));
|
|
521
521
|
}
|
|
522
522
|
|
|
523
|
-
// node_modules/.pnpm/mcporter@0.
|
|
523
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/browser-relay-auth-v2.js
|
|
524
524
|
import { createHmac, hash, timingSafeEqual as timingSafeEqual2 } from "node:crypto";
|
|
525
525
|
var BROWSER_RELAY_AUTH_LABEL = "openclaw.browser-relay.auth";
|
|
526
526
|
var BROWSER_RELAY_AUTH_VERSION = 2;
|
|
@@ -589,7 +589,7 @@ function isCanonicalBase64Url(value, bytes) {
|
|
|
589
589
|
return decoded.byteLength === bytes && decoded.toString("base64url") === value;
|
|
590
590
|
}
|
|
591
591
|
|
|
592
|
-
// node_modules/.pnpm/mcporter@0.
|
|
592
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/chrome-devtools-relay-client.js
|
|
593
593
|
import { createHash as createHash2, randomBytes as randomBytes2 } from "node:crypto";
|
|
594
594
|
import { lookup } from "node:dns/promises";
|
|
595
595
|
import net from "node:net";
|
|
@@ -1100,7 +1100,7 @@ function isTimeoutError(error) {
|
|
|
1100
1100
|
return Boolean(error && typeof error === "object" && error.reason === "timeout");
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1103
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/chrome-devtools-relay-discovery.js
|
|
1104
1104
|
import { spawn } from "node:child_process";
|
|
1105
1105
|
import { statSync } from "node:fs";
|
|
1106
1106
|
import net2 from "node:net";
|
|
@@ -1554,7 +1554,7 @@ function openClawDiscoveryEnvironment(env) {
|
|
|
1554
1554
|
return filtered;
|
|
1555
1555
|
}
|
|
1556
1556
|
|
|
1557
|
-
// node_modules/.pnpm/mcporter@0.
|
|
1557
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/chrome-devtools-relay.js
|
|
1558
1558
|
var DEFAULT_RELAY_PROBE_TIMEOUT_MS = 2e4;
|
|
1559
1559
|
var MIN_RELAY_PROBE_TIMEOUT_MS = 100;
|
|
1560
1560
|
var MAX_RELAY_PROBE_TIMEOUT_MS = 3e4;
|
|
@@ -1,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/stable-json.js
|
|
4
4
|
function stableJsonStringify(value, space) {
|
|
5
5
|
const json = JSON.stringify(sortJsonValue(value), void 0, space);
|
|
6
6
|
if (json === void 0) {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
printParseErrorCode
|
|
5
5
|
} from "./chunk-T4MQCFIK.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/mcporter@0.
|
|
7
|
+
// node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/config/imports/shared.js
|
|
8
8
|
function parseJsonBuffer(buffer) {
|
|
9
9
|
const errors = [];
|
|
10
10
|
const parsed = parse(buffer, errors, { allowTrailingComma: true });
|
|
@@ -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/daemon/launch.js
|
|
4
4
|
import { spawn } from "node:child_process";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { existsSync } from "node:fs";
|
|
@@ -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/env.js
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
var ENV_DEFAULT_PATTERN = /^\$\{([A-Za-z_][A-Za-z0-9_]*)(?::-|:|-)?([^}]*)\}$/;
|
|
@@ -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/definition-fields.js
|
|
4
4
|
var SHARED_DEFINITION_FIELDS = [
|
|
5
5
|
"auth",
|
|
6
6
|
"tokenCacheDir",
|
|
@@ -14,6 +14,7 @@ var SHARED_DEFINITION_FIELDS = [
|
|
|
14
14
|
"oauthClientMetadataUrl",
|
|
15
15
|
"oauthScope",
|
|
16
16
|
"oauthRequestedScope",
|
|
17
|
+
"oauthVaultEncryption",
|
|
17
18
|
"refresh",
|
|
18
19
|
"httpFetch",
|
|
19
20
|
"allowedTools",
|