Skip to content

feat(desktop): host-agent see UI from 10100 host lineage - #4818

Draft
Shipitrealgood wants to merge 2 commits into
block:mainfrom
Shipitrealgood:feat/host-agent-see-ui
Draft

feat(desktop): host-agent see UI from 10100 host lineage#4818
Shipitrealgood wants to merge 2 commits into
block:mainfrom
Shipitrealgood:feat/host-agent-see-ui

Conversation

@Shipitrealgood

@Shipitrealgood Shipitrealgood commented Aug 5, 2026

Copy link
Copy Markdown

Summary

  • Plumb optional kind:10100 host through list_relay_agents into RelayAgent.hostPubkey.
  • Add an On host section on the Agents page for non-managed directory agents that carry host lineage, with an environment badge hydrated via existing useUsersBatchQuery + resolveUserLabel (same progressive label model as DMs).
  • No Local Start, no kind:30177 — read-only discovery surface for host-minted agents.

Disclaimer

  • This Pr only works under the premise that a remote agent is appropriately minted and expresses kind 10100. Separate pr to follow with that.
  • This Pr also only works if host on a virtual machine is created, also through a different pr. Host creation with keypair, is a primitive function to bringing the substrate onto the relay.

Visualization

Agent cards showing with image updated

Test plan

  • cargo test --lib agents_preserves_host / agents_host_absent (buzz_lib)
  • biome check on touched TS files
  • Desktop: Agents page shows On host for live agents with 10100 host set; badge truncates.
  • Desktop: 'host' set; badge becomes name of host, from 10100
  • Desktop 'host'; title of host becomes name of device from 10100
  • Managed Local agents still only in the main managed section (not double-listed)
  • No Start control on host rows

Plumb optional kind:10100 `host` through list_relay_agents into RelayAgent
and show non-managed host agents on the Agents page with an environment
badge hydrated via users-batch/resolveUserLabel (same progressive label
model as DMs). No Local Start, no 30177.

Board: block#2723
Spec: services/buzz-agents/docs/HOST_AGENT_SEE_UI_SPEC.md

Signed-off-by: Bryce Del Rio <bryce.delrio@gmail.com>
@Shipitrealgood
Shipitrealgood requested a review from a team as a code owner August 5, 2026 00:55
@Shipitrealgood
Shipitrealgood marked this pull request as draft August 5, 2026 01:03
);

const hostPubkeys = React.useMemo(
() => [...new Set(hostAgents.map((agent) => agent.hostPubkey))],

@Shipitrealgood Shipitrealgood Aug 5, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Host pubkey rides 10100 of agent. As Host moves into relay, right filter to show tbd. Consideration is NIP-OA.

On host cards only listed 10100 name and resolved the environment badge
via resolveUserLabel/kind:0 on the host pubkey, so faces stayed letters
while profile click-through and DMs already showed kind:0 pictures and
live presence.

Batch agent pubkeys through users-batch (face + display name) and
presence (kind:20001). Environment badge uses resolveHostLabel
(knownHosts or truncated host pubkey) — not person-profile helpers.
Model remains omitted until directory publishes it. No Local Start.

Board: block#2723
Signed-off-by: Bryce Del Rio <bryce.delrio@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant