feat(conversation): follow active reasoning while preserving manual reading

This commit is contained in:
Codex committed 2026-10-21 17:21:32 +09:00
1 parent 35b9a62ed4
commit 4a72008b2e
12 files changed
+530 -40

No files matched your search

+3 -1
View File
@@ -355,10 +355,12 @@ const collapsedThinking = renderToStaticMarkup(<ThinkingBlock text="Hidden reaso
// The source collapse keeps its content mounted for CSS transitions; it must be inaccessible while closed.
assert.match(collapsedThinking, /cr-collapse--collapsed/)
assert.match(collapsedThinking, /class="cr-collapse__content" aria-hidden="true" inert=""/)
const expandedThinking = renderToStaticMarkup(<ThinkingBlock text="Visible reasoning" isFinished isLastContent renderMarkdown={text => <strong>{text}</strong>} />)
const expandedThinking = renderToStaticMarkup(<ThinkingBlock text="Visible reasoning" isLastContent renderMarkdown={text => <strong>{text}</strong>} />)
assert.match(expandedThinking, /Visible reasoning/)
assert.match(expandedThinking, /<strong>Visible reasoning<\/strong>/)
assert.doesNotMatch(expandedThinking, /cr-collapse--collapsed/)
const historicalLatestThinking = renderToStaticMarkup(<ThinkingBlock text="History" isFinished isLastContent />)
assert.match(historicalLatestThinking, /cr-collapse--collapsed/, 'finished history stays initially closed even when last')
const planTasks = Array.from({ length: 8 }, (_, index) => ({
id: `task-${index}`,