@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
|
@@ -1,24 +1,24 @@
|
|
|
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-7A63PAGP.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-HTZ2URXW.js";
|
|
12
12
|
import {
|
|
13
13
|
expandHome,
|
|
14
14
|
resolveEnvPlaceholders
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HAO6PL7Z.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveLifecycle
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6D6KPSXN.js";
|
|
19
19
|
import {
|
|
20
20
|
external_exports
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LWVFSQYX.js";
|
|
22
22
|
import {
|
|
23
23
|
__commonJS,
|
|
24
24
|
__require,
|
|
@@ -2020,14 +2020,14 @@ var require_toml = __commonJS({
|
|
|
2020
2020
|
}
|
|
2021
2021
|
});
|
|
2022
2022
|
|
|
2023
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2023
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/config.js
|
|
2024
2024
|
import path6 from "node:path";
|
|
2025
2025
|
|
|
2026
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2026
|
+
// node_modules/.pnpm/mcporter@0.13.0/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.
|
|
2030
|
+
// node_modules/.pnpm/mcporter@0.13.0/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",
|
|
@@ -2053,6 +2053,7 @@ var RawLoggingSchema = external_exports.object({
|
|
|
2053
2053
|
}).optional().describe("Daemon-specific logging configuration")
|
|
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
|
+
var ProtocolVersionSchema = external_exports.enum(["auto", "legacy", "2026-07-28"]).describe("MCP protocol negotiation mode; defaults to auto");
|
|
2056
2057
|
var RawRefreshSchema = external_exports.object({
|
|
2057
2058
|
tokenEndpoint: external_exports.string().optional().describe("OAuth token endpoint used to refresh access tokens"),
|
|
2058
2059
|
token_endpoint: external_exports.string().optional().describe("OAuth token endpoint used to refresh access tokens"),
|
|
@@ -2085,6 +2086,8 @@ var RawEntrySchema = external_exports.object({
|
|
|
2085
2086
|
token_cache_dir: external_exports.string().optional().describe("Directory for caching OAuth tokens (snake_case)"),
|
|
2086
2087
|
clientName: external_exports.string().optional().describe("Client identifier for server telemetry (camelCase)"),
|
|
2087
2088
|
client_name: external_exports.string().optional().describe("Client identifier for server telemetry (snake_case)"),
|
|
2089
|
+
protocolVersion: ProtocolVersionSchema.optional().describe("MCP protocol negotiation mode (camelCase)"),
|
|
2090
|
+
protocol_version: ProtocolVersionSchema.optional().describe("MCP protocol negotiation mode (snake_case)"),
|
|
2088
2091
|
oauthClientId: external_exports.string().optional().describe("Pre-registered OAuth client id (camelCase)"),
|
|
2089
2092
|
oauth_client_id: external_exports.string().optional().describe("Pre-registered OAuth client id (snake_case)"),
|
|
2090
2093
|
oauthClientSecret: external_exports.string().optional().describe("Pre-registered OAuth client secret (camelCase)"),
|
|
@@ -2095,6 +2098,8 @@ var RawEntrySchema = external_exports.object({
|
|
|
2095
2098
|
oauth_token_endpoint_auth_method: external_exports.string().optional().describe("OAuth token endpoint auth method, e.g. client_secret_post"),
|
|
2096
2099
|
oauthRedirectUrl: external_exports.string().optional().describe("Custom OAuth redirect URL (camelCase)"),
|
|
2097
2100
|
oauth_redirect_url: external_exports.string().optional().describe("Custom OAuth redirect URL (snake_case)"),
|
|
2101
|
+
oauthClientMetadataUrl: external_exports.string().optional().describe("OAuth Client ID Metadata Document URL (camelCase)"),
|
|
2102
|
+
oauth_client_metadata_url: external_exports.string().optional().describe("OAuth Client ID Metadata Document URL (snake_case)"),
|
|
2098
2103
|
oauthScope: external_exports.string().optional().describe("OAuth scope override (camelCase)"),
|
|
2099
2104
|
oauth_scope: external_exports.string().optional().describe("OAuth scope override (snake_case)"),
|
|
2100
2105
|
oauthCommand: external_exports.object({
|
|
@@ -2134,7 +2139,7 @@ var RawConfigSchema = external_exports.object({
|
|
|
2134
2139
|
imports: external_exports.array(ImportKindSchema).optional().describe("Editor configurations to import servers from. Omit to use defaults, or set to [] to disable imports")
|
|
2135
2140
|
}).describe("mcporter configuration file schema");
|
|
2136
2141
|
|
|
2137
|
-
// node_modules/.pnpm/mcporter@0.
|
|
2142
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/config/imports/shared.js
|
|
2138
2143
|
import fs from "node:fs/promises";
|
|
2139
2144
|
|
|
2140
2145
|
// node_modules/.pnpm/jsonc-parser@3.3.1/node_modules/jsonc-parser/lib/esm/impl/scanner.js
|
|
@@ -3033,7 +3038,7 @@ function printParseErrorCode(code) {
|
|
|
3033
3038
|
return "<unknown ParseErrorCode>";
|
|
3034
3039
|
}
|
|
3035
3040
|
|
|
3036
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3041
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/config/imports/shared.js
|
|
3037
3042
|
async function fileExists(filePath) {
|
|
3038
3043
|
try {
|
|
3039
3044
|
await fs.access(filePath);
|
|
@@ -3056,7 +3061,7 @@ function isRecord(value) {
|
|
|
3056
3061
|
return Boolean(value && typeof value === "object" && !Array.isArray(value));
|
|
3057
3062
|
}
|
|
3058
3063
|
|
|
3059
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3064
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/config/read-config.js
|
|
3060
3065
|
async function loadConfigLayers(options, rootDir) {
|
|
3061
3066
|
const explicitPath = options.configPath ?? process.env.MCPORTER_CONFIG;
|
|
3062
3067
|
if (explicitPath) {
|
|
@@ -3123,12 +3128,12 @@ function includesErrnoMessage(error, code) {
|
|
|
3123
3128
|
return typeof message === "string" && message.includes(code);
|
|
3124
3129
|
}
|
|
3125
3130
|
|
|
3126
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3131
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/config/imports/external.js
|
|
3127
3132
|
var import_toml = __toESM(require_toml(), 1);
|
|
3128
3133
|
import fs3 from "node:fs/promises";
|
|
3129
3134
|
import path3 from "node:path";
|
|
3130
3135
|
|
|
3131
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3136
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/config/imports/paths-utils.js
|
|
3132
3137
|
import os from "node:os";
|
|
3133
3138
|
import path2 from "node:path";
|
|
3134
3139
|
function normalizeProjectPath(input) {
|
|
@@ -3156,7 +3161,7 @@ function pathsEqual(a, b) {
|
|
|
3156
3161
|
return a === b;
|
|
3157
3162
|
}
|
|
3158
3163
|
|
|
3159
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3164
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/config/imports/external.js
|
|
3160
3165
|
async function readExternalEntries(filePath, options = {}) {
|
|
3161
3166
|
if (!await fileExists(filePath)) {
|
|
3162
3167
|
return null;
|
|
@@ -3254,6 +3259,10 @@ function convertExternalEntry(value) {
|
|
|
3254
3259
|
if (clientName) {
|
|
3255
3260
|
result.clientName = clientName;
|
|
3256
3261
|
}
|
|
3262
|
+
const protocolVersion = asString(value.protocolVersion ?? value.protocol_version);
|
|
3263
|
+
if (protocolVersion) {
|
|
3264
|
+
result.protocolVersion = protocolVersion;
|
|
3265
|
+
}
|
|
3257
3266
|
const oauthClientId = asString(value.oauthClientId ?? value.oauth_client_id);
|
|
3258
3267
|
if (oauthClientId) {
|
|
3259
3268
|
result.oauthClientId = oauthClientId;
|
|
@@ -3270,6 +3279,10 @@ function convertExternalEntry(value) {
|
|
|
3270
3279
|
if (oauthTokenEndpointAuthMethod) {
|
|
3271
3280
|
result.oauthTokenEndpointAuthMethod = oauthTokenEndpointAuthMethod;
|
|
3272
3281
|
}
|
|
3282
|
+
const oauthClientMetadataUrl = asString(value.oauthClientMetadataUrl ?? value.oauth_client_metadata_url);
|
|
3283
|
+
if (oauthClientMetadataUrl) {
|
|
3284
|
+
result.oauthClientMetadataUrl = oauthClientMetadataUrl;
|
|
3285
|
+
}
|
|
3273
3286
|
const httpFetch = asString(value.httpFetch ?? value.http_fetch);
|
|
3274
3287
|
if (httpFetch) {
|
|
3275
3288
|
result.httpFetch = httpFetch;
|
|
@@ -3424,7 +3437,7 @@ function shouldIgnoreParseError(error) {
|
|
|
3424
3437
|
return "fromTOML" in error;
|
|
3425
3438
|
}
|
|
3426
3439
|
|
|
3427
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3440
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/config/imports/paths.js
|
|
3428
3441
|
import os2 from "node:os";
|
|
3429
3442
|
import path4 from "node:path";
|
|
3430
3443
|
function pathsForImport(kind, rootDir) {
|
|
@@ -3558,7 +3571,7 @@ function dedupePaths(paths) {
|
|
|
3558
3571
|
return result;
|
|
3559
3572
|
}
|
|
3560
3573
|
|
|
3561
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3574
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/config-normalize.js
|
|
3562
3575
|
import fs4 from "node:fs";
|
|
3563
3576
|
import path5 from "node:path";
|
|
3564
3577
|
function normalizeServerEntry(name, raw, baseDir, source, sources) {
|
|
@@ -3569,11 +3582,13 @@ function normalizeServerEntry(name, raw, baseDir, source, sources) {
|
|
|
3569
3582
|
const auth = normalizeAuth(raw.auth);
|
|
3570
3583
|
const tokenCacheDir = normalizePath(raw.tokenCacheDir ?? raw.token_cache_dir);
|
|
3571
3584
|
const clientName = raw.clientName ?? raw.client_name;
|
|
3585
|
+
const protocolVersion = raw.protocolVersion ?? raw.protocol_version;
|
|
3572
3586
|
const oauthClientId = raw.oauthClientId ?? raw.oauth_client_id ?? void 0;
|
|
3573
3587
|
const oauthClientSecret = raw.oauthClientSecret ?? raw.oauth_client_secret ?? void 0;
|
|
3574
3588
|
const oauthClientSecretEnv = raw.oauthClientSecretEnv ?? raw.oauth_client_secret_env ?? void 0;
|
|
3575
3589
|
const oauthTokenEndpointAuthMethod = raw.oauthTokenEndpointAuthMethod ?? raw.oauth_token_endpoint_auth_method ?? void 0;
|
|
3576
3590
|
const oauthRedirectUrl = raw.oauthRedirectUrl ?? raw.oauth_redirect_url ?? void 0;
|
|
3591
|
+
const oauthClientMetadataUrl = raw.oauthClientMetadataUrl ?? raw.oauth_client_metadata_url ?? void 0;
|
|
3577
3592
|
const oauthScope = raw.oauthScope ?? raw.oauth_scope ?? void 0;
|
|
3578
3593
|
const refresh = normalizeRefresh(raw.refresh);
|
|
3579
3594
|
const httpFetch = normalizeHttpFetch(raw.httpFetch ?? raw.http_fetch);
|
|
@@ -3612,11 +3627,13 @@ function normalizeServerEntry(name, raw, baseDir, source, sources) {
|
|
|
3612
3627
|
auth,
|
|
3613
3628
|
tokenCacheDir,
|
|
3614
3629
|
clientName,
|
|
3630
|
+
protocolVersion,
|
|
3615
3631
|
oauthClientId,
|
|
3616
3632
|
oauthClientSecret,
|
|
3617
3633
|
oauthClientSecretEnv,
|
|
3618
3634
|
oauthTokenEndpointAuthMethod,
|
|
3619
3635
|
oauthRedirectUrl,
|
|
3636
|
+
oauthClientMetadataUrl,
|
|
3620
3637
|
oauthScope,
|
|
3621
3638
|
oauthCommand: defaultedOauthCommand,
|
|
3622
3639
|
refresh,
|
|
@@ -3838,10 +3855,8 @@ function normalizeLogging(raw) {
|
|
|
3838
3855
|
return void 0;
|
|
3839
3856
|
}
|
|
3840
3857
|
|
|
3841
|
-
// node_modules/.pnpm/mcporter@0.
|
|
3842
|
-
async function
|
|
3843
|
-
const rootDir = options.rootDir ?? process.cwd();
|
|
3844
|
-
const layers = await loadConfigLayers(options, rootDir);
|
|
3858
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/config.js
|
|
3859
|
+
async function buildServerDefinitions(layers, rootDir) {
|
|
3845
3860
|
const merged = /* @__PURE__ */ new Map();
|
|
3846
3861
|
for (const layer of layers) {
|
|
3847
3862
|
const configuredImports = layer.config.imports;
|
|
@@ -3865,11 +3880,6 @@ async function loadServerDefinitions(options = {}) {
|
|
|
3865
3880
|
if (merged.has(name)) {
|
|
3866
3881
|
continue;
|
|
3867
3882
|
}
|
|
3868
|
-
const existing = merged.get(name);
|
|
3869
|
-
if (existing) {
|
|
3870
|
-
existing.sources.push(source);
|
|
3871
|
-
continue;
|
|
3872
|
-
}
|
|
3873
3883
|
merged.set(name, {
|
|
3874
3884
|
raw: rawEntry,
|
|
3875
3885
|
baseDir,
|
|
@@ -3908,9 +3918,7 @@ async function loadServerDefinitions(options = {}) {
|
|
|
3908
3918
|
}
|
|
3909
3919
|
return servers;
|
|
3910
3920
|
}
|
|
3911
|
-
|
|
3912
|
-
const rootDir = options.rootDir ?? process.cwd();
|
|
3913
|
-
const layers = await loadConfigLayers(options, rootDir);
|
|
3921
|
+
function buildDaemonConfig(layers) {
|
|
3914
3922
|
let idleTimeoutMs;
|
|
3915
3923
|
for (const layer of layers) {
|
|
3916
3924
|
const raw = layer.config.daemonIdleTimeoutMs ?? layer.config.daemon_idle_timeout_ms;
|
|
@@ -3920,6 +3928,17 @@ async function loadDaemonConfig(options = {}) {
|
|
|
3920
3928
|
}
|
|
3921
3929
|
return { idleTimeoutMs };
|
|
3922
3930
|
}
|
|
3931
|
+
async function loadConfigSnapshot(options = {}) {
|
|
3932
|
+
const rootDir = options.rootDir ?? process.cwd();
|
|
3933
|
+
const layers = await loadConfigLayers(options, rootDir);
|
|
3934
|
+
return {
|
|
3935
|
+
servers: await buildServerDefinitions(layers, rootDir),
|
|
3936
|
+
daemon: buildDaemonConfig(layers)
|
|
3937
|
+
};
|
|
3938
|
+
}
|
|
3939
|
+
async function loadServerDefinitions(options = {}) {
|
|
3940
|
+
return (await loadConfigSnapshot(options)).servers;
|
|
3941
|
+
}
|
|
3923
3942
|
async function loadRawConfig(options = {}) {
|
|
3924
3943
|
const rootDir = options.rootDir ?? process.cwd();
|
|
3925
3944
|
const resolved = resolveConfigPath2(options.configPath, rootDir);
|
|
@@ -3942,8 +3961,8 @@ export {
|
|
|
3942
3961
|
readExternalEntries,
|
|
3943
3962
|
pathsForImport,
|
|
3944
3963
|
__configInternals,
|
|
3964
|
+
loadConfigSnapshot,
|
|
3945
3965
|
loadServerDefinitions,
|
|
3946
|
-
loadDaemonConfig,
|
|
3947
3966
|
loadRawConfig,
|
|
3948
3967
|
listConfigLayerPaths2 as listConfigLayerPaths,
|
|
3949
3968
|
writeRawConfig,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
consumeTimeoutFlag
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QJACOI2W.js";
|
|
5
5
|
import {
|
|
6
6
|
extractEphemeralServerFlags
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-55JIHDU3.js";
|
|
8
8
|
import {
|
|
9
9
|
consumeOutputFormat
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-F3LL4EBL.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/.pnpm/mcporter@0.
|
|
12
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/list-flags.js
|
|
13
13
|
function extractListFlags(args) {
|
|
14
14
|
let schema = false;
|
|
15
15
|
let timeoutMs;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
CliUsageError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2JHHONW4.js";
|
|
5
5
|
import {
|
|
6
6
|
consumeTimeoutFlag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QJACOI2W.js";
|
|
8
8
|
import {
|
|
9
9
|
extractEphemeralServerFlags
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-55JIHDU3.js";
|
|
11
11
|
import {
|
|
12
12
|
splitHttpToolSelector
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UENXT3NE.js";
|
|
14
14
|
import {
|
|
15
15
|
consumeOutputFormat
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-F3LL4EBL.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/mcporter@0.
|
|
18
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/call-arguments.js
|
|
19
19
|
import fs from "node:fs";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/acorn@8.
|
|
21
|
+
// node_modules/.pnpm/acorn@8.18.0/node_modules/acorn/dist/acorn.mjs
|
|
22
22
|
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 78, 5, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 199, 7, 137, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 55, 9, 266, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
23
23
|
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 7, 25, 39, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 5, 57, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 24, 43, 261, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 33, 24, 3, 24, 45, 74, 6, 0, 67, 12, 65, 1, 2, 0, 15, 4, 10, 7381, 42, 31, 98, 114, 8702, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 208, 30, 2, 2, 2, 1, 2, 6, 3, 4, 10, 1, 225, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4381, 3, 5773, 3, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 8489];
|
|
24
24
|
var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
|
|
@@ -337,6 +337,11 @@ var defaultOptions = {
|
|
|
337
337
|
// line being 1-based and column 0-based) will be attached to the
|
|
338
338
|
// nodes.
|
|
339
339
|
locations: false,
|
|
340
|
+
// Pass an optional `{line, column}` object to use for the start of
|
|
341
|
+
// the parse. This is mostly useful when using `parseExpressionAt`
|
|
342
|
+
// with `locations: true`, to prevent the parser from having to
|
|
343
|
+
// determine the line position at the start position.
|
|
344
|
+
startLocation: null,
|
|
340
345
|
// A function can be passed as `onToken` option, which will
|
|
341
346
|
// cause Acorn to call that function with object in the same
|
|
342
347
|
// format as tokens returned from `tokenizer().getToken()`. Note
|
|
@@ -473,13 +478,18 @@ var Parser = function Parser2(options, input, startPos) {
|
|
|
473
478
|
this.reservedWordsStrictBind = wordsRegexp(reservedStrict + " " + reservedWords.strictBind);
|
|
474
479
|
this.input = String(input);
|
|
475
480
|
this.containsEsc = false;
|
|
476
|
-
|
|
477
|
-
|
|
481
|
+
this.pos = startPos || 0;
|
|
482
|
+
this.curLine = 1;
|
|
483
|
+
if (options.startLocation) {
|
|
484
|
+
this.lineStart = this.pos - options.startLocation.column;
|
|
485
|
+
this.curLine = options.startLocation.line;
|
|
486
|
+
} else if (startPos) {
|
|
478
487
|
this.lineStart = this.input.lastIndexOf("\n", startPos - 1) + 1;
|
|
479
|
-
|
|
488
|
+
if (this.options.locations) {
|
|
489
|
+
this.curLine = this.input.slice(0, this.lineStart).split(lineBreak).length;
|
|
490
|
+
}
|
|
480
491
|
} else {
|
|
481
|
-
this.
|
|
482
|
-
this.curLine = 1;
|
|
492
|
+
this.lineStart = 0;
|
|
483
493
|
}
|
|
484
494
|
this.type = types$1.eof;
|
|
485
495
|
this.value = null;
|
|
@@ -2520,7 +2530,7 @@ pp$5.parseMaybeUnary = function(refDestructuringErrors, sawUnary, incDec, forIni
|
|
|
2520
2530
|
expr = this.finishNode(node$1, "UpdateExpression");
|
|
2521
2531
|
}
|
|
2522
2532
|
}
|
|
2523
|
-
if (!incDec && this.eat(types$1.starstar)) {
|
|
2533
|
+
if (!incDec && !(expr.type === "ArrowFunctionExpression" && expr.start === startPos) && this.eat(types$1.starstar)) {
|
|
2524
2534
|
if (sawUnary) {
|
|
2525
2535
|
this.unexpected(this.lastTokStart);
|
|
2526
2536
|
} else {
|
|
@@ -5679,7 +5689,7 @@ pp.readWord = function() {
|
|
|
5679
5689
|
}
|
|
5680
5690
|
return this.finishToken(type, word);
|
|
5681
5691
|
};
|
|
5682
|
-
var version = "8.
|
|
5692
|
+
var version = "8.18.0";
|
|
5683
5693
|
Parser.acorn = {
|
|
5684
5694
|
Parser,
|
|
5685
5695
|
version,
|
|
@@ -5705,7 +5715,7 @@ function parseExpressionAt2(input, pos, options) {
|
|
|
5705
5715
|
return Parser.parseExpressionAt(input, pos, options);
|
|
5706
5716
|
}
|
|
5707
5717
|
|
|
5708
|
-
// node_modules/.pnpm/mcporter@0.
|
|
5718
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/call-expression-parser.js
|
|
5709
5719
|
var ACORN_OPTIONS = {
|
|
5710
5720
|
ecmaVersion: "latest",
|
|
5711
5721
|
sourceType: "module"
|
|
@@ -5875,7 +5885,7 @@ function isSupportedValue(node) {
|
|
|
5875
5885
|
return type === "Literal" || type === "ArrayExpression" || type === "ObjectExpression" || type === "UnaryExpression";
|
|
5876
5886
|
}
|
|
5877
5887
|
|
|
5878
|
-
// node_modules/.pnpm/mcporter@0.
|
|
5888
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/call-argument-expression.js
|
|
5879
5889
|
function parseLeadingCallExpression(rawToken) {
|
|
5880
5890
|
try {
|
|
5881
5891
|
return extractHttpCallExpression(rawToken) ?? parseCallExpressionFragment(rawToken);
|
|
@@ -5925,7 +5935,7 @@ function buildCallExpressionUsageError(error) {
|
|
|
5925
5935
|
return new CliUsageError(lines.join("\n"));
|
|
5926
5936
|
}
|
|
5927
5937
|
|
|
5928
|
-
// node_modules/.pnpm/mcporter@0.
|
|
5938
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/call-argument-values.js
|
|
5929
5939
|
function parseKeyValueToken(token, nextToken) {
|
|
5930
5940
|
const eqIndex = token.indexOf("=");
|
|
5931
5941
|
if (eqIndex !== -1) {
|
|
@@ -6009,7 +6019,7 @@ function warnMissingNamedArgumentValue(key) {
|
|
|
6009
6019
|
console.warn(lines.join(" "));
|
|
6010
6020
|
}
|
|
6011
6021
|
|
|
6012
|
-
// node_modules/.pnpm/mcporter@0.
|
|
6022
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/call-help.js
|
|
6013
6023
|
var CALL_HELP_ARGUMENT_LINES = [
|
|
6014
6024
|
" key=value / key:value Flag-style named arguments.",
|
|
6015
6025
|
" key=@path Read a UTF-8 string value from a file; use @@ for a literal @.",
|
|
@@ -6027,19 +6037,6 @@ var CALL_HELP_RUNTIME_FLAG_LINES = [
|
|
|
6027
6037
|
" --no-coerce Keep all key/value and positional arguments as raw strings.",
|
|
6028
6038
|
" --tail-log Stream returned log handles."
|
|
6029
6039
|
];
|
|
6030
|
-
var CALL_HELP_ADHOC_SERVER_LINES = [
|
|
6031
|
-
" --http-url <url> Register an HTTP server for this run.",
|
|
6032
|
-
" --allow-http Permit plain http:// URLs with --http-url.",
|
|
6033
|
-
" --header KEY=value Attach HTTP headers (repeatable).",
|
|
6034
|
-
" --stdio <command> Run a stdio MCP server (repeat --stdio-arg for args).",
|
|
6035
|
-
" --stdio-arg <value> Append args to the stdio command (repeatable).",
|
|
6036
|
-
" --env KEY=value Inject env vars for stdio servers (repeatable).",
|
|
6037
|
-
" --cwd <path> Working directory for stdio servers.",
|
|
6038
|
-
" --name <value> Override the display name for ad-hoc servers.",
|
|
6039
|
-
" --description <text> Override the description for ad-hoc servers.",
|
|
6040
|
-
" --persist <path> Write the ad-hoc definition to config/mcporter.json.",
|
|
6041
|
-
" --yes Skip confirmation prompts when persisting."
|
|
6042
|
-
];
|
|
6043
6040
|
var CALL_HELP_EXAMPLE_LINES = [
|
|
6044
6041
|
" mcporter call linear.list_issues team=ENG limit:5",
|
|
6045
6042
|
" mcporter call linear.create_comment body=@comment.md",
|
|
@@ -6057,7 +6054,7 @@ function buildUnknownCallFlagMessage(token) {
|
|
|
6057
6054
|
].join("\n");
|
|
6058
6055
|
}
|
|
6059
6056
|
|
|
6060
|
-
// node_modules/.pnpm/mcporter@0.
|
|
6057
|
+
// node_modules/.pnpm/mcporter@0.13.0/node_modules/mcporter/dist/cli/call-arguments.js
|
|
6061
6058
|
var FLAG_HANDLERS = {
|
|
6062
6059
|
"--server": handleServerFlag,
|
|
6063
6060
|
"--mcp": handleServerFlag,
|
|
@@ -6335,7 +6332,6 @@ function consumeFlagValue(args, index, token, missingValueMessage) {
|
|
|
6335
6332
|
export {
|
|
6336
6333
|
CALL_HELP_ARGUMENT_LINES,
|
|
6337
6334
|
CALL_HELP_RUNTIME_FLAG_LINES,
|
|
6338
|
-
CALL_HELP_ADHOC_SERVER_LINES,
|
|
6339
6335
|
CALL_HELP_EXAMPLE_LINES,
|
|
6340
6336
|
parseCallArguments
|
|
6341
6337
|
};
|