@mrrlin-dev/mcp 0.4.9 → 0.4.10
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 -1
- package/package.json +4 -4
package/dist/bin.cjs
CHANGED
|
@@ -41551,7 +41551,7 @@ Do NOT derail the current task - if the operator has an in-flight question, answ
|
|
|
41551
41551
|
}
|
|
41552
41552
|
|
|
41553
41553
|
// src/_generated/version.ts
|
|
41554
|
-
var PKG_VERSION = "0.4.
|
|
41554
|
+
var PKG_VERSION = "0.4.10";
|
|
41555
41555
|
|
|
41556
41556
|
// src/api-base-url-migrate.ts
|
|
41557
41557
|
var import_node_fs3 = __toESM(require("node:fs"), 1);
|
|
@@ -48339,6 +48339,16 @@ function createAgentKeepalive(opts) {
|
|
|
48339
48339
|
}, opts.idleMs(providerId));
|
|
48340
48340
|
slot.idleTimer.unref?.();
|
|
48341
48341
|
},
|
|
48342
|
+
refreshNow: (providerId) => {
|
|
48343
|
+
const slot = getSlot(providerId);
|
|
48344
|
+
if (slot.holdCount > 0) return false;
|
|
48345
|
+
cancelTimer(slot);
|
|
48346
|
+
if (slot.managerHeld) {
|
|
48347
|
+
slot.managerHeld = false;
|
|
48348
|
+
opts.release(providerId);
|
|
48349
|
+
}
|
|
48350
|
+
return true;
|
|
48351
|
+
},
|
|
48342
48352
|
dropNow: () => {
|
|
48343
48353
|
for (const [providerId, slot] of slots) {
|
|
48344
48354
|
cancelTimer(slot);
|
|
@@ -54503,6 +54513,10 @@ function createBridgeMessageHandler(deps) {
|
|
|
54503
54513
|
sendForSpan({ type: "bootstrap", models, rateLimits, ...deps.bridgeInstanceId ? { bridgeInstanceId: deps.bridgeInstanceId } : {}, ...bootstrapError ? { error: bootstrapError } : {} });
|
|
54504
54514
|
return;
|
|
54505
54515
|
}
|
|
54516
|
+
if (msg.type === "refresh-codex") {
|
|
54517
|
+
sendForSpan({ type: "codex-refreshed", status: deps.refreshCodex?.() === false ? "busy" : "ok" });
|
|
54518
|
+
return;
|
|
54519
|
+
}
|
|
54506
54520
|
if (msg.type === "resume") {
|
|
54507
54521
|
handleResumeRequest(msg, sendForSpan);
|
|
54508
54522
|
return;
|
|
@@ -55451,6 +55465,7 @@ async function startDirectorBridge() {
|
|
|
55451
55465
|
const sharedHandlerDeps = {
|
|
55452
55466
|
acquireCodex: (providerId) => agentKeepalive.acquire(providerId),
|
|
55453
55467
|
releaseCodex: (providerId) => agentKeepalive.release(providerId),
|
|
55468
|
+
refreshCodex: () => agentKeepalive.refreshNow(resolveProvider(process.env, getSelectedProvider()).id),
|
|
55454
55469
|
run: wrappedTurnLock.run,
|
|
55455
55470
|
suspendedMs: () => suspensionDetector.suspendedMs(),
|
|
55456
55471
|
buildStartParams: (msg, desiredModel) => buildThreadStartParams(msg, config2, desiredModel),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrrlin-dev/mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"mrrlin-mcp": "dist/bin.cjs"
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"@types/ws": "^8.18.1",
|
|
22
22
|
"esbuild": "^0.24.0",
|
|
23
23
|
"tsx": "^4.22.3",
|
|
24
|
-
"@mrrlin/director-e2e": "0.0.0",
|
|
25
|
-
"@mrrlin/agent-client": "0.0.0",
|
|
26
24
|
"@mrrlin/client": "0.0.0",
|
|
25
|
+
"@mrrlin/agent-client": "0.0.0",
|
|
27
26
|
"@mrrlin/schemas": "0.0.0",
|
|
27
|
+
"@mrrlin/tsconfig": "0.0.0",
|
|
28
28
|
"@mrrlin/wiki": "0.0.0",
|
|
29
|
-
"@mrrlin/
|
|
29
|
+
"@mrrlin/director-e2e": "0.0.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@iarna/toml": "^2.2.5",
|