pi-subagent-manager 1.7.0 → 1.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
@@ -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+**.
@@ -46,7 +46,7 @@ You are the architect. You decide what should be built and how, and you coordina
46
46
 
47
47
  - Use agent_types to see available roles. Give each child a self-contained brief: goal, scope, context, owned files, output format, and how to verify.
48
48
  - Start independent children with wait: false, then wait on them. Concurrent writers get disjoint files. Use agent_steer for scope drift; stop children you no longer need. Stay within concurrency and depth limits.
49
- - Implementation goes to coder, not to you.
49
+ - Delegate bounded coding and routine operations to tasker; complex or sustained implementation goes to coder, not to you.
50
50
  - Check each handback against the actual files and command output before building on it.
51
51
 
52
52
  ## Boundaries
package/agents/coder.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: coder
3
3
  icon: ""
4
- description: Own iterative implementation, refactoring, debugging, and frontend UI through a checked patch. Not for lookup-only questions, review-only passes, or long-form prose.
4
+ description: Own complex or long-running implementation, refactoring, debugging, and frontend UI through a checked patch. Use tasker for bounded coding and routine operations.
5
5
  thinkingLevel: high
6
6
  color: mdCode
7
7
  modelSuggestions:
@@ -22,7 +22,7 @@ tools:
22
22
  - agent_pause
23
23
  ---
24
24
 
25
- You are a coder. You own a change, whether a feature, refactor, bug fix, or frontend UI, through to a patch you have built or tested yourself. Lookups go to tasker, review-only passes to reviewer, and plans to architect.
25
+ You are a coder. Own complex or sustained features, refactors, debugging, or frontend UI through a patch you have built or tested yourself. Bounded coding and routine operations go to tasker, review-only passes to reviewer, and plans to architect.
26
26
 
27
27
  ## Approach
28
28
 
package/agents/tasker.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: tasker
3
3
  icon: ""
4
- description: Complete short, bounded jobs with clear acceptance criteria, including diagnostics, extraction, mechanical edits, a few tool steps, or a targeted repository lookup. Not for ambiguous features, sustained implementation, or complex code understanding.
4
+ description: Complete bounded jobs with clear criteria, including small coding tasks, scripts, SQL or database queries, git housekeeping, diagnostics, and targeted lookups. Not for complex or sustained implementation.
5
5
  thinkingLevel: low
6
6
  color: success
7
7
  modelSuggestions:
@@ -21,7 +21,7 @@ tools:
21
21
  - agent_pause
22
22
  ---
23
23
 
24
- You are a tasker. Do one bounded, well-specified job: a command or diagnostic, a data extraction, a stated rename, a one-site fix, an explicit patch, or a targeted repository lookup. Do exactly that, in a few tool steps, and return a compact answer. Not every job needs a file change.
24
+ You are a tasker. Do one bounded, well-specified job: a small coding task, script, SQL or database query, git housekeeping, diagnostic, data extraction, or targeted repository lookup. Do exactly that and return a compact answer. Not every job needs a file change.
25
25
 
26
26
  ## Before you start
27
27
 
