linkque-cli-v2 1.6.10-alpha.0 → 1.6.10
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/dev/worker.js +17 -4
- package/linkquejs.js +25270 -24228
- package/package.json +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-Q5VTO4BZ.js → chunk-FC7MJHC3.js} +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-6POVPTQH.js → chunk-GAYNLDWK.js} +2545 -5930
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-B6GKDCHM.js → chunk-JMBJJF7P.js} +20 -7
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-NE7CUP5E.js → chunk-P7NPWFEB.js} +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-DNTEEBEH.js → chunk-SICWMO5Y.js} +1 -0
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-H7TMASQH.js → chunk-UPH5CD2J.js} +1495 -4726
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-GTEZTRCK.js → chunk-XUFLSZM4.js} +190 -35
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-FA5CNADA.js → chunk-YODH5M5T.js} +26 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{getMachineId-bsd-JGCLGHFY.js → getMachineId-bsd-NYGVHXGN.js} +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{getMachineId-darwin-COHLFNXH.js → getMachineId-darwin-OPTJOAYC.js} +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{getMachineId-linux-XV3Z5FQG.js → getMachineId-linux-5SQRYTUJ.js} +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{getMachineId-unsupported-FCRKLIZL.js → getMachineId-unsupported-OJE7WPEH.js} +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{getMachineId-win-A4WRNVV6.js → getMachineId-win-SLTTCNXU.js} +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{google-generative-ai-6CFHQGZ4.js → google-generative-ai-KD7MXONK.js} +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{google-vertex-C3RF55I7.js → google-vertex-TREYA472.js} +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{mistral-conversations-ZYAKAOUL.js → mistral-conversations-C43A6QIS.js} +4 -4
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{otel-BHGIWGIT.js → otel-RUUFBBFE.js} +3 -3
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/handler/chat.js +174 -161
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/handler/clientCapability.js +5 -5
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/protocol.js +5 -5
- package/worker.js +7129 -13949
package/dev/worker.js
CHANGED
|
@@ -303,7 +303,7 @@ var require_permessage_deflate = __commonJS({
|
|
|
303
303
|
acceptAsServer(offers) {
|
|
304
304
|
const opts = this._options;
|
|
305
305
|
const accepted = offers.find((params) => {
|
|
306
|
-
if (opts.serverNoContextTakeover === false && params.server_no_context_takeover || params.server_max_window_bits && (opts.serverMaxWindowBits === false || typeof opts.serverMaxWindowBits === "number" && opts.serverMaxWindowBits > params.server_max_window_bits) || typeof opts.clientMaxWindowBits === "number" && !params.client_max_window_bits) {
|
|
306
|
+
if (opts.serverNoContextTakeover === false && params.server_no_context_takeover || params.server_max_window_bits && (opts.serverMaxWindowBits === false || typeof opts.serverMaxWindowBits === "number" && opts.serverMaxWindowBits > params.server_max_window_bits) || typeof opts.clientMaxWindowBits === "number" && (typeof params.client_max_window_bits === "number" ? opts.clientMaxWindowBits > params.client_max_window_bits : !params.client_max_window_bits)) {
|
|
307
307
|
return false;
|
|
308
308
|
}
|
|
309
309
|
return true;
|
|
@@ -2321,11 +2321,23 @@ var require_websocket = __commonJS({
|
|
|
2321
2321
|
this._isServer = false;
|
|
2322
2322
|
this._redirects = 0;
|
|
2323
2323
|
if (protocols === void 0) {
|
|
2324
|
-
protocols
|
|
2324
|
+
if (!options || options.protocols === void 0) {
|
|
2325
|
+
protocols = [];
|
|
2326
|
+
} else if (Array.isArray(options.protocols)) {
|
|
2327
|
+
protocols = options.protocols;
|
|
2328
|
+
} else {
|
|
2329
|
+
protocols = [options.protocols];
|
|
2330
|
+
}
|
|
2325
2331
|
} else if (!Array.isArray(protocols)) {
|
|
2326
2332
|
if (typeof protocols === "object" && protocols !== null) {
|
|
2327
2333
|
options = protocols;
|
|
2328
|
-
protocols
|
|
2334
|
+
if (options.protocols === void 0) {
|
|
2335
|
+
protocols = [];
|
|
2336
|
+
} else if (Array.isArray(options.protocols)) {
|
|
2337
|
+
protocols = options.protocols;
|
|
2338
|
+
} else {
|
|
2339
|
+
protocols = [options.protocols];
|
|
2340
|
+
}
|
|
2329
2341
|
} else {
|
|
2330
2342
|
protocols = [protocols];
|
|
2331
2343
|
}
|
|
@@ -2522,7 +2534,6 @@ var require_websocket = __commonJS({
|
|
|
2522
2534
|
}
|
|
2523
2535
|
return;
|
|
2524
2536
|
}
|
|
2525
|
-
this._readyState = _WebSocket.CLOSING;
|
|
2526
2537
|
this._sender.close(code, data, !this._isServer, (err) => {
|
|
2527
2538
|
if (err) return;
|
|
2528
2539
|
this._closeFrameSent = true;
|
|
@@ -2530,6 +2541,7 @@ var require_websocket = __commonJS({
|
|
|
2530
2541
|
this._socket.end();
|
|
2531
2542
|
}
|
|
2532
2543
|
});
|
|
2544
|
+
this._readyState = _WebSocket.CLOSING;
|
|
2533
2545
|
setCloseTimer(this);
|
|
2534
2546
|
}
|
|
2535
2547
|
/**
|
|
@@ -2754,6 +2766,7 @@ var require_websocket = __commonJS({
|
|
|
2754
2766
|
socketPath: void 0,
|
|
2755
2767
|
hostname: void 0,
|
|
2756
2768
|
protocol: void 0,
|
|
2769
|
+
protocols: void 0,
|
|
2757
2770
|
timeout: void 0,
|
|
2758
2771
|
method: "GET",
|
|
2759
2772
|
host: void 0,
|