@jingyi0605/codingns4dsh 0.2.2-beta.3 → 0.2.2-beta.4

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.en.md CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  [简体中文](README.md) · **English**
13
13
 
14
- **Current release `@jingyi0605/codingns4dsh@0.2.2-beta.3`** · DSH minimum **`0.2.1-alpha.2`** (tested with `0.2.2-rc.1`; newer versions warn but do not block installation or operation) · Node **`>= 24.9`** · macOS / Linux / Windows
14
+ **Current release `@jingyi0605/codingns4dsh@0.2.2-beta.4`** · DSH minimum **`0.2.1-alpha.2`** (tested with `0.2.2-rc.1`; newer versions warn but do not block installation or operation) · Node **`>= 24.9`** · macOS / Linux / Windows
15
15
 
16
16
  **[GitHub](https://github.com/jingyi0605/Codingns4DSH)** · **[npm](https://www.npmjs.com/package/@jingyi0605/codingns4dsh)** · **QQ group 1092985965** · **[WeChat / QQ QR codes](#community)**
17
17
 
@@ -225,7 +225,7 @@ The account menu shows login status, access method, connection latency and Host
225
225
  ### Use the Built-in Web Profile
226
226
 
227
227
  ```bash
228
- dsh plugin --profile web add @jingyi0605/codingns4dsh@0.2.2-beta.3
228
+ dsh plugin --profile web add @jingyi0605/codingns4dsh@0.2.2-beta.4
229
229
  dsh web
230
230
  ```
231
231
 
@@ -235,7 +235,7 @@ Create a separate environment from the built-in Web profile:
235
235
 
236
236
  ```bash
237
237
  dsh codingns --from-default-profile web --dump-config
238
- dsh plugin --profile codingns add @jingyi0605/codingns4dsh@0.2.2-beta.3
238
+ dsh plugin --profile codingns add @jingyi0605/codingns4dsh@0.2.2-beta.4
239
239
  dsh codingns
240
240
  ```
241
241
 
@@ -284,7 +284,7 @@ The WeChat and QQ groups are for questions, feedback and release announcements
284
284
  </table>
285
285
  </div>
286
286
 
287
- The WeChat QR code is generated dynamically by WeChat and is **valid for 7 days** (this image was captured on 2026-10-21 and states it expires on October 28); re-open the group's share page for a fresh code once it lapses, or ask in [GitHub Issues](https://github.com/jingyi0605/Codingns4DSH/issues). The QQ group QR code and group number do not expire.
287
+ The WeChat QR code is generated dynamically by WeChat and is **valid for 7 days** (this image was captured on 2026-11-06 and states it expires on November 13); re-open the group's share page for a fresh code once it lapses, or ask in [GitHub Issues](https://github.com/jingyi0605/Codingns4DSH/issues). The QQ group QR code and group number do not expire.
288
288
 
289
289
  ---
290
290
 
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  **简体中文** · [English](README.en.md)
13
13
 
14
- **当前版本 `@jingyi0605/codingns4dsh@0.2.2-beta.3`** · DSH 最低版本 **`0.2.1-alpha.2`**(已验证 `0.2.2-rc.1`;更新版本仅告警,不阻止安装或运行)· Node **`>= 24.9`** · macOS / Linux / Windows
14
+ **当前版本 `@jingyi0605/codingns4dsh@0.2.2-beta.4`** · DSH 最低版本 **`0.2.1-alpha.2`**(已验证 `0.2.2-rc.1`;更新版本仅告警,不阻止安装或运行)· Node **`>= 24.9`** · macOS / Linux / Windows
15
15
 
16
16
  **[GitHub](https://github.com/jingyi0605/Codingns4DSH)** · **[npm](https://www.npmjs.com/package/@jingyi0605/codingns4dsh)** · **QQ 群 1092985965** · **[微信群 / QQ 群二维码](#交流群)**
17
17
 
@@ -244,7 +244,7 @@ DSH 原生会话的翻译默认关闭,可在会话模型选择菜单中开启
244
244
  ### 使用内置 Web 配置
245
245
 
246
246
  ```bash
247
- dsh plugin --profile web add @jingyi0605/codingns4dsh@0.2.2-beta.3
247
+ dsh plugin --profile web add @jingyi0605/codingns4dsh@0.2.2-beta.4
248
248
  dsh web
249
249
  ```
250
250
 
@@ -254,7 +254,7 @@ dsh web
254
254
 
255
255
  ```bash
256
256
  dsh codingns --from-default-profile web --dump-config
257
- dsh plugin --profile codingns add @jingyi0605/codingns4dsh@0.2.2-beta.3
257
+ dsh plugin --profile codingns add @jingyi0605/codingns4dsh@0.2.2-beta.4
258
258
  dsh codingns
259
259
  ```
260
260
 
@@ -303,7 +303,7 @@ dsh codingns
303
303
  </table>
304
304
  </div>
305
305
 
306
- 微信群二维码由微信动态生成,**7 天内有效**(本图截取自 2026-10-21,标注「10 月 28 日前」有效),过期后重新进入群分享页会得到新码,也可在 [GitHub Issues](https://github.com/jingyi0605/Codingns4DSH/issues) 留言索取;QQ 群二维码与群号长期有效。
306
+ 微信群二维码由微信动态生成,**7 天内有效**(本图截取自 2026-11-06,标注「11 月 13 日前」有效),过期后重新进入群分享页会得到新码,也可在 [GitHub Issues](https://github.com/jingyi0605/Codingns4DSH/issues) 留言索取;QQ 群二维码与群号长期有效。
307
307
 
308
308
  ---
309
309
 
@@ -5704,7 +5704,7 @@ window.__ModuleLoader__.load({
5704
5704
  return /^0\.1\.5(?:-|$)/u.test(version);
5705
5705
  }
5706
5706
  /** Codingns4DSH 插件自身的 npm 版本。 */
5707
- const CODINGNS_VERSION = "0.2.2-beta.3";
5707
+ const CODINGNS_VERSION = "0.2.2-beta.4";
5708
5708
  /** Accept any valid host version at or above the supported minimum. */
5709
5709
  function isDshVersionCompatible(version) {
5710
5710
  return isDshVersionAtLeast(version, minimumSupportedDshVersion());
@@ -34831,7 +34831,7 @@ html[data-codingns-mobile-sidebar="on"] .codingns-magpie-page{padding-left:0;--m
34831
34831
  stroke: "currentColor",
34832
34832
  strokeWidth: 2,
34833
34833
  "aria-hidden": true
34834
- }, (0, react.createElement)("path", { d: "M7 8h10" }), (0, react.createElement)("path", { d: "M7 12h8" }), (0, react.createElement)("path", { d: "M7 16h5" }), (0, react.createElement)("path", { d: "M5 5h14v14H9l-4 4V5z" }))), open && (0, react.createElement)("div", {
34834
+ }, (0, react.createElement)("path", { d: "M7 8h10" }), (0, react.createElement)("path", { d: "M7 12h8" }), (0, react.createElement)("path", { d: "M7 16h5" }), (0, react.createElement)("path", { d: "M5 5h14v14H9l-4 4V5z" }))), open && renderInBody((0, react.createElement)("div", {
34835
34835
  className: "codingns4dsh-quick-phrase-overlay",
34836
34836
  role: "dialog",
34837
34837
  "aria-label": t("workspace.quickPhrasesDialogLabel"),
@@ -34907,7 +34907,7 @@ html[data-codingns-mobile-sidebar="on"] .codingns-magpie-page{padding-left:0;--m
34907
34907
  title: t("workspace.quickPhrasesDelete"),
34908
34908
  onClick: () => removePhrase(phrase.id),
34909
34909
  style: quickPhraseDeleteStyle
34910
- }, "×")))))), addOpen && (0, react.createElement)("div", {
34910
+ }, "×"))))))), addOpen && renderInBody((0, react.createElement)("div", {
34911
34911
  className: "codingns4dsh-quick-phrase-overlay",
34912
34912
  role: "dialog",
34913
34913
  "aria-label": t("workspace.quickPhrasesAddDialogLabel"),
@@ -34956,7 +34956,14 @@ html[data-codingns-mobile-sidebar="on"] .codingns-magpie-page{padding-left:0;--m
34956
34956
  disabled: saving || newPhrase.trim() === "",
34957
34957
  onClick: addPhrase,
34958
34958
  style: quickPhraseAddButtonStyle
34959
- }, t("workspace.quickPhrasesAdd"))))));
34959
+ }, t("workspace.quickPhrasesAdd")))))));
34960
+ }
34961
+ /**
34962
+ * 弹层挂到 body 下。宿主工具栏行带 `container-type: inline-size`(布局包含),
34963
+ * 会让 position:fixed 的后代相对该行定位而不是视口,导致弹层位置漂移。
34964
+ */
34965
+ function renderInBody(node) {
34966
+ return typeof document === "undefined" ? node : (0, import_react_dom.createPortal)(node, document.body);
34960
34967
  }
