@ian-pascoe/pi-minimal-subagents 0.6.1 → 0.6.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ian-pascoe/pi-minimal-subagents",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "private": false,
5
5
  "description": "Persistent nested subagents with bounded delegation for Pi",
6
6
  "keywords": [
@@ -42,7 +42,6 @@ export interface MinimalSubagentsWidgetRow {
42
42
 
43
43
  export interface MinimalSubagentsWidgetView {
44
44
  runningCount: number;
45
- retainedCount: number;
46
45
  recentCount: number;
47
46
  rows: MinimalSubagentsWidgetRow[];
48
47
  overflowCount: number;
@@ -148,7 +147,6 @@ export function buildMinimalSubagentsWidgetView(
148
147
  });
149
148
  return {
150
149
  runningCount: running.length,
151
- retainedCount: flattened.length,
152
150
  recentCount: recent.filter((item) => chosenIds.has(item.agent.agent_id)).length,
153
151
  rows,
154
152
  overflowCount: Math.max(0, desiredIds.size - chosenIds.size),
@@ -395,7 +393,7 @@ class MinimalSubagentsWidgetComponent implements Component {
395
393
  invalidate(): void {}
396
394
  }
397
395
 
398
- /** Own the root session's widget, footer, live refresh, cooldown, and idempotent cleanup. */
396
+ /** Own the root session's widget, live refresh, cooldown, and idempotent cleanup. */
399
397
  export class MinimalSubagentsUiController {
400
398
  private disposed = false;
401
399
  private widgetMounted = false;
@@ -406,7 +404,6 @@ export class MinimalSubagentsUiController {
406
404
  private restorationAttentionConsumed = false;
407
405
  private currentView: MinimalSubagentsWidgetView = {
408
406
  runningCount: 0,
409
- retainedCount: 0,
410
407
  recentCount: 0,
411
408
  rows: [],
412
409
  overflowCount: 0,
@@ -426,16 +423,8 @@ export class MinimalSubagentsUiController {
426
423
  this.clearCooldown();
427
424
  this.ensureRefreshInterval();
428
425
  this.showWidget(nextView);
429
- this.context.ui.setStatus(
430
- MINIMAL_SUBAGENTS_UI_KEY,
431
- [
432
- this.context.ui.theme.fg("accent", `◉ ${nextView.runningCount} running`),
433
- this.context.ui.theme.fg("muted", `${nextView.retainedCount} retained`),
434
- ].join(this.context.ui.theme.fg("dim", " · ")),
435
- );
436
426
  } else {
437
427
  this.clearRefreshInterval();
438
- this.context.ui.setStatus(MINIMAL_SUBAGENTS_UI_KEY, undefined);
439
428
  const restoredUnavailable =
440
429
  !this.restorationAttentionConsumed &&
441
430
  this.previousRunningCount === 0 &&
@@ -459,7 +448,6 @@ export class MinimalSubagentsUiController {
459
448
  this.clearRefreshInterval();
460
449
  this.clearCooldown();
461
450
  if (this.context.mode === "tui") {
462
- this.context.ui.setStatus(MINIMAL_SUBAGENTS_UI_KEY, undefined);
463
451
  this.context.ui.setWidget(MINIMAL_SUBAGENTS_UI_KEY, undefined);
464
452
  }
465
453
  this.widgetMounted = false;