dsh-remote 0.4.0 → 0.4.1

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.
Files changed (2) hide show
  1. package/lib/client.js +5 -1
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -175,7 +175,11 @@ window.__ModuleLoader__.load({
175
175
  ),
176
176
  tab === 'local'
177
177
  ? React.createElement('div', { style: { display: 'flex', flexDirection: 'column', gap: 8 } },
178
- React.createElement('div', { style: { fontSize: 12, opacity: 0.8 } }, '点击按钮打开系统文件夹选择器,选中本地目录即作为本地工作区。'),
178
+ React.createElement('div', { style: { fontSize: 12, opacity: 0.8 } }, '系统选择器优先;不可用时直接输入本机目录。'),
179
+ React.createElement('div', { style: { display: 'flex', gap: 6 } },
180
+ React.createElement('input', { value: path, onChange: (e) => setPath(e.target.value), placeholder: '本机目录,如 C:\\Users\\you\\project', style: inputS }),
181
+ React.createElement('button', { style: buttonS, onClick: () => (path.trim() ? onPicked(path) : undefined), disabled: !path.trim() }, '选用此本地路径'),
182
+ ),
179
183
  React.createElement('button', { style: buttonS, onClick: chooseLocal, disabled: loading }, '打开系统文件夹选择器'),
180
184
  )
181
185
  : React.createElement('div', { style: { display: 'flex', flexDirection: 'column', gap: 8 } },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-remote",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Remote-work assistant for DeepSeek Harness: connect SSH (password or key), pick a remote workspace, operate on it with rw_pick_workspace / rw_list_dir / rw_read_file / rw_exec / rw_sync tools, and mirror it to a real local directory (SFTP) so the DSH native workspace can adopt it.",
5
5
  "keywords": [
6
6
  "deepseek-harness",