dsh-mobile-plugin 0.5.133 → 0.5.135

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.
@@ -63,9 +63,6 @@ const archiveClean = require('../mobile/archive-clean.js');
63
63
  const sessionLog = require('../mobile/session-log.js');
64
64
  const hostSettings = require('../mobile/host-settings.js');
65
65
  const channels = require('../mobile/channels.js');
66
- // 手机够不着的渠道由电脑代发模型请求(见 mobile/channel-proxy.js):只转发模型调用这一层,
67
- // 会话与工具循环仍在手机上。
68
- const channelProxy = require('../mobile/channel-proxy.js');
69
66
  const modelCaps = require('../mobile/model-caps.js');
70
67
  const deepSeekAccount = require('../mobile/deepseek-account.js');
71
68
  const skills = require('../mobile/skills.js');
@@ -775,13 +772,6 @@ function registerMobileRoutes(deps) {
775
772
  route('/api/mobile/v1/channels/discover', channels.handleChannelDiscover)
776
773
  route('/api/mobile/v1/channels/save', channels.handleChannelSave)
777
774
  route('/api/mobile/v1/channels/delete', channels.handleChannelDelete)
778
- // 把电脑上的一条自建渠道整条交给手机(名字 / 协议 / 地址 / 模型 / Key),给「本机 Agent
779
- // 新增渠道」页的一键导入用。只认自建那一类,只按 id 取用户点名的那一条;同一条响应里
780
- // 附带手机该依次试的地址(本机地址会补上这台电脑的局域网那几个)。
781
- route('/api/mobile/v1/channels/export', channels.handleChannelExport)
782
- // 经电脑转发一次对话(SSE):手机拨不到的渠道(跑在这台电脑上的 Ollama / 内网服务)借
783
- // 电脑的手发请求,地址与 Key 都用宿主自己那份。只收 OpenAI 兼容对话的几样东西,不建会话。
784
- route('/api/mobile/v1/channels/chat', channelProxy.handleChannelChat)
785
775
  // 技能目录(宿主 skill.list 的移动端只读代理)。桌面端敲「/」时命令候选菜单里
786
776
  // 混着技能(@deepseek-ai/dsh-client-ui-skill 注册的 inputTriggers source),
787
777
  // 手机端此前只有 commands.list 的命令目录,技能一个都看不到,见 mobile/skills.js。
@@ -1,3 +1,4 @@
1
+ /** 2026-11-28:两条自检口逐条登记,后半条登记失败时先把已挂的撤掉,不留半截口。 */
1
2
  /**
2
3
  * 宿主半边的自检口:`/api/relay/host-half` 与它的 `/reload`。
3
4
  *
@@ -42,13 +43,13 @@ export function installHostHalf(ctx, runtime, deps = {}) {
42
43
  installedVersion: installedVersion(),
43
44
  shellChanged: installedShellHash() !== null && installedShellHash() !== runningShellHash,
44
45
  })
45
- const offs = [
46
- server.register({
46
+ const specs = [
47
+ {
47
48
  kind: 'exact',
48
49
  path: HOST_HALF_PATH,
49
50
  handler: localOnly('GET', async (_req, res) => sendJson(res, 200, view())),
50
- }),
51
- server.register({
51
+ },
52
+ {
52
53
  kind: 'exact',
53
54
  path: HOST_HALF_RELOAD_PATH,
54
55
  handler: localOnly('POST', async (_req, res) => {
@@ -65,8 +66,19 @@ export function installHostHalf(ctx, runtime, deps = {}) {
65
66
  })
66
67
  }
67
68
  }),
68
- }),
69
- ].filter(off => typeof off === 'function')
69
+ },
70
+ ]
71
+ const offs = []
72
+ try {
73
+ for (const spec of specs) {
74
+ const off = server.register(spec)
75
+ if (typeof off === 'function') offs.push(off)
76
+ }
77
+ } catch (error) {
78
+ // 第二条登记失败(例如撞名)时,第一条已经挂上了:先把已挂的撤掉再抛,别留半截口在宿主上。
79
+ for (const off of offs) { try { off() } catch { /* ignore */ } }
80
+ throw error
81
+ }
70
82
  return () => {
71
83
  for (const off of offs) off()
72
84
  }
