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.
- package/build.json +3 -3
- package/package.json +1 -1
- package/src/assets/donate-alipay.svg +1 -0
- package/src/assets/donate-ifdian.svg +1 -0
- package/src/assets/donate-wechat.svg +1 -0
- package/src/checkin.js +11 -10
- package/src/constants.js +3 -1
- package/src/cookieSites.js +30 -11
- package/src/daemon.js +2062 -1961
- package/src/doubaoClient.js +168 -0
- package/src/externalQuota.js +113 -9
- package/src/formatDuration.js +17 -0
- package/src/i18n/en.json +1734 -1755
- package/src/i18n/ja.json +1734 -1755
- package/src/i18n/ko.json +1734 -1755
- package/src/i18n/zh-TW.json +1734 -1755
- package/src/longcatClient.js +24 -15
- package/src/minimaxClient.js +29 -0
- package/src/minimaxGateway.js +459 -419
- package/src/mirasimClient.js +3 -0
- package/src/panel.html +393 -126
- package/src/providers.js +39 -3
- package/src/qoderApp.js +10 -1
- package/src/tenrouter.js +27 -3
- package/src/traeClient.js +23 -15
- package/src/traeGateway.js +52 -4
- package/src/traeLocal.js +14 -4
- package/src/usageSync.js +10 -2
- package/src/workbuddyClient.js +0 -45
- package/src/workbuddyLocal.js +40 -0
- package/src/zcodeAutoClaim.js +21 -4
- package/src/zcodeClient.js +8 -0
- package/src/zcodeGateway.js +763 -616
package/src/mirasimClient.js
CHANGED
|
@@ -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,
|