linkque-cli-v2 1.6.15 → 1.6.17

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 (20) hide show
  1. package/dataTransformWorker.js +175 -89
  2. package/dev/worker.js +17 -4
  3. package/linkquejs.js +45257 -26095
  4. package/package.json +1 -1
  5. package/vendor/linkque-agent-appwrite-integrate/data-transform/dataTransformWorker.js +175 -89
  6. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-AWYMLINQ.js → chunk-7OYTZGOC.js} +38867 -23911
  7. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-64EZ7CTZ.js → chunk-EJB2EPNQ.js} +46 -3
  8. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-Q5VTO4BZ.js → chunk-FC7MJHC3.js} +1 -1
  9. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-6POVPTQH.js → chunk-GAYNLDWK.js} +2545 -5930
  10. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-B6GKDCHM.js → chunk-JMBJJF7P.js} +20 -7
  11. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-FI7ME5FS.js → chunk-RSMGFPPK.js} +1 -1
  12. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-GTEZTRCK.js → chunk-XUFLSZM4.js} +190 -35
  13. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{google-generative-ai-6CFHQGZ4.js → google-generative-ai-KD7MXONK.js} +1 -1
  14. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{google-vertex-C3RF55I7.js → google-vertex-TREYA472.js} +1 -1
  15. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{mistral-conversations-XUDTCRDY.js → mistral-conversations-C43A6QIS.js} +4 -4
  16. package/vendor/linkque-agent-appwrite-integrate/dist/esm/{otel-3OUODIOB.js → otel-RUUFBBFE.js} +2 -2
  17. package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/handler/chat.js +1530 -275
  18. package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/handler/clientCapability.js +4 -4
  19. package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/protocol.js +4 -4
  20. package/worker.js +37089 -25716
@@ -22,7 +22,7 @@ import {
22
22
  RUNTIME_CONFIG_DEFAULTS,
23
23
  RuntimeConfigProvider,
24
24
  isDebugLoggingEnabled
25
- } from "./chunk-AWYMLINQ.js";
25
+ } from "./chunk-7OYTZGOC.js";
26
26
  import {
27
27
  __commonJS,
28
28
  __require,
@@ -7336,6 +7336,47 @@ var require_agent = __commonJS({
7336
7336
  }
7337
7337
  });
7338
7338
 
7339
+ // ../linkque-agent-appwrite-integrate/dist/esm/runtime/authorizationSchemaDefinition.js
7340
+ var AUTHORIZATION_CHECKPOINT_TABLE = "linkque_authorization_checkpoints";
7341
+ var AUTHORIZATION_CHECKPOINT_COLUMNS = [
7342
+ ...[
7343
+ "ownerId",
7344
+ "agentId",
7345
+ "runId",
7346
+ "threadId",
7347
+ "itemId",
7348
+ "authorizationRequestId",
7349
+ "authSessionId",
7350
+ "expiresAt",
7351
+ "status",
7352
+ "protocolHash"
7353
+ ].map((key) => ({
7354
+ key,
7355
+ type: "varchar",
7356
+ size: key === "authSessionId" ? 256 : 128,
7357
+ required: true,
7358
+ array: false,
7359
+ default: null
7360
+ })),
7361
+ ...["requestJson", "checkpointJson", "presentationJson"].map((key) => ({
7362
+ key,
7363
+ type: "longtext",
7364
+ size: 0,
7365
+ required: false,
7366
+ array: false,
7367
+ default: null
7368
+ })),
7369
+ {
7370
+ key: "nextSeqIndex",
7371
+ type: "integer",
7372
+ size: 0,
7373
+ required: true,
7374
+ array: false,
7375
+ default: null,
7376
+ min: 0
7377
+ }
7378
+ ];
7379
+
7339
7380
  // ../linkque-agent-appwrite-integrate/dist/esm/runtime/appbaseRuntimeConfigProvider.js
7340
7381
  var LINKQUE_ENDPOINT_PRE = "https://linkquegw-pre.alipay.com";
7341
7382
  var APPBASE_RUNTIME_CONFIG_DEFAULTS = Object.freeze({
@@ -15919,10 +15960,12 @@ function nonEmpty(value) {
15919
15960
  }
15920
15961
 
15921
15962
  export {
15922
- APPBASE_RUNTIME_CONFIG_DEFAULTS,
15923
- AppbaseRuntimeConfigProvider,
15924
15963
  Query,
15925
15964
  TablesDB,
15965
+ AUTHORIZATION_CHECKPOINT_TABLE,
15966
+ LINKQUE_ENDPOINT_PRE,
15967
+ APPBASE_RUNTIME_CONFIG_DEFAULTS,
15968
+ AppbaseRuntimeConfigProvider,
15926
15969
  resolveRunStorage,
15927
15970
  createAppBaseClient,
15928
15971
  withIsoTimestamp,
@@ -13,7 +13,7 @@ import {
13
13
  string,
14
14
  union,
15
15
  unknown
16
- } from "./chunk-6POVPTQH.js";
16
+ } from "./chunk-GAYNLDWK.js";
17
17
 
18
18
  // ../../node_modules/@mistralai/mistralai/esm/lib/primitives.js
19
19
  function remap(inp, mappings) {