@@ -0,0 +1,95 @@
1
+ /** 2026-11-28:可选线路的通用登记表——以后新增线路在代里声明即可,不用再改外壳。 */
2
+ /**
3
+ * 可选线路(按实现指纹「沿用 / 重建」)的通用登记表。
4
+ *
5
+ * 为什么需要它:可选线路是长活进程,必须由外壳跨代持有(否则每次换代都要重连、用户能感觉到断)。
6
+ * 以前 frp / 隧道助手 / 点对点是在 transport-host 里逐条手写的,于是**每加一条线路都要改外壳、
7
+ * 也就意味着要重启 DSH**——这是文档里记的最容易复发的一条。
8
+ *
9
+ * 这个登记表把「一条可选线路」抽象成一份声明:名字 + 指纹 + 取值器(providers)+ 建法(mount)。
10
+ * 外壳只认这份声明、管它的生命周期与换代沿用;线路自己的实现住在代里(可热更)。以后加线路
11
+ * 只需要代里调一次 `adopt(...)`,外壳一行都不用动。
12
+ *
13
+ * 契约(`mount(bag)` 返回一个至少有 `stop` 的对象,可选 `start` / `status`):
14
+ * - `fingerprint` 不变:沿用同一个实例(不重连),只把 `providers` 刷新成新代给的取值器
15
+ * (避免闭包着上一代那个已经失效的 ctx)。
16
+ * - `fingerprint` 变了:先停掉旧实例、按新声明重建(短暂重连,DSH 不重启)。
17
+ * - `bag.mount`:逐块兜住的挂载器;`bag.warn`:告警出口;`bag.provider(name)`:取当前代注入的
18
+ * 取值器;`bag.effect(fn,label)`:登记随这条线路生命周期回收的 effect(重建或卸载时一起撤)。
19
+ *
20
+ * @param {{ctx: object, warn?: Function}} deps 外壳 ctx(用 `ctx.effect` 管生命周期)与告警出口。
21
+ */
22
+ export function createOptionalLineRegistry({ ctx, warn = () => {} } = {}) {
23
+ if (!ctx || typeof ctx.effect !== 'function') throw new Error('可选线路登记表需要外壳 ctx')
24
+
25
+ /** name -> { fingerprint, door, providers, disposers } */
26
+ const lines = new Map()
27
+
28
+ function disposeLine(entry) {
29
+ if (!entry) return
30
+ const { door, disposers } = entry
31
+ entry.door = null
32
+ entry.disposers = []
33
+ for (const dispose of disposers) { try { dispose() } catch { /* 已经撤过 */ } }
34
+ try { if (door && typeof door.stop === 'function') void door.stop() } catch { /* 已经停了 */ }
35
+ }
36
+
37
+ /**
38
+ * 登记/接管一条可选线路。返回这条线路当前的实例(door)。
39
+ * 只传 `providers`(不传 `mount`)时:刷新取值器并返回现有实例。
40
+ */
41
+ function adopt({ name, fingerprint = null, providers = null, mount = null } = {}) {
42
+ if (typeof name !== 'string' || !name) return null
43
+ let entry = lines.get(name) || null
44
+ if (providers && typeof providers === 'object') {
45
+ entry = entry || { fingerprint: null, door: null, providers: {}, disposers: [] }
46
+ entry.providers = { ...entry.providers, ...providers }
47
+ lines.set(name, entry)
48
+ }
49
+ if (typeof mount !== 'function') return entry ? entry.door : null
50
+ // 指纹没变且实例还在:沿用(不断线),providers 上面已经刷新过。
51
+ if (entry && entry.door && fingerprint === entry.fingerprint) return entry.door
52
+ if (entry) disposeLine(entry)
53
+ entry = entry || { providers: {} }
54
+ entry.fingerprint = fingerprint
55
+ entry.disposers = []
56
+ const pick = key => (typeof entry.providers[key] === 'function' ? entry.providers[key] : null)
57
+ const bag = {
58
+ mount: fn => { try { return fn() } catch (error) { warn(`${name} 没挂上:${error && error.message ? error.message : error}`); return undefined } },
59
+ warn,
60
+ provider: pick,
61
+ effect: (fn, label) => {
62
+ const dispose = ctx.effect(fn, label)
63
+ entry.disposers.push(dispose)
64
+ return dispose
65
+ },
66
+ }
67
+ try { entry.door = mount(bag) } catch (error) { entry.door = null; warn(`${name} 建实例失败:${error && error.message ? error.message : error}`) }
68
+ lines.set(name, entry)
69
+ return entry.door
70
+ }
71
+
72
+ /** 取下某条线路当前实例(不建)。 */
73
+ function get(name) {
74
+ const entry = lines.get(name)
75
+ return entry ? entry.door : null
76
+ }
77
+
78
+ /** 某条线路的统一控制面:停 / 起 / 查状态都转发到它当前的实例。 */
79
+ function control(name) {
80
+ const door = () => get(name)
81
+ return {
82
+ stop: () => { const d = door(); return d && typeof d.stop === 'function' ? d.stop() : Promise.resolve() },
83
+ start: () => { const d = door(); return d && typeof d.start === 'function' ? d.start() : undefined },
84
+ status: () => { const d = door(); return d && typeof d.status === 'function' ? d.status() : null },
85
+ }
86
+ }
87
+
88
+ // 外壳卸载时把全部可选线路一起撤掉(每条各自的 effect 也一并收回)。
89
+ ctx.effect(() => () => {
90
+ for (const entry of lines.values()) disposeLine(entry)
91
+ lines.clear()
92
+ }, 'dsh-mobile-plugin: optional line registry')
93
+
94
+ return { adopt, get, control }
95
+ }
@@ -1,3 +1,4 @@
1
+ /** 2026-11-28:卸载时把稳定分派器与分发表一并撤干净,停用后不再把请求转给已卸载的实现。 */
1
2
  /**
2
3
  * 代际运行时:把「外壳」和「某一代实现」缝在一起,并负责换代那一刻的秩序。
3
4
  *
@@ -16,6 +17,25 @@ import { checkGenerationAlive } from './self-check-after-swap.js'
16
17
 
17
18
  /** 换代前等在飞请求归零的上限。 */
