@cotal-ai/manager 0.130.1 → 0.131.0
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/manager.js +1 -2
- package/dist/manager.js.map +1 -1
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +20 -6
- package/dist/runtime/index.js.map +1 -1
- package/package.json +12 -12
package/dist/manager.js
CHANGED
|
@@ -7243,8 +7243,7 @@ export class Manager {
|
|
|
7243
7243
|
watchExit(a) {
|
|
7244
7244
|
const handle = a.handle;
|
|
7245
7245
|
const current = () => this.agents.get(a.name) === a && a.handle === handle;
|
|
7246
|
-
const watched = watchProvedExit(handle, () =>
|
|
7247
|
-
this.onAgentExit(a); }, current);
|
|
7246
|
+
const watched = watchProvedExit(handle, () => this.onAgentExit(a), current);
|
|
7248
7247
|
if (!watched)
|
|
7249
7248
|
console.error(`! ${a.name}: runtime "${handle.kind}" cannot prove a child exit (AgentHandle.waitForExit is not implemented) - it stays managed after it exits, until it is stopped`);
|
|
7250
7249
|
}
|