@serkanalgur/opencode-nexus 2.3.1 → 2.3.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/tui.js +44 -75
- package/package.json +1 -1
package/dist/tui.js
CHANGED
|
@@ -34863,64 +34863,34 @@ var tui_default = define({
|
|
|
34863
34863
|
const activeAgents = agents.filter((a) => a.status === "working" || a.status === "idle");
|
|
34864
34864
|
const completedAgents = agents.filter((a) => a.status === "completed");
|
|
34865
34865
|
const failedAgents = agents.filter((a) => a.status === "failed");
|
|
34866
|
-
return /* @__PURE__ */ jsxDEV("
|
|
34867
|
-
|
|
34868
|
-
|
|
34869
|
-
borderTop: "1px solid #333",
|
|
34870
|
-
marginTop: "8px"
|
|
34871
|
-
},
|
|
34866
|
+
return /* @__PURE__ */ jsxDEV("box", {
|
|
34867
|
+
padding: 1,
|
|
34868
|
+
marginTop: 1,
|
|
34872
34869
|
children: [
|
|
34873
|
-
/* @__PURE__ */ jsxDEV("
|
|
34874
|
-
|
|
34875
|
-
|
|
34876
|
-
|
|
34877
|
-
|
|
34878
|
-
|
|
34879
|
-
|
|
34880
|
-
|
|
34881
|
-
|
|
34882
|
-
|
|
34883
|
-
|
|
34884
|
-
|
|
34885
|
-
|
|
34886
|
-
|
|
34887
|
-
|
|
34888
|
-
|
|
34889
|
-
|
|
34890
|
-
|
|
34891
|
-
|
|
34892
|
-
|
|
34893
|
-
|
|
34894
|
-
|
|
34895
|
-
|
|
34896
|
-
|
|
34897
|
-
fontSize: "10px",
|
|
34898
|
-
padding: "2px 0",
|
|
34899
|
-
color: agent.status === "working" ? "#4ade80" : "#94a3b8"
|
|
34900
|
-
},
|
|
34901
|
-
children: [
|
|
34902
|
-
/* @__PURE__ */ jsxDEV("span", {
|
|
34903
|
-
children: agent.status === "working" ? "\uD83D\uDD04" : "⏸️"
|
|
34904
|
-
}, undefined, false, undefined, this),
|
|
34905
|
-
" ",
|
|
34906
|
-
agent.name,
|
|
34907
|
-
agent.model && /* @__PURE__ */ jsxDEV("span", {
|
|
34908
|
-
style: { color: "#64748b" },
|
|
34909
|
-
children: [
|
|
34910
|
-
" — ",
|
|
34911
|
-
agent.model.split("/").pop()
|
|
34912
|
-
]
|
|
34913
|
-
}, undefined, true, undefined, this)
|
|
34914
|
-
]
|
|
34915
|
-
}, agent.id, true, undefined, this)),
|
|
34916
|
-
completedAgents.length > 0 && /* @__PURE__ */ jsxDEV("div", {
|
|
34917
|
-
style: {
|
|
34918
|
-
marginTop: "4px",
|
|
34919
|
-
paddingTop: "4px",
|
|
34920
|
-
borderTop: "1px solid #222"
|
|
34921
|
-
},
|
|
34922
|
-
children: /* @__PURE__ */ jsxDEV("div", {
|
|
34923
|
-
style: { fontSize: "10px", color: "#666", marginBottom: "2px" },
|
|
34870
|
+
/* @__PURE__ */ jsxDEV("box", {
|
|
34871
|
+
children: /* @__PURE__ */ jsxDEV("text", {
|
|
34872
|
+
children: [
|
|
34873
|
+
"\uD83E\uDD16 Nexus Agents — ",
|
|
34874
|
+
activeAgents.length,
|
|
34875
|
+
" active"
|
|
34876
|
+
]
|
|
34877
|
+
}, undefined, true, undefined, this)
|
|
34878
|
+
}, undefined, false, undefined, this),
|
|
34879
|
+
activeAgents.map((agent) => /* @__PURE__ */ jsxDEV("box", {
|
|
34880
|
+
children: /* @__PURE__ */ jsxDEV("text", {
|
|
34881
|
+
fg: agent.status === "working" ? "#4ade80" : "#94a3b8",
|
|
34882
|
+
children: [
|
|
34883
|
+
agent.status === "working" ? "\uD83D\uDD04" : "⏸️",
|
|
34884
|
+
" ",
|
|
34885
|
+
agent.name,
|
|
34886
|
+
agent.model ? ` — ${agent.model.split("/").pop()}` : ""
|
|
34887
|
+
]
|
|
34888
|
+
}, undefined, true, undefined, this)
|
|
34889
|
+
}, undefined, false, undefined, this)),
|
|
34890
|
+
completedAgents.length > 0 && /* @__PURE__ */ jsxDEV("box", {
|
|
34891
|
+
marginTop: 1,
|
|
34892
|
+
children: /* @__PURE__ */ jsxDEV("text", {
|
|
34893
|
+
fg: "#666",
|
|
34924
34894
|
children: [
|
|
34925
34895
|
"✅ ",
|
|
34926
34896
|
completedAgents.length,
|
|
@@ -34928,10 +34898,10 @@ var tui_default = define({
|
|
|
34928
34898
|
]
|
|
34929
34899
|
}, undefined, true, undefined, this)
|
|
34930
34900
|
}, undefined, false, undefined, this),
|
|
34931
|
-
failedAgents.length > 0 && /* @__PURE__ */ jsxDEV("
|
|
34932
|
-
|
|
34933
|
-
children: /* @__PURE__ */ jsxDEV("
|
|
34934
|
-
|
|
34901
|
+
failedAgents.length > 0 && /* @__PURE__ */ jsxDEV("box", {
|
|
34902
|
+
marginTop: 1,
|
|
34903
|
+
children: /* @__PURE__ */ jsxDEV("text", {
|
|
34904
|
+
fg: "#ef4444",
|
|
34935
34905
|
children: [
|
|
34936
34906
|
"❌ ",
|
|
34937
34907
|
failedAgents.length,
|
|
@@ -34939,20 +34909,19 @@ var tui_default = define({
|
|
|
34939
34909
|
]
|
|
34940
34910
|
}, undefined, true, undefined, this)
|
|
34941
34911
|
}, undefined, false, undefined, this),
|
|
34942
|
-
sidebarState.totalCost > 0 && /* @__PURE__ */ jsxDEV("
|
|
34943
|
-
|
|
34944
|
-
|
|
34945
|
-
|
|
34946
|
-
|
|
34947
|
-
|
|
34948
|
-
|
|
34949
|
-
|
|
34950
|
-
|
|
34951
|
-
|
|
34952
|
-
|
|
34953
|
-
|
|
34954
|
-
|
|
34955
|
-
}, undefined, true, undefined, this)
|
|
34912
|
+
sidebarState.totalCost > 0 && /* @__PURE__ */ jsxDEV("box", {
|
|
34913
|
+
marginTop: 1,
|
|
34914
|
+
children: /* @__PURE__ */ jsxDEV("text", {
|
|
34915
|
+
fg: "#666",
|
|
34916
|
+
children: [
|
|
34917
|
+
"\uD83D\uDCB0 $",
|
|
34918
|
+
sidebarState.totalCost.toFixed(4),
|
|
34919
|
+
" / $",
|
|
34920
|
+
sidebarState.budgetRemaining.toFixed(2),
|
|
34921
|
+
" remaining"
|
|
34922
|
+
]
|
|
34923
|
+
}, undefined, true, undefined, this)
|
|
34924
|
+
}, undefined, false, undefined, this)
|
|
34956
34925
|
]
|
|
34957
34926
|
}, undefined, true, undefined, this);
|
|
34958
34927
|
} catch (err) {
|