dsh-remote 0.3.2 → 0.3.3
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/lib/client.js +4 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -218,7 +218,10 @@ window.__ModuleLoader__.load({
|
|
|
218
218
|
function apply(ctx) {
|
|
219
219
|
const slots = ctx.get('slots')
|
|
220
220
|
if (slots === undefined) return
|
|
221
|
-
|
|
221
|
+
// workspaces is a client service: read it lazily via ctx.get (the direct
|
|
222
|
+
// property form needs an inject declaration, which a bare plugin can't rely
|
|
223
|
+
// on; the official picker injects the service, we resolve it here instead).
|
|
224
|
+
LOCAL_WORKSPACES = (ctx && ctx.get && ctx.get('workspaces')) || null
|
|
222
225
|
slots.inject('settings.section', () =>
|
|
223
226
|
slots.register({ name: 'settings.section', id: 'dsh-remote', priority: 40, label: () => '远程工作区' }, () => React.createElement(RemoteWorkspacePage, null)),
|
|
224
227
|
)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-remote",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
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",
|