creditdaddy 1.7.0 → 1.7.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.
@@ -305,7 +305,9 @@ export async function runQuotaPush({ endpoint, key, accounts, fetchImpl, onlySou
305
305
  };
306
306
 
307
307
  // 0. minimax-free(单账号单卡,minimax-code 同款单值卡:带签到徽章)
308
- const mmAccounts = (accounts || []).filter((a) => a.provider === 'minimax' && (a.token || a.refreshToken));
308
+ // 国内(minimax)与国际(minimax-global,#54)都推免费线卡——10R 的 minimax-free 挂 CD 网关
309
+ // 的免费体验线,订阅线额度卡由账号连接(#55 OAuth 通道)的同名认领接管,两者不冲突
310
+ const mmAccounts = (accounts || []).filter((a) => (a.provider === 'minimax' || a.provider === 'minimax-global') && (a.token || a.refreshToken));
309
311
  if (mmAccounts.length) {
310
312
  // 一次性清理:按账号单卡(6ebcc52)之前的版本把全部账号聚在 source「minimax-free」
311
313
  // 一张多行卡上;升级用户的那张旧卡没人再推(也不该再推),不删会挂到 7 天 TTL 自然过期,
@@ -527,5 +529,46 @@ export async function runQuotaPush({ endpoint, key, accounts, fetchImpl, onlySou
527
529
  }
528
530
  }
529
531
 
532
+ // 6. WPS 灵犀(issue #53:灵点余额卡)——kdocs 会话 cookie 读任务列表/余额接口;
533
+ // 单值储值卡(灵点只在灵犀界面消费,官方无 API,10R 卡仅展示余额数字)。
534
+ const lxAccounts = (accounts || []).filter((a) => (a.provider === 'lingxi' || a.meta?.cookieSiteId === 'lingxi') && (a.token || a.meta?.cookieSiteSession?.cookie));
535
+ if (lxAccounts.length) {
536
+ const { fetchLingxiStatus, buildLingxiQuotaPayload } = await import('./lingxiClient.js');
537
+ for (const a of lxAccounts) {
538
+ const { source } = buildLingxiQuotaPayload(a);
539
+ if (only && !only.includes(source)) continue;
540
+ const skipDead = !only && deadSkip(a);
541
+ let liveData = null;
542
+ if (skipDead) {
543
+ liveData = { error: '会话已失效(后台低频重试等待中,跳过本轮 live 拉取)', authInvalid: true };
544
+ } else {
545
+ try {
546
+ const cookie = a.meta?.cookieSiteSession?.cookie || a.token;
547
+ const st = await fetchLingxiStatus(cookie, { fetchImpl });
548
+ if (st.auth) {
549
+ liveData = { balance: st.balance };
550
+ if (Number.isFinite(st.balance)) {
551
+ persistLive(a, { quotaSnapshot: { used: 0, total: st.balance, isCreditBalance: true, at: new Date().toISOString() } });
552
+ }
553
+ } else liveData = liveError({ authExpired: true, error: '会话已失效' });
554
+ probeMark(a, st.auth, st.code);
555
+ } catch (err) {
556
+ liveData = { error: err.message };
557
+ probeMark(a, false, err.message);
558
+ }
559
+ }
560
+ const { payload } = buildLingxiQuotaPayload(a, liveData);
561
+ try {
562
+ assertScalarOnly(payload, source);
563
+ const r = await pushOne({ endpoint, key, source, payload, fetchImpl, refreshUrl: await rurl(source) });
564
+ results.push({ source, status: 'ok', entries: r.entries });
565
+ logger.info('10R', '额度卡已推送:{source}({n} 行)', { source, n: r.entries ?? (Object.keys(payload.quotas || {}).length || 0) });
566
+ } catch (e) {
567
+ results.push({ source, status: 'failed', error: e.message });
568
+ logger.warn('10R', '额度卡推送失败 {source}:{err}', { source, err: e.message });
569
+ }
570
+ }
571
+ }
572
+
530
573
  return { results };
531
574
  }
package/src/i18n/en.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "本机未安装 WorkBuddy / CodeBuddy 客户端,无法切换(切换是把登录写入客户端凭据,由客户端应用;可先安装客户端后在本机导入再切换)": "WorkBuddy / CodeBuddy client is not installed on this machine; cannot switch (switching writes the login into client credentials for the client to apply; install the client, sign in, then import locally before switching)",
2
+ "本机未安装 WorkBuddy 客户端,无法切换(切换是把登录写入客户端凭据,由客户端应用;可先安装客户端后在本机导入再切换)": "WorkBuddy client is not installed on this machine; cannot switch (switching writes the login into client credentials for the client to apply; install the client, sign in, then import locally before switching)",
3
3
  "\n\n仍要强制切换吗?强制切换会先关闭客户端再写入登录,重新打开客户端即为新账号。": "\n\nForce the switch anyway? Forcing closes the client first, then writes the login; reopen the client to use the new account.",
4
4
  "\n客户端会自动应用新会话;当前登录账号的最新 token 会先保存到 CreditDaddy。": "\nThe client will apply the new session automatically; the latest token of the currently signed-in account is saved to CreditDaddy first.",
5
5
  "\n需先退出 Mirasim;切换后重新打开即为新账号。当前登录会先保存到 CreditDaddy,不会丢号。": "\nNeed to quit Mirasim first; after switching, reopen it to use the new account. The current login is saved to CreditDaddy first, so no account is lost.",
@@ -173,6 +173,7 @@
173
173
  "(留空保持不变)": "(leave empty to keep unchanged)",
174
174
  "(留空保持不变)": "(leave empty to keep unchanged)",
175
175
  "(驱动降级:": "(driver fallback: ",
176
+ "bearer:过期跳过": "bearer:expired-skipped",
176
177
  "(驱动降级:": "(driver fallback: ",
177
178
  "(驱动降级:": "(driver fallback: ",
178
179
  "(输出里没有设备身份)": "(no device identity in the output)",
@@ -224,6 +225,7 @@
224
225
  "{label} 连接成功,开始流式输出 ({model})": "{label} connected, starting stream output ({model})",
225
226
  "{label} 领取「{plan}」失败:{err}": "{label} failed to claim 「{plan}」: {err}",
226
227
  "{label} 领取成功 +{amount} Credits": "{label} claimed +{amount} Credits",
228
+ "{label} 领取成功 +{amount} {unit}": "{label} claimed +{amount} {unit}",
227
229
  "{label} 领取失败:{err}": "{label} claim failed: {err}",
228
230
  "{label} 名额已领完,跳过直到 {until}(服务端计划结束点)": "{label} quota exhausted; skipping until {until} (server plan end time)",
229
231
  "{label} 凭据失效,拉黑": "{label}: credentials invalid, blocked",
@@ -248,7 +250,9 @@
248
250
  "{label}:{err}": "{label}: {err}",
249
251
  "{label}:{msg}": "{label}: {msg}",
250
252
  "{label}「{plan}」需要验证码,本环境无法自动通过,请在面板手动领取": "{label}「{plan}」requires captcha; cannot pass automatically here, please claim manually in the panel",
253
+ "{label}「{plan}」首轮验证码被拒,换新验证码重试": "{label}「{plan}」first captcha rejected, retrying with a fresh one",
251
254
  "{label}「{plan}」验证码未完成:{err}(可在面板手动领取)": "{label}「{plan}」captcha not completed: {err} (you can claim manually in the panel)",
255
+ "{label}「{plan}」验证码未完成:{err}(可在面板手动领取或到官方客户端领取)": "{label}「{plan}」captcha not completed: {err} (claim manually in the panel, or in the official ZCode client)",
252
256
  "{label}「{plan}」验证码未完成:{err}(可在面板手动领取)": "{label}「{plan}」captcha not completed: {err} (you can claim manually in the panel)",
253
257
  "{label}「{plan}」已领取过": "{label}「{plan}」already claimed",
254
258
  "{name} 浏览器探针未中(reason={reason}) head={head}": "{name} browser probe miss (reason={reason}) head={head}",
@@ -354,6 +358,11 @@
354
358
  "<span class=\"lbl\">额度体系</span><span class=\"val dim\">5h / 7d 滚动窗口</span>": "<span class=\"lbl\">Quota system</span><span class=\"val dim\">5h / 7d rolling window</span>",
355
359
  "<span class=\"lbl\">额度体系</span><span class=\"val dim\">Credits 余额 + 套餐版本</span>": "<span class=\"lbl\">Quota system</span><span class=\"val dim\">Credits balance + plan tier</span>",
356
360
  "<span class=\"lbl\">供应商连接</span><span class=\"val\">": "<span class=\"lbl\">Provider connections</span><span class=\"val\">",
361
+ "<span class=\"lbl\">已捕获站点</span><span class=\"val\">": "<span class=\"lbl\">Captured sites</span><span class=\"val\">",
362
+ "<span class=\"lbl\">会话总数</span><span class=\"val\">": "<span class=\"lbl\">Total sessions</span><span class=\"val\">",
363
+ "暂无签到站点": "No check-in site yet",
364
+ "<div class=\"prodcard\" draggable=\"true\" data-view=\"free\"><div class=\"prod-head\"><span class=\"prod-name\"><svg viewBox=\"0 0 24 24\" class=\"dot prod-mark-img\"><rect width=\"24\" height=\"24\" rx=\"5\" fill=\"#5B8DEF\"/><circle cx=\"9\" cy=\"14\" r=\"3.2\" fill=\"none\" stroke=\"#fff\" stroke-width=\"1.8\"/><path d=\"M11.5 11.5 L17 6 M13.5 6h3.5v3.5\" fill=\"none\" stroke=\"#fff\" stroke-width=\"1.8\" stroke-linecap=\"round\"/></svg>网页会话</span>": "<div class=\"prodcard\" draggable=\"true\" data-view=\"free\"><div class=\"prod-head\"><span class=\"prod-name\"><svg viewBox=\"0 0 24 24\" class=\"dot prod-mark-img\"><rect width=\"24\" height=\"24\" rx=\"5\" fill=\"#5B8DEF\"/><circle cx=\"9\" cy=\"14\" r=\"3.2\" fill=\"none\" stroke=\"#fff\" stroke-width=\"1.8\"/><path d=\"M11.5 11.5 L17 6 M13.5 6h3.5v3.5\" fill=\"none\" stroke=\"#fff\" stroke-width=\"1.8\" stroke-linecap=\"round\"/></svg>Web Sessions</span>",
365
+ " 个会话</span></span><span class=\"prod-go\">查看": " sessions</span></span><span class=\"prod-go\">View",
357
366
  "<span class=\"lbl\">国际版风控身份</span><span class=\"val": "<span class=\"lbl\">International risk-control identity</span><span class=\"val",
358
367
  "<span class=\"lbl\">活动领取</span><span class=\"val dim\">手动领取,或在标签页开自动轮询</span>": "<span class=\"lbl\">Activity claim</span><span class=\"val dim\">Claim manually, or enable auto-polling on the tab</span>",
359
368
  "<span class=\"lbl\">今日领取</span><span class=\"val\">": "<span class=\"lbl\">Claimed today</span><span class=\"val\">",
@@ -368,8 +377,6 @@
368
377
  "<span class=\"pill fail\" title=\"部分连接查询失败\">失败 ×": "<span class=\"pill fail\" title=\"Some connection queries failed\">Failed ×",
369
378
  "<span class=\"pill fail\">已达上限</span>": "<span class=\"pill fail\">Limit reached</span>",
370
379
  "<span class=\"pill fail\">token 无效</span>": "<span class=\"pill fail\">token invalid</span>",
371
- "<span class=\"pill gw\" title=\"本地接口最近一次补全用的账号(多账号时按轮换自动选择,与客户端登录无关)\">接口使用中</span>": "<span class=\"pill gw\" title=\"Account used for the last local endpoint fill (with multiple accounts, chosen by rotation; unrelated to client login)\">Endpoint in use</span>",
372
- "<span class=\"pill gw\" title=\"体验包接口最近一次补全用的账号(多账号时按轮换自动选择,与客户端登录无关)\">接口使用中</span>": "<span class=\"pill gw\" title=\"Account used for the last trial-pack endpoint fill (with multiple accounts, chosen by rotation; unrelated to client login)\">Endpoint in use</span>",
373
380
  "<span class=\"pill limited\">告急 ×": "<span class=\"pill limited\">Low ×",
374
381
  "<span class=\"pill limited\">告急</span>": "<span class=\"pill limited\">Low</span>",
375
382
  "<span class=\"pill ok\">已导入</span>": "<span class=\"pill ok\">Imported</span>",
@@ -435,8 +442,6 @@
435
442
  "备注名(可选)": "Label (optional)",
436
443
  "备注名(可选)": "Nickname (optional)",
437
444
  "本次登录凭据有效期至 ": "This login's credentials valid until ",
438
- "本地接口最近一次补全用的账号(多账号时按轮换自动选择,与客户端登录无关)": "Account used for the last local endpoint fill (with multiple accounts, chosen by rotation; unrelated to client login)",
439
- "本地接口最近一次补全用的账号(多账号时按轮换自动选择,与客户端登录无关)": "Account used for the last local endpoint fill (with multiple accounts, chosen by rotation; unrelated to client login)",
440
445
  "本环境没有验证码提供者(网关补全需要桌面版 CreditDaddy 运行)": "No captcha provider in this environment (gateway completions need the CreditDaddy desktop app running)",
441
446
  "本机 Trae 没有可读取的登录态(storage.json 缺失或解不开)": "No readable Trae session on this machine (storage.json missing or undecryptable)",
442
447
  "本机导入": "Import from this machine",
@@ -451,7 +456,7 @@
451
456
  "不符合领取条件": "Eligibility requirements not met",
452
457
  "不是 enc:v1 格式": "Not in enc:v1 format",
453
458
  "不是 Trae 的 Cloud-IDE-JWT token": "Not a Trae Cloud-IDE-JWT token",
454
- "不是 WorkBuddy / CodeBuddy 的登录 token": "Not a WorkBuddy / CodeBuddy login token",
459
+ "不是 WorkBuddy 的登录 token": "Not a WorkBuddy login token",
455
460
  "不是加密迁移文件": "Not an encrypted migration file",
456
461
  "不支持的登录类型:": "Unsupported login type: ",
457
462
  "部分连接查询失败": "Some connection queries failed",
@@ -482,6 +487,7 @@
482
487
  "代理优先(直连兜底)": "Proxy first (direct as fallback)",
483
488
  "代理优先(直连兜底)": "Proxy first (direct as fallback)",
484
489
  "待办 ": "To do ",
490
+ "部分领取": "Partially claimed",
485
491
  "待领取": "Pending claim",
486
492
  "单次运行时长(分钟,0 = 一直运行直到手动关闭)": "Run duration per session (minutes; 0 = run until manually stopped)",
487
493
  "单次运行时长(分钟,0 = 一直运行直到手动关闭)": "Run duration per session (minutes; 0 = run until manually stopped)",
@@ -610,9 +616,11 @@
610
616
  "还没有 Qoder 账号。<br>点「添加账号」可一键读取本机 Qoder / Qoder CN 客户端已登录的账号,或用浏览器登录。": "No Qoder accounts yet.<br>Click \"Add account\" to read the accounts signed in on the local Qoder / Qoder CN client in one step, or sign in via the browser.",
611
617
  "还没有 Qoder 账号。<br>点「添加账号」可一键读取本机 Qoder / Qoder CN 客户端已登录的账号,或用浏览器登录。": "No Qoder accounts yet.<br>Click \"Add account\" to read accounts signed in to the local Qoder / Qoder CN client in one click, or sign in via browser.",
612
618
  "还没有 Trae 账号。<br>点「添加账号 → 本机导入」可读取本机 Trae 客户端当前登录的账号(本地解密 storage.json 凭据,token 不出本机)。多个账号需先在 Trae 里分别登录并逐个导入。": "No Trae accounts yet.<br>Click \"Add account → Import from this machine\" to read the account currently signed in to the local Trae client (storage.json credentials decrypted locally; tokens never leave this machine). For multiple accounts, sign in to each one in Trae and import them one by one.",
613
- "还没有 WorkBuddy 账号。<br>点「添加账号」可读取本机 WorkBuddy 客户端(当前 + 历史会话),或用浏览器登录 WorkBuddy / CodeBuddy 账号。": "No WorkBuddy accounts yet.<br>Click \"Add account\" to read the local WorkBuddy client (current + past sessions), or sign in to a WorkBuddy / CodeBuddy account via the browser.",
614
- "还没有 WorkBuddy 账号。<br>点「添加账号」可读取本机 WorkBuddy 客户端(当前 + 历史会话),或用浏览器登录 WorkBuddy / CodeBuddy 账号。": "No WorkBuddy accounts yet.<br>Click \"Add account\" to read the local WorkBuddy client (current + past sessions), or sign in to a WorkBuddy / CodeBuddy account via the browser.",
615
- "还没有 WorkBuddy 账号。<br>点「添加账号」可读取本机 WorkBuddy 客户端(当前 + 历史会话),或用浏览器登录 WorkBuddy / CodeBuddy 账号。": "No WorkBuddy accounts yet.<br>Click \"Add account\" to read the local WorkBuddy client (current + past sessions), or sign in to WorkBuddy / CodeBuddy via browser.",
619
+ "还没有 Trae 账号。<br>点「添加账号 → 本机导入」可读取本机 Trae 客户端当前登录的账号(本地解密 storage.json 凭据,token 不出本机),或用「浏览器登录」走官方授权码流程直接添加(无需客户端)。多账号可混合两种方式逐个添加。": "No Trae accounts yet.<br>Click \"Add account → Local import\" to read accounts currently signed in to the local Trae client (decrypted from storage.json, token never leaves this machine), or use \"Browser sign-in\" to add via the official OAuth authorization-code flow (no client needed). Mix both methods to add multiple accounts.",
620
+ "WorkBuddy / ZCode / Trae 用浏览器登录的账号同样可以一键切换客户端。": "Accounts signed in via browser for WorkBuddy / ZCode / Trae can also be switched into clients with one click.",
621
+ "还没有 WorkBuddy 账号。<br>点「添加账号」可读取本机 WorkBuddy 客户端(当前 + 历史会话),或用浏览器登录 WorkBuddy 账号。": "No WorkBuddy accounts yet.<br>Click \"Add account\" to read the local WorkBuddy client (current + past sessions), or sign in to a WorkBuddy account via the browser.",
622
+ "还没有 WorkBuddy 账号。<br>点「添加账号」可读取本机 WorkBuddy 客户端(当前 + 历史会话),或用浏览器登录 WorkBuddy 账号。": "No WorkBuddy accounts yet.<br>Click \"Add account\" to read the local WorkBuddy client (current + past sessions), or sign in to a WorkBuddy account via the browser.",
623
+ "还没有 WorkBuddy 账号。<br>点「添加账号」可读取本机 WorkBuddy 客户端(当前 + 历史会话),或用浏览器登录 WorkBuddy 账号。": "No WorkBuddy accounts yet.<br>Click \"Add account\" to read the local WorkBuddy client (current + past sessions), or sign in to WorkBuddy via browser.",
616
624
  "还没有 ZCode 账号。<br>点「添加账号」可读取本机 ZCode 客户端已登录的账号,或用浏览器登录(BigModel / Z.ai),多个账号可一键切换。": "No ZCode accounts yet.<br>Click \"Add account\" to read the accounts signed in on the local ZCode client, or sign in via the browser (BigModel / Z.ai). Multiple accounts can be switched in one click.",
617
625
  "还没有 ZCode 账号。<br>点「添加账号」可读取本机 ZCode 客户端已登录的账号,或用浏览器登录(BigModel / Z.ai),多个账号可一键切换。": "No ZCode accounts yet.<br>Click \"Add account\" to read the accounts signed in on the local ZCode client, or sign in via the browser (BigModel / Z.ai). Multiple accounts can be switched in one click.",
618
626
  "还没有 ZCode 账号。<br>点「添加账号」可读取本机 ZCode 客户端已登录的账号,或用浏览器登录(BigModel / Z.ai),多个账号可一键切换。": "No ZCode accounts yet.<br>Click \"Add account\" to read accounts signed in to the local ZCode client, or sign in via browser (BigModel / Z.ai); multiple accounts can switch in one click.",
@@ -778,6 +786,7 @@
778
786
  "领取失败:{err}": "Claim failed: {err}",
779
787
  "领取完成": "Claim finished",
780
788
  "领取中...": "Claiming...",
789
+ "验证码被拒,换新验证码重试…": "Captcha rejected, retrying with a fresh one...",
781
790
  "领取中…": "Claiming...",
782
791
  "浏览器登录": "Browser login",
783
792
  "流式读取中断:{err}": "Stream read interrupted: {err}",
@@ -1008,8 +1017,6 @@
1008
1017
  "体验包接口:": "Trial-pack endpoint: ",
1009
1018
  "体验包接口:开关、局域网开放与 IP 白名单": "Trial-pack endpoint: toggle, LAN access and IP allowlist",
1010
1019
  "体验包接口:开关、局域网开放与 IP 白名单": "Trial-pack endpoint: toggle, LAN access and IP allowlist",
1011
- "体验包接口最近一次补全用的账号(多账号时按轮换自动选择,与客户端登录无关)": "Account used for the last trial-pack endpoint fill (with multiple accounts, chosen by rotation; unrelated to client login)",
1012
- "体验包接口最近一次补全用的账号(多账号时按轮换自动选择,与客户端登录无关)": "Account used for the last trial-pack endpoint fill (with multiple accounts, chosen by rotation; unrelated to client login)",
1013
1020
  "添加": "Add",
1014
1021
  "添加账号": "Add account",
1015
1022
  "添加账号 {name}({provider})": "Added account {name} ({provider})",
@@ -1472,15 +1479,13 @@
1472
1479
  "v{v} 已发布,点这里或从托盘菜单「检查更新…」下载安装。": "v{v} is out. Click here or use \"Check for updates…\" in the tray menu to download and install.",
1473
1480
  "v{v} 已在后台下载完成,退出 CreditDaddy 时自动安装(也可在托盘菜单里立即重启更新)。": "v{v} has been downloaded in the background and installs automatically when CreditDaddy exits (you can also restart now from the tray menu).",
1474
1481
  "Work 积分": "Work credits",
1475
- "WorkBuddy / CodeBuddy 登录 token(eyJ…,可在 CodeBuddyExtension 的 auth/*.info 中找到)": "WorkBuddy / CodeBuddy login token (eyJ..., found in auth/*.info under CodeBuddyExtension)",
1476
- "WorkBuddy / CodeBuddy 国际版": "WorkBuddy / CodeBuddy International",
1477
- "WorkBuddy / CodeBuddy 国内版": "WorkBuddy / CodeBuddy China",
1482
+ "WorkBuddy 登录 token(eyJ…,可在 CodeBuddyExtension 的 auth/*.info 中找到)": "WorkBuddy login token (eyJ..., found in auth/*.info under CodeBuddyExtension)",
1483
+ "WorkBuddy 国际版": "WorkBuddy International",
1484
+ "WorkBuddy 国内版": "WorkBuddy China",
1478
1485
  "WorkBuddy / ZCode 用浏览器登录的账号同样可以一键切换客户端。": "Accounts signed in via browser for WorkBuddy / ZCode can also switch clients with one click.",
1479
1486
  "WorkBuddy 当前登录": "WorkBuddy current session",
1480
1487
  "WorkBuddy 登录初始化失败:": "WorkBuddy login init failed: ",
1481
1488
  "WorkBuddy 返回的 token 无法识别(签发方不是 CodeBuddy / WorkBuddy)": "Unrecognized token from WorkBuddy (not issued by CodeBuddy / WorkBuddy)",
1482
- "WorkBuddy 国际版": "WorkBuddy International",
1483
- "WorkBuddy 国内版": "WorkBuddy China",
1484
1489
  "WorkBuddy 历史会话": "WorkBuddy past session",
1485
1490
  "WorkBuddy 凭据链已被服务端作废,等待重新登录": "WorkBuddy credential chain revoked by the server; waiting for a new sign-in",
1486
1491
  "WorkBuddy 凭据链已失效,将不再自动重试(重新登录或重新导入该账号后自动恢复)": "WorkBuddy credential chain is dead; auto-retry stopped (resumes automatically after a new sign-in or re-import)",
@@ -1764,7 +1769,6 @@
1764
1769
  "旧版聚合卡 minimax-free 已清理(推送改为按账号单卡)": "Legacy aggregate card minimax-free cleaned up (push now uses per-account cards)",
1765
1770
  "读取本机妙手(美团 CatPaw)客户端当前登录的账号(本地解密 %APPDATA%\\catpaw-moon\\catx-credential.json),token 不出本机。": "Reads the currently signed-in account of the local CatPaw (Meituan) client (decrypts %APPDATA%\\catpaw-moon\\catx-credential.json locally); the token never leaves this machine.",
1766
1771
  "读取本机 Trae 客户端当前登录的账号(本地解密 <客户端数据目录>\\User\\globalStorage\\storage.json 的 tc 信封),token 不出本机。": "Reads the currently signed-in account of the local Trae client (decrypts the tc envelope in <client data dir>\\User\\globalStorage\\storage.json locally); the token never leaves this machine.",
1767
- "检测到 Trae 国际版客户端(trae.ai)——CreditDaddy 的 Trae 线仅支持国内版(api.trae.cn),导入后额度与签到不可用": "Detected Trae international client (trae.ai) — CreditDaddy's Trae line supports the CN edition (api.trae.cn) only; quota and check-in will not work after import.",
1768
1772
  "✨ 新功能": "✨ New",
1769
1773
  "🐛 修复": "🐛 Fixed",
1770
1774
  "🔧 移除": "🔧 Removed",
@@ -1783,10 +1787,8 @@
1783
1787
  "把本机 Qoder / WorkBuddy 账号推为 10Router 上游连接。": "Push local Qoder / WorkBuddy accounts to 10Router as upstream connections.",
1784
1788
  "填 10Router 面板密码,走 OAuth 通道(带 refreshToken 自动续期);不填则按已保存的走": "Enter the 10Router admin password to use the OAuth channel (keeps refreshToken for auto-renewal); leave blank to use the saved one",
1785
1789
  "同步账号中…": "Syncing accounts…",
1786
- "<span class=\"pill gw\" title=\"体验包接口最近一次补全用的账号({n} 个 ZCode 账号按轮转分摊请求,每个请求换一个,与客户端登录无关)\">接口使用中</span>": "<span class=\"pill gw\" title=\"Pack API last used this account ({n} ZCode accounts share requests by rotation, one per request, independent of client login)\">In use by API</span>",
1787
- "<span class=\"pill gw\" title=\"体验包接口最近一次补全用的账号(多账号时按轮转自动选择,与客户端登录无关)\">接口使用中</span>": "<span class=\"pill gw\" title=\"Pack API last used this account (auto-selected by rotation with multiple accounts, independent of client login)\">In use by API</span>",
1788
- "<div class=\"z-row\"><span class=\"z-label\">客户端</span><span class=\"z-text\">本机未安装 WorkBuddy / CodeBuddy 客户端:Token 导入、额度读取与每日领取不受影响;但「切换账号」需要本机客户端(切换是写入客户端凭据由其应用)。请先安装并登录客户端,再「本机导入」。</span></div>": "<div class=\"z-row\"><span class=\"z-label\">Client</span><span class=\"z-text\">WorkBuddy / CodeBuddy client is not installed on this machine: token import, quota reading and daily claiming are unaffected, but account switching requires the local client (switching writes client credentials for it to apply). Install and sign in to the client first, then use local import.</span></div>",
1789
- "本机未安装 WorkBuddy / CodeBuddy 客户端,无法切换:切换是把登录写入客户端凭据,由客户端应用。请先安装客户端并登录,再「本机导入」。": "WorkBuddy / CodeBuddy client is not installed on this machine; cannot switch: switching writes the login into client credentials for the client to apply. Install and sign in to the client first, then use local import.",
1790
+ "<div class=\"z-row\"><span class=\"z-label\">客户端</span><span class=\"z-text\">本机未安装 WorkBuddy 客户端:Token 导入、额度读取与每日领取不受影响;但「切换账号」需要本机客户端(切换是写入客户端凭据由其应用)。请先安装并登录客户端,再「本机导入」。</span></div>": "<div class=\"z-row\"><span class=\"z-label\">Client</span><span class=\"z-text\">WorkBuddy client is not installed on this machine: token import, quota reading and daily claiming are unaffected, but account switching requires the local client (switching writes client credentials for it to apply). Install and sign in to the client first, then use local import.</span></div>",
1791
+ "本机未安装 WorkBuddy 客户端,无法切换:切换是把登录写入客户端凭据,由客户端应用。请先安装客户端并登录,再「本机导入」。": "WorkBuddy client is not installed on this machine; cannot switch: switching writes the login into client credentials for the client to apply. Install and sign in to the client first, then use local import.",
1790
1792
  "{label} 429 限流,冷却 {dur}(连续第 {streak} 次)": "{label} rate limited (429), cooling {dur} (consecutive #{streak})",
1791
1793
  "{label} 429 限流(事件流),冷却 {dur}(连续第 {streak} 次)": "{label} rate limited (429, event stream), cooling {dur} (consecutive #{streak})",
1792
1794
  "账号同步已关闭(账号管理弹窗可重新开启)": "Account sync is disabled (re-enable it in the Account Management dialog)",
@@ -1807,7 +1809,7 @@
1807
1809
  "无法打开 Loomy 客户端(桌面版才能自动拉起)": "Cannot open Loomy client (only the desktop app can relaunch it)",
1808
1810
  "填写邀请码(绑定后 +5000 永久积分,每号仅一次)": "Fill in invite code (binds +5,000 permanent points, once per account)",
1809
1811
  "为 {name} 填写邀请码": "Fill in invite code for {name}",
1810
- "输入邀请码,如 8YZCH5(绑定后 +5000 永久积分,每号仅一次)": "Enter invite code, e.g. 8YZCH5 (binds +5,000 permanent points, once per account)",
1812
+ "输入邀请码,如 AAYW9D(绑定后 +5000 永久积分,每号仅一次)": "Enter invite code, e.g. AAYW9D (binds +5,000 permanent points, once per account)",
1811
1813
  "绑定": "Bind",
1812
1814
  "邀请码已绑定:{code}": "Invite code bound: {code}",
1813
1815
  "邀请码已提交": "Invite code submitted",
@@ -1831,6 +1833,22 @@
1831
1833
  "Loomy 账号不存在": "Loomy account not found",
1832
1834
  "Loomy {name} 邀请码已绑定:{code}": "Loomy {name} invite code bound: {code}",
1833
1835
  "Loomy {name} 邀请码绑定失败:{err}": "Loomy {name} invite code bind failed: {err}",
1836
+ "Loomy {name} 邀请码查询失败:{err}": "Loomy {name} invite code query failed: {err}",
1837
+ "我的邀请码": "My invite codes",
1838
+ "好友用邀请码注册并登录后,双方各得 +5000 永久积分(每个邀请码名额有限,用完即止)。": "When a friend registers and signs in with your invite code, both of you earn +5000 permanent points (each code has a limited quota, first come first served).",
1839
+ "<button class=\"icon-btn\" data-act=\"my-invite\" title=\"我的邀请码(查看本账号的专属邀请码与使用进度,复制分享)\">": "<button class=\"icon-btn\" data-act=\"my-invite\" title=\"My invite codes (view this account's专属 invite codes and usage, copy to share)\">",
1840
+ "正在查询 {name} 的邀请码…": "Fetching {name}'s invite codes…",
1841
+ "首次查询已初始化积分档案,以下是 {name} 的邀请码:": "First query initialized the points profile; here are {name}'s invite codes:",
1842
+ "{name} 的邀请码({n} 个):": "{name}'s invite codes ({n}):",
1843
+ "该账号还没有可分享的邀请码(新账号需先产生积分记录后再试)": "This account has no shareable invite codes yet (new accounts need a points record first — try again later)",
1844
+ "快来认识我的工作好搭子 Loomy,比龙虾🦞更易上手、更好用!快去 https://loomy.xunfei.cn/download 下载安装,输入我的专属邀请码 {code} 即可开启体验~": "Meet my work buddy Loomy — easier and better to use than a lobster🦞! Download at https://loomy.xunfei.cn/download and enter my invite code {code} to get started~",
1845
+ "复制失败,请手动复制": "Copy failed — please copy manually",
1846
+ "{used}/{limit} 名额": "{used}/{limit} slots",
1847
+ "(已用完)": " (used up)",
1848
+ "复制邀请码": "Copy code",
1849
+ "复制分享文案": "Copy share text",
1850
+ "分享文案已复制": "Share text copied",
1851
+ "邀请码已复制:{code}": "Invite code copied: {code}",
1834
1852
  "ZCode {name} 领取隐藏活动成功:{plan}": "ZCode {name} claimed hidden activity: {plan}",
1835
1853
  "同步 Loomy 当前登录失败:{err}": "Failed to sync current Loomy login: {err}",
1836
1854
  "Loomy 当前已是 {name}": "Loomy is already on {name}",
@@ -1882,7 +1900,7 @@
1882
1900
  "无法切换账号:目标账号为 WorkBuddy 5.6+ 加密凭据,但未能获取客户端解密密钥": "Cannot switch account: the target account uses WorkBuddy 5.6+ encrypted credentials, but the client decryption key could not be obtained",
1883
1901
  "狂野派": "Brutalist",
1884
1902
  "狂野派:奶油纸底 + 硬黑描边 + 硬投影(Neo-Brutalism)": "Brutalist: cream paper base + hard black outlines + hard shadows (Neo-Brutalism)",
1885
- "WorkBuddy / CodeBuddy": "WorkBuddy / CodeBuddy",
1903
+ "WorkBuddy": "WorkBuddy",
1886
1904
  "CodeBuddy IDE 存储": "CodeBuddy IDE Storage",
1887
1905
  "IDE 当前": "IDE Active",
1888
1906
  "切换 CodeBuddy IDE 到此账号": "Switch CodeBuddy IDE to this account",
@@ -1909,5 +1927,76 @@
1909
1927
  "切换目标": "Switch Target",
1910
1928
  "切换到哪个端?": "Select Target Client",
1911
1929
  "CodeBuddy IDE": "CodeBuddy IDE",
1912
- "WorkBuddy 客户端": "WorkBuddy Client"
1930
+ "WorkBuddy 客户端": "WorkBuddy Client",
1931
+ "MiniMax 国内版": "MiniMax China",
1932
+ "MiniMax 国际版": "MiniMax International",
1933
+ "WPS 灵犀": "WPS Lingxi",
1934
+ "登录 lingxi.kdocs.cn 后自动抓取每日签到状态与灵点余额(每天 100 灵点,七天一轮第七天 200);CD 每日自动签到 + 推送 10Router 出余额卡,Cookie 只存本机(约 300+ 天有效期)。": "After signing in to lingxi.kdocs.cn, CreditDaddy reads the daily check-in status and Lingxi credit balance automatically (100 credits/day, 7-day cycle with 200 on day 7); daily auto check-in + balance card pushed to 10Router. Cookies stay on this machine (~300+ day validity).",
1935
+ "灵犀会话已失效,请重新登录捕获": "Lingxi session expired; please sign in and capture again",
1936
+ "{name} 就地重探通过(签到{signed},灵点 {balance})": "{name} re-probe passed (check-in {signed}, {balance} credits)",
1937
+ "灵点": "Lingxi credits",
1938
+ "未读到 WPS 灵犀登录会话,请在登录窗完成登录后再关闭": "No WPS Lingxi login session found; please finish signing in before closing the window",
1939
+ "{name} 任务列表探测被拒:{code}": "{name} task-list probe rejected: {code}",
1940
+ "{name} 探测通过(签到{signed},灵点 {balance})": "{name} probe passed (check-in {signed}, {balance} credits)",
1941
+ "{name} 任务列表抓取异常:{err}": "{name} task-list fetch error: {err}",
1942
+ "MiniMax 国际版当前登录": "MiniMax International current login",
1943
+ "会话已失效": "Session expired",
1944
+ "灵犀会话缺失,请在「网页会话」页重新登录捕获": "Lingxi session missing; please sign in again on the Web Sessions page",
1945
+ "灵犀签到查询失败:{err}": "Lingxi check-in query failed: {err}",
1946
+ "灵犀会话已失效,请到「网页会话」页重新登录捕获": "Lingxi session expired; please sign in again on the Web Sessions page",
1947
+ "今日已签到(+{n} 灵点)": "Already checked in today (+{n} credits)",
1948
+ "灵犀签到失败:HTTP {n} {msg}": "Lingxi check-in failed: HTTP {n} {msg}",
1949
+ "灵犀签到被拒:{msg}": "Lingxi check-in rejected: {msg}",
1950
+ "灵犀签到失败:{err}": "Lingxi check-in failed: {err}",
1951
+ "灵犀签到成功": "Lingxi check-in succeeded",
1952
+ "签到成功(+{n} 灵点)": "Checked in (+{n} credits)",
1953
+ "立即签到(已签自动跳过,不会重复提交)": "Check in now (auto-skips if already claimed, never double-submits)",
1954
+ "灵犀会话缺失,请重新登录捕获": "Lingxi session missing; please sign in and capture again",
1955
+ "灵点余额": "Lingxi credit balance",
1956
+ "灵犀会话已失效,请在 CreditDaddy「网页会话」页重新登录捕获": "Lingxi session expired; please sign in again on the CreditDaddy Web Sessions page",
1957
+ "灵点余额暂不可查(会话失效请重新登录捕获,或官方接口异常稍后自动重试)": "Lingxi credit balance temporarily unavailable (re-capture if the session expired, or retry later if the upstream is failing)",
1958
+ "没有可同步的账号(qoder / WorkBuddy / MiniMax / Loomy / Trae 系列);zcode 待反代就绪后支持": "No syncable accounts (Qoder / WorkBuddy / MiniMax / Loomy / Trae lines); zcode once its reverse proxy is ready",
1959
+ "还没有 WPS 灵犀账号。<br>到 lingxi.kdocs.cn 登录(WPS 账号)后在「网页会话」页捕获会话,或点「添加账号 → 网页登录」。CD 每日自动签到(+100 灵点,七天一轮第七天 200)并同步余额到 10Router。": "No WPS Lingxi accounts yet.<br>Sign in at lingxi.kdocs.cn (WPS account), then capture the session on the Web Sessions page, or click \"Add account → Web sign-in\". CreditDaddy checks in daily (+100 credits, 7-day cycle with 200 on day 7) and syncs the balance to 10Router.",
1960
+ "智点余额": "Zhi credits balance",
1961
+ "{name} 就地重探通过({identity},签到{signed},灵点 {balance})": "{name} re-probe passed ({identity}, check-in {signed}, credits {balance})",
1962
+ "{name} 探测通过({identity},签到{signed},灵点 {balance})": "{name} probe passed ({identity}, check-in {signed}, credits {balance})",
1963
+ "无 uid": "no uid",
1964
+ "无 uid(单例)": "no uid (singleton)",
1965
+ "登录 lingxi.kdocs.cn 后自动抓取每日签到状态与灵点余额(每天 100 灵点,七天一轮第七天 200);CD 每日自动签到 + 推送 10Router 出余额卡,Cookie 只存本机(约 300+ 天有效期)。多号:各号走「网页版 / 粘贴捕获」分别登录捕获,按 WPS 账号 uid 分行并存;同一登录分区换号前先「清除已存会话」。": "Sign in at lingxi.kdocs.cn and CreditDaddy auto-captures the daily check-in state and credit balance (100 credits/day, 7-day cycle with 200 on day 7); CD checks in daily and pushes a balance card to 10Router. Cookies stay on this machine (~300+ day lifetime). Multiple accounts: sign in and capture each account via \"Web sign-in\" / \"Paste capture\" — rows are keyed by WPS account uid and coexist; before switching accounts in the same sign-in partition, use \"Clear saved session\" first.",
1966
+ "活动赠送包": "Promo grant pack",
1967
+ "智点包": "Zhi credits pack",
1968
+ " 个资源包 · 至 ": " pack(s) · expires ",
1969
+ "智点余额 ": "Zhi credits ",
1970
+ "Trae 国内版": "Trae (China)",
1971
+ "Trae 国际版": "Trae International",
1972
+ "检测到 Trae 国际版客户端(trae.ai)——国际账号可导入并同步 10Router,但额度与签到无 API 口径(Dollar Usage 只在官网 Usage 页可见)": "Detected Trae International client (trae.ai) — international accounts can be imported and synced to 10Router, but quota and check-in have no API surface (Dollar Usage is only visible on the official Usage page)",
1973
+ "当前安装的 MiniMax Code 是国际版构建(更新源 minimax.io),国内版账号在该客户端里无法登录——请到国内站安装中文版客户端(覆盖安装即可,两套凭据互不干扰)": "The installed MiniMax Code is the International build (update source minimax.io); China-edition accounts cannot sign in through this client — install the Chinese client from the China site (overwrite install is fine; the two credential sets do not interfere)",
1974
+ "当前安装的 MiniMax Code 是国内版构建(更新源 minimax.chat),国际版账号在该客户端里无法登录——请到国际站 agent.minimax.io 安装英文版客户端(覆盖安装即可,两套凭据互不干扰)": "The installed MiniMax Code is the China build (update source minimax.chat); International accounts cannot sign in through this client — install the English client from the International site agent.minimax.io (overwrite install is fine; the two credential sets do not interfere)",
1975
+ "Trae 国际线无每日签到(Dollar Usage 走官网 Usage 页,无 API 口径)": "Trae International has no daily check-in (Dollar Usage lives on the official Usage page; no API surface)",
1976
+ "Trae 国际线额度无 API 口径(Dollar Usage 只在 trae.ai 官网 Usage 页可见),不影响登录与 10Router 同步": "Trae International quota has no API surface (Dollar Usage is only visible on the trae.ai official Usage page); sign-in and 10Router sync are unaffected",
1977
+ "<span class=\"pill gw\" title=\"体验包接口最近 30 分钟内服役过的账号({n} 个 ZCode 账号按轮转分摊请求,每个请求换一个,与客户端登录无关)\">接口使用中</span>": "Account that served the pack API in the last 30 minutes ({n} ZCode accounts share requests by rotation, one per request, independent of client login)",
1978
+ "<span class=\"pill gw\" title=\"体验包接口最近 30 分钟内服役过的账号(多账号时按轮转自动选择,与客户端登录无关)\">接口使用中</span>": "Account that served the pack API in the last 30 minutes (auto-selected by rotation with multiple accounts, independent of client login)",
1979
+ "<span class=\"pill gw\" title=\"本地接口最近 30 分钟内服役过的账号(多账号时按轮转自动选择,与客户端登录无关)\">接口使用中</span>": "Account that served the local API in the last 30 minutes (auto-selected by rotation with multiple accounts, independent of client login)",
1980
+ "Qoder 客户端运行中,点我唤到前台": "Qoder client is running — click to bring to front",
1981
+ "Qoder 客户端未运行,点我启动": "Qoder client is not running — click to start",
1982
+ "本机同时装了 Trae 国内版与国际版,要打开哪一个?": "Both Trae CN and Trae International are installed. Which one to open?",
1983
+ "本机同时装了 Qoder 国内版与国际版,要打开哪一个?": "Both Qoder CN and Qoder International are installed. Which one to open?",
1984
+ "已启动 Qoder 客户端": "Started Qoder client",
1985
+ "无法打开 Qoder 客户端": "Could not open Qoder client",
1986
+ "未检测到本机客户端": "No local client detected",
1987
+ "未找到 Trae 国内版客户端": "Trae CN client not found",
1988
+ "未找到 Trae 国际版客户端": "Trae International client not found",
1989
+ "未找到 Qoder 国内版客户端": "Qoder CN client not found",
1990
+ "未找到 Qoder 国际版客户端": "Qoder International client not found",
1991
+ "Trae 换票失败:": "Trae token exchange failed: ",
1992
+ "<!doctype html><meta charset=\"utf-8\"><title>Trae 登录</title>": "<!doctype html><meta charset=\"utf-8\"><title>Trae Sign-in</title>",
1993
+ "<p>授权成功,回到 CreditDaddy 面板即可(此页可以关掉)。</p></div></body>": "<p>Authorized. You can return to the CreditDaddy panel (this page can be closed).</p></div></body>",
1994
+ "暂只支持 Trae 国内站登录(国际线待接)": "Only Trae CN sign-in is supported for now (international line pending)",
1995
+ "Trae 登录会话不存在或已超时,请重新发起": "Trae sign-in session not found or expired — please start again",
1996
+ "Trae 授权超时(5 分钟未完成),请重新发起": "Trae authorization timed out (5 minutes elapsed) — please start again",
1997
+ "回调 loginTraceID 与本次登录不匹配(CSRF 防护),请重新发起": "Callback loginTraceID does not match this sign-in (CSRF protection) — please start again",
1998
+ "回调里的 AuthCode 已过期,请重新发起": "The AuthCode in the callback has expired — please start again",
1999
+ "回调里没有 AuthCode(授权页协议可能又变了),请重新发起或更新 CreditDaddy": "No AuthCode in the callback (the authorize-page protocol may have changed again) — please start again or update CreditDaddy",
2000
+ "MiniMax Code 国内版": "MiniMax Code (CN)",
2001
+ "MiniMax Code 国际版": "MiniMax Code (International)"
1913
2002
  }