18
19
  const DRAIN_TIMEOUT_MS = 2000
20
+
21
+ /**
22
+ * 外壳对外承诺的「接口版本」:只增不改。
23
+ *
24
+ * 代(可热更)通过外壳服务读到它,判断当前跑着的外壳支持到哪一版;新代需要更新的外壳能力时,
25
+ * 先看这个版本,够就开、不够就把那项先收起来(降级)并如实报「重启 DSH 后启用」,绝不因为
26
+ * 外壳旧就整代崩掉。这样少数真得改外壳的改动,也只是「某个新功能晚到一次自然重启」,不会
27
+ * 变成用户那边的一次故障。新增或改变外壳对外能力时,把这个数字加一并同步下面的能力名。
28
+ */
29
+ export const SHELL_API_VERSION = 1
30
+ /** 这一版外壳真实提供的能力名(只增不删;代按名字判断某项功能能不能开)。 */
31
+ export const SHELL_CAPABILITIES = [
32
+ 'route-dispatch',
33
+ 'transport-hosts',
34
+ 'update-orchestration',
35
+ 'host-half',
36
+ 'device-ota',
37
+ 'tailcat-pause-gate',
38
+ ]
19
39
  /**
20
40
  * 等一代装载完成的上限。装载卡住(依赖永远不来)时不能把整个外壳拖死。
21
41
  *
@@ -624,7 +644,23 @@ export function createRuntime() {
624
644
  const oldFiber = fiber
625
645
  fiber = null
626
646
  current = null
627
- if (oldFiber) await oldFiber.dispose()
647
+ // 停用/卸载这一层时,光停当前这一代不够:给每条路径挂的稳定分派器、以及它们读的 live 表
648
+ // 都还留在宿主上,于是请求继续被转给已卸载的实现,再启用时新分派器又因撞名挂不上。
649
+ // 这里把分派器和分发表一并撤干净;撤之前先让在飞请求排空,别把正在服务的 handler 抽走。
650
+ try {
651
+ await drain()
652
+ if (oldFiber) await oldFiber.dispose()
653
+ } finally {
654
+ for (const unregister of httpDispatchers.values()) { try { unregister() } catch { /* ignore */ } }
655
+ for (const unregister of upDispatchers.values()) { try { unregister() } catch { /* ignore */ } }
656
+ httpDispatchers.clear()
657
+ upDispatchers.clear()
658
+ liveHttp = new Map()
659
+ liveUp = new Map()
660
+ stageHttp = null
661
+ stageUp = null
662
+ applying = false
663
+ }
628
664
  }
629
665
 
