linkque-cli-v2 1.6.15 → 1.6.16
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 +26370 -25399
- package/package.json +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-FI7ME5FS.js → chunk-2O5AZ546.js} +1 -1
- 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-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-GTEZTRCK.js → chunk-XUFLSZM4.js} +190 -35
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-AWYMLINQ.js → chunk-ZK7HXMMY.js} +1420 -4817
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-64EZ7CTZ.js → chunk-ZQGBHENQ.js} +1 -25
- 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-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-XUDTCRDY.js → mistral-conversations-OEOTQWE5.js} +4 -4
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{otel-3OUODIOB.js → otel-WGS5CC2J.js} +3 -3
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/handler/chat.js +217 -337
- 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/vendor/linkque-agent-appwrite-integrate/package.json +1 -1
- package/worker.js +7261 -14360
package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-64EZ7CTZ.js → chunk-ZQGBHENQ.js}
RENAMED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
RUNTIME_CONFIG_DEFAULTS,
|
|
23
23
|
RuntimeConfigProvider,
|
|
24
24
|
isDebugLoggingEnabled
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZK7HXMMY.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__require,
|
|
@@ -15663,7 +15663,6 @@ var API_KEY_HEADER = "x-appwrite-key";
|
|
|
15663
15663
|
var TRIGGER_HEADER = "x-appwrite-trigger";
|
|
15664
15664
|
var ENV_SELECTOR_HEADER = "x-linkque-env";
|
|
15665
15665
|
var TRACE_ID_HEADER = "x-trace-id";
|
|
15666
|
-
var OTEL_TRACE_ID_HEADER = "x-linkque-otel-trace-id";
|
|
15667
15666
|
var FRONTEND_APP_ID_HEADER = "x-linkque-alipay-app-id";
|
|
15668
15667
|
var ALIPAY_AUTH_CODE_HEADER = "x-alipay-authcode";
|
|
15669
15668
|
var AUTH_UNAVAILABLE_HEADER = "x-linkque-phone-auth-unavailable";
|
|
@@ -15743,28 +15742,6 @@ function readTraceId(headers) {
|
|
|
15743
15742
|
}
|
|
15744
15743
|
return void 0;
|
|
15745
15744
|
}
|
|
15746
|
-
function readOtelTraceId(headers) {
|
|
15747
|
-
if (!headers)
|
|
15748
|
-
return { kind: "missing" };
|
|
15749
|
-
let found = Object.prototype.hasOwnProperty.call(headers, OTEL_TRACE_ID_HEADER);
|
|
15750
|
-
let value = found ? headers[OTEL_TRACE_ID_HEADER] : void 0;
|
|
15751
|
-
if (!found) {
|
|
15752
|
-
for (const [key, candidate] of Object.entries(headers)) {
|
|
15753
|
-
if (key.toLowerCase() === OTEL_TRACE_ID_HEADER) {
|
|
15754
|
-
found = true;
|
|
15755
|
-
value = candidate;
|
|
15756
|
-
break;
|
|
15757
|
-
}
|
|
15758
|
-
}
|
|
15759
|
-
}
|
|
15760
|
-
if (!found)
|
|
15761
|
-
return { kind: "missing" };
|
|
15762
|
-
const raw = headValue(value);
|
|
15763
|
-
if (!raw)
|
|
15764
|
-
return { kind: "invalid" };
|
|
15765
|
-
const traceId = raw.toLowerCase();
|
|
15766
|
-
return /^[0-9a-f]{32}$/u.test(traceId) && traceId !== "00000000000000000000000000000000" ? { kind: "valid", traceId } : { kind: "invalid" };
|
|
15767
|
-
}
|
|
15768
15745
|
function readFrontendAppId(headers) {
|
|
15769
15746
|
if (!headers)
|
|
15770
15747
|
return void 0;
|
|
@@ -15939,7 +15916,6 @@ export {
|
|
|
15939
15916
|
mcpPhoneAuthorizationChallenge,
|
|
15940
15917
|
readEnvSelector,
|
|
15941
15918
|
readTraceId,
|
|
15942
|
-
readOtelTraceId,
|
|
15943
15919
|
readFrontendAppId,
|
|
15944
15920
|
readAuthenticatedUserId,
|
|
15945
15921
|
readAppwriteApiKey,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
safeParse,
|
|
34
34
|
smartUnion,
|
|
35
35
|
unwrapAsync
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-FC7MJHC3.js";
|
|
37
37
|
import {
|
|
38
38
|
shortHash
|
|
39
39
|
} from "./chunk-UFVAKOTZ.js";
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
} from "./chunk-CT4G24PS.js";
|
|
55
55
|
import {
|
|
56
56
|
zodToJsonSchema
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-XUFLSZM4.js";
|
|
58
58
|
import {
|
|
59
59
|
$ZodError,
|
|
60
60
|
NEVER,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
record,
|
|
78
78
|
string,
|
|
79
79
|
union
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-GAYNLDWK.js";
|
|
81
81
|
import "./chunk-2ESYSVXG.js";
|
|
82
82
|
|
|
83
83
|
// ../../node_modules/@mistralai/mistralai/esm/lib/url.js
|
|
@@ -388,7 +388,7 @@ async function getObservabilityModule() {
|
|
|
388
388
|
return observabilityModule;
|
|
389
389
|
}
|
|
390
390
|
try {
|
|
391
|
-
observabilityModule = await import("./otel-
|
|
391
|
+
observabilityModule = await import("./otel-WGS5CC2J.js");
|
|
392
392
|
} catch {
|
|
393
393
|
observabilityModule = null;
|
|
394
394
|
}
|
package/vendor/linkque-agent-appwrite-integrate/dist/esm/{otel-3OUODIOB.js → otel-WGS5CC2J.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UsageInfo$outboundSchema,
|
|
3
3
|
completionChunkFromJSON
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FC7MJHC3.js";
|
|
5
5
|
import {
|
|
6
6
|
ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED,
|
|
7
7
|
ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED,
|
|
@@ -251,14 +251,14 @@ import {
|
|
|
251
251
|
init_stable_events,
|
|
252
252
|
init_stable_metrics
|
|
253
253
|
} from "./chunk-EAODRPW4.js";
|
|
254
|
-
import "./chunk-
|
|
254
|
+
import "./chunk-GAYNLDWK.js";
|
|
255
255
|
import {
|
|
256
256
|
SpanStatusCode,
|
|
257
257
|
context,
|
|
258
258
|
init_esm,
|
|
259
259
|
propagation,
|
|
260
260
|
trace
|
|
261
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-DNTEEBEH.js";
|
|
262
262
|
import {
|
|
263
263
|
__export
|
|
264
264
|
} from "./chunk-2ESYSVXG.js";
|