@deep-podder/dsh-remote-mobile 0.0.5 → 0.0.6

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/PROTOCOL.md CHANGED
@@ -364,7 +364,7 @@ A cold session answers `code: "not-live"`, an unknown or hidden command `code: "
364
364
  ### Server → Client
365
365
 
366
366
  ```jsonc
367
- { "type": "ready", "version": "0.0.5", "server": { "name", "port" },
367
+ { "type": "ready", "version": "0.0.6", "server": { "name", "port" },
368
368
  "device": { "id", "name", "canApprove": true }, "sessions": [], "workspaces": [],
369
369
  "activeSessionId": null, "queue": [],
370
370
  "limits": { "image": { "maxBytes", "maxDimension", "maxImages",
package/README.md CHANGED
@@ -72,9 +72,11 @@ the desktop-style project grouping, the chat surface and the Host command palett
72
72
 
73
73
  ## Requirements
74
74
 
75
- - **DeepSeek Harness 0.2.2-rc.1** with the Desktop/Web profile (the desktop pairing panel is
76
- a client module of the Harness Web UI). Other 0.2.2-rc builds may work; the Host API surface
77
- this plugin uses is documented in [docs/api-notes.md](docs/api-notes.md).
75
+ - **DeepSeek Harness 0.2.2-rc.3** with the Desktop/Web profile (the desktop pairing panel is
76
+ a client module of the Harness Web UI). The plugin's scoped client registration was verified
77
+ against 0.2.2-rc.3; earlier 0.2.2-rc builds may work, but the client-module registration id
78
+ must match the installed package name (the bridge Host API surface this plugin uses is
79
+ documented in [docs/api-notes.md](docs/api-notes.md)).
78
80
  - **Node 22 or newer** (the Host's runtime; the plugin itself has no npm dependencies and uses
79
81
  only `node:` built-ins). `dev/` checks use the built-in `fetch`.
80
82
  - A phone with a current browser. For use away from the LAN, **Tailscale** (or any HTTPS
package/client.js CHANGED
@@ -3,7 +3,12 @@
3
3
  // expiry countdown and paired-device management. All data comes from the Host
4
4
  // server over a key-gated loopback endpoint.
5
5
  window.__ModuleLoader__.load({
6
- id: 'dsh-remote-mobile',
6
+ // The registration id MUST equal the client module's manifest row id (the
7
+ // package name). The module system keys factories by package name; a short
8
+ // id (e.g. `dsh-remote-mobile`) leaves the package row unresolved, so the
9
+ // bundle is loaded a second time and the second registration throws
10
+ // "duplicate factory registration".
11
+ id: '@deep-podder/dsh-remote-mobile',
7
12
  factory(require) {
8
13
  const React = require('react')
9
14
  const h = React.createElement
Binary file
Binary file
package/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  import { createBridge } from './bridge.js'
5
5
  import { RemoteMobileServer } from './server.js'
6
6
 
7
- const VERSION = '0.0.5'
7
+ const VERSION = '0.0.6'
8
8
 
9
9
  /**
10
10
  * @param {object} ctx Cordis host context
package/mobile/app.js CHANGED
@@ -11,7 +11,7 @@
11
11
  'use strict';
12
12
 
13
13
  var SVGNS = 'http://www.w3.org/2000/svg';
14
- var FALLBACK_VERSION = '0.0.5';
14
+ var FALLBACK_VERSION = '0.0.6';
15
15
  var LS_ACTIVE = 'dshrm.activeSession.v1';
16
16
  var PIN_LENGTH = 4;
17
17
  var MAX_TOOL_OUTPUT = 120000;
@@ -34,7 +34,7 @@ import { networkInterfaces } from 'node:os';
34
34
  const HERE = dirname(fileURLToPath(import.meta.url));
35
35
  const PORT = Number(process.env.PORT || process.argv[2] || 3456);
36
36
  const HOST = process.env.HOST || '0.0.0.0';
37
- const VERSION = '0.0.5';
37
+ const VERSION = '0.0.6';
38
38
  const PAIRING_TOKEN = randomBytes(24).toString('base64url');
39
39
  const RATE_WINDOW_MS = Number(process.env.RM_RATE_WINDOW_MS || 5 * 60 * 1000);
40
40
  const RATE_MAX = Number(process.env.RM_RATE_MAX || 5);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deep-podder/dsh-remote-mobile",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "description": "Secure local mobile companion for DeepSeek Harness: pair a phone with a QR code and control live sessions.",
6
6
  "license": "MIT",
package/server.js CHANGED
@@ -13,7 +13,7 @@ import { createAuth, equals } from './auth.js'
13
13
  import { createPushService } from './push.js'
14
14
  import { qrSvg } from './qr.js'
15
15
 
16
- const VERSION = '0.0.5'
16
+ const VERSION = '0.0.6'
17
17
  const WS_GUID = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11'
18
18
  const MAX_MESSAGE_BYTES = 1024 * 1024
19
19
  const MAX_BODY_BYTES = 64 * 1024