pi-subagent-manager 1.7.0 → 1.7.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.
package/README.md CHANGED
@@ -12,6 +12,16 @@ Let pi hand work to helper agents in parallel. Watch what they're doing, give th
12
12
 
13
13
  A real Pi session with a customized footer and Nerd Font: parallel work, nested delegation, watching, and steering. [Recording details](docs/demo.md) (37 seconds; pauses shortened).
14
14
 
15
+ ## Check out my other Pi extensions
16
+
17
+ - [![pi-cache-graph](https://img.shields.io/badge/📊_pi--cache--graph-orange?style=flat-square)](https://github.com/championswimmer/pi-cache-graph) — Real-time prompt cache hit rates and token metrics.
18
+ - [![pi-checklist](https://img.shields.io/badge/✅_pi--checklist-teal?style=flat-square)](https://github.com/championswimmer/pi-checklist) — Session task checklist with dependencies and a TUI renderer.
19
+ - [![pi-context-decisions](https://img.shields.io/badge/🧠_pi--context--decisions-indigo?style=flat-square)](https://github.com/championswimmer/pi-context-decisions) — Selects relevant skills and optionally filters tools for each task.
20
+ - [![pi-context-prune](https://img.shields.io/badge/✂️_pi--context--prune-green?style=flat-square)](https://github.com/championswimmer/pi-context-prune) — Prunes verbose tool outputs from context while preserving history.
21
+ - [![pi-context-usage](https://img.shields.io/badge/🪟_pi--context--usage-purple?style=flat-square)](https://github.com/championswimmer/pi-context-usage) — Dot-grid visualization of context window token usage.
22
+ - [![pi-gauge](https://img.shields.io/badge/⚡_pi--gauge-yellow?style=flat-square)](https://github.com/championswimmer/pi-gauge) — Live tokens/sec and TTFT in the status bar.
23
+ - [![pi-subagent-manager](https://img.shields.io/badge/🤖_pi--subagent--manager-blue?style=flat-square)](https://github.com/championswimmer/pi-subagent-manager) — Delegate work to parallel subagents and monitor their progress.
24
+
15
25
  ## Install
16
26
 
17
27
  Requires pi **0.99.2+**.
package/docs/pi-footer.md CHANGED
@@ -10,7 +10,7 @@ The shared status key / event Widget ID is exactly **`subagent_cost`**. It is no
10
10
 
11
11
  ## Extension Status (recommended; default)
12
12
 
13
- 1. Open `/agents settings` → **[labs] Footer display** → **Location**, choose
13
+ 1. Open `/agents settings` → **Footer display** → **Location**, choose
14
14
  **pi-footer status widget**, return to settings, and save with **Ctrl+S**.
15
15
  2. Open `/footer`, choose **Edit lines**, select a row, and add **Extension Status**.
16
16
  3. Set **Status key** to **`subagent_cost`** and enable **Raw value only**.
@@ -53,7 +53,7 @@ It clears the status with `ctx.ui.setStatus("subagent_cost", undefined)`.
53
53
 
54
54
  ## Pi Event Value (alternative)
55
55
 
56
- 1. Open `/agents settings` → **[labs] Footer display** → **Location**, choose
56
+ 1. Open `/agents settings` → **Footer display** → **Location**, choose
57
57
  **pi-footer event**, return to settings, and save with **Ctrl+S**.
58
58
  2. In `/footer`, add a **Pi Event Value** widget to the desired row.
59
59
  3. Enter **Widget ID** as **`subagent_cost`** manually, replacing the generated ID,
package/docs/settings.md CHANGED
@@ -65,13 +65,13 @@ Minimal mode groups starting agents with running agents and excludes the main co
65
65
 
66
66
  ## [labs] Nerd Font icons (`nerdFontIcons`)
67
67
 
68
- Experimental features are tagged **[labs]** in the selected setting's help. Row labels omit that prefix to leave room for provenance dots. **[labs] Nerd Font icons** is an on/off toggle, **off by default**. Enable it in `/agents` and save with **Ctrl+S**, or set `"nerdFontIcons": true` in your settings file. Configure a [Nerd Font](https://www.nerdfonts.com/) in your terminal first; unsupported fonts may show boxes or incorrect glyphs. The extension does not install or detect fonts.
68
+ Experimental settings are tagged **[lab]** in their row labels. **[labs] Nerd Font icons** is an on/off toggle, **off by default**. Enable it in `/agents` and save with **Ctrl+S**, or set `"nerdFontIcons": true` in your settings file. Configure a [Nerd Font](https://www.nerdfonts.com/) in your terminal first; unsupported fonts may show boxes or incorrect glyphs. The extension does not install or detect fonts.
69
69
 
70
70
  When enabled, an agent type’s optional `icon` appears before its readable name in the full widget, thread browsers, live watcher header, and type picker. Starting/running agents show the selected loader **before the original role icon**, never replacing it. Completed, paused, failed, and stopped agents show that loader family's corresponding static state icon before the role icon. Agents without a configured role icon still show their loader/state indicator. The one-line minimal widget uses the same family's indicators for aggregate status counts. Turning the setting off hides role icons without removing configured icons; portable loaders remain visible; RPC output keeps state indicators static. Saved settings apply immediately to newly rendered widgets and dialogs.
71
71
 
72
72
  All six bundled agents have [role-specific icons](default-agents.md#nerd-font-icons). Add or change an icon with **[labs] Icon** in `/agents types`, or the optional `icon` frontmatter field in [your own agent](custom-agents.md#icons-labs). Retained threads keep the icon from their saved agent definition.
73
73
 
74
- ## [labs] Loader style (`loaderStyle`)
74
+ ## Loader style (`loaderStyle`)
75
75
 
76
76
  Choose a loader in `/agents` settings and save with **Ctrl+S**, or set `loaderStyle` in your settings file:
77
77
 
@@ -86,11 +86,11 @@ Choose a loader in `/agents` settings and save with **Ctrl+S**, or set `loaderSt
86
86
 
87
87
  With **[labs] Nerd Font icons** off, the picker shows only Braille and ASCII palettes. With it on, all palettes are available. Saved Circle/Hourglass preferences render as ASCII while Nerd Fonts are off, without changing the saved preference. ASCII palettes use `+`, `=`, `!`, and `#` for completed, paused, failed, and stopped states. The compact ASCII animations are inspired by [cli-spinners](https://github.com/sindresorhus/cli-spinners/blob/main/spinners.json) (`line`, `star2`, and `toggle13`).
88
88
 
89
- The Labs preview shows every family's running animation frames and completed, paused, failed, and stopped icons, so you can compare all states before choosing. Starting uses the running animation. State indicators precede the role icon when role icons are enabled; the selected family also applies to the minimal widget's counts. In non-animated output, active agents use the family's first frame.
89
+ The loader picker shows each available family's running animation frames and completed, paused, failed, and stopped icons, so you can compare all states before choosing. Starting uses the running animation. State indicators precede the role icon when role icons are enabled; the selected family also applies to the minimal widget's counts. In non-animated output, active agents use the family's first frame.
90
90
 
91
- ## [labs] Cost display (`costDisplay`)
91
+ ## Cost display (`costDisplay`)
92
92
 
93
- Open **[labs] Footer display** in `/agents settings` to choose the location, display value, and icon, then return and save. The stable ID/key is **`subagent_cost`**.
93
+ Open **Footer display** in `/agents settings` to choose the location, display value, and icon, then return and save. The stable ID/key is **`subagent_cost`**.
94
94
 
95
95
  | Value | Output |
96
96
  | --- | --- |
@@ -116,7 +116,7 @@ In full mode:
116
116
  - Agents are ordered newest-started first (spawn or resume); a branch ranks by its most recently started agent. The most recently started agents are preferred when previews overflow. Overflow is counted, not listed.
117
117
  - Time freezes while paused and resumes on continue.
118
118
  - A small status strip below the previews shows the running count (including starting agents) and **Press ← to open subagent browser**, including when agents overflow. The full footer also shows **→ collapse**. Minimal mode keeps **← browser** inline so it stays one line (**← expand** when it is a session collapse of full). Browser hints appear only while subagents are starting or running; RPC output omits keyboard hints.
119
- - With **[labs] Nerd Font icons** enabled, the selected Circle, Braille, or Hourglass loader appears before the preserved role icon in the widget and fullscreen tree/live-view headers. Each family provides completed, paused, failed, and stopped state icons. The minimal summary uses the same indicators for its status counts. Preview all families and states under **[labs] Loader style**. Animation timers stop on settlement or disposal; RPC output stays static.
119
+ - The selected loader appears in the widget and fullscreen tree/live-view headers, before the role icon if enabled. Each family provides completed, paused, failed, and stopped state icons. The minimal summary uses the same indicators for its status counts. Preview all families and states under **Loader style**. Animation timers stop on settlement or disposal; RPC output stays static.
120
120
 
121
121
  ### Interrupts and stopping agents
122
122
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-subagent-manager",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Hierarchical, steerable subagent threads for pi",
5
5
  "type": "module",
6
6
  "engines": {
@@ -259,7 +259,7 @@ async function configureFooterDisplay(
259
259
  while (true) {
260
260
  const action = await dialogMenu(
261
261
  ctx,
262
- "[lab] Footer display",
262
+ "Footer display",
263
263
  (
264
264
  [
265
265
  {
@@ -537,10 +537,17 @@ async function configureAgentsDialog(
537
537
  },
538
538
  {
539
539
  id: "costDisplay",
540
- label: "[lab] Footer display",
540
+ label: "Footer display",
541
541
  value: COST_DISPLAY_OPTIONS.find((mode) => mode.id === draft.costDisplay)!.label,
542
542
  help: "Configure footer location, displayed cost, and money icon in a submenu. Save and apply to update immediately.",
543
543
  },
544
+ {
545
+ id: "loaderStyle",
546
+ label: "Loader style",
547
+ value:
548
+ AGENT_LOADERS[effectiveLoaderStyle(draft.loaderStyle, draft.nerdFontIcons)].label,
549
+ help: "Preview every animation frame and settled state.\nNerd Fonts Off: Braille (standard Unicode), ASCII, ASCII Star and ASCII Pulse. On: all palettes, including Circle and Hourglass.\nNerd-only saved styles fall back to ASCII while Nerd Fonts are off. Save and apply to update immediately.",
550
+ },
544
551
  {
545
552
  id: "housekeeping",
546
553
  label: "[lab] Housekeeping model",
@@ -557,13 +564,6 @@ async function configureAgentsDialog(
557
564
  value: draft.nerdFontIcons ? "On" : "Off",
558
565
  help: "Experimental: display each agent type’s optional Nerd Font icon and unlock Nerd Font loader palettes.\nRequires a Nerd Font configured in your terminal; otherwise glyphs may appear as boxes.\nOff by default. Braille and ASCII loaders work with this Off. Save and apply to update immediately.",
559
566
  },
560
- {
561
- id: "loaderStyle",
562
- label: "[lab] Loader style",
563
- value:
564
- AGENT_LOADERS[effectiveLoaderStyle(draft.loaderStyle, draft.nerdFontIcons)].label,
565
- help: "Preview every animation frame and settled state.\nNerd Fonts Off: Braille (standard Unicode), ASCII, ASCII Star and ASCII Pulse. On: all palettes, including Circle and Hourglass.\nNerd-only saved styles fall back to ASCII while Nerd Fonts are off. Save and apply to update immediately.",
566
- },
567
567
  {
568
568
  id: "subagentExtensions",
569
569
  label: "[lab] Subagent extensions",
@@ -679,7 +679,7 @@ async function configureAgentsDialog(
679
679
  const styles = availableLoaderStyles(draft.nerdFontIcons);
680
680
  const style = await dialogMenu(
681
681
  ctx,
682
- "[lab] Loader style",
682
+ "Loader style",
683
683
  LOADER_OPTIONS.filter((option) => styles.includes(option.id)),
684
684
  { selectedId: effectiveLoaderStyle(draft.loaderStyle, draft.nerdFontIcons) },
685
685
  );