mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-27 01:19:25 +08:00
refactor(panel): extract sqlite/wire primitives, localize charts & structured status, and unify overlay/mock-dom (P2)
This commit is contained in:
@@ -523,4 +523,87 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
|
||||
'settings.oth.resetConfirmBtn': 'Click Again to Confirm',
|
||||
'settings.oth.resettingBtn': 'Resetting…',
|
||||
'settings.oth.resetAllDone': 'All preferences restored to defaults',
|
||||
|
||||
// Structured Live Activity Actions
|
||||
'live.act.run_command': 'Run Command',
|
||||
'live.act.read_file': 'Read File',
|
||||
'live.act.edit_file': 'Edit File',
|
||||
'live.act.write_file': 'Write File',
|
||||
'live.act.grep_search': 'Search Code',
|
||||
'live.act.find_file': 'Find Files',
|
||||
'live.act.read_url': 'Read Web Page',
|
||||
'live.act.search_web': 'Search Web',
|
||||
'live.act.invoke_subagent': 'Invoke Subagent',
|
||||
'live.act.send_message': 'Message Subagent',
|
||||
'live.act.manage_subagents': 'Manage Subagents',
|
||||
'live.act.manage_task': 'Manage Task',
|
||||
'live.act.schedule': 'Schedule Task',
|
||||
'live.act.ask_question': 'Waiting for User Choice',
|
||||
'live.act.search_marketplace': 'Search Plugins',
|
||||
'live.act.mcp_tool': 'Call MCP Tool',
|
||||
'live.act.tool_call': 'Call Tool',
|
||||
'live.act.thinking': 'Thinking',
|
||||
'live.act.compacting': 'Compacting Context',
|
||||
'live.act.responding': 'Responding',
|
||||
'live.act.waiting_subagent': 'Waiting for Subagent',
|
||||
'live.act.starting': 'Starting',
|
||||
'live.act.done': 'Completed',
|
||||
'live.act.awaitingApproval': 'Awaiting Approval · {label}',
|
||||
'live.act.compactionResuming': 'Compaction finished, resuming reasoning',
|
||||
|
||||
// SVG Charts (SessionStepCharts & TrendAreaChart)
|
||||
'chart.step.empty': 'No plottable steps in current scope',
|
||||
'chart.step.excluded': 'Excluded',
|
||||
'chart.step.zeroSteps': '0 steps',
|
||||
'chart.step.stepAdd': 'Step +{tokens}',
|
||||
'chart.step.ioSplit': 'In {inTok} · Cache {cacheTok} · Out {outTok}',
|
||||
'chart.step.cacheShort': 'Cache {pct}%',
|
||||
'chart.step.compactionCheckpoint': 'Auto-compaction checkpoint',
|
||||
'chart.step.cacheHitOut': 'Cache hit {pct}% · Out +{outTok}',
|
||||
'chart.step.ttftShort': 'TTFT {sec}s',
|
||||
'chart.step.outAndCtx': 'Out {outTok} · Context {ctxTok}',
|
||||
'chart.step.compactionStep': 'Compaction step',
|
||||
'chart.step.noSpeedSample': 'No speed sample',
|
||||
'chart.step.ctxAndCache': 'Context {ctxTok} · Cache {pct}%',
|
||||
'chart.step.noTtftSample': 'No TTFT sample',
|
||||
'chart.step.cumCost': 'Total {cost}',
|
||||
'chart.step.cacheAndStepTok': 'Cache {pct}% · Step {tokens}',
|
||||
'chart.step.noSamples': 'No samples',
|
||||
'chart.step.peakShort': 'Peak {val}',
|
||||
'chart.step.peakPill': 'Peak {tag} · {val}',
|
||||
'chart.step.stepsCount': '{count} steps',
|
||||
'chart.step.multiPrefix': '{count} models · ',
|
||||
'chart.step.sumTokens': '{prefix}Total {tokens}',
|
||||
'chart.step.peakTokens': '{prefix}Peak {tokens}',
|
||||
'chart.step.currentCtx': 'Current {tokens}',
|
||||
'chart.step.meanTps': '{prefix}Avg {val} tok/s',
|
||||
'chart.step.meanSec': '{prefix}Avg {val}s',
|
||||
'chart.step.noValidSamples': 'No valid samples',
|
||||
'chart.step.sumCost': '{prefix}Total {cost}',
|
||||
'chart.fit.empty': 'No valid regression samples for this model',
|
||||
'chart.fit.loess': 'LOESS Fit',
|
||||
'chart.fit.olsLinear': 'OLS Linear',
|
||||
'chart.fit.olsReg': 'OLS Reg',
|
||||
'chart.fit.observed': 'Observed',
|
||||
'chart.fit.tipFit': 'Fit {val}',
|
||||
'chart.fit.tipObs': 'Obs {val}',
|
||||
'chart.fit.zeroSamples': '0 samples',
|
||||
'chart.fit.peerMean': '{label} Avg {val}',
|
||||
'chart.fit.peerCompare': 'Compare: {peers}',
|
||||
'chart.fit.curvesCount': '{count} fit curves',
|
||||
'chart.fit.multiBadge': '{steps} steps · {models} models',
|
||||
'chart.fit.singleBadge': '{steps} steps · Avg {mean}',
|
||||
'chart.fit.olsTitle': 'OLS: y = {slope}x + {intercept} · Sample SD = ±{sd}',
|
||||
'chart.trend.hmMonthYear': "{month}/{yy}",
|
||||
'chart.trend.hmMonthOnly': 'M{month}',
|
||||
'chart.trend.wdayMon': 'M',
|
||||
'chart.trend.wdayWed': 'W',
|
||||
'chart.trend.wdayFri': 'F',
|
||||
'chart.trend.wdaySun': 'S',
|
||||
'chart.trend.hmAria': 'Daily usage heatmap',
|
||||
'chart.trend.hmLess': 'Less',
|
||||
'chart.trend.hmMore': 'More',
|
||||
'chart.trend.hmActivePeak': 'Active {active}/{total}d · Peak {label} · {tokens}',
|
||||
'chart.trend.hmActiveZero': 'Active 0/{total}d',
|
||||
'chart.trend.peakPill': 'Peak {label} · {tokens}',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user