630
666
  return {
@@ -0,0 +1,55 @@
1
+ /** 2026-11-28:更新前让隧道助手松开 Windows 平台包;停不掉就拦下这一轮,不硬装再回滚。 */
2
+ /**
3
+ * 更新前对隧道助手(tailcat)的处理。
4
+ *
5
+ * 为什么要有这道闸:Windows 上隧道助手的平台包(exe)正在跑时,pnpm 换不掉那个目录,装完
6
+ * 会被判「安装不完整」再回滚;回滚把盘上版本退回旧版、registry 还是那一版,于是下一次检查
7
+ * 又说有新版,形成「每两分钟失败重装再回滚」的死循环,全程还握着 profile 写锁。
8
+ *
9
+ * 所以这里做成「停得掉就继续、停不掉就把失败如实返回」,由调用方(热更的实现侧)决定是否
10
+ * 放弃这一轮、按重试退避。其它平台没有这个文件锁,停掉助手只会白白断一条直连、整段装包时间
11
+ * 都不在 —— 直接放行、不碰它。
12
+ *
13
+ * 只依赖注入进来的「取控制服务」与日志出口,不读外壳的 ctx,也便于单测。
14
+ *
15
+ * @param {{getControl?: () => any, log?: (level: string, message: string, ...rest: any[]) => void,
16
+ * platform?: string}} [options]
17
+ */
18
+ export function createTailcatGate({ getControl = () => null, log = () => {}, platform = process.platform } = {}) {
19
+ let paused = false
20
+
21
+ return {
22
+ /**
23
+ * 停隧道助手。不是 Windows、没有控制服务、或已经停过都当作「不用停」,返回 `{ ok: true }`;
24
+ * 真去停并且失败时返回 `{ ok: false, error }`,由调用方据此拦下这一轮。
25
+ */
26
+ async stop() {
27
+ if (platform !== 'win32') return { ok: true, stopped: false }
28
+ if (paused) return { ok: true, stopped: false }
29
+ const ctl = getControl()
30
+ if (!ctl || typeof ctl.stop !== 'function') return { ok: true, stopped: false }
31
+ try {
32
+ await ctl.stop()
33
+ paused = true
34
+ return { ok: true, stopped: true }
35
+ } catch (error) {
36
+ log('warn', 'dsh-mobile-plugin: 更新前停隧道助手失败:%s', error?.message || error)
37
+ return { ok: false, error }
38
+ }
39
+ },
40
+
41
+ /** 装完/失败后把之前停掉的助手拉回来;没停过就什么都不做。 */
42
+ async resume() {
43
+ if (!paused) return
44
+ paused = false
45
+ const ctl = getControl()
46
+ if (!ctl || typeof ctl.start !== 'function') return
47
+ try {
48
+ const state = typeof ctl.status === 'function' ? ctl.status() : null
49
+ if (!state || state.running !== true) ctl.start()
50
+ } catch (error) {
51
+ log('warn', 'dsh-mobile-plugin: 更新后恢复隧道助手失败:%s', error?.message || error)
52
+ }
53
+ },
54
+ }
55
+ }
@@ -23,6 +23,7 @@
23
23
  * 外壳(`lib/index.js`)只调一次 `installTransportHosts(ctx)`,业务逻辑全在这个文件里。
24
24
  */
25
25
  import crypto from 'node:crypto'
26
+ import { createOptionalLineRegistry } from './optional-lines.js'
26
27
 
27
28
  /** 门面:每次现取当前实例;属性读当前值,方法转发;换代事务期把配置/注册类方法暂存起来。 */
28
29
  function makeFacade(getHandle, { props = [], stageMethods = [], stage = null } = {}) {
@@ -317,8 +318,19 @@ export function installTransportHosts(ctx) {
317
318
  ctx.effect(() => () => { if (controlCurrent) { try { controlCurrent.client.stop() } catch { /* ignore */ } } }, 'dsh-mobile-plugin: control transport host')
318
319
  ctx.effect(() => () => { if (muxCurrent) { try { muxCurrent.service.dropAll?.() } catch { /* ignore */ } } }, 'dsh-mobile-plugin: mux transport host')
319
320
 
320
- // ── 隧道助手(直连隧道,可选线路:按指纹沿用/重建) ────────────────
321
+ // ── 可选线路的通用登记表(新线路走这里,不再逐条改外壳) ─────────────
321
322
  const looseMount = (label, fn) => { try { return fn() } catch (error) { warn(`${label} 没挂上:${error && error.message ? error.message : error}`); return undefined } }
323
+
324
+ // 通用登记表:以后新增可选线路由代调 `adopt` 声明,外壳一行都不用动(见 optional-lines.js)。
325
+ // frp / 隧道助手 / 点对点仍走各自的老挂法,等它们下次改动再迁过来即可,迁不迁不影响新线路。
326
+ const extraLines = createOptionalLineRegistry({ ctx, warn })
327
+ ctx.reflect.provide('dshMobileTransportExtraLines', {
328
+ adopt: spec => extraLines.adopt(spec),
329
+ get: name => extraLines.get(name),
330
+ control: name => extraLines.control(name),
331
+ })
332
+
333
+ // ── 隧道助手(直连隧道,可选线路:按指纹沿用/重建) ────────────────
322
334
  let tailcatDoor = null
323
335
  let tailcatProviders = {}
324
336
  let tailcatFingerprint = null
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+ // 2026-11-28:代读外壳能力契约的读取端;旧外壳不报版本时按「legacy」处理并降级。
3
+ /**
4
+ * 外壳能力契约的**读取端**(住在代里,可热更)。
5
+ *
6
+ * 背景:外壳在启动时被 Node 冻住,改它要重启 DSH;而代是可热换的。所以真到必须改外壳时,
7
+ * 新代得能在**旧外壳**上照常跑:先问外壳「你支持到哪一版、有哪些能力」,够的才开、不够的
8
+ * 就把那项先收起来(降级)并如实报「重启 DSH 后可启用」,绝不让整代因为外壳旧就崩。
9
+ *
10
+ * 这份读法必须极稳:外壳服务可能不存在(无头部署 / 被直接挂载)、可能是老的(没有这两个
11
+ * 字段,即本机制之前的外壳)、也可能字段是脏的。任何解析不出来的情况都退成
12
+ * `apiVersion: 0`、`legacy: true`、`has() === false`,让调用方走降级,而不是抛错。
13
+ *
14
+ * @param {object|null} runtime 外壳服务(`ctx.get('dshMobilePluginRuntime')`),或它 status() 的结果。
15
+ */
16
+ function readShellCompat(runtime) {
17
+ let raw = runtime || null;
18
+ if (raw && typeof raw.status === 'function') {
19
+ try { raw = raw.status() || {}; } catch { raw = {}; }
20
+ }
21
+ if (!raw || typeof raw !== 'object') raw = {};
22
+ const version = Number.isInteger(raw.shellApiVersion) && raw.shellApiVersion >= 0 ? raw.shellApiVersion : 0;
23
+ const list = Array.isArray(raw.shellCapabilities) ? raw.shellCapabilities.filter((name) => typeof name === 'string') : [];
24
+ const capabilities = new Set(list);
25
+ return {
26
+ /** 运行中外壳的接口版本;0 = 没报(本机制之前的老外壳)。 */
27
+ apiVersion: version,
28
+ /** 老外壳:读不到能力契约,只能按最保守的功能集跑。 */
29
+ legacy: version === 0,
30
+ /** 外壳是否提供某项能力。 */
31
+ has: (name) => capabilities.has(name),
32
+ /** 外壳接口版本是否达到某一级。 */
33
+ atLeast: (need) => version >= (Number(need) || 0),
34
+ /** 读到(并过滤过)的能力清单,便于诊断/上报。 */
35
+ capabilities: [...capabilities],
36
+ };
37
+ }
38
+
39
+ module.exports = { readShellCompat };
@@ -1,3 +1,4 @@
1
+ /** 2026-11-28:装前停不掉隧道助手时不跑包管理器,报可重试,避免 Windows 上失败重装再回滚。 */
1
2
  /** 更新后核对插件依赖,失败时通过原包管理器恢复上一版完整安装。 */
2
3
  /**
3
4
  * 失败结论里给「文件被占用」附一句能照着做的提示:手机与面板只显示这一句话。
@@ -862,10 +863,31 @@ async function installLatest({
862
863
  const previousComplete = beforeVersion !== null && installationProblem(profileNodeModules, name, beforeVersion) === null;
863
864
  // 备份正在跑的那一代:包的活就落在下面那一行 spawn 上,它一跑旧目录就没了。
864
865
  // 备份失败不该挡住更新(那是多一层保险),所以这里吞掉它的异常,由调用方记日志。
866
+ // 但「装前准备」里停隧道助手停不掉是另一回事:Windows 上平台包被运行中的 exe 占住时,
867
+ // pnpm 换不掉它,装完会被判不完整再回滚,回滚又让下一轮重新发现新版 —— 死循环还长期握着
868
+ // profile 写锁。所以这时**不跑包管理器**,如实报成可重试,下个 tick 再来。
865
869
  if (typeof beforeInstall === 'function') {
870
+ let prep = null;
866
871
  try {
867
- await beforeInstall({ beforeVersion, command: null });
872
+ prep = await beforeInstall({ beforeVersion, command: null });
868
873
  } catch { /* 备份失败不挡更新 */ }
874
+ if (prep && prep.tailcat && prep.tailcat.ok === false) {
875
+ emit({ phase: 'tailcat-busy', version });
876
+ return {
877
+ installed: false,
878
+ skipped: true,
879
+ retryable: true,
880
+ beforeVersion,
881
+ installedVersion: installedVersion(profileNodeModules, name),
882
+ source: declaredSource(profileDir, name),
883
+ command: null,
884
+ output: '',
885
+ failure: {
886
+ code: 'TAILCAT_BUSY',
887
+ message: '更新前停不掉隧道助手(平台包被占用),这一轮先不装,稍后会自动重试;也可以先手动退出隧道助手再点更新。',
888
+ },
889
+ };
890
+ }
869
891
  }
870
892
 
871
893
  // 一律带上:自动更新是「一检测到就装」,手动点的那一下同样是「现在就要」,没理由先让这道
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-mobile-plugin",
3
- "version": "0.5.133",
3
+ "version": "0.5.135",
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",
@@ -91,11 +91,11 @@
91
91
  "dsh-mobile-tailcat-win32-arm64": "1.1.7"
92
92
  },
