Expand description
The sign-in link as a notice on the machine the person is using (spec
SPEC_AGENTS_OPERATE_OTHER_MACHINES_2026_10_30.md ยง4.4, D6). An agent that started a sign-in on
another machine (identity.signin.start) asks its own srv to put the link in front of the
person: here if a window of this AgentMux is focused, else on the LAN peer that reports one.
The notice is a persistent toast with an Open action; the credentials stay on the machine that
is signing in, and only the link travels.
Structsยง
- Signin
Link Event - The
identity:signinlinkevent: show this link as a notice. - Signin
Notice ๐Request
Functionsยง
- allowed_
hosts ๐ - Where a providerโs sign-in page may be: an Open action opens a link a remote machine named, so only the providerโs own https pages (and their subdomains) are accepted.
- clean_
code ๐ - A one-time code fit for a toast: letters, digits and dashes, short.
- clean_
machine ๐ - A machine name fit for a toast: printable, short.
- handle_
agent_ ๐signin_ notice POST /api/v1/agent/identity/signin/notice: backsIdentitysigninwith ahost, once the other machine has returned the link.- link_
allowed ๐ - route ๐
- Put the link in front of the person: on this machine when a window here is focused, else on the first LAN peer that has one focused and lets this agent ask (an approved install), else here. Returns the machine that got it.
- show_
local ๐ - Show the link as a notice on this machine.
- window_
focused ๐ - Whether a window of this AgentMux is focused now.