@introspection-ai/recipes 0.19.3 → 0.21.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/README.md +5 -4
- package/dist/agents.d.ts +17 -1
- package/dist/agents.d.ts.map +1 -1
- package/dist/agents.js +15 -1
- package/dist/agents.js.map +1 -1
- package/dist/child-agent.d.ts +5 -1
- package/dist/child-agent.d.ts.map +1 -1
- package/dist/child-agent.js +34 -1
- package/dist/child-agent.js.map +1 -1
- package/dist/mcp-chunks/{auth-command-3K7V3VCW.js → auth-command-4OEOMU2V.js} +26 -38
- package/dist/mcp-chunks/call-arguments-RPXZJOXL.js +15 -0
- package/dist/mcp-chunks/{call-command-OFPHPFM5.js → call-command-AUEKSBMD.js} +74 -40
- package/dist/mcp-chunks/{chunk-NCXEJ35U.js → chunk-3VLPWGJL.js} +4 -4
- package/dist/mcp-chunks/{chunk-2FSDGCHW.js → chunk-47N2EELW.js} +377 -527
- package/dist/mcp-chunks/{chunk-WWO5WGH5.js → chunk-4NDR45CX.js} +5 -5
- package/dist/mcp-chunks/{chunk-2MEHGB7D.js → chunk-5WGJPYOR.js} +1 -1
- package/dist/mcp-chunks/chunk-6CYJ6RN3.js +12 -0
- package/dist/mcp-chunks/{chunk-XUF6KARU.js → chunk-6DL2C6V5.js} +1 -1
- package/dist/mcp-chunks/{chunk-54EWGONA.js → chunk-6QH47GNE.js} +10 -6
- package/dist/mcp-chunks/{chunk-PKOJCYNA.js → chunk-756YH7S4.js} +2 -2
- package/dist/mcp-chunks/{chunk-C2PQFLWS.js → chunk-7CS27CWE.js} +15 -6
- package/dist/mcp-chunks/{chunk-GIF7LOYU.js → chunk-7KEDX7SE.js} +2 -2
- package/dist/mcp-chunks/{chunk-LNSUME65.js → chunk-AB7MHBEG.js} +29 -13
- package/dist/mcp-chunks/{chunk-NZOIX6XW.js → chunk-ACTRQW5L.js} +2 -2
- package/dist/mcp-chunks/{chunk-7A63PAGP.js → chunk-ADINDBOF.js} +21 -5
- package/dist/mcp-chunks/{chunk-XTL4MHFH.js → chunk-AF74TOWM.js} +11 -7
- package/dist/mcp-chunks/{chunk-KSGYBW3F.js → chunk-AFKE4BTR.js} +72 -22
- package/dist/mcp-chunks/{chunk-YTKRAHO6.js → chunk-DEYKPG4K.js} +4 -4
- package/dist/mcp-chunks/{chunk-SB2UUURE.js → chunk-E4YYMOT2.js} +10 -10
- package/dist/mcp-chunks/{chunk-HAO6PL7Z.js → chunk-HBDCHBJP.js} +7 -7
- package/dist/mcp-chunks/{chunk-QJACOI2W.js → chunk-HDUKEFBI.js} +4 -2
- package/dist/mcp-chunks/{chunk-E6RVTWJY.js → chunk-HHMWZ2FZ.js} +1 -1
- package/dist/mcp-chunks/{chunk-HTZ2URXW.js → chunk-IPH6U7SE.js} +3 -3
- package/dist/mcp-chunks/{chunk-SFREPU3D.js → chunk-J3J3NQ4X.js} +1 -1
- package/dist/mcp-chunks/{chunk-JAKI24KR.js → chunk-J6VOMOKI.js} +1 -1
- package/dist/mcp-chunks/{chunk-H7F5RZXS.js → chunk-JILBFEBD.js} +2 -1
- package/dist/mcp-chunks/{chunk-YPJ5EHXR.js → chunk-K56RW4HB.js} +4 -4
- package/dist/mcp-chunks/{chunk-YCYSQA5V.js → chunk-KMH3PHLA.js} +5 -5
- package/dist/mcp-chunks/{chunk-2JHHONW4.js → chunk-KPXFBRTG.js} +1 -1
- package/dist/mcp-chunks/{chunk-LICH4Q7A.js → chunk-L4CUJJI5.js} +4 -4
- package/dist/mcp-chunks/{chunk-XRGLP3Z2.js → chunk-LC2CCTQN.js} +1 -1
- package/dist/mcp-chunks/{chunk-P3RN22HQ.js → chunk-LJCZWKGJ.js} +3 -2
- package/dist/mcp-chunks/{chunk-F3LL4EBL.js → chunk-MFFE5QSH.js} +1 -1
- package/dist/mcp-chunks/{chunk-64EP2BVO.js → chunk-MOML5C2E.js} +1 -1
- package/dist/mcp-chunks/{chunk-CNDY7WB4.js → chunk-MRXSXBZT.js} +2 -2
- package/dist/mcp-chunks/{chunk-WXBPMFSN.js → chunk-NMFI6AUD.js} +91 -34
- package/dist/mcp-chunks/{chunk-55JIHDU3.js → chunk-NWLOPQT7.js} +1 -1
- package/dist/mcp-chunks/{chunk-DXPHJFSA.js → chunk-OGFFBNIC.js} +4 -4
- package/dist/mcp-chunks/{chunk-7RDLPFIO.js → chunk-PPIXUCYQ.js} +2 -2
- package/dist/mcp-chunks/{chunk-RBVYCKCD.js → chunk-PPOHGQKM.js} +2 -2
- package/dist/mcp-chunks/{chunk-E6T37ED6.js → chunk-PRZCYXVO.js} +2 -2
- package/dist/mcp-chunks/{chunk-ETWN4IIA.js → chunk-Q7ESBNJG.js} +6 -6
- package/dist/mcp-chunks/{chunk-CA5WFJZA.js → chunk-RE4EVQNC.js} +1 -1
- package/dist/mcp-chunks/{chunk-6D6KPSXN.js → chunk-RO2Y34XX.js} +1 -1
- package/dist/mcp-chunks/{chunk-KSMY7PXI.js → chunk-SAK5KCLR.js} +1 -1
- package/dist/mcp-chunks/{chunk-UENXT3NE.js → chunk-SCGMRUKI.js} +1 -1
- package/dist/mcp-chunks/{chunk-3IZQW4H4.js → chunk-SQTXZR56.js} +212 -18
- package/dist/mcp-chunks/{chunk-FWP4RACK.js → chunk-TGJOZDKG.js} +2 -2
- package/dist/mcp-chunks/{chunk-DEUU7WSN.js → chunk-US57PK4B.js} +2 -2
- package/dist/mcp-chunks/{chunk-UHOKCTZT.js → chunk-V4RYLZM5.js} +1 -1
- package/dist/mcp-chunks/{chunk-GFYTST6N.js → chunk-X3FOKZ5C.js} +1 -1
- package/dist/mcp-chunks/{chunk-GSZOK5TS.js → chunk-XK3LRH3Q.js} +3 -3
- package/dist/mcp-chunks/chunk-XVJAASVZ.js +1931 -0
- package/dist/mcp-chunks/{chunk-ZBFZ5UFE.js → chunk-YX2NKW6O.js} +3 -1
- package/dist/mcp-chunks/{chunk-L4VKBFYI.js → chunk-Z7O6NF7X.js} +101 -16
- package/dist/mcp-chunks/{chunk-7DH57OKF.js → chunk-ZKFG37TB.js} +2 -2
- package/dist/mcp-chunks/chunk-ZRZ7C6L3.js +823 -0
- package/dist/mcp-chunks/{chunk-YSPT6F7K.js → chunk-ZZSD2JT7.js} +1 -1
- package/dist/mcp-chunks/{cli-E4P6SZLQ.js → cli-B7WQQUME.js} +70 -69
- package/dist/mcp-chunks/client-4ZHIBB67.js +21 -0
- package/dist/mcp-chunks/{config-command-MWF3RHPQ.js → config-command-FF3JPMOP.js} +27 -27
- package/dist/mcp-chunks/daemon-command-FKW6YELL.js +35 -0
- package/dist/mcp-chunks/{dist-ZIPUENTM.js → dist-V4UB7RTR.js} +547 -402
- package/dist/mcp-chunks/{emit-ts-command-GOVJJ64A.js → emit-ts-command-4X56IZ32.js} +16 -16
- package/dist/mcp-chunks/{generate-cli-runner-L5OQIMEY.js → generate-cli-runner-MIPF73SJ.js} +49 -42
- package/dist/mcp-chunks/{inspect-cli-command-7OMMREPE.js → inspect-cli-command-GX54ZXKR.js} +9 -9
- package/dist/mcp-chunks/{launch-BWXPLPB7.js → launch-E2LWGPZS.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-B5UC65PT.js → lifecycle-TONHXXXJ.js} +1 -1
- package/dist/mcp-chunks/{list-command-ZO4HVFQK.js → list-command-YUGRZO4G.js} +31 -31
- package/dist/mcp-chunks/{output-utils-M3TJ2N4M.js → output-utils-AZY6N2VQ.js} +3 -3
- package/dist/mcp-chunks/{prompt-CH6TK0bC-C7OTKGRD.js → prompt-CH6TK0bC-NSBYYJZH.js} +1 -1
- package/dist/mcp-chunks/{record-command-VD3HUQIC.js → record-command-25DLELA2.js} +5 -5
- package/dist/mcp-chunks/{replay-command-AX6IN7YD.js → replay-command-6SLDG6PC.js} +6 -6
- package/dist/mcp-chunks/{resource-command-JEZ2DW2G.js → resource-command-YVOB4JCU.js} +9 -9
- package/dist/mcp-chunks/{result-utils-3YHYGS45.js → result-utils-ZXB5DM36.js} +3 -3
- package/dist/mcp-chunks/runtime-NOWGTHZ5.js +39 -0
- package/dist/mcp-chunks/{runtime-wrapper-UREU7GC3.js → runtime-wrapper-ZZPAFQE4.js} +6 -6
- package/dist/mcp-chunks/{serve-command-M47YZ6JN.js → serve-command-QYGM2AMB.js} +35 -27
- package/dist/mcp-chunks/{timeouts-THZRYP4B.js → timeouts-P3TBB3AX.js} +5 -3
- package/dist/mcp-chunks/{vault-command-53P7MLCB.js → vault-command-VDMPATIX.js} +58 -12
- package/dist/mcp-chunks/{webapi-PHEQZQKH.js → webapi-BLTNWSB2.js} +68 -60
- package/dist/mcp-daemon.js +30 -28
- package/dist/mcp-run-worker.js +30 -28
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +24 -0
- package/dist/mcp.js.map +1 -1
- package/dist/pi-extension.d.ts +3 -0
- package/dist/pi-extension.d.ts.map +1 -1
- package/dist/pi-extension.js +30 -22
- package/dist/pi-extension.js.map +1 -1
- package/dist/run-controller.d.ts +3 -1
- package/dist/run-controller.d.ts.map +1 -1
- package/dist/run-controller.js +17 -3
- package/dist/run-controller.js.map +1 -1
- package/dist/session.d.ts +3 -1
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +4 -1
- package/dist/session.js.map +1 -1
- package/docs/host-api.md +12 -0
- package/docs/pi-extension.md +18 -5
- package/package.json +20 -16
- package/dist/mcp-chunks/call-arguments-TX3F2TEE.js +0 -15
- package/dist/mcp-chunks/chunk-SRZZQ6TL.js +0 -266
- package/dist/mcp-chunks/client-2EJC4PLL.js +0 -18
- package/dist/mcp-chunks/daemon-command-6CJ26MKI.js +0 -33
- package/dist/mcp-chunks/runtime-HSYVOME7.js +0 -37
- package/dist/recipe-check.d.ts +0 -18
- package/dist/recipe-check.d.ts.map +0 -1
- package/dist/recipe-check.js +0 -263
- package/dist/recipe-check.js.map +0 -1
- 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/vendor/mcp-client/darwin-arm64/mcp-client +0 -0
- package/vendor/mcp-client/darwin-x64/mcp-client +0 -0
- package/vendor/mcp-client/linux-arm64/mcp-client +0 -0
- package/vendor/mcp-client/linux-x64/mcp-client +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/daemon/protocol.js
|
|
4
4
|
var DAEMON_PROTOCOL_VERSION = 2;
|
|
5
5
|
var DAEMON_OPERATION_TIMEOUT_CODE = "operation_timeout";
|
|
6
|
+
var DAEMON_OAUTH_FLOW_ERROR_CODE = "oauth_flow_error";
|
|
6
7
|
var DAEMON_PROGRESS_INTERVAL_MS = 250;
|
|
7
8
|
function resolveProgressInterval(idleTimeoutMs) {
|
|
8
9
|
if (!Number.isFinite(idleTimeoutMs) || idleTimeoutMs <= 0) {
|
|
@@ -59,6 +60,7 @@ var DaemonFrameDecoder = class {
|
|
|
59
60
|
export {
|
|
60
61
|
DAEMON_PROTOCOL_VERSION,
|
|
61
62
|
DAEMON_OPERATION_TIMEOUT_CODE,
|
|
63
|
+
DAEMON_OAUTH_FLOW_ERROR_CODE,
|
|
62
64
|
DAEMON_PROGRESS_INTERVAL_MS,
|
|
63
65
|
resolveProgressInterval,
|
|
64
66
|
isDaemonProgressFrame,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
writeTextFileAtomic
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ADINDBOF.js";
|
|
5
5
|
import {
|
|
6
6
|
homeConfigCandidates,
|
|
7
7
|
listConfigLayerPaths,
|
|
8
8
|
pathExists,
|
|
9
9
|
pathExistsAsync,
|
|
10
10
|
resolveConfigPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IPH6U7SE.js";
|
|
12
12
|
import {
|
|
13
13
|
expandHome,
|
|
14
14
|
resolveEnvPlaceholders
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HBDCHBJP.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveLifecycle
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RO2Y34XX.js";
|
|
19
19
|
import {
|
|
20
20
|
external_exports
|
|
21
21
|
} from "./chunk-LWVFSQYX.js";
|
|
@@ -2020,14 +2020,14 @@ var require_toml = __commonJS({
|
|
|
2020
2020
|
}
|
|
2021
2021
|
});
|
|
2022
2022
|
|
|
2023
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
2023
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config.js
|
|
2024
2024
|
import path6 from "node:path";
|
|
2025
2025
|
|
|
2026
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
2026
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config/read-config.js
|
|
2027
2027
|
import fs2 from "node:fs/promises";
|
|
2028
2028
|
import path from "node:path";
|
|
2029
2029
|
|
|
2030
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
2030
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config-schema.js
|
|
2031
2031
|
var ImportKindSchema = external_exports.enum(["cursor", "claude-code", "claude-desktop", "codex", "windsurf", "opencode", "vscode"]).describe("Supported editor/client configurations to import MCP servers from");
|
|
2032
2032
|
var DEFAULT_IMPORTS = [
|
|
2033
2033
|
"cursor",
|
|
@@ -2054,6 +2054,7 @@ var RawLoggingSchema = external_exports.object({
|
|
|
2054
2054
|
}).optional().describe("Logging configuration for the server");
|
|
2055
2055
|
var RawHttpFetchSchema = external_exports.enum(["default", "node-http1"]).describe("HTTP fetch implementation for Streamable HTTP/SSE requests");
|
|
2056
2056
|
var ProtocolVersionSchema = external_exports.enum(["auto", "legacy", "2026-07-28"]).describe("MCP protocol negotiation mode; defaults to auto");
|
|
2057
|
+
var ChromeDevtoolsRelayPolicySchema = external_exports.enum(["off", "prefer", "require"]).describe("OpenClaw Chrome extension relay routing policy; defaults to prefer");
|
|
2057
2058
|
var RawRefreshSchema = external_exports.object({
|
|
2058
2059
|
tokenEndpoint: external_exports.string().optional().describe("OAuth token endpoint used to refresh access tokens"),
|
|
2059
2060
|
token_endpoint: external_exports.string().optional().describe("OAuth token endpoint used to refresh access tokens"),
|
|
@@ -2088,6 +2089,8 @@ var RawEntrySchema = external_exports.object({
|
|
|
2088
2089
|
client_name: external_exports.string().optional().describe("Client identifier for server telemetry (snake_case)"),
|
|
2089
2090
|
protocolVersion: ProtocolVersionSchema.optional().describe("MCP protocol negotiation mode (camelCase)"),
|
|
2090
2091
|
protocol_version: ProtocolVersionSchema.optional().describe("MCP protocol negotiation mode (snake_case)"),
|
|
2092
|
+
chromeDevtoolsRelay: ChromeDevtoolsRelayPolicySchema.optional().describe("OpenClaw Chrome extension relay policy for chrome-devtools-mcp (camelCase)"),
|
|
2093
|
+
chrome_devtools_relay: ChromeDevtoolsRelayPolicySchema.optional().describe("OpenClaw Chrome extension relay policy for chrome-devtools-mcp (snake_case)"),
|
|
2091
2094
|
oauthClientId: external_exports.string().optional().describe("Pre-registered OAuth client id (camelCase)"),
|
|
2092
2095
|
oauth_client_id: external_exports.string().optional().describe("Pre-registered OAuth client id (snake_case)"),
|
|
2093
2096
|
oauthClientSecret: external_exports.string().optional().describe("Pre-registered OAuth client secret (camelCase)"),
|
|
@@ -2139,7 +2142,7 @@ var RawConfigSchema = external_exports.object({
|
|
|
2139
2142
|
imports: external_exports.array(ImportKindSchema).optional().describe("Editor configurations to import servers from. Omit to use defaults, or set to [] to disable imports")
|
|
2140
2143
|
}).describe("mcporter configuration file schema");
|
|
2141
2144
|
|
|
2142
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
2145
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config/imports/shared.js
|
|
2143
2146
|
import fs from "node:fs/promises";
|
|
2144
2147
|
|
|
2145
2148
|
// node_modules/.pnpm/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/scanner.js
|
|
@@ -2643,6 +2646,64 @@ function parse(text, errors = [], options = ParseOptions.DEFAULT) {
|
|
|
2643
2646
|
visit(text, visitor, options);
|
|
2644
2647
|
return currentParent[0];
|
|
2645
2648
|
}
|
|
2649
|
+
function parseTree(text, errors = [], options = ParseOptions.DEFAULT) {
|
|
2650
|
+
let currentParent = { type: "array", offset: -1, length: -1, children: [], parent: void 0 };
|
|
2651
|
+
function ensurePropertyComplete(endOffset) {
|
|
2652
|
+
if (currentParent.type === "property") {
|
|
2653
|
+
currentParent.length = endOffset - currentParent.offset;
|
|
2654
|
+
currentParent = currentParent.parent;
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
2657
|
+
function onValue(valueNode) {
|
|
2658
|
+
currentParent.children.push(valueNode);
|
|
2659
|
+
return valueNode;
|
|
2660
|
+
}
|
|
2661
|
+
const visitor = {
|
|
2662
|
+
onObjectBegin: (offset) => {
|
|
2663
|
+
currentParent = onValue({ type: "object", offset, length: -1, parent: currentParent, children: [] });
|
|
2664
|
+
},
|
|
2665
|
+
onObjectProperty: (name, offset, length) => {
|
|
2666
|
+
currentParent = onValue({ type: "property", offset, length: -1, parent: currentParent, children: [] });
|
|
2667
|
+
currentParent.children.push({ type: "string", value: name, offset, length, parent: currentParent });
|
|
2668
|
+
},
|
|
2669
|
+
onObjectEnd: (offset, length) => {
|
|
2670
|
+
ensurePropertyComplete(offset + length);
|
|
2671
|
+
currentParent.length = offset + length - currentParent.offset;
|
|
2672
|
+
currentParent = currentParent.parent;
|
|
2673
|
+
ensurePropertyComplete(offset + length);
|
|
2674
|
+
},
|
|
2675
|
+
onArrayBegin: (offset, length) => {
|
|
2676
|
+
currentParent = onValue({ type: "array", offset, length: -1, parent: currentParent, children: [] });
|
|
2677
|
+
},
|
|
2678
|
+
onArrayEnd: (offset, length) => {
|
|
2679
|
+
currentParent.length = offset + length - currentParent.offset;
|
|
2680
|
+
currentParent = currentParent.parent;
|
|
2681
|
+
ensurePropertyComplete(offset + length);
|
|
2682
|
+
},
|
|
2683
|
+
onLiteralValue: (value, offset, length) => {
|
|
2684
|
+
onValue({ type: getNodeType(value), offset, length, parent: currentParent, value });
|
|
2685
|
+
ensurePropertyComplete(offset + length);
|
|
2686
|
+
},
|
|
2687
|
+
onSeparator: (sep, offset, length) => {
|
|
2688
|
+
if (currentParent.type === "property") {
|
|
2689
|
+
if (sep === ":") {
|
|
2690
|
+
currentParent.colonOffset = offset;
|
|
2691
|
+
} else if (sep === ",") {
|
|
2692
|
+
ensurePropertyComplete(offset);
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
},
|
|
2696
|
+
onError: (error, offset, length) => {
|
|
2697
|
+
errors.push({ error, offset, length });
|
|
2698
|
+
}
|
|
2699
|
+
};
|
|
2700
|
+
visit(text, visitor, options);
|
|
2701
|
+
const result = currentParent.children[0];
|
|
2702
|
+
if (result) {
|
|
2703
|
+
delete result.parent;
|
|
2704
|
+
}
|
|
2705
|
+
return result;
|
|
2706
|
+
}
|
|
2646
2707
|
function visit(text, visitor, options = ParseOptions.DEFAULT) {
|
|
2647
2708
|
const _scanner = createScanner(text, false);
|
|
2648
2709
|
const _jsonPath = [];
|
|
@@ -2948,6 +3009,26 @@ function visit(text, visitor, options = ParseOptions.DEFAULT) {
|
|
|
2948
3009
|
}
|
|
2949
3010
|
return true;
|
|
2950
3011
|
}
|
|
3012
|
+
function getNodeType(value) {
|
|
3013
|
+
switch (typeof value) {
|
|
3014
|
+
case "boolean":
|
|
3015
|
+
return "boolean";
|
|
3016
|
+
case "number":
|
|
3017
|
+
return "number";
|
|
3018
|
+
case "string":
|
|
3019
|
+
return "string";
|
|
3020
|
+
case "object": {
|
|
3021
|
+
if (!value) {
|
|
3022
|
+
return "null";
|
|
3023
|
+
} else if (Array.isArray(value)) {
|
|
3024
|
+
return "array";
|
|
3025
|
+
}
|
|
3026
|
+
return "object";
|
|
3027
|
+
}
|
|
3028
|
+
default:
|
|
3029
|
+
return "null";
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
2951
3032
|
|
|
2952
3033
|
// node_modules/.pnpm/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/main.js
|
|
2953
3034
|
var ScanError;
|
|
@@ -2981,6 +3062,7 @@ var SyntaxKind;
|
|
|
2981
3062
|
SyntaxKind2[SyntaxKind2["EOF"] = 17] = "EOF";
|
|
2982
3063
|
})(SyntaxKind || (SyntaxKind = {}));
|
|
2983
3064
|
var parse2 = parse;
|
|
3065
|
+
var parseTree2 = parseTree;
|
|
2984
3066
|
var ParseErrorCode;
|
|
2985
3067
|
(function(ParseErrorCode2) {
|
|
2986
3068
|
ParseErrorCode2[ParseErrorCode2["InvalidSymbol"] = 1] = "InvalidSymbol";
|
|
@@ -3038,7 +3120,7 @@ function printParseErrorCode(code) {
|
|
|
3038
3120
|
return "<unknown ParseErrorCode>";
|
|
3039
3121
|
}
|
|
3040
3122
|
|
|
3041
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3123
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config/imports/shared.js
|
|
3042
3124
|
async function fileExists(filePath) {
|
|
3043
3125
|
try {
|
|
3044
3126
|
await fs.access(filePath);
|
|
@@ -3061,7 +3143,7 @@ function isRecord(value) {
|
|
|
3061
3143
|
return Boolean(value && typeof value === "object" && !Array.isArray(value));
|
|
3062
3144
|
}
|
|
3063
3145
|
|
|
3064
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3146
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config/read-config.js
|
|
3065
3147
|
async function loadConfigLayers(options, rootDir) {
|
|
3066
3148
|
const explicitPath = options.configPath ?? process.env.MCPORTER_CONFIG;
|
|
3067
3149
|
if (explicitPath) {
|
|
@@ -3128,12 +3210,12 @@ function includesErrnoMessage(error, code) {
|
|
|
3128
3210
|
return typeof message === "string" && message.includes(code);
|
|
3129
3211
|
}
|
|
3130
3212
|
|
|
3131
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3213
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config/imports/external.js
|
|
3132
3214
|
var import_toml = __toESM(require_toml(), 1);
|
|
3133
3215
|
import fs3 from "node:fs/promises";
|
|
3134
3216
|
import path3 from "node:path";
|
|
3135
3217
|
|
|
3136
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3218
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config/imports/paths-utils.js
|
|
3137
3219
|
import os from "node:os";
|
|
3138
3220
|
import path2 from "node:path";
|
|
3139
3221
|
function normalizeProjectPath(input) {
|
|
@@ -3161,7 +3243,7 @@ function pathsEqual(a, b) {
|
|
|
3161
3243
|
return a === b;
|
|
3162
3244
|
}
|
|
3163
3245
|
|
|
3164
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3246
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config/imports/external.js
|
|
3165
3247
|
async function readExternalEntries(filePath, options = {}) {
|
|
3166
3248
|
if (!await fileExists(filePath)) {
|
|
3167
3249
|
return null;
|
|
@@ -3437,7 +3519,7 @@ function shouldIgnoreParseError(error) {
|
|
|
3437
3519
|
return "fromTOML" in error;
|
|
3438
3520
|
}
|
|
3439
3521
|
|
|
3440
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3522
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config/imports/paths.js
|
|
3441
3523
|
import os2 from "node:os";
|
|
3442
3524
|
import path4 from "node:path";
|
|
3443
3525
|
function pathsForImport(kind, rootDir) {
|
|
@@ -3571,7 +3653,7 @@ function dedupePaths(paths) {
|
|
|
3571
3653
|
return result;
|
|
3572
3654
|
}
|
|
3573
3655
|
|
|
3574
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3656
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config-normalize.js
|
|
3575
3657
|
import fs4 from "node:fs";
|
|
3576
3658
|
import path5 from "node:path";
|
|
3577
3659
|
function normalizeServerEntry(name, raw, baseDir, source, sources) {
|
|
@@ -3583,6 +3665,7 @@ function normalizeServerEntry(name, raw, baseDir, source, sources) {
|
|
|
3583
3665
|
const tokenCacheDir = normalizePath(raw.tokenCacheDir ?? raw.token_cache_dir);
|
|
3584
3666
|
const clientName = raw.clientName ?? raw.client_name;
|
|
3585
3667
|
const protocolVersion = raw.protocolVersion ?? raw.protocol_version;
|
|
3668
|
+
const chromeDevtoolsRelay = raw.chromeDevtoolsRelay ?? raw.chrome_devtools_relay;
|
|
3586
3669
|
const oauthClientId = raw.oauthClientId ?? raw.oauth_client_id ?? void 0;
|
|
3587
3670
|
const oauthClientSecret = raw.oauthClientSecret ?? raw.oauth_client_secret ?? void 0;
|
|
3588
3671
|
const oauthClientSecretEnv = raw.oauthClientSecretEnv ?? raw.oauth_client_secret_env ?? void 0;
|
|
@@ -3628,6 +3711,7 @@ function normalizeServerEntry(name, raw, baseDir, source, sources) {
|
|
|
3628
3711
|
tokenCacheDir,
|
|
3629
3712
|
clientName,
|
|
3630
3713
|
protocolVersion,
|
|
3714
|
+
chromeDevtoolsRelay,
|
|
3631
3715
|
oauthClientId,
|
|
3632
3716
|
oauthClientSecret,
|
|
3633
3717
|
oauthClientSecretEnv,
|
|
@@ -3855,7 +3939,7 @@ function normalizeLogging(raw) {
|
|
|
3855
3939
|
return void 0;
|
|
3856
3940
|
}
|
|
3857
3941
|
|
|
3858
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3942
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/config.js
|
|
3859
3943
|
async function buildServerDefinitions(layers, rootDir) {
|
|
3860
3944
|
const merged = /* @__PURE__ */ new Map();
|
|
3861
3945
|
for (const layer of layers) {
|
|
@@ -3958,6 +4042,7 @@ function resolveConfigPath2(configPath, rootDir) {
|
|
|
3958
4042
|
}
|
|
3959
4043
|
|
|
3960
4044
|
export {
|
|
4045
|
+
parseTree2 as parseTree,
|
|
3961
4046
|
readExternalEntries,
|
|
3962
4047
|
pathsForImport,
|
|
3963
4048
|
__configInternals,
|
|
@@ -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-US57PK4B.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.13.7/node_modules/mcporter/dist/runtime-oauth-support.js
|
|
7
7
|
function maybeEnableOAuth(definition, logger) {
|
|
8
8
|
if (definition.auth === "oauth" || definition.auth === "refreshable_bearer") {
|
|
9
9
|
return void 0;
|