@wrongstack/cli 0.7.7 → 0.8.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/index.js +20 -6
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -4893,11 +4893,13 @@ function buildAgentsCommand(opts) {
|
|
|
4893
4893
|
name: "agents",
|
|
4894
4894
|
description: "Show status of spawned subagents. /agents monitor opens the agents monitor overlay. /agents on|off toggles the overlay.",
|
|
4895
4895
|
help: [
|
|
4896
|
-
"Usage: /agents [monitor|on|off]",
|
|
4897
|
-
" /agents
|
|
4896
|
+
"Usage: /agents [monitor|on|off|stream on|stream off]",
|
|
4897
|
+
" /agents \u2014 show subagent status summary",
|
|
4898
4898
|
" /agents monitor \u2014 open the agents monitor overlay",
|
|
4899
4899
|
" /agents on \u2014 show the agents monitor overlay",
|
|
4900
|
-
" /agents off \u2014 hide the agents monitor overlay"
|
|
4900
|
+
" /agents off \u2014 hide the agents monitor overlay",
|
|
4901
|
+
" /agents stream on \u2014 show subagent text output in chat history",
|
|
4902
|
+
" /agents stream off \u2014 hide subagent text output from chat history"
|
|
4901
4903
|
].join("\n"),
|
|
4902
4904
|
async run(args) {
|
|
4903
4905
|
const arg = args.trim().toLowerCase();
|
|
@@ -4909,6 +4911,14 @@ function buildAgentsCommand(opts) {
|
|
|
4909
4911
|
opts.agentsMonitorController?.setVisible(false);
|
|
4910
4912
|
return { message: "Agents monitor hidden." };
|
|
4911
4913
|
}
|
|
4914
|
+
if (arg === "stream on") {
|
|
4915
|
+
opts.fleetStreamController?.setEnabled(true);
|
|
4916
|
+
return { message: "Agent stream enabled \u2014 subagent activity visible in history." };
|
|
4917
|
+
}
|
|
4918
|
+
if (arg === "stream off") {
|
|
4919
|
+
opts.fleetStreamController?.setEnabled(false);
|
|
4920
|
+
return { message: "Agent stream disabled \u2014 subagent activity hidden from history." };
|
|
4921
|
+
}
|
|
4912
4922
|
if (!opts.onAgents) return { message: "Multi-agent is not enabled in this session." };
|
|
4913
4923
|
const subagentId = arg || void 0;
|
|
4914
4924
|
return { message: await opts.onAgents(subagentId) };
|
|
@@ -10757,7 +10767,9 @@ async function execute(deps) {
|
|
|
10757
10767
|
onAutonomy,
|
|
10758
10768
|
getEternalEngine,
|
|
10759
10769
|
getParallelEngine,
|
|
10760
|
-
skillLoader
|
|
10770
|
+
skillLoader,
|
|
10771
|
+
agentsMonitorController,
|
|
10772
|
+
fleetStreamController
|
|
10761
10773
|
});
|
|
10762
10774
|
} finally {
|
|
10763
10775
|
await webuiPromise.catch(() => void 0);
|
|
@@ -10778,7 +10790,9 @@ async function execute(deps) {
|
|
|
10778
10790
|
onAutonomy,
|
|
10779
10791
|
getEternalEngine,
|
|
10780
10792
|
getParallelEngine,
|
|
10781
|
-
skillLoader
|
|
10793
|
+
skillLoader,
|
|
10794
|
+
agentsMonitorController,
|
|
10795
|
+
fleetStreamController
|
|
10782
10796
|
});
|
|
10783
10797
|
}
|
|
10784
10798
|
} finally {
|
|
@@ -12963,7 +12977,7 @@ Restart WrongStack to load or unload plugin code in this session.`;
|
|
|
12963
12977
|
});
|
|
12964
12978
|
globalThis.__sddParallelRun = run;
|
|
12965
12979
|
const result = await run.run();
|
|
12966
|
-
|
|
12980
|
+
globalThis.__sddParallelRun = void 0;
|
|
12967
12981
|
const lines = [
|
|
12968
12982
|
`SDD parallel run complete:`,
|
|
12969
12983
|
` ${result.totalWaves} waves \xB7 ${result.totalCompleted} done \xB7 ${result.totalFailed} failed`,
|