Skip to content

v0.2.0

Latest

Choose a tag to compare

@FlysonBot FlysonBot released this 06 Sep 03:16
c8531f8

Change Summary: Now you can agentrun multiple agents at once without the old ones losing agentdo privilege. Future updates will be seamless with the new handover procedure.

To install or update:

curl -fsSL https://raw.githubusercontent.com/FlysonBot/agentdo/main/install.sh | bash

Changelog

Added

  • Broker-to-broker handoff: authorizations transfer as live pidfds over SCM_RIGHTS, and the predecessor retires only once the successor confirms it has them all.
  • agentrun --upgrade triggers the handover after a manual install. The installer does it for you.

Fixed

  • Registering a second client no longer evicts the first. The broker keeps a client registry, revokes each independently, and shuts down only when the last one exits.
  • Upgrading no longer strips privilege from running agents.
  • Handoff no longer deadlocks: a buffered reader was consuming the next message's descriptors while dropping them.
  • A retired broker no longer tears down sockets its successor has bound.
  • A client registering mid-handoff is no longer stranded.
  • install.sh no longer silently skips the upgrade — it read the old broker's config through a redirect, which the unprivileged shell opened before sudo ran.
  • install.sh and agentrun now forward socket paths to brokers they start, so a non-default configuration no longer produces a successor serving an empty registry.

Changed

  • PROTOCOL_VERSION stays at 2 — the client/broker wire format did not change.
  • 73 tests, up from 50.