fix: improve codex tool call live updates

This commit is contained in:
shiyue
2026-03-30 10:23:51 +08:00
parent 34e42b3254
commit 2e2dc21047
3 changed files with 228 additions and 30 deletions

View File

@@ -1221,7 +1221,7 @@ body.session-loading-active {
color: var(--text-secondary);
background: var(--bg-secondary);
display: flex;
align-items: flex-start;
align-items: anchor-center;
gap: 8px;
user-select: none;
list-style: none;
@@ -1313,6 +1313,14 @@ body.session-loading-active {
color: var(--text-primary);
background: linear-gradient(180deg, rgba(255, 249, 242, 0.92), rgba(245, 221, 212, 0.32));
}
.tool-call-content.todo-list-content {
font-family: inherit;
white-space: normal;
word-break: normal;
}
.tool-call-content.todo-list-content .todo-list-container {
margin: 0;
}
.tool-call-content.command,
.tool-call-content.file-change {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 246, 240, 0.92));
@@ -1631,7 +1639,7 @@ body.session-loading-active {
}
.input-wrapper {
display: flex;
align-items: flex-end;
align-items: anchor-center;
gap: 8px;
background: #fff;
border: 1px solid var(--border-color);