feat(agents): rename tasks, roll back to a fresh session, and show Codex questions as one card (#2065)

Tasks can be renamed from the list and the tab; an explicitly submitted name is kept. Rerunning the first turn asks before clearing the conversation and resets nested subagent history. Codex questions use the shared question card and keep their ids, so identical questions keep separate answers.

Co-authored-by: panda-student <[email protected]>
Цей коміт міститься в:
SunZhiQiang authored and GitHub committed 2026-11-08 05:44:09 +08:00
1 джерело 8a563bd185
коміт 9f77f46509
19 files changed
+420 -43

No files matched your search

+22 -2
Переглянути файл
@@ -1078,7 +1078,10 @@
gap: 12px;
max-height: 50vh;
overflow-y: auto;
margin: 0 12px 8px;
/* The composer's width, so the card sits exactly over the box it belongs to. */
width: 100%;
max-width: var(--agent-conversation-width);
margin: 0 auto 8px;
padding: 12px;
border: 1px solid var(--border-strong);
border-radius: var(--radius-control);
@@ -1115,9 +1118,26 @@
.question .questionOption {
display: flex;
align-items: flex-start;
padding: 4px 6px;
padding: 8px 10px;
border-radius: var(--radius-row);
}
/* Each option is a card of its own: separate targets, not one list with hairlines. */
.questionChoices {
display: flex;
flex-direction: column;
gap: 6px;
}
.question .questionChoices > * {
border: 1px solid var(--border);
border-radius: var(--radius-row);
}
.question .questionChoices > *:hover {
border-color: var(--border-strong);
}
.question .questionChoices > *:has(input:checked) {
border-color: var(--accent);
background: var(--bg-hover);
}
.question .questionOption:hover {
background: var(--bg-hover);
}