@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 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; use mode: isolated to keep Main free.` };
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, or use mode: isolated to keep Main free.`,
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henryqw/pi-herdr",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Shared client for interacting with Herdr from Node.js tools and Pi packages.",
5
5
  "keywords": [
6
6
  "pi-package",