pi-better-harness 0.45.0 → 0.45.1
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
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.45.1] - 2026-11-12
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Bundle Background Tasks 0.15.1 to stop unrelated sessions repeatedly claiming and releasing pending parent notifications, reducing shared SQLite writes and lock contention. (#722)
|
|
8
|
+
|
|
3
9
|
## [0.45.0] - 2026-11-12
|
|
4
10
|
|
|
5
11
|
### Changed
|
|
@@ -3379,6 +3379,12 @@ export class ObservedWaitHost {
|
|
|
3379
3379
|
byRecipient.set(key, entry);
|
|
3380
3380
|
}
|
|
3381
3381
|
for (const { owner, events } of byRecipient.values()) {
|
|
3382
|
+
// Foreign parents cannot receive a handoff here. Leave their events pending
|
|
3383
|
+
// without taking a write lock on every reconciliation pass.
|
|
3384
|
+
if (owner.kind === "parent-session") {
|
|
3385
|
+
const origin = { cwd: owner.workspace, sessionId: owner.sessionId };
|
|
3386
|
+
if (!this.options.notifyParent || !this.isParentOriginActive(origin, owner.branchId)) continue;
|
|
3387
|
+
}
|
|
3382
3388
|
if (owner.kind === "worker-conversation" && !this.continuation && this.rpcRuns.size === 0) continue;
|
|
3383
3389
|
const claimToken = `dispatch_${randomUUID()}`;
|
|
3384
3390
|
let claimed: OutboxEventRecord[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-better-harness",
|
|
3
|
-
"version": "0.45.
|
|
3
|
+
"version": "0.45.1",
|
|
4
4
|
"description": "Pi extension bundle for a write sandbox, subagents, background tasks, SSH, goals, model routing, and Outcome & Todo.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"test": "node --import tsx --import ../../scripts/isolate-registry.mjs --test test/*.test.mjs test/*.test.ts test/task-context/*.test.ts"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"pi-better-background-tasks": "0.15.
|
|
61
|
+
"pi-better-background-tasks": "0.15.1",
|
|
62
62
|
"pi-better-goal": "0.13.0",
|
|
63
63
|
"pi-better-model-router": "0.1.4",
|
|
64
64
|
"pi-ollama-cloud": "0.13.1",
|