dsh-mobile-plugin 0.5.122 → 0.5.124

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.
@@ -1,3 +1,4 @@
1
+ // 2026-11-26:挂画像 / 学习开关五条路由,采集与归纳实现在 mobile/device-profile.js;不扩能力面。
1
2
  // 本次改动:隧道暂不可用沿用 tunnel-unavailable 码,中文文案仅作日志与老客户端兜底。
2
3
  // 2026-11-23:心跳里的服务商线路改走 provider-lines,与配对二维码 / 总控同源。
3
4
  // 公开健康响应保留服务与实例身份、API 代号,不公开精确插件版本。
@@ -51,6 +52,8 @@ const stats = require('../mobile/stats.js');
51
52
  const agentPresets = require('../mobile/agent-presets.js');
52
53
  const stream = require('../mobile/stream.js');
53
54
  const events = require('../mobile/events.js');
55
+ // 本机画像:采集 / 归纳 / 开关落盘都在 mobile/device-profile.js,本文件只接线成五条路由。
56
+ const deviceProfile = require('../mobile/device-profile.js');
54
57
  const questions = require('../mobile/questions.js');
55
58
  const approvals = require('../mobile/approvals.js');
56
59
  const workspaces = require('../mobile/workspaces.js');
@@ -197,6 +200,79 @@ const withTraffic = (handler) => {
197
200
  return wrapped
198
201
  }
199
202
 
