pi-quiver 6.13.1 → 6.13.2
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
|
@@ -8,6 +8,10 @@ Published to npm as `pi-quiver` (`pi install npm:pi-quiver`). Pushing a
|
|
|
8
8
|
via OIDC trusted publishing. The release helper at
|
|
9
9
|
`.agents/skills/release/scripts/release.sh` cuts the tag; CI publishes.
|
|
10
10
|
|
|
11
|
+
## v6.13.2 - 2026-10-08
|
|
12
|
+
|
|
13
|
+
- `provider-stall-watchdog`: a `before_provider_request` that arrives while a tool is executing no longer arms the first-event deadline. Pi >= 0.86 prompt-cache warming (`cacheWarming: "streaming"`, the default) re-sends the captured request about 270s into a long tool call with the extension hooks attached; that request emits no `message_start`, so the watchdog aborted the run `firstEventMs` later and SIGTERMed every running subagent (exit 143). Real provider requests never start mid-tool.
|
|
14
|
+
|
|
11
15
|
## v6.13.1 - 2026-10-08
|
|
12
16
|
|
|
13
17
|
- `pi-quiver` CLI: SIGTERM/SIGINT/SIGHUP now kill the detached doc-to-md converter group (python, raster worker, soffice) before exiting with 128+signo; before, a signal-killed CLI orphaned the converter because the `exit` hook does not run on signal death. Library behavior inside pi is unchanged.
|
|
@@ -377,7 +377,14 @@ export function createProviderStallWatchdog(runtime: WatchdogRuntime = defaultRu
|
|
|
377
377
|
timers.recovery = runtime.setTimeout(run("recovery", thresholds.recoveryMs), thresholds.recoveryMs);
|
|
378
378
|
};
|
|
379
379
|
|
|
380
|
+
// Pi's prompt-cache warmer re-sends the captured request (with its onPayload hook) while a long
|
|
381
|
+
// tool call is still running; that request never produces a message_start, so arming on it
|
|
382
|
+
// would abort the run and kill the tool's children. No real provider request starts mid-tool.
|
|
383
|
+
let toolsExecuting = 0;
|
|
384
|
+
pi.on("tool_execution_start", () => { toolsExecuting++; });
|
|
385
|
+
pi.on("tool_execution_end", () => { toolsExecuting = Math.max(0, toolsExecuting - 1); });
|
|
380
386
|
pi.on("before_provider_request", (_event, ctx) => {
|
|
387
|
+
if (toolsExecuting > 0) return;
|
|
381
388
|
if (redriveTimer !== undefined) resetRunState();
|
|
382
389
|
if (redriveInFlight) {
|
|
383
390
|
redriveInFlight = false;
|
|
@@ -493,7 +500,7 @@ export function createProviderStallWatchdog(runtime: WatchdogRuntime = defaultRu
|
|
|
493
500
|
});
|
|
494
501
|
tick();
|
|
495
502
|
};
|
|
496
|
-
pi.on("agent_end", () => disarm());
|
|
503
|
+
pi.on("agent_end", () => { toolsExecuting = 0; disarm(); });
|
|
497
504
|
pi.on("agent_settled", async (_event, ctx) => {
|
|
498
505
|
if (exhaustedAbortGeneration !== undefined && exhaustedAbortGeneration === watchdogAbortedGeneration) { announce(DEGRADATION_NOTICE); resetRunState(); return; }
|
|
499
506
|
if (convertedTimeout && continuationStarted) { resetRunState(); return; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-quiver",
|
|
3
|
-
"version": "6.13.
|
|
3
|
+
"version": "6.13.2",
|
|
4
4
|
"description": "Personal pack of Pi coding-agent extensions: context-safe fetch, doc_to_md PDF/DOCX/PPTX-to-Markdown conversion, session naming, a themed ASCII startup header, Opus 4.8 fast mode, and a provider-stall watchdog.",
|
|
5
5
|
"author": "Jacek Juraszek",
|
|
6
6
|
"license": "MIT",
|