groove-dev 0.24.5 → 0.24.6

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.
@@ -1718,6 +1718,7 @@ Keep responses concise. Help them think, don't lecture them about the system the
1718
1718
  outputTokens: tokenData.outputTokens || 0,
1719
1719
  cacheHitRate: agentCacheTotal > 0 ? Math.round(((tokenData.cacheReadTokens || 0) / agentCacheTotal) * 1000) / 1000 : 0,
1720
1720
  contextUsage: a.contextUsage || 0,
1721
+ rotationThreshold: daemon.adaptive.getThreshold(a.provider, a.role),
1721
1722
  durationMs: a.durationMs || tokenData.totalDurationMs || 0,
1722
1723
  turns: a.turns || tokenData.totalTurns || 0,
1723
1724
  modelDistribution: tokenData.modelDistribution || {},
@@ -1773,6 +1774,8 @@ Keep responses concise. Help them think, don't lecture them about the system the
1773
1774
  journalist: {
1774
1775
  ...journalistStatus,
1775
1776
  lastSummary: lastSynthesis?.summary || '',
1777
+ projectMap: lastSynthesis?.projectMap || '',
1778
+ decisions: lastSynthesis?.decisions || '',
1776
1779
  recentHistory: journalistHistory,
1777
1780
  },
1778
1781
  timeline: timelineData,
@@ -317,6 +317,9 @@ For normal file edits within your scope, proceed without review.
317
317
  model: output.model,
318
318
  estimatedCostUsd: output.estimatedCostUsd,
319
319
  });
320
+ // Feed router cost log for tier tracking
321
+ const tier = this.daemon.classifier.classify(agent.id);
322
+ this.daemon.router.recordUsage(agent.id, output.model || current.model, output.tokensUsed, tier);
320
323
  }
321
324
  }
322
325
  // Record session result data (cost, duration, turns)