@redocly/replay 0.30.0-next.6 → 0.30.0-next.8
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/dist/{replay-AiChatProvider-C3qDrsGk.js → replay-AiChatProvider-BlVxTT7y.js} +1 -1
- package/dist/{replay-AiChatProvider-DoRCY0EW.js → replay-AiChatProvider-pjWvX-qB.js} +6 -6
- package/dist/{replay-AiChatSqliteDBStorage-diN4PlB2.js → replay-AiChatSqliteDBStorage-B7MnHWqG.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-wwTMmol9.js → replay-AiChatSqliteDBStorage-Bi_XJJGo.js} +1 -1
- package/dist/{replay-AiPanel-PzteJq_7.js → replay-AiPanel-BhuA1Ka6.js} +1 -1
- package/dist/{replay-AiPanel-DZYI1gxl.js → replay-AiPanel-fAfbqWyu.js} +4 -4
- package/dist/{replay-FileWatcher-V3WDtOcM.js → replay-FileWatcher-D1NJ1oZN.js} +2 -2
- package/dist/{replay-FileWatcher-C_6jy3Wh.js → replay-FileWatcher-PFXJ2jy5.js} +1 -1
- package/dist/{replay-SemanticSearchService-AmeM3LJw.js → replay-SemanticSearchService-BNO9pdFc.js} +1 -1
- package/dist/{replay-SemanticSearchService-D2inCMQ3.js → replay-SemanticSearchService-Biaz-fIw.js} +1 -1
- package/dist/{replay-SqliteDBStorage-CInxoFxc.js → replay-SqliteDBStorage-Br7VURQN.js} +1 -1
- package/dist/{replay-SqliteDBStorage--5fINH4H.js → replay-SqliteDBStorage-CgsrhzVO.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-DCsSYZBB.js → replay-TauriFileSystemAdapter-BAUUL8oI.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-A_qqPM6T.js → replay-TauriFileSystemAdapter-KW8wHpXe.js} +1 -1
- package/dist/{replay-TauriRootStorage-CIMNjNWA.js → replay-TauriRootStorage-B4hLhQqR.js} +1 -1
- package/dist/{replay-TauriRootStorage-B_sv-ME6.js → replay-TauriRootStorage-qfk4gIXv.js} +2 -2
- package/dist/{replay-agent-loop-uNRsrxPP.js → replay-agent-loop-CFaio_rY.js} +3 -3
- package/dist/{replay-agent-loop-BeQ_YIIx.js → replay-agent-loop-CGZBPgaN.js} +1 -1
- package/dist/{replay-ai-chat-mappers-BBXGbAOR.js → replay-ai-chat-mappers-BeNFhJ26.js} +1 -1
- package/dist/{replay-ai-chat-mappers-DNtt_SPh.js → replay-ai-chat-mappers-DLit0XXG.js} +1 -1
- package/dist/{replay-create-model-AY_iX35Q.js → replay-create-model-CL2Tsd2z.js} +3 -3
- package/dist/{replay-create-model-CtOtNyrw.js → replay-create-model-CSpBrZMr.js} +3 -3
- package/dist/{replay-db-uDj6nNNy.js → replay-db-B3iXh1_V.js} +1 -1
- package/dist/{replay-db-D-XadOSV.js → replay-db-CMVHMNS6.js} +1 -1
- package/dist/{replay-external-resolver-CsrESo8u.js → replay-external-resolver-Br-cGwfm.js} +2 -2
- package/dist/{replay-external-resolver-DrlxaL8f.js → replay-external-resolver-D-q2Dc-T.js} +1 -1
- package/dist/{replay-index-dTSk_oL0.js → replay-index-B78513Xf.js} +1 -1
- package/dist/{replay-index-BPpkDtwi.js → replay-index-BJYfax9z.js} +1 -1
- package/dist/{replay-index-ChYZ25aj.js → replay-index-BkUG85dJ.js} +20670 -20408
- package/dist/{replay-index-ESb8_grh.js → replay-index-BtSv0o_B.js} +1 -1
- package/dist/{replay-index-CM6Nx3oe.js → replay-index-C-R5BGI5.js} +1 -1
- package/dist/{replay-index-vwbyGRlg.js → replay-index-C0Ck62dx.js} +1 -1
- package/dist/{replay-index-vCUeMo-a.js → replay-index-CcH6g0qX.js} +1 -1
- package/dist/{replay-index-r7LIobSc.js → replay-index-Cz0-sCwc.js} +1300 -1184
- package/dist/{replay-index-DUUea7Dh.js → replay-index-DR_IKi1K.js} +1 -1
- package/dist/{replay-index--7gH3kdD.js → replay-index-DuAxQQQk.js} +1 -1
- package/dist/replay-index-JTgggU0Q.js +4 -0
- package/dist/{replay-index-DwIgVIgf.js → replay-index-ZJdoLrgJ.js} +22 -22
- package/dist/{replay-lint-BC0x90Al.js → replay-lint-BvRmCOZq.js} +39 -39
- package/dist/{replay-lint-BtZoplmt.js → replay-lint-CsodRy23.js} +2497 -2495
- package/dist/{replay-lint-graphql-B3l8e2SW.js → replay-lint-graphql-8tVp5_k5.js} +1 -1
- package/dist/{replay-lint-graphql-DauCPK72.js → replay-lint-graphql-B0dzYyp_.js} +2 -2
- package/dist/{replay-periodic-revalidation-DvYq4LBE.js → replay-periodic-revalidation-BobY47wa.js} +1 -1
- package/dist/{replay-periodic-revalidation-CzWLzx7V.js → replay-periodic-revalidation-m5wz2FN0.js} +1 -1
- package/dist/replay-resolve-86MVZrqd.js +3879 -0
- package/dist/replay-resolve-CitjafrX.js +53 -0
- package/dist/{replay-respect-run-D5Greqj8.js → replay-respect-run-DRkeJyyj.js} +110 -110
- package/dist/{replay-respect-run-DMbPJCHl.js → replay-respect-run-DgHM6naD.js} +1 -1
- package/dist/{replay-tauri-path-DFiAydTm.js → replay-tauri-path-CGIOgvoJ.js} +1 -1
- package/dist/{replay-tauri-path-DSX6AiF8.js → replay-tauri-path-Cmr3dHgv.js} +2 -2
- package/dist/{replay-useAiChatQueries-P9UVQTUB.js → replay-useAiChatQueries-BbkSX7Jo.js} +4 -4
- package/dist/{replay-useAiChatQueries-C6kn5QUT.js → replay-useAiChatQueries-BxiLihgk.js} +1 -1
- package/dist/{replay-validate-key-BHt9qPog.js → replay-validate-key--Ww_IryH.js} +2 -2
- package/dist/{replay-validate-key-Lp6NCJGM.js → replay-validate-key-CdmwsZGm.js} +1 -1
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +3 -0
- package/dist/replay.js +1 -1
- package/package.json +4 -4
- package/dist/replay-index-tLBGijHm.js +0 -4
- package/dist/replay-resolve-B51mYb48.js +0 -47
- package/dist/replay-resolve-DSJCGK18.js +0 -3739
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a7 as Y, a6 as ce, bs as Ne, bt as Me, bu as Va, bv as Yn, bw as ua, bx as x, by as Fe, bz as q, bA as Z, bB as Be, bC as Re, bD as Zr, bE as _n, V as Xa, W as qn, bF as Zn, bG as Qa, X as Ua, bH as Xn, bI as ca, bJ as
|
|
2
|
-
import { c as Ze } from "./replay-resolve-
|
|
3
|
-
import {
|
|
1
|
+
import { a7 as Y, a6 as ce, bs as Ne, bt as Me, bu as Va, bv as Yn, bw as ua, bx as x, by as Fe, bz as q, bA as Z, bB as Be, bC as Re, bD as Zr, bE as _n, V as Xa, W as qn, bF as Zn, bG as Qa, X as Ua, bH as Xn, bI as ca, bJ as Ga, bK as er } from "./replay-index-BkUG85dJ.js";
|
|
2
|
+
import { c as Ze } from "./replay-resolve-86MVZrqd.js";
|
|
3
|
+
import { B as Xr, a7 as ar, c as Qn, a0 as et, W as at, M as rt, ac as Qr, ad as nt } from "./replay-lint-CsodRy23.js";
|
|
4
4
|
function tt(e) {
|
|
5
5
|
return Y(e) && "name" in e && "value" in e && !("in" in e);
|
|
6
6
|
}
|
|
@@ -595,10 +595,10 @@ function Nt() {
|
|
|
595
595
|
function Ht() {
|
|
596
596
|
return "2001:0db8:85a3:0000:0000:8a2e:0370:7334";
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function Wt() {
|
|
599
599
|
return "example.com";
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function Gt() {
|
|
602
602
|
return "приклад.укр";
|
|
603
603
|
}
|
|
604
604
|
function xt() {
|
|
@@ -639,8 +639,8 @@ const Vt = {
|
|
|
639
639
|
// full-time in https://tools.ietf.org/html/rfc3339#section-5.6
|
|
640
640
|
ipv4: Nt,
|
|
641
641
|
ipv6: Ht,
|
|
642
|
-
hostname:
|
|
643
|
-
"idn-hostname":
|
|
642
|
+
hostname: Wt,
|
|
643
|
+
"idn-hostname": Gt,
|
|
644
644
|
// https://tools.ietf.org/html/rfc5890#section-2.3.2.3
|
|
645
645
|
iri: Ot,
|
|
646
646
|
// https://tools.ietf.org/html/rfc3987
|
|
@@ -886,8 +886,8 @@ function si() {
|
|
|
886
886
|
b && (m = b[1].length);
|
|
887
887
|
var T = "(\\r\\n|\\r|\\n).{0," + m + "}", A = new RegExp(T, "g");
|
|
888
888
|
P && (C = C.slice(1));
|
|
889
|
-
var B = f.newline, D = f.trimLeadingNewline,
|
|
890
|
-
return U = U.replace(A, "$1"), X === 0 && D && (U = U.replace(l, "")), X === I - 1 &&
|
|
889
|
+
var B = f.newline, D = f.trimLeadingNewline, G = f.trimTrailingNewline, H = typeof B == "string", I = C.length, O = C.map(function(U, X) {
|
|
890
|
+
return U = U.replace(A, "$1"), X === 0 && D && (U = U.replace(l, "")), X === I - 1 && G && (U = U.replace(u, "")), H && (U = U.replace(/\r\n|\n|\r/g, function(Q) {
|
|
891
891
|
return B;
|
|
892
892
|
})), U;
|
|
893
893
|
});
|
|
@@ -907,10 +907,10 @@ function si() {
|
|
|
907
907
|
for (var A = [], B = 1; B < arguments.length; B++)
|
|
908
908
|
A[B - 1] = arguments[B];
|
|
909
909
|
if (v(T)) {
|
|
910
|
-
var D = T,
|
|
911
|
-
if (I || (I = p(D,
|
|
910
|
+
var D = T, G = (A[0] === m || A[0] === R) && h.test(D[0]) && c.test(D[1]), H = G ? f : P, I = H.get(D);
|
|
911
|
+
if (I || (I = p(D, G, C), H.set(D, I)), A.length === 0)
|
|
912
912
|
return I[0];
|
|
913
|
-
var O = g(I,
|
|
913
|
+
var O = g(I, G ? A.slice(1) : A);
|
|
914
914
|
return O;
|
|
915
915
|
} else
|
|
916
916
|
return w(s(s({}, C), T || {}));
|
|
@@ -1377,13 +1377,13 @@ function Hi(e, a = !1) {
|
|
|
1377
1377
|
r = r.split(i).join(n);
|
|
1378
1378
|
return r;
|
|
1379
1379
|
}
|
|
1380
|
-
function
|
|
1380
|
+
function Wi(e) {
|
|
1381
1381
|
return e.map((a) => `${encodeURIComponent(a.name)}=${Hi(a.value, a.allowReserved === !0)}`).join("&");
|
|
1382
1382
|
}
|
|
1383
1383
|
function je(e) {
|
|
1384
1384
|
return /^application\/([a-z0-9.-]+\+)?json$/.test(e);
|
|
1385
1385
|
}
|
|
1386
|
-
function
|
|
1386
|
+
function Gi(e) {
|
|
1387
1387
|
return /^application\/([a-z.-]+\+)?xml$/.test(e);
|
|
1388
1388
|
}
|
|
1389
1389
|
function xi(e) {
|
|
@@ -1454,7 +1454,7 @@ class Ii {
|
|
|
1454
1454
|
g[M.name] = String(M.value);
|
|
1455
1455
|
break;
|
|
1456
1456
|
}
|
|
1457
|
-
const v =
|
|
1457
|
+
const v = Wi(h);
|
|
1458
1458
|
(Y(u) || Array.isArray(u)) && !d["content-type"] && (d["content-type"] = "application/json"), Object.keys(g).length && (d.cookie = Object.entries(g).map(([M, N]) => `${M}=${N}`).join("; "));
|
|
1459
1459
|
const R = `${Qa(o, p) || ""}${v ? `?${v}` : ""}`, C = Qa(i.url, p) || "", P = `${xi(C)}${R}`;
|
|
1460
1460
|
P.startsWith("/") && a.options.logger.error(ua(` Wrong url: ${Zr(P)} `) + ` Did you forget to provide a correct "serverUrl"?
|
|
@@ -1467,7 +1467,7 @@ class Ii {
|
|
|
1467
1467
|
m = new URLSearchParams(u).toString();
|
|
1468
1468
|
else if (je(f || ""))
|
|
1469
1469
|
m = JSON.stringify(u);
|
|
1470
|
-
else if (
|
|
1470
|
+
else if (Gi(f))
|
|
1471
1471
|
m = u;
|
|
1472
1472
|
else if (f.includes("multipart/form-data"))
|
|
1473
1473
|
m = u, delete d["content-type"];
|
|
@@ -1520,7 +1520,7 @@ class Ii {
|
|
|
1520
1520
|
body: T
|
|
1521
1521
|
});
|
|
1522
1522
|
const B = a.options.fetch, D = performance.now();
|
|
1523
|
-
let
|
|
1523
|
+
let G, H, I;
|
|
1524
1524
|
const O = {
|
|
1525
1525
|
method: s.toUpperCase(),
|
|
1526
1526
|
headers: d,
|
|
@@ -1566,7 +1566,7 @@ class Ii {
|
|
|
1566
1566
|
responseTime: 0,
|
|
1567
1567
|
responseSize: void 0
|
|
1568
1568
|
}), new tn("Digest auth failed, no www-authenticate header received in the first response");
|
|
1569
|
-
const { realm: ae, nonce: K, opaque: oe, qop: z, algorithm: de, cnonce:
|
|
1569
|
+
const { realm: ae, nonce: K, opaque: oe, qop: z, algorithm: de, cnonce: We, nc: Ke } = Li(F), { username: Je, password: $e } = X.values, se = new URL(P).pathname + new URL(P).search, Le = Bi({
|
|
1570
1570
|
username: Je,
|
|
1571
1571
|
password: $e,
|
|
1572
1572
|
realm: ae,
|
|
@@ -1574,7 +1574,7 @@ class Ii {
|
|
|
1574
1574
|
opaque: oe,
|
|
1575
1575
|
qop: z,
|
|
1576
1576
|
algorithm: de,
|
|
1577
|
-
cnonce:
|
|
1577
|
+
cnonce: We,
|
|
1578
1578
|
nc: Ke,
|
|
1579
1579
|
uri: se,
|
|
1580
1580
|
method: s.toUpperCase(),
|
|
@@ -1589,20 +1589,20 @@ class Ii {
|
|
|
1589
1589
|
noSecretsMasking: a.noSecretsMasking,
|
|
1590
1590
|
secretsSet: a.secretsSet
|
|
1591
1591
|
})
|
|
1592
|
-
}),
|
|
1592
|
+
}), G = await B(P, {
|
|
1593
1593
|
...O,
|
|
1594
1594
|
headers: J
|
|
1595
1595
|
}), I = Math.ceil(performance.now() - D);
|
|
1596
1596
|
} else
|
|
1597
|
-
|
|
1598
|
-
if (!
|
|
1597
|
+
G = await B(P, O), I = Math.ceil(performance.now() - D);
|
|
1598
|
+
if (!G)
|
|
1599
1599
|
throw new Error("Failed to fetch, no result received");
|
|
1600
|
-
const [Q] =
|
|
1600
|
+
const [Q] = G.headers.get("content-type")?.split(";") || [
|
|
1601
1601
|
"application/json"
|
|
1602
1602
|
];
|
|
1603
|
-
Mi(Q) ? H = await
|
|
1603
|
+
Mi(Q) ? H = await G.arrayBuffer() : H = await G.text();
|
|
1604
1604
|
const ee = H ? H instanceof ArrayBuffer ? H : je(Q) ? JSON.parse(H) : H : {}, ue = ii({
|
|
1605
|
-
statusCode:
|
|
1605
|
+
statusCode: G.status,
|
|
1606
1606
|
contentType: Q,
|
|
1607
1607
|
descriptionResponses: c?.responses
|
|
1608
1608
|
});
|
|
@@ -1614,17 +1614,17 @@ class Ii {
|
|
|
1614
1614
|
value: ee,
|
|
1615
1615
|
noSecretsMasking: a.noSecretsMasking,
|
|
1616
1616
|
secretsSet: a.secretsSet
|
|
1617
|
-
}) : ee, re = Object.fromEntries(
|
|
1617
|
+
}) : ee, re = Object.fromEntries(G.headers?.entries() || []), me = pr(re);
|
|
1618
1618
|
for (const M of me)
|
|
1619
1619
|
a.secretsSet.add(M);
|
|
1620
1620
|
let S;
|
|
1621
|
-
const L =
|
|
1621
|
+
const L = G.headers.get("content-length");
|
|
1622
1622
|
return L && !isNaN(+L) ? S = +L : H instanceof ArrayBuffer ? S = H.byteLength : typeof H == "string" ? S = new TextEncoder().encode(H).length : S = void 0, this.initVerboseResponseLogs({
|
|
1623
1623
|
body: je(Q) ? JSON.stringify(ie) : ie,
|
|
1624
1624
|
method: s,
|
|
1625
1625
|
host: i.url,
|
|
1626
1626
|
path: R || "",
|
|
1627
|
-
statusCode:
|
|
1627
|
+
statusCode: G.status,
|
|
1628
1628
|
responseTime: I,
|
|
1629
1629
|
headerParams: we({
|
|
1630
1630
|
value: re,
|
|
@@ -1634,9 +1634,9 @@ class Ii {
|
|
|
1634
1634
|
responseSize: S
|
|
1635
1635
|
}), {
|
|
1636
1636
|
body: ee,
|
|
1637
|
-
statusCode:
|
|
1637
|
+
statusCode: G.status,
|
|
1638
1638
|
time: I,
|
|
1639
|
-
header: Object.fromEntries(
|
|
1639
|
+
header: Object.fromEntries(G.headers?.entries() || []),
|
|
1640
1640
|
contentType: Q,
|
|
1641
1641
|
requestUrl: P,
|
|
1642
1642
|
responseSize: S
|
|
@@ -2731,7 +2731,7 @@ var Ho = class extends _ {
|
|
|
2731
2731
|
return n === "svg-uri" ? `data:image/svg+xml;charset=UTF-8,${encodeURIComponent(i)}` : `data:image/svg+xml;base64,${Ln(i)}`;
|
|
2732
2732
|
}
|
|
2733
2733
|
};
|
|
2734
|
-
const
|
|
2734
|
+
const Wo = Object.fromEntries([["А", "A"], ["а", "a"], ["Б", "B"], ["б", "b"], ["В", "V"], ["в", "v"], ["Г", "G"], ["г", "g"], ["Д", "D"], ["д", "d"], ["ъе", "ye"], ["Ъе", "Ye"], ["ъЕ", "yE"], ["ЪЕ", "YE"], ["Е", "E"], ["е", "e"], ["Ё", "Yo"], ["ё", "yo"], ["Ж", "Zh"], ["ж", "zh"], ["З", "Z"], ["з", "z"], ["И", "I"], ["и", "i"], ["ый", "iy"], ["Ый", "Iy"], ["ЫЙ", "IY"], ["ыЙ", "iY"], ["Й", "Y"], ["й", "y"], ["К", "K"], ["к", "k"], ["Л", "L"], ["л", "l"], ["М", "M"], ["м", "m"], ["Н", "N"], ["н", "n"], ["О", "O"], ["о", "o"], ["П", "P"], ["п", "p"], ["Р", "R"], ["р", "r"], ["С", "S"], ["с", "s"], ["Т", "T"], ["т", "t"], ["У", "U"], ["у", "u"], ["Ф", "F"], ["ф", "f"], ["Х", "Kh"], ["х", "kh"], ["Ц", "Ts"], ["ц", "ts"], ["Ч", "Ch"], ["ч", "ch"], ["Ш", "Sh"], ["ш", "sh"], ["Щ", "Sch"], ["щ", "sch"], ["Ъ", ""], ["ъ", ""], ["Ы", "Y"], ["ы", "y"], ["Ь", ""], ["ь", ""], ["Э", "E"], ["э", "e"], ["Ю", "Yu"], ["ю", "yu"], ["Я", "Ya"], ["я", "ya"]]), Go = Object.fromEntries([["α", "a"], ["β", "v"], ["γ", "g"], ["δ", "d"], ["ε", "e"], ["ζ", "z"], ["η", "i"], ["θ", "th"], ["ι", "i"], ["κ", "k"], ["λ", "l"], ["μ", "m"], ["ν", "n"], ["ξ", "ks"], ["ο", "o"], ["π", "p"], ["ρ", "r"], ["σ", "s"], ["τ", "t"], ["υ", "y"], ["φ", "f"], ["χ", "x"], ["ψ", "ps"], ["ω", "o"], ["ά", "a"], ["έ", "e"], ["ί", "i"], ["ό", "o"], ["ύ", "y"], ["ή", "i"], ["ώ", "o"], ["ς", "s"], ["ϊ", "i"], ["ΰ", "y"], ["ϋ", "y"], ["ΐ", "i"], ["Α", "A"], ["Β", "B"], ["Γ", "G"], ["Δ", "D"], ["Ε", "E"], ["Ζ", "Z"], ["Η", "I"], ["Θ", "TH"], ["Ι", "I"], ["Κ", "K"], ["Λ", "L"], ["Μ", "M"], ["Ν", "N"], ["Ξ", "KS"], ["Ο", "O"], ["Π", "P"], ["Ρ", "R"], ["Σ", "S"], ["Τ", "T"], ["Υ", "Y"], ["Φ", "F"], ["Χ", "X"], ["Ψ", "PS"], ["Ω", "O"], ["Ά", "A"], ["Έ", "E"], ["Ί", "I"], ["Ό", "O"], ["Ύ", "Y"], ["Ή", "I"], ["Ώ", "O"], ["Ϊ", "I"], ["Ϋ", "Y"]]), xo = Object.fromEntries([["ء", "e"], ["آ", "a"], ["أ", "a"], ["ؤ", "w"], ["إ", "i"], ["ئ", "y"], ["ا", "a"], ["ب", "b"], ["ة", "t"], ["ت", "t"], ["ث", "th"], ["ج", "j"], ["ح", "h"], ["خ", "kh"], ["د", "d"], ["ذ", "dh"], ["ر", "r"], ["ز", "z"], ["س", "s"], ["ش", "sh"], ["ص", "s"], ["ض", "d"], ["ط", "t"], ["ظ", "z"], ["ع", "e"], ["غ", "gh"], ["ـ", "_"], ["ف", "f"], ["ق", "q"], ["ك", "k"], ["ل", "l"], ["م", "m"], ["ن", "n"], ["ه", "h"], ["و", "w"], ["ى", "a"], ["ي", "y"], ["َ", "a"], ["ُ", "u"], ["ِ", "i"]]), Io = Object.fromEntries([["ա", "a"], ["Ա", "A"], ["բ", "b"], ["Բ", "B"], ["գ", "g"], ["Գ", "G"], ["դ", "d"], ["Դ", "D"], ["ե", "ye"], ["Ե", "Ye"], ["զ", "z"], ["Զ", "Z"], ["է", "e"], ["Է", "E"], ["ը", "y"], ["Ը", "Y"], ["թ", "t"], ["Թ", "T"], ["ժ", "zh"], ["Ժ", "Zh"], ["ի", "i"], ["Ի", "I"], ["լ", "l"], ["Լ", "L"], ["խ", "kh"], ["Խ", "Kh"], ["ծ", "ts"], ["Ծ", "Ts"], ["կ", "k"], ["Կ", "K"], ["հ", "h"], ["Հ", "H"], ["ձ", "dz"], ["Ձ", "Dz"], ["ղ", "gh"], ["Ղ", "Gh"], ["ճ", "tch"], ["Ճ", "Tch"], ["մ", "m"], ["Մ", "M"], ["յ", "y"], ["Յ", "Y"], ["ն", "n"], ["Ն", "N"], ["շ", "sh"], ["Շ", "Sh"], ["ո", "vo"], ["Ո", "Vo"], ["չ", "ch"], ["Չ", "Ch"], ["պ", "p"], ["Պ", "P"], ["ջ", "j"], ["Ջ", "J"], ["ռ", "r"], ["Ռ", "R"], ["ս", "s"], ["Ս", "S"], ["վ", "v"], ["Վ", "V"], ["տ", "t"], ["Տ", "T"], ["ր", "r"], ["Ր", "R"], ["ց", "c"], ["Ց", "C"], ["ու", "u"], ["ՈՒ", "U"], ["Ու", "U"], ["փ", "p"], ["Փ", "P"], ["ք", "q"], ["Ք", "Q"], ["օ", "o"], ["Օ", "O"], ["ֆ", "f"], ["Ֆ", "F"], ["և", "yev"]]), Fo = Object.fromEntries([["چ", "ch"], ["ک", "k"], ["گ", "g"], ["پ", "p"], ["ژ", "zh"], ["ی", "y"]]), Oo = Object.fromEntries([["א", "a"], ["ב", "b"], ["ג", "g"], ["ד", "d"], ["ה", "h"], ["ו", "v"], ["ז", "z"], ["ח", "ch"], ["ט", "t"], ["י", "y"], ["כ", "k"], ["ך", "kh"], ["ל", "l"], ["ם", "m"], ["מ", "m"], ["ן", "n"], ["נ", "n"], ["ס", "s"], ["ע", "a"], ["פ", "f"], ["ף", "ph"], ["צ", "ts"], ["ץ", "ts"], ["ק", "k"], ["ר", "r"], ["ש", "sh"], ["ת", "t"], ["ו", "v"]]), Cr = { ...Wo, ...Go, ...xo, ...Fo, ...Io, ...Oo };
|
|
2735
2735
|
(function(e) {
|
|
2736
2736
|
return e.Any = "any", e.Loopback = "loopback", e.PrivateA = "private-a", e.PrivateB = "private-b", e.PrivateC = "private-c", e.TestNet1 = "test-net-1", e.TestNet2 = "test-net-2", e.TestNet3 = "test-net-3", e.LinkLocal = "link-local", e.Multicast = "multicast", e;
|
|
2737
2737
|
})({});
|
|
@@ -3603,7 +3603,7 @@ function As(e) {
|
|
|
3603
3603
|
function Ts({ workflows: e, inputs: a, env: r = {} }) {
|
|
3604
3604
|
const t = {};
|
|
3605
3605
|
for (const n of e) {
|
|
3606
|
-
const i = n.inputs, o =
|
|
3606
|
+
const i = n.inputs, o = Wn({ inputs: a, workflowInputSchema: i, env: r });
|
|
3607
3607
|
t[n.workflowId] = {
|
|
3608
3608
|
steps: As(n.steps || []),
|
|
3609
3609
|
inputs: i ? o : void 0,
|
|
@@ -3613,12 +3613,12 @@ function Ts({ workflows: e, inputs: a, env: r = {} }) {
|
|
|
3613
3613
|
}
|
|
3614
3614
|
return t;
|
|
3615
3615
|
}
|
|
3616
|
-
function
|
|
3616
|
+
function Wn({ inputs: e, workflowInputSchema: a, env: r }) {
|
|
3617
3617
|
let t = {}, n = {};
|
|
3618
3618
|
return a && (t = Rr(e, a)), a?.properties?.env && (n = Rr(r || {}, a.properties.env)), Object.keys(n).length > 0 ? { ...t, env: n } : t;
|
|
3619
3619
|
}
|
|
3620
3620
|
const Ms = vs();
|
|
3621
|
-
async function
|
|
3621
|
+
async function Gn(e, a, r, t = /* @__PURE__ */ new Set()) {
|
|
3622
3622
|
const n = e?.sourceDescriptions, i = {};
|
|
3623
3623
|
n && await Promise.all(n.map(async (s) => {
|
|
3624
3624
|
if (s.type === "openapi") {
|
|
@@ -3877,26 +3877,26 @@ function Ds() {
|
|
|
3877
3877
|
function D(S) {
|
|
3878
3878
|
return b(S) || S === "." || S === "-";
|
|
3879
3879
|
}
|
|
3880
|
-
function
|
|
3880
|
+
function G(S, L) {
|
|
3881
3881
|
L = Object.freeze({
|
|
3882
3882
|
...f,
|
|
3883
3883
|
...L
|
|
3884
3884
|
});
|
|
3885
3885
|
let M = -1, N = 1, F = 0, ae = !1;
|
|
3886
3886
|
const K = [];
|
|
3887
|
-
function oe(y, k,
|
|
3888
|
-
const Se =
|
|
3887
|
+
function oe(y, k, W, $) {
|
|
3888
|
+
const Se = W.offset + k.length;
|
|
3889
3889
|
let Un = L.ranges ? {
|
|
3890
|
-
range: [
|
|
3890
|
+
range: [W.offset, Se]
|
|
3891
3891
|
} : void 0;
|
|
3892
3892
|
return {
|
|
3893
3893
|
type: y,
|
|
3894
3894
|
value: k,
|
|
3895
3895
|
loc: {
|
|
3896
|
-
start:
|
|
3896
|
+
start: W,
|
|
3897
3897
|
end: $ || {
|
|
3898
|
-
line:
|
|
3899
|
-
column:
|
|
3898
|
+
line: W.line,
|
|
3899
|
+
column: W.column + k.length,
|
|
3900
3900
|
offset: Se
|
|
3901
3901
|
}
|
|
3902
3902
|
},
|
|
@@ -3916,12 +3916,12 @@ function Ds() {
|
|
|
3916
3916
|
offset: M
|
|
3917
3917
|
};
|
|
3918
3918
|
}
|
|
3919
|
-
function
|
|
3919
|
+
function We(y) {
|
|
3920
3920
|
let k = c.get(y);
|
|
3921
3921
|
if (S.slice(M, M + k.length) === k)
|
|
3922
3922
|
return M += k.length - 1, F += k.length - 1, { value: k, c: z() };
|
|
3923
|
-
for (let
|
|
3924
|
-
k[
|
|
3923
|
+
for (let W = 1; W < k.length; W++)
|
|
3924
|
+
k[W] !== S.charAt(M + W) && se(z());
|
|
3925
3925
|
}
|
|
3926
3926
|
function Ke(y) {
|
|
3927
3927
|
let k = y;
|
|
@@ -3931,7 +3931,7 @@ function Ds() {
|
|
|
3931
3931
|
k += y;
|
|
3932
3932
|
else if (y === "u") {
|
|
3933
3933
|
k += y;
|
|
3934
|
-
for (let
|
|
3934
|
+
for (let W = 0; W < 4; W++)
|
|
3935
3935
|
y = z(), T(y) ? k += y : se(y);
|
|
3936
3936
|
} else
|
|
3937
3937
|
se(y);
|
|
@@ -3993,21 +3993,21 @@ function Ds() {
|
|
|
3993
3993
|
if (h.has(J))
|
|
3994
3994
|
K.push(oe(h.get(J), J, y)), J = z();
|
|
3995
3995
|
else if (B(J)) {
|
|
3996
|
-
const k =
|
|
3997
|
-
let
|
|
3998
|
-
J = k.c, K.push(oe(h.get(
|
|
3996
|
+
const k = We(J);
|
|
3997
|
+
let W = k.value;
|
|
3998
|
+
J = k.c, K.push(oe(h.get(W), W, y));
|
|
3999
3999
|
} else if (D(J)) {
|
|
4000
4000
|
const k = Je(J);
|
|
4001
|
-
let
|
|
4002
|
-
J = k.c, K.push(oe("Number",
|
|
4001
|
+
let W = k.value;
|
|
4002
|
+
J = k.c, K.push(oe("Number", W, y));
|
|
4003
4003
|
} else if (J === R) {
|
|
4004
4004
|
const k = Ke(J);
|
|
4005
|
-
let
|
|
4006
|
-
J = k.c, K.push(oe("String",
|
|
4005
|
+
let W = k.value;
|
|
4006
|
+
J = k.c, K.push(oe("String", W, y));
|
|
4007
4007
|
} else if (J === C && L.comments) {
|
|
4008
4008
|
const k = $e(J);
|
|
4009
|
-
let
|
|
4010
|
-
J = k.c, K.push(oe(
|
|
4009
|
+
let W = k.value;
|
|
4010
|
+
J = k.c, K.push(oe(W.startsWith("//") ? "LineComment" : "BlockComment", W, y, de()));
|
|
4011
4011
|
} else
|
|
4012
4012
|
se(J);
|
|
4013
4013
|
}
|
|
@@ -4125,7 +4125,7 @@ function Ds() {
|
|
|
4125
4125
|
...I,
|
|
4126
4126
|
...L
|
|
4127
4127
|
});
|
|
4128
|
-
const M =
|
|
4128
|
+
const M = G(S, {
|
|
4129
4129
|
comments: !!L.comments,
|
|
4130
4130
|
ranges: !!L.ranges
|
|
4131
4131
|
});
|
|
@@ -4138,21 +4138,21 @@ function Ds() {
|
|
|
4138
4138
|
return k && k.type.endsWith("Comment") ? ae() : k;
|
|
4139
4139
|
}
|
|
4140
4140
|
const K = L.comments ? ae : F;
|
|
4141
|
-
function oe(k,
|
|
4142
|
-
if (!k || k.value !==
|
|
4141
|
+
function oe(k, W) {
|
|
4142
|
+
if (!k || k.value !== W)
|
|
4143
4143
|
throw new v(k);
|
|
4144
4144
|
}
|
|
4145
|
-
function z(k,
|
|
4146
|
-
if (!k || k.type !==
|
|
4145
|
+
function z(k, W) {
|
|
4146
|
+
if (!k || k.type !== W)
|
|
4147
4147
|
throw new v(k);
|
|
4148
4148
|
}
|
|
4149
|
-
function de(k,
|
|
4149
|
+
function de(k, W) {
|
|
4150
4150
|
return L.ranges ? {
|
|
4151
|
-
range: [k.offset,
|
|
4151
|
+
range: [k.offset, W.offset]
|
|
4152
4152
|
} : void 0;
|
|
4153
4153
|
}
|
|
4154
|
-
function
|
|
4155
|
-
const
|
|
4154
|
+
function We(k) {
|
|
4155
|
+
const W = de(k.loc.start, k.loc.end);
|
|
4156
4156
|
return {
|
|
4157
4157
|
type: k.type,
|
|
4158
4158
|
value: U(k),
|
|
@@ -4164,18 +4164,18 @@ function Ds() {
|
|
|
4164
4164
|
...k.loc.end
|
|
4165
4165
|
}
|
|
4166
4166
|
},
|
|
4167
|
-
...
|
|
4167
|
+
...W
|
|
4168
4168
|
};
|
|
4169
4169
|
}
|
|
4170
4170
|
function Ke(k) {
|
|
4171
4171
|
z(k, "String");
|
|
4172
|
-
const
|
|
4172
|
+
const W = We(k);
|
|
4173
4173
|
k = K(), oe(k, ":");
|
|
4174
|
-
const $ = se(), Se = de(
|
|
4175
|
-
return H.member(
|
|
4174
|
+
const $ = se(), Se = de(W.loc.start, $.loc.end);
|
|
4175
|
+
return H.member(W, $, {
|
|
4176
4176
|
loc: {
|
|
4177
4177
|
start: {
|
|
4178
|
-
...
|
|
4178
|
+
...W.loc.start
|
|
4179
4179
|
},
|
|
4180
4180
|
end: {
|
|
4181
4181
|
...$.loc.end
|
|
@@ -4186,18 +4186,18 @@ function Ds() {
|
|
|
4186
4186
|
}
|
|
4187
4187
|
function Je(k) {
|
|
4188
4188
|
oe(k, "{");
|
|
4189
|
-
const
|
|
4189
|
+
const W = [];
|
|
4190
4190
|
let $ = K();
|
|
4191
4191
|
if ($ && $.value !== "}")
|
|
4192
4192
|
do
|
|
4193
|
-
if (
|
|
4193
|
+
if (W.push(Ke($)), $ = K(), $.value === ",")
|
|
4194
4194
|
$ = K();
|
|
4195
4195
|
else
|
|
4196
4196
|
break;
|
|
4197
4197
|
while ($);
|
|
4198
4198
|
oe($, "}");
|
|
4199
4199
|
const Se = de(k.loc.start, $.loc.end);
|
|
4200
|
-
return H.object(
|
|
4200
|
+
return H.object(W, {
|
|
4201
4201
|
loc: {
|
|
4202
4202
|
start: {
|
|
4203
4203
|
...k.loc.start
|
|
@@ -4211,20 +4211,20 @@ function Ds() {
|
|
|
4211
4211
|
}
|
|
4212
4212
|
function $e(k) {
|
|
4213
4213
|
oe(k, "[");
|
|
4214
|
-
const
|
|
4214
|
+
const W = [];
|
|
4215
4215
|
let $ = K();
|
|
4216
4216
|
if ($ && $.value !== "]")
|
|
4217
4217
|
do
|
|
4218
|
-
if (
|
|
4218
|
+
if (W.push(se($)), $ = K(), $.value === ",")
|
|
4219
4219
|
$ = K();
|
|
4220
4220
|
else
|
|
4221
4221
|
break;
|
|
4222
4222
|
while ($);
|
|
4223
4223
|
oe($, "]");
|
|
4224
4224
|
const Se = de(k.loc.start, $.loc.end);
|
|
4225
|
-
return H.array(
|
|
4225
|
+
return H.array(W, {
|
|
4226
4226
|
type: "Array",
|
|
4227
|
-
elements:
|
|
4227
|
+
elements: W,
|
|
4228
4228
|
loc: {
|
|
4229
4229
|
start: {
|
|
4230
4230
|
...k.loc.start
|
|
@@ -4242,7 +4242,7 @@ function Ds() {
|
|
|
4242
4242
|
case "Boolean":
|
|
4243
4243
|
case "Number":
|
|
4244
4244
|
case "Null":
|
|
4245
|
-
return
|
|
4245
|
+
return We(k);
|
|
4246
4246
|
case "Punctuator":
|
|
4247
4247
|
if (k.value === "{")
|
|
4248
4248
|
return Je(k);
|
|
@@ -4336,14 +4336,14 @@ function Ds() {
|
|
|
4336
4336
|
const M = re(S);
|
|
4337
4337
|
return JSON.stringify(M, null, L);
|
|
4338
4338
|
}
|
|
4339
|
-
return ye.evaluate = re, ye.iterator = ie, ye.parse = X, ye.print = me, ye.tokenize =
|
|
4339
|
+
return ye.evaluate = re, ye.iterator = ie, ye.parse = X, ye.print = me, ye.tokenize = G, ye.traverse = te, ye.types = H, ye;
|
|
4340
4340
|
}
|
|
4341
|
-
var Ns = Ds(), Hs = (e) => (a) => e === a,
|
|
4341
|
+
var Ns = Ds(), Hs = (e) => (a) => e === a, Ws = (e) => (a) => !e(a), Gs = (
|
|
4342
4342
|
/*::<Obj: Object>*/
|
|
4343
4343
|
((e) => Object.values(e))
|
|
4344
4344
|
), xs = (e) => e !== void 0, Za = (e) => (a) => a.keyword === e, Is = Za("required"), Fs = Za("anyOf"), xn = Za("enum"), qe = (e) => e && e.errors ? e.errors.map(
|
|
4345
4345
|
(a) => a.keyword === "errorMessage" ? { ...a.params.errors[0], message: a.message } : a
|
|
4346
|
-
) : [], In = (e) => e &&
|
|
4346
|
+
) : [], In = (e) => e && Gs(e.children) || [], Os = (e) => (a) => In(e).filter(Ws(Hs(a))), Pr = (
|
|
4347
4347
|
/*::<T>*/
|
|
4348
4348
|
((e) => (a) => a.reduce((r, t) => r.concat(t), e))
|
|
4349
4349
|
), ha = { exports: {} }, Ba, Er;
|
|
@@ -4886,9 +4886,9 @@ function $s() {
|
|
|
4886
4886
|
}), Pa = r, Pa;
|
|
4887
4887
|
}
|
|
4888
4888
|
ha.exports;
|
|
4889
|
-
var
|
|
4889
|
+
var Wr;
|
|
4890
4890
|
function zs() {
|
|
4891
|
-
return
|
|
4891
|
+
return Wr || (Wr = 1, (function(e) {
|
|
4892
4892
|
const a = (c, d) => (...h) => `\x1B[${c(...h) + d}m`, r = (c, d) => (...h) => {
|
|
4893
4893
|
const p = c(...h);
|
|
4894
4894
|
return `\x1B[${38 + d};5;${p}m`;
|
|
@@ -4994,9 +4994,9 @@ function zs() {
|
|
|
4994
4994
|
});
|
|
4995
4995
|
})(ha)), ha.exports;
|
|
4996
4996
|
}
|
|
4997
|
-
var Ea,
|
|
4997
|
+
var Ea, Gr;
|
|
4998
4998
|
function js() {
|
|
4999
|
-
return
|
|
4999
|
+
return Gr || (Gr = 1, Ea = {
|
|
5000
5000
|
stdout: !1,
|
|
5001
5001
|
stderr: !1
|
|
5002
5002
|
}), Ea;
|
|
@@ -5238,7 +5238,7 @@ function Ys() {
|
|
|
5238
5238
|
}
|
|
5239
5239
|
var _s = Ys();
|
|
5240
5240
|
const be = /* @__PURE__ */ Ua(_s);
|
|
5241
|
-
var
|
|
5241
|
+
var Ge = {}, ia = { exports: {} }, Or;
|
|
5242
5242
|
function qs() {
|
|
5243
5243
|
if (Or) return ia.exports;
|
|
5244
5244
|
Or = 1;
|
|
@@ -5256,7 +5256,7 @@ function Zs() {
|
|
|
5256
5256
|
return e[1] ? (a.type = "string", a.closed = !!(e[3] || e[4])) : e[5] ? a.type = "comment" : e[6] ? (a.type = "comment", a.closed = !!e[7]) : e[8] ? a.type = "regex" : e[9] ? a.type = "number" : e[10] ? a.type = "name" : e[11] ? a.type = "punctuator" : e[12] && (a.type = "whitespace"), a;
|
|
5257
5257
|
}), Ue;
|
|
5258
5258
|
}
|
|
5259
|
-
var
|
|
5259
|
+
var Wa = {}, xe = {}, Jr;
|
|
5260
5260
|
function Xs() {
|
|
5261
5261
|
if (Jr) return xe;
|
|
5262
5262
|
Jr = 1, Object.defineProperty(xe, "__esModule", {
|
|
@@ -5373,12 +5373,12 @@ function el() {
|
|
|
5373
5373
|
}
|
|
5374
5374
|
});
|
|
5375
5375
|
var a = Xs(), r = Qs();
|
|
5376
|
-
})(
|
|
5376
|
+
})(Wa)), Wa;
|
|
5377
5377
|
}
|
|
5378
5378
|
var jr;
|
|
5379
5379
|
function al() {
|
|
5380
|
-
if (jr) return
|
|
5381
|
-
jr = 1, Object.defineProperty(
|
|
5380
|
+
if (jr) return Ge;
|
|
5381
|
+
jr = 1, Object.defineProperty(Ge, "__esModule", { value: !0 });
|
|
5382
5382
|
var e = /* @__PURE__ */ qs(), a = Zs(), r = el();
|
|
5383
5383
|
function t() {
|
|
5384
5384
|
return typeof process == "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? !1 : e.isColorSupported;
|
|
@@ -5449,10 +5449,10 @@ function al() {
|
|
|
5449
5449
|
column: 0,
|
|
5450
5450
|
line: -1
|
|
5451
5451
|
}, m.start), D = Object.assign({}, B, m.end), {
|
|
5452
|
-
linesAbove:
|
|
5452
|
+
linesAbove: G = 2,
|
|
5453
5453
|
linesBelow: H = 3
|
|
5454
5454
|
} = T || {}, I = B.line - A, O = B.column, U = D.line - A, X = D.column;
|
|
5455
|
-
let Q = Math.max(I - (
|
|
5455
|
+
let Q = Math.max(I - (G + 1), 0), ee = Math.min(b.length, U + H);
|
|
5456
5456
|
I === -1 && (Q = 0), U === -1 && (ee = b.length);
|
|
5457
5457
|
const ue = U - I, te = {};
|
|
5458
5458
|
if (ue)
|
|
@@ -5479,11 +5479,11 @@ function al() {
|
|
|
5479
5479
|
};
|
|
5480
5480
|
}
|
|
5481
5481
|
function P(m, b, T = {}) {
|
|
5482
|
-
const A = T.forceColor || t() && T.highlightCode, B = (T.startLine || 1) - 1, D = l(A),
|
|
5482
|
+
const A = T.forceColor || t() && T.highlightCode, B = (T.startLine || 1) - 1, D = l(A), G = m.split(R), {
|
|
5483
5483
|
start: H,
|
|
5484
5484
|
end: I,
|
|
5485
5485
|
markerLines: O
|
|
5486
|
-
} = C(b,
|
|
5486
|
+
} = C(b, G, T, B), U = b.start && typeof b.start.column == "number", X = String(I + B).length;
|
|
5487
5487
|
let ee = (A ? v(m) : m).split(R, I).slice(H, I).map((ue, te) => {
|
|
5488
5488
|
const ie = H + 1 + te, me = ` ${` ${ie + B}`.slice(-X)} |`, S = O[ie], L = !O[ie + 1];
|
|
5489
5489
|
if (S) {
|
|
@@ -5508,8 +5508,8 @@ ${ee}`), A ? D.reset(ee) : ee;
|
|
|
5508
5508
|
if (process.emitWarning)
|
|
5509
5509
|
process.emitWarning(D, "DeprecationWarning");
|
|
5510
5510
|
else {
|
|
5511
|
-
const
|
|
5512
|
-
|
|
5511
|
+
const G = new Error(D);
|
|
5512
|
+
G.name = "DeprecationWarning", console.warn(new Error(D));
|
|
5513
5513
|
}
|
|
5514
5514
|
}
|
|
5515
5515
|
return T = Math.max(T, 0), P(m, {
|
|
@@ -5519,7 +5519,7 @@ ${ee}`), A ? D.reset(ee) : ee;
|
|
|
5519
5519
|
}
|
|
5520
5520
|
}, A);
|
|
5521
5521
|
}
|
|
5522
|
-
return
|
|
5522
|
+
return Ge.codeFrameColumns = P, Ge.default = f, Ge.highlight = v, Ge;
|
|
5523
5523
|
}
|
|
5524
5524
|
var rl = al(), On = (e) => e.split("/").slice(1).map((a) => a.split("~1").join("/").split("~0").join("~"));
|
|
5525
5525
|
function nl(e, a, r) {
|
|
@@ -6183,7 +6183,7 @@ async function Hl({ ctx: e, workflowId: a, step: r, requestData: t }) {
|
|
|
6183
6183
|
response: r.response
|
|
6184
6184
|
}, n;
|
|
6185
6185
|
}
|
|
6186
|
-
function
|
|
6186
|
+
function Wl({ ctx: e, descriptionName: a, openapiOperation: r, xOperation: t }) {
|
|
6187
6187
|
if (!a && t?.url)
|
|
6188
6188
|
return { url: Me({
|
|
6189
6189
|
payload: t?.url,
|
|
@@ -6234,7 +6234,7 @@ function sa(e) {
|
|
|
6234
6234
|
})).filter(({ value: a }) => !!a)
|
|
6235
6235
|
};
|
|
6236
6236
|
}
|
|
6237
|
-
function
|
|
6237
|
+
function Gl(e, a) {
|
|
6238
6238
|
if (Fl(e))
|
|
6239
6239
|
return {
|
|
6240
6240
|
in: e.scheme.in,
|
|
@@ -6317,7 +6317,7 @@ function zl({ ctx: e, runtimeContext: a, step: r, operation: t, workflowLevelXSe
|
|
|
6317
6317
|
logger: e.options.logger
|
|
6318
6318
|
});
|
|
6319
6319
|
return u.values && (u.values[g] = w), [g, w];
|
|
6320
|
-
})), h = $l({ scheme: c, values: d }), p =
|
|
6320
|
+
})), h = $l({ scheme: c, values: d }), p = Gl(h, e);
|
|
6321
6321
|
p && l.push(p);
|
|
6322
6322
|
}
|
|
6323
6323
|
return l;
|
|
@@ -6328,7 +6328,7 @@ async function jl(e, a, r) {
|
|
|
6328
6328
|
operationPath: i
|
|
6329
6329
|
}, e);
|
|
6330
6330
|
let c = "", d;
|
|
6331
|
-
const h =
|
|
6331
|
+
const h = Wl({
|
|
6332
6332
|
ctx: e,
|
|
6333
6333
|
descriptionName: u?.descriptionName,
|
|
6334
6334
|
openapiOperation: u,
|
|
@@ -6393,8 +6393,8 @@ async function jl(e, a, r) {
|
|
|
6393
6393
|
})
|
|
6394
6394
|
}));
|
|
6395
6395
|
for (const D of u?.parameters || []) {
|
|
6396
|
-
const { schema:
|
|
6397
|
-
ea(e,
|
|
6396
|
+
const { schema: G, name: H } = D;
|
|
6397
|
+
ea(e, G, De(P, D.in), [H]);
|
|
6398
6398
|
}
|
|
6399
6399
|
const B = Me({
|
|
6400
6400
|
payload: R,
|
|
@@ -6461,7 +6461,7 @@ async function $a({ step: e, ctx: a, workflowId: r, retriesLeft: t, executedStep
|
|
|
6461
6461
|
e = { ...e }, e.retriesLeft = t;
|
|
6462
6462
|
const i = a.workflows.find((f) => f.workflowId === r), { stepId: o, onFailure: s, onSuccess: l, workflowId: u, parameters: c } = e, d = (s || i?.failureActions || []).map((f) => _e(f, a)), h = (l || i?.successActions || []).map((f) => _e(f, a)), p = c?.map((f) => _e(f, a));
|
|
6463
6463
|
if (u) {
|
|
6464
|
-
const f =
|
|
6464
|
+
const f = Ga({ ref: u, ctx: a });
|
|
6465
6465
|
if (!f) {
|
|
6466
6466
|
const B = {
|
|
6467
6467
|
name: V.UNEXPECTED_ERROR,
|
|
@@ -6473,7 +6473,7 @@ async function $a({ step: e, ctx: a, workflowId: r, retriesLeft: t, executedStep
|
|
|
6473
6473
|
}
|
|
6474
6474
|
const m = await ja(u, f, a, a.options.config);
|
|
6475
6475
|
if (p && p.length > 0) {
|
|
6476
|
-
const B = p.filter(tt).reduce((D,
|
|
6476
|
+
const B = p.filter(tt).reduce((D, G) => {
|
|
6477
6477
|
const H = {
|
|
6478
6478
|
...a,
|
|
6479
6479
|
$inputs: {
|
|
@@ -6481,8 +6481,8 @@ async function $a({ step: e, ctx: a, workflowId: r, retriesLeft: t, executedStep
|
|
|
6481
6481
|
...r ? a.$workflows[r]?.inputs : {}
|
|
6482
6482
|
}
|
|
6483
6483
|
};
|
|
6484
|
-
return D[
|
|
6485
|
-
value:
|
|
6484
|
+
return D[G.name] = Va({
|
|
6485
|
+
value: G.value,
|
|
6486
6486
|
ctx: H,
|
|
6487
6487
|
logger: a.options.logger
|
|
6488
6488
|
}), D;
|
|
@@ -6617,7 +6617,7 @@ async function $a({ step: e, ctx: a, workflowId: r, retriesLeft: t, executedStep
|
|
|
6617
6617
|
criteria: D,
|
|
6618
6618
|
ctx: a
|
|
6619
6619
|
}).every((H) => H.passed)) {
|
|
6620
|
-
const H = A.workflowId ?
|
|
6620
|
+
const H = A.workflowId ? Ga({ ref: A.workflowId, ctx: a }) : void 0;
|
|
6621
6621
|
if (A.workflowId && !H)
|
|
6622
6622
|
return T(`Workflow ${x(A.workflowId)} referenced in the ${B} action of step ${x(o)} is not found.`);
|
|
6623
6623
|
const I = A.workflowId && H ? await ja(A.workflowId, H, a, a.options.config) : { ...a, executedSteps: [] }, O = A.stepId ? A.stepId : void 0;
|
|
@@ -6715,7 +6715,7 @@ async function Ul({ options: e, collectSpecData: a, executedStepsCount: r }) {
|
|
|
6715
6715
|
async function Yl({ testDescription: e, options: a, executedStepsCount: r }) {
|
|
6716
6716
|
const t = new Ii({
|
|
6717
6717
|
fetch: a.fetch
|
|
6718
|
-
}), n = await
|
|
6718
|
+
}), n = await Gn(e, a, t), i = ya(a.workflow), o = ya(a.skip), s = Bs({
|
|
6719
6719
|
workflows: n.workflows,
|
|
6720
6720
|
workflowsToRun: i,
|
|
6721
6721
|
workflowsToSkip: o,
|
|
@@ -6773,7 +6773,7 @@ async function Qe({ workflowInput: e, ctx: a, fromStepId: r, skipLineSeparator:
|
|
|
6773
6773
|
const h = d.inputs;
|
|
6774
6774
|
if (h) {
|
|
6775
6775
|
const C = a.$workflows[d.workflowId].inputs;
|
|
6776
|
-
a.$workflows[d.workflowId].inputs =
|
|
6776
|
+
a.$workflows[d.workflowId].inputs = Wn({
|
|
6777
6777
|
inputs: C,
|
|
6778
6778
|
workflowInputSchema: h,
|
|
6779
6779
|
env: a.options.envVariables
|
|
@@ -6857,7 +6857,7 @@ async function _l({ workflow: e, ctx: a, config: r, executedStepsCount: t }) {
|
|
|
6857
6857
|
if (!e.dependsOn?.length)
|
|
6858
6858
|
return;
|
|
6859
6859
|
const n = e.dependsOn.map((s) => {
|
|
6860
|
-
const l =
|
|
6860
|
+
const l = Ga({ ref: s, ctx: a });
|
|
6861
6861
|
if (!l)
|
|
6862
6862
|
throw new za(`Workflow ${x(s)} from dependsOn of workflow ${x(e.workflowId)} is not found.`);
|
|
6863
6863
|
return { workflowId: s, resolvedWorkflow: l };
|
|
@@ -6875,7 +6875,7 @@ async function _l({ workflow: e, ctx: a, config: r, executedStepsCount: t }) {
|
|
|
6875
6875
|
}
|
|
6876
6876
|
async function ja(e, a, r, t) {
|
|
6877
6877
|
const n = e && e.startsWith("$sourceDescriptions.") && e.split(".")[1], i = n && r.$sourceDescriptions[n];
|
|
6878
|
-
return i ? await
|
|
6878
|
+
return i ? await Gn(i, {
|
|
6879
6879
|
...r.options,
|
|
6880
6880
|
filePath: ql(n, r.sourceDescriptions, r.options),
|
|
6881
6881
|
workflow: [a.workflowId],
|