@henryqw/pi-herdr 0.7.0 → 0.7.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/dist/admission.js +2 -2
- package/package.json +1 -1
package/dist/admission.js
CHANGED
|
@@ -93,7 +93,7 @@ function createAdmission() {
|
|
|
93
93
|
return { block: true, reason: "Command ownership recovery failed; writes are blocked. Inspect /commands." };
|
|
94
94
|
}
|
|
95
95
|
if (calls.get(event.toolCallId) !== call) {
|
|
96
|
-
return { block: true, reason: `Call ${event.toolCallId} already settled
|
|
96
|
+
return { block: true, reason: `Call ${event.toolCallId} already settled.` };
|
|
97
97
|
}
|
|
98
98
|
const owner = keys.map((key) => ownerByCheckout.get(key) ?? [...durable].find(([, checkouts]) => checkouts.includes(key))?.[0]).find(Boolean);
|
|
99
99
|
const main = direct ? [...calls].find(([, active]) => !active.direct && active.keys?.some((key) => keys.includes(key)))?.[0] : undefined;
|
|
@@ -101,7 +101,7 @@ function createAdmission() {
|
|
|
101
101
|
release(event.toolCallId);
|
|
102
102
|
return {
|
|
103
103
|
block: true,
|
|
104
|
-
reason: `Checkout set ${keys.join(", ")} has ${owner ? `an admitted direct writer (${owner})` : `a Main potentially-writing call in flight (${main})`}; retry after it stops
|
|
104
|
+
reason: `Checkout set ${keys.join(", ")} has ${owner ? `an admitted direct writer (${owner})` : `a Main potentially-writing call in flight (${main})`}; retry after it stops.`,
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
107
|
call.keys = keys;
|