@wrongstack/tui 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/README.md CHANGED
@@ -71,7 +71,7 @@ process.exit(exitCode);
71
71
  | `↑` / `↓` | History navigation when buffer empty |
72
72
  | `@` | File picker |
73
73
  | `/` (at start) | Slash command picker |
74
- | `Ctrl+Shift+M` | Toggle agents monitor overlay |
74
+ | `Ctrl+G` | Toggle agents monitor overlay |
75
75
  | `Esc` | Close any picker / dialog / agents monitor |
76
76
  | `Ctrl+L` | Clear screen (TUI keeps state — equivalent to scrolling) |
77
77
 
package/dist/index.js CHANGED
@@ -917,7 +917,7 @@ function AgentsMonitor({
917
917
  "\u2717",
918
918
  failed
919
919
  ] }) : null,
920
- /* @__PURE__ */ jsx(Text, { dimColor: true, children: "\xB7 Ctrl+Shift+M to close" })
920
+ /* @__PURE__ */ jsx(Text, { dimColor: true, children: "\xB7 Ctrl+G to close" })
921
921
  ] }),
922
922
  /* @__PURE__ */ jsxs(Box, { flexDirection: "row", gap: 1, children: [
923
923
  /* @__PURE__ */ jsx(Text, { dimColor: true, children: "agents" }),
@@ -4319,6 +4319,19 @@ function App({
4319
4319
  outputLines: p?.outputLines
4320
4320
  });
4321
4321
  dispatch({ type: "fleetToolEnd", id: e.subagentId });
4322
+ if (streamFleetRef.current && p?.name) {
4323
+ const lbl = labelFor(e.subagentId);
4324
+ dispatch({
4325
+ type: "addEntry",
4326
+ entry: {
4327
+ kind: "subagent",
4328
+ agentLabel: lbl.label,
4329
+ agentColor: lbl.color,
4330
+ icon: "\u{1F527}",
4331
+ text: `\u2192 ${p.name} ${p.ok === false ? "\u2717" : "\u2713"}${p.durationMs != null ? ` (${p.durationMs}ms)` : ""}`
4332
+ }
4333
+ });
4334
+ }
4322
4335
  break;
4323
4336
  }
4324
4337
  case "provider.response": {
@@ -4356,6 +4369,17 @@ function App({
4356
4369
  });
4357
4370
  break;
4358
4371
  }
4372
+ case "budget.extended": {
4373
+ const p = e.payload;
4374
+ if (p?.totalExtensions !== void 0) {
4375
+ dispatch({
4376
+ type: "fleetBudgetExtended",
4377
+ id: e.subagentId,
4378
+ totalExtensions: p.totalExtensions
4379
+ });
4380
+ }
4381
+ break;
4382
+ }
4359
4383
  }
4360
4384
  });
4361
4385
  const offDone = d.on("task.completed", (payload) => {
@@ -4730,7 +4754,7 @@ function App({
4730
4754
  dispatch({ type: "toggleMonitor" });
4731
4755
  return;
4732
4756
  }
4733
- if (key.ctrl && input.toLowerCase() === "m" && (key.shift || input === "m")) {
4757
+ if (key.ctrl && input === "g") {
4734
4758
  dispatch({ type: "toggleAgentsMonitor" });
4735
4759
  return;
4736
4760
  }