@lynx-js/devtool-connector 0.18.2 → 0.18.4
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 +16 -0
- package/dist/2.js +4 -3
- package/dist/f1.js +22 -39
- package/dist/h.js +14 -8
- package/dist/t.js +4 -3
- package/dist/transport/android.d.ts +1 -1
- package/dist/{i.js → u.js} +76 -56
- package/dist/ws-stream.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @lynx-js/devtool-connector
|
|
2
2
|
|
|
3
|
+
## 0.18.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependency `@rslib/core` to `^1.0.5`.
|
|
8
|
+
- Updated dependency `ws` to `^8.22.1`.
|
|
9
|
+
- Schedule idle cleanup for unsubscribed daemon device connections discovered by `listClients` and use `readOnce` for daemon control responses.
|
|
10
|
+
- Keep an idle DevTool device connection open for 30 seconds after the last subscriber leaves.
|
|
11
|
+
- Remove `getAndroidTransportSpec` and delegate default Android ADB server configuration to `AdbServerNodeJsTcpConnector`. Direct mode now uses `ADB_SERVER_SOCKET` first, then `ANDROID_ADB_SERVER_ADDRESS` and `ANDROID_ADB_SERVER_PORT`, with the IPv4 loopback default (`127.0.0.1:5037`), because the ADB server always binds IPv4 loopback while `localhost` can resolve to ::1 first, and upstream errors for invalid ports instead of silently falling back. Replace the nonstandard `ADB_SERVER_HOST` / `ADB_SERVER_PORT` variables with the standard names.
|
|
12
|
+
|
|
13
|
+
ADB configuration is read from `process.env` at transport construction, not the product entrypoint's injected `env` object. Explicit socket options still override the environment. Strip the standard ADB configuration variables from daemon child processes to retain direct/daemon isolation.
|
|
14
|
+
|
|
15
|
+
## 0.18.3
|
|
16
|
+
|
|
17
|
+
No changes in this release.
|
|
18
|
+
|
|
3
19
|
## 0.18.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/2.js
CHANGED
|
@@ -1659,7 +1659,7 @@ const DAEMON_SHUTDOWN_PATH = `${DAEMON_WS_PATH}/shutdown`;
|
|
|
1659
1659
|
const DAEMON_INSPECTOR_PATH = `${DAEMON_WS_PATH}/inspector`;
|
|
1660
1660
|
const DAEMON_COMMAND_PATH_PREFIX = "/command/";
|
|
1661
1661
|
var package_namespaceObject = {
|
|
1662
|
-
rE: "0.18.
|
|
1662
|
+
rE: "0.18.4"
|
|
1663
1663
|
};
|
|
1664
1664
|
const CONNECTOR_VERSION = package_namespaceObject.rE;
|
|
1665
1665
|
const node_modules_semver = __webpack_require__("../../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/index.js");
|
|
@@ -1669,8 +1669,9 @@ const LOG = node_path.join(DEBUG_ROUTER_DIR, "daemon.log");
|
|
|
1669
1669
|
const ERR = node_path.join(DEBUG_ROUTER_DIR, "daemon.err");
|
|
1670
1670
|
const DAEMON_CONVERGENCE_TIMEOUT_MS = 15000;
|
|
1671
1671
|
const DIRECT_TRANSPORT_ENVIRONMENT_VARIABLES = [
|
|
1672
|
-
"
|
|
1673
|
-
"
|
|
1672
|
+
"ADB_SERVER_SOCKET",
|
|
1673
|
+
"ANDROID_ADB_SERVER_ADDRESS",
|
|
1674
|
+
"ANDROID_ADB_SERVER_PORT"
|
|
1674
1675
|
];
|
|
1675
1676
|
function isCompatibleDaemonVersion(version, currentVersion) {
|
|
1676
1677
|
const daemonVersion = (0, node_modules_semver.valid)(version);
|
package/dist/f1.js
CHANGED
|
@@ -106,32 +106,6 @@ async function writeOnce(writable, chunk, signal) {
|
|
|
106
106
|
await releaseAfterCleanup(writer, abortPromise, hasPrimaryError);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
async function* readMessages(readable, signal) {
|
|
110
|
-
signal.throwIfAborted();
|
|
111
|
-
const reader = readable.getReader();
|
|
112
|
-
let cancelPromise;
|
|
113
|
-
const abortHandler = ()=>{
|
|
114
|
-
cancelPromise ??= startCleanup(()=>reader.cancel(signal.reason));
|
|
115
|
-
};
|
|
116
|
-
signal.addEventListener("abort", abortHandler, {
|
|
117
|
-
once: true
|
|
118
|
-
});
|
|
119
|
-
if (signal.aborted) abortHandler();
|
|
120
|
-
let hasPrimaryError = false;
|
|
121
|
-
try {
|
|
122
|
-
while(!signal.aborted){
|
|
123
|
-
const { value, done } = await reader.read();
|
|
124
|
-
if (done) break;
|
|
125
|
-
yield value;
|
|
126
|
-
}
|
|
127
|
-
} catch (error) {
|
|
128
|
-
hasPrimaryError = true;
|
|
129
|
-
throw error;
|
|
130
|
-
} finally{
|
|
131
|
-
signal.removeEventListener("abort", abortHandler);
|
|
132
|
-
await releaseAfterCleanup(reader, cancelPromise, hasPrimaryError);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
109
|
function _ts_add_disposable_resource(env, value, async) {
|
|
136
110
|
if (null != value) {
|
|
137
111
|
if ("object" != typeof value && "function" != typeof value) throw new TypeError("Object expected.");
|
|
@@ -281,9 +255,13 @@ class HDTTransport {
|
|
|
281
255
|
});
|
|
282
256
|
throw error;
|
|
283
257
|
}
|
|
258
|
+
const target = {
|
|
259
|
+
port: targetPort,
|
|
260
|
+
resolved: true
|
|
261
|
+
};
|
|
284
262
|
const writable = new WritableStream({
|
|
285
263
|
async write (chunk) {
|
|
286
|
-
const message = routeDriverMessage(chunk, conn.id,
|
|
264
|
+
const message = routeDriverMessage(chunk, conn.id, target.port, "string" == typeof port ? port : void 0);
|
|
287
265
|
debug("Transformed chunk for HDT transport: %o", message);
|
|
288
266
|
await writeOnce(conn.writable, stringifyMessage(message), signal);
|
|
289
267
|
},
|
|
@@ -293,7 +271,7 @@ class HDTTransport {
|
|
|
293
271
|
});
|
|
294
272
|
return {
|
|
295
273
|
readable: [
|
|
296
|
-
new JSONStringToObjectStream("string" == typeof port ? port : void 0,
|
|
274
|
+
new JSONStringToObjectStream("string" == typeof port ? port : void 0, target)
|
|
297
275
|
].reduce((stream, transform)=>stream.pipeThrough(transform), conn.readable),
|
|
298
276
|
writable,
|
|
299
277
|
async [Symbol.asyncDispose] () {
|
|
@@ -363,7 +341,7 @@ async function requestFreshClientList(readable, writable, signal) {
|
|
|
363
341
|
await writeOnce(writable, '{"event":"ListClients"}', signal);
|
|
364
342
|
}
|
|
365
343
|
class JSONStringToObjectStream extends TransformStream {
|
|
366
|
-
constructor(debugRouterId,
|
|
344
|
+
constructor(debugRouterId, target){
|
|
367
345
|
super({
|
|
368
346
|
transform (chunk, controller) {
|
|
369
347
|
try {
|
|
@@ -372,17 +350,20 @@ class JSONStringToObjectStream extends TransformStream {
|
|
|
372
350
|
if ("ClientList" === obj["event"] && Array.isArray(obj["data"])) {
|
|
373
351
|
const client = obj["data"].find((client)=>isRecord(client) && isRecord(client["info"]) && client["info"]["debugRouterId"] === debugRouterId);
|
|
374
352
|
const nextPort = isRecord(client) ? Number(client["id"]) : 0 / 0;
|
|
375
|
-
|
|
353
|
+
if (Number.isSafeInteger(nextPort)) {
|
|
354
|
+
target.port = nextPort;
|
|
355
|
+
target.resolved = true;
|
|
356
|
+
} else target.resolved = false;
|
|
376
357
|
}
|
|
377
358
|
const data = obj["data"];
|
|
378
|
-
if ("Customized" === obj["event"] &&
|
|
359
|
+
if ("Customized" === obj["event"] && target.resolved && isRecord(data) && String(data["sender"]) === String(target.port)) obj["data"] = {
|
|
379
360
|
...data,
|
|
380
361
|
sender: debugRouterId
|
|
381
362
|
};
|
|
382
363
|
}
|
|
383
364
|
if (isRecord(obj) && "Customized" === obj["event"] && isRecord(obj["data"])) {
|
|
384
365
|
const sender = obj["data"]["sender"];
|
|
385
|
-
if (void 0 !== sender && "-1" !== String(sender) && "4294967295" !== String(sender) && String(sender) !== String(debugRouterId ??
|
|
366
|
+
if (void 0 !== sender && "-1" !== String(sender) && "4294967295" !== String(sender) && String(sender) !== String(debugRouterId ?? (target.resolved ? target.port : void 0))) return;
|
|
386
367
|
}
|
|
387
368
|
if (void 0 !== debugRouterId && isRecord(obj) && "RouteRejected" === obj["event"]) {
|
|
388
369
|
const data = isRecord(obj["data"]) ? obj["data"] : {};
|
|
@@ -574,8 +555,15 @@ class DaemonTransport {
|
|
|
574
555
|
params
|
|
575
556
|
}
|
|
576
557
|
}), signal);
|
|
577
|
-
|
|
578
|
-
const
|
|
558
|
+
while(!signal.aborted){
|
|
559
|
+
const { value, done } = await readOnce(conn.readable, signal);
|
|
560
|
+
if (done) break;
|
|
561
|
+
let msg;
|
|
562
|
+
try {
|
|
563
|
+
msg = JSON.parse(value);
|
|
564
|
+
} catch {
|
|
565
|
+
continue;
|
|
566
|
+
}
|
|
579
567
|
if ("ControlResponse" === msg.event) {
|
|
580
568
|
const resp = msg.data;
|
|
581
569
|
if (resp.id === id) {
|
|
@@ -667,11 +655,6 @@ class DaemonTransport {
|
|
|
667
655
|
throw err;
|
|
668
656
|
}
|
|
669
657
|
}
|
|
670
|
-
async *#readMessages(readable, signal) {
|
|
671
|
-
for await (const value of readMessages(readable, signal))try {
|
|
672
|
-
yield JSON.parse(value);
|
|
673
|
-
} catch {}
|
|
674
|
-
}
|
|
675
658
|
async #writeMessage(writable, chunk, signal) {
|
|
676
659
|
await writeOnce(writable, chunk, signal);
|
|
677
660
|
}
|
package/dist/h.js
CHANGED
|
@@ -8581,6 +8581,12 @@ class AdbServerNodeJsTcpConnector {
|
|
|
8581
8581
|
this.#listeners.clear();
|
|
8582
8582
|
}
|
|
8583
8583
|
}
|
|
8584
|
+
class AdbServerNodeJsClient extends AdbServerClient {
|
|
8585
|
+
constructor(spec){
|
|
8586
|
+
const connector = new AdbServerNodeJsTcpConnector(spec);
|
|
8587
|
+
super(connector);
|
|
8588
|
+
}
|
|
8589
|
+
}
|
|
8584
8590
|
const APP_ICON_HELPER_JAR_BASE64 = "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";
|
|
8585
8591
|
const ANDROID_APP_ICON_HELPER_JAR = Buffer.from(APP_ICON_HELPER_JAR_BASE64, "base64");
|
|
8586
8592
|
const debug = ansi_createDebug("devtool-mcp-server:takeover");
|
|
@@ -8844,15 +8850,15 @@ function spawnWaitText(adb, command) {
|
|
|
8844
8850
|
class AndroidTransport {
|
|
8845
8851
|
client;
|
|
8846
8852
|
#appIconHelperDeployments = new Map();
|
|
8847
|
-
constructor(spec
|
|
8848
|
-
|
|
8849
|
-
|
|
8850
|
-
|
|
8853
|
+
constructor(spec){
|
|
8854
|
+
if (void 0 === spec) this.client = process.env["ADB_SERVER_SOCKET"] ? new AdbServerNodeJsClient() : new AdbServerNodeJsClient({
|
|
8855
|
+
host: process.env["ANDROID_ADB_SERVER_ADDRESS"] ?? "127.0.0.1"
|
|
8856
|
+
});
|
|
8857
|
+
else if ("path" in spec) this.client = new AdbServerNodeJsClient(spec);
|
|
8858
|
+
else this.client = new AdbServerNodeJsClient({
|
|
8851
8859
|
...spec,
|
|
8852
8860
|
host: spec.host ?? "127.0.0.1"
|
|
8853
|
-
}
|
|
8854
|
-
const connector = "path" in resolvedSpec ? new AdbServerNodeJsTcpConnector(resolvedSpec) : new AdbServerNodeJsTcpConnector(resolvedSpec);
|
|
8855
|
-
this.client = new AdbServerClient(connector);
|
|
8861
|
+
});
|
|
8856
8862
|
}
|
|
8857
8863
|
async connect(options) {
|
|
8858
8864
|
return connectWithPeertalk((opts)=>this.#connectRaw(opts), options);
|
|
@@ -9097,7 +9103,7 @@ class AndroidTransport {
|
|
|
9097
9103
|
}
|
|
9098
9104
|
const output = await spawnWaitText(adb, command);
|
|
9099
9105
|
android_debug(`openApp output ${output}`);
|
|
9100
|
-
if (output.includes("Error:") || output.includes("unable to resolve Intent") || /Error type \d+/u.test(output)) throw new Error(`Failed to open app ${packageName}: ${output.trim()}`);
|
|
9106
|
+
if (output.includes("Error:") || output.includes("Security exception:") || output.includes("Permission Denial:") || output.includes("unable to resolve Intent") || /\b[A-Za-z0-9_$.]*Exception:/u.test(output) || /Error type \d+/u.test(output)) throw new Error(`Failed to open app ${packageName}: ${output.trim()}`);
|
|
9101
9107
|
} catch (e) {
|
|
9102
9108
|
env.error = e;
|
|
9103
9109
|
env.hasError = true;
|
package/dist/t.js
CHANGED
|
@@ -7,7 +7,7 @@ import { fileURLToPath } from "node:url";
|
|
|
7
7
|
import node_zlib from "node:zlib";
|
|
8
8
|
import { Readable } from "node:stream";
|
|
9
9
|
import { pipeline } from "node:stream/promises";
|
|
10
|
-
import "./
|
|
10
|
+
import "./u.js";
|
|
11
11
|
import { ansi_createDebug, isCustomizedMessage, isRegisterEvent, DAEMON_VERSION_PATH, isListClientsRequest, DAEMON_SHUTDOWN_PATH, DAEMON_INSPECTOR_PATH, DAEMON_PRODUCT, isPingEvent, DAEMON_WS_PATH, DAEMON_COMMAND_PATH_PREFIX, isControlRequest, CONNECTOR_VERSION } from "./2.js";
|
|
12
12
|
import { isInitializeResponse } from "./hb.js";
|
|
13
13
|
import { decodeCommandQuery, ActionCore } from "./f.js";
|
|
@@ -419,10 +419,10 @@ class StaticServer {
|
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
const websocket_server = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
422
|
+
const websocket_server = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/websocket-server.js");
|
|
423
423
|
const server_debug = ansi_createDebug("devtool-mcp-server:daemon:server");
|
|
424
424
|
const IDLE_TIMEOUT_MS = 300000;
|
|
425
|
-
const DEVICE_CONN_GRACE_MS =
|
|
425
|
+
const DEVICE_CONN_GRACE_MS = 30000;
|
|
426
426
|
const DEVICE_DISCOVERY_TIMEOUT_MS = 2500;
|
|
427
427
|
const DEVICE_CONN_SETUP_TIMEOUT_MS = 5000;
|
|
428
428
|
class DevtoolDaemon {
|
|
@@ -1170,6 +1170,7 @@ class DevtoolDaemon {
|
|
|
1170
1170
|
}
|
|
1171
1171
|
if (this.#closed) throw new Error(`DevTool daemon closed while acquiring device connection ${key}`);
|
|
1172
1172
|
this.#deviceConnections.set(key, conn);
|
|
1173
|
+
if (0 === conn.subscriberCount) this.#scheduleDeviceConnectionCleanup(conn);
|
|
1173
1174
|
return conn;
|
|
1174
1175
|
} catch (err) {
|
|
1175
1176
|
server_debug("failed to connect to %s: %O", key, err);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdbServerClient } from "@yume-chan/adb";
|
|
1
|
+
import { type AdbServerClient } from "@yume-chan/adb";
|
|
2
2
|
import type { SocketConnectOpts } from "node:net";
|
|
3
3
|
export type * from "./adb-shell-types.js";
|
|
4
4
|
import { type App, type Connection, type Device, type OpenAppOptions, type Transport, type TransportConnectOptions } from "./transport.js";
|
package/dist/{i.js → u.js}
RENAMED
|
@@ -3,8 +3,9 @@ import "./f1.js";
|
|
|
3
3
|
import { createRequire as __rspack_createRequire } from "node:module";
|
|
4
4
|
const __rspack_createRequire_require = __rspack_createRequire(import.meta.url);
|
|
5
5
|
__webpack_require__.add({
|
|
6
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
7
|
-
const {
|
|
6
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/buffer-util.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
7
|
+
const { websocketMask, websocketUnmask } = __rspack_createRequire_require("http");
|
|
8
|
+
const { EMPTY_BUFFER } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/constants.js");
|
|
8
9
|
const FastBuffer = Buffer[Symbol.species];
|
|
9
10
|
function concat(list, totalLength) {
|
|
10
11
|
if (0 === list.length) return EMPTY_BUFFER;
|
|
@@ -48,7 +49,16 @@ __webpack_require__.add({
|
|
|
48
49
|
toBuffer,
|
|
49
50
|
unmask: _unmask
|
|
50
51
|
};
|
|
51
|
-
if (
|
|
52
|
+
if (websocketMask) {
|
|
53
|
+
module.exports.mask = function(source, mask, output, offset, length) {
|
|
54
|
+
if (length < 24) _mask(source, mask, output, offset, length);
|
|
55
|
+
else websocketMask(source, mask, output, offset, length);
|
|
56
|
+
};
|
|
57
|
+
module.exports.unmask = function(buffer, mask) {
|
|
58
|
+
if (buffer.length < 24) _unmask(buffer, mask);
|
|
59
|
+
else websocketUnmask(buffer, mask);
|
|
60
|
+
};
|
|
61
|
+
} else if (!process.env.WS_NO_BUFFER_UTIL) try {
|
|
52
62
|
const bufferUtil = __webpack_require__("bufferutil");
|
|
53
63
|
module.exports.mask = function(source, mask, output, offset, length) {
|
|
54
64
|
if (length < 48) _mask(source, mask, output, offset, length);
|
|
@@ -60,7 +70,7 @@ __webpack_require__.add({
|
|
|
60
70
|
};
|
|
61
71
|
} catch (e) {}
|
|
62
72
|
},
|
|
63
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
73
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/constants.js" (module) {
|
|
64
74
|
const BINARY_TYPES = [
|
|
65
75
|
'nodebuffer',
|
|
66
76
|
'arraybuffer',
|
|
@@ -81,8 +91,8 @@ __webpack_require__.add({
|
|
|
81
91
|
NOOP: ()=>{}
|
|
82
92
|
};
|
|
83
93
|
},
|
|
84
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
85
|
-
const { kForOnEventAttribute, kListener } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
94
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/event-target.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
95
|
+
const { kForOnEventAttribute, kListener } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/constants.js");
|
|
86
96
|
const kCode = Symbol('kCode');
|
|
87
97
|
const kData = Symbol('kData');
|
|
88
98
|
const kError = Symbol('kError');
|
|
@@ -226,8 +236,8 @@ __webpack_require__.add({
|
|
|
226
236
|
else listener.call(thisArg, event);
|
|
227
237
|
}
|
|
228
238
|
},
|
|
229
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
230
|
-
const { tokenChars } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
239
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/extension.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
240
|
+
const { tokenChars } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/validation.js");
|
|
231
241
|
function push(dest, name, elem) {
|
|
232
242
|
if (void 0 === dest[name]) dest[name] = [
|
|
233
243
|
elem
|
|
@@ -348,7 +358,7 @@ __webpack_require__.add({
|
|
|
348
358
|
parse
|
|
349
359
|
};
|
|
350
360
|
},
|
|
351
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
361
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/limiter.js" (module) {
|
|
352
362
|
const kDone = Symbol('kDone');
|
|
353
363
|
const kRun = Symbol('kRun');
|
|
354
364
|
class Limiter {
|
|
@@ -376,11 +386,11 @@ __webpack_require__.add({
|
|
|
376
386
|
}
|
|
377
387
|
module.exports = Limiter;
|
|
378
388
|
},
|
|
379
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
389
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/permessage-deflate.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
380
390
|
const zlib = __rspack_createRequire_require("zlib");
|
|
381
|
-
const bufferUtil = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
382
|
-
const Limiter = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
383
|
-
const { kStatusCode } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
391
|
+
const bufferUtil = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/buffer-util.js");
|
|
392
|
+
const Limiter = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/limiter.js");
|
|
393
|
+
const { kStatusCode } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/constants.js");
|
|
384
394
|
const FastBuffer = Buffer[Symbol.species];
|
|
385
395
|
const TRAILER = Buffer.from([
|
|
386
396
|
0x00,
|
|
@@ -585,12 +595,12 @@ __webpack_require__.add({
|
|
|
585
595
|
this[kCallback](err);
|
|
586
596
|
}
|
|
587
597
|
},
|
|
588
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
598
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/receiver.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
589
599
|
const { Writable } = __rspack_createRequire_require("stream");
|
|
590
|
-
const PerMessageDeflate = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
591
|
-
const { BINARY_TYPES, EMPTY_BUFFER, kStatusCode, kWebSocket } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
592
|
-
const { concat, toArrayBuffer, unmask } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
593
|
-
const { isValidStatusCode, isValidUTF8 } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
600
|
+
const PerMessageDeflate = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/permessage-deflate.js");
|
|
601
|
+
const { BINARY_TYPES, EMPTY_BUFFER, kStatusCode, kWebSocket } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/constants.js");
|
|
602
|
+
const { concat, toArrayBuffer, unmask } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/buffer-util.js");
|
|
603
|
+
const { isValidStatusCode, isValidUTF8 } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/validation.js");
|
|
594
604
|
const FastBuffer = Buffer[Symbol.species];
|
|
595
605
|
const GET_INFO = 0;
|
|
596
606
|
const GET_PAYLOAD_LENGTH_16 = 1;
|
|
@@ -942,14 +952,14 @@ __webpack_require__.add({
|
|
|
942
952
|
}
|
|
943
953
|
module.exports = Receiver;
|
|
944
954
|
},
|
|
945
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
955
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/sender.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
946
956
|
const { Duplex } = __rspack_createRequire_require("stream");
|
|
947
957
|
const { randomFillSync } = __rspack_createRequire_require("crypto");
|
|
948
958
|
const { types: { isUint8Array } } = __rspack_createRequire_require("util");
|
|
949
|
-
const PerMessageDeflate = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
950
|
-
const { EMPTY_BUFFER, kWebSocket, NOOP } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
951
|
-
const { isBlob, isValidStatusCode } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
952
|
-
const { mask: applyMask, toBuffer } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
959
|
+
const PerMessageDeflate = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/permessage-deflate.js");
|
|
960
|
+
const { EMPTY_BUFFER, kWebSocket, NOOP } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/constants.js");
|
|
961
|
+
const { isBlob, isValidStatusCode } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/validation.js");
|
|
962
|
+
const { mask: applyMask, toBuffer } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/buffer-util.js");
|
|
953
963
|
const kByteLength = Symbol('kByteLength');
|
|
954
964
|
const maskBuffer = Buffer.alloc(4);
|
|
955
965
|
const RANDOM_POOL_SIZE = 8192;
|
|
@@ -1023,15 +1033,20 @@ __webpack_require__.add({
|
|
|
1023
1033
|
target[2] = target[3] = 0;
|
|
1024
1034
|
target.writeUIntBE(dataLength, 4, 6);
|
|
1025
1035
|
}
|
|
1026
|
-
if (!options.mask) return [
|
|
1036
|
+
if (!options.mask) return dataLength ? [
|
|
1027
1037
|
target,
|
|
1028
1038
|
data
|
|
1039
|
+
] : [
|
|
1040
|
+
target
|
|
1029
1041
|
];
|
|
1030
1042
|
target[1] |= 0x80;
|
|
1031
1043
|
target[offset - 4] = mask[0];
|
|
1032
1044
|
target[offset - 3] = mask[1];
|
|
1033
1045
|
target[offset - 2] = mask[2];
|
|
1034
1046
|
target[offset - 1] = mask[3];
|
|
1047
|
+
if (!dataLength) return [
|
|
1048
|
+
target
|
|
1049
|
+
];
|
|
1035
1050
|
if (skipMasking) return [
|
|
1036
1051
|
target,
|
|
1037
1052
|
data
|
|
@@ -1293,8 +1308,8 @@ __webpack_require__.add({
|
|
|
1293
1308
|
sender.onerror(err);
|
|
1294
1309
|
}
|
|
1295
1310
|
},
|
|
1296
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
1297
|
-
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1311
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/stream.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1312
|
+
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/websocket.js");
|
|
1298
1313
|
const { Duplex } = __rspack_createRequire_require("stream");
|
|
1299
1314
|
function emitClose(stream) {
|
|
1300
1315
|
stream.emit('close');
|
|
@@ -1376,8 +1391,8 @@ __webpack_require__.add({
|
|
|
1376
1391
|
}
|
|
1377
1392
|
module.exports = createWebSocketStream;
|
|
1378
1393
|
},
|
|
1379
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
1380
|
-
const { tokenChars } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1394
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/subprotocol.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1395
|
+
const { tokenChars } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/validation.js");
|
|
1381
1396
|
function parse(header) {
|
|
1382
1397
|
const protocols = new Set();
|
|
1383
1398
|
let start = -1;
|
|
@@ -1408,9 +1423,9 @@ __webpack_require__.add({
|
|
|
1408
1423
|
parse
|
|
1409
1424
|
};
|
|
1410
1425
|
},
|
|
1411
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
1426
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/validation.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1412
1427
|
const { isUtf8 } = __rspack_createRequire_require("buffer");
|
|
1413
|
-
const { hasBlob } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1428
|
+
const { hasBlob } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/constants.js");
|
|
1414
1429
|
const tokenChars = [
|
|
1415
1430
|
0,
|
|
1416
1431
|
0,
|
|
@@ -1580,16 +1595,16 @@ __webpack_require__.add({
|
|
|
1580
1595
|
};
|
|
1581
1596
|
} catch (e) {}
|
|
1582
1597
|
},
|
|
1583
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
1598
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/websocket-server.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1584
1599
|
const EventEmitter = __rspack_createRequire_require("events");
|
|
1585
1600
|
const http = __rspack_createRequire_require("http");
|
|
1586
1601
|
const { Duplex } = __rspack_createRequire_require("stream");
|
|
1587
1602
|
const { createHash } = __rspack_createRequire_require("crypto");
|
|
1588
|
-
const extension = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1589
|
-
const PerMessageDeflate = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1590
|
-
const subprotocol = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1591
|
-
const WebSocket = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1592
|
-
const { CLOSE_TIMEOUT, GUID, kWebSocket } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1603
|
+
const extension = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/extension.js");
|
|
1604
|
+
const PerMessageDeflate = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/permessage-deflate.js");
|
|
1605
|
+
const subprotocol = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/subprotocol.js");
|
|
1606
|
+
const WebSocket = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/websocket.js");
|
|
1607
|
+
const { CLOSE_TIMEOUT, GUID, kWebSocket } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/constants.js");
|
|
1593
1608
|
const keyRegex = /^[+/0-9A-Za-z]{22}==$/;
|
|
1594
1609
|
const RUNNING = 0;
|
|
1595
1610
|
const CLOSING = 1;
|
|
@@ -1842,7 +1857,7 @@ __webpack_require__.add({
|
|
|
1842
1857
|
} else abortHandshake(socket, code, message, headers);
|
|
1843
1858
|
}
|
|
1844
1859
|
},
|
|
1845
|
-
"../../../node_modules/.pnpm/ws@8.22.
|
|
1860
|
+
"../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/websocket.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1846
1861
|
const EventEmitter = __rspack_createRequire_require("events");
|
|
1847
1862
|
const https = __rspack_createRequire_require("https");
|
|
1848
1863
|
const http = __rspack_createRequire_require("http");
|
|
@@ -1851,14 +1866,14 @@ __webpack_require__.add({
|
|
|
1851
1866
|
const { randomBytes, createHash } = __rspack_createRequire_require("crypto");
|
|
1852
1867
|
const { Duplex, Readable } = __rspack_createRequire_require("stream");
|
|
1853
1868
|
const { URL } = __rspack_createRequire_require("url");
|
|
1854
|
-
const PerMessageDeflate = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1855
|
-
const Receiver = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1856
|
-
const Sender = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1857
|
-
const { isBlob } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1858
|
-
const { BINARY_TYPES, CLOSE_TIMEOUT, EMPTY_BUFFER, GUID, kForOnEventAttribute, kListener, kStatusCode, kWebSocket, NOOP } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1859
|
-
const { EventTarget: { addEventListener, removeEventListener } } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1860
|
-
const { format, parse } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1861
|
-
const { toBuffer } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
1869
|
+
const PerMessageDeflate = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/permessage-deflate.js");
|
|
1870
|
+
const Receiver = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/receiver.js");
|
|
1871
|
+
const Sender = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/sender.js");
|
|
1872
|
+
const { isBlob } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/validation.js");
|
|
1873
|
+
const { BINARY_TYPES, CLOSE_TIMEOUT, EMPTY_BUFFER, GUID, kForOnEventAttribute, kListener, kStatusCode, kWebSocket, NOOP } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/constants.js");
|
|
1874
|
+
const { EventTarget: { addEventListener, removeEventListener } } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/event-target.js");
|
|
1875
|
+
const { format, parse } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/extension.js");
|
|
1876
|
+
const { toBuffer } = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/buffer-util.js");
|
|
1862
1877
|
const kAborted = Symbol('kAborted');
|
|
1863
1878
|
const protocolVersions = [
|
|
1864
1879
|
8,
|
|
@@ -2243,9 +2258,14 @@ __webpack_require__.add({
|
|
|
2243
2258
|
else opts.headers.Origin = opts.origin;
|
|
2244
2259
|
if (parsedUrl.username || parsedUrl.password) opts.auth = `${parsedUrl.username}:${parsedUrl.password}`;
|
|
2245
2260
|
if (isIpcUrl) {
|
|
2246
|
-
const
|
|
2247
|
-
|
|
2248
|
-
|
|
2261
|
+
const i = opts.path.indexOf(':');
|
|
2262
|
+
if (-1 === i) {
|
|
2263
|
+
opts.socketPath = opts.path;
|
|
2264
|
+
opts.path = '';
|
|
2265
|
+
} else {
|
|
2266
|
+
opts.socketPath = opts.path.slice(0, i);
|
|
2267
|
+
opts.path = opts.path.slice(i + 1);
|
|
2268
|
+
}
|
|
2249
2269
|
}
|
|
2250
2270
|
let req;
|
|
2251
2271
|
if (opts.followRedirects) {
|
|
@@ -2495,11 +2515,11 @@ __webpack_require__.add({
|
|
|
2495
2515
|
}
|
|
2496
2516
|
}
|
|
2497
2517
|
});
|
|
2498
|
-
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
2499
|
-
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
2500
|
-
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
2501
|
-
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
2502
|
-
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
2503
|
-
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
2504
|
-
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
2505
|
-
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
2518
|
+
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/stream.js");
|
|
2519
|
+
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/extension.js");
|
|
2520
|
+
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/permessage-deflate.js");
|
|
2521
|
+
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/receiver.js");
|
|
2522
|
+
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/sender.js");
|
|
2523
|
+
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/subprotocol.js");
|
|
2524
|
+
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/websocket.js");
|
|
2525
|
+
__webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/websocket-server.js");
|
package/dist/ws-stream.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __webpack_require__ } from "./rslib-runtime.js";
|
|
2
2
|
import { ReadableStream, WritableStream } from "node:stream/web";
|
|
3
|
-
import "./
|
|
4
|
-
const websocket = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.
|
|
3
|
+
import "./u.js";
|
|
4
|
+
const websocket = __webpack_require__("../../../node_modules/.pnpm/ws@8.22.1/node_modules/ws/lib/websocket.js");
|
|
5
5
|
function stringifyWebSocketData(data) {
|
|
6
6
|
return "string" == typeof data ? data : data.toString();
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/devtool-connector",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/lynx-community/skills.git",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@yume-chan/adb": "3.0.0-beta.4"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@rslib/core": "^1.0.
|
|
54
|
+
"@rslib/core": "^1.0.5",
|
|
55
55
|
"@types/node": "^24.19.2",
|
|
56
56
|
"@types/semver": "^7.8.0",
|
|
57
57
|
"@types/ws": "^8.18.2",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"rsbuild-plugin-publint": "^1.0.0",
|
|
65
65
|
"semver": "^7.8.5",
|
|
66
66
|
"typescript": "^7.0.2",
|
|
67
|
-
"ws": "^8.22.
|
|
67
|
+
"ws": "^8.22.1"
|
|
68
68
|
},
|
|
69
69
|
"engines": {
|
|
70
70
|
"node": ">=18.19"
|