Skip to main content

Module account_label

Module account_label 

Source
Expand description

The account line of an agent in a list: the My Agents tile and the “Continue an existing agent” menu (SPEC_MY_AGENTS_TILES_AUTH_AND_HISTORY_2026_10_03.md §5.2).

An agent is either bound to an account that resolves, and the line is that account’s name, or it is not, and the line is NO_AUTH. The old “(missing account)”, “(ambient creds)” and “(unknown account)” are gone: a link whose account is no longer there cannot launch the agent, so it is “No auth” too, and a failed lookup claims nothing at all (an empty line).

Structs§

AccountLine 🔒
The text of the line, and how many of the agent’s links pointed at an account that is not there.
Degraded 🔒
What could not be read, so a link that resolves to nothing may mean “the account is gone” or just “the lookup failed”.

Constants§

NO_AUTH 🔒

Functions§

account_line 🔒
names_by_id 🔒
Account names by id. This channel’s own accounts win; the global mirror fills the rest, the order identity::resolver::resolve_account uses for display, so an isolated channel whose links point at accounts only the mirror holds does not read as unbound.