优化: aichat 体验收尾(useAiEvents拆分4子域 + AIC-FIX P1队列/mutex/缓存 + i18n残留抽取)

This commit is contained in:
lxy
2026-08-08 20:38:33 +08:00
parent 4092a8d5bb
commit 65c0f6b2b6
21 changed files with 882 additions and 913 deletions
+17
View File
@@ -246,5 +246,22 @@ export default {
ciNFailed: '{n} failed',
ciNPending: '{n} pending',
ciNPassed: '{n} passed',
// ── MessageList token detail popover (per-fee breakdown: input/cache hit/output/reasoning) ──
tokenDetailTitle: 'Token usage details',
estimated: 'estimated',
tokenInLabel: 'Input (cache miss, full price)',
tokenCacheLabel: 'Cache hit (low price)',
tokenOutLabel: 'Output',
tokenReasonLabel: 'Reasoning',
tokenCacheRateLabel: 'Cache hit rate',
tokenModelLabel: 'Model',
tokenUsageNoteLabel: 'Usage note',
tokenUsageNote: 'prompt_tokens missing, shown as estimated',
// ── TopBar goal/project context labels ──
goalsCount: 'Goals ({n})',
none: 'None',
projectLabel: "{'@'}Projects",
},
}
+20
View File
@@ -3,5 +3,25 @@ export default {
title: 'Dependency Graph',
empty: 'No modules yet, please add a module first',
tabTitle: '🔗 Dependencies',
addDep: '+ Add dependency',
checkCycles: '🔍 Check cycles',
exportImage: '📷 Export',
fitContent: 'Fit content',
addDepTitle: 'Add project dependency',
sourceLabel: 'Source module (depends on)',
targetLabel: 'Target module (depended on)',
depTypeLabel: 'Dependency type',
typeLibrary: 'Library',
typeApi: 'API call',
typeMq: 'Message queue',
typeShared: 'Shared resource',
typeCustom: 'Custom',
confirm: 'Confirm',
cycleWarning: 'Detected {n} cycle nodes (highlighted in red)',
noCycle: 'No cyclic dependencies detected',
cycleError: 'Cycle detection failed',
deleteConfirm: 'Delete the dependency "{from} → {to}"? This cannot be undone.',
deleteSuccess: 'Dependency deleted',
deleteError: 'Failed to delete dependency',
},
}