34961
34968
  function findAddButton(root) {
34962
34969
  let scope = root.parentElement;
@@ -60603,8 +60610,9 @@ button[${ACCOUNT_ATTRIBUTE}]:focus-visible{outline:2px solid ${dshThemeColor.lab
60603
60610
  /**
60604
60611
  * 在 DSH 原生"添加工作区"对话框里追加一个"远程 HOST"标签页。
60605
60612
  *
60606
- * 原生对话框由 `@deepseek-ai/dsh-client-ui-directory-picker-browse` 通过
60607
- * `sidebar.workspaces.directoryFlow`(single 插槽)渲染。single 插槽只能有一个
60613
+ * When the adaptive picker resolves to the browse surface,
60614
+ * `@deepseek-ai/dsh-client-ui-directory-picker-browse` renders the dialog through
60615
+ * `sidebar.workspaces.directoryFlow` (the single slot). That slot can have only one
60608
60616
  * 胜出者,抢占它等于整个替换原生组件——而用户要的是**原生主体保持不变**,只多
60609
60617
  * 一个入口。因此这里不碰插槽,改为在原生对话框的 DOM 上就地追加标签页:
60610
60618
  *
@@ -67398,7 +67406,7 @@ button.${settingsPromoClass.version}:focus-visible{${focusRing}}
67398
67406
  return (0, react.createElement)("aside", {
67399
67407
  className: settingsPromoClass.root,
67400
67408
  "aria-label": t("settings.promo.sectionLabel")
67401
- }, (0, react.createElement)("div", { className: settingsPromoClass.row }, (0, react.createElement)("div", { className: settingsPromoClass.brand }, (0, react.createElement)("div", { className: settingsPromoClass.headline }, (0, react.createElement)(StarBurstIcon, { className: settingsPromoClass.logo }), (0, react.createElement)("h3", { className: settingsPromoClass.title }, t("common.brand"))), versionControl ?? (0, react.createElement)("span", { className: settingsPromoClass.version }, t("settings.promo.version", { version: "0.2.2-beta.3" }))), (0, react.createElement)("p", { className: settingsPromoClass.text }, t("settings.promo.starHint"), (0, react.createElement)("span", {
67409
+ }, (0, react.createElement)("div", { className: settingsPromoClass.row }, (0, react.createElement)("div", { className: settingsPromoClass.brand }, (0, react.createElement)("div", { className: settingsPromoClass.headline }, (0, react.createElement)(StarBurstIcon, { className: settingsPromoClass.logo }), (0, react.createElement)("h3", { className: settingsPromoClass.title }, t("common.brand"))), versionControl ?? (0, react.createElement)("span", { className: settingsPromoClass.version }, t("settings.promo.version", { version: "0.2.2-beta.4" }))), (0, react.createElement)("p", { className: settingsPromoClass.text }, t("settings.promo.starHint"), (0, react.createElement)("span", {
67402
67410
  className: settingsPromoClass.hand,
67403
67411
  "aria-hidden": true
67404
67412
  }, "👉")), (0, react.createElement)("a", {
@@ -67455,7 +67463,7 @@ button.${settingsPromoClass.version}:focus-visible{${focusRing}}
67455
67463
  };
67456
67464
  }
67457
67465
  // src/client/update-store.ts
67458
- const DEFAULT_PLUGIN_UPDATE_CHANNEL = "0.2.2-beta.3".includes("-") ? "next" : "latest";
67466
+ const DEFAULT_PLUGIN_UPDATE_CHANNEL = "0.2.2-beta.4".includes("-") ? "next" : "latest";
67459
67467
  var PluginUpdateStore = class {
67460
67468
  rpc;
67461
67469
  snapshot = {
@@ -80576,5 +80584,5 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
80576
80584
  });
80577
80585
 
80578
80586
  })();
80579
- // codingns-client-revision: d7fd015acf2d836861bd6b30c51a1e95a0599cbafa97f7df0d821837435e8b72
80587
+ // codingns-client-revision: a5839240dc9c264b1d1bc825a3ac287f298f6be2691b2401b13a229a7a51ea0d
80580
80588
  //# sourceMappingURL=bundle.js.map