feat(desktop): host-agent see UI from 10100 host lineage - #4818
Draft
Shipitrealgood wants to merge 2 commits into
Draft
feat(desktop): host-agent see UI from 10100 host lineage#4818Shipitrealgood wants to merge 2 commits into
Shipitrealgood wants to merge 2 commits into
Conversation
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
marked this pull request as draft
August 5, 2026 01:03
Shipitrealgood
commented
Aug 5, 2026
| ); | ||
|
|
||
| const hostPubkeys = React.useMemo( | ||
| () => [...new Set(hostAgents.map((agent) => agent.hostPubkey))], |
Author
There was a problem hiding this comment.
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hostthroughlist_relay_agentsintoRelayAgent.hostPubkey.useUsersBatchQuery+resolveUserLabel(same progressive label model as DMs).Disclaimer
Visualization
Test plan
cargo test --lib agents_preserves_host/agents_host_absent(buzz_lib)biome checkon touched TS fileshostset; badge truncates.