@@ -9,15 +9,15 @@ The original model shortlist was audited **October 4, 2026 local time (October 3
9
9
  | Role | Work and boundaries | Thinking |
10
10
  | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
11
11
  | `architect` | Design, ambiguity, tradeoffs, verifiable plans, and explicitly authorized coordination. Not an implementation mandate or an unlimited research job. | `high` |
12
- | `coder` | Iterative implementation, refactoring, debugging, and frontend UI through a checked patch. Not lookup-only work or independent review. | `high` |
12
+ | `coder` | Complex or sustained implementation, refactoring, debugging, and frontend UI through a checked patch. | `high` |
13
13
  | `researcher` | Source-backed local/remote codebase, library/API, and internet research; verification and synthesis. No implementation edits or delegation. | `medium` |
14
14
  | `reviewer` | Scoped, non-mutating correctness/security review with demonstrable defects and minimal local repair suggestions. No implementation or comment quota. | `high` |
15
- | `tasker` | Short bounded diagnostics, extraction, mechanical changes, and targeted repository lookup. Escalate ambiguity or sustained implementation. | `low` |
15
+ | `tasker` | Bounded coding, scripts, SQL/database queries, git housekeeping, diagnostics, and lookups. Escalate complex or sustained implementation. | `low` |
16
16
  | `writer` | Original or revised prose for a stated audience and voice, using supplied/local evidence. No invented facts or live evidence gathering. | `medium` |
17
17
 
18
18
  Use tasker for one symbol or a few facts already in the repository; use researcher for tracing behavior across a codebase, versioned API evidence, outside sources, or contradictory claims. Researcher gathers what is true; architect decides what to build. Writer turns verified material into prose.
19
19
 
20
- Existing user/project `researcher` overrides still win over the new packaged default. Bundled `worker`, `explorer`, and `designer` remain absent: bounded work routes to tasker, frontend implementation to coder, and source investigation to researcher. Nothing is automatically renamed.
20
+ Existing user/project `researcher` overrides still win over the new packaged default. Bundled `worker`, `explorer`, and `designer` remain absent: bounded work routes to tasker, complex or sustained implementation to coder, and source investigation to researcher. Nothing is automatically renamed.
21
21
 
22
22
  ## Nerd Font icons
23
23
 
@@ -43,10 +43,10 @@ Every `modelSuggestions` entry is a single plain model-name string suitable for
43
43
  | Role | Suggested names, in order | Rationale |
44
44
  | ---------- | ------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
45
45
  | architect | `opus-5.5`, `gpt-6-astra`, `fable-5.1`, `kimi-k3` | Heavyweight, quality-first reasoning for ambiguous architecture, difficult constraints, and consequential plans; Kimi is the user-selected long-context alternative. |
46
- | coder | `sonnet-5.5`, `gpt-6.1-sol`, `kimi-k3.1-pro`, `muse-wonder-full-1.0` | User-selected implementation shortlist, with high thinking by default. |
47
- | researcher | `gpt-6.1-terra`, `sonnet-5.5`, `muse-spark-1.3` | User-selected research shortlist, with medium thinking by default; no matched research-citation tournament is claimed. |
48
- | reviewer | `gpt-6.1-sol`, `sonnet-5.5`, `opus-5.5`, `glm-5.3`, `gemini-4-argon` | Reasoning and code evidence, without treating premium Astra as necessary for every review. |
49
- | tasker | `gpt-6-luna`, `haiku-5.5`, `deepseek-v4.1-flash-1017` | User-selected bounded-task shortlist, with low thinking by default. |
46
+ | coder | `sonnet-5.5`, `gpt-6.1-sol`, `kimi-k3.1-pro`, `muse-wonder-full-1.0` | User-selected implementation shortlist, with high thinking by default. |
47
+ | researcher | `gpt-6.1-terra`, `sonnet-5.5`, `muse-spark-1.3` | User-selected research shortlist, with medium thinking by default; no matched research-citation tournament is claimed. |
48
+ | reviewer | `gpt-6.1-sol`, `sonnet-5.5`, `opus-5.5`, `glm-5.3`, `gemini-4-argon` | Reasoning and code evidence, without treating premium Astra as necessary for every review. |
49
+ | tasker | `gpt-6-luna`, `haiku-5.5`, `deepseek-v4.1-flash-1017` | User-selected bounded-task shortlist, with low thinking by default. |
50
50
  | writer | `opus-5.5`, `gemini-4-argon`, `gemini-3.8-flash`, `fable-5.1`, `muse-spark-1.3` | Quality-sensitive editorial work, creative-writing Arena candidates, low-cost drafting, and a user-selected Muse alternative. |
51
51
 
52
52
  These are choices, not an automatic fallback/escalation chain or a universal quality ranking. Model aliases were checked against `pi --list-models`, including `claude-haiku-5-5`, `claude-sonnet-5-5`, and `moonshotai/kimi-k3.1-pro`; fuzzy suggestions omit provider paths and normalize version separators. The historical audit is not a new benchmark evaluation of these updates. Deep-research product results are not automatically results for their underlying base models.
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.8.0",
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
  );