@mrrlin-dev/mcp 0.4.71 → 0.4.72
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/bin.cjs +7 -9
- package/package.json +2 -2
package/dist/bin.cjs
CHANGED
|
@@ -20767,20 +20767,18 @@ async function resolveApiBaseUrlDynamic(opts = {}) {
|
|
|
20767
20767
|
const { baseUrl, retargeted } = retargetRetiredApiBaseUrl(direct.trim());
|
|
20768
20768
|
return { baseUrl, source: retargeted ? "retired-retarget" : "explicit" };
|
|
20769
20769
|
}
|
|
20770
|
-
if ((env.MRRLIN_STAGING ?? "").trim() === "1")
|
|
20771
|
-
|
|
20772
|
-
if (await probeLocalHealth(DEFAULT_API_BASE_URL, timeoutMs, fetchImpl)) {
|
|
20773
|
-
return { baseUrl: DEFAULT_API_BASE_URL, source: "local-probe" };
|
|
20770
|
+
if ((env.MRRLIN_STAGING ?? "").trim() === "1") {
|
|
20771
|
+
return { baseUrl: STAGING_API_BASE_URL, source: "staging-env" };
|
|
20774
20772
|
}
|
|
20775
|
-
|
|
20773
|
+
const autoDetect = (env.MRRLIN_API_AUTODETECT ?? "").trim() === "1";
|
|
20774
|
+
const timeoutMs = opts.probeTimeoutMs ?? readProbeTimeoutMs(env);
|
|
20775
|
+
if (autoDetect) {
|
|
20776
20776
|
if (await probeLocalHealth(DEFAULT_API_BASE_URL, timeoutMs, fetchImpl)) {
|
|
20777
20777
|
return { baseUrl: DEFAULT_API_BASE_URL, source: "local-probe" };
|
|
20778
20778
|
}
|
|
20779
20779
|
return { baseUrl: STAGING_API_BASE_URL, source: "staging-autodetect" };
|
|
20780
20780
|
}
|
|
20781
|
-
|
|
20782
|
-
`Local Mrrlin API not reachable at ${DEFAULT_API_BASE_URL}. Start it, or set MRRLIN_API_BASE_URL=${STAGING_API_BASE_URL} to target staging (or MRRLIN_API_AUTODETECT=1 to auto-fall back to staging when local is down).`
|
|
20783
|
-
);
|
|
20781
|
+
return { baseUrl: PRODUCTION_API_BASE_URL, source: "production-default" };
|
|
20784
20782
|
}
|
|
20785
20783
|
|
|
20786
20784
|
// src/browser-runtime.ts
|
|
@@ -43461,7 +43459,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
|
|
|
43461
43459
|
}
|
|
43462
43460
|
|
|
43463
43461
|
// src/_generated/version.ts
|
|
43464
|
-
var PKG_VERSION = "0.4.
|
|
43462
|
+
var PKG_VERSION = "0.4.72";
|
|
43465
43463
|
|
|
43466
43464
|
// src/api-base-url-migrate.ts
|
|
43467
43465
|
var import_node_fs5 = __toESM(require("node:fs"), 1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrrlin-dev/mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.72",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"mrrlin-mcp": "dist/bin.cjs"
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@types/ws": "^8.18.1",
|
|
22
22
|
"esbuild": "^0.24.0",
|
|
23
23
|
"tsx": "^4.22.3",
|
|
24
|
-
"@mrrlin/client": "0.0.0",
|
|
25
24
|
"@mrrlin/agent-client": "0.0.0",
|
|
26
25
|
"@mrrlin/director-e2e": "0.0.0",
|
|
26
|
+
"@mrrlin/client": "0.0.0",
|
|
27
27
|
"@mrrlin/schemas": "0.0.0",
|
|
28
28
|
"@mrrlin/tsconfig": "0.0.0",
|
|
29
29
|
"@mrrlin/wiki": "0.0.0"
|