@deep-podder/dsh-remote-mobile 0.0.0-stage → 0.0.5
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/LICENSE +21 -0
- package/PROTOCOL.md +627 -0
- package/README.md +313 -2
- package/SECURITY.md +207 -0
- package/auth.js +290 -0
- package/bridge.js +3167 -0
- package/client.js +687 -0
- package/cordis.patch.yml +7 -0
- package/docs/api-notes-v2.md +978 -0
- package/docs/api-notes.md +583 -0
- package/docs/screenshots/chat-light.png +0 -0
- package/docs/screenshots/commands-dark.png +0 -0
- package/docs/screenshots/pairing-light.png +0 -0
- package/docs/screenshots/sessions-light.png +0 -0
- package/docs/verification.md +92 -0
- package/icon.svg +14 -0
- package/index.js +108 -0
- package/locale/en.json +29 -0
- package/mobile/README.md +1281 -0
- package/mobile/app.js +10835 -0
- package/mobile/favicon.svg +6 -0
- package/mobile/icons/apple-touch-icon.png +0 -0
- package/mobile/icons/icon-192.png +0 -0
- package/mobile/icons/icon-512.png +0 -0
- package/mobile/icons/icon-maskable-512.png +0 -0
- package/mobile/index.html +377 -0
- package/mobile/manifest.webmanifest +40 -0
- package/mobile/mock-server.js +2800 -0
- package/mobile/styles.css +4698 -0
- package/mobile/sw.js +396 -0
- package/package.json +74 -4
- package/push.js +531 -0
- package/qr.js +49 -0
- package/server.js +2648 -0
- package/vendor/LICENSE +25 -0
- package/vendor/qrcode.js +2302 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="DSH Remote">
|
|
2
|
+
<rect width="64" height="64" rx="14" fill="#141210"/>
|
|
3
|
+
<circle cx="32" cy="42.7" r="2.6" fill="#F7F5F2"/>
|
|
4
|
+
<path d="M24.2 39.1a8.6 8.6 0 0 1 15.6 0" fill="none" stroke="#F7F5F2" stroke-width="3.2" stroke-linecap="round"/>
|
|
5
|
+
<path d="M18 36.2a15.4 15.4 0 0 1 28 0" fill="none" stroke="#F7F5F2" stroke-width="3.2" stroke-linecap="round"/>
|
|
6
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en" data-theme="light">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
|
6
|
+
<meta name="color-scheme" content="light dark">
|
|
7
|
+
<meta name="theme-color" content="#F7F5F2" media="(prefers-color-scheme: light)">
|
|
8
|
+
<meta name="theme-color" content="#161616" media="(prefers-color-scheme: dark)">
|
|
9
|
+
<meta name="description" content="DSH Remote — control a DeepSeek Harness session from your phone.">
|
|
10
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
11
|
+
<meta name="mobile-web-app-capable" content="yes">
|
|
12
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
13
|
+
<meta name="apple-mobile-web-app-title" content="DSH Remote">
|
|
14
|
+
<meta name="format-detection" content="telephone=no">
|
|
15
|
+
<title>DSH Remote</title>
|
|
16
|
+
<link rel="manifest" href="/manifest.webmanifest">
|
|
17
|
+
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
|
18
|
+
<link rel="apple-touch-icon" href="/icons/apple-touch-icon.png">
|
|
19
|
+
<!-- Theme resolution lives in app.js: the Host serves a strict
|
|
20
|
+
script-src 'self' CSP, so this page intentionally carries no inline script. -->
|
|
21
|
+
<link rel="stylesheet" href="/styles.css?v=20">
|
|
22
|
+
</head>
|
|
23
|
+
<body>
|
|
24
|
+
<!-- Icon sprite: kept inline so the SPA stays a single network round-trip and
|
|
25
|
+
never depends on a font or an external icon sheet. Symbols use
|
|
26
|
+
currentColor so every surface can tint them. -->
|
|
27
|
+
<svg class="sprite" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg">
|
|
28
|
+
<symbol id="i-mark" viewBox="0 0 24 24">
|
|
29
|
+
<circle cx="12" cy="16.4" r="1.7" fill="currentColor" stroke="none"></circle>
|
|
30
|
+
<path d="M8.1 12.6a5.6 5.6 0 0 1 7.8 0"></path>
|
|
31
|
+
<path d="M5.2 9.3a10 10 0 0 1 13.6 0"></path>
|
|
32
|
+
</symbol>
|
|
33
|
+
<symbol id="i-drawer" viewBox="0 0 24 24">
|
|
34
|
+
<rect x="3.2" y="4.2" width="17.6" height="15.6" rx="3.4"></rect>
|
|
35
|
+
<path d="M9.4 4.6v14.8"></path>
|
|
36
|
+
</symbol>
|
|
37
|
+
<symbol id="i-more" viewBox="0 0 24 24">
|
|
38
|
+
<circle cx="5.6" cy="12" r="1.5" fill="currentColor" stroke="none"></circle>
|
|
39
|
+
<circle cx="12" cy="12" r="1.5" fill="currentColor" stroke="none"></circle>
|
|
40
|
+
<circle cx="18.4" cy="12" r="1.5" fill="currentColor" stroke="none"></circle>
|
|
41
|
+
</symbol>
|
|
42
|
+
<symbol id="i-arrow-up" viewBox="0 0 24 24">
|
|
43
|
+
<path d="M12 19.2V5.2"></path>
|
|
44
|
+
<path d="m5.8 11.2 6.2-6.2 6.2 6.2"></path>
|
|
45
|
+
</symbol>
|
|
46
|
+
<symbol id="i-stop" viewBox="0 0 24 24">
|
|
47
|
+
<rect x="7" y="7" width="10" height="10" rx="2.4" fill="currentColor" stroke="none"></rect>
|
|
48
|
+
</symbol>
|
|
49
|
+
<symbol id="i-chevron-down" viewBox="0 0 24 24">
|
|
50
|
+
<path d="m6.2 9.4 5.8 5.8 5.8-5.8"></path>
|
|
51
|
+
</symbol>
|
|
52
|
+
<symbol id="i-chevron-right" viewBox="0 0 24 24">
|
|
53
|
+
<path d="m9.4 6.2 5.8 5.8-5.8 5.8"></path>
|
|
54
|
+
</symbol>
|
|
55
|
+
<symbol id="i-check" viewBox="0 0 24 24">
|
|
56
|
+
<path d="m4.8 12.4 4.7 4.7L19.4 7"></path>
|
|
57
|
+
</symbol>
|
|
58
|
+
<symbol id="i-x" viewBox="0 0 24 24">
|
|
59
|
+
<path d="M6.2 6.2l11.6 11.6M17.8 6.2 6.2 17.8"></path>
|
|
60
|
+
</symbol>
|
|
61
|
+
<symbol id="i-terminal" viewBox="0 0 24 24">
|
|
62
|
+
<rect x="3.2" y="4.2" width="17.6" height="15.6" rx="3.4"></rect>
|
|
63
|
+
<path d="m7.2 9.6 3.1 2.4-3.1 2.4"></path>
|
|
64
|
+
<path d="M12.6 14.6h4.2"></path>
|
|
65
|
+
</symbol>
|
|
66
|
+
<symbol id="i-alert" viewBox="0 0 24 24">
|
|
67
|
+
<path d="M12 3.9 2.9 19.6h18.2L12 3.9Z"></path>
|
|
68
|
+
<path d="M12 9.8v4.1"></path>
|
|
69
|
+
<path d="M12 17.1h.01"></path>
|
|
70
|
+
</symbol>
|
|
71
|
+
<symbol id="i-activity" viewBox="0 0 24 24">
|
|
72
|
+
<path d="M3.2 12.3h4.1l2.3-6.6 4.2 12.6 2-6h5"></path>
|
|
73
|
+
</symbol>
|
|
74
|
+
<symbol id="i-layers" viewBox="0 0 24 24">
|
|
75
|
+
<path d="m12 3.4 8.6 4.6-8.6 4.6-8.6-4.6L12 3.4Z"></path>
|
|
76
|
+
<path d="m3.4 12.6 8.6 4.6 8.6-4.6"></path>
|
|
77
|
+
</symbol>
|
|
78
|
+
<symbol id="i-sliders" viewBox="0 0 24 24">
|
|
79
|
+
<path d="M4 7.2h16M4 16.8h16"></path>
|
|
80
|
+
<circle cx="9.2" cy="7.2" r="2.4"></circle>
|
|
81
|
+
<circle cx="15.2" cy="16.8" r="2.4"></circle>
|
|
82
|
+
</symbol>
|
|
83
|
+
<symbol id="i-wifi-off" viewBox="0 0 24 24">
|
|
84
|
+
<path d="M3.4 8.8a14.8 14.8 0 0 1 4.5-2.4"></path>
|
|
85
|
+
<path d="M15.9 6.3a14.7 14.7 0 0 1 4.7 2.5"></path>
|
|
86
|
+
<path d="M7.1 12.2a9.6 9.6 0 0 1 2.2-1.2"></path>
|
|
87
|
+
<path d="M15.2 11a9.5 9.5 0 0 1 1.8.9"></path>
|
|
88
|
+
<path d="M9.6 15.5a5 5 0 0 1 4.8 0"></path>
|
|
89
|
+
<path d="M12 19h.01"></path>
|
|
90
|
+
<path d="M4.2 4.2 19.8 19.8"></path>
|
|
91
|
+
</symbol>
|
|
92
|
+
<symbol id="i-refresh" viewBox="0 0 24 24">
|
|
93
|
+
<path d="M20 11.2a8 8 0 1 0-2.4 5.9"></path>
|
|
94
|
+
<path d="M20 4.8v6.4h-6.4"></path>
|
|
95
|
+
</symbol>
|
|
96
|
+
<symbol id="i-copy" viewBox="0 0 24 24">
|
|
97
|
+
<rect x="9" y="9" width="11" height="11" rx="2.6"></rect>
|
|
98
|
+
<path d="M15.4 5.6H6.2a1.6 1.6 0 0 0-1.6 1.6v9.2"></path>
|
|
99
|
+
</symbol>
|
|
100
|
+
<symbol id="i-trash" viewBox="0 0 24 24">
|
|
101
|
+
<path d="M4.4 7.2h15.2"></path>
|
|
102
|
+
<path d="M9.4 7.2V5.4h5.2v1.8"></path>
|
|
103
|
+
<path d="m6.4 7.4 1 12.2h9.2l1-12.2"></path>
|
|
104
|
+
<path d="M10.4 11.2v4.8M13.6 11.2v4.8"></path>
|
|
105
|
+
</symbol>
|
|
106
|
+
<symbol id="i-device" viewBox="0 0 24 24">
|
|
107
|
+
<rect x="7" y="3" width="10" height="18" rx="2.6"></rect>
|
|
108
|
+
<path d="M10.8 17.8h2.4"></path>
|
|
109
|
+
</symbol>
|
|
110
|
+
<symbol id="i-plus" viewBox="0 0 24 24">
|
|
111
|
+
<path d="M12 5.2v13.6M5.2 12h13.6"></path>
|
|
112
|
+
</symbol>
|
|
113
|
+
<symbol id="i-link" viewBox="0 0 24 24">
|
|
114
|
+
<path d="M10.2 13.8a4.4 4.4 0 0 0 6.2 0l2.4-2.4a4.4 4.4 0 0 0-6.2-6.2l-1.2 1.2"></path>
|
|
115
|
+
<path d="M13.8 10.2a4.4 4.4 0 0 0-6.2 0l-2.4 2.4a4.4 4.4 0 0 0 6.2 6.2l1.2-1.2"></path>
|
|
116
|
+
</symbol>
|
|
117
|
+
<symbol id="i-compose" viewBox="0 0 24 24">
|
|
118
|
+
<path d="M4.8 19.2h3.9L18.9 9a3 3 0 0 0-3.9-3.9L4.8 15.3v3.9Z"></path>
|
|
119
|
+
<path d="m13.2 6.9 3.9 3.9"></path>
|
|
120
|
+
</symbol>
|
|
121
|
+
<symbol id="i-file" viewBox="0 0 24 24">
|
|
122
|
+
<path d="M6.8 3.6h6.6l4.2 4.2v12.6H6.8V3.6Z"></path>
|
|
123
|
+
<path d="M13.2 3.8v4.4h4.4"></path>
|
|
124
|
+
</symbol>
|
|
125
|
+
<symbol id="i-search" viewBox="0 0 24 24">
|
|
126
|
+
<circle cx="10.8" cy="10.8" r="6.2"></circle>
|
|
127
|
+
<path d="m15.4 15.4 4.2 4.2"></path>
|
|
128
|
+
</symbol>
|
|
129
|
+
<symbol id="i-globe" viewBox="0 0 24 24">
|
|
130
|
+
<circle cx="12" cy="12" r="8.4"></circle>
|
|
131
|
+
<path d="M3.6 12h16.8"></path>
|
|
132
|
+
<path d="M12 3.6c2.4 2.3 3.6 5.1 3.6 8.4S14.4 18.1 12 20.4c-2.4-2.3-3.6-5.1-3.6-8.4S9.6 5.9 12 3.6Z"></path>
|
|
133
|
+
</symbol>
|
|
134
|
+
<symbol id="i-mic" viewBox="0 0 24 24">
|
|
135
|
+
<rect x="9" y="3.4" width="6" height="10.6" rx="3"></rect>
|
|
136
|
+
<path d="M5.8 11.6a6.2 6.2 0 0 0 12.4 0"></path>
|
|
137
|
+
<path d="M12 17.8v3M9.2 20.8h5.6"></path>
|
|
138
|
+
</symbol>
|
|
139
|
+
<symbol id="i-bell" viewBox="0 0 24 24">
|
|
140
|
+
<path d="M6.4 16.8V11a5.6 5.6 0 0 1 11.2 0v5.8l1.7 2.2H4.7l1.7-2.2Z"></path>
|
|
141
|
+
<path d="M10.1 19.6a1.9 1.9 0 0 0 3.8 0"></path>
|
|
142
|
+
</symbol>
|
|
143
|
+
<symbol id="i-camera" viewBox="0 0 24 24">
|
|
144
|
+
<path d="M4.4 8.6h3.2l1.6-2.2h5.6l1.6 2.2h3.2v10.2H4.4V8.6Z"></path>
|
|
145
|
+
<circle cx="12" cy="13.6" r="3.2"></circle>
|
|
146
|
+
</symbol>
|
|
147
|
+
<symbol id="i-image" viewBox="0 0 24 24">
|
|
148
|
+
<rect x="3.6" y="4.8" width="16.8" height="14.4" rx="2.8"></rect>
|
|
149
|
+
<circle cx="8.8" cy="9.8" r="1.5"></circle>
|
|
150
|
+
<path d="m4.8 17.6 4.6-4.4 3.2 3 2.6-2.4 4 3.8"></path>
|
|
151
|
+
</symbol>
|
|
152
|
+
<symbol id="i-pin" viewBox="0 0 24 24">
|
|
153
|
+
<path d="M9 4.4h6l-.8 5.2 3 3.2H6.8l3-3.2L9 4.4Z"></path>
|
|
154
|
+
<path d="M12 12.8v6.8"></path>
|
|
155
|
+
</symbol>
|
|
156
|
+
<symbol id="i-archive" viewBox="0 0 24 24">
|
|
157
|
+
<rect x="3.6" y="4.6" width="16.8" height="5" rx="1.6"></rect>
|
|
158
|
+
<path d="M5.2 9.6v8.2a1.8 1.8 0 0 0 1.8 1.8h10a1.8 1.8 0 0 0 1.8-1.8V9.6"></path>
|
|
159
|
+
<path d="M9.6 13.4h4.8"></path>
|
|
160
|
+
</symbol>
|
|
161
|
+
<symbol id="i-fork" viewBox="0 0 24 24">
|
|
162
|
+
<circle cx="7" cy="5.4" r="2.1"></circle>
|
|
163
|
+
<circle cx="7" cy="18.6" r="2.1"></circle>
|
|
164
|
+
<circle cx="17" cy="8.4" r="2.1"></circle>
|
|
165
|
+
<path d="M7 7.5v9"></path>
|
|
166
|
+
<path d="M9.1 5.4h3.4a2.4 2.4 0 0 1 2.4 2.4v.6"></path>
|
|
167
|
+
</symbol>
|
|
168
|
+
<symbol id="i-lock" viewBox="0 0 24 24">
|
|
169
|
+
<rect x="5.4" y="10.4" width="13.2" height="9.4" rx="2.4"></rect>
|
|
170
|
+
<path d="M8.4 10.2V7.8a3.6 3.6 0 0 1 7.2 0v2.4"></path>
|
|
171
|
+
<path d="M12 14.2v2"></path>
|
|
172
|
+
</symbol>
|
|
173
|
+
<symbol id="i-folder" viewBox="0 0 24 24">
|
|
174
|
+
<path d="M3.6 6.8a1.8 1.8 0 0 1 1.8-1.8h4.2l2 2.4h6.8a1.8 1.8 0 0 1 1.8 1.8v8.6a1.8 1.8 0 0 1-1.8 1.8H5.4a1.8 1.8 0 0 1-1.8-1.8V6.8Z"></path>
|
|
175
|
+
</symbol>
|
|
176
|
+
</svg>
|
|
177
|
+
|
|
178
|
+
<!-- Boot / state probe -->
|
|
179
|
+
<div class="boot" id="boot">
|
|
180
|
+
<div class="logo-mark logo-mark-lg">
|
|
181
|
+
<svg class="logo-glyph" aria-hidden="true"><use href="#i-mark"></use></svg>
|
|
182
|
+
</div>
|
|
183
|
+
<p class="boot-title">DSH Remote</p>
|
|
184
|
+
<p class="boot-sub" id="boot-sub">Connecting to DeepSeek Harness…</p>
|
|
185
|
+
<div class="boot-bar" aria-hidden="true"><span></span></div>
|
|
186
|
+
</div>
|
|
187
|
+
|
|
188
|
+
<!-- Pairing -->
|
|
189
|
+
<main class="pairing" id="pairing" hidden aria-labelledby="pair-title">
|
|
190
|
+
<div class="pairing-card">
|
|
191
|
+
<header class="brand">
|
|
192
|
+
<div class="logo-mark">
|
|
193
|
+
<svg class="logo-glyph" aria-hidden="true"><use href="#i-mark"></use></svg>
|
|
194
|
+
</div>
|
|
195
|
+
<p class="brand-eyebrow">DeepSeek Harness</p>
|
|
196
|
+
<h1 class="pair-title" id="pair-title">Pair this phone</h1>
|
|
197
|
+
<p class="pair-lede">Control your desktop session from your phone. Everything stays on your local network.</p>
|
|
198
|
+
</header>
|
|
199
|
+
|
|
200
|
+
<div class="pair-status" id="pair-status" hidden>
|
|
201
|
+
<span class="spin pair-status-spin" id="pair-status-spin" aria-hidden="true"></span>
|
|
202
|
+
<span class="pair-status-text" id="pair-status-text"></span>
|
|
203
|
+
<button class="pair-status-action" id="pair-status-action" type="button" hidden>Retry</button>
|
|
204
|
+
</div>
|
|
205
|
+
|
|
206
|
+
<form class="pair-form" id="pair-form" novalidate>
|
|
207
|
+
<label class="field-label" id="pin-label" for="pin-input">Enter the 4-digit PIN from your desktop</label>
|
|
208
|
+
<div class="pin-slots" id="pin-slots">
|
|
209
|
+
<span class="pin-slot" data-slot="0"></span>
|
|
210
|
+
<span class="pin-slot" data-slot="1"></span>
|
|
211
|
+
<span class="pin-slot" data-slot="2"></span>
|
|
212
|
+
<span class="pin-slot" data-slot="3"></span>
|
|
213
|
+
<input class="pin-input" id="pin-input" type="text" inputmode="numeric" pattern="[0-9]*"
|
|
214
|
+
maxlength="4" autocomplete="one-time-code" autocapitalize="off" autocorrect="off"
|
|
215
|
+
spellcheck="false" aria-labelledby="pin-label" enterkeyhint="done" disabled>
|
|
216
|
+
</div>
|
|
217
|
+
<p class="pair-error" id="pair-error" role="alert" hidden></p>
|
|
218
|
+
<button class="btn btn-primary btn-block" id="pair-submit" type="submit" disabled>Pair device</button>
|
|
219
|
+
</form>
|
|
220
|
+
|
|
221
|
+
<p class="pair-hint" id="pair-hint">Find the PIN in <strong>Settings › Remote mobile access</strong> on your desktop, or scan the pairing QR code to connect instantly.</p>
|
|
222
|
+
</div>
|
|
223
|
+
|
|
224
|
+
<footer class="pairing-foot">
|
|
225
|
+
<span id="pair-foot-note">Local network only</span>
|
|
226
|
+
<span class="foot-dot" aria-hidden="true"></span>
|
|
227
|
+
<span class="mono" id="pair-version">DSH Remote</span>
|
|
228
|
+
</footer>
|
|
229
|
+
</main>
|
|
230
|
+
|
|
231
|
+
<!-- Main app -->
|
|
232
|
+
<div class="app" id="app" hidden>
|
|
233
|
+
<header class="topbar">
|
|
234
|
+
<div class="topbar-side topbar-side-start">
|
|
235
|
+
<button class="iconbtn" id="btn-sessions" type="button" aria-label="Sessions" aria-haspopup="dialog">
|
|
236
|
+
<svg class="icon" aria-hidden="true"><use href="#i-drawer"></use></svg>
|
|
237
|
+
</button>
|
|
238
|
+
<span class="topbar-spacer" aria-hidden="true"></span>
|
|
239
|
+
</div>
|
|
240
|
+
<div class="titleblock">
|
|
241
|
+
<h1 class="session-title" id="session-title">Sessions</h1>
|
|
242
|
+
<p class="session-sub"><span class="statusdot" id="status-dot" aria-hidden="true"></span><span id="session-state">Connecting…</span></p>
|
|
243
|
+
</div>
|
|
244
|
+
<div class="topbar-side topbar-actions">
|
|
245
|
+
<button class="iconbtn" id="btn-new" type="button" aria-label="New session" aria-haspopup="dialog">
|
|
246
|
+
<svg class="icon" aria-hidden="true"><use href="#i-compose"></use></svg>
|
|
247
|
+
</button>
|
|
248
|
+
<button class="iconbtn" id="btn-menu" type="button" aria-label="More options" aria-haspopup="dialog">
|
|
249
|
+
<svg class="icon" aria-hidden="true"><use href="#i-more"></use></svg>
|
|
250
|
+
</button>
|
|
251
|
+
</div>
|
|
252
|
+
</header>
|
|
253
|
+
|
|
254
|
+
<div class="tabs" role="tablist" aria-label="Views">
|
|
255
|
+
<button class="tab is-active" id="tab-chat" type="button" role="tab" aria-selected="true" aria-controls="view-chat">Chat</button>
|
|
256
|
+
<button class="tab" id="tab-activity" type="button" role="tab" aria-selected="false" aria-controls="view-activity">Activity<span class="tab-badge" id="tab-badge" hidden></span></button>
|
|
257
|
+
</div>
|
|
258
|
+
|
|
259
|
+
<div class="banner" id="banner" role="status" hidden>
|
|
260
|
+
<svg class="icon banner-icon" aria-hidden="true"><use href="#i-wifi-off"></use></svg>
|
|
261
|
+
<span class="banner-text" id="banner-text">Reconnecting…</span>
|
|
262
|
+
<button class="banner-action" id="banner-action" type="button">Retry</button>
|
|
263
|
+
</div>
|
|
264
|
+
|
|
265
|
+
<main class="main">
|
|
266
|
+
<section class="view view-chat" id="view-chat" role="tabpanel" aria-labelledby="tab-chat">
|
|
267
|
+
<div class="chat-scroll" id="chat-scroll">
|
|
268
|
+
<div class="messages" id="messages" role="log" aria-live="polite" aria-relevant="additions"></div>
|
|
269
|
+
</div>
|
|
270
|
+
<button class="jump" id="jump" type="button" hidden>
|
|
271
|
+
<svg class="icon" aria-hidden="true"><use href="#i-chevron-down"></use></svg>
|
|
272
|
+
<span id="jump-label">Jump to latest</span>
|
|
273
|
+
</button>
|
|
274
|
+
</section>
|
|
275
|
+
|
|
276
|
+
<section class="view view-activity" id="view-activity" role="tabpanel" aria-labelledby="tab-activity" hidden>
|
|
277
|
+
<div class="activity-bar">
|
|
278
|
+
<div class="segmented" id="activity-filter" role="group" aria-label="Filter activity">
|
|
279
|
+
<button class="seg-btn is-active" type="button" data-filter="all" aria-pressed="true">All</button>
|
|
280
|
+
<button class="seg-btn" type="button" data-filter="tools" aria-pressed="false">Tools</button>
|
|
281
|
+
<button class="seg-btn" type="button" data-filter="errors" aria-pressed="false">Errors</button>
|
|
282
|
+
</div>
|
|
283
|
+
<span class="activity-live" id="activity-live"><span class="live-dot" aria-hidden="true"></span>Live</span>
|
|
284
|
+
</div>
|
|
285
|
+
<div class="activity-scroll" id="activity-scroll">
|
|
286
|
+
<div class="changes-panel" id="changes-panel" hidden></div>
|
|
287
|
+
<div class="activity-list" id="activity-list"></div>
|
|
288
|
+
</div>
|
|
289
|
+
</section>
|
|
290
|
+
</main>
|
|
291
|
+
|
|
292
|
+
<footer class="composer" id="composer">
|
|
293
|
+
<div class="composer-shell">
|
|
294
|
+
<div class="queue-strip" id="queue-strip" hidden></div>
|
|
295
|
+
<div class="archived-banner" id="archived-banner" role="status" hidden>
|
|
296
|
+
<span class="archived-banner-text">Archived session — unarchive to continue</span>
|
|
297
|
+
<button class="archived-banner-action" id="btn-unarchive" type="button">Unarchive</button>
|
|
298
|
+
</div>
|
|
299
|
+
<div class="composer-box">
|
|
300
|
+
<textarea class="composer-input" id="composer-input" rows="1" maxlength="8000" placeholder="Message…"
|
|
301
|
+
aria-label="Message" enterkeyhint="send" autocapitalize="sentences" spellcheck="true"></textarea>
|
|
302
|
+
<div class="composer-actions">
|
|
303
|
+
<button class="mic-btn" id="btn-mic" type="button" aria-label="Voice input" aria-pressed="false" hidden>
|
|
304
|
+
<svg class="icon" aria-hidden="true"><use href="#i-mic"></use></svg>
|
|
305
|
+
</button>
|
|
306
|
+
<button class="stop-btn" id="btn-stop" type="button" aria-label="Stop generating" hidden>
|
|
307
|
+
<svg class="icon" aria-hidden="true"><use href="#i-stop"></use></svg>
|
|
308
|
+
</button>
|
|
309
|
+
<button class="send-btn" id="btn-send" type="button" aria-label="Send message" disabled>
|
|
310
|
+
<svg class="icon" aria-hidden="true"><use href="#i-arrow-up"></use></svg>
|
|
311
|
+
</button>
|
|
312
|
+
</div>
|
|
313
|
+
</div>
|
|
314
|
+
<div class="composer-meta">
|
|
315
|
+
<span class="composer-note" id="composer-note">Ready</span>
|
|
316
|
+
<div class="context-meter" id="context-meter" role="group" aria-label="Context usage" hidden>
|
|
317
|
+
<span class="context-label" id="context-label" aria-hidden="true"></span>
|
|
318
|
+
<span class="context-track" aria-hidden="true"><span class="context-fill" id="context-fill"></span></span>
|
|
319
|
+
<span class="context-est" id="context-est" aria-hidden="true" hidden>est.</span>
|
|
320
|
+
</div>
|
|
321
|
+
<div class="composer-right">
|
|
322
|
+
<div class="prompt-mode" id="prompt-mode" role="group" aria-label="Send mode" hidden>
|
|
323
|
+
<button class="prompt-mode-btn is-active" type="button" data-mode="queue" aria-pressed="true">Queue</button>
|
|
324
|
+
<button class="prompt-mode-btn" type="button" data-mode="steer" aria-pressed="false">Steer</button>
|
|
325
|
+
</div>
|
|
326
|
+
<span class="composer-model mono" id="composer-model"></span>
|
|
327
|
+
</div>
|
|
328
|
+
</div>
|
|
329
|
+
</div>
|
|
330
|
+
</footer>
|
|
331
|
+
</div>
|
|
332
|
+
|
|
333
|
+
<!-- Scrim + bottom sheet -->
|
|
334
|
+
<div class="scrim" id="scrim" hidden></div>
|
|
335
|
+
<section class="sheet" id="sheet" role="dialog" aria-modal="true" aria-labelledby="sheet-title" hidden>
|
|
336
|
+
<div class="sheet-grab" id="sheet-grab" aria-hidden="true"><span></span></div>
|
|
337
|
+
<div class="sheet-head">
|
|
338
|
+
<div class="sheet-heading">
|
|
339
|
+
<h2 class="sheet-title" id="sheet-title">Sessions</h2>
|
|
340
|
+
<p class="sheet-sub" id="sheet-sub" hidden></p>
|
|
341
|
+
</div>
|
|
342
|
+
<button class="iconbtn" id="sheet-close" type="button" aria-label="Close">
|
|
343
|
+
<svg class="icon" aria-hidden="true"><use href="#i-x"></use></svg>
|
|
344
|
+
</button>
|
|
345
|
+
</div>
|
|
346
|
+
<div class="sheet-body" id="sheet-body"></div>
|
|
347
|
+
<div class="sheet-foot" id="sheet-foot" hidden></div>
|
|
348
|
+
</section>
|
|
349
|
+
|
|
350
|
+
<div class="app-lock" id="app-lock" role="dialog" aria-modal="true" aria-labelledby="app-lock-title" hidden>
|
|
351
|
+
<div class="app-lock-card">
|
|
352
|
+
<div class="logo-mark app-lock-mark">
|
|
353
|
+
<svg class="logo-glyph" aria-hidden="true"><use href="#i-mark"></use></svg>
|
|
354
|
+
</div>
|
|
355
|
+
<h2 class="app-lock-title" id="app-lock-title">DSH Remote is locked</h2>
|
|
356
|
+
<p class="app-lock-text">Unlock with this phone's biometrics or screen lock to see the session.</p>
|
|
357
|
+
<button class="btn btn-primary btn-block" id="app-lock-unlock" type="button">Unlock</button>
|
|
358
|
+
<p class="app-lock-error" id="app-lock-error" role="alert" hidden></p>
|
|
359
|
+
<p class="app-lock-recovery">Can't unlock? Revoke this device from the desktop pairing panel and pair again.</p>
|
|
360
|
+
</div>
|
|
361
|
+
</div>
|
|
362
|
+
|
|
363
|
+
<div class="toast" id="toast" role="status" aria-live="polite"></div>
|
|
364
|
+
|
|
365
|
+
<noscript><p class="noscript">DSH Remote needs JavaScript enabled.</p></noscript>
|
|
366
|
+
<script src="/app.js?v=20" defer></script>
|
|
367
|
+
</body>
|
|
368
|
+
</html>
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "DSH Remote",
|
|
3
|
+
"short_name": "DSH Remote",
|
|
4
|
+
"description": "Control a DeepSeek Harness session from your phone over your local network.",
|
|
5
|
+
"start_url": "/",
|
|
6
|
+
"scope": "/",
|
|
7
|
+
"display": "standalone",
|
|
8
|
+
"orientation": "portrait",
|
|
9
|
+
"background_color": "#F7F5F2",
|
|
10
|
+
"theme_color": "#F7F5F2",
|
|
11
|
+
"icons": [
|
|
12
|
+
{
|
|
13
|
+
"src": "/icons/icon-192.png",
|
|
14
|
+
"sizes": "192x192",
|
|
15
|
+
"type": "image/png",
|
|
16
|
+
"purpose": "any"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"src": "/icons/icon-512.png",
|
|
20
|
+
"sizes": "512x512",
|
|
21
|
+
"type": "image/png",
|
|
22
|
+
"purpose": "any"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"src": "/icons/icon-maskable-512.png",
|
|
26
|
+
"sizes": "512x512",
|
|
27
|
+
"type": "image/png",
|
|
28
|
+
"purpose": "maskable"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"share_target": {
|
|
32
|
+
"action": "/share-target",
|
|
33
|
+
"method": "GET",
|
|
34
|
+
"params": {
|
|
35
|
+
"title": "title",
|
|
36
|
+
"text": "text",
|
|
37
|
+
"url": "url"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|