@serkanalgur/opencode-nexus 2.3.0 → 2.3.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/tui.js +11 -12
  2. package/package.json +1 -1
package/dist/tui.js CHANGED
@@ -34955,18 +34955,17 @@ var tui_default = define({
34955
34955
  }, undefined, true, undefined, this)
34956
34956
  ]
34957
34957
  }, undefined, true, undefined, this);
34958
- } catch {
34959
- const active = agents.filter((a) => a.status === "working").length;
34960
- const failed = agents.filter((a) => a.status === "failed").length;
34961
- const completed = agents.filter((a) => a.status === "completed").length;
34962
- const parts = [`${agents.length} agents`];
34963
- if (active > 0)
34964
- parts.push(`${active} active`);
34965
- if (completed > 0)
34966
- parts.push(`${completed} done`);
34967
- if (failed > 0)
34968
- parts.push(`${failed} failed`);
34969
- return `\uD83E\uDD16 ${parts.join(", ")}`;
34958
+ } catch (err) {
34959
+ console.error("[nexus] sidebar render error:", err);
34960
+ try {
34961
+ context.ui.toast.show({
34962
+ title: "Nexus Sidebar Error",
34963
+ message: err instanceof Error ? err.message : String(err),
34964
+ variant: "error",
34965
+ duration: 5000
34966
+ });
34967
+ } catch {}
34968
+ return null;
34970
34969
  }
34971
34970
  }
34972
34971
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serkanalgur/opencode-nexus",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "Adaptive Multi-Agent Orchestration with Cost Intelligence for OpenCode V2",
5
5
  "keywords": [
6
6
  "opencode",