erosolar-cli 1.7.399 → 1.7.400

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,6 @@ export interface ShellConfig {
19
19
  enabledPlugins?: string[];
20
20
  version?: string;
21
21
  alternateScreen?: boolean;
22
- assistantBlocksEnabled?: boolean;
23
22
  }
24
23
  export interface SessionRestoreConfig {
25
24
  mode: 'none' | 'autosave' | 'session-id';
@@ -61,7 +60,6 @@ export declare class InteractiveShell {
61
60
  private readonly ui;
62
61
  private readonly uiAdapter;
63
62
  private readonly uiUpdates;
64
- private readonly assistantBlocksEnabled;
65
63
  private readonly assistantBlockRenderer;
66
64
  private readonly _fileChangeTracker;
67
65
  private readonly alphaZeroMetrics;
@@ -124,6 +122,12 @@ export declare class InteractiveShell {
124
122
  private readonly alternateScreenEnabled;
125
123
  private inputInitialized;
126
124
  private assistantStreamActive;
125
+ private assistantStreamPhase;
126
+ private assistantStreamHeaderShown;
127
+ private assistantStreamBuffer;
128
+ private assistantStreamMetadata;
129
+ private lastRequestStartedAt;
130
+ private lastToolSummaryRenderedAt;
127
131
  constructor(config: ShellConfig);
128
132
  private parallelAgentDisplayLines;
129
133
  private setupParallelAgentTracking;
@@ -244,9 +248,17 @@ export declare class InteractiveShell {
244
248
  private startAssistantStream;
245
249
  private streamAssistantChunk;
246
250
  private finalizeAssistantStream;
251
+ private processAssistantStreamChunk;
252
+ private writeAssistantStream;
253
+ private setAssistantStreamPhase;
254
+ private renderAssistantStreamHeader;
255
+ private splitAssistantStreamRemainder;
247
256
  private enqueueAssistantStream;
248
257
  private writeAssistantBlock;
249
258
  private renderAssistantBlock;
259
+ private renderAssistantContent;
260
+ private renderAssistantFallback;
261
+ private formatAssistantHeader;
250
262
  private isStreamingUiActive;
251
263
  /**
252
264
  * Render the prompt/control bar. During streaming, rely on the streaming frame
@@ -496,6 +508,7 @@ export declare class InteractiveShell {
496
508
  /**
497
509
  * Build the session banner with comprehensive feature status.
498
510
  */
511
+ private getSessionFrameProps;
499
512
  private buildBanner;
500
513
  /**
501
514
  * Collect tool categories for banner display.
@@ -1 +1 @@
1
- {"version":3,"file":"interactiveShell.d.ts","sourceRoot":"","sources":["../../src/shell/interactiveShell.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAgDtE,OAAO,EAAE,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE/E,OAAO,EAAE,iBAAiB,EAAwB,MAAM,iBAAiB,CAAC;AAC1E,OAAO,EAAyB,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AA6GtF,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAWxD,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,WAAW,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,YAAY,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,cAAc,CAAC;IAC7B,cAAc,CAAC,EAAE,oBAAoB,CAAC;IACtC,aAAa,EAAE,iBAAiB,CAAC;IACjC,EAAE,EAAE,cAAc,CAAC;IACnB,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,cAAc,CAAC,EAAE,oBAAoB,CAAC;IACtC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,GAAG,UAAU,GAAG,YAAY,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,oBAAoB;IAC5B,cAAc,E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AAC,aAAa;IAIrB,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,qBAAqB;IAyB7B,OAAO,CAAC,qBAAqB;IAuB7B,OAAO,CAAC,wBAAwB;IAUhC;;OAEG;YACW,qBAAqB;IA6DnC;;OAEG;YACW,qBAAqB;IAyCnC;;OAEG;IACH,OAAO,CAAC,uBAAuB;IA0B/B;;OAEG;YACW,kBAAkB;IAyBhC;;OAEG;YACW,kBAAkB;IA6EhC;;OAEG;IACH,OAAO,CAAC,aAAa;IAsBrB;;;OAGG;IACH,iBAAiB,CAAC,SAAS,EAAE,KAAK,CAAC;QACjC,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,OAAO,CAAC;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC,GAAG,IAAI;IAIT;;;OAGG;IACH,OAAO,CAAC,oBAAoB;CAG7B"}
@@ -116,8 +116,7 @@ export class InteractiveShell {
116
116
  ui;
117
117
  uiAdapter;
118
118
  uiUpdates;
119
- assistantBlocksEnabled;
120
- assistantBlockRenderer = null;
119
+ assistantBlockRenderer;
121
120
  _fileChangeTracker = new FileChangeTracker(); // Reserved for future file tracking features
122
121
  alphaZeroMetrics; // Alpha Zero 2 performance tracking
123
122
  statusSubscription = null;
@@ -185,6 +184,12 @@ export class InteractiveShell {
185
184
  alternateScreenEnabled;
186
185
  inputInitialized = false;
187
186
  assistantStreamActive = false;
187
+ assistantStreamPhase = null;
188
+ assistantStreamHeaderShown = false;
189
+ assistantStreamBuffer = '';
190
+ assistantStreamMetadata;
191
+ lastRequestStartedAt = null;
192
+ lastToolSummaryRenderedAt = null;
188
193
  constructor(config) {
189
194
  this.profile = config.profile;
190
195
  this.profileLabel = config.profileLabel;
@@ -200,7 +205,6 @@ export class InteractiveShell {
200
205
  this.sessionRestoreConfig = config.sessionRestore ?? { mode: 'none' };
201
206
  this._enabledPlugins = config.enabledPlugins ?? [];
202
207
  this.version = config.version ?? '0.0.0';
203
- this.assistantBlocksEnabled = config.assistantBlocksEnabled ?? true;
204
208
  // Alternate screen disabled - use terminal-native mode for proper scrollback and text selection
205
209
  this.alternateScreenEnabled = false;
206
210
  this.initializeSessionHistory();
@@ -296,12 +300,10 @@ export class InteractiveShell {
296
300
  onToggleAlphaZero: () => this.toggleAlphaZeroMode('shortcut'),
297
301
  onClearContext: () => this.handleClearContext(),
298
302
  });
299
- if (this.assistantBlocksEnabled) {
300
- this.assistantBlockRenderer = new AssistantBlockRenderer({
301
- write: (text) => this.writeAssistantBlock(text),
302
- updates: this.uiUpdates,
303
- });
304
- }
303
+ this.assistantBlockRenderer = new AssistantBlockRenderer({
304
+ write: (text) => this.writeAssistantBlock(text),
305
+ updates: this.uiUpdates,
306
+ });
305
307
  // Initialize Alpha Zero 2 metrics tracking
306
308
  this.alphaZeroMetrics = new MetricsTracker(`${this.profile}-${Date.now()}`);
307
309
  this.setupStatusTracking();
@@ -322,6 +324,7 @@ export class InteractiveShell {
322
324
  }
323
325
  // Stream banner first - this sets up scroll region dynamically
324
326
  const banner = this.buildBanner();
327
+ this.terminalInput.setSessionFrame(this.getSessionFrameProps());
325
328
  this.terminalInput.streamContent(banner + '\n\n');
326
329
  this.rebuildAgent();
327
330
  this.setupHandlers();
@@ -763,17 +766,27 @@ export class InteractiveShell {
763
766
  */
764
767
  async performContextCompaction() {
765
768
  try {
766
- // For now, just clear the history and show a message
767
- // A full implementation would summarize the conversation
768
- const oldLength = this.cachedHistory.length;
769
+ const sourceHistory = this.agent ? this.agent.getHistory() : this.cachedHistory;
770
+ const oldLength = sourceHistory.length;
769
771
  if (oldLength === 0) {
770
772
  display.showInfo('Context is already empty.');
771
773
  return;
772
774
  }
773
- // Keep the last few messages for continuity
774
- const keepCount = Math.min(4, oldLength);
775
- this.cachedHistory = this.cachedHistory.slice(-keepCount);
776
- display.showSuccess(`Context compacted: ${oldLength} messages reduced to ${keepCount}. ` +
775
+ // Preserve the first system message (base prompt) and the last few user/assistant turns.
776
+ const systemMessage = sourceHistory.find((message) => message.role === 'system') ?? null;
777
+ const conversationalMessages = sourceHistory.filter((message) => message.role !== 'system');
778
+ const keepCount = Math.min(4, conversationalMessages.length);
779
+ const tail = keepCount > 0 ? conversationalMessages.slice(-keepCount) : [];
780
+ const compacted = systemMessage ? [systemMessage, ...tail] : tail;
781
+ this.cachedHistory = compacted;
782
+ if (this.agent) {
783
+ this.agent.loadHistory(compacted);
784
+ }
785
+ // Reset tracked context usage so tools and status bars stay in sync post-compaction.
786
+ this.latestTokenUsage = { used: null, limit: this.activeContextWindowTokens ?? null };
787
+ this.updateContextUsage(0, CONTEXT_AUTOCOMPACT_PERCENT);
788
+ this.lastContextWarningLevel = null;
789
+ display.showSuccess(`Context compacted: ${oldLength} messages reduced to ${compacted.length}. ` +
777
790
  `Context usage reset. Continue your conversation.`);
778
791
  this.refreshControlBar();
779
792
  }
@@ -1345,14 +1358,14 @@ export class InteractiveShell {
1345
1358
  }
1346
1359
  startAssistantStream(metadata) {
1347
1360
  if (this.assistantStreamActive) {
1361
+ this.assistantStreamMetadata = metadata ?? this.assistantStreamMetadata;
1348
1362
  return;
1349
1363
  }
1350
1364
  this.assistantStreamActive = true;
1351
- if (!this.assistantBlocksEnabled || !this.assistantBlockRenderer) {
1352
- return;
1353
- }
1354
- const header = this.assistantBlockRenderer.formatHeader('response', metadata);
1355
- this.enqueueAssistantStream(`\n${header}\n`);
1365
+ this.assistantStreamPhase = null;
1366
+ this.assistantStreamHeaderShown = false;
1367
+ this.assistantStreamBuffer = '';
1368
+ this.assistantStreamMetadata = metadata;
1356
1369
  }
1357
1370
  streamAssistantChunk(chunk) {
1358
1371
  if (!chunk) {
@@ -1363,16 +1376,109 @@ export class InteractiveShell {
1363
1376
  contextWindowTokens: this.activeContextWindowTokens,
1364
1377
  });
1365
1378
  }
1366
- this.enqueueAssistantStream(chunk);
1379
+ this.processAssistantStreamChunk(chunk);
1367
1380
  }
1368
1381
  finalizeAssistantStream() {
1369
1382
  if (!this.assistantStreamActive) {
1370
1383
  return;
1371
1384
  }
1385
+ if (this.assistantStreamBuffer) {
1386
+ this.writeAssistantStream(this.assistantStreamBuffer);
1387
+ this.assistantStreamBuffer = '';
1388
+ }
1372
1389
  this.assistantStreamActive = false;
1373
- if (this.assistantBlocksEnabled && this.assistantBlockRenderer) {
1374
- this.enqueueAssistantStream('\n\n');
1390
+ this.assistantStreamPhase = null;
1391
+ this.assistantStreamHeaderShown = false;
1392
+ this.assistantStreamMetadata = undefined;
1393
+ this.enqueueAssistantStream('\n\n');
1394
+ }
1395
+ processAssistantStreamChunk(chunk) {
1396
+ this.assistantStreamBuffer += chunk;
1397
+ const tagRegex = /<(\/?)(thinking|response)>/i;
1398
+ while (this.assistantStreamBuffer.length > 0) {
1399
+ const match = tagRegex.exec(this.assistantStreamBuffer);
1400
+ if (!match || match.index === undefined) {
1401
+ // No more full tags - flush what we can but keep any partial tag prefix buffered
1402
+ const { flushable, remainder } = this.splitAssistantStreamRemainder(this.assistantStreamBuffer);
1403
+ if (flushable) {
1404
+ this.writeAssistantStream(flushable);
1405
+ }
1406
+ this.assistantStreamBuffer = remainder;
1407
+ return;
1408
+ }
1409
+ const tagIndex = match.index;
1410
+ const beforeTag = this.assistantStreamBuffer.slice(0, tagIndex);
1411
+ if (beforeTag) {
1412
+ this.writeAssistantStream(beforeTag);
1413
+ }
1414
+ // Advance buffer past the tag
1415
+ this.assistantStreamBuffer = this.assistantStreamBuffer.slice(tagIndex + match[0].length);
1416
+ const isClosing = match[1] === '/';
1417
+ const tagType = (match[2] ?? '').toLowerCase();
1418
+ if (isClosing) {
1419
+ if (this.assistantStreamPhase === tagType) {
1420
+ this.assistantStreamPhase = null;
1421
+ this.assistantStreamHeaderShown = false;
1422
+ }
1423
+ }
1424
+ else {
1425
+ this.setAssistantStreamPhase(tagType);
1426
+ }
1427
+ }
1428
+ }
1429
+ writeAssistantStream(content) {
1430
+ if (!content) {
1431
+ return;
1432
+ }
1433
+ if (!this.assistantStreamPhase) {
1434
+ this.setAssistantStreamPhase('response');
1435
+ }
1436
+ if (this.assistantStreamPhase) {
1437
+ this.renderAssistantStreamHeader(this.assistantStreamPhase);
1375
1438
  }
1439
+ this.enqueueAssistantStream(content);
1440
+ }
1441
+ setAssistantStreamPhase(phase) {
1442
+ if (this.assistantStreamPhase === phase) {
1443
+ return;
1444
+ }
1445
+ this.assistantStreamPhase = phase;
1446
+ this.assistantStreamHeaderShown = false;
1447
+ if (phase) {
1448
+ this.renderAssistantStreamHeader(phase);
1449
+ }
1450
+ }
1451
+ renderAssistantStreamHeader(type) {
1452
+ if (this.assistantStreamHeaderShown) {
1453
+ return;
1454
+ }
1455
+ const header = this.formatAssistantHeader(type, this.assistantStreamMetadata);
1456
+ if (header.trim()) {
1457
+ this.enqueueAssistantStream(`\n${header}\n`);
1458
+ }
1459
+ this.assistantStreamHeaderShown = true;
1460
+ }
1461
+ splitAssistantStreamRemainder(buffer) {
1462
+ if (!buffer) {
1463
+ return { flushable: '', remainder: '' };
1464
+ }
1465
+ const tags = ['<thinking>', '</thinking>', '<response>', '</response>'];
1466
+ let longest = '';
1467
+ for (const tag of tags) {
1468
+ for (let i = 1; i < tag.length; i += 1) {
1469
+ const prefix = tag.slice(0, i);
1470
+ if (buffer.endsWith(prefix) && prefix.length > longest.length) {
1471
+ longest = prefix;
1472
+ }
1473
+ }
1474
+ }
1475
+ if (!longest) {
1476
+ return { flushable: buffer, remainder: '' };
1477
+ }
1478
+ return {
1479
+ flushable: buffer.slice(0, -longest.length),
1480
+ remainder: longest,
1481
+ };
1376
1482
  }
1377
1483
  enqueueAssistantStream(content) {
1378
1484
  if (!content) {
@@ -1404,6 +1510,45 @@ export class InteractiveShell {
1404
1510
  // Ensure the prompt stays pinned below freshly written blocks
1405
1511
  this.renderPromptArea();
1406
1512
  }
1513
+ renderAssistantContent(type, content, metadata) {
1514
+ const normalized = content.replace(/\r\n/g, '\n').trim();
1515
+ if (!normalized) {
1516
+ return;
1517
+ }
1518
+ if (this.assistantBlockRenderer) {
1519
+ this.renderAssistantBlock(type, normalized, metadata);
1520
+ return;
1521
+ }
1522
+ this.renderAssistantFallback(type, normalized, metadata);
1523
+ }
1524
+ renderAssistantFallback(type, content, metadata) {
1525
+ const header = this.formatAssistantHeader(type, metadata);
1526
+ const block = `\n${header}\n${content.trimEnd()}\n\n`;
1527
+ this.enqueueAssistantStream(block);
1528
+ }
1529
+ formatAssistantHeader(type, metadata) {
1530
+ if (this.assistantBlockRenderer) {
1531
+ return this.assistantBlockRenderer.formatHeader(type, metadata);
1532
+ }
1533
+ const label = type === 'thought' ? 'Thought' : 'Response';
1534
+ const timestamp = new Date().toLocaleTimeString('en-US', {
1535
+ hour12: false,
1536
+ hour: '2-digit',
1537
+ minute: '2-digit',
1538
+ second: '2-digit',
1539
+ });
1540
+ const parts = [`${label} · ${timestamp}`];
1541
+ const total = metadata?.usage ? this.totalTokens(metadata.usage) : null;
1542
+ if (total) {
1543
+ parts.push(`${total} tok`);
1544
+ }
1545
+ const windowTokens = metadata?.contextWindowTokens;
1546
+ if (total && windowTokens) {
1547
+ const percentage = Math.round((total / windowTokens) * 100);
1548
+ parts.push(`${percentage}% ctx`);
1549
+ }
1550
+ return parts.join(' • ');
1551
+ }
1407
1552
  isStreamingUiActive() {
1408
1553
  return this.streamingHeartbeatStart !== null;
1409
1554
  }
@@ -2169,26 +2314,21 @@ export class InteractiveShell {
2169
2314
  break;
2170
2315
  }
2171
2316
  };
2172
- const suppressCommandOutput = this.isStreamingUiActive();
2317
+ const streamingUiActive = this.isStreamingUiActive();
2318
+ const captureOptions = streamingUiActive
2319
+ ? { includeStreaming: false, suppressTypes: ['normal'] }
2320
+ : undefined;
2173
2321
  let capturedOutput = '';
2174
2322
  try {
2175
- const { output: outputBuffer } = await display.captureOutput(runCommand, {
2176
- silenceOutput: suppressCommandOutput,
2177
- });
2323
+ const { output: outputBuffer } = await display.captureOutput(runCommand, captureOptions);
2178
2324
  capturedOutput = outputBuffer;
2179
- if (suppressCommandOutput && capturedOutput.trim()) {
2180
- const normalized = capturedOutput.endsWith('\n') ? capturedOutput : `${capturedOutput}\n`;
2181
- this.writeLocked(normalized);
2182
- }
2183
2325
  }
2184
2326
  catch (error) {
2185
2327
  capturedOutput = error?.capturedOutput ?? capturedOutput;
2186
- if (suppressCommandOutput) {
2328
+ if (streamingUiActive) {
2187
2329
  const message = error instanceof Error ? error.message : String(error);
2188
- const { output: errorOutput } = await display.captureOutput(() => display.showError(message, error), { silenceOutput: true });
2189
- const streamedError = errorOutput || message;
2190
- capturedOutput = capturedOutput || streamedError;
2191
- this.writeLocked(streamedError.endsWith('\n') ? streamedError : `${streamedError}\n`);
2330
+ const { output: errorOutput } = await display.captureOutput(() => display.showError(message, error), { includeStreaming: false, suppressTypes: ['normal'] });
2331
+ capturedOutput = capturedOutput || errorOutput || message;
2192
2332
  }
2193
2333
  else {
2194
2334
  display.showError(error instanceof Error ? error.message : String(error), error);
@@ -5103,6 +5243,8 @@ export class InteractiveShell {
5103
5243
  // Keep the persistent input/control bar active as we transition into streaming.
5104
5244
  this.renderPromptArea(true);
5105
5245
  const requestStartTime = Date.now(); // Alpha Zero 2 timing
5246
+ this.lastRequestStartedAt = requestStartTime;
5247
+ this.lastToolSummaryRenderedAt = null;
5106
5248
  // Clear previous parallel agents and start fresh for new request
5107
5249
  const parallelManager = getParallelAgentManager();
5108
5250
  parallelManager.clear();
@@ -5803,12 +5945,9 @@ What's the next action?`;
5803
5945
  display.showThinking('Analyzing build errors');
5804
5946
  this.refreshStatusLine(true);
5805
5947
  this.hasShownThoughtProcess = false;
5806
- const response = await this.withStreamingUi('Fixing build errors', () => this.agent.send(prompt, true));
5948
+ await this.withStreamingUi('Fixing build errors', () => this.agent.send(prompt, true));
5807
5949
  display.stopThinking();
5808
5950
  this.refreshStatusLine(true);
5809
- if (response) {
5810
- display.showAssistantMessage(response, { isFinal: true });
5811
- }
5812
5951
  // Recursively verify the fix worked
5813
5952
  await this.enforceAutoBuild('verification');
5814
5953
  }
@@ -5837,31 +5976,26 @@ What's the next action?`;
5837
5976
  onStreamFallback: (info) => this.handleStreamingFallback(info),
5838
5977
  onAssistantMessage: (content, metadata) => {
5839
5978
  const enriched = this.buildDisplayMetadata(metadata);
5840
- const usingBlocks = this.assistantBlocksEnabled && this.assistantBlockRenderer !== null;
5841
5979
  const parsed = this.splitThinkingResponse(content);
5842
5980
  const thinking = parsed?.thinking ?? null;
5843
- const shouldRenderThoughtBlock = Boolean(thinking) && !this.hasShownThoughtProcess;
5844
5981
  const responseContent = parsed ? parsed.response?.trim() ?? '' : content.trim();
5845
- const narrativeContent = parsed?.response ?? content;
5982
+ const narrativeContent = (parsed?.response ?? content).trim();
5983
+ if (thinking) {
5984
+ this.presentThoughtProcess(thinking, enriched, { wasStreamed: metadata.wasStreamed });
5985
+ }
5846
5986
  if (metadata.isFinal) {
5847
- if (thinking) {
5848
- // Update status + summary, but skip the legacy UI output when blocks are enabled
5849
- this.presentThoughtProcess(thinking, enriched, {
5850
- wasStreamed: usingBlocks || metadata.wasStreamed,
5851
- });
5852
- if (usingBlocks && shouldRenderThoughtBlock && !metadata.wasStreamed) {
5853
- this.renderAssistantBlock('thought', thinking, enriched);
5854
- }
5987
+ if (metadata.wasStreamed) {
5988
+ this.finalizeAssistantStream();
5855
5989
  }
5856
- if (usingBlocks) {
5857
- if (!metadata.wasStreamed) {
5990
+ else {
5991
+ if (thinking) {
5992
+ this.renderAssistantContent('thought', thinking, enriched);
5993
+ }
5994
+ if (responseContent) {
5858
5995
  const body = responseContent || content;
5859
- this.renderAssistantBlock('response', body, enriched);
5996
+ this.renderAssistantContent('response', body, enriched);
5860
5997
  }
5861
5998
  }
5862
- else if (!metadata.wasStreamed && responseContent) {
5863
- display.showAssistantMessage(responseContent, enriched);
5864
- }
5865
5999
  // Status shown in mode controls bar - no separate status line needed
5866
6000
  display.stopThinking();
5867
6001
  // Update context usage for mode controls display
@@ -5875,30 +6009,19 @@ What's the next action?`;
5875
6009
  // Auto-verify changes: build first (catches type errors), then tests
5876
6010
  void this.enforceAutoBuild('final-response');
5877
6011
  void this.enforceAutoTests('final-response');
5878
- if (metadata.wasStreamed) {
5879
- this.finalizeAssistantStream();
5880
- }
5881
6012
  }
5882
6013
  else {
5883
- if (thinking) {
5884
- this.presentThoughtProcess(thinking, enriched, {
5885
- wasStreamed: usingBlocks || metadata.wasStreamed,
5886
- });
5887
- }
5888
6014
  // Non-final message = narrative text before tool calls (Claude Code style)
5889
6015
  // Stop spinner and show the narrative text directly
5890
6016
  display.stopThinking();
5891
- if (usingBlocks) {
5892
- if (metadata.wasStreamed) {
5893
- this.finalizeAssistantStream();
5894
- }
5895
- else {
5896
- this.renderAssistantBlock('thought', narrativeContent, enriched);
5897
- }
6017
+ if (metadata.wasStreamed) {
6018
+ this.finalizeAssistantStream();
5898
6019
  }
5899
- else if (!metadata.wasStreamed) {
5900
- const narrative = parsed?.response ?? content;
5901
- display.showNarrative(narrative.trim());
6020
+ else if (narrativeContent) {
6021
+ this.renderAssistantContent('thought', narrativeContent, {
6022
+ ...enriched,
6023
+ isFinal: false,
6024
+ });
5902
6025
  }
5903
6026
  // The isProcessing flag already shows "⏳ Processing..." - no need for duplicate status
5904
6027
  this.requestPromptRefresh();
@@ -6081,7 +6204,7 @@ What's the next action?`;
6081
6204
  contextWindowTokens: this.activeContextWindowTokens,
6082
6205
  };
6083
6206
  }
6084
- presentThoughtProcess(thinking, metadata, options) {
6207
+ presentThoughtProcess(thinking, metadata, _options) {
6085
6208
  if (!thinking || this.hasShownThoughtProcess) {
6086
6209
  return;
6087
6210
  }
@@ -6094,9 +6217,6 @@ What's the next action?`;
6094
6217
  this.rebuildStreamingStatusLabel();
6095
6218
  this.refreshStatusLine(true);
6096
6219
  }
6097
- if (!options?.wasStreamed) {
6098
- display.showAssistantMessage(thinking, { ...metadata, isFinal: false });
6099
- }
6100
6220
  this.hasShownThoughtProcess = true;
6101
6221
  }
6102
6222
  handleContextTelemetry(metadata, displayMetadata) {
@@ -6551,16 +6671,21 @@ What's the next action?`;
6551
6671
  /**
6552
6672
  * Build the session banner with comprehensive feature status.
6553
6673
  */
6554
- buildBanner() {
6555
- const terminalWidth = output.columns ?? 100;
6556
- const width = Math.min(terminalWidth - 4, 110);
6557
- return renderSessionFrame({
6674
+ getSessionFrameProps() {
6675
+ return {
6558
6676
  profileLabel: this.profileLabel,
6559
6677
  profileName: this.profile,
6560
6678
  model: this.sessionState.model,
6561
6679
  provider: this.sessionState.provider,
6562
6680
  workspace: this.workingDir,
6563
6681
  version: this.version,
6682
+ };
6683
+ }
6684
+ buildBanner() {
6685
+ const terminalWidth = output.columns ?? 100;
6686
+ const width = Math.min(terminalWidth - 4, 110);
6687
+ return renderSessionFrame({
6688
+ ...this.getSessionFrameProps(),
6564
6689
  width,
6565
6690
  });
6566
6691
  }
@@ -6670,6 +6795,7 @@ What's the next action?`;
6670
6795
  return;
6671
6796
  }
6672
6797
  this.refreshContextGauge();
6798
+ this.terminalInput.setSessionFrame(this.getSessionFrameProps());
6673
6799
  // Banner is no longer stored in display - it was streamed as content
6674
6800
  // Model/provider changes are visible in the control bar
6675
6801
  if (!this.isProcessing) {