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
|
@@ -42,21 +42,23 @@ import {
|
|
|
42
42
|
readAuthenticatedUserId,
|
|
43
43
|
readEnvSelector,
|
|
44
44
|
readMcpPhoneAuthorization,
|
|
45
|
+
readOtelTraceId,
|
|
45
46
|
readTemporaryFrontendAppId,
|
|
46
47
|
readTraceId,
|
|
47
48
|
resolveBodyJSON,
|
|
48
49
|
resolveGatewayAuthContext,
|
|
50
|
+
resolveLinkqueGatewayAuth,
|
|
49
51
|
resolveLinkqueGatewayRequestAuth,
|
|
50
52
|
resolveRunStorage,
|
|
51
53
|
toAgentRunMessages,
|
|
52
54
|
withIsoTimestamp
|
|
53
|
-
} from "../../chunk-
|
|
55
|
+
} from "../../chunk-YODH5M5T.js";
|
|
54
56
|
import "../../chunk-IWOFD643.js";
|
|
55
57
|
import "../../chunk-PXCGFBV5.js";
|
|
56
58
|
import "../../chunk-ETG6PNHQ.js";
|
|
57
59
|
import {
|
|
58
60
|
getBakedProtocol
|
|
59
|
-
} from "../../chunk-
|
|
61
|
+
} from "../../chunk-P7NPWFEB.js";
|
|
60
62
|
import {
|
|
61
63
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
62
64
|
CANCEL_CONVERSATION_RUN_OPERATION,
|
|
@@ -196,11 +198,11 @@ import {
|
|
|
196
198
|
warnLogFailure,
|
|
197
199
|
wrapToolWithHooks,
|
|
198
200
|
writeJsonPointer
|
|
199
|
-
} from "../../chunk-
|
|
201
|
+
} from "../../chunk-UPH5CD2J.js";
|
|
200
202
|
import "../../chunk-EAODRPW4.js";
|
|
201
|
-
import "../../chunk-
|
|
202
|
-
import "../../chunk-
|
|
203
|
-
import "../../chunk-
|
|
203
|
+
import "../../chunk-XUFLSZM4.js";
|
|
204
|
+
import "../../chunk-GAYNLDWK.js";
|
|
205
|
+
import "../../chunk-SICWMO5Y.js";
|
|
204
206
|
import {
|
|
205
207
|
__commonJS,
|
|
206
208
|
__export,
|
|
@@ -208,9 +210,9 @@ import {
|
|
|
208
210
|
__toESM
|
|
209
211
|
} from "../../chunk-2ESYSVXG.js";
|
|
210
212
|
|
|
211
|
-
// ../../node_modules
|
|
213
|
+
// ../../node_modules/yaml/dist/nodes/identity.js
|
|
212
214
|
var require_identity = __commonJS({
|
|
213
|
-
"../../node_modules
|
|
215
|
+
"../../node_modules/yaml/dist/nodes/identity.js"(exports) {
|
|
214
216
|
"use strict";
|
|
215
217
|
var ALIAS = Symbol.for("yaml.alias");
|
|
216
218
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -265,9 +267,9 @@ var require_identity = __commonJS({
|
|
|
265
267
|
}
|
|
266
268
|
});
|
|
267
269
|
|
|
268
|
-
// ../../node_modules
|
|
270
|
+
// ../../node_modules/yaml/dist/visit.js
|
|
269
271
|
var require_visit = __commonJS({
|
|
270
|
-
"../../node_modules
|
|
272
|
+
"../../node_modules/yaml/dist/visit.js"(exports) {
|
|
271
273
|
"use strict";
|
|
272
274
|
var identity = require_identity();
|
|
273
275
|
var BREAK = Symbol("break visit");
|
|
@@ -423,9 +425,9 @@ var require_visit = __commonJS({
|
|
|
423
425
|
}
|
|
424
426
|
});
|
|
425
427
|
|
|
426
|
-
// ../../node_modules
|
|
428
|
+
// ../../node_modules/yaml/dist/doc/directives.js
|
|
427
429
|
var require_directives = __commonJS({
|
|
428
|
-
"../../node_modules
|
|
430
|
+
"../../node_modules/yaml/dist/doc/directives.js"(exports) {
|
|
429
431
|
"use strict";
|
|
430
432
|
var identity = require_identity();
|
|
431
433
|
var visit = require_visit();
|
|
@@ -594,9 +596,9 @@ var require_directives = __commonJS({
|
|
|
594
596
|
}
|
|
595
597
|
});
|
|
596
598
|
|
|
597
|
-
// ../../node_modules
|
|
599
|
+
// ../../node_modules/yaml/dist/doc/anchors.js
|
|
598
600
|
var require_anchors = __commonJS({
|
|
599
|
-
"../../node_modules
|
|
601
|
+
"../../node_modules/yaml/dist/doc/anchors.js"(exports) {
|
|
600
602
|
"use strict";
|
|
601
603
|
var identity = require_identity();
|
|
602
604
|
var visit = require_visit();
|
|
@@ -664,9 +666,9 @@ var require_anchors = __commonJS({
|
|
|
664
666
|
}
|
|
665
667
|
});
|
|
666
668
|
|
|
667
|
-
// ../../node_modules
|
|
669
|
+
// ../../node_modules/yaml/dist/doc/applyReviver.js
|
|
668
670
|
var require_applyReviver = __commonJS({
|
|
669
|
-
"../../node_modules
|
|
671
|
+
"../../node_modules/yaml/dist/doc/applyReviver.js"(exports) {
|
|
670
672
|
"use strict";
|
|
671
673
|
function applyReviver(reviver, obj, key, val) {
|
|
672
674
|
if (val && typeof val === "object") {
|
|
@@ -714,9 +716,9 @@ var require_applyReviver = __commonJS({
|
|
|
714
716
|
}
|
|
715
717
|
});
|
|
716
718
|
|
|
717
|
-
// ../../node_modules
|
|
719
|
+
// ../../node_modules/yaml/dist/nodes/toJS.js
|
|
718
720
|
var require_toJS = __commonJS({
|
|
719
|
-
"../../node_modules
|
|
721
|
+
"../../node_modules/yaml/dist/nodes/toJS.js"(exports) {
|
|
720
722
|
"use strict";
|
|
721
723
|
var identity = require_identity();
|
|
722
724
|
function toJS(value, arg, ctx) {
|
|
@@ -744,9 +746,9 @@ var require_toJS = __commonJS({
|
|
|
744
746
|
}
|
|
745
747
|
});
|
|
746
748
|
|
|
747
|
-
// ../../node_modules
|
|
749
|
+
// ../../node_modules/yaml/dist/nodes/Node.js
|
|
748
750
|
var require_Node = __commonJS({
|
|
749
|
-
"../../node_modules
|
|
751
|
+
"../../node_modules/yaml/dist/nodes/Node.js"(exports) {
|
|
750
752
|
"use strict";
|
|
751
753
|
var applyReviver = require_applyReviver();
|
|
752
754
|
var identity = require_identity();
|
|
@@ -785,9 +787,9 @@ var require_Node = __commonJS({
|
|
|
785
787
|
}
|
|
786
788
|
});
|
|
787
789
|
|
|
788
|
-
// ../../node_modules
|
|
790
|
+
// ../../node_modules/yaml/dist/nodes/Alias.js
|
|
789
791
|
var require_Alias = __commonJS({
|
|
790
|
-
"../../node_modules
|
|
792
|
+
"../../node_modules/yaml/dist/nodes/Alias.js"(exports) {
|
|
791
793
|
"use strict";
|
|
792
794
|
var anchors = require_anchors();
|
|
793
795
|
var visit = require_visit();
|
|
@@ -901,9 +903,9 @@ var require_Alias = __commonJS({
|
|
|
901
903
|
}
|
|
902
904
|
});
|
|
903
905
|
|
|
904
|
-
// ../../node_modules
|
|
906
|
+
// ../../node_modules/yaml/dist/nodes/Scalar.js
|
|
905
907
|
var require_Scalar = __commonJS({
|
|
906
|
-
"../../node_modules
|
|
908
|
+
"../../node_modules/yaml/dist/nodes/Scalar.js"(exports) {
|
|
907
909
|
"use strict";
|
|
908
910
|
var identity = require_identity();
|
|
909
911
|
var Node = require_Node();
|
|
@@ -931,9 +933,9 @@ var require_Scalar = __commonJS({
|
|
|
931
933
|
}
|
|
932
934
|
});
|
|
933
935
|
|
|
934
|
-
// ../../node_modules
|
|
936
|
+
// ../../node_modules/yaml/dist/doc/createNode.js
|
|
935
937
|
var require_createNode = __commonJS({
|
|
936
|
-
"../../node_modules
|
|
938
|
+
"../../node_modules/yaml/dist/doc/createNode.js"(exports) {
|
|
937
939
|
"use strict";
|
|
938
940
|
var Alias = require_Alias();
|
|
939
941
|
var identity = require_identity();
|
|
@@ -1006,9 +1008,9 @@ var require_createNode = __commonJS({
|
|
|
1006
1008
|
}
|
|
1007
1009
|
});
|
|
1008
1010
|
|
|
1009
|
-
// ../../node_modules
|
|
1011
|
+
// ../../node_modules/yaml/dist/nodes/Collection.js
|
|
1010
1012
|
var require_Collection = __commonJS({
|
|
1011
|
-
"../../node_modules
|
|
1013
|
+
"../../node_modules/yaml/dist/nodes/Collection.js"(exports) {
|
|
1012
1014
|
"use strict";
|
|
1013
1015
|
var createNode = require_createNode();
|
|
1014
1016
|
var identity = require_identity();
|
|
@@ -1149,9 +1151,9 @@ var require_Collection = __commonJS({
|
|
|
1149
1151
|
}
|
|
1150
1152
|
});
|
|
1151
1153
|
|
|
1152
|
-
// ../../node_modules
|
|
1154
|
+
// ../../node_modules/yaml/dist/stringify/stringifyComment.js
|
|
1153
1155
|
var require_stringifyComment = __commonJS({
|
|
1154
|
-
"../../node_modules
|
|
1156
|
+
"../../node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
|
|
1155
1157
|
"use strict";
|
|
1156
1158
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
1157
1159
|
function indentComment(comment, indent) {
|
|
@@ -1166,9 +1168,9 @@ var require_stringifyComment = __commonJS({
|
|
|
1166
1168
|
}
|
|
1167
1169
|
});
|
|
1168
1170
|
|
|
1169
|
-
// ../../node_modules
|
|
1171
|
+
// ../../node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
1170
1172
|
var require_foldFlowLines = __commonJS({
|
|
1171
|
-
"../../node_modules
|
|
1173
|
+
"../../node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
|
|
1172
1174
|
"use strict";
|
|
1173
1175
|
var FOLD_FLOW = "flow";
|
|
1174
1176
|
var FOLD_BLOCK = "block";
|
|
@@ -1302,9 +1304,9 @@ ${indent}${text2.slice(fold + 1, end2)}`;
|
|
|
1302
1304
|
}
|
|
1303
1305
|
});
|
|
1304
1306
|
|
|
1305
|
-
// ../../node_modules
|
|
1307
|
+
// ../../node_modules/yaml/dist/stringify/stringifyString.js
|
|
1306
1308
|
var require_stringifyString = __commonJS({
|
|
1307
|
-
"../../node_modules
|
|
1309
|
+
"../../node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
|
|
1308
1310
|
"use strict";
|
|
1309
1311
|
var Scalar = require_Scalar();
|
|
1310
1312
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -1585,9 +1587,9 @@ ${indent}`);
|
|
|
1585
1587
|
}
|
|
1586
1588
|
});
|
|
1587
1589
|
|
|
1588
|
-
// ../../node_modules
|
|
1590
|
+
// ../../node_modules/yaml/dist/stringify/stringify.js
|
|
1589
1591
|
var require_stringify = __commonJS({
|
|
1590
|
-
"../../node_modules
|
|
1592
|
+
"../../node_modules/yaml/dist/stringify/stringify.js"(exports) {
|
|
1591
1593
|
"use strict";
|
|
1592
1594
|
var anchors = require_anchors();
|
|
1593
1595
|
var identity = require_identity();
|
|
@@ -1709,9 +1711,9 @@ ${ctx.indent}${str}`;
|
|
|
1709
1711
|
}
|
|
1710
1712
|
});
|
|
1711
1713
|
|
|
1712
|
-
// ../../node_modules
|
|
1714
|
+
// ../../node_modules/yaml/dist/stringify/stringifyPair.js
|
|
1713
1715
|
var require_stringifyPair = __commonJS({
|
|
1714
|
-
"../../node_modules
|
|
1716
|
+
"../../node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
|
|
1715
1717
|
"use strict";
|
|
1716
1718
|
var identity = require_identity();
|
|
1717
1719
|
var Scalar = require_Scalar();
|
|
@@ -1842,9 +1844,9 @@ ${ctx.indent}`;
|
|
|
1842
1844
|
}
|
|
1843
1845
|
});
|
|
1844
1846
|
|
|
1845
|
-
// ../../node_modules
|
|
1847
|
+
// ../../node_modules/yaml/dist/log.js
|
|
1846
1848
|
var require_log = __commonJS({
|
|
1847
|
-
"../../node_modules
|
|
1849
|
+
"../../node_modules/yaml/dist/log.js"(exports) {
|
|
1848
1850
|
"use strict";
|
|
1849
1851
|
var node_process = __require("process");
|
|
1850
1852
|
function debug(logLevel, ...messages) {
|
|
@@ -1864,9 +1866,9 @@ var require_log = __commonJS({
|
|
|
1864
1866
|
}
|
|
1865
1867
|
});
|
|
1866
1868
|
|
|
1867
|
-
// ../../node_modules
|
|
1869
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
1868
1870
|
var require_merge = __commonJS({
|
|
1869
|
-
"../../node_modules
|
|
1871
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports) {
|
|
1870
1872
|
"use strict";
|
|
1871
1873
|
var identity = require_identity();
|
|
1872
1874
|
var Scalar = require_Scalar();
|
|
@@ -1924,9 +1926,9 @@ var require_merge = __commonJS({
|
|
|
1924
1926
|
}
|
|
1925
1927
|
});
|
|
1926
1928
|
|
|
1927
|
-
// ../../node_modules
|
|
1929
|
+
// ../../node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
1928
1930
|
var require_addPairToJSMap = __commonJS({
|
|
1929
|
-
"../../node_modules
|
|
1931
|
+
"../../node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
|
|
1930
1932
|
"use strict";
|
|
1931
1933
|
var log = require_log();
|
|
1932
1934
|
var merge = require_merge();
|
|
@@ -1988,9 +1990,9 @@ var require_addPairToJSMap = __commonJS({
|
|
|
1988
1990
|
}
|
|
1989
1991
|
});
|
|
1990
1992
|
|
|
1991
|
-
// ../../node_modules
|
|
1993
|
+
// ../../node_modules/yaml/dist/nodes/Pair.js
|
|
1992
1994
|
var require_Pair = __commonJS({
|
|
1993
|
-
"../../node_modules
|
|
1995
|
+
"../../node_modules/yaml/dist/nodes/Pair.js"(exports) {
|
|
1994
1996
|
"use strict";
|
|
1995
1997
|
var createNode = require_createNode();
|
|
1996
1998
|
var stringifyPair = require_stringifyPair();
|
|
@@ -2028,9 +2030,9 @@ var require_Pair = __commonJS({
|
|
|
2028
2030
|
}
|
|
2029
2031
|
});
|
|
2030
2032
|
|
|
2031
|
-
// ../../node_modules
|
|
2033
|
+
// ../../node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
2032
2034
|
var require_stringifyCollection = __commonJS({
|
|
2033
|
-
"../../node_modules
|
|
2035
|
+
"../../node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
|
|
2034
2036
|
"use strict";
|
|
2035
2037
|
var identity = require_identity();
|
|
2036
2038
|
var stringify = require_stringify();
|
|
@@ -2179,9 +2181,9 @@ ${indent}${end}`;
|
|
|
2179
2181
|
}
|
|
2180
2182
|
});
|
|
2181
2183
|
|
|
2182
|
-
// ../../node_modules
|
|
2184
|
+
// ../../node_modules/yaml/dist/nodes/YAMLMap.js
|
|
2183
2185
|
var require_YAMLMap = __commonJS({
|
|
2184
|
-
"../../node_modules
|
|
2186
|
+
"../../node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
|
|
2185
2187
|
"use strict";
|
|
2186
2188
|
var stringifyCollection = require_stringifyCollection();
|
|
2187
2189
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -2323,9 +2325,9 @@ var require_YAMLMap = __commonJS({
|
|
|
2323
2325
|
}
|
|
2324
2326
|
});
|
|
2325
2327
|
|
|
2326
|
-
// ../../node_modules
|
|
2328
|
+
// ../../node_modules/yaml/dist/schema/common/map.js
|
|
2327
2329
|
var require_map = __commonJS({
|
|
2328
|
-
"../../node_modules
|
|
2330
|
+
"../../node_modules/yaml/dist/schema/common/map.js"(exports) {
|
|
2329
2331
|
"use strict";
|
|
2330
2332
|
var identity = require_identity();
|
|
2331
2333
|
var YAMLMap = require_YAMLMap();
|
|
@@ -2345,9 +2347,9 @@ var require_map = __commonJS({
|
|
|
2345
2347
|
}
|
|
2346
2348
|
});
|
|
2347
2349
|
|
|
2348
|
-
// ../../node_modules
|
|
2350
|
+
// ../../node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
2349
2351
|
var require_YAMLSeq = __commonJS({
|
|
2350
|
-
"../../node_modules
|
|
2352
|
+
"../../node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
|
|
2351
2353
|
"use strict";
|
|
2352
2354
|
var createNode = require_createNode();
|
|
2353
2355
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -2461,9 +2463,9 @@ var require_YAMLSeq = __commonJS({
|
|
|
2461
2463
|
}
|
|
2462
2464
|
});
|
|
2463
2465
|
|
|
2464
|
-
// ../../node_modules
|
|
2466
|
+
// ../../node_modules/yaml/dist/schema/common/seq.js
|
|
2465
2467
|
var require_seq = __commonJS({
|
|
2466
|
-
"../../node_modules
|
|
2468
|
+
"../../node_modules/yaml/dist/schema/common/seq.js"(exports) {
|
|
2467
2469
|
"use strict";
|
|
2468
2470
|
var identity = require_identity();
|
|
2469
2471
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -2483,9 +2485,9 @@ var require_seq = __commonJS({
|
|
|
2483
2485
|
}
|
|
2484
2486
|
});
|
|
2485
2487
|
|
|
2486
|
-
// ../../node_modules
|
|
2488
|
+
// ../../node_modules/yaml/dist/schema/common/string.js
|
|
2487
2489
|
var require_string = __commonJS({
|
|
2488
|
-
"../../node_modules
|
|
2490
|
+
"../../node_modules/yaml/dist/schema/common/string.js"(exports) {
|
|
2489
2491
|
"use strict";
|
|
2490
2492
|
var stringifyString = require_stringifyString();
|
|
2491
2493
|
var string = {
|
|
@@ -2502,9 +2504,9 @@ var require_string = __commonJS({
|
|
|
2502
2504
|
}
|
|
2503
2505
|
});
|
|
2504
2506
|
|
|
2505
|
-
// ../../node_modules
|
|
2507
|
+
// ../../node_modules/yaml/dist/schema/common/null.js
|
|
2506
2508
|
var require_null = __commonJS({
|
|
2507
|
-
"../../node_modules
|
|
2509
|
+
"../../node_modules/yaml/dist/schema/common/null.js"(exports) {
|
|
2508
2510
|
"use strict";
|
|
2509
2511
|
var Scalar = require_Scalar();
|
|
2510
2512
|
var nullTag = {
|
|
@@ -2520,9 +2522,9 @@ var require_null = __commonJS({
|
|
|
2520
2522
|
}
|
|
2521
2523
|
});
|
|
2522
2524
|
|
|
2523
|
-
// ../../node_modules
|
|
2525
|
+
// ../../node_modules/yaml/dist/schema/core/bool.js
|
|
2524
2526
|
var require_bool = __commonJS({
|
|
2525
|
-
"../../node_modules
|
|
2527
|
+
"../../node_modules/yaml/dist/schema/core/bool.js"(exports) {
|
|
2526
2528
|
"use strict";
|
|
2527
2529
|
var Scalar = require_Scalar();
|
|
2528
2530
|
var boolTag = {
|
|
@@ -2544,9 +2546,9 @@ var require_bool = __commonJS({
|
|
|
2544
2546
|
}
|
|
2545
2547
|
});
|
|
2546
2548
|
|
|
2547
|
-
// ../../node_modules
|
|
2549
|
+
// ../../node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
2548
2550
|
var require_stringifyNumber = __commonJS({
|
|
2549
|
-
"../../node_modules
|
|
2551
|
+
"../../node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
|
|
2550
2552
|
"use strict";
|
|
2551
2553
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
2552
2554
|
if (typeof value === "bigint")
|
|
@@ -2571,9 +2573,9 @@ var require_stringifyNumber = __commonJS({
|
|
|
2571
2573
|
}
|
|
2572
2574
|
});
|
|
2573
2575
|
|
|
2574
|
-
// ../../node_modules
|
|
2576
|
+
// ../../node_modules/yaml/dist/schema/core/float.js
|
|
2575
2577
|
var require_float = __commonJS({
|
|
2576
|
-
"../../node_modules
|
|
2578
|
+
"../../node_modules/yaml/dist/schema/core/float.js"(exports) {
|
|
2577
2579
|
"use strict";
|
|
2578
2580
|
var Scalar = require_Scalar();
|
|
2579
2581
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2617,9 +2619,9 @@ var require_float = __commonJS({
|
|
|
2617
2619
|
}
|
|
2618
2620
|
});
|
|
2619
2621
|
|
|
2620
|
-
// ../../node_modules
|
|
2622
|
+
// ../../node_modules/yaml/dist/schema/core/int.js
|
|
2621
2623
|
var require_int = __commonJS({
|
|
2622
|
-
"../../node_modules
|
|
2624
|
+
"../../node_modules/yaml/dist/schema/core/int.js"(exports) {
|
|
2623
2625
|
"use strict";
|
|
2624
2626
|
var stringifyNumber = require_stringifyNumber();
|
|
2625
2627
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2662,9 +2664,9 @@ var require_int = __commonJS({
|
|
|
2662
2664
|
}
|
|
2663
2665
|
});
|
|
2664
2666
|
|
|
2665
|
-
// ../../node_modules
|
|
2667
|
+
// ../../node_modules/yaml/dist/schema/core/schema.js
|
|
2666
2668
|
var require_schema = __commonJS({
|
|
2667
|
-
"../../node_modules
|
|
2669
|
+
"../../node_modules/yaml/dist/schema/core/schema.js"(exports) {
|
|
2668
2670
|
"use strict";
|
|
2669
2671
|
var map = require_map();
|
|
2670
2672
|
var _null = require_null();
|
|
@@ -2690,9 +2692,9 @@ var require_schema = __commonJS({
|
|
|
2690
2692
|
}
|
|
2691
2693
|
});
|
|
2692
2694
|
|
|
2693
|
-
// ../../node_modules
|
|
2695
|
+
// ../../node_modules/yaml/dist/schema/json/schema.js
|
|
2694
2696
|
var require_schema2 = __commonJS({
|
|
2695
|
-
"../../node_modules
|
|
2697
|
+
"../../node_modules/yaml/dist/schema/json/schema.js"(exports) {
|
|
2696
2698
|
"use strict";
|
|
2697
2699
|
var Scalar = require_Scalar();
|
|
2698
2700
|
var map = require_map();
|
|
@@ -2757,9 +2759,9 @@ var require_schema2 = __commonJS({
|
|
|
2757
2759
|
}
|
|
2758
2760
|
});
|
|
2759
2761
|
|
|
2760
|
-
// ../../node_modules
|
|
2762
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
2761
2763
|
var require_binary = __commonJS({
|
|
2762
|
-
"../../node_modules
|
|
2764
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
|
|
2763
2765
|
"use strict";
|
|
2764
2766
|
var node_buffer = __require("buffer");
|
|
2765
2767
|
var Scalar = require_Scalar();
|
|
@@ -2823,9 +2825,9 @@ var require_binary = __commonJS({
|
|
|
2823
2825
|
}
|
|
2824
2826
|
});
|
|
2825
2827
|
|
|
2826
|
-
// ../../node_modules
|
|
2828
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
2827
2829
|
var require_pairs = __commonJS({
|
|
2828
|
-
"../../node_modules
|
|
2830
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
|
|
2829
2831
|
"use strict";
|
|
2830
2832
|
var identity = require_identity();
|
|
2831
2833
|
var Pair = require_Pair();
|
|
@@ -2901,9 +2903,9 @@ ${cn.comment}` : item.comment;
|
|
|
2901
2903
|
}
|
|
2902
2904
|
});
|
|
2903
2905
|
|
|
2904
|
-
// ../../node_modules
|
|
2906
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
2905
2907
|
var require_omap = __commonJS({
|
|
2906
|
-
"../../node_modules
|
|
2908
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
|
|
2907
2909
|
"use strict";
|
|
2908
2910
|
var identity = require_identity();
|
|
2909
2911
|
var toJS = require_toJS();
|
|
@@ -2979,9 +2981,9 @@ var require_omap = __commonJS({
|
|
|
2979
2981
|
}
|
|
2980
2982
|
});
|
|
2981
2983
|
|
|
2982
|
-
// ../../node_modules
|
|
2984
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
2983
2985
|
var require_bool2 = __commonJS({
|
|
2984
|
-
"../../node_modules
|
|
2986
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
|
|
2985
2987
|
"use strict";
|
|
2986
2988
|
var Scalar = require_Scalar();
|
|
2987
2989
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -3011,9 +3013,9 @@ var require_bool2 = __commonJS({
|
|
|
3011
3013
|
}
|
|
3012
3014
|
});
|
|
3013
3015
|
|
|
3014
|
-
// ../../node_modules
|
|
3016
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
3015
3017
|
var require_float2 = __commonJS({
|
|
3016
|
-
"../../node_modules
|
|
3018
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
|
|
3017
3019
|
"use strict";
|
|
3018
3020
|
var Scalar = require_Scalar();
|
|
3019
3021
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -3060,9 +3062,9 @@ var require_float2 = __commonJS({
|
|
|
3060
3062
|
}
|
|
3061
3063
|
});
|
|
3062
3064
|
|
|
3063
|
-
// ../../node_modules
|
|
3065
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
3064
3066
|
var require_int2 = __commonJS({
|
|
3065
|
-
"../../node_modules
|
|
3067
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
|
|
3066
3068
|
"use strict";
|
|
3067
3069
|
var stringifyNumber = require_stringifyNumber();
|
|
3068
3070
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -3139,9 +3141,9 @@ var require_int2 = __commonJS({
|
|
|
3139
3141
|
}
|
|
3140
3142
|
});
|
|
3141
3143
|
|
|
3142
|
-
// ../../node_modules
|
|
3144
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
3143
3145
|
var require_set = __commonJS({
|
|
3144
|
-
"../../node_modules
|
|
3146
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
|
|
3145
3147
|
"use strict";
|
|
3146
3148
|
var identity = require_identity();
|
|
3147
3149
|
var Pair = require_Pair();
|
|
@@ -3228,9 +3230,9 @@ var require_set = __commonJS({
|
|
|
3228
3230
|
}
|
|
3229
3231
|
});
|
|
3230
3232
|
|
|
3231
|
-
// ../../node_modules
|
|
3233
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
3232
3234
|
var require_timestamp = __commonJS({
|
|
3233
|
-
"../../node_modules
|
|
3235
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
|
|
3234
3236
|
"use strict";
|
|
3235
3237
|
var stringifyNumber = require_stringifyNumber();
|
|
3236
3238
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -3316,9 +3318,9 @@ var require_timestamp = __commonJS({
|
|
|
3316
3318
|
}
|
|
3317
3319
|
});
|
|
3318
3320
|
|
|
3319
|
-
// ../../node_modules
|
|
3321
|
+
// ../../node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
3320
3322
|
var require_schema3 = __commonJS({
|
|
3321
|
-
"../../node_modules
|
|
3323
|
+
"../../node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
|
|
3322
3324
|
"use strict";
|
|
3323
3325
|
var map = require_map();
|
|
3324
3326
|
var _null = require_null();
|
|
@@ -3360,9 +3362,9 @@ var require_schema3 = __commonJS({
|
|
|
3360
3362
|
}
|
|
3361
3363
|
});
|
|
3362
3364
|
|
|
3363
|
-
// ../../node_modules
|
|
3365
|
+
// ../../node_modules/yaml/dist/schema/tags.js
|
|
3364
3366
|
var require_tags = __commonJS({
|
|
3365
|
-
"../../node_modules
|
|
3367
|
+
"../../node_modules/yaml/dist/schema/tags.js"(exports) {
|
|
3366
3368
|
"use strict";
|
|
3367
3369
|
var map = require_map();
|
|
3368
3370
|
var _null = require_null();
|
|
@@ -3454,9 +3456,9 @@ var require_tags = __commonJS({
|
|
|
3454
3456
|
}
|
|
3455
3457
|
});
|
|
3456
3458
|
|
|
3457
|
-
// ../../node_modules
|
|
3459
|
+
// ../../node_modules/yaml/dist/schema/Schema.js
|
|
3458
3460
|
var require_Schema = __commonJS({
|
|
3459
|
-
"../../node_modules
|
|
3461
|
+
"../../node_modules/yaml/dist/schema/Schema.js"(exports) {
|
|
3460
3462
|
"use strict";
|
|
3461
3463
|
var identity = require_identity();
|
|
3462
3464
|
var map = require_map();
|
|
@@ -3486,9 +3488,9 @@ var require_Schema = __commonJS({
|
|
|
3486
3488
|
}
|
|
3487
3489
|
});
|
|
3488
3490
|
|
|
3489
|
-
// ../../node_modules
|
|
3491
|
+
// ../../node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
3490
3492
|
var require_stringifyDocument = __commonJS({
|
|
3491
|
-
"../../node_modules
|
|
3493
|
+
"../../node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
|
|
3492
3494
|
"use strict";
|
|
3493
3495
|
var identity = require_identity();
|
|
3494
3496
|
var stringify = require_stringify();
|
|
@@ -3566,9 +3568,9 @@ var require_stringifyDocument = __commonJS({
|
|
|
3566
3568
|
}
|
|
3567
3569
|
});
|
|
3568
3570
|
|
|
3569
|
-
// ../../node_modules
|
|
3571
|
+
// ../../node_modules/yaml/dist/doc/Document.js
|
|
3570
3572
|
var require_Document = __commonJS({
|
|
3571
|
-
"../../node_modules
|
|
3573
|
+
"../../node_modules/yaml/dist/doc/Document.js"(exports) {
|
|
3572
3574
|
"use strict";
|
|
3573
3575
|
var Alias = require_Alias();
|
|
3574
3576
|
var Collection = require_Collection();
|
|
@@ -3875,9 +3877,9 @@ var require_Document = __commonJS({
|
|
|
3875
3877
|
}
|
|
3876
3878
|
});
|
|
3877
3879
|
|
|
3878
|
-
// ../../node_modules
|
|
3880
|
+
// ../../node_modules/yaml/dist/errors.js
|
|
3879
3881
|
var require_errors = __commonJS({
|
|
3880
|
-
"../../node_modules
|
|
3882
|
+
"../../node_modules/yaml/dist/errors.js"(exports) {
|
|
3881
3883
|
"use strict";
|
|
3882
3884
|
var YAMLError = class extends Error {
|
|
3883
3885
|
constructor(name, pos, code, message) {
|
|
@@ -3940,9 +3942,9 @@ ${pointer}
|
|
|
3940
3942
|
}
|
|
3941
3943
|
});
|
|
3942
3944
|
|
|
3943
|
-
// ../../node_modules
|
|
3945
|
+
// ../../node_modules/yaml/dist/compose/resolve-props.js
|
|
3944
3946
|
var require_resolve_props = __commonJS({
|
|
3945
|
-
"../../node_modules
|
|
3947
|
+
"../../node_modules/yaml/dist/compose/resolve-props.js"(exports) {
|
|
3946
3948
|
"use strict";
|
|
3947
3949
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
3948
3950
|
let spaceBefore = false;
|
|
@@ -4073,9 +4075,9 @@ var require_resolve_props = __commonJS({
|
|
|
4073
4075
|
}
|
|
4074
4076
|
});
|
|
4075
4077
|
|
|
4076
|
-
// ../../node_modules
|
|
4078
|
+
// ../../node_modules/yaml/dist/compose/util-contains-newline.js
|
|
4077
4079
|
var require_util_contains_newline = __commonJS({
|
|
4078
|
-
"../../node_modules
|
|
4080
|
+
"../../node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
|
|
4079
4081
|
"use strict";
|
|
4080
4082
|
function containsNewline(key) {
|
|
4081
4083
|
if (!key)
|
|
@@ -4115,9 +4117,9 @@ var require_util_contains_newline = __commonJS({
|
|
|
4115
4117
|
}
|
|
4116
4118
|
});
|
|
4117
4119
|
|
|
4118
|
-
// ../../node_modules
|
|
4120
|
+
// ../../node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
4119
4121
|
var require_util_flow_indent_check = __commonJS({
|
|
4120
|
-
"../../node_modules
|
|
4122
|
+
"../../node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
|
|
4121
4123
|
"use strict";
|
|
4122
4124
|
var utilContainsNewline = require_util_contains_newline();
|
|
4123
4125
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -4133,9 +4135,9 @@ var require_util_flow_indent_check = __commonJS({
|
|
|
4133
4135
|
}
|
|
4134
4136
|
});
|
|
4135
4137
|
|
|
4136
|
-
// ../../node_modules
|
|
4138
|
+
// ../../node_modules/yaml/dist/compose/util-map-includes.js
|
|
4137
4139
|
var require_util_map_includes = __commonJS({
|
|
4138
|
-
"../../node_modules
|
|
4140
|
+
"../../node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
|
|
4139
4141
|
"use strict";
|
|
4140
4142
|
var identity = require_identity();
|
|
4141
4143
|
function mapIncludes(ctx, items, search) {
|
|
@@ -4149,9 +4151,9 @@ var require_util_map_includes = __commonJS({
|
|
|
4149
4151
|
}
|
|
4150
4152
|
});
|
|
4151
4153
|
|
|
4152
|
-
// ../../node_modules
|
|
4154
|
+
// ../../node_modules/yaml/dist/compose/resolve-block-map.js
|
|
4153
4155
|
var require_resolve_block_map = __commonJS({
|
|
4154
|
-
"../../node_modules
|
|
4156
|
+
"../../node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
|
|
4155
4157
|
"use strict";
|
|
4156
4158
|
var Pair = require_Pair();
|
|
4157
4159
|
var YAMLMap = require_YAMLMap();
|
|
@@ -4257,9 +4259,9 @@ var require_resolve_block_map = __commonJS({
|
|
|
4257
4259
|
}
|
|
4258
4260
|
});
|
|
4259
4261
|
|
|
4260
|
-
// ../../node_modules
|
|
4262
|
+
// ../../node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
4261
4263
|
var require_resolve_block_seq = __commonJS({
|
|
4262
|
-
"../../node_modules
|
|
4264
|
+
"../../node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
|
|
4263
4265
|
"use strict";
|
|
4264
4266
|
var YAMLSeq = require_YAMLSeq();
|
|
4265
4267
|
var resolveProps = require_resolve_props();
|
|
@@ -4308,9 +4310,9 @@ var require_resolve_block_seq = __commonJS({
|
|
|
4308
4310
|
}
|
|
4309
4311
|
});
|
|
4310
4312
|
|
|
4311
|
-
// ../../node_modules
|
|
4313
|
+
// ../../node_modules/yaml/dist/compose/resolve-end.js
|
|
4312
4314
|
var require_resolve_end = __commonJS({
|
|
4313
|
-
"../../node_modules
|
|
4315
|
+
"../../node_modules/yaml/dist/compose/resolve-end.js"(exports) {
|
|
4314
4316
|
"use strict";
|
|
4315
4317
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
4316
4318
|
let comment = "";
|
|
@@ -4351,9 +4353,9 @@ var require_resolve_end = __commonJS({
|
|
|
4351
4353
|
}
|
|
4352
4354
|
});
|
|
4353
4355
|
|
|
4354
|
-
// ../../node_modules
|
|
4356
|
+
// ../../node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
4355
4357
|
var require_resolve_flow_collection = __commonJS({
|
|
4356
|
-
"../../node_modules
|
|
4358
|
+
"../../node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
|
|
4357
4359
|
"use strict";
|
|
4358
4360
|
var identity = require_identity();
|
|
4359
4361
|
var Pair = require_Pair();
|
|
@@ -4545,9 +4547,9 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
4545
4547
|
}
|
|
4546
4548
|
});
|
|
4547
4549
|
|
|
4548
|
-
// ../../node_modules
|
|
4550
|
+
// ../../node_modules/yaml/dist/compose/compose-collection.js
|
|
4549
4551
|
var require_compose_collection = __commonJS({
|
|
4550
|
-
"../../node_modules
|
|
4552
|
+
"../../node_modules/yaml/dist/compose/compose-collection.js"(exports) {
|
|
4551
4553
|
"use strict";
|
|
4552
4554
|
var identity = require_identity();
|
|
4553
4555
|
var Scalar = require_Scalar();
|
|
@@ -4610,9 +4612,9 @@ var require_compose_collection = __commonJS({
|
|
|
4610
4612
|
}
|
|
4611
4613
|
});
|
|
4612
4614
|
|
|
4613
|
-
// ../../node_modules
|
|
4615
|
+
// ../../node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
4614
4616
|
var require_resolve_block_scalar = __commonJS({
|
|
4615
|
-
"../../node_modules
|
|
4617
|
+
"../../node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
|
|
4616
4618
|
"use strict";
|
|
4617
4619
|
var Scalar = require_Scalar();
|
|
4618
4620
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -4791,9 +4793,9 @@ var require_resolve_block_scalar = __commonJS({
|
|
|
4791
4793
|
}
|
|
4792
4794
|
});
|
|
4793
4795
|
|
|
4794
|
-
// ../../node_modules
|
|
4796
|
+
// ../../node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
4795
4797
|
var require_resolve_flow_scalar = __commonJS({
|
|
4796
|
-
"../../node_modules
|
|
4798
|
+
"../../node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
|
|
4797
4799
|
"use strict";
|
|
4798
4800
|
var Scalar = require_Scalar();
|
|
4799
4801
|
var resolveEnd = require_resolve_end();
|
|
@@ -5009,9 +5011,9 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
5009
5011
|
}
|
|
5010
5012
|
});
|
|
5011
5013
|
|
|
5012
|
-
// ../../node_modules
|
|
5014
|
+
// ../../node_modules/yaml/dist/compose/compose-scalar.js
|
|
5013
5015
|
var require_compose_scalar = __commonJS({
|
|
5014
|
-
"../../node_modules
|
|
5016
|
+
"../../node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
|
|
5015
5017
|
"use strict";
|
|
5016
5018
|
var identity = require_identity();
|
|
5017
5019
|
var Scalar = require_Scalar();
|
|
@@ -5090,9 +5092,9 @@ var require_compose_scalar = __commonJS({
|
|
|
5090
5092
|
}
|
|
5091
5093
|
});
|
|
5092
5094
|
|
|
5093
|
-
// ../../node_modules
|
|
5095
|
+
// ../../node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
5094
5096
|
var require_util_empty_scalar_position = __commonJS({
|
|
5095
|
-
"../../node_modules
|
|
5097
|
+
"../../node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
|
|
5096
5098
|
"use strict";
|
|
5097
5099
|
function emptyScalarPosition(offset, before, pos) {
|
|
5098
5100
|
if (before) {
|
|
@@ -5120,9 +5122,9 @@ var require_util_empty_scalar_position = __commonJS({
|
|
|
5120
5122
|
}
|
|
5121
5123
|
});
|
|
5122
5124
|
|
|
5123
|
-
// ../../node_modules
|
|
5125
|
+
// ../../node_modules/yaml/dist/compose/compose-node.js
|
|
5124
5126
|
var require_compose_node = __commonJS({
|
|
5125
|
-
"../../node_modules
|
|
5127
|
+
"../../node_modules/yaml/dist/compose/compose-node.js"(exports) {
|
|
5126
5128
|
"use strict";
|
|
5127
5129
|
var Alias = require_Alias();
|
|
5128
5130
|
var identity = require_identity();
|
|
@@ -5226,9 +5228,9 @@ var require_compose_node = __commonJS({
|
|
|
5226
5228
|
}
|
|
5227
5229
|
});
|
|
5228
5230
|
|
|
5229
|
-
// ../../node_modules
|
|
5231
|
+
// ../../node_modules/yaml/dist/compose/compose-doc.js
|
|
5230
5232
|
var require_compose_doc = __commonJS({
|
|
5231
|
-
"../../node_modules
|
|
5233
|
+
"../../node_modules/yaml/dist/compose/compose-doc.js"(exports) {
|
|
5232
5234
|
"use strict";
|
|
5233
5235
|
var Document = require_Document();
|
|
5234
5236
|
var composeNode = require_compose_node();
|
|
@@ -5269,9 +5271,9 @@ var require_compose_doc = __commonJS({
|
|
|
5269
5271
|
}
|
|
5270
5272
|
});
|
|
5271
5273
|
|
|
5272
|
-
// ../../node_modules
|
|
5274
|
+
// ../../node_modules/yaml/dist/compose/composer.js
|
|
5273
5275
|
var require_composer = __commonJS({
|
|
5274
|
-
"../../node_modules
|
|
5276
|
+
"../../node_modules/yaml/dist/compose/composer.js"(exports) {
|
|
5275
5277
|
"use strict";
|
|
5276
5278
|
var node_process = __require("process");
|
|
5277
5279
|
var directives = require_directives();
|
|
@@ -5477,9 +5479,9 @@ ${end.comment}` : end.comment;
|
|
|
5477
5479
|
}
|
|
5478
5480
|
});
|
|
5479
5481
|
|
|
5480
|
-
// ../../node_modules
|
|
5482
|
+
// ../../node_modules/yaml/dist/parse/cst-scalar.js
|
|
5481
5483
|
var require_cst_scalar = __commonJS({
|
|
5482
|
-
"../../node_modules
|
|
5484
|
+
"../../node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
|
|
5483
5485
|
"use strict";
|
|
5484
5486
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
5485
5487
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -5662,9 +5664,9 @@ var require_cst_scalar = __commonJS({
|
|
|
5662
5664
|
}
|
|
5663
5665
|
});
|
|
5664
5666
|
|
|
5665
|
-
// ../../node_modules
|
|
5667
|
+
// ../../node_modules/yaml/dist/parse/cst-stringify.js
|
|
5666
5668
|
var require_cst_stringify = __commonJS({
|
|
5667
|
-
"../../node_modules
|
|
5669
|
+
"../../node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
|
|
5668
5670
|
"use strict";
|
|
5669
5671
|
var stringify = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
|
|
5670
5672
|
function stringifyToken(token) {
|
|
@@ -5723,9 +5725,9 @@ var require_cst_stringify = __commonJS({
|
|
|
5723
5725
|
}
|
|
5724
5726
|
});
|
|
5725
5727
|
|
|
5726
|
-
// ../../node_modules
|
|
5728
|
+
// ../../node_modules/yaml/dist/parse/cst-visit.js
|
|
5727
5729
|
var require_cst_visit = __commonJS({
|
|
5728
|
-
"../../node_modules
|
|
5730
|
+
"../../node_modules/yaml/dist/parse/cst-visit.js"(exports) {
|
|
5729
5731
|
"use strict";
|
|
5730
5732
|
var BREAK = Symbol("break visit");
|
|
5731
5733
|
var SKIP = Symbol("skip children");
|
|
@@ -5785,9 +5787,9 @@ var require_cst_visit = __commonJS({
|
|
|
5785
5787
|
}
|
|
5786
5788
|
});
|
|
5787
5789
|
|
|
5788
|
-
// ../../node_modules
|
|
5790
|
+
// ../../node_modules/yaml/dist/parse/cst.js
|
|
5789
5791
|
var require_cst = __commonJS({
|
|
5790
|
-
"../../node_modules
|
|
5792
|
+
"../../node_modules/yaml/dist/parse/cst.js"(exports) {
|
|
5791
5793
|
"use strict";
|
|
5792
5794
|
var cstScalar = require_cst_scalar();
|
|
5793
5795
|
var cstStringify = require_cst_stringify();
|
|
@@ -5887,9 +5889,9 @@ var require_cst = __commonJS({
|
|
|
5887
5889
|
}
|
|
5888
5890
|
});
|
|
5889
5891
|
|
|
5890
|
-
// ../../node_modules
|
|
5892
|
+
// ../../node_modules/yaml/dist/parse/lexer.js
|
|
5891
5893
|
var require_lexer = __commonJS({
|
|
5892
|
-
"../../node_modules
|
|
5894
|
+
"../../node_modules/yaml/dist/parse/lexer.js"(exports) {
|
|
5893
5895
|
"use strict";
|
|
5894
5896
|
var cst = require_cst();
|
|
5895
5897
|
function isEmpty(ch) {
|
|
@@ -6471,9 +6473,9 @@ var require_lexer = __commonJS({
|
|
|
6471
6473
|
}
|
|
6472
6474
|
});
|
|
6473
6475
|
|
|
6474
|
-
// ../../node_modules
|
|
6476
|
+
// ../../node_modules/yaml/dist/parse/line-counter.js
|
|
6475
6477
|
var require_line_counter = __commonJS({
|
|
6476
|
-
"../../node_modules
|
|
6478
|
+
"../../node_modules/yaml/dist/parse/line-counter.js"(exports) {
|
|
6477
6479
|
"use strict";
|
|
6478
6480
|
var LineCounter = class {
|
|
6479
6481
|
constructor() {
|
|
@@ -6502,9 +6504,9 @@ var require_line_counter = __commonJS({
|
|
|
6502
6504
|
}
|
|
6503
6505
|
});
|
|
6504
6506
|
|
|
6505
|
-
// ../../node_modules
|
|
6507
|
+
// ../../node_modules/yaml/dist/parse/parser.js
|
|
6506
6508
|
var require_parser = __commonJS({
|
|
6507
|
-
"../../node_modules
|
|
6509
|
+
"../../node_modules/yaml/dist/parse/parser.js"(exports) {
|
|
6508
6510
|
"use strict";
|
|
6509
6511
|
var node_process = __require("process");
|
|
6510
6512
|
var cst = require_cst();
|
|
@@ -7372,9 +7374,9 @@ var require_parser = __commonJS({
|
|
|
7372
7374
|
}
|
|
7373
7375
|
});
|
|
7374
7376
|
|
|
7375
|
-
// ../../node_modules
|
|
7377
|
+
// ../../node_modules/yaml/dist/public-api.js
|
|
7376
7378
|
var require_public_api = __commonJS({
|
|
7377
|
-
"../../node_modules
|
|
7379
|
+
"../../node_modules/yaml/dist/public-api.js"(exports) {
|
|
7378
7380
|
"use strict";
|
|
7379
7381
|
var composer = require_composer();
|
|
7380
7382
|
var Document = require_Document();
|
|
@@ -7469,9 +7471,9 @@ var require_public_api = __commonJS({
|
|
|
7469
7471
|
}
|
|
7470
7472
|
});
|
|
7471
7473
|
|
|
7472
|
-
// ../../node_modules
|
|
7474
|
+
// ../../node_modules/yaml/dist/index.js
|
|
7473
7475
|
var require_dist = __commonJS({
|
|
7474
|
-
"../../node_modules
|
|
7476
|
+
"../../node_modules/yaml/dist/index.js"(exports) {
|
|
7475
7477
|
"use strict";
|
|
7476
7478
|
var composer = require_composer();
|
|
7477
7479
|
var Document = require_Document();
|
|
@@ -8443,13 +8445,13 @@ var bedrockModuleOverride;
|
|
|
8443
8445
|
var bedrockConverseStreamApi = () => lazyApi(async () => bedrockModuleOverride ?? await importNodeOnlyApi("./bedrock-converse-stream.ts"));
|
|
8444
8446
|
|
|
8445
8447
|
// ../../node_modules/@earendil-works/pi-ai/dist/api/google-generative-ai.lazy.js
|
|
8446
|
-
var googleGenerativeAIApi = () => lazyApi(() => import("../../google-generative-ai-
|
|
8448
|
+
var googleGenerativeAIApi = () => lazyApi(() => import("../../google-generative-ai-KD7MXONK.js"));
|
|
8447
8449
|
|
|
8448
8450
|
// ../../node_modules/@earendil-works/pi-ai/dist/api/google-vertex.lazy.js
|
|
8449
|
-
var googleVertexApi = () => lazyApi(() => import("../../google-vertex-
|
|
8451
|
+
var googleVertexApi = () => lazyApi(() => import("../../google-vertex-TREYA472.js"));
|
|
8450
8452
|
|
|
8451
8453
|
// ../../node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.lazy.js
|
|
8452
|
-
var mistralConversationsApi = () => lazyApi(() => import("../../mistral-conversations-
|
|
8454
|
+
var mistralConversationsApi = () => lazyApi(() => import("../../mistral-conversations-C43A6QIS.js"));
|
|
8453
8455
|
|
|
8454
8456
|
// ../../node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.lazy.js
|
|
8455
8457
|
var openAICodexResponsesApi = () => lazyApi(() => import("../../openai-codex-responses-GEFKSNVN.js"));
|
|
@@ -44134,7 +44136,7 @@ var DEFAULT_OPEN_MCP_BASE_URL = APPBASE_RUNTIME_CONFIG_DEFAULTS.LINKQUE_OPEN_MCP
|
|
|
44134
44136
|
function createAppbaseMcpConfigResolver(options) {
|
|
44135
44137
|
return (resource) => ({
|
|
44136
44138
|
remoteBaseUrl: options.remoteBaseUrl ?? DEFAULT_OPEN_MCP_BASE_URL,
|
|
44137
|
-
sseEndpoint: `api/v1/open/mcps/${resource.config.serverName}/
|
|
44139
|
+
sseEndpoint: `api/v1/open/mcps/${resource.config.serverName}/mcp`,
|
|
44138
44140
|
agentId: options.agentId,
|
|
44139
44141
|
...options.signEndpoint ? { signEndpoint: options.signEndpoint } : {}
|
|
44140
44142
|
});
|
|
@@ -46245,6 +46247,7 @@ function createAppbaseTelemetry(options) {
|
|
|
46245
46247
|
environment: options.environment,
|
|
46246
46248
|
logsEndpoint: options.logsEndpoint,
|
|
46247
46249
|
tracesEndpoint: options.tracesEndpoint,
|
|
46250
|
+
...options.initialRootTraceId ? { initialRootTraceId: options.initialRootTraceId } : {},
|
|
46248
46251
|
diagnostic: ({ code }) => diagnostic(code)
|
|
46249
46252
|
});
|
|
46250
46253
|
} catch {
|
|
@@ -46395,7 +46398,7 @@ function createSecurityAnswerPlugin(historyStore, log) {
|
|
|
46395
46398
|
}
|
|
46396
46399
|
|
|
46397
46400
|
// ../linkque-agent-appwrite-integrate/dist/esm/runtime/handler/chatConfig.js
|
|
46398
|
-
function resolveChatDeps(env, deps, logCtx, historyOwnerId, appwriteApiKey, envSelector, gatewayAuth, temporaryFrontendAppId) {
|
|
46401
|
+
function resolveChatDeps(env, deps, logCtx, historyOwnerId, appwriteApiKey, envSelector, gatewayAuth, temporaryFrontendAppId, initialRootTraceId) {
|
|
46399
46402
|
const log = (...a) => logCtx?.log?.("[chat]", ...a);
|
|
46400
46403
|
const logError = (...a) => logCtx?.error?.("[chat]", ...a);
|
|
46401
46404
|
const protocol = deps?.protocol ?? getBakedProtocol();
|
|
@@ -46494,6 +46497,7 @@ function resolveChatDeps(env, deps, logCtx, historyOwnerId, appwriteApiKey, envS
|
|
|
46494
46497
|
environment: new AppbaseRuntimeConfigProvider(env).get("LINKQUE_TELEMETRY_ENVIRONMENT") ?? (envSelector === "PRE" ? "pre" : "prod"),
|
|
46495
46498
|
logsEndpoint: telemetryLogsEndpoint,
|
|
46496
46499
|
tracesEndpoint: telemetryTracesEndpoint,
|
|
46500
|
+
...initialRootTraceId ? { initialRootTraceId } : {},
|
|
46497
46501
|
logCtx
|
|
46498
46502
|
});
|
|
46499
46503
|
const runtime = deps?.runtime ?? createAppBaseRuntime(protocol, env, {
|
|
@@ -47205,7 +47209,7 @@ function failure2(status, code, message, retryable = false) {
|
|
|
47205
47209
|
}
|
|
47206
47210
|
|
|
47207
47211
|
// ../linkque-agent-appwrite-integrate/dist/esm/runtime/handler/chat.js
|
|
47208
|
-
async function runChat(method, bodyJSON, env, deps, logCtx, historyOwnerId, appwriteApiKey, envSelector, traceId, gatewayAuth, temporaryFrontendAppId) {
|
|
47212
|
+
async function runChat(method, bodyJSON, env, deps, logCtx, historyOwnerId, appwriteApiKey, envSelector, traceId, gatewayAuth, temporaryFrontendAppId, otelTraceId) {
|
|
47209
47213
|
const log = (...args) => logCtx?.log?.("[chat]", ...args);
|
|
47210
47214
|
const logError = (...args) => logCtx?.error?.("[chat]", ...args);
|
|
47211
47215
|
const guarded = guardChatRequest(method, bodyJSON, logCtx);
|
|
@@ -47213,7 +47217,7 @@ async function runChat(method, bodyJSON, env, deps, logCtx, historyOwnerId, appw
|
|
|
47213
47217
|
return guarded;
|
|
47214
47218
|
let request = guarded;
|
|
47215
47219
|
const isPresentationRun = request.executionScope === "presentation";
|
|
47216
|
-
const cfg = resolveChatDeps(env, deps, logCtx, historyOwnerId, appwriteApiKey, envSelector, gatewayAuth, temporaryFrontendAppId);
|
|
47220
|
+
const cfg = resolveChatDeps(env, deps, logCtx, historyOwnerId, appwriteApiKey, envSelector, gatewayAuth, temporaryFrontendAppId, otelTraceId);
|
|
47217
47221
|
if ("status" in cfg)
|
|
47218
47222
|
return cfg;
|
|
47219
47223
|
const leaseOwnerId = randomUUID8();
|
|
@@ -47522,7 +47526,7 @@ function waitForCancellationPoll(delayMs, signal) {
|
|
|
47522
47526
|
}
|
|
47523
47527
|
});
|
|
47524
47528
|
}
|
|
47525
|
-
async function runGateway(method, bodyJSON, env, deps, logCtx, historyOwnerId, appwriteApiKey, envSelector, traceId, gatewayAuth, temporaryFrontendAppId, mcpPhoneAuthorization) {
|
|
47529
|
+
async function runGateway(method, bodyJSON, env, deps, logCtx, historyOwnerId, appwriteApiKey, envSelector, traceId, gatewayAuth, temporaryFrontendAppId, mcpPhoneAuthorization, otelTraceId) {
|
|
47526
47530
|
const operation = readOperation(bodyJSON);
|
|
47527
47531
|
const startedAt = Date.now();
|
|
47528
47532
|
const logGateway = (event, fields = {}, failed = false) => {
|
|
@@ -47603,7 +47607,7 @@ async function runGateway(method, bodyJSON, env, deps, logCtx, historyOwnerId, a
|
|
|
47603
47607
|
if (operation) {
|
|
47604
47608
|
return observe(() => jsonError(400, "operation_unsupported", `\u4E0D\u652F\u6301\u7684 operation: ${operation}`));
|
|
47605
47609
|
}
|
|
47606
|
-
return observe(() => runChat(method, bodyJSON, env, deps, logCtx, historyOwnerId, appwriteApiKey, envSelector, traceId, gatewayAuth, temporaryFrontendAppId));
|
|
47610
|
+
return observe(() => runChat(method, bodyJSON, env, deps, logCtx, historyOwnerId, appwriteApiKey, envSelector, traceId, gatewayAuth, temporaryFrontendAppId, otelTraceId));
|
|
47607
47611
|
}
|
|
47608
47612
|
async function chat(ctx) {
|
|
47609
47613
|
let result;
|
|
@@ -47612,9 +47616,18 @@ async function chat(ctx) {
|
|
|
47612
47616
|
const bodyJSON = resolveBodyJSON(ctx.req);
|
|
47613
47617
|
const historyOwnerId = readAuthenticatedUserId(ctx.req.headers);
|
|
47614
47618
|
const appwriteApiKey = readAppwriteApiKey(ctx.req.headers);
|
|
47615
|
-
|
|
47619
|
+
const otelTraceIdResult = readOtelTraceId(ctx.req.headers);
|
|
47620
|
+
if (otelTraceIdResult.kind === "invalid") {
|
|
47621
|
+
result = jsonError(400, "invalid_otel_trace_id", "x-linkque-otel-trace-id \u683C\u5F0F\u975E\u6CD5");
|
|
47622
|
+
} else if (readOperation(bodyJSON) === REPLACE_ANSWER_OPERATION) {
|
|
47616
47623
|
const control = await runReplaceAnswer(ctx.req.method, bodyJSON, process.env, void 0, logCtx, appwriteApiKey);
|
|
47617
|
-
|
|
47624
|
+
result = control;
|
|
47625
|
+
} else {
|
|
47626
|
+
const envSelector2 = readEnvSelector(ctx.req.headers);
|
|
47627
|
+
const traceId2 = readTraceId(ctx.req.headers);
|
|
47628
|
+
const temporaryFrontendAppId2 = readTemporaryFrontendAppId(ctx.req.headers);
|
|
47629
|
+
const gatewayAuth2 = historyOwnerId ? resolveLinkqueGatewayAuth(ctx.req.headers, process.env, logCtx) : void 0;
|
|
47630
|
+
result = historyOwnerId ? await runGateway(ctx.req.method, bodyJSON, process.env, void 0, logCtx, historyOwnerId, appwriteApiKey, envSelector2, traceId2, gatewayAuth2, temporaryFrontendAppId2, readMcpPhoneAuthorization(ctx.req.headers), otelTraceIdResult.kind === "valid" ? otelTraceIdResult.traceId : void 0) : jsonError(401, "authentication_required", "\u7F3A\u5C11 Appwrite \u8BA4\u8BC1\u7528\u6237");
|
|
47618
47631
|
}
|
|
47619
47632
|
const envSelector = readEnvSelector(ctx.req.headers);
|
|
47620
47633
|
const traceId = readTraceId(ctx.req.headers);
|