web: shared chat stars, pipeline mini graphs and agent questions
- Persist chat stars in the operator-session registry (chat_star) so every browser/device shows the same Starred group; migrate old local stars once. - Add a compact pipeline graph shape to list responses and draw a lightweight list miniature; replace the cryptic id/version line with the stage count. - Surface OpenCode form questions as a chat card (chat_answer), replay a pending form to late subscribers, and notify for background questions. - Make the mobile dock's Search cell equal to every destination, keep the tab row visible with 100svh, and let Source use the full pane height. - Let a fresh sign-in auto-connect to its own origin; use a Lax session cookie with Expires so Remember me survives app/link launches. - Keep shipped starters and the skill agnostic: no repository paths, project areas or personal device commands; add Diagnose/Fix and Research starters. - Refresh the installed skill and document the new browser conventions.
This commit is contained in:
@@ -837,3 +837,55 @@
|
||||
.tok-number { color: #d8b46a; }
|
||||
.tok-keyword { color: #93add0; font-weight: 600; }
|
||||
.tok-literal { color: #c58fb0; }
|
||||
|
||||
/* The agent's structured question (OpenCode form kind=question): the transcript's
|
||||
last item while the tool call is paused. Same surface as an approval card, with
|
||||
an accent hairline and one block per form field. */
|
||||
.chat-question {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
padding: 12px;
|
||||
background: var(--surface-2);
|
||||
border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--border));
|
||||
border-radius: var(--radius-card);
|
||||
}
|
||||
.chat-question-head { display: grid; gap: 2px; }
|
||||
.chat-question-title { font-weight: 600; }
|
||||
.chat-question-status { font-size: 12px; }
|
||||
.chat-question-field { display: grid; gap: 6px; }
|
||||
.chat-question-label { font-weight: 600; }
|
||||
.chat-question-desc { font-size: 12px; }
|
||||
.chat-question-options { display: grid; gap: 6px; }
|
||||
.chat-question-option {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
width: 100%;
|
||||
padding: 8px 10px;
|
||||
text-align: left;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-control);
|
||||
background: var(--surface);
|
||||
color: var(--text);
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
.chat-question-option:hover { background: var(--surface-2); }
|
||||
.chat-question-option.selected {
|
||||
border-color: var(--accent);
|
||||
background: var(--tint-selected);
|
||||
}
|
||||
.chat-question-option:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
||||
.chat-question-option-desc { color: var(--muted); font-size: 12px; }
|
||||
.chat-question-input {
|
||||
width: 100%;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-control);
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font: inherit;
|
||||
}
|
||||
.chat-question-error { color: var(--bad); font-size: 12px; }
|
||||
.chat-question-controls { display: flex; gap: 10px; }
|
||||
.chat-question-submit { padding: 6px 12px; }
|
||||
|
||||
Reference in New Issue
Block a user