@kushalkhemka/opensec-pi-subagents 0.19.9 → 0.19.10
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 +6 -0
- package/README.md +1 -0
- package/bun.lock +591 -0
- package/dist/agent-runner.d.ts +25 -0
- package/dist/agent-runner.js +115 -0
- package/dist/index.js +25 -4
- package/dist/settings.d.ts +6 -0
- package/dist/settings.js +8 -0
- package/package.json +1 -1
- package/src/agent-runner.ts +125 -0
- package/src/index.ts +24 -4
- package/src/settings.ts +15 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.19.10] - 2026-10-07
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **A hung tool call held a subagent forever.** Turn limits only count finished turns, and a turn whose tool never returns (a `find /`, a server that never exits) never finishes, so `max_turns` and the grace turns could not stop it. Subagent `bash` calls now get a timeout (the new `toolTimeoutSeconds` setting, default 1200 s, `0` = off): Pi kills the command's whole process tree and the agent sees the timeout and carries on. Any other tool still running a minute past the limit is stopped by a watchdog and the agent is resumed with a note to split the work into bounded steps, up to 3 times per run (nested `Agent` / workflow calls are exempt). Resumed agents get the same protection.
|
|
15
|
+
|
|
10
16
|
## [0.19.9] - 2026-10-03
|
|
11
17
|
|
|
12
18
|
### Fixed
|
package/README.md
CHANGED
|
@@ -82,6 +82,7 @@ model and thinking level unless their definition or call overrides them.
|
|
|
82
82
|
| Setting | Default | Meaning |
|
|
83
83
|
|---|---|---|
|
|
84
84
|
| Background concurrency (`/agents → Settings`) | `10` | How many background agents run at once. |
|
|
85
|
+
| Tool timeout (`/agents → Settings`, `toolTimeoutSeconds`) | `1200` | Seconds one subagent tool call may run (`0` = no limit). A `bash` call is killed at the limit and the agent sees the timeout; any other tool still running a minute later is stopped and the agent is told to continue another way (up to 3 times per run). |
|
|
85
86
|
|
|
86
87
|
## Notes
|
|
87
88
|
|