mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-27 01:19:25 +08:00
fix(panel): resolve P0 step inspector, V4 timing projection, harmonic speed merge, and UI cleanup bugs
This commit is contained in:
@@ -103,7 +103,7 @@ export async function handleAccountCredentialAction(data, {
|
||||
if (!['list', 'save', 'capture', 'switch', 'remove', 'quota'].includes(action)) return { error: 'invalidCredential' };
|
||||
const email = normalizeAccountEmail(data?.email);
|
||||
if (['switch', 'remove', 'quota'].includes(action) && !email) return { error: 'invalidEmail' };
|
||||
const gemini = join(homedir(), '.gemini');
|
||||
const gemini = String(process.env.ANTIGRAVITY_GEMINI_DIR || '').trim() || join(homedir(), '.gemini');
|
||||
const config = {
|
||||
target: 'gemini:antigravity',
|
||||
vault: join(process.env.LOCALAPPDATA || join(homedir(), 'AppData', 'Local'), 'AntigravityUsageMonitor', 'accounts.dpapi'),
|
||||
|
||||
@@ -92,7 +92,8 @@ function projectDisplayStep(st) {
|
||||
const {
|
||||
stepIndex, createdAtMs, isCompactionStep, modelKey, modelShort, modelLabel,
|
||||
modelUpstream, responseModel, modelSource, tokPerSec, ttftSec, totalDurationSec,
|
||||
streamDurationSec, selectedSpeedReason, anomaly, anomalySig, contextTokens, inputTokens, cacheReadTokens,
|
||||
nativeStreamSec, thinkingDurationSec, hasToolCalls, selectedSpeedReason, anomaly, anomalySig,
|
||||
contextTokens, inputTokens, cacheReadTokens,
|
||||
outputTokens, thinkingTokens, responseTokens, cacheHitPct, costUsd, inCostUsd,
|
||||
cacheCostUsd, outCostUsd, agentId, agentCascadeId, agentKind, agentOrdinal,
|
||||
agentCustomRole, agentLabel, agentBadge, agentRole, agentIndex, isSubagent,
|
||||
@@ -104,7 +105,7 @@ function projectDisplayStep(st) {
|
||||
return {
|
||||
stepIndex, createdAtMs, isCompactionStep, modelKey, modelShort, modelLabel,
|
||||
modelUpstream, responseModel, modelSource, tokPerSec, ttftSec, totalDurationSec,
|
||||
streamDurationSec, selectedSpeedReason,
|
||||
nativeStreamSec, thinkingDurationSec, hasToolCalls, selectedSpeedReason,
|
||||
...(anomaly ? { anomaly, anomalySig } : {}),
|
||||
contextTokens, inputTokens, cacheReadTokens,
|
||||
outputTokens, thinkingTokens, responseTokens, cacheHitPct, costUsd, inCostUsd,
|
||||
|
||||
Reference in New Issue
Block a user