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