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.
Files changed (25) hide show
  1. package/dev/worker.js +17 -4
  2. package/linkquejs.js +26370 -25399
  3. package/package.json +1 -1
  4. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-FI7ME5FS.js → chunk-2O5AZ546.js} +1 -1
  5. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-SICWMO5Y.js → chunk-DNTEEBEH.js} +0 -1
  6. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-Q5VTO4BZ.js → chunk-FC7MJHC3.js} +1 -1
  7. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-6POVPTQH.js → chunk-GAYNLDWK.js} +2545 -5930
  8. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-B6GKDCHM.js → chunk-JMBJJF7P.js} +20 -7
  9. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-GTEZTRCK.js → chunk-XUFLSZM4.js} +190 -35
  10. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-AWYMLINQ.js → chunk-ZK7HXMMY.js} +1420 -4817
  11. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-64EZ7CTZ.js → chunk-ZQGBHENQ.js} +1 -25
  12. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{getMachineId-bsd-NYGVHXGN.js → getMachineId-bsd-JGCLGHFY.js} +1 -1
  13. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{getMachineId-darwin-OPTJOAYC.js → getMachineId-darwin-COHLFNXH.js} +1 -1
  14. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{getMachineId-linux-5SQRYTUJ.js → getMachineId-linux-XV3Z5FQG.js} +1 -1
  15. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{getMachineId-unsupported-OJE7WPEH.js → getMachineId-unsupported-FCRKLIZL.js} +1 -1
  16. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{getMachineId-win-SLTTCNXU.js → getMachineId-win-A4WRNVV6.js} +1 -1
  17. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{google-generative-ai-6CFHQGZ4.js → google-generative-ai-KD7MXONK.js} +1 -1
  18. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{google-vertex-C3RF55I7.js → google-vertex-TREYA472.js} +1 -1
  19. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{mistral-conversations-XUDTCRDY.js → mistral-conversations-OEOTQWE5.js} +4 -4
  20. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{otel-3OUODIOB.js → otel-WGS5CC2J.js} +3 -3
  21. package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/handler/chat.js +217 -337
  22. package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/handler/clientCapability.js +5 -5
  23. package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/protocol.js +5 -5
  24. package/vendor/linkque-agent-appwrite-integrate/package.json +1 -1
  25. package/worker.js +7261 -14360
@@ -22,7 +22,7 @@ import {
22
22
  RUNTIME_CONFIG_DEFAULTS,
23
23
  RuntimeConfigProvider,
24
24
  isDebugLoggingEnabled
25
- } from "./chunk-AWYMLINQ.js";
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,
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  esm_exports,
6
6
  init_esm
7
- } from "./chunk-SICWMO5Y.js";
7
+ } from "./chunk-DNTEEBEH.js";
8
8
  import {
9
9
  __commonJS,
10
10
  __require,
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  esm_exports,
6
6
  init_esm
7
- } from "./chunk-SICWMO5Y.js";
7
+ } from "./chunk-DNTEEBEH.js";
8
8
  import {
9
9
  __commonJS,
10
10
  __toCommonJS
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  esm_exports,
3
3
  init_esm
4
- } from "./chunk-SICWMO5Y.js";
4
+ } from "./chunk-DNTEEBEH.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  esm_exports,
3
3
  init_esm
4
- } from "./chunk-SICWMO5Y.js";
4
+ } from "./chunk-DNTEEBEH.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __toCommonJS
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  esm_exports,
6
6
  init_esm
7
- } from "./chunk-SICWMO5Y.js";
7
+ } from "./chunk-DNTEEBEH.js";
8
8
  import {
9
9
  __commonJS,
10
10
  __require,
@@ -6,7 +6,7 @@ import {
6
6
  mapStopReason,
7
7
  mapToolChoice,
8
8
  retainThoughtSignature
9
- } from "./chunk-B6GKDCHM.js";
9
+ } from "./chunk-JMBJJF7P.js";
10
10
  import {
11
11
  formatProviderError,
12
12
  normalizeProviderError
@@ -8,7 +8,7 @@ import {
8
8
  mapStopReason,
9
9
  mapToolChoice,
10
10
  retainThoughtSignature
11
- } from "./chunk-B6GKDCHM.js";
11
+ } from "./chunk-JMBJJF7P.js";
12
12
  import {
13
13
  formatProviderError,
14
14
  normalizeProviderError
@@ -33,7 +33,7 @@ import {
33
33
  safeParse,
34
34
  smartUnion,
35
35
  unwrapAsync
36
- } from "./chunk-Q5VTO4BZ.js";
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-GTEZTRCK.js";
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-6POVPTQH.js";
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-3OUODIOB.js");
391
+ observabilityModule = await import("./otel-WGS5CC2J.js");
392
392
  } catch {
393
393
  observabilityModule = null;
394
394
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  UsageInfo$outboundSchema,
3
3
  completionChunkFromJSON
4
- } from "./chunk-Q5VTO4BZ.js";
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-6POVPTQH.js";
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-SICWMO5Y.js";
261
+ } from "./chunk-DNTEEBEH.js";
262
262
  import {
263
263
  __export
264
264
  } from "./chunk-2ESYSVXG.js";