Signed-in browsers
Settings › Tokens lists every browser your account is signed in on (#14154). Each row names the browser in plain words, such as "Firefox on Linux" or "Safari on iPhone", and says when it signed in and when it was last used (and from which address, when that was recorded).
- The name comes from the browser's User-Agent the first time the session is
used (
src/auth/browser_name.ts), and stays the same after that. Only the short name is kept, never the raw header. A session that has not been used since this change reads "A browser". - Sign out on a row first asks you to confirm, then sends a same-origin
POST to
/settings/sessions/<row id>/delete. That browser is signed out on its next request, its open live streams end, and the row is gone from the page. The row id is opaque: it is not the cookie's secret, and the secret never appears on a page. - This browser is marked, and its own row has no Sign out, so you cannot end the session you are reading by mistake. Use the menu's Sign out for that.
- You can only end your own browsers. The forge's owner can end a person's browsers from their account page (account-access.md). Anyone else gets "not found", whether they use the page, the API or the MCP.
The same list and the same act are available as
GET /api/v1/users/<name>/signins and DELETE /api/v1/users/<name>/sessions/<id>,
as the MCP sessions tool (action: "end" with an id), and on the terminal's
sign-ins screen, where each browser row carries the same name. Tested in
test/signins.test.ts and test/browser-name.test.ts.