@dreb/coding-agent 2.0.7 → 2.2.0

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.
@@ -2040,6 +2040,7 @@ export class InteractiveMode {
2040
2040
  await this.checkShutdownRequested();
2041
2041
  // Buddy reaction: session wrap-up quip
2042
2042
  this.buddyController.handleEvent(event);
2043
+ await this.footerDataProvider.refreshDailyCost();
2043
2044
  this.ui.requestRender();
2044
2045
  break;
2045
2046
  case "auto_compaction_start": {
@@ -3280,6 +3281,7 @@ export class InteractiveMode {
3280
3281
  this.pendingTools.clear();
3281
3282
  // Switch session via AgentSession (emits extension session events)
3282
3283
  await this.session.switchSession(sessionPath);
3284
+ await this.footerDataProvider.refreshDailyCost();
3283
3285
  // Clear and re-render the chat
3284
3286
  this.chatContainer.clear();
3285
3287
  this.renderInitialMessages();
@@ -3755,6 +3757,7 @@ export class InteractiveMode {
3755
3757
  this.statusContainer.clear();
3756
3758
  // New session via session (emits extension session events)
3757
3759
  await this.session.newSession();
3760
+ await this.footerDataProvider.refreshDailyCost();
3758
3761
  // Clear UI state
3759
3762
  this.headerContainer.clear();
3760
3763
  this.chatContainer.clear();