mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
refactor(panel): extract sqlite/wire primitives, localize charts & structured status, and unify overlay/mock-dom (P2)
This commit is contained in:
@@ -328,8 +328,12 @@ export function buildStructurePreviewTelemetry(baseSettings = {}, draftOverrides
|
||||
...mainAgent,
|
||||
agentId: 'all',
|
||||
isMain: false,
|
||||
badgeText: '全部',
|
||||
agentKind: 'all',
|
||||
agentOrdinal: 0,
|
||||
badgeText: t('header.scopeAllShort'),
|
||||
activeAgentId: 'main',
|
||||
activeAgentKind: 'main',
|
||||
activeAgentOrdinal: 0,
|
||||
stepCount: 24,
|
||||
speedSampleCount: 23,
|
||||
speedSummary: { sampleCount: 23, excludedCount: 1 },
|
||||
@@ -343,7 +347,7 @@ export function buildStructurePreviewTelemetry(baseSettings = {}, draftOverrides
|
||||
cacheReadTokens: 1540000,
|
||||
outputTokens: 28400,
|
||||
totalTokens: 1754800,
|
||||
activeAgentBadge: '主',
|
||||
activeAgentBadge: t('fmt.mainBadge'),
|
||||
modelBreakdown: [...mainAgent.modelBreakdown, ...subAgent1.modelBreakdown],
|
||||
recentSteps: mockSteps,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user