@ferris1225/pi-subagents 4.3.30 → 4.3.32

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/CHANGELOG.md CHANGED
@@ -3,6 +3,68 @@
3
3
  Release notes for `@ferris1225/pi-subagents`. Only the most recent releases
4
4
  are kept here; every published version is preserved as a GitHub Release.
5
5
 
6
+ ## 4.3.32
7
+
8
+ - Derive a role's tools from the live catalog instead of a hardcoded name list.
9
+ No role file names extension, MCP, or vendor tools any more: `scout` keeps
10
+ every active tool the host proves read-only (`annotations.readOnlyHint`, plus
11
+ pi's own `read`, `grep`, `find`, `ls`), so any retrieval extension or MCP
12
+ search server works for it without being named. The former `anysearch`,
13
+ `anchor_grep`, `web_search`, and `fetch_content` entries are gone.
14
+ - Keep a tool that reaches other tools out of a read-only role. `codemode` and
15
+ `tool_search` can reach a writer, so scout never receives them even when they
16
+ are annotated read-only; broad roles still inherit the session's live surface,
17
+ codemode included, and a code-mode parent therefore produces code-mode
18
+ children under the same `codemode.mode`.
19
+ - Reach read-only MCP tools without reconfiguring the server. A server left at
20
+ pi's default `codemode` exposure keeps its tools out of the model's
21
+ declarations, so scout previously got nothing from it. It now receives the
22
+ read-only ones directly — exactly those, since a named MCP tool also filters the
23
+ rest — so a script-only search server works for scout with no `mcp.json` edit,
24
+ and the child still cannot reach an MCP writer.
25
+ - Keep MCP tools out of a child that names none. pi keeps MCP tools unless a
26
+ `--tools` entry names one, so a resolved child list that names none now adds
27
+ `mcp__*` to the excluded tools; scout's read-only boundary can no longer leak
28
+ an MCP writer.
29
+ - Treat tools without a read-only annotation as write-capable for worktree and
30
+ repository-lane decisions, instead of trusting a built-in name list.
31
+ - Ship the two built-in role prompts as code and drop `agents/` from the
32
+ package. Custom role files are gone entirely: nothing is discovered from
33
+ `~/.pi/agent/agents/` or `.pi/agents/` any more, `scout` and `artisan` are
34
+ always enabled, and a role can no longer declare its own tool list or
35
+ isolation default.
36
+ - Reduce the config file to `agentModels` and `agentThinkingLevels`.
37
+ `enabledAgents`, `knownAgents`, `agentScope`, `maxConcurrentAgents`,
38
+ `idleTimeoutSec`, and `maxResultLines` are removed — capacity, idle timeout,
39
+ and result length are fixed constants — and obsolete keys in an older file
40
+ are dropped on load. `/subagents-setup` now lists the two fixed roles with
41
+ their current route and walks model then thinking for one or both.
42
+ - Show a code-mode script's first meaningful line in the activity trail instead
43
+ of a bare tool name, and drop the remaining vendor tool names from the
44
+ formatter.
45
+ - Default to delegating instead of requiring a proven benefit first. The
46
+ delegation directive and the `subagent` tool description now tell main to
47
+ dispatch independent or self-contained work — parallel phases usually beat a
48
+ serialized main — and keep only what needs conversation context or is too
49
+ small to brief.
50
+ - Development dependencies track Pi 1.4.0. The unused
51
+ `@earendil-works/pi-server` and `@earendil-works/pi-agent-core` peer and
52
+ development dependencies are removed, and the source no longer uses parameter
53
+ properties, so `npm test` runs without an experimental flag on Node 26 as well
54
+ as Node 22 and 24.
55
+ - Drop dead code and tighten the module surface: stale re-exports
56
+ (`matchRunIds`, `runInManagedRepositoryLane`, the `rpc-run` passthroughs) and
57
+ the never-read `WorktreeSetupError.retainedPaths` are gone, and internal
58
+ helpers and tuning constants are no longer exported. No behavior change.
59
+
60
+ ## 4.3.31
61
+
62
+ - Write the config on first start instead of prompting. A missing
63
+ `pi-subagents.json` is created with both roles enabled and no model overrides,
64
+ so scout and artisan follow the main model immediately. Session start announces
65
+ `/subagents-setup` once; the file's presence keeps later sessions silent. The
66
+ first-run confirm dialog is gone.
67
+
6
68
  ## 4.3.30
7
69
 
8
70
  - Restore pi's own footer. The extension no longer replaces the built-in
package/LICENSE CHANGED
@@ -1,7 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) 2025 ferris1225
4
- Portions of agents/cleaner.md adapted from reclaim-code-entropy:
4
+ Portions of the built-in role prompts adapted from reclaim-code-entropy:
5
5
  Copyright (c) 2026 Yevanchen
6
6
 
7
7
  Permission is hereby granted, free of charge, to any person obtaining a copy