@mrrlin-dev/mcp 0.4.198 → 0.4.199
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 +16 -4
- package/package.json +2 -2
package/dist/bin.cjs
CHANGED
|
@@ -99249,7 +99249,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
|
|
|
99249
99249
|
}
|
|
99250
99250
|
|
|
99251
99251
|
// src/_generated/version.ts
|
|
99252
|
-
var PKG_VERSION = "0.4.
|
|
99252
|
+
var PKG_VERSION = "0.4.199";
|
|
99253
99253
|
|
|
99254
99254
|
// src/bridge-allowed-origins.ts
|
|
99255
99255
|
var DEFAULT_DIRECTOR_BRIDGE_ALLOWED_ORIGINS = [
|
|
@@ -107969,7 +107969,7 @@ async function driveClaimableAsyncJob(deps, projectSlug, jobId, preClaimJob, sec
|
|
|
107969
107969
|
const retryReport = async (action, stillCurrent, remaining, signal) => {
|
|
107970
107970
|
if (!reportAction) return null;
|
|
107971
107971
|
let pause = 100;
|
|
107972
|
-
while (stillCurrent()) {
|
|
107972
|
+
while (!signal?.aborted && stillCurrent()) {
|
|
107973
107973
|
let retryAfter = 0;
|
|
107974
107974
|
try {
|
|
107975
107975
|
return await reportAction(action, remaining());
|
|
@@ -107977,10 +107977,22 @@ async function driveClaimableAsyncJob(deps, projectSlug, jobId, preClaimJob, sec
|
|
|
107977
107977
|
if (error51 instanceof MrrlinApiError) {
|
|
107978
107978
|
if (error51.status < 500 && error51.status !== 429) throw error51;
|
|
107979
107979
|
retryAfter = error51.retryAfterMs ?? 0;
|
|
107980
|
+
if (Number.isNaN(retryAfter) || retryAfter < 0) retryAfter = 0;
|
|
107980
107981
|
}
|
|
107981
107982
|
}
|
|
107982
|
-
|
|
107983
|
-
|
|
107983
|
+
const retryIn = Math.max(pause, retryAfter);
|
|
107984
|
+
const retryAt = performance.now() + retryIn;
|
|
107985
|
+
let wait = retryIn;
|
|
107986
|
+
while (wait > 0) {
|
|
107987
|
+
if (signal?.aborted || !stillCurrent() || wait >= remaining()) return null;
|
|
107988
|
+
try {
|
|
107989
|
+
await (0, import_promises20.setTimeout)(Math.min(Math.ceil(wait), 2147483647), void 0, { signal });
|
|
107990
|
+
} catch (error51) {
|
|
107991
|
+
if (signal?.aborted && error51 instanceof Error && error51.name === "AbortError") return null;
|
|
107992
|
+
throw error51;
|
|
107993
|
+
}
|
|
107994
|
+
wait = retryAt - performance.now();
|
|
107995
|
+
}
|
|
107984
107996
|
pause = Math.min(pause * 2, 2e3);
|
|
107985
107997
|
}
|
|
107986
107998
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrrlin-dev/mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.199",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"mrrlin-mcp": "dist/bin.cjs"
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"esbuild": "^0.24.2",
|
|
41
41
|
"tsx": "^4.19.1",
|
|
42
42
|
"typescript": "^5.5.4",
|
|
43
|
+
"@mrrlin/agent-client": "0.0.0",
|
|
43
44
|
"@mrrlin/client": "0.0.0",
|
|
44
45
|
"@mrrlin/director-e2e": "0.0.0",
|
|
45
46
|
"@mrrlin/schemas": "0.0.0",
|
|
46
|
-
"@mrrlin/agent-client": "0.0.0",
|
|
47
47
|
"@mrrlin/tsconfig": "0.0.0",
|
|
48
48
|
"@mrrlin/wiki": "0.0.0"
|
|
49
49
|
},
|