dsh-everywhere 0.0.0-stage → 0.1.0
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/CHANGELOG.md +486 -0
- package/DISCLOSURE +164 -0
- package/LICENSE +21 -0
- package/README.en.md +330 -0
- package/README.md +333 -2
- package/SKILL-soul.md +96 -0
- package/SKILL.md +81 -0
- package/client/client.js +6914 -0
- package/cordis.patch.yml +5 -0
- package/docs/DSH-Everywhere.md +293 -0
- package/docs/guide/00-/345/205/210/351/200/211/344/270/200/346/235/241/350/267/257.md +17 -0
- package/docs/guide/01-/345/206/205/347/275/221.md +21 -0
- package/docs/guide/02-Tailscale.md +23 -0
- package/docs/guide/03-/345/205/254/347/275/221/351/232/247/351/201/223.md +57 -0
- package/docs/guide/04-/346/211/213/345/212/250/345/205/254/347/275/221/345/234/260/345/235/200.md +115 -0
- package/docs/guide/05-/345/205/261/344/272/253/345/233/272/345/256/232/345/234/260/345/235/200.md +34 -0
- package/docs/guide/06-/344/270/223/345/261/236/345/233/272/345/256/232/345/234/260/345/235/200.md +25 -0
- package/docs/guide/07-/350/207/252/345/273/272/344/270/255/347/273/247.md +30 -0
- package/docs/guide/08-/350/207/252/345/273/272/345/244/232/347/224/250/346/210/267/344/270/255/347/273/247.md +45 -0
- package/docs/guide/09-/350/277/236/344/270/215/344/270/212/346/200/216/344/271/210/345/212/236.md +33 -0
- package/docs/guide/10-/346/211/213/346/234/272/350/277/236/346/216/245/344/270/216/345/257/206/347/240/201.md +50 -0
- package/docs/guide/11-/347/224/265/350/204/221/344/270/216/350/256/276/345/244/207.md +33 -0
- package/docs/guide/12-A-B/347/253/257/345/215/217/344/275/234.md +50 -0
- package/docs/guide/13-B/351/241/271/347/233/256.md +37 -0
- package/docs/guide/14-/351/243/236/344/271/246/351/200/232/347/237/245.md +32 -0
- package/docs/guide/15-/350/207/252/346/243/200/344/270/216/350/277/233/351/230/266/350/256/276/347/275/256.md +40 -0
- package/docs/guide/16-/350/277/234/347/250/213/347/252/227/345/217/243.md +37 -0
- package/docs/guide/17-/345/217/202/346/225/260/344/270/216/347/224/237/346/225/210/346/226/271/345/274/217.md +31 -0
- package/lib/agent-cli.mjs +104 -0
- package/lib/agent-client.js +555 -0
- package/lib/agent-hub.js +449 -0
- package/lib/agent-tools.js +297 -0
- package/lib/art/work-1-ready.webp +0 -0
- package/lib/art/work-2-reading.webp +0 -0
- package/lib/art/work-3-typing.webp +0 -0
- package/lib/art/work-4-checking.webp +0 -0
- package/lib/art/work-5-thinking.webp +0 -0
- package/lib/art/work-6-running.webp +0 -0
- package/lib/art/work-7-waiting.webp +0 -0
- package/lib/art/work-8-sprinting.webp +0 -0
- package/lib/art/work-9-talking.webp +0 -0
- package/lib/b-agent-preset.js +62 -0
- package/lib/b-agent-schedule.js +134 -0
- package/lib/b-relay-client.js +92 -0
- package/lib/b-relay-identity.js +71 -0
- package/lib/b-relay-provider.js +406 -0
- package/lib/bridge.js +383 -0
- package/lib/browse.js +233 -0
- package/lib/build.js +99 -0
- package/lib/cloudflared.js +165 -0
- package/lib/commands.js +172 -0
- package/lib/devices.js +410 -0
- package/lib/events.js +259 -0
- package/lib/export-md.js +31 -0
- package/lib/frpc-download.js +73 -0
- package/lib/history.js +90 -0
- package/lib/index.js +9614 -0
- package/lib/lark.js +1154 -0
- package/lib/log-tail.js +239 -0
- package/lib/manual-url.js +25 -0
- package/lib/mirror.js +1900 -0
- package/lib/multi-relay-client.js +174 -0
- package/lib/multi-relay-identity.js +78 -0
- package/lib/multi-relay-provider.js +503 -0
- package/lib/multi-relay-ticket.js +69 -0
- package/lib/net.js +104 -0
- package/lib/notify.js +82 -0
- package/lib/office-text.js +149 -0
- package/lib/page-app.js +1931 -0
- package/lib/page-core.js +1147 -0
- package/lib/page-diff.js +90 -0
- package/lib/page-files.js +337 -0
- package/lib/page-markdown.js +218 -0
- package/lib/page-mask.js +97 -0
- package/lib/page-math.js +104 -0
- package/lib/page-nav.js +1800 -0
- package/lib/page-render.js +854 -0
- package/lib/page-scrollprobe.js +173 -0
- package/lib/page-search.js +40 -0
- package/lib/page-trajectory.js +798 -0
- package/lib/page-ui.js +1279 -0
- package/lib/page.css +1795 -0
- package/lib/page.html +563 -0
- package/lib/page.js +278 -0
- package/lib/pairing.js +389 -0
- package/lib/pending-view.js +27 -0
- package/lib/permissions.js +166 -0
- package/lib/phone-aim.js +200 -0
- package/lib/phone-lock.js +139 -0
- package/lib/phone-log.js +41 -0
- package/lib/phone-task.js +81 -0
- package/lib/proxy-compat.js +162 -0
- package/lib/relay-client.js +68 -0
- package/lib/relay-identity.js +68 -0
- package/lib/relay-provider.js +271 -0
- package/lib/remotes.js +279 -0
- package/lib/self-relay.js +326 -0
- package/lib/serve.js +365 -0
- package/lib/server.js +3873 -0
- package/lib/session-meta-cache.js +100 -0
- package/lib/soul/dir-sync.js +259 -0
- package/lib/soul/env.js +107 -0
- package/lib/soul/export.js +421 -0
- package/lib/soul/inspect.js +163 -0
- package/lib/soul/local-plugin.js +155 -0
- package/lib/soul/migrate.js +1030 -0
- package/lib/soul/pack.js +167 -0
- package/lib/soul/plugin-data-registry.js +209 -0
- package/lib/soul/plugin-data.js +193 -0
- package/lib/soul/prefs.js +43 -0
- package/lib/soul/routes.js +474 -0
- package/lib/soul/secrets.js +175 -0
- package/lib/soul/session-log.js +104 -0
- package/lib/soul/sessions.js +286 -0
- package/lib/soul/tools.js +229 -0
- package/lib/store.js +845 -0
- package/lib/subagent-cache.js +63 -0
- package/lib/sw.js +39 -0
- package/lib/title-cache.js +122 -0
- package/lib/todo-summary.js +98 -0
- package/lib/trajectory.js +858 -0
- package/lib/tree.js +592 -0
- package/lib/tunnel-supervisor.js +361 -0
- package/lib/tunnel.js +246 -0
- package/lib/vendor/katex/README.md +9 -0
- package/lib/vendor/katex/fonts/KaTeX_AMS-Regular.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Main-Bold.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Main-Italic.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Main-Regular.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Math-Italic.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Script-Regular.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Size1-Regular.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Size2-Regular.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Size3-Regular.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Size4-Regular.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- package/lib/vendor/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/lib/vendor/katex/katex.min.css +1 -0
- package/lib/vendor/katex/katex.min.js +1 -0
- package/lib/vendor/pdfjs/README.md +10 -0
- package/lib/vendor/pdfjs/pdf.min.js +22 -0
- package/lib/vendor/pdfjs/pdf.worker.min.js +22 -0
- package/package.json +99 -4
- package/scripts/soul-offline-rollback.mjs +165 -0
package/DISCLOSURE
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
dsh-everywhere — DISCLOSURE (dual-use content)
|
|
2
|
+
================================================================
|
|
3
|
+
|
|
4
|
+
This file declares the security-relevant ("dual-use") capabilities of this
|
|
5
|
+
package, as required by the npm Dual-Use Content Policy
|
|
6
|
+
(https://docs.npmjs.com/policies/dual-use). It describes what the software can
|
|
7
|
+
do and what it is legitimately for.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
WHAT THIS PACKAGE IS
|
|
11
|
+
----------------------------------------------------------------
|
|
12
|
+
dsh-everywhere is a host plugin for DeepSeek Harness (DSH), a desktop AI
|
|
13
|
+
harness. A user installs it on a computer they own and operate, and then uses
|
|
14
|
+
their own phone to reach that same computer.
|
|
15
|
+
|
|
16
|
+
It is not a service. There is no backend operated by the maintainer, no
|
|
17
|
+
telemetry, no analytics, and no code that executes on any machine other than
|
|
18
|
+
the one that installed the plugin and the device the owner paired to it.
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
CLASSIFICATION
|
|
22
|
+
----------------------------------------------------------------
|
|
23
|
+
This package is a tool "designed and documented explicitly", in the sense of the
|
|
24
|
+
Acceptable Content section of the npm Open Source Terms:
|
|
25
|
+
|
|
26
|
+
"Content containing malicious computer code ... Tools designed and documented
|
|
27
|
+
explicitly to assist in security research are acceptable, but exploits and
|
|
28
|
+
malware that use the npm registry as a deployment or delivery vector are not."
|
|
29
|
+
|
|
30
|
+
To be explicit about which side of that line this package sits on:
|
|
31
|
+
|
|
32
|
+
- It is not malicious code. It does not self-propagate, does not hide its
|
|
33
|
+
behaviour, does not hook or modify other processes, and does not persist
|
|
34
|
+
beyond the plugin's own installation directory.
|
|
35
|
+
- It is not a deployment or delivery vector. The package ships no executable
|
|
36
|
+
files. The two external tunnel programs described below are downloaded only
|
|
37
|
+
after the owner enables the corresponding feature; frpc is checked against a
|
|
38
|
+
pinned SHA-256 hash before use. The Android application referenced by the
|
|
39
|
+
project is installed by the owner from a release the project publishes, not
|
|
40
|
+
delivered through the registry.
|
|
41
|
+
- Every capability that could be mistaken for malicious behaviour is listed
|
|
42
|
+
below by name, with its switch, its default, and how it is authorised.
|
|
43
|
+
- All security-relevant features are off by default. A fresh install listens on
|
|
44
|
+
the loopback interface only and accepts no remote device until the machine's
|
|
45
|
+
owner turns remote access on and pairs a device with a one-time code.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
CAPABILITIES THAT AUTOMATED SCANNING MAY FLAG
|
|
49
|
+
----------------------------------------------------------------
|
|
50
|
+
1. Remote command execution.
|
|
51
|
+
Once a phone is paired, the owner can send shell commands to the host
|
|
52
|
+
computer and read their output. Used to run build, test, and git commands
|
|
53
|
+
from the phone.
|
|
54
|
+
|
|
55
|
+
2. File read and write on the host.
|
|
56
|
+
Restricted to folders the owner explicitly lists in the host settings. Paths
|
|
57
|
+
outside that list are rejected by the host, not by the client.
|
|
58
|
+
|
|
59
|
+
3. Screen capture and input on a paired Android device.
|
|
60
|
+
The companion Android application can show the phone screen and inject taps
|
|
61
|
+
and text. This requires the device owner to grant the Android accessibility
|
|
62
|
+
service; without that grant the capability is unavailable.
|
|
63
|
+
|
|
64
|
+
4. Tunnelling.
|
|
65
|
+
- This package ships **no executable files of any kind**. At runtime it can
|
|
66
|
+
use three external programs: Cloudflare's cloudflared, FRP's client frpc,
|
|
67
|
+
and a Tailscale-compatible node.
|
|
68
|
+
- How those programs arrive is stated plainly, because it matters:
|
|
69
|
+
* cloudflared: if neither a configured path, nor PATH, nor a copy already
|
|
70
|
+
downloaded by the dsh-pocket plugin is available, the plugin downloads
|
|
71
|
+
it once from Cloudflare's official GitHub releases (with mirror
|
|
72
|
+
fallbacks) into its own data directory. About 50 MB, one time, and only
|
|
73
|
+
after the owner turns on a tunnel.
|
|
74
|
+
* frpc: downloaded on demand, with the same pattern as cloudflared, from
|
|
75
|
+
this project's own GitHub releases. Its SHA-256 is pinned in the source
|
|
76
|
+
and checked after download; a mismatch is discarded. About 16 MB, one
|
|
77
|
+
time, only when the owner switches on a relay they host themselves.
|
|
78
|
+
* Tailscale: whatever the owner installed; the plugin only reads its
|
|
79
|
+
local socket or CLI.
|
|
80
|
+
- No program is started without an explicit action by the owner switching
|
|
81
|
+
that feature on.
|
|
82
|
+
- The FRP client is Apache-2.0 licensed; its licence text and provenance
|
|
83
|
+
notes now live in the repository under tools/, beside the binary, rather
|
|
84
|
+
than inside the published package.
|
|
85
|
+
- Earlier versions (0.2.x through 0.3.1) bundled frpc.exe for convenience.
|
|
86
|
+
Since 0.3.1 that binary and the relay deployment script moved out of the
|
|
87
|
+
published package to the project's repository and releases, so the
|
|
88
|
+
registry copy contains only JavaScript, stylesheets, images and text.
|
|
89
|
+
- Deploying the optional relay server is described in the repository
|
|
90
|
+
(relay-server/), not shipped here.
|
|
91
|
+
|
|
92
|
+
5. A local HTTP server and a WebSocket stream.
|
|
93
|
+
Bound to the host, serving the phone page and the live session stream. Access
|
|
94
|
+
requires either a password, a device credential issued at pairing time, or,
|
|
95
|
+
from the loopback interface only, no credential at all.
|
|
96
|
+
|
|
97
|
+
6. Optional integrations.
|
|
98
|
+
Feishu (Lark) notifications, and execution of scheduled tasks. Both are off
|
|
99
|
+
unless the owner configures them.
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
THIRD-PARTY CODE INSIDE THE TARBALL
|
|
103
|
+
----------------------------------------------------------------
|
|
104
|
+
About 1.7 MB of the package is unmodified, minified builds of two upstream
|
|
105
|
+
front-end libraries, shipped so the phone page can render documents and maths
|
|
106
|
+
without fetching anything from a CDN at runtime:
|
|
107
|
+
|
|
108
|
+
- PDF.js (Mozilla, Apache-2.0): pdf.min.js and pdf.worker.min.js, used to show
|
|
109
|
+
PDF attachments inline.
|
|
110
|
+
- KaTeX (MIT): katex.min.js, katex.min.css and its font files, used to render
|
|
111
|
+
mathematical notation.
|
|
112
|
+
|
|
113
|
+
They are minified because that is how upstream publishes them; they are not
|
|
114
|
+
obfuscated, and they are upstream artefacts: pdfjs-dist 3.11.174 (legacy build)
|
|
115
|
+
and katex 0.16.11, each with a README in lib/vendor/ naming its source. Nothing here is first-party code, and neither
|
|
116
|
+
library performs network, process or filesystem operations beyond rendering.
|
|
117
|
+
|
|
118
|
+
The plugin's own code is plain, unminified JavaScript under lib/ and client/.
|
|
119
|
+
|
|
120
|
+
package.json also declares third-party identifiers (`foo/bar` form); those are
|
|
121
|
+
standard Cordis service names, not URLs or commands.
|
|
122
|
+
|
|
123
|
+
HOW ACCESS IS AUTHORISED
|
|
124
|
+
----------------------------------------------------------------
|
|
125
|
+
- The host is closed to other devices until the owner turns on remote access.
|
|
126
|
+
- Pairing requires a one-time six-digit code that is displayed on the host.
|
|
127
|
+
- The owner chooses, per paired computer and per permission, whether the other
|
|
128
|
+
side may write files, run commands, or manage folders.
|
|
129
|
+
- Every capability can be revoked from the host settings page at any time.
|
|
130
|
+
- Nothing is enabled by default: a fresh install answers only on loopback and
|
|
131
|
+
accepts no remote device.
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
INTENDED LEGITIMATE USE
|
|
135
|
+
----------------------------------------------------------------
|
|
136
|
+
Using one's own phone to operate one's own development computer: reading the
|
|
137
|
+
session, replying to the agent, running commands, reviewing files, and getting
|
|
138
|
+
notified when a long task finishes. The same plugin also lets the owner drive a
|
|
139
|
+
second computer they own, and lets a paired phone be operated from the desktop.
|
|
140
|
+
|
|
141
|
+
The typical user is a developer working on a personal machine, often away from
|
|
142
|
+
the desk, who wants the same session on the phone without exposing the machine
|
|
143
|
+
to the public internet.
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
OUT OF SCOPE / NOT SUPPORTED
|
|
147
|
+
----------------------------------------------------------------
|
|
148
|
+
The package contains no persistence mechanism, no privilege escalation, no
|
|
149
|
+
credential harvesting, no obfuscated payload, no executable binaries, and no
|
|
150
|
+
mechanism for a third party to obtain access without the owner generating a
|
|
151
|
+
pairing code on the host. It
|
|
152
|
+
does not ship a keylogger, does not read files outside the authorised folders,
|
|
153
|
+
and does not communicate with any server operated by the maintainer.
|
|
154
|
+
|
|
155
|
+
It is also not a general-purpose tunnelling product sold as a service, and it
|
|
156
|
+
does not ship exploits. If a future version ever gains a capability that could
|
|
157
|
+
be read as an exploit or as a delivery mechanism for someone else's code, it
|
|
158
|
+
will be documented here before it ships.
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
CONTACT
|
|
162
|
+
----------------------------------------------------------------
|
|
163
|
+
Repository: https://github.com/xingzhen199186/dsh-everywhere
|
|
164
|
+
Issues: https://github.com/xingzhen199186/dsh-everywhere/issues
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 xingzhen199186
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.en.md
ADDED
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# DSH Everywhere · dsh-everywhere
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
<img src="https://raw.githubusercontent.com/xingzhen199186/dsh-everywhere/main/docs/promo.webp" alt="Minimal Remote: view instructions, conclusions, and execution details on your phone when you need them" width="720" />
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
**Use DeepSeek Harness anywhere, and change the world.**
|
|
10
|
+
|
|
11
|
+
[](https://github.com/xingzhen199186/dsh-everywhere/releases/latest)
|
|
12
|
+
[](https://nodejs.org/)
|
|
13
|
+
[](https://github.com/deepseek-ai/DeepSeek-Harness)
|
|
14
|
+
[](LICENSE)
|
|
15
|
+
|
|
16
|
+
[English](README.en.md) · [简体中文](README.md)
|
|
17
|
+
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<p align="center">
|
|
21
|
+
<a href="#quick-start">Quick Start</a> ·
|
|
22
|
+
<a href="#dsh-everywhere-app">App</a> ·
|
|
23
|
+
<a href="#ai-setup-guide">AI Setup</a> ·
|
|
24
|
+
<a href="#connection-routes">Connection Routes</a> ·
|
|
25
|
+
<a href="#core-capabilities">Core Capabilities</a> ·
|
|
26
|
+
<a href="#settings">Settings</a> ·
|
|
27
|
+
<a href="#troubleshooting">Troubleshooting</a> ·
|
|
28
|
+
<a href="#security-boundaries">Security Boundaries</a> ·
|
|
29
|
+
<a href="#documentation">Documentation</a>
|
|
30
|
+
</p>
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## What It Is
|
|
35
|
+
|
|
36
|
+
DSH Everywhere is a plugin for [DeepSeek Harness (DSH)](https://github.com/deepseek-ai/DeepSeek-Harness). The phone app and computer plugin share one name and solve three problems:
|
|
37
|
+
|
|
38
|
+
- **Phone control**: switch between Single frame, Chat, and Full modes in a phone browser to view sessions, send instructions, answer questions, or handle approvals, without squeezing the entire desktop interface onto a small screen.
|
|
39
|
+
- **Remote Window**: open this computer's complete DSH interface inside another computer's DSH desktop.
|
|
40
|
+
- **A/B cross-computer work**: Work on computer B using the DSH on computer A. A keeps the session and model and uses `b_*` tools to read or write files and run commands on B; B decides locally what is allowed.
|
|
41
|
+
|
|
42
|
+
Connection routes range from LAN and Tailscale to fixed addresses and self-hosted relays. If network setup is unfamiliar, the built-in AI guide can walk you through it.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Quick Start
|
|
47
|
+
|
|
48
|
+
### Requirements
|
|
49
|
+
|
|
50
|
+
- **Node.js**: `^22.19.0 || >=24.0.0`
|
|
51
|
+
- **DSH**: `>=0.1.5-rc.2 <0.3.0`
|
|
52
|
+
- **Operating system**: Windows, macOS, or Linux
|
|
53
|
+
|
|
54
|
+
This version has been re-checked against DSH `0.2.2-rc.3`. See [CHANGELOG.md](CHANGELOG.md) for release history.
|
|
55
|
+
|
|
56
|
+
### Installation
|
|
57
|
+
|
|
58
|
+
Install from the **GitHub repository, the tgz attached to a Release, or a local directory**. `web` is the default DSH profile; replace it when using a custom profile.
|
|
59
|
+
|
|
60
|
+
#### Option 1: GitHub repository (recommended)
|
|
61
|
+
|
|
62
|
+
Enter `github:xingzhen199186/dsh-everywhere` in **Plugins → Add Plugin**, or run:
|
|
63
|
+
|
|
64
|
+
```powershell
|
|
65
|
+
dsh plugin --profile web add github:xingzhen199186/dsh-everywhere
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
#### Option 2: Release tgz
|
|
69
|
+
|
|
70
|
+
Download `dsh-everywhere-0.1.0.tgz` from [GitHub Releases](https://github.com/xingzhen199186/dsh-everywhere/releases/latest), then select it in **Add Plugin** or run:
|
|
71
|
+
|
|
72
|
+
```powershell
|
|
73
|
+
dsh plugin --profile web add C:\path\to\dsh-everywhere-0.1.0.tgz
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
#### Option 3: Local directory
|
|
77
|
+
|
|
78
|
+
For development, enter the absolute directory path in **Add Plugin**, or run:
|
|
79
|
+
|
|
80
|
+
```powershell
|
|
81
|
+
dsh plugin --profile web add C:\path\to\dsh-everywhere
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
> **Verify the source.** Plugins run with the current user's full privileges. Uninstall the previous version before upgrading; automatic updates are not supported.
|
|
85
|
+
|
|
86
|
+
### Migrating from dsh-mini-remote
|
|
87
|
+
|
|
88
|
+
1. Install `dsh-everywhere` using one of the sources above.
|
|
89
|
+
2. Uninstall the old `dsh-mini-remote` in the DSH plugin page, then restart or reload DSH when prompted. Do not enable both plugins at once.
|
|
90
|
+
3. Pair phones and computers again and check tunnel, Feishu, and relay settings.
|
|
91
|
+
|
|
92
|
+
The plugin data directory changed from `$DSH_HOME/dsh-mini-remote` to `$DSH_HOME/dsh-everywhere`. **Old settings are not inherited automatically**, so pairing and configuration must be reviewed again. The Android app remains compatible because its application ID and signing identity are unchanged.
|
|
93
|
+
|
|
94
|
+
### Package contents and on-demand downloads
|
|
95
|
+
|
|
96
|
+
- **The npm tgz is about 2.5 MB and contains no executable files.** `frpc.exe` and `relay-server` are distributed through this repository and Releases instead.
|
|
97
|
+
- **First Cloudflare tunnel use:** cloudflared (about 50 MB) is downloaded from Cloudflare's official GitHub releases, with mirror fallbacks.
|
|
98
|
+
- **First self-hosted relay use:** frpc (about 16 MB) is downloaded from this project's Releases and checked against a SHA-256 hash pinned in the source; mismatches are discarded.
|
|
99
|
+
- The plugin has dual-use capabilities. Their intended uses, defaults, and authorization boundaries are declared in `contentPolicy` in [package.json](package.json) and in [DISCLOSURE](DISCLOSURE).
|
|
100
|
+
|
|
101
|
+
### Start and Confirm the Service
|
|
102
|
+
|
|
103
|
+
1. Restart the DSH service: close the current `dsh web` window and start it again.
|
|
104
|
+
2. Check the console for initialization output and the listening port:
|
|
105
|
+
|
|
106
|
+
```text
|
|
107
|
+
[dsh-everywhere] started: http://127.0.0.1:3090/mini
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
3. Open the DSH desktop UI and go to **Settings** → **Remote Settings** to see the pairing QR codes and connection details.
|
|
111
|
+
|
|
112
|
+
> **The phone client has two forms: the browser page, or the Android app DSH Everywhere.** The browser page works on any phone after a scan. The Android app adds lock-screen notifications, quick approvals, system sharing, and embedded Tailscale. See [DSH Everywhere](docs/DSH-Everywhere.md). You can also add the page to the home screen; it opens full-screen from the icon but still runs in the browser. Changing phones or clearing browser data requires pairing again.
|
|
113
|
+
>
|
|
114
|
+
> The same address also works in a PC browser. After enabling **Advanced Settings**, the complete DSH desktop interface is available there as well.
|
|
115
|
+
>
|
|
116
|
+
> **How to confirm startup:** **Remote Settings** shows a title, connection addresses, and QR codes, and the console prints a line beginning with `[dsh-everywhere] 已启动`. If the console is ready but the settings page is empty, refresh or restart DSH, then check **Diagnostics & Advanced** → **Self-check**.
|
|
117
|
+
|
|
118
|
+
### Connect a Phone
|
|
119
|
+
|
|
120
|
+
1. Open DSH **Settings** → **Remote Settings**. The **Phone Connection** section at the top is always visible.
|
|
121
|
+
2. If the phone and computer are on the same Wi-Fi, scan the **LAN** QR code.
|
|
122
|
+
3. If you are not sure which route to use, click **Let AI guide me** at the top and follow the prompts.
|
|
123
|
+
4. The phone page opens the session list, and the phone appears under **Computers & Devices** on the computer: the connection is working.
|
|
124
|
+
|
|
125
|
+
> **A pairing link is an entry credential.** The QR code and copied link contain a one-time pairing grant valid for 5 minutes. After pairing, the long-lived credential stays in an HttpOnly cookie and never appears in the URL. An unused link can still enroll a device, so do not send screenshots, project the page, or paste it in public. After a device is revoked, scan again.
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Preview
|
|
130
|
+
|
|
131
|
+
### Conversation views (Single frame / Chat / Full)
|
|
132
|
+
|
|
133
|
+
The phone page is built with vanilla JavaScript and has no front-end build step. It provides two high-contrast themes: deep ocean blue (dark) and ice blue with royal blue (light). One conversation can be read three ways: Single frame leaves only the latest conclusion on screen, Chat arranges history as bubbles, and Full puts each turn's execution trail back in place:
|
|
134
|
+
|
|
135
|
+
<div align="center">
|
|
136
|
+
<img width="290" alt="Chat (dark): turns arranged as back-and-forth bubbles, with several visible at once" src="https://raw.githubusercontent.com/xingzhen199186/dsh-everywhere/main/docs/screen-chat-dark.png" />
|
|
137
|
+
<img width="290" alt="Chat (light): the same conversation in the light theme" src="https://raw.githubusercontent.com/xingzhen199186/dsh-everywhere/main/docs/screen-chat-light.png" />
|
|
138
|
+
</div>
|
|
139
|
+
|
|
140
|
+
### Settings and appearance
|
|
141
|
+
|
|
142
|
+
Use the settings button in the upper-right corner to switch presentation mode, theme, and network reconnection controls:
|
|
143
|
+
|
|
144
|
+
<div align="center">
|
|
145
|
+
<img width="290" alt="Settings (dark): three display modes with dark appearance selected" src="https://raw.githubusercontent.com/xingzhen199186/dsh-everywhere/main/docs/settings-dark.png" />
|
|
146
|
+
<img width="290" alt="Settings (light): selected states and the primary button use royal blue" src="https://raw.githubusercontent.com/xingzhen199186/dsh-everywhere/main/docs/settings-light.png" />
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
### Execution status
|
|
150
|
+
|
|
151
|
+
During a task, the page shows the animated running state, an elapsed timer, and the queue scale without inventing progress that is not known:
|
|
152
|
+
|
|
153
|
+
<div align="center">
|
|
154
|
+
<img width="290" alt="Running (dark): the whale mascot running, 14 seconds elapsed, one instruction on the queue scale" src="https://raw.githubusercontent.com/xingzhen199186/dsh-everywhere/main/docs/running-dark-phone.jpg" />
|
|
155
|
+
<img width="290" alt="Running (light): the same run in the light theme, 14 seconds elapsed, one instruction queued" src="https://raw.githubusercontent.com/xingzhen199186/dsh-everywhere/main/docs/running-light-phone.jpg" />
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
### Remote Window
|
|
159
|
+
|
|
160
|
+
Open this computer's complete DSH interface directly inside another computer's DSH desktop:
|
|
161
|
+
|
|
162
|
+
<div align="center">
|
|
163
|
+
<img width="680" alt="Remote Window: the complete interface embedded in another computer's DSH panel" src="https://raw.githubusercontent.com/xingzhen199186/dsh-everywhere/main/docs/remote-window.png" />
|
|
164
|
+
</div>
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## DSH Everywhere App
|
|
169
|
+
|
|
170
|
+
If you would rather not open a browser every time, or you need **approvals on the lock screen, system sharing from other apps into DSH, or the computer to operate the phone screen directly**, install the Android companion app **DSH Everywhere**.
|
|
171
|
+
|
|
172
|
+
The Android app and the plugin now share the name **DSH Everywhere**. They are not separate products: connections, sessions, and permissions are shared with the web page, while the model and files stay on the computer. **The application ID remains `com.dsh.miniremote` for historical compatibility**; the signing alias and APK naming rules are unchanged.
|
|
173
|
+
|
|
174
|
+
Both the plugin and the Android app start at version **0.1.0**. Android `versionCode` starts at **18**, because development builds on test devices already reached 17 — a lower number would be rejected as a downgrade. Existing installs can be updated in place.
|
|
175
|
+
|
|
176
|
+
> **Before using the app, install and start `dsh-everywhere` 0.3.0 or newer on the computer.** Earlier plugin versions do not provide the pairing, address-pool, and update interfaces the app needs.
|
|
177
|
+
|
|
178
|
+
| Package | What it includes |
|
|
179
|
+
| :--- | :--- |
|
|
180
|
+
| `DSH-Everywhere-0.1.0.apk` | **One complete build**: pairing, sessions, notifications, quick approvals, system sharing, embedded Tailscale, and optional screen operation. The accessibility permission is needed only when you enable screen operation |
|
|
181
|
+
|
|
182
|
+
- **Download**: [latest GitHub Release](https://github.com/xingzhen199186/dsh-everywhere/releases/latest)
|
|
183
|
+
- **Requirements**: Android 9 or newer, arm64 phone; the plugin installed and running on the computer
|
|
184
|
+
- **DSH always runs on the computer, not on the phone.** The browser page and DSH Everywhere are remote entry points only: the model, session engine, and session files stay on the computer. The phone cannot run DSH on its own, and cannot continue when the computer is off or offline.
|
|
185
|
+
- **Full guide (Chinese)**: [DSH Everywhere](docs/DSH-Everywhere.md)
|
|
186
|
+
|
|
187
|
+
If you want full tools like Python, Node, git, ssh, or ffmpeg on the phone, you can install the official Termux app alongside DSH Everywhere; Termux is not required—the app works without it. The app still requires plugin 0.3.0+. See the [Termux section](docs/DSH-Everywhere.md#termux) in the full guide.
|
|
188
|
+
|
|
189
|
+
The app can run phone commands two ways: **wireless debugging** (lightweight, recommended) or **Termux** (optional, full Linux environment). When both are available, wireless debugging is preferred and Termux serves as the fallback and full environment. See [Phone commands: wireless debugging and Termux](docs/DSH-Everywhere.md#手机命令无线调试与-termux) in the full guide.
|
|
190
|
+
|
|
191
|
+
**You can also use the phone browser without the app.** Open **Settings → Remote Settings** on the computer, then scan the QR code (or open the pairing link manually) on the phone; iOS, tablets, and borrowed phones use this web route. See [10-Phone Connection and Passphrase](docs/guide/10-手机连接与密码.md) for the full steps.
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## AI Setup Guide
|
|
196
|
+
|
|
197
|
+
The plugin package already contains the `dsh-everywhere-setup` skill and the [docs/guide/](docs/guide/) knowledge base. **No separate skill installation is needed.**
|
|
198
|
+
|
|
199
|
+
1. In **Remote Settings**, click **Let AI guide me** at the top. The plugin opens a new session and fills in the setup prompt; the guide starts after you press Send.
|
|
200
|
+
2. You can also say **“Help me set up phone control”** in any session, or describe a concrete problem such as **“My phone cannot connect”** or **“I need a fixed address.”**
|
|
201
|
+
3. The guide first calls the read-only `mini_remote_status` tool to inspect ports, addresses, tunnels, and relay states. It then picks a route and **asks one question at a time**.
|
|
202
|
+
4. Each step tells you where to click and what you should see afterwards. If the current environment cannot open a new session, the button copies the prompt so you can paste it into a new session.
|
|
203
|
+
|
|
204
|
+
It covers phone connection and passphrases, every connection route, computers and devices, A/B collaboration, B projects, Feishu, self-check and advanced settings, Remote Window, and configuration timing.
|
|
205
|
+
|
|
206
|
+
The guide prefers the version-matched local `docs/guide/`; it falls back to the GitHub repository only when local documentation is unavailable.
|
|
207
|
+
|
|
208
|
+
**Safety boundaries:** it does not read or repeat passphrases, tokens, frp tokens, or device credentials; it does not restart DSH; it does not delete devices, revoke tenants, or delete server resources; and it does not modify Cloudflare, firewalls, DNS, or domain records. High-risk actions are described as steps for you to confirm.
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## Connection Routes
|
|
213
|
+
|
|
214
|
+
Pick one route that works before adding a fixed address. Use LAN when the phone and computer share a Wi-Fi network; for other cases, choose based on whether you can install a client and whether you need a fixed address.
|
|
215
|
+
|
|
216
|
+
| Route | Best for | Requirements and trade-offs | Details |
|
|
217
|
+
| :--- | :--- | :--- | :--- |
|
|
218
|
+
| **LAN** | Same Wi-Fi network | No extra dependency; plain HTTP; stops working when you leave the network | [01-LAN](docs/guide/01-内网.md) |
|
|
219
|
+
| **Tailscale** | Remote use with a client installed | Both devices sign in to the same account; optional HTTPS depends on MagicDNS | [02-Tailscale](docs/guide/02-Tailscale.md) |
|
|
220
|
+
| **Cloudflare public** | Temporary access, or a fixed address with your own domain | Temporary address changes after each restart; a fixed address needs a Cloudflare account and domain; traffic goes through Cloudflare | [03-Public Tunnel](docs/guide/03-公网隧道.md) |
|
|
221
|
+
| **Manual public address** | You already run Tailscale Funnel, a reverse proxy, or another public entry | The plugin only displays the address and QR code; it does not create, probe, or repair the link. The entry itself must open `/mini`; Tailscale Funnel supports only ports 443, 8443, and 10000 | [04-Manual Public Address](docs/guide/04-手动公网地址.md) |
|
|
222
|
+
| **Shared fixed address** | A fixed URL without running a server | Requires a quick tunnel and a provider invite code (valid for 30 minutes by default; see details); traffic goes through a shared relay and is not end-to-end encrypted | [05-Shared Fixed Address](docs/guide/05-共享固定地址.md) |
|
|
223
|
+
| **Dedicated fixed address** | A provider assigns a fixed domain or enables self-service | One-time activation code (valid for 30 minutes by default; see details); the provider creates a named tunnel; stopping does not delete server resources | [06-Dedicated Fixed Address](docs/guide/06-专属固定地址.md) |
|
|
224
|
+
| **Self-hosted relay (single user)** | You have your own server and domain | Requires your own public server and your own domain; two hostnames and an frp token; fixed address; you maintain the server and certificate | [07-Self-hosted Relay](docs/guide/07-自建中继.md) |
|
|
225
|
+
| **Self-hosted multi-user relay** | Several people each need access, and you have a server and domain | Requires your own public server and your own domain; an administrator deploys `relay-multi` and issues invite tickets; traffic goes only through that server | [08-Multi-user Relay](docs/guide/08-自建多用户中继.md) |
|
|
226
|
+
| **Feishu** | Control through enterprise IM only | Configure a Feishu custom app; no inbound public port; currently text and approvals in direct messages | [14-Feishu](docs/guide/14-飞书通知.md) |
|
|
227
|
+
|
|
228
|
+
Invite codes for the shared and dedicated fixed addresses are issued by the provider. If you do not have one, use the application entry the provider gives you; the plugin does not offer public registration.
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
## Core Capabilities
|
|
234
|
+
|
|
235
|
+
- **Phone page**: Single frame, Chat, and Full views; queueing, slash commands, question cards, approvals, and session management. See [10-Phone Connection and Passphrase](docs/guide/10-手机连接与密码.md).
|
|
236
|
+
- **DSH Everywhere app**: an Android entry point for the same page, adding lock-screen notifications, quick approvals, system sharing, embedded Tailscale, and phone commands via wireless debugging (with optional Termux for a full Linux environment). See [DSH Everywhere](docs/DSH-Everywhere.md).
|
|
237
|
+
- **Remote Window**: Open this computer's complete DSH interface inside another computer's DSH desktop. See [16-Remote Window](docs/guide/16-远程窗口.md).
|
|
238
|
+
- **A/B collaboration**: A uses `b_*` tools on B; B controls directories, writes, folder operations, and command permission locally. Re-pairing reuses the existing record via `machine-id`. See [12-A/B Collaboration](docs/guide/12-A-B端协作.md).
|
|
239
|
+
- **B projects**: Register a real B directory as an A workspace without copying files; includes a B file panel and **New B Session**. See [13-B Projects](docs/guide/13-B项目.md).
|
|
240
|
+
- **Bidirectional Feishu**: Text, question, and approval replies over the long connection. See [14-Feishu](docs/guide/14-飞书通知.md).
|
|
241
|
+
- **Device management**: Phones and computers are registered separately; rename or revoke them. The roster holds at most 5 devices, and a device idle for 30 days is removed automatically. Revoked devices must scan again. See [11-Computers and Devices](docs/guide/11-电脑与设备.md).
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## Settings
|
|
246
|
+
|
|
247
|
+
**Phone Connection** at the top is always visible. The five groups below are collapsed by default, and so are their inner sections (for example, each route under **Connection & Fixed Addresses**).
|
|
248
|
+
|
|
249
|
+
| Area | Main contents |
|
|
250
|
+
| :--- | :--- |
|
|
251
|
+
| **Phone Connection** | Addresses, QR codes, passphrase |
|
|
252
|
+
| **Connection & Fixed Addresses** | Tailscale, public access, shared fixed, dedicated fixed, self-hosted relay, multi-user relay, Tailscale HTTPS |
|
|
253
|
+
| **Computers & Devices** | Allow other computers, device list, other computers |
|
|
254
|
+
| **A/B Collaboration** | As A, as B, B projects |
|
|
255
|
+
| **Notifications & Integrations** | Feishu, credentials, allowlists, setup guide |
|
|
256
|
+
| **Diagnostics & Advanced** | Self-check, recent errors |
|
|
257
|
+
|
|
258
|
+
For full settings details, see [15-Self-check and Advanced Settings](docs/guide/15-自检与进阶设置.md) and [17-Parameters and Timing](docs/guide/17-参数与生效方式.md).
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## Troubleshooting
|
|
263
|
+
|
|
264
|
+
| Symptom | Check first |
|
|
265
|
+
| :--- | :--- |
|
|
266
|
+
| B says it is not connected to A | Wait for one 5-second refresh cycle, then press `Ctrl+F5`; if it still fails, check A's address, switches, and port |
|
|
267
|
+
| Remote Window returns HTTP 502 | On A, run `tailscale serve status`; the proxy should target the current phone-service port, normally `3090`, not the old `3091` |
|
|
268
|
+
| A fixed address or relay will not connect | Check the status, whether the invite ticket or activation code was already used, and whether the server resource still exists |
|
|
269
|
+
| The phone page is inaccessible after revocation | The device authorization was removed; scan again from **Remote Settings** |
|
|
270
|
+
|
|
271
|
+
`tailscale serve status` should show a target similar to:
|
|
272
|
+
|
|
273
|
+
```text
|
|
274
|
+
https://<machine>.<tailnet>.ts.net
|
|
275
|
+
-> http://127.0.0.1:3090
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
If `3090` is occupied, use the listening port shown under **Diagnostics & Advanced** → **Self-check**. To reconfigure, turn **Tailscale HTTPS** off and on again under **Connection & Fixed Addresses**.
|
|
279
|
+
|
|
280
|
+
See [09-When It Will Not Connect](docs/guide/09-连不上怎么办.md) for the full symptom table and checks.
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
## Security Boundaries
|
|
285
|
+
|
|
286
|
+
- **Addresses and devices**: the QR code and copied link contain a one-time pairing grant valid for 5 minutes. The long-lived credential stays in an HttpOnly cookie and never enters the URL. Revoked devices must scan again; do not publish QR codes, passphrases, or unused pairing links.
|
|
287
|
+
- **Public and third-party routes**: Cloudflare, the shared fixed relay, and the dedicated B relay send traffic through a third party; a changing temporary hostname is not a security boundary. Self-hosted and multi-user relays also let the server operator see plaintext.
|
|
288
|
+
- **Plugin permissions**: the plugin runs with the current user's privileges. Install only packages from trusted sources; an untrusted plugin can read files or leak credentials.
|
|
289
|
+
- **Full interface**: **Advanced Settings** and Remote Window expose the complete DSH management plane, including model configuration, credentials, plugins, and session history. Enable them only for trusted devices.
|
|
290
|
+
- **Command execution**: phone **Full access** and B-side command permission can run system commands. The model-level `confirm` is not a human approval; the real boundary is the local permission switch.
|
|
291
|
+
- **Resource cleanup**: stopping a connection or clearing local configuration does not delete server resources. Fixed addresses, tenants, and tunnels must be reclaimed according to the relevant guide.
|
|
292
|
+
- **Public deployment**: this plugin does not promise a secure public deployment. Assess the network, access control, and host security before enabling public or third-party relay access.
|
|
293
|
+
|
|
294
|
+
---
|
|
295
|
+
|
|
296
|
+
## Development & Verification
|
|
297
|
+
|
|
298
|
+
```bash
|
|
299
|
+
npm test
|
|
300
|
+
node client/verify.mjs
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
- `npm test`: offline tests; DSH does not need to be running.
|
|
304
|
+
- `node client/verify.mjs`: verifies the client module, settings page, two-level collapsing, Remote Window, and B project panel.
|
|
305
|
+
- Use the command output as the source of truth.
|
|
306
|
+
- Run `npm pack --dry-run` before release to inspect the package contents.
|
|
307
|
+
|
|
308
|
+
See [CHANGELOG.md](CHANGELOG.md) for detailed changes.
|
|
309
|
+
|
|
310
|
+
---
|
|
311
|
+
|
|
312
|
+
## Documentation
|
|
313
|
+
|
|
314
|
+
- **Full guide**: [docs/guide/](docs/guide/) (00–17). Connection, passphrases, devices, A/B, B projects, Feishu, self-check, Remote Window, and parameters are all here.
|
|
315
|
+
- **Phone app**: [DSH Everywhere](docs/DSH-Everywhere.md). Download, installation, build variants, permissions, and troubleshooting.
|
|
316
|
+
- **AI guide**: [SKILL.md](SKILL.md).
|
|
317
|
+
- **Self-hosted relay server**: [relay-server/README.md](relay-server/README.md).
|
|
318
|
+
- **Multi-user relay server**: [relay-multi/README.md](relay-multi/README.md).
|
|
319
|
+
- **Project home**: [github.com/xingzhen199186/dsh-everywhere](https://github.com/xingzhen199186/dsh-everywhere).
|
|
320
|
+
- **Issues**: [GitHub Issues](https://github.com/xingzhen199186/dsh-everywhere/issues).
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
## License
|
|
325
|
+
|
|
326
|
+
This project is released under the [MIT License](LICENSE).
|
|
327
|
+
|
|
328
|
+
### Acknowledgements
|
|
329
|
+
|
|
330
|
+
The multi-route QR-code approach was inspired by [dsh-pocket](https://www.npmjs.com/package/dsh-pocket) by @shaobeichen.
|