@openagents-org/agent-connector 0.1.4 → 0.1.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/daemon.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openagents-org/agent-connector",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Agent management CLI and library for OpenAgents — install, configure, and run AI coding agents",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/daemon.js CHANGED
@@ -777,7 +777,9 @@ class Daemon {
777
777
  try {
778
778
  process.kill(pid, 0);
779
779
  return true;
780
- } catch {
780
+ } catch (e) {
781
+ // EPERM = process exists but cross-session on Windows
782
+ if (e.code === 'EPERM') return true;
781
783
  return false;
782
784
  }
783
785
  }