Skip to content

Configurable peer display name (show friendly name instead of WhatsApp lid / UID) #32

@offendingcommit

Description

@offendingcommit

Requested by u/random-maakan on Reddit: https://www.reddit.com/r/hermesagent/comments/1t0w8fz/comment/onwzuae/

Any ways to configure the Peer's display name? The AI peer 'hermes' shows fine, but the people's peer card displays the *****-lid (for whatsapp) or UID. Having an option to add a Display name would be wonderful.

Problem

Human peers are identified by their raw Honcho peer ID — e.g. a WhatsApp …-lid or an opaque UID — which surfaces verbatim in the breadcrumb, the page header, and the peer card. An AI peer like hermes reads fine, but a person shows as 22…lid. (See the screenshots in the Reddit comment: the human peer's header/breadcrumb show the …lid, while hermes shows its name.)

Proposal

Honcho lets us attach arbitrary metadata to objects, and we control the UI — so we can opinionate a display-name convention without server changes:

  • Read a metadata key (e.g. display_name) and prefer it over the raw peer ID in the breadcrumb, page header, and peer-card title.
  • Add an inline edit (the Peer Card already has an Edit affordance) to set/update that display_name metadata for an existing peer.
  • Fall back to the peer ID when no display name is set.

Open question (from maintainer reply)

Rename an existing peer, or set the name at creation time? Both are feasible via metadata.

Filed on behalf of the reporter to capture the feedback; thank you u/random-maakan.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions