feat(panel): refine quota reservation estimator, tier 5x/20x badge, conditional argon_weekly slot, and chart markers

This commit is contained in:
fish
2026-11-22 20:59:02 +09:00
parent 4d6d676e56
commit 6da6c75390
26 changed files with 1673 additions and 392 deletions
+6 -3
View File
@@ -125,6 +125,7 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'capMetric.quota_auto': 'Auto Tightest Quota',
'capMetric.gemini_5h': 'Gemini 5h Quota',
'capMetric.gemini_weekly': 'Gemini Weekly Quota',
'capMetric.argon_weekly': 'Argon Weekly Quota',
'capMetric.claude_5h': 'Claude 5h Quota',
'capMetric.claude_weekly': 'Claude Weekly Quota',
@@ -187,6 +188,8 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'quota.usedAfterReserved': ' · {rem}% left)',
'quota.reservedTip': 'Estimated lease reservation (Experimental): ~{rsv}% (~{actual}% actual used); unused share refunds after ~10 min idle',
'quota.reservedTipMulti': 'Estimated lease reservation (Experimental): ~{rsv}% ({leases} stacked leases, ~{actual}% actual used); unused share refunds after ~10 min idle',
'quota.legendActual': 'Actual',
'quota.legendReserved': 'Reserved',
'quota.cycle5hTitle': 'Current 5h cycle ({pool}): {tok} Tokens · {cost} · {calls} calls',
'quota.cycleWkCustomTitle': 'Current calendar week: {tok} Tokens · {cost} · {calls} calls',
'quota.cycleWkPoolTitle': 'Current weekly cycle ({pool}): {tok} Tokens · {cost} · {calls} calls',
@@ -691,7 +694,7 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'settings.oth.quotaReserveLabel': 'Quota Reservation Estimate',
'settings.oth.quotaReserveDesc': 'Estimate 0.5% / 1% 5h & weekly lease holds in Available Quotas and highlight the reserved share in violet',
'settings.oth.quotaReserveLogLabel': 'Reservation Observation Log',
'settings.oth.quotaReserveLogDesc': 'Copy in-memory quota jump & refund events to clipboard for threshold tuning',
'settings.oth.quotaReserveLogDesc': 'Copy persisted quota jump & refund observations to clipboard (retained across restarts)',
'settings.oth.exportReserveLogBtn': 'Export Reserve Log',
'settings.oth.exportReserveLogCopied': 'Copied {count} log entries to clipboard',
'settings.oth.exportReserveLogEmpty': 'No events yet; copied current summary to clipboard',
@@ -731,7 +734,7 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'settings.oth.resettingBtn': 'Resetting…',
'settings.oth.resetAllDone': 'All preferences restored to defaults',
'settings.oth.backupLabel': 'Preferences Backup & Restore',
'settings.oth.backupDesc': 'Export or import portable UI, capsule, and table preferences as JSON (excludes credentials)',
'settings.oth.backupDesc': 'Export or import portable UI, capsule, and table preferences as JSON',
'settings.oth.exportJsonBtn': 'Export JSON',
'settings.oth.importJsonBtn': 'Import JSON',
'settings.oth.exportDone': 'Preferences JSON exported',
@@ -745,7 +748,7 @@ export const I18N_MESSAGES_EN_US = Object.freeze({
'settings.oth.migModeLabel': 'Migration Mode',
'settings.oth.migModeMove': 'Full Move (Recommended)',
'settings.oth.migModeClone': 'Clone Copy',
'settings.oth.migModeMoveHint': 'Assigns an isolated target ID while preserving all historical steps/details; archives source backup before moving (close source session first)',
'settings.oth.migModeMoveHint': 'Assigns an isolated target ID while preserving all historical steps/details; archives source backup before moving',
'settings.oth.migModeCloneHint': 'Keeps source intact with a fresh UUID; only counts new steps generated after cloning',
'settings.oth.migProjectLabel': 'Target Project',
'settings.oth.migProjectOutside': 'Standalone (No Project)',