Skip to content

Agent Supervisor 0.3.6

Version 0.3.6 publishes the Node.js package to npm, adds a loopback-only network mode, and fixes two ways a supervised FlowRun could stop working.

Added

  • The Node.js package is published to npm as @rooagi/agent-supervisor (npm install @rooagi/agent-supervisor), with prebuilt native bindings for Linux x64 and arm64 (glibc), macOS x64 and arm64, and Windows x64 in @rooagi/agent-supervisor-<platform> packages that npm installs automatically. A binding built from a checkout with npm run build:native still takes precedence. The Release workflow builds and publishes them for every tag.

  • NetworkMode::Loopback lets a child listen locally and connect only to 127.0.0.1 and ::1, so a command can start a local server and test it without reaching other hosts. Linux runs the child in its own network namespace with only lo up; a host that forbids user namespaces is refused up front with code unsupported. macOS uses Seatbelt localhost rules: outbound traffic stays loopback-only, but a server bound to 0.0.0.0 also accepts connections from other hosts. Windows refuses the mode. platform_capabilities() reports loopback_network, and the Python binding accepts network="loopback".

Fixed

  • On macOS a sandboxed process may now signal the processes it started. The Seatbelt profile allowed signals to the process itself only, so a FlowRun worker stopping its own CLI got EPERM and crashed. Signalling any other process is still refused.
  • A service without a Flowboard sink (no --flowboard-mcp-command) no longer keeps a FlowRun outbox. Nothing could acknowledge those events, so each FlowRun's outbox only grew; once one passed the journal's 128 KiB result bound, its next change could not be persisted, the coordinator stopped, and every restart failed during recovery. On restart such a service now drops outboxes an earlier one left behind. Services with a sink are unchanged.

License

Version 0.3.6 is licensed under Apache-2.0. See the repository LICENSE file for the complete terms.