creditdaddy 1.5.2 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -154,6 +154,9 @@ export function normalizeMirasimLimits(limits, profile = null) {
154
154
  plan: profile?.plan ? String(profile.plan).toUpperCase() : (limits?.paid ? 'PRO' : 'FREE'),
155
155
  planExpiresAt: epochToIso(profile?.plan_exp),
156
156
  bottleneckLabel: isExhausted ? (bottleneck?.name || '额度') + '已用尽' : null,
157
+ // 结构化瓶颈(面板按词典分别 T() 窗口名与「已用尽」,替代拼串 bottleneckLabel——
158
+ // 上游新增窗口名(如 '30d')无词典映射时拼串会出「30d已用尽」混语)
159
+ bottleneck: isExhausted && bottleneck ? { name: bottleneck.name } : null,
157
160
  parts,
158
161
  empty: parts.length === 0,
159
162
  exceeded: limits?.suspended === true || isExhausted,