@yezack/dsh-remote-mobile 1.9.1 → 1.9.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/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.9.2] - 2026-10-13
9
+
10
+ ### Fixed (修复按新包名发布后插件整包无法加载:包身份不一致)
11
+
12
+ - **背景**:本仓库以 `@yezack/dsh-remote-mobile` 发布(上游 `dsh-remote-mobile` 的 npm 所有权不在本人名下)。DSH 以**包名**作为插件身份,改名后残留的两处旧包名会让整包不可用:
13
+ - **宿主侧**:`cordis.patch.yml` 条目 `name` 仍指向 `dsh-remote-mobile`,loader 解析不到该模块,该 bundle 被跳过(插件完全不激活);
14
+ - **客户端侧**:`lib/client.js` 的 `window.__ModuleLoader__.load({ id })` 仍注册为 `dsh-remote-mobile`,与 `window.__DSH_BOOT__.entries[].id`(等于包名 `@yezack/dsh-remote-mobile`)不匹配,该 row 永远等不到自己的 factory(设置面板等前端功能不加载)。
15
+ - **修复**:`cordis.patch.yml` 条目名与客户端注册 id 改为跟随 `package.json` 的 `name`;`scripts/build-client.js` 的注册 id 与产物自动同步路径不再硬编码包名(统一由 `pkg.name` 推导),从根上避免改名时再次漏改。
16
+ - **测试**:`test/client-bundle.test.js` 新增包身份一致性断言 —— 客户端注册 id、`cordis.patch.yml` 条目 `name` 必须等于 `package.json` 的 `name`,bundle 内联版本号必须跟随包版本。
17
+
18
+ ---
19
+
8
20
  ## [1.9.1] - 2026-10-13
9
21
 
10
22
  ### Fixed (修复授权页无法登录:模板字符串转义与未插值的服务端标识符)
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  <div align="center">
2
2
 
3
+ > **本包是 [IceApriler/dsh-remote-mobile](https://github.com/IceApriler/dsh-remote-mobile) 的 fork**,以 **`@yezack/dsh-remote-mobile`** 名义发布,额外包含「授权页无法登录(模板字符串转义)」与「按新包名加载」等修复。
4
+ > 安装命令请使用:`dsh plugin --profile web add @yezack/dsh-remote-mobile`
5
+ > 下文出现的 `dsh-remote-mobile` 均指本包;插件内部名称与数据目录 `~/.dsh/remote-mobile/` 保持不变,升级不会丢失已有配对与配置。
6
+
3
7
  # dsh-remote-mobile
4
8
 
5
9
  **DeepSeek Harness (DSH) 远程与移动端安全网关插件**
package/README_EN.md CHANGED
@@ -1,5 +1,9 @@
1
1
  <div align="center">
2
2
 
3
+ > **This package is a fork of [IceApriler/dsh-remote-mobile](https://github.com/IceApriler/dsh-remote-mobile)**, published as **`@yezack/dsh-remote-mobile`**, with extra fixes (auth page login failure caused by template-literal escaping; loading under the new package name).
4
+ > Install with: `dsh plugin --profile web add @yezack/dsh-remote-mobile`
5
+ > Every `dsh-remote-mobile` below refers to this fork; the plugin's internal name and its data directory `~/.dsh/remote-mobile/` are unchanged, so existing pairings and settings survive the upgrade.
6
+
3
7
  # dsh-remote-mobile
4
8
 
5
9
  **DeepSeek Harness (DSH) Remote & Mobile Security Guard Plugin**
package/cordis.patch.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  - insert:
2
2
  - id: remote-mobile
3
- name: 'dsh-remote-mobile'
3
+ name: '@yezack/dsh-remote-mobile'
4
4
 
package/lib/client.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * 源码请移步 src/client/ 目录进行模块化开发与维护。
5
5
  */
6
6
  window.__ModuleLoader__.load({
7
- id: "dsh-remote-mobile",
7
+ id: "@yezack/dsh-remote-mobile",
8
8
  factory: function(require) {
9
9
  var module = { exports: {} };
10
10
  var exports = module.exports;
@@ -3538,8 +3538,8 @@ function StylesCard({ lang, showToast }) {
3538
3538
  }
3539
3539
 
3540
3540
  // src/client/version.js
3541
- var PLUGIN_VERSION = "v1.9.1";
3542
- var BUILD_TIME = "2026-10-13 12:07:35";
3541
+ var PLUGIN_VERSION = "v1.9.2";
3542
+ var BUILD_TIME = "2026-10-13 13:09:49";
3543
3543
 
3544
3544
  // src/client/components/MainSection.jsx
3545
3545
  var import_jsx_runtime9 = require("react/jsx-runtime");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yezack/dsh-remote-mobile",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "DeepSeek Harness 远程与移动端安全网关插件:零修改 DSH 底层代码安全开放局域网与 Tailscale 连接 | DeepSeek Harness (DSH) Remote & Mobile Security Guard: safely opens Tailscale/LAN with zero core modifications, QR scan auth, RSA encryption & brute-force defense.",
5
5
  "keywords": [
6
6
  "dsh",