93
93
  "peerDependencies": {
94
- "@deepseek-ai/cordis": ">=4.0.1",
94
+ "@deepseek-ai/cordis": ">=4.0.1 || >=4.0.1-rc.1 <4.0.2-0 || >=4.0.5-alpha.1 <4.0.6-0 || >=4.0.6-alpha.1 <4.0.7-0 || >=4.2.0-alpha.1 <4.2.1-0",
95
95
  "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2 || ^0.2.0-rc.1 || ^0.2.1-rc.2 || ^0.2.2-rc.1 || ^0.2.3-alpha.1",
96
96
  "@deepseek-ai/dsh-settings": "^0.1.1-rc.2 || ^0.2.0-rc.1 || ^0.2.1-rc.2 || ^0.2.2-rc.1 || ^0.2.3-alpha.1",
97
97
  "@deepseek-ai/dsh-tools": "^0.1.1-rc.2 || ^0.2.0-rc.1 || ^0.2.1-rc.2 || ^0.2.2-rc.1 || ^0.2.3-alpha.1",
98
- "@deepseek-ai/schemastery": "^3.18.1"
98
+ "@deepseek-ai/schemastery": ">=3.18.1 || >=3.18.1-rc.1 <3.18.2-0 || >=3.18.5-alpha.1 <3.18.6-0 || >=3.18.6-alpha.1 <3.18.7-0 || >=3.20.0-alpha.1 <3.20.1-0"
99
99
  },
