@ferris1225/pi-subagents 4.3.31 → 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 +54 -0
- package/LICENSE +1 -1
- package/README.md +129 -271
- package/index.ts +5 -13
- package/package.json +5 -10
- package/src/configuration/config.ts +17 -121
- package/src/configuration/models.ts +1 -1
- package/src/configuration/setup.ts +80 -176
- package/src/configuration/ui.ts +28 -66
- package/src/delegation/agents.ts +78 -209
- package/src/delegation/builtin-agents.ts +60 -0
- package/src/delegation/dispatch.ts +21 -34
- package/src/delegation/prompt.ts +6 -5
- package/src/execution/rpc-control.ts +6 -2
- package/src/execution/rpc-run.ts +60 -20
- package/src/execution/spawn.ts +17 -28
- package/src/isolation/git-command.ts +1 -2
- package/src/isolation/recovery.ts +1 -1
- package/src/isolation/temp-hygiene.ts +2 -2
- package/src/isolation/worktree.ts +31 -17
- package/src/lifecycle/completion.ts +1 -1
- package/src/lifecycle/durable.ts +3 -3
- package/src/lifecycle/runtime.ts +6 -1
- package/src/lifecycle/thread-lifecycle.ts +11 -8
- package/src/lifecycle/thread-shared.ts +4 -4
- package/src/lifecycle/tools.ts +2 -5
- package/src/presentation/monitor.ts +22 -16
- package/src/presentation/widget.ts +2 -2
- package/agents/artisan.md +0 -18
- package/agents/scout.md +0 -19
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,60 @@
|
|
|
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
|
+
|
|
6
60
|
## 4.3.31
|
|
7
61
|
|
|
8
62
|
- Write the config on first start instead of prompting. A missing
|
package/LICENSE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2025 ferris1225
|
|
4
|
-
Portions of
|
|
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
|