203
+ /**
204
+ * 没落盘时回的画像空壳:结构对齐契约的 Profile,`workspaces` / `recentTitles` 必须是数组、
205
+ * `revision` 必须是空串(App 据此知道「电脑还没有画像」,不去读旧缓存)。
206
+ */
207
+ const EMPTY_PROFILE = Object.freeze({
208
+ name: '',
209
+ platform: '',
210
+ workspaces: [],
211
+ recentTitles: [],
212
+ note: '',
213
+ updatedAt: 0,
214
+ revision: '',
215
+ });
216
+
217
+ const profileOrEmpty = () => deviceProfile.load() || EMPTY_PROFILE;
218
+
219
+ /** GET /device-profile:只读当前画像,不触发采集。 */
220
+ async function handleDeviceProfile(_ctx, _req, res) {
221
+ sendJson(res, 200, { ok: true, profile: profileOrEmpty() });
222
+ }
223
+
224
+ /** POST /device-profile/refresh:先试一次节流内的重算,再回当前画像。 */
225
+ async function handleDeviceProfileRefresh(ctx, _req, res) {
226
+ // 重算失败照旧回已有画像:这条是「给 App 一份最新快照」,不该因为一次采集失败变 500。
227
+ try { await deviceProfile.refreshIfChanged(ctx); } catch { /* 如实回当前画像 */ }
228
+ sendJson(res, 200, { ok: true, profile: profileOrEmpty() });
229
+ }
230
+
231
+ /**
232
+ * POST /device-profile/study body { channelId?, model? }:归纳交给 A 块(电脑代问模型,
233
+ * key 不出电脑)。成功把 note 并进画像、重算 revision 落盘后回最新画像;失败只回错误码。
234
+ */
235
+ async function handleDeviceProfileStudy(ctx, req, res) {
236
+ const body = (await readJsonBody(req, 16 * 1024)) || {};
237
+ let result;
238
+ try {
239
+ result = await deviceProfile.summarize(ctx, {
240
+ channelId: typeof body.channelId === 'string' ? body.channelId : undefined,
241
+ model: typeof body.model === 'string' ? body.model : undefined,
242
+ });
243
+ } catch {
244
+ result = { ok: false, errorCode: 'summary-failed' };
245
+ }
246
+ if (!result || !result.ok) {
247
+ sendJson(res, 200, { ok: false, error: { code: (result && result.errorCode) || 'summary-failed' } });
248
+ return;
249
+ }
250
+ const profile = {
251
+ ...profileOrEmpty(),
252
+ note: typeof result.note === 'string' ? result.note : '',
253
+ updatedAt: Date.now(),
254
+ };
255
+ profile.revision = deviceProfile.makeRevision(profile);
256
+ await deviceProfile.save(profile);
257
+ sendJson(res, 200, { ok: true, profile });
258
+ }
259
+
260
+ /**
261
+ * GET 读开关;POST 按 body 里出现的布尔项局部更新后回最终值。
262
+ * 宿主注册器不按方法分派,所以两条收在同一路径上由 req.method 分派(同 /relay/config)。
263
+ */
264
+ async function handleLearningSwitches(_ctx, req, res) {
265
+ if (req && req.method === 'POST') {
266
+ const body = (await readJsonBody(req, 16 * 1024)) || {};
267
+ const next = {};
268
+ if (typeof body.passiveEnabled === 'boolean') next.passiveEnabled = body.passiveEnabled;
269
+ if (typeof body.modelEnabled === 'boolean') next.modelEnabled = body.modelEnabled;
270
+ await deviceProfile.setSwitches(next);
271
+ }
272
+ const switches = deviceProfile.getSwitches() || {};
273
+ sendJson(res, 200, { ok: true, passiveEnabled: switches.passiveEnabled, modelEnabled: switches.modelEnabled });
274
+ }
275
+
200
276
  function registerMobileRoutes(deps) {
201
277
  const { registerRoute: registerRouteRaw, registerUpgradeRoute: registerUpgradeRouteRaw, tailcat, p2p, guarded, state, getControl, hostMetadata, getSidecarSnapshot, safeLanCandidates, safeIpv6Candidates, lanPortInUse, mux = { handleUpgrade: () => {} }, preview, core, pairingApproval, rotatePairing, getHistoryKey, credentials, dropDeviceStreams } = deps;
202
278
  /**
@@ -939,6 +1015,16 @@ function registerMobileRoutes(deps) {
939
1015
  // 与「自动清理」同一个位置:都是这台电脑自己的偏好,跟会话无关。
940
1016
  route('/api/mobile/v1/narration', narration.handleNarration)
941
1017
 
1018
+ // 本机画像与学习开关(契约 B 块;实现见 mobile/device-profile.js):画像每实例一份、
1019
+ // 落 dshHome,学习层改为从电脑读;归纳由电脑代问模型,手机不直连模型 / 不花自己额度。
1020
+ // 五个端点:GET /device-profile、POST /device-profile/refresh、POST /device-profile/study、
1021
+ // GET/POST /learning-switches(同路径按 method 分派)。全走 route() 即包 guarded。
1022
+ // 三条 POST 套 postOnly:注册器不分方法,不挡的话 GET 带查询串也能触发重算 / 归纳。
1023
+ route('/api/mobile/v1/device-profile', handleDeviceProfile)
1024
+ route('/api/mobile/v1/device-profile/refresh', postOnly(handleDeviceProfileRefresh))
1025
+ route('/api/mobile/v1/device-profile/study', postOnly(handleDeviceProfileStudy))
1026
+ route('/api/mobile/v1/learning-switches', handleLearningSwitches)
1027
+
942
1028
  // 电脑上的 DSH 网页版(见 mobile/host-web.js):App 的内置浏览器要直接用它,而那个页面
943
1029
  // 只绑在宿主自己的环回端口上、且要一枚一次性登录令牌。令牌是凭据,所以这条**必须**
944
1030
  // 包 guarded(不是 PUBLIC_ROUTES)——只有已配对设备才拿得到。
@@ -1,3 +1,4 @@
1
+ // 2026-11-26:体检发现旧隧道落点端口没人监听就判失效(只改本机状态,不删不建云端隧道),交接线层清地址让兜底顶上。
1
2
  // 2026-11-25:CLI status 的 connected 也认作在跑,兼容新版客户端字段,别把活线路抖成掉线重连。
2
3
  // 2026-11-25:端口失配带上可识别的 reason,让接线层清掉旧地址(配对码不再带失效线路)。
3
4
  // 2026-11-25:running 认守护进程而非早退出的启动进程;连上后可由接线层定时体检判活。
@@ -21,6 +22,7 @@
21
22
  */
22
23
 
23
24
  const { spawn, execFile } = require('node:child_process');
25
+ const net = require('node:net');
24
26
  const path = require('node:path');
25
27
 
26
28
  const { loginErrorHint, friendlyAuthError } = require('./login-error.cjs');
@@ -49,6 +51,23 @@ function defaultRun(binary, args, opts = {}) {
49
51
  });
50
52
  }
51
53
 
