dsh-multipane 1.0.17 → 1.0.18

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/README.md CHANGED
@@ -246,6 +246,9 @@ C:\Users\weiai\.dsh\plugin-src\_probe\sync-client.ps1 -Push # 台式机 ->
246
246
 
247
247
  ## 更新记录
248
248
 
249
+ ### 1.0.18(2026-11-10)
250
+ - 更新弹窗里多一行「检查时间」,一眼看出这个版本号是什么时候问的市场,方便判断是不是缓存滞后。
251
+
249
252
  ### 1.0.17(2026-11-10)
250
253
  - **修「明明有新版本却显示已是最新」**:插件市场对**相同 URL** 有服务端缓存,只带 `force=1` 仍会返回旧结果。
251
254
  现在每次检查都加 `&t=时间戳` 绕过它。(这是我上一版验证时的漏洞:我用手写请求带时间戳测通了,
package/lib/client.js CHANGED
@@ -17,7 +17,7 @@ window.__ModuleLoader__.load({
17
17
  */
18
18
  const PLUGIN_LABEL = "多栏视图";
19
19
  /* 与 package.json 的 version 必须一致(发版时两处同改;check-names.cjs 会校验)。 */
20
- const PLUGIN_VERSION = "1.0.17";
20
+ const PLUGIN_VERSION = "1.0.18";
21
21
  const NPM_LATEST_URL = "https://registry.npmjs.org/dsh-multipane/latest";
22
22
  /* 插件市场的公开更新 API v1(dshmarket 提供,见其 UPDATE-API-V1.md)。
23
23
  它自己负责装包/校验版本/回滚,我们只负责触发和显示结果——
@@ -6469,7 +6469,8 @@ const TAB_LABEL_CHROME_DOT_PX = 46;
6469
6469
  installed,
6470
6470
  latest,
6471
6471
  forceHint: "",
6472
- progress: null
6472
+ progress: null,
6473
+ checkedAt: new Date().toLocaleTimeString("zh-CN", { hour: "2-digit", minute: "2-digit" })
6473
6474
  });
6474
6475
  } else if (compareVersion(latest, installed) > 0) {
6475
6476
  /* 市场看到了更新的版本但暂不放行(新版本观察期,防供应链投毒)。
@@ -6907,6 +6908,7 @@ const TAB_LABEL_CHROME_DOT_PX = 46;
6907
6908
  h("span", null, "新版本"),
6908
6909
  h("b", null, update.latest)
6909
6910
  ),
6911
+ update.checkedAt !== "" ? h("div", { className: "dsv-modal-row" }, h("span", null, "检查时间"), h("b", null, update.checkedAt)) : null,
6910
6912
  update.progress === null || update.progress === void 0
6911
6913
  ? null
6912
6914
  : h(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-multipane",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "Hermes-style tabbed workspace for the DSH main area: drag sessions in, split into up to four columns, close tabs.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",