M5 networkmanager: the bundle publishes the kept events

The bundle publishes what the watcher kept, in order and under each event's own
message id, deleting each once the stream acknowledged it and keeping a refused one
for the next moment: its start, a file event on pending/ and its bus connection's
return. The watcher now names the events by the seat's generated contract.

Builds: design 08 sign-in-page §1, §20, §22
This commit is contained in:
jochen
2026-11-24 21:22:01 +01:00
parent a4169a2325
commit f6646c7254
6 changed files with 296 additions and 26 deletions
@@ -54,5 +54,5 @@ func parseNmcli(out string) map[string]LinkDNS {
// holder is what networkmanager adds to the seat's verbs (design 08 sign-in-page §11): the watcher, `uplink-tools
// watch`.
func holder(m Machine) holderOwn {
return holderOwn{Commands: map[string]func([]string) error{"watch": watch}}
return holderOwn{Commands: map[string]func([]string) error{"watch": watch}, Start: startBundle}
}