54
+ /**
55
+ * 落点探活:连一下隧道指向的本机端口,连得上才算有人监听。只判「有没有监听」,不认协议——
56
+ * 端口上跑着别的服务也当作还通,不在这里替用户判断那是不是他的服务。
57
+ */
58
+ function defaultProbePort(port) {
59
+ return new Promise((resolve) => {
60
+ const socket = new net.Socket();
61
+ let done = false;
62
+ const finish = (ok) => { if (!done) { done = true; socket.destroy(); resolve(ok); } };
63
+ socket.setTimeout(1200);
64
+ socket.once('connect', () => finish(true));
65
+ socket.once('timeout', () => finish(false));
66
+ socket.once('error', () => finish(false));
67
+ try { socket.connect(port, '127.0.0.1'); } catch { finish(false); }
68
+ });
69
+ }
70
+
52
71
  /**
53
72
  * 一条隧道条目指向的本机端口:本地 API 常平铺 `local_port`,账号侧那份是
54
73
  * `route_rules[].forward_rules[].load_balance_policy.backend_endpoints[].local_port`(见 account.cjs)。
@@ -140,6 +159,7 @@ function terminalError(message, reason) {
140
159
  * @param {object} [options.spawnImpl] spawn 注入
141
160
  * @param {(url:string, init:object)=>Promise<any>} [options.fetchImpl] 本地 API fetch 注入
142
161
  * @param {(bin:string,args:string[],opts:object)=>Promise<{code:number,stdout:string,stderr:string}>} [options.runImpl] 一次性命令注入
162
+ * @param {(port:number)=>Promise<boolean>} [options.probePort] 隧道落点端口有没有人监听(体检用,测试注入)
143
163
  * @param {string} [options.base] 本地 API 根
144
164
  */
