fix: 临时保存编译错误修复

- 添加 LinuxDo 和 Update 配置(从 main 分支缺失)
- 添加 LinuxDoConnectSyntheticEmailDomain 常量
- 添加 IsClaudeCodeClient context key
- 添加 GetLinuxDoConnectOAuthConfig 方法
- 修复 BindStickySession 调用签名
- 修复前端 i18n 重复属性
- 重新生成 wire 依赖注入代码

这个提交准备被合并替换,先保存以防丢失。
This commit is contained in:
IanShaw027
2026-01-11 10:59:01 +08:00
parent 13ae0ce7b0
commit fc4ea65936
11 changed files with 231 additions and 84 deletions

View File

@@ -1844,30 +1844,6 @@ export default {
healthyStatus: 'Healthy',
riskyStatus: 'At Risk',
idleStatus: 'Idle',
realtime: {
title: 'Realtime',
connected: 'Connected',
connecting: 'Connecting',
reconnecting: 'Reconnecting',
offline: 'Offline',
closed: 'Closed',
reconnectIn: 'Reconnect in {seconds}s'
},
tooltips: {
qps: 'Queries per second - real-time request rate',
sla: 'Service Level Agreement - percentage of requests within acceptable latency',
latency: 'Request duration from start to finish',
ttft: 'Time to First Token - latency until first response token',
errors: 'Request errors within SLA scope',
upstreamErrors: 'Errors from upstream services (excluding rate limits)',
totalRequests: 'Total requests and tokens consumed in this time window',
cpu: 'CPU usage percentage',
memory: 'Memory usage percentage',
db: 'Database connection pool status',
redis: 'Redis connection pool status',
goroutines: 'Go routine count (concurrent tasks)',
jobs: 'Background job health status'
},
timeRange: {
'5m': 'Last 5 minutes',
'30m': 'Last 30 minutes',
@@ -1875,11 +1851,6 @@ export default {
'6h': 'Last 6 hours',
'24h': 'Last 24 hours'
},
queryMode: {
auto: 'Auto',
raw: 'Raw Query',
preagg: 'Pre-aggregated'
},
diagnosis: {
title: 'Smart Diagnosis',
footer: 'Automated diagnostic suggestions based on current metrics',

View File

@@ -1989,30 +1989,6 @@ export default {
healthyStatus: '健康',
riskyStatus: '风险',
idleStatus: '待机',
realtime: {
title: '实时信息',
connected: '已连接',
connecting: '连接中',
reconnecting: '重连中',
offline: '离线',
closed: '已关闭',
reconnectIn: '{seconds}秒后重连'
},
tooltips: {
qps: '每秒查询数 - 实时请求速率',
sla: '服务等级协议 - 可接受延迟范围内的请求百分比',
latency: '从开始到结束的请求持续时间',
ttft: '首字延迟 - 直到第一个响应令牌的延迟',
errors: 'SLA 范围内的请求错误',
upstreamErrors: '上游服务错误(不包括速率限制)',
totalRequests: '此时间窗口内的总请求数和消耗的令牌数',
cpu: 'CPU 使用率',
memory: '内存使用率',
db: '数据库连接池状态',
redis: 'Redis 连接池状态',
goroutines: 'Go 协程数(并发任务)',
jobs: '后台任务健康状态'
},
timeRange: {
'5m': '近5分钟',
'30m': '近30分钟',
@@ -2020,11 +1996,6 @@ export default {
'6h': '近6小时',
'24h': '近24小时'
},
queryMode: {
auto: '自动',
raw: '原始查询',
preagg: '预聚合'
},
diagnosis: {
title: '智能诊断',
footer: '基于当前指标的自动诊断建议',