fix(engine): negotiate broker delivery cursors

Merged
WI
5mo ago
+1733-97

Summary

  • negotiate relay:delivery-cursor-v1 through node capabilities
  • return the persisted per-agent ACK cursor before pending-delivery replay
  • preserve the exact legacy registration reply for brokers that do not advertise support

Verification

  • stacked Relaycast delivery, migration, node, and wire suites: 108 passed
  • engine and types builds and lints passed

Companion to AgentWorkforce/relay#1240. This PR is stacked on the delivery-sequence retention fix.