145
165
  function createZeroNewsRunner(options = {}) {
@@ -149,6 +169,7 @@ function createZeroNewsRunner(options = {}) {
149
169
  const doFetch = typeof options.fetchImpl === 'function' ? options.fetchImpl
150
170
  : (typeof globalThis.fetch === 'function' ? globalThis.fetch : null);
151
171
  const runImpl = typeof options.runImpl === 'function' ? options.runImpl : defaultRun;
172
+ const probePort = typeof options.probePort === 'function' ? options.probePort : defaultProbePort;
152
173
  const base = String(options.base || DEFAULT_BASE).replace(/\/+$/, '');
153
174
  const sleep = typeof options.sleepImpl === 'function' ? options.sleepImpl : (ms) => new Promise((r) => setTimeout(r, ms));
154
175
 
@@ -467,7 +488,26 @@ function createZeroNewsRunner(options = {}) {
467
488
  const st = await cliStatus();
468
489
  if (gen !== generation || phase !== 'connected' || !st) return;
469
490
  daemonRunning = st.running === true;
470
- if (daemonRunning) return;
491
+ if (daemonRunning) {
492
+ // CLI 说守护进程在跑、云端也还留着这条隧道,但它指向的本机端口可能已经没人监听
493
+ // (老隧道落在旧端口上):手机拨过去照样连不上。探一下落点,没监听就判失效。
494
+ // 只改本机这份状态:不删云端隧道、不重建(官方 CLI 没公开删除参数,删错不可回滚)。
495
+ const port = tunnelLocalPort;
496
+ if (port > 0) {
497
+ let listening = true;
498
+ try { listening = await probePort(port); } catch { /* 探活本身失败当不知道,别抖掉还能用的线路 */ }
499
+ if (gen !== generation || phase !== 'connected') return;
500
+ if (!listening) {
501
+ attached = false;
502
+ url = '';
503
+ phase = 'error';
504
+ error = `旧隧道指向的本机端口 ${port} 没有服务监听,请在控制台删除旧隧道后重新接入`;
505
+ errorReason = 'port-dead';
506
+ retryable = false;
507
+ }
508
+ }
509
+ return;
510
+ }
471
511
  attached = false;
472
512
  url = '';
473
513
  phase = 'error';
@@ -1,3 +1,5 @@
1
+ // 2026-11-26:运行中才点连接时补挂体检定时器,否则客户端静默退出没人发现、线路卡在假连接。
2
+ // 2026-11-26:体检发现旧隧道落点端口没监听就清掉失效地址(notify:false)并通知兜底重新判定;不自动删/建云端隧道。
1
3
  // 2026-11-25:端口失配时清掉状态里的旧地址,配对码 / 心跳 / 总控都不再带失效线路。
2
4
  // 2026-11-25:连上后定时体检守护进程,发现进程没了自动走自愈重连。
3
5
  // 2026-11-24:首次接入先开代理商邀请链接埋归属 cookie,让新注册用户无感归到代理商名下。
@@ -123,9 +125,12 @@ const facade = {
123
125
  purge: () => (readCurrent() ? readCurrent().purge() : Promise.resolve({ ok: false, error: '这台宿主没有接入 ZeroNews 线路能力' })),
124
126
  };
125
127
 
126
- /** @param {{mount:Function, settings:object, getState:Function, control:object, warn:Function, ctx:object, name:string, portOf?:Function, runnerFactory?:Function, ensure?:Function, accountFactory?:Function, loginFlow?:Function, loginClient?:string, openUrl?:Function}} options */
128
+ /** @param {{mount:Function, settings:object, getState:Function, control:object, warn:Function, ctx:object, name:string, portOf?:Function, runnerFactory?:Function, ensure?:Function, accountFactory?:Function, loginFlow?:Function, loginClient?:string, openUrl?:Function, onRouteStale?:Function}} options */
127
129
  function mountZeroNews(options) {
128
130
  const { mount, settings, getState, control, warn, ctx, name } = options;
131
+ // 落点失效清掉地址后要显式叫一次兜底重判:notify:false 不走 settings.watch,那边的
132
+ // reconcile 不会自己跑。装配层把它接到 Cloudflare 的 reconcile。
133
+ const onRouteStale = typeof options.onRouteStale === 'function' ? options.onRouteStale : null;
129
134
  const makeRunner = typeof options.runnerFactory === 'function' ? options.runnerFactory : createZeroNewsRunner;
130
135
  const provision = typeof options.ensure === 'function' ? options.ensure : ensureZeroNews;
131
136
  const purgeImpl = typeof options.purgeLocal === 'function' ? options.purgeLocal : purgeZeroNews;
@@ -170,8 +175,22 @@ function mountZeroNews(options) {
170
175
  healthTimer = setTimeout(() => {
171
176
  healthTimer = null;
172
177
  if (!isConfigured()) return;
173
- void runner.checkAlive().catch(() => {});
174
- startHealth();
178
+ void runner.checkAlive().then((result) => {
179
+ // 落点端口没人监听:这条旧隧道名义上连着、实际拨不通。清掉地址,让
180
+ // hasOtherRoute 不再把它算作可用线路,再通知兜底起一条能用的顶上。
181
+ // notify:false 沿用既有约定:只落盘改内存,不走 watch → control.sync(),
182
+ // 免得「configured 就自动重连」那条 mount effect 被同一份状态变更反复叫醒。
183
+ if (result && result.phase === 'error' && result.errorReason === 'port-dead') {
184
+ clearHealth();
185
+ if (getState().zeroNewsUrl) {
186
+ void settings.update({ zeroNewsUrl: '' }, { notify: false })
187
+ .then(() => { if (onRouteStale) onRouteStale(); })
188
+ .catch((error) => warn('清掉失效的 ZeroNews 旧地址失败:%s', error && error.message ? error.message : error));
189
+ } else if (onRouteStale) onRouteStale();
190
+ return;
191
+ }
192
+ startHealth();
193
+ }).catch(() => { startHealth(); });
175
194
  }, healthCheckMs);
176
195
  if (healthTimer && typeof healthTimer.unref === 'function') healthTimer.unref();
177
196
  };
@@ -228,7 +247,9 @@ function mountZeroNews(options) {
228
247
  }
229
248
  // 连上就把退避重置;还停在错误上就安排下一轮自愈,实现自动更新 / 重载后自己恢复。
230
249
  // 但配额满 / 被拒 / token 冲突这类确定性错误重试也没用,不排(retryable=false),免得无限空转。
231
- if (result && result.phase === 'connected') retryMs = retryBaseMs;
250
+ // 挂载 effect 那会儿若还没配置过,体检定时器根本没开;运行中才点连接时在这里补挂,
251
+ // 否则客户端静默退出没人发现,状态一直显示已连接、手机拿到的却是死线路。
252
+ if (result && result.phase === 'connected') { retryMs = retryBaseMs; startHealth(); }
232
253
  else if (result && result.phase === 'error' && result.retryable !== false) scheduleRetry();
233
254
  return statusOf();
234
255
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-mobile-plugin",
3
- "version": "0.5.122",
3
+ "version": "0.5.124",
4
4
  "description": "Mobile API (/api/mobile/v1) and relay client for the DSH mobile app — desktop profile build (dsh 0.2.x, peers resolved by the host)",
5
5
  "license": "MIT",
6
6
  "icon": "./icon.png",
@@ -117,23 +117,24 @@
117
117
  "yaml": "2.9.1"
118
118
  },
119
119
  "dshMobileReleaseNotes": {
120
- "version": "0.5.122",
120
+ "version": "0.5.124",
121
121
  "kinds": [
122
+ "fix",
122
123
  "feature",
123
- "fix"
124
+ "other"
124
125
  ],
125
126
  "notes": {
126
- "zh-Hans": "- 远程桌面窗口(Mac/Windows)现在支持 ⌘N、⌘B、⌘K 等桌面快捷键,改过的键位按本机保存,页面排版不变。\n- 修复新版宿主下远程电脑取不到启动令牌、被误判为「对方电脑暂时不可用」的问题,连接更稳。",
127
- "zh-Hant": "- 遠端桌面視窗(Mac/Windows)現在支援 ⌘N、⌘B、⌘K 等桌面快捷鍵,改過的鍵位按本機儲存,頁面排版不變。\n- 修正新版宿主下遠端電腦取不到啟動令牌、被誤判為「對方電腦暫時不可用」的問題,連線更穩。",
128
- "en": "- Remote desktop windows on Mac and Windows now support desktop shortcuts such as Cmd-N, Cmd-B and Cmd-K; your custom key bindings are saved on the local machine and the page layout is unchanged.\n- Fixed an issue where newer hosts could leave a remote computer without its launch token, causing a false \"computer temporarily unavailable\" message. Connections are now more reliable.",
129
- "ja": "- Mac/Windows のリモートデスクトップ画面で、Cmd-N や Cmd-B、Cmd-K などのデスクトップショートカットが使えるようになりました。変更したキー設定はそのパソコンに保存され、画面のレイアウトは変わりません。\n- 新しいホスト環境でリモートパソコンが起動トークンを取得できず、「相手のパソコンが一時的に利用できません」と誤表示される問題を修正し、接続がより安定しました。",
130
- "ko": "- Mac/Windows 원격 데스크톱 창에서 Cmd-N, Cmd-B, Cmd-K 같은 데스크톱 단축키를 이제 사용할 수 있습니다. 변경한 키 설정은 해당 컴퓨터에 저장되며 화면 배치는 그대로입니다.\n- 새로운 호스트 환경에서 원격 컴퓨터가 시작 토큰을 가져오지 못해 '상대 컴퓨터를 일시적으로 사용할 수 없습니다'라고 잘못 표시되던 문제를 수정했습니다. 연결이 더 안정적입니다.",
131
- "de": "- Remote-Desktop-Fenster unter Mac und Windows unterstützen jetzt Desktop-Tastenkürzel wie Cmd-N, Cmd-B und Cmd-K. Eigene Tastenbelegungen werden auf dem jeweiligen Rechner gespeichert, das Seitenlayout bleibt unverändert.\n- Behoben: Unter neueren Hosts konnte ein Remoterechner seinen Start-Token nicht abrufen und wurde fälschlich als „vorübergehend nicht verfügbar“ gemeldet. Verbindungen sind jetzt stabiler.",
132
- "es": "- Las ventanas de escritorio remoto en Mac y Windows ahora admiten atajos de escritorio como Cmd-N, Cmd-B y Cmd-K; tus combinaciones personalizadas se guardan en ese equipo y el diseño de la página no cambia.\n- Se corrigió un problema por el que, en hosts más recientes, un equipo remoto no obtenía su token de inicio y se mostraba erróneamente como «temporalmente no disponible». Las conexiones son más estables.",
133
- "fr": "- Les fenêtres de bureau distant sous Mac et Windows prennent désormais en charge les raccourcis bureau comme Cmd-N, Cmd-B et Cmd-K ; vos raccourcis personnalisés sont enregistrés sur l'ordinateur local et la mise en page reste inchangée.\n- Correction : avec les hôtes récents, un ordinateur distant n'obtenait pas son jeton de lancement et était signalé à tort comme « temporairement indisponible ». Les connexions sont plus stables.",
134
- "pt": "- As janelas de área de trabalho remota no Mac e no Windows agora aceitam atalhos de desktop como Cmd-N, Cmd-B e Cmd-K; suas teclas personalizadas ficam salvas naquele computador e o layout da página não muda.\n- Corrigido um problema em que, em hosts mais recentes, um computador remoto não conseguia obter o token de inicialização e era exibido incorretamente como «temporariamente indisponível». As conexões ficaram mais estáveis.",
135
- "ru": "- Окна удалённого рабочего стола на Mac и Windows теперь поддерживают системные сочетания клавиш, например Cmd-N, Cmd-B и Cmd-K; ваши настройки клавиш сохраняются на этом компьютере, а вёрстка страницы не меняется.\n- Исправлена проблема, когда на новых хостах удалённый компьютер не получал токен запуска и ошибочно отображался как «временно недоступный». Соединения стали стабильнее.",
136
- "tr": "- Mac ve Windows'taki uzak masaüstü pencereleri artık Cmd-N, Cmd-B, Cmd-K gibi masaüstü kısayollarını destekliyor; değiştirdiğiniz tuş atamaları o bilgisayarda saklanıyor, sayfa düzeni değişmiyor.\n- Yeni host sürümlerinde uzak bilgisayarın başlangıç jetonunu alamayıp yanlışlıkla 'karşı taraf geçici olarak kullanılamıyor' diye görünmesi sorunu düzeltildi; bağlantılar artık daha kararlı."
127
+ "zh-Hans": "- 正文里的图片(含 GIF)跨设备重开不再露出源码、不再只剩首帧,本机副本也会限量回收,少占空间。\n- 面板网络配置重新整理:服务商线路入口挪到最上方并标注「更快的接入网络」,新增「自定义网络」标题和公告说明,引导页接入国内 FRP 服务商。\n- 网络排查知识库补充光猫后台找回、固件家族识别和正规 FRP 运营商推荐,照着做更容易通。\n- 面板顶栏去掉重启、检查更新和收件箱三颗按钮,悬浮入口改名「AI 网络排查」,问诊弹窗文案更清楚。\n- 自检探针的提示不再混进反馈队列;零讯运行中才点连接时也会补上体检定时器。",
128
+ "zh-Hant": "- 正文裡的圖片(含 GIF)跨裝置重開不再露出原始碼、不再只剩首幀,本機副本也會限量回收,少佔空間。\n- 面板網路設定重新整理:服務商線路入口挪到最上方並標註「更快的接入網路」,新增「自訂網路」標題和公告說明,引導頁接入國內 FRP 服務商。\n- 網路排查知識庫補充光貓後台找回、韌體家族識別和正規 FRP 營運商推薦,照著做更容易通。\n- 面板頂欄去掉重新啟動、檢查更新和收件匣三顆按鈕,懸浮入口改名「AI 網路排查」,問診彈窗文案更清楚。\n- 自檢探針的提示不再混進回饋佇列;零訊運行中才點連線時也會補上體檢計時器。",
129
+ "en": "- Images in messages (including GIFs) no longer show up as raw source code or only their first frame after reopening on another device; local copies are now capped so they take up less space.\n- The panel's network settings have been reorganised: provider routes move to the top with a \"faster way in\" hint, a custom network section and notice were added, and the onboarding page now includes China-based FRP providers.\n- The network troubleshooting knowledge base now covers recovering modem admin access, identifying firmware families and choosing reputable FRP providers.\n- The panel top bar no longer has the restart, check-for-updates and inbox buttons; the floating entry is renamed \"AI Network Check\" and the diagnosis dialog reads more clearly.\n- Self-check probe messages no longer end up in the feedback queue, and ZeroNews starts its health timer even when you connect while it is already running.",
130
+ "ja": "- 本文内の画像(GIF を含む)が別の端末で開き直してもソースコードや最初のフレームだけにならなくなりました。端末内のコピーも上限付きで回収され、容量を節約します。\n- パネルのネットワーク設定を整理しました。プロバイダーの回線入口を一番上に移し、「より速い接続方法」の説明を追加、「カスタムネットワーク」の見出しとお知らせを追加し、初期設定ページに中国国内の FRP プロバイダーを追加しました。\n- ネットワーク診断のナレッジに、光回線終端装置の管理画面へのアクセス回復、ファームウェア系統の見分け方、信頼できる FRP プロバイダーの推奨を追加しました。\n- パネル上部の再起動・更新確認・受信箱のボタンを撤廃し、フローティング入口を「AI ネットワーク診断」に改名、診断ダイアログの文言を分かりやすくしました。\n- セルフチェック・プローブのメッセージがフィードバック行列に混ざらなくなりました。また、ZeroNews が動作中に接続した場合もヘルスチェックのタイマーが開始されます。",
131
+ "ko": "- 채팅 본문의 이미지(GIF 포함)가 다른 기기에서 다시 열어도 소스 코드나 첫 프레임만 남지 않도록 수정했고, 기기 내 사본도 개수 제한으로 정리해 공간을 덜 차지합니다.\n- 패널의 네트워크 설정을 정리했습니다. 제공자 회선 항목을 맨 위로 옮기고 '더 빠른 접속 방법' 안내를 추가했으며, '사용자 지정 네트워크' 제목과 공지 설명을 넣고 첫 설정 페이지에 중국 내 FRP 제공자를 추가했습니다.\n- 네트워크 진단 지식베이스에 모뎀 관리 화면 접속 복구, 펌웨어 계열 구분, 신뢰할 수 있는 FRP 제공자 추천을 보강했습니다.\n- 패널 상단의 다시 시작, 업데이트 확인, 받은 편지함 버튼을 없애고, 플로팅 진입점을 'AI 네트워크 점검'으로 바꿨으며 진단 창 문구를 더 알기 쉽게 했습니다.\n- 자체 점검 프롬프트가 피드백 대기열에 섞이지 않도록 했고, ZeroNews가 실행 중일 때 연결해도 상태 확인 타이머가 시작됩니다.",
132
+ "de": "- Bilder in Nachrichten (auch GIFs) erscheinen nach dem erneuten Öffnen auf einem anderen Gerät nicht mehr als Quelltext oder nur als erstes Bild; lokale Kopien sind jetzt begrenzt und geben Speicherplatz frei.\n- Die Netzwerkeinstellungen im Panel wurden neu geordnet: Anbieterrouten stehen jetzt ganz oben mit dem Hinweis „schnellerer Zugang“, ein Abschnitt „Eigenes Netzwerk“ mit Erläuterung und Hinweis wurde ergänzt, und die Einstiegsseite listet jetzt in China ansässige FRP-Anbieter.\n- Die Wissensdatenbank zur Netzwerkdiagnose enthält jetzt Anleitungen zum Wiederherstellen des Modem-Admin-Zugangs, zum Erkennen der Firmware-Familie und zur Auswahl seriöser FRP-Anbieter.\n- Die Schaltflächen Neustart, Updates prüfen und Postfach wurden aus der Panel-Leiste entfernt; der schwebende Einstieg heißt jetzt „KI-Netzwerkcheck“, und der Diagnose-Dialog ist klarer formuliert.\n- Meldungen der Eigenprüfung landen nicht mehr in der Feedback-Warteschlange, und ZeroNews startet den Gesundheits-Timer auch dann, wenn die Verbindung erst während des laufenden Betriebs hergestellt wird.",
133
+ "es": "- Las imágenes de los mensajes (incluidos los GIF) ya no aparecen como código fuente ni solo con el primer fotograma al volver a abrirlas en otro dispositivo; las copias locales están ahora limitadas y ocupan menos espacio.\n- Los ajustes de red del panel se han reorganizado: las rutas de los proveedores pasan arriba con la indicación «acceso más rápido», se añadieron una sección «Red personalizada» con su aviso y la página de inicio incluye ahora proveedores FRP de China.\n- La base de conocimientos de diagnóstico de red incorpora ahora la recuperación del acceso de administrador del módem, la identificación de la familia de firmware y recomendaciones de proveedores FRP fiables.\n- La barra superior del panel ya no tiene los botones Reiniciar, Comprobar actualizaciones y Bandeja de entrada; la entrada flotante se llama ahora «Comprobación de red IA» y el cuadro de diagnóstico está redactado con más claridad.\n- Los mensajes de la autocomprobación ya no se mezclan con la cola de comentarios, y ZeroNews inicia el temporizador de revisión incluso cuando te conectas mientras ya está funcionando.",
134
+ "fr": "- Les images des messages (GIF compris) n'apparaissent plus sous forme de code source ni uniquement sur leur première image après réouverture sur un autre appareil ; les copies locales sont désormais limitées et libèrent de la place.\n- Les paramètres réseau du panneau ont été réorganisés : les itinéraires des fournisseurs passent en haut avec la mention « accès plus rapide », une section « Réseau personnalisé » et un avis ont été ajoutés, et la page d'accueil propose désormais des fournisseurs FRP basés en Chine.\n- La base de connaissances de diagnostic réseau couvre désormais la récupération de l'accès administrateur du modem, l'identification de la famille de firmware et le choix de fournisseurs FRP fiables.\n- La barre supérieure du panneau ne contient plus les boutons Redémarrer, Vérifier les mises à jour et Boîte de réception ; l'entrée flottante s'appelle désormais « Contrôle réseau IA » et la boîte de dialogue de diagnostic est plus claire.\n- Les messages de l'auto-contrôle ne sont plus ajoutés à la file de commentaires, et ZeroNews démarre son minuteur de contrôle de santé même lorsque la connexion s'établit pendant son fonctionnement.",
135
+ "pt": "- As imagens das mensagens (incluindo GIFs) deixaram de aparecer como código-fonte ou apenas com o primeiro fotograma ao reabrir noutro dispositivo; as cópias locais passam a ter limite e libertam espaço.\n- As definições de rede do painel foram reorganizadas: as rotas dos fornecedores passaram para o topo com a indicação «acesso mais rápido», foi adicionada uma secção «Rede personalizada» com o respetivo aviso e a página inicial passa a incluir provedores FRP da China.\n- A base de conhecimentos de diagnóstico de rede passa a cobrir a recuperação do acesso de administrador do modem, a identificação da família de firmware e a escolha de fornecedores FRP de confiança.\n- A barra superior do painel deixou de ter os botões Reiniciar, Verificar atualizações e Caixa de entrada; a entrada flutuante chama-se agora «Verificação de rede IA» e a janela de diagnóstico está mais clara.\n- As mensagens da auto-verificação deixaram de entrar na fila de comentários, e o ZeroNews inicia o temporizador de verificação mesmo quando a ligação é feita enquanto já está em funcionamento.",
136
+ "ru": "- Изображения в сообщениях (включая GIF) больше не показываются исходным кодом или только первым кадром при повторном открытии на другом устройстве; локальные копии теперь ограничены и освобождают место.\n- Настройки сети на панели переработаны: маршруты провайдеров перенесены наверх с пометкой «более быстрый доступ», добавлены раздел «Своя сеть» с пояснением и объявление, а на странице первого запуска появились китайские провайдеры FRP.\n- База знаний по диагностике сети дополнена восстановлением доступа к панели администратора модема, определением семейства прошивки и рекомендациями по надёжным провайдерам FRP.\n- Верхняя панель больше не содержит кнопок «Перезапуск», «Проверить обновления» и «Входящие»; плавающая кнопка называется «Проверка сети ИИ», а окно диагностики стало понятнее.\n- Сообщения самопроверки больше не попадают в очередь отзывов, и ZeroNews запускает таймер проверки состояния даже при подключении во время уже работающей сессии.",
137
+ "tr": "- Mesajlardaki görseller (GIF dâhil), başka bir cihazda yeniden açıldığında artık kaynak kodu ya da yalnızca ilk kare olarak görünmüyor; yerel kopyalar sınırlanarak alan tasarrufu sağlanıyor.\n- Panelin ağ ayarları yeniden düzenlendi: sağlayıcı hatları «daha hızlı erişim» notuyla en üste taşındı, «Özel ağ» başlığı ve duyurusu eklendi ve açılış sayfasına Çin merkezli FRP sağlayıcıları eklendi.\n- Ağ tanılama bilgi bankasına modem yönetim paneline erişimi geri getirme, üretici yazılımı ailesini tanıma ve güvenilir FRP sağlayıcısı seçme konuları eklendi.\n- Panel üst çubuğundan yeniden başlatma, güncellemeyi kontrol etme ve gelen kutusu düğmeleri kaldırıldı; yüzen giriş «AI Ağ Kontrolü» olarak yeniden adlandırıldı ve tanılama penceresinin metni daha anlaşılır hâle getirildi.\n- Öz kontrol iletileri artık geri bildirim kuyruğuna karışmıyor ve ZeroNews, çalışırken bağlantı kurulduğunda da sağlık kontrolü zamanlayıcısını başlatıyor."
137
138
  }
138
139
  }
139
140
  }