fix(agents): use default arrow cursors on controls and refine tool call folding (#5804)

Keep the default arrow cursor on non-link controls and disclosure summaries across src/features/agents/, reserving pointer cursors for links.

Refine conversation folding so edits, commands, and interim messages remain visible by default:
- Default agents.foldTurns (fold_turns) to false across Rust and frontend settings
- Restrict grouped ProcessRun folding to consecutive reasoning and read-only exploration tool calls (read, search, fetch, think without diffs)
- When foldTurns is enabled, fold only earlier turns (leaving the latest turn open) and flatten grouped runs inside a folded turn to avoid nested folds
- Keep turn-folding test coverage active in unit, E2E, and Rust settings tests
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-25 15:12:37 +08:00
1 джерело 3dd918c5b2
коміт 87ce01d251
20 files changed
+166 -89

No files matched your search

+1 -6
Переглянути файл
@@ -15,7 +15,7 @@
font-size: var(--agent-fs-small, var(--fs-small));
line-height: calc(20px + max(0px, var(--agent-font-zoom, 0px)) * 1.4);
white-space: nowrap;
cursor: pointer;
cursor: default;
user-select: none;
transition:
background var(--dur-fast) var(--ease),
@@ -58,7 +58,6 @@
border-radius: var(--radius-small);
background: none;
color: var(--fg-muted);
cursor: pointer;
}
.chipRemove:hover {
background: var(--bg-hover);
@@ -227,7 +226,6 @@
border-radius: var(--radius-small);
background: none;
color: var(--fg-muted);
cursor: pointer;
}
.codeRemove:hover,
.codeCopy:hover {
@@ -265,9 +263,6 @@
background: var(--bg-hover);
}
/* In the composer: the card opens as text on a click. */
.codeCard[title] {
cursor: pointer;
}
.codeCard[title]:hover {
box-shadow: inset 0 0 0 1px var(--border-strong);
}