100
100
  "dsh": {
101
101
  "bundle": {
@@ -117,23 +117,24 @@
117
117
  "yaml": "2.9.1"
118
118
  },
119
119
  "dshMobileReleaseNotes": {
120
- "version": "0.5.133",
120
+ "version": "0.5.135",
121
121
  "kinds": [
122
122
  "fix",
123
- "feature"
123
+ "feature",
124
+ "other"
124
125
  ],
125
126
  "notes": {
126
- "zh-Hans": "- 插件跑在容器里时,配对二维码不再给出拨不通的容器内网地址,改用公网候选或手填地址。\n- 仓库摘要现在带出项目里的全部仓库根,手机上可以切换到并列仓库、子模块和工作树。",
127
- "zh-Hant": "- 外掛在容器裡執行時,配對二維碼不再給出連不上的容器內網位址,改採公網候選或手填位址。\n- 倉庫摘要現在帶出專案裡的全部倉庫根,手機上可以切換到並列倉庫、子模組與工作樹。",
128
- "en": "- When the plugin runs inside a container, the pairing QR code no longer leads with an unreachable container-internal address; it falls back to public candidates or a manually entered address.\n- The repository summary now includes every repository root in the project, so you can switch to sibling repositories, submodules, and worktrees on your phone.",
129
- "ja": "- プラグインがコンテナ内で動いている場合、ペアリング用QRコードに接続できないコンテナ内網アドレスが表示されなくなり、公開アドレス候補または手入力アドレスに切り替わります。\n- リポジトリの概要にプロジェクト内のすべてのリポジトリルートが含まれるようになり、スマートフォンで並列リポジトリ、サブモジュール、ワークツリーに切り替えられます。",
130
- "ko": "- 플러그인이 컨테이너 안에서 실행될 때, 페어링 QR 코드에 연결할 수 없는 컨테이너 내부 주소가 더 이상 표시되지 않고 공개 후보 주소나 직접 입력한 주소를 사용합니다.\n- 저장소 요약에 프로젝트의 모든 저장소 루트가 포함되어, 휴대폰에서 나란한 저장소, 서브모듈, 워크트리로 전환할 수 있습니다.",
131
- "de": "- Wenn das Plugin in einem Container läuft, zeigt der Pairing-QR-Code keine nicht erreichbaren Container-internen Adressen mehr an, sondern greift auf öffentliche Kandidaten oder eine manuell eingegebene Adresse zurück.\n- Die Repository-Übersicht enthält jetzt alle Repository-Wurzeln im Projekt, damit Sie auf dem Telefon zu parallelen Repositories, Submodulen und Worktrees wechseln können.",
132
- "es": "- Cuando el plugin se ejecuta dentro de un contenedor, el código QR de emparejamiento ya no muestra direcciones internas del contenedor a las que no se puede conectar; usa candidatos públicos o una dirección introducida manualmente.\n- El resumen del repositorio ahora incluye todas las raíces de repositorios del proyecto, para que puedas cambiar a repositorios paralelos, submódulos y worktrees desde el teléfono.",
133
- "fr": "- Lorsque le plugin s'exécute dans un conteneur, le code QR d'appariement n'affiche plus d'adresses internes du conteneur inaccessibles ; il repasse sur les candidats publics ou une adresse saisie manuellement.\n- Le résumé du dépôt inclut désormais toutes les racines de dépôts du projet, afin de pouvoir basculer vers les dépôts parallèles, les sous-modules et les worktrees depuis le téléphone.",
134
- "pt": "- Quando o plugin corre dentro de um contentor, o código QR de emparelhamento deixa de mostrar endereços internos do contentor inacessíveis e passa a usar candidatos públicos ou um endereço introduzido manualmente.\n- O resumo do repositório agora inclui todas as raízes de repositórios do projeto, para que possa mudar para repositórios paralelos, submódulos e worktrees no telemóvel.",
135
- "ru": "- Когда плагин работает внутри контейнера, QR-код сопряжения больше не показывает недоступные внутренние адреса контейнера и использует публичные кандидаты или введённый вручную адрес.\n- Сводка репозитория теперь включает все корни репозиториев проекта, чтобы на телефоне можно было переключаться на параллельные репозитории, подмодули и рабочие копии.",
136
- "tr": "- Eklenti bir konteyner içinde çalıştığında, eşleştirme QR kodu artık erişilemeyen konteyner içi adresleri göstermiyor; genel adaylara veya elle girilen bir adrese geçiyor.\n- Depo özeti artık projedeki tüm depo köklerini içeriyor; böylece telefondan yan depolara, alt modüllere ve worktree'lere geçebilirsiniz."
127
+ "zh-Hans": "- 插件更新更稳:停用插件后不再残留旧服务;Windows 上自动更新遇到文件被占用时会稍后重试,不再反复重装回滚。\n- 网络配置面板更好用:首页换成两张大入口卡,协议和注册密钥改用更清晰的按钮与弹窗,并修复了出站协议族的白屏。\n- 以后更新更省心:新增网络线路等改动可以热更新生效,减少重启电脑。",
128
+ "zh-Hant": "- 外掛更新更穩定:停用外掛後不再殘留舊服務;Windows 上自動更新遇到檔案被占用時會稍後重試,不再反覆重裝回滾。\n- 網路設定面板更好用:首頁換成兩張大入口卡,協議與註冊金鑰改用更清楚的按鈕與彈窗,並修正了對外協議族區塊的白屏。\n- 以後更新更省心:新增網路線路等變更可熱更新生效,減少重啟電腦。",
129
+ "en": "- More reliable plugin updates: disabling the plugin no longer leaves old services behind; on Windows, automatic updates that hit a locked file now retry later instead of repeatedly reinstalling and rolling back.\n- A friendlier network settings panel: the home page now uses two large entry cards, protocol and registration-key options use clearer buttons and dialogs, and the white screen in the outbound protocol section is fixed.\n- Easier future updates: new network lines and similar changes can take effect through hot updates, with less need to restart your computer.",
130
+ "ja": "- プラグイン更新がより安定:プラグインを無効化しても古いサービスが残らなくなりました。Windows では、ファイルが使用中で自動更新を進められない場合に後で再試行し、再インストールとロールバックを繰り返さなくなりました。\n- ネットワーク設定パネルが使いやすく:ホーム画面は 2 つの大きな入口カードに、プロトコルと登録キーはより分かりやすいボタンとダイアログに変わり、送信プロトコル欄の白画面も修正されました。\n- 今後の更新がより簡単:新しいネットワーク経路などの変更がホットアップデートで反映され、パソコンの再起動が少なくて済みます。",
131
+ "ko": "- 플러그인 업데이트가 더 안정적입니다: 플러그인을 비활성화해도 이전 서비스가 남지 않습니다. Windows에서는 파일이 사용 중일 때 자동 업데이트가 잠시 후 다시 시도하며, 재설치와 롤백을 반복하지 않습니다.\n- 네트워크 설정 패널이 더 편리해졌습니다: 홈 화면이 두 개의 큰 진입 카드로 바뀌고, 프로토콜과 등록 키는 더 명확한 버튼과 대화상자로 바뀌었으며, 아웃바운드 프로토콜 영역의 흰 화면도 수정되었습니다.\n- 앞으로의 업데이트가 더 간편해집니다: 새로운 네트워크 경로 같은 변경이 핫 업데이트로 적용되어 컴퓨터 재시작이 줄어듭니다.",
132
+ "de": "- Zuverlässigere Plugin-Updates: Das Deaktivieren des Plugins lässt keine alten Dienste mehr zurück; unter Windows versuchen automatische Updates bei einer gesperrten Datei später erneut, statt wiederholt neu zu installieren und zurückzurollen.\n- Benutzerfreundlicheres Netzwerkeinstellungs-Panel: Die Startseite nutzt jetzt zwei große Einstiegskarten, Protokoll- und Registrierungsschlüssel-Optionen nutzen klarere Schaltflächen und Dialoge, und der weiße Bildschirm im Bereich der ausgehenden Protokolle wurde behoben.\n- Einfachere künftige Updates: Neue Netzwerkrouten und ähnliche Änderungen können per Hot-Update wirksam werden, mit weniger Notwendigkeit, den Computer neu zu starten.",
133
+ "es": "- Actualizaciones del plugin más fiables: desactivar el plugin ya no deja servicios antiguos; en Windows, las actualizaciones automáticas que encuentran un archivo bloqueado reintentan más tarde en lugar de reinstalar y revertir una y otra vez.\n- Panel de ajustes de red más cómodo: la página de inicio ahora usa dos tarjetas de entrada grandes, las opciones de protocolo y clave de registro usan botones y diálogos más claros, y se corrigió la pantalla en blanco en la sección de protocolos de salida.\n- Actualizaciones futuras más sencillas: las nuevas rutas de red y cambios similares pueden aplicarse mediante actualizaciones en caliente, con menos necesidad de reiniciar el equipo.",
134
+ "fr": "- Mises à jour du plugin plus fiables : désactiver le plugin ne laisse plus de services anciens ; sous Windows, les mises à jour automatiques qui rencontrent un fichier verrouillé réessaient plus tard au lieu de réinstaller et d'annuler à répétition.\n- Un panneau de réglages réseau plus agréable : la page d'accueil utilise désormais deux grandes cartes d'accès, les options de protocole et de clé d'enregistrement utilisent des boutons et des boîtes de dialogue plus clairs, et l'écran blanc dans la section des protocoles sortants est corrigé.\n- Des mises à jour futures plus simples : les nouvelles routes réseau et changements similaires peuvent prendre effet par mise à jour à chaud, avec moins besoin de redémarrer l'ordinateur.",
135
+ "pt": "- Atualizações do plugin mais confiáveis: desativar o plugin não deixa mais serviços antigos para trás; no Windows, as atualizações automáticas que encontram um arquivo bloqueado tentam novamente mais tarde em vez de reinstalar e reverter repetidamente.\n- Painel de configurações de rede mais amigável: a página inicial agora usa dois cartões de entrada grandes, as opções de protocolo e chave de registro usam botões e diálogos mais claros, e a tela branca na seção de protocolos de saída foi corrigida.\n- Atualizações futuras mais fáceis: novas rotas de rede e mudanças semelhantes podem entrar em vigor por atualização a quente, com menos necessidade de reiniciar o computador.",
136
+ "ru": "- Более надёжные обновления плагина: отключение плагина больше не оставляет старые службы; в Windows автоматические обновления при занятом файле теперь повторяют попытку позже, а не переустанавливают и откатывают снова и снова.\n- Более удобная панель сетевых настроек: главная страница теперь использует две большие карточки входа, параметры протокола и ключа регистрации используют более понятные кнопки и диалоги, а белый экран в разделе исходящих протоколов исправлен.\n- Более простые будущие обновления: новые сетевые маршруты и подобные изменения могут применяться горячим обновлением, и перезагружать компьютер нужно реже.",
137
+ "tr": "- Daha güvenilir eklenti güncellemeleri: eklentiyi devre dışı bırakmak artık eski servisleri geride bırakmıyor; Windows'ta kilitli bir dosyayla karşılaşan otomatik güncellemeler, tekrar tekrar yeniden kurup geri almak yerine daha sonra yeniden deniyor.\n- Daha kullanışlı ağ ayarları paneli: ana sayfa artık iki büyük giriş kartı kullanıyor, protokol ve kayıt anahtarı seçenekleri daha net düğmeler ve iletişim kutuları kullanıyor ve giden protokoller bölümündeki beyaz ekran düzeltildi.\n- Gelecekteki güncellemeler daha kolay: yeni ağ hatları ve benzeri değişiklikler sıcak güncellemeyle etkinleşebiliyor, bilgisayarı yeniden başlatma ihtiyacı azalıyor."
137
138
  }
138
139
  }
139
140
  }