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
.menu {
position: fixed;
inset: unset;
margin: 0;
/* Same frame as the sidebar's conversation menu. Items stack as flex rows: inline buttons with
no gap between them made the popover's fit-content width the sum of every item. */
width: 250px;
display: flex;
flex-direction: column;
padding: 6px;
border: 1px solid var(--b1);
border-radius: 14px;
background: var(--card);
color: var(--text);
box-shadow: var(--shadow-soft);
animation: menuIn 150ms var(--ease-out);
}
@keyframes menuIn {
from {
opacity: 0;
transform: translateY(4px);
}
}
@media (prefers-reduced-motion: reduce) {
.menu {
animation: none;
}
}
.menu button {
width: 100%;
justify-content: flex-start;
/* Menu rows, not pills: the longest label ("Create group from messages") stays on one line. */
padding: 8px 12px;
border-radius: 10px;
text-align: left;
}
.menu hr {
width: 100%;
margin: 4px 0;
border: 0;
border-top: 1px solid var(--b1);
}
.menu p {
margin: 4px 12px;
font-size: 12px;
color: var(--danger);
}
.draft {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 12px;
margin-bottom: 8px;
/* The quote being replied to is a chip-like band in the conversation's colour. */
border-left: 3px solid var(--chat-c, var(--brand));
border-radius: 12px;
background: color-mix(in srgb, var(--chat-c, var(--brand)) 10%, var(--tert));
color: var(--text2);
}
.summary {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 3px;
font-size: 12px;
line-height: 1.4;
}
.summary strong {
font-weight: 600;
}
.summary span {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
overflow-wrap: anywhere;
white-space: pre-wrap;
}
.record {
display: block;
border-left: 2px solid currentColor;
padding-left: 9px;
margin-bottom: 10px;
opacity: 0.8;
}