@ferris1225/pi-subagents 4.3.26 → 4.3.27
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 +12 -0
- package/README.md +4 -3
- package/agents/scout.md +1 -1
- package/package.json +1 -1
- package/src/configuration/config.ts +4 -4
- package/src/delegation/agents.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.27
|
|
7
|
+
|
|
8
|
+
- Let `scout` use the `anysearch`/`anysearch_extract` web-retrieval tools. The
|
|
9
|
+
role's known-safe read-only set already carried one search extension's tool
|
|
10
|
+
ids (`web_search`/`fetch_content`); adding the AnySearch pair lets scout
|
|
11
|
+
search and read decisive pages on installs that run that extension instead.
|
|
12
|
+
Both tools stay behind the strict intersection with Main's active tools.
|
|
13
|
+
- Raise the idle-watchdog default from 90 to 1800 seconds (clamp ceiling 600 →
|
|
14
|
+
3600). A child that goes silent on a long fetch or slow provider is no longer
|
|
15
|
+
terminated mid-work; a saved config with the old `idleTimeoutSec` value keeps
|
|
16
|
+
overriding the default until edited.
|
|
17
|
+
|
|
6
18
|
## 4.3.26
|
|
7
19
|
|
|
8
20
|
- Track Pi 1.3.0 development dependencies. Pi 1.2.0 fires `before_agent_start`
|
package/README.md
CHANGED
|
@@ -479,7 +479,8 @@ shell slot follows the parent's active shell on non-scout roles.
|
|
|
479
479
|
|
|
480
480
|
`scout` is a hard read-only boundary even when a project override omits or
|
|
481
481
|
overstates its tool list. Its known-safe set includes `read`, `grep`, `find`,
|
|
482
|
-
`ls`, `anchor_grep`,
|
|
482
|
+
`ls`, `anchor_grep`, the web-retrieval pairs `web_search`/`fetch_content` and
|
|
483
|
+
`anysearch`/`anysearch_extract`; tools not installed or
|
|
483
484
|
active in Main are simply omitted. Scout
|
|
484
485
|
receives no shell, local mutation tool, or unknown custom tool. Unknown tools
|
|
485
486
|
declared by other roles are conservatively treated as write-capable when
|
|
@@ -512,7 +513,7 @@ To start over, remove `pi-subagents.json` and run `/subagents-setup` again. Othe
|
|
|
512
513
|
"maxResultLines": 40,
|
|
513
514
|
"maxConcurrentAgents": 0,
|
|
514
515
|
"agentScope": "user",
|
|
515
|
-
"idleTimeoutSec":
|
|
516
|
+
"idleTimeoutSec": 1800
|
|
516
517
|
}
|
|
517
518
|
```
|
|
518
519
|
|
|
@@ -525,7 +526,7 @@ To start over, remove `pi-subagents.json` and run `/subagents-setup` again. Othe
|
|
|
525
526
|
| `maxResultLines` | Lines kept in a completion message before the artifact takes over. Default `40`. |
|
|
526
527
|
| `maxConcurrentAgents` | Simultaneous child-process limit: `0` keeps automatic capacity (4–6); `1`–`6` sets an explicit capacity. Default `0`. |
|
|
527
528
|
| `agentScope` | Discover `user`, `project`, or `both` agent directories. Default `user`. |
|
|
528
|
-
| `idleTimeoutSec` | Seconds without child RPC output before termination; `0` disables. Default `
|
|
529
|
+
| `idleTimeoutSec` | Seconds without child RPC output before termination; `0` disables. Default `1800`. |
|
|
529
530
|
|
|
530
531
|
Concurrency changes apply at the next `subagent` dispatch. Lowering the limit
|
|
531
532
|
lets active children finish before queued work acquires the reduced pool;
|
package/agents/scout.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: scout
|
|
3
3
|
description: Use only for searching code or documentation and for looking up external facts on the web. Read-only retrieval with citations; no shell, no edits, no command execution.
|
|
4
|
-
tools: read, grep, find, ls, anchor_grep, web_search, fetch_content
|
|
4
|
+
tools: read, grep, find, ls, anchor_grep, web_search, fetch_content, anysearch, anysearch_extract
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
Answer the brief's bounded research question. Priority is the brief, then loaded project instructions, then this role. The read-only boundary still wins. You have no interactive clarification; state material assumptions and gaps, then finish.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ferris1225/pi-subagents",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.27",
|
|
4
4
|
"description": "A managed sub-agent team for pi: lightweight scout research and artisan implementation, one-shot runs, read-only status, and Git worktree isolation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -79,11 +79,11 @@ const CONFIG_FILE_NAME = "pi-subagents.json";
|
|
|
79
79
|
/**
|
|
80
80
|
* Default idle timeout in seconds: a sub-agent whose stdout (JSON event stream)
|
|
81
81
|
* goes silent for this long is terminated; a selected model then hands the
|
|
82
|
-
* retained session to current main. 0 disables the watchdog. Default:
|
|
82
|
+
* retained session to current main. 0 disables the watchdog. Default: 1800.
|
|
83
83
|
*/
|
|
84
|
-
export const DEFAULT_IDLE_TIMEOUT_SEC =
|
|
84
|
+
export const DEFAULT_IDLE_TIMEOUT_SEC = 1800;
|
|
85
85
|
/** Upper bound accepted for idleTimeoutSec (defensive clamp). 0 disables. */
|
|
86
|
-
export const IDLE_TIMEOUT_SEC_LIMIT =
|
|
86
|
+
export const IDLE_TIMEOUT_SEC_LIMIT = 3600;
|
|
87
87
|
|
|
88
88
|
export interface SubagentsConfig {
|
|
89
89
|
/** Agent names that are discoverable and injected. Fresh-install default: every built-in agent. */
|
|
@@ -110,7 +110,7 @@ export interface SubagentsConfig {
|
|
|
110
110
|
/**
|
|
111
111
|
* Idle timeout in seconds: a sub-agent whose stdout (JSON event stream) goes
|
|
112
112
|
* silent for this long is terminated; a configured agent model then hands
|
|
113
|
-
* off to the current main model. 0 disables the idle watchdog. Default:
|
|
113
|
+
* off to the current main model. 0 disables the idle watchdog. Default: 1800.
|
|
114
114
|
*/
|
|
115
115
|
idleTimeoutSec: number;
|
|
116
116
|
}
|