pi-subagent-in-memory 0.2.3 → 0.2.4
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/extensions/index.ts +3 -3
- package/package.json +1 -1
package/extensions/index.ts
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* /saim-clear-tui-overlay — clear all cards & close any overlay
|
|
20
20
|
* - Runtime limits (each also available as a CLI flag):
|
|
21
21
|
* /saim-max-depth [n] — max subagent nesting depth (default 2)
|
|
22
|
-
* /saim-timeout [seconds] — default subagent timeout (default
|
|
22
|
+
* /saim-timeout [seconds] — default subagent timeout (default 900s,
|
|
23
23
|
* 0 = unlimited)
|
|
24
24
|
* - Parent aborts/timeouts do NOT kill running children: the child detaches,
|
|
25
25
|
* keeps running under its own timeout, and still writes result.md /
|
|
@@ -153,7 +153,7 @@ let activeDetailDone: ((result: void) => void) | null = null;
|
|
|
153
153
|
// ── Runtime limits (commands & flags) ───────────────────────────
|
|
154
154
|
const DEFAULT_MAX_DEPTH = 2;
|
|
155
155
|
const MAX_DEPTH_HARD_LIMIT = 10;
|
|
156
|
-
const DEFAULT_TIMEOUT_SECS =
|
|
156
|
+
const DEFAULT_TIMEOUT_SECS = 900;
|
|
157
157
|
// Max nesting depth: 1 = only the main agent may spawn subagents,
|
|
158
158
|
// 2 = subagents may spawn one further level, etc. Prevents runaway forks.
|
|
159
159
|
let maxSubagentDepth = DEFAULT_MAX_DEPTH;
|
|
@@ -520,7 +520,7 @@ const SubagentParams = Type.Object({
|
|
|
520
520
|
description:
|
|
521
521
|
"Timeout in seconds for the subagent execution. If exceeded, the subagent is aborted " +
|
|
522
522
|
"(its own in-flight nested subagents keep running and still write their results). " +
|
|
523
|
-
"Defaults to the configured default timeout (
|
|
523
|
+
"Defaults to the configured default timeout (900s unless changed via --saim-timeout or /saim-timeout).",
|
|
524
524
|
minimum: 1,
|
|
525
525
|
})
|
|
526
526
|
),
|
package/package.json
CHANGED