Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-wire
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 1a31a4cd5a swarm: set an agent's config repo avatar from its icon
The agent module exposes the PNG nix renders from the agent's icon as the
read-only option services.hyperhive.agent.iconPng, which the forge and matrix
avatar syncs now share. When the builder reads an icon it builds that one
attribute with nix build and sends the file, base64, next to the SVG in the
meta build reply, so the builder runs no renderer of its own.

After recording the icon, the controller sets the avatar of
agent-configs/<agent> from the PNG as the forge admin, removes the avatar when
the icon is removed, and leaves it alone when the builder sent no PNG. A marker
per repo holds the image's fingerprint, so a build whose icon did not change
makes no forge call; a forge that refuses the avatar does not fail the build.
An old builder sends no PNG, so it changes nothing.
2026-11-23 10:11:16 +01:00
..
src swarm: set an agent's config repo avatar from its icon 2026-11-23 10:11:16 +01:00
Cargo.toml templates: one Jinja language (hive-template) for the notify router's flows, flows document version 2 2026-11-11 03:40:22 +01:00