dsh-remote 0.8.60 → 0.8.61

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
@@ -102,10 +102,11 @@ Since **v0.8.18** it installs and mounts only itself; the Web sidebar ([dsh-bett
102
102
 
103
103
  ## Quick start
104
104
 
105
- 1. **Add a machine** — Settings → 远程工作区 → host/port/user + key or password → set it current.
106
- 2. **Open a workspace** — click **Add workspace** in the sidebar / conversation:
105
+ 1. **Connect a machine** — Settings → 远程工作区: the page **lists the hosts from your `~/.ssh/config`** (like VSCode Remote-SSH). Click **Connect** — it adopts the host, makes it current and probes it, with the result shown on that row. A machine that is *not* in your ssh config is one click away under "手动添加(密码 / 私钥 / 跳板机)".
106
+ > **Saved ≠ active:** a saved machine is only a standby connection; only Connect (or the agent's `rw_connect`) puts it into the session's remote context.
107
+ 2. **Open a workspace** — the folder picker opens right after a successful connect (or click **选目录** on any saved machine):
108
+ - **Remote** → browse to a remote directory (or type `/path`) → "设为远程工作区" ⇒ a local mirror workspace is created and adopted.
107
109
  - **Local** → system folder chooser (or type a path) → local workspace. Falls back to the in-app browser when no OS dialog exists.
108
- - **Remote** → choose the machine → browse to a remote directory (or type `/path`) → "设为远程工作区" ⇒ a local mirror workspace is created and adopted.
109
110
  3. **Work with the agent** — treat it like any workspace: `rw_read_file` / `rw_write_file` / `rw_edit` / `rw_exec` / `rw_search` / `rw_sync` / `rw_push` / `rw_forward` (full list above).
110
111
 
111
112
  > **Remote context is session-scoped:** the "Remote workspace" system-prompt section appears only when the current session's workspace is a remote mirror; local sessions are unaffected and the model will not call `rw_*` on its own.
package/README.md CHANGED
@@ -92,11 +92,12 @@ dsh plugin add dsh-remote
92
92
 
93
93
  ## 快速上手
94
94
 
95
- 1. **加一台机器** —— 设置 → 远程工作区 → 填 host/port/user + 密码或 key → 设为当前。
96
- > **保存 ≠ 激活**:保存只是备用连接;只有「设为当前」(或 Agent 调 `rw_connect`)才进入会话的 remote context。
97
- 2. **选工作区** —— 点侧边栏/会话的 **Add workspace**:
95
+ 1. **连接一台机器** —— 设置 → 远程工作区:页面**直接列出 `~/.ssh/config` 里的主机**(像 VSCode Remote-SSH),点「连接」即可(= 采用 + 设为当前 + 实测延迟,结果显示在这一行上)。
96
+ 没有写进 ssh 配置的机器,展开「手动添加(密码 / 私钥 / 跳板机)」填一次即可。
97
+ > **保存 ≠ 激活**:保存只是备用连接;只有「连接」(或 Agent 调 `rw_connect`)才进入会话的 remote context。
98
+ 2. **选工作区** —— 连上之后会自动弹出目录选择(也可以点机器行的「选目录」):
99
+ - **远程** → 浏览到远程目录(或输入 `/path`)→ 「设为远程工作区」⇒ 创建并收养本地镜像工作区。
98
100
  - **本机** → 系统文件夹选择(或手输路径)→ 本地工作区。宿主没有可用系统对话框时改用插件内置浏览器。
99
- - **远程** → 选机器 → 浏览到远程目录(或输入 `/path`)→ 「设为远程工作区」⇒ 创建并收养本地镜像工作区。
100
101
  3. **让 Agent 工作** —— 当作普通工作区使用,例如 `rw_read_file` / `rw_write_file` / `rw_edit` / `rw_exec` / `rw_search` / `rw_sync` / `rw_push` / `rw_forward`(完整列表见上文)。
101
102
 
102
103
  > **Remote context 是 session 级的**:只有当前 session 的工作区是某个远程镜像时,system prompt 才注入「Remote workspace」段落;普通本地 session 不受影响,模型也不会主动调 `rw_*`。