@cydm/magic-shell-agent-node 0.1.2 → 0.1.3
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/node.js +1 -1
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -858,7 +858,7 @@ export class AgentNode {
|
|
|
858
858
|
this.sendControlResult(source, message.requestId, name, false, { error: "Worker not found" });
|
|
859
859
|
return;
|
|
860
860
|
}
|
|
861
|
-
const detail = this.workerRegistry.getWorkerDetail(worker.agentId, this.
|
|
861
|
+
const detail = this.workerRegistry.getWorkerDetail(worker.agentId, this.sessionManager.getBufferedOutput(worker.sessionId));
|
|
862
862
|
if (!detail) {
|
|
863
863
|
this.sendControlResult(source, message.requestId, name, false, { error: "Worker detail unavailable" });
|
|
864
864
|
return;
|