From 4705c5640ca0663034dc04493f4217408513c0e2 Mon Sep 17 00:00:00 2001 From: QQ Date: Thu, 12 Nov 2026 14:55:32 +0800 Subject: [PATCH] Import lib/remote-ssh/index.js --- lib/remote-ssh/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/remote-ssh/index.js b/lib/remote-ssh/index.js index bdab319..a24bf9f 100644 --- a/lib/remote-ssh/index.js +++ b/lib/remote-ssh/index.js @@ -4452,7 +4452,11 @@ function apply(ctx, config) { const rawConfig = config && typeof config === "object" ? config : {}; // ---- 先判断这一代 settings 用哪套 API(issue #34:0.1.5/0.1.6 两套都有)---- - const entryId = ownEntryId(ctx, name) || NS; + // [workspace-groups-remote patch] Inside the merged bundle there is no + // loader row named dsh-remote-ssh: the settings entry lives on the + // bundle's own row, whose composed plugin exports this plugin's Config. + // Resolve that row before falling back to the standalone namespace. + const entryId = ownEntryId(ctx, name) || ownEntryId(ctx, "workspace-groups-remote") || NS; const settingsApi = settingsApiMode(svc, entryId); // ---- 新版(0.1.7-rc.2+):数据在本插件 loader 行的 Config 里 ----