@serkanalgur/opencode-nexus 1.2.0 → 1.2.1
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 +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9807,10 +9807,10 @@ class NexusOrchestrator {
|
|
|
9807
9807
|
const dashHost = host || this.config.dashboard.host;
|
|
9808
9808
|
this.dashboard = new DashboardModule(this);
|
|
9809
9809
|
this.dashboard.start(dashPort, dashHost);
|
|
9810
|
-
this.on("agent:spawned", (agent) => this.dashboard
|
|
9811
|
-
this.on("agent:terminated", (agent) => this.dashboard
|
|
9812
|
-
this.on("budget:alert", (data) => this.dashboard
|
|
9813
|
-
this.on("budget:exceeded", (data) => this.dashboard
|
|
9810
|
+
this.on("agent:spawned", (agent) => this.dashboard?.broadcast("agent:spawned", agent));
|
|
9811
|
+
this.on("agent:terminated", (agent) => this.dashboard?.broadcast("agent:terminated", agent));
|
|
9812
|
+
this.on("budget:alert", (data) => this.dashboard?.broadcast("budget:alert", data));
|
|
9813
|
+
this.on("budget:exceeded", (data) => this.dashboard?.broadcast("budget:exceeded", data));
|
|
9814
9814
|
}
|
|
9815
9815
|
stopDashboard() {
|
|
9816
9816
|
if (this.dashboard) {
|