@adhdev/daemon-standalone 0.9.77-rc.19 → 0.9.77-rc.20
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/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/vendor/mcp-server/index.js +12 -0
- package/vendor/mcp-server/index.js.map +1 -1
package/dist/index.js
CHANGED
|
@@ -32620,6 +32620,15 @@ Do NOT retry on this node. Consider reassigning to a different node or asking th
|
|
|
32620
32620
|
}, 500);
|
|
32621
32621
|
}
|
|
32622
32622
|
}
|
|
32623
|
+
} else if (args.event === "agent:ready") {
|
|
32624
|
+
const sessionId = readNonEmptyString(args.metadataEvent.targetSessionId);
|
|
32625
|
+
const nodeId = readNonEmptyString(args.metadataEvent.nodeId) || readNonEmptyString(args.metadataEvent.meshNodeId);
|
|
32626
|
+
const providerType = readNonEmptyString(args.metadataEvent.providerType);
|
|
32627
|
+
if (sessionId && nodeId && providerType) {
|
|
32628
|
+
setTimeout(() => {
|
|
32629
|
+
tryAssignQueueTask(components, args.meshId, nodeId, sessionId, providerType);
|
|
32630
|
+
}, 500);
|
|
32631
|
+
}
|
|
32623
32632
|
} else if (args.event === "agent:stopped") {
|
|
32624
32633
|
const sessionId = readNonEmptyString(args.metadataEvent.targetSessionId);
|
|
32625
32634
|
if (sessionId) {
|
|
@@ -32802,6 +32811,7 @@ Do NOT retry on this node. Consider reassigning to a different node or asking th
|
|
|
32802
32811
|
"agent:generating_completed",
|
|
32803
32812
|
"agent:waiting_approval",
|
|
32804
32813
|
"agent:stopped",
|
|
32814
|
+
"agent:ready",
|
|
32805
32815
|
"monitor:long_generating"
|
|
32806
32816
|
]);
|
|
32807
32817
|
EVENT_TO_LEDGER_KIND = {
|
|
@@ -47924,6 +47934,8 @@ ${effect.notification.body || ""}`.trim();
|
|
|
47924
47934
|
this.completedDebounceTimer = null;
|
|
47925
47935
|
}, 3e3);
|
|
47926
47936
|
}
|
|
47937
|
+
} else if (newStatus === "idle" && this.lastStatus === "starting") {
|
|
47938
|
+
this.pushEvent({ event: "agent:ready", chatTitle, timestamp: now });
|
|
47927
47939
|
} else if (newStatus === "stopped") {
|
|
47928
47940
|
if (this.generatingDebounceTimer) {
|
|
47929
47941
|
clearTimeout(this.generatingDebounceTimer);
|