feat(cli): overhaul inline thinking UI to match mock and update status bar indicator

This commit is contained in:
Keith Guerin
2026-02-10 00:32:19 -08:00
parent a1367e9cdd
commit 6bc4d99377
10 changed files with 328 additions and 85 deletions
@@ -370,11 +370,11 @@ describe('Composer', () => {
expect(output).toContain('LoadingIndicator: Processing');
});
it('renders generic thinking text in loading indicator when full inline thinking is enabled', async () => {
it('renders actual thought subject in loading indicator even when full inline thinking is enabled', async () => {
const uiState = createMockUIState({
streamingState: StreamingState.Responding,
thought: {
subject: 'Detailed in-history thought',
subject: 'Thinking about code',
description: 'Full text is already in history',
},
});
@@ -385,7 +385,7 @@ describe('Composer', () => {
const { lastFrame } = await renderComposer(uiState, settings);
const output = lastFrame();
expect(output).toContain('LoadingIndicator: Thinking ...');
expect(output).toContain('LoadingIndicator: Thinking about code');
});
it('hides shortcuts hint while loading', async () => {