@tbrandenburg/opencode-a2a-lite 0.3.0 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tbrandenburg/opencode-a2a-lite",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "OpenCode ACP to A2A gateway for trusted workspaces",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -239,6 +239,10 @@ export function createAcpBridge(options) {
239
239
  catch (error) {
240
240
  if (error instanceof Error && "code" in error && error.code === "ESRCH")
241
241
  return false;
242
+ // On macOS an unreaped process group can briefly return EPERM after SIGKILL.
243
+ // Treat an existence probe as inconclusive, never as proof of cleanup.
244
+ if (signal === 0 && error instanceof Error && "code" in error && error.code === "EPERM")
245
+ return true;
242
246
  throw new Error("ACP owned process cleanup failed");
243
247
  }
244
248
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tbrandenburg/opencode-a2a-lite",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "OpenCode ACP to A2A gateway for trusted workspaces",
5
5
  "license": "MIT",
6
6
  "repository": {