dsh-remote 0.2.1 → 0.2.2
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/index.js +5 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -26,9 +26,11 @@ const { Client } = ssh2
|
|
|
26
26
|
|
|
27
27
|
export const name = 'dsh-remote'
|
|
28
28
|
|
|
29
|
-
// tools
|
|
30
|
-
//
|
|
31
|
-
|
|
29
|
+
// tools + systemPrompt + webServer are required. webServer is INJECTED (not just
|
|
30
|
+
// lazily read) so this plugin activates only after the web server is up — otherwise
|
|
31
|
+
// apply() runs ahead of webServer and the /dsh-remote/* JSON routes never register
|
|
32
|
+
// (silently: the boot shows no error, but status/ls/workspace return the SPA fallback).
|
|
33
|
+
export const inject = ['tools', 'systemPrompt', 'webServer']
|
|
32
34
|
|
|
33
35
|
export const Config = z.object({
|
|
34
36
|
/** Remote SSH host (empty → the plugin starts disconnected). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-remote",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Remote-work assistant for DeepSeek Harness: connect SSH (password or key) to a remote host, pick a remote workspace directory, and operate on it with remote_list_dir / remote_read_file / remote_exec tools from the agent and a settings-page browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|