Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.
TypeScript agentai-agentai-agentsai-assistantandroidautomationchatgptcoding-agentcomputer-usedesktop-appelectronllmlocal-firstmcpmulti-agentollamaopenaiprivacyself-hostedtypescript
/* Saved accounts. Builds on settings/permissions.module.css (.panel, .row) and
chat/local-exec.module.css (.approval, .facts, .actions); colors only from theme tokens. */
/* ---- first-login card ---- */
.choices {
display: flex;
flex-direction: column;
gap: 2px;
margin: 0;
padding: 4px 16px 10px;
border: 0;
min-width: 0;
}
.choices legend {
padding: 0 0 6px;
font-size: 12.5px;
color: var(--text2);
}
.choice {
display: flex;
align-items: center;
gap: 10px;
padding: 6px 0;
font-size: 13px;
cursor: pointer;
}
.choice input {
flex: none;
margin: 0;
accent-color: var(--prim);
}
.cardNote {
margin: 0;
padding: 0 16px 12px;
font-size: 12px;
color: var(--text2);
}
/* ---- settings · passwords ---- */
.site {
padding: 10px 16px 4px;
font-size: 12px;
font-weight: 650;
color: var(--text2);
border-top: 1px solid var(--b1);
}
.site:first-child {
border-top: 0;
}
.actions {
display: flex;
gap: 4px;
align-items: center;
}
.form {
display: flex;
flex-direction: column;
gap: 14px;
}
.form h3 {
margin: 0;
font-size: 14px;
}
.secretRow {
display: flex;
align-items: flex-end;
gap: 8px;
}
.secretRow > :first-child {
flex: 1;
min-width: 0;
}
.bots {
display: flex;
flex-wrap: wrap;
gap: 6px 14px;
margin: 0;
padding: 0;
border: 0;
min-width: 0;
}
.bots legend {
padding: 0 0 6px;
font-size: 13px;
font-weight: 600;
}
.bots label {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 13px;
cursor: pointer;
}
.bots input {
margin: 0;
accent-color: var(--prim);
}
.hint {
margin: 0;
font-size: 12px;
color: var(--text2);
}
.revealed {
font-family: var(--font-mono);
font-size: 13px;
overflow-wrap: anywhere;
}
/* ---- save prompt after a takeover (bottom of the browser pane) ---- */
.prompt {
display: flex;
flex-direction: column;
gap: 8px;
margin: 8px;
padding: 12px 14px;
border: 1px solid var(--b3);
border-radius: var(--radius-row);
background: var(--card);
box-shadow: var(--shadow);
font-size: 13px;
overflow-wrap: anywhere;
}
.prompt strong {
font-size: 13.5px;
}
.prompt p {
margin: 0;
color: var(--text2);
font-size: 12.5px;
}
.promptActions {
display: flex;
justify-content: flex-end;
gap: 8px;
flex-wrap: wrap;
}
.takeoverAccounts {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
position: relative;
}
.accountMenu {
position: absolute;
z-index: 30;
top: 100%;
right: 0;
display: flex;
flex-direction: column;
align-items: stretch;
padding: 8px;
width: min(300px, 75vw);
border: 1px solid var(--b3);
border-radius: var(--radius-card);
background: var(--card);
box-shadow: var(--shadow);
}
/*
* Lively layer: accents follow the chat's Bot
* colour (`--chat-c` / `--chat-ink`; the browser pane sets the same pair for its Bot). Account
* choices are tinted option rows with a person tile (the chosen one outlined); the secret note
* is a grey band; the save prompt and the takeover account menu are soft cards whose items lead
* with tiles.
*/
.choices.choices {
gap: 6px;
padding: 0 14px 10px;
}
.choice.choice {
padding: 9px 12px;
border-radius: 12px;
background: var(--tert);
box-shadow: inset 0 0 0 1.5px transparent;
transition:
background-color 160ms ease,
box-shadow 160ms ease,
transform 180ms var(--ease-out);
}
.choice.choice:hover {
transform: translateX(2px);
}
.choice.choice:has(input:checked) {
background: color-mix(in srgb, var(--chat-c, var(--avatar-orange)) 10%, transparent);
box-shadow: inset 0 0 0 1.5px
color-mix(in srgb, var(--chat-c, var(--avatar-orange)) 60%, transparent);
}
.choice.choice input {
accent-color: var(--chat-c, var(--avatar-orange));
}
.chatTile.chatTile.chatTile {
--tile: var(--chat-c, var(--avatar-blue));
}
.cardNote.cardNote {
display: flex;
align-items: center;
gap: 8px;
margin: 0 14px 12px;
padding: 8px 12px;
border-radius: 12px;
background: var(--tert);
}
.prompt.prompt {
border: 0;
border-radius: 14px;
box-shadow: var(--shadow-soft);
animation: rise 300ms var(--ease-out) both;
}
.promptHead {
display: flex;
align-items: center;
gap: 8px;
}
.prompt.prompt > p,
.prompt.prompt > fieldset {
margin-left: 32px;
}
.prompt.prompt[role="status"] {
color: var(--ok);
background: var(--okBg);
box-shadow: none;
}
.save:enabled {
color: var(--on-tone);
background: var(--chat-c, var(--avatar-blue));
}
.bots.bots input {
accent-color: var(--chat-c, var(--avatar-blue));
}
.accountMenu.accountMenu {
gap: 2px;
padding: 6px;
margin-top: 6px;
border: 0;
border-radius: 14px;
box-shadow: var(--shadow-soft);
}
.accountMenu.accountMenu > button {
justify-content: flex-start;
gap: 10px;
min-height: 34px;
padding: 7px 10px;
border-radius: 10px;
font-size: 13px;
font-weight: 500;
text-align: start;
}
.takeoverAccounts > .hint[role] {
padding: 3px 10px;
border-radius: var(--radius-pill);
background: var(--tert);
}
.takeoverAccounts > .hint[role="status"] {
color: var(--ok);
background: var(--okBg);
}
.takeoverAccounts > .hint[role="alert"] {
color: var(--danger);
background: var(--dangerBg);
}
@keyframes rise {
from {
opacity: 0;
transform: translateY(6px);
}
}
@media (prefers-reduced-motion: reduce) {
.prompt.prompt {
animation: none;
}
.choice.choice {
transition: none;
}
.choice.choice:hover {
transform: none;
}
}
/* Settings · saved accounts: each site heading carries a blue dot; the add / edit form
sits in the section's card; revealed passwords sit on a tinted field. */
.site.site {
display: flex;
align-items: center;
gap: 6px;
border-top: 0;
}
.site.site::before {
content: "";
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--chat-c, var(--avatar-blue));
}
.revealed.revealed {
margin: 0;
padding: 7px 12px;
border-radius: 10px;
background: var(--tert);
}