Merge branch 'main' into web-chat-composer

# Conflicts:
#	web/src/app.js
#	web/src/client.js
#	web/src/protocol.js
#	web/test/chat.test.mjs
#	web/test/repository.test.mjs
#	web/test/ui-smoke.mjs
This commit is contained in:
2026-10-19 07:33:49 +01:00
14 changed files with 1840 additions and 39 deletions
+62
View File
@@ -1367,6 +1367,49 @@ code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-
.confirm-accept { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.action-failed-ok { justify-self: end; }
/* Create a pipeline from a template (P5): the detail action and its dialog. */
.detail-actions { display: flex; gap: 8px; align-items: center; padding: 8px 12px 0; }
.template-create-open { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.template-create-dialog {
position: fixed;
inset: 0;
z-index: 40;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
background: rgba(0, 0, 0, 0.55);
}
.template-create-panel {
display: grid;
gap: 12px;
width: min(460px, 100%);
padding: 16px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.template-create-title { margin: 0; font-size: 16px; }
.template-create-field { display: grid; gap: 4px; }
.template-create-label { font-size: 12px; color: var(--muted); }
.template-create-name {
width: 100%;
padding: 6px 8px;
background: var(--surface-2);
color: var(--text);
border: 1px solid var(--border);
border-radius: 8px;
font: inherit;
}
.template-create-name:focus { outline: none; border-color: var(--accent); }
.template-create-note { margin: 0; line-height: 1.5; font-size: 13px; }
.template-create-error { font-size: 13px; }
.template-create-success { font-size: 13px; color: var(--ok); }
.template-create-actions { display: flex; gap: 8px; justify-content: flex-end; }
.template-create-confirm { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.template-create-confirm:disabled, .template-create-cancel:disabled { opacity: 0.5; }
/* The inline rename control on the Summary title row. */
.run-title-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.run-title-row .run-detail-title { margin: 0; }
@@ -1495,6 +1538,25 @@ code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-
.chat-tool-chevron { color: var(--muted); }
.chat-tool-spinner { width: 11px; height: 11px; border-width: 2px; }
/* C5: the in-flight turn's indicator, under the transcript after the last agent
turn — a spinner, the phase headline, the turn's elapsed and one line per
running tool. A call over the long threshold is tinted and marked `.chat-tool-long`. */
.chat-running { display: flex; flex-direction: column; gap: 4px; padding: 6px 2px 2px; color: var(--muted); font-size: 12px; }
.chat-running-head { display: flex; align-items: center; gap: 8px; }
.chat-running-spinner { width: 12px; height: 12px; border-width: 2px; }
.chat-running-label { color: var(--text); }
.chat-running-elapsed { color: var(--muted); }
.chat-running-tool { display: flex; align-items: center; gap: 8px; padding-left: 20px; min-width: 0; }
.chat-running-tool-text {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 420px;
}
.chat-running-tool-elapsed { font-size: 11px; }
.chat-running-tool-long { color: var(--bad); }
.chat-tool-panel {
position: fixed;
z-index: 40;