@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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. 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.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));
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serkanalgur/opencode-nexus",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Adaptive Multi-Agent Orchestration with Cost Intelligence for OpenCode V2",
5
5
  "keywords": [
6
6
  "opencode",