@redocly/replay 0.28.0-next.8 → 0.28.0

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 (72) hide show
  1. package/dist/{replay-AiChatProvider--1WugvKf.js → replay-AiChatProvider-BRqjyy2W.js} +2 -2
  2. package/dist/{replay-AiChatProvider-BJdxRVOc.js → replay-AiChatProvider-DUVoLgY2.js} +128 -130
  3. package/dist/{replay-AiChatSqliteDBStorage-D9fgt_9s.js → replay-AiChatSqliteDBStorage-0evx56pl.js} +6 -6
  4. package/dist/{replay-AiChatSqliteDBStorage-DbGtw6xx.js → replay-AiChatSqliteDBStorage-C5AnRloD.js} +1 -1
  5. package/dist/{replay-AiPanel-BU8oG0pD.js → replay-AiPanel-CMjVD12K.js} +77 -77
  6. package/dist/{replay-AiPanel-BYOLZjQX.js → replay-AiPanel-PVgJioX3.js} +2 -2
  7. package/dist/replay-FileWatcher-CFYprlWN.js +364 -0
  8. package/dist/replay-FileWatcher-DGLwO5Kd.js +1 -0
  9. package/dist/{replay-HistorySqliteDBStorage-CtF6-vY8.js → replay-HistorySqliteDBStorage-Bi5vBQ2T.js} +2 -2
  10. package/dist/{replay-SemanticSearchService-DRDdGJkI.js → replay-SemanticSearchService-Bh5xYa91.js} +22 -26
  11. package/dist/replay-SemanticSearchService-CulKCCNl.js +1 -0
  12. package/dist/{replay-SqliteDBStorage-D9Oeu_XC.js → replay-SqliteDBStorage-Bz0muHEk.js} +49 -49
  13. package/dist/{replay-SqliteDBStorage-B3zO7RGD.js → replay-SqliteDBStorage-CVHRAsPD.js} +1 -1
  14. package/dist/{replay-StepContextSqliteDBStorage-BfAAKDwA.js → replay-StepContextSqliteDBStorage-BkB2NM27.js} +2 -2
  15. package/dist/replay-TauriFileSystemAdapter-B163-f2D.js +108 -0
  16. package/dist/replay-TauriFileSystemAdapter-D4bOmvzP.js +1 -0
  17. package/dist/{replay-TauriRootStorage-XIJpsp6_.js → replay-TauriRootStorage-2MPQE-3f.js} +159 -155
  18. package/dist/replay-TauriRootStorage-CjWUrnWz.js +1 -0
  19. package/dist/{replay-agent-loop-DxK1tiVw.js → replay-agent-loop-BgYyBo9e.js} +9 -9
  20. package/dist/{replay-agent-loop-IDavXm8f.js → replay-agent-loop-DYDFXAZj.js} +1 -1
  21. package/dist/{replay-ai-chat-mappers-B-_eSMi4.js → replay-ai-chat-mappers-BEwNRQPV.js} +3 -3
  22. package/dist/{replay-ai-chat-mappers-BmvAc4xt.js → replay-ai-chat-mappers-CMtNqQHX.js} +1 -1
  23. package/dist/{replay-ai-message-parts.schema-E9u9-nqr.js → replay-ai-message-parts.schema-DKLf0SiG.js} +1 -1
  24. package/dist/{replay-create-model-CscK0cT1.js → replay-create-model-B2ZsGTjs.js} +3 -3
  25. package/dist/{replay-create-model-CIY7WZ1P.js → replay-create-model-DPxfOEfv.js} +4 -4
  26. package/dist/{replay-db-e_3o5e3f.js → replay-db-C9iqyMet.js} +1 -1
  27. package/dist/{replay-db-C_cdHXEt.js → replay-db-D4-LmLRk.js} +5 -5
  28. package/dist/{replay-external-resolver-nuL3ajF5.js → replay-external-resolver-BXgVrfzk.js} +7 -7
  29. package/dist/{replay-external-resolver-BmOmF-DG.js → replay-external-resolver-CTUbNZGW.js} +1 -1
  30. package/dist/{replay-history.schema-5ce6X0R1.js → replay-history.schema-B0lLwmdG.js} +3 -3
  31. package/dist/{replay-index-DDt4LOBo.js → replay-index-4TEahAPK.js} +21968 -21367
  32. package/dist/{replay-index-DjdDUkfV.js → replay-index-B4U7iZuq.js} +46 -46
  33. package/dist/replay-index-B8O3wYqo.js +1 -0
  34. package/dist/{replay-index-etIeWhnn.js → replay-index-Bdg7noSD.js} +1 -1
  35. package/dist/replay-index-CG9VN2JQ.js +4 -0
  36. package/dist/{replay-index-E3Eu6_jY.js → replay-index-DcC173cC.js} +1 -1
  37. package/dist/{replay-index-B8Zfn7JD.js → replay-index-Nz5obVS5.js} +1139 -1141
  38. package/dist/{replay-index-DcbwI4wD.js → replay-index-q63USe25.js} +1 -1
  39. package/dist/{replay-indexes-CfsvVMi_.js → replay-indexes-B3PJtgeh.js} +43 -43
  40. package/dist/{replay-lint-DVAifLdU.js → replay-lint-4XFKTmSY.js} +97 -97
  41. package/dist/{replay-lint-graphql-U_VxwRr1.js → replay-lint-graphql-BsBWkZ6L.js} +1 -1
  42. package/dist/{replay-lint-graphql-D1qaeEmu.js → replay-lint-graphql-De2eDZnT.js} +1 -1
  43. package/dist/{replay-lint-BjrmIhuZ.js → replay-lint-s7ylMBWz.js} +6111 -6074
  44. package/dist/replay-periodic-revalidation-BMFP7f-u.js +1 -0
  45. package/dist/{replay-periodic-revalidation-BtEKdEKa.js → replay-periodic-revalidation-DJbblUef.js} +4 -5
  46. package/dist/{replay-resolve-C97SfUAB.js → replay-resolve-BtNxNrKo.js} +123 -123
  47. package/dist/{replay-resolve-BYJosLqD.js → replay-resolve-BueEsOnR.js} +1 -1
  48. package/dist/{replay-respect-run-CW5xFLKz.js → replay-respect-run-B_dJjlti.js} +1 -1
  49. package/dist/{replay-respect-run-3FHTVHvs.js → replay-respect-run-Dfpbcsns.js} +3 -3
  50. package/dist/replay-step-context.schema-BOprzd6Z.js +21 -0
  51. package/dist/{replay-tauri-path-CMpWmGvW.js → replay-tauri-path-Bht3XIt7.js} +1 -1
  52. package/dist/replay-tauri-path-CiuYXh_j.js +22 -0
  53. package/dist/replay-useAiChatQueries-02CRdEPJ.js +215 -0
  54. package/dist/{replay-useAiChatQueries-DhTcllVx.js → replay-useAiChatQueries-D2hh5omV.js} +1039 -996
  55. package/dist/{replay-validate-key-Dj_UT2WG.js → replay-validate-key-ALwOF1Ux.js} +1 -1
  56. package/dist/{replay-validate-key-DJ_1khxq.js → replay-validate-key-B7fbWbfv.js} +2 -2
  57. package/dist/replay.cjs +1 -1
  58. package/dist/replay.d.ts +5 -0
  59. package/dist/replay.js +15 -15
  60. package/package.json +6 -6
  61. package/dist/replay-FileWatcher-BrhE0AP6.js +0 -1
  62. package/dist/replay-FileWatcher-JoqPJECh.js +0 -360
  63. package/dist/replay-SemanticSearchService-BgQ1HMcT.js +0 -1
  64. package/dist/replay-TauriFileSystemAdapter-CxHFFCmk.js +0 -1
  65. package/dist/replay-TauriFileSystemAdapter-DJETGEY7.js +0 -99
  66. package/dist/replay-TauriRootStorage-BSQQcFgG.js +0 -1
  67. package/dist/replay-index-C_DfEx-H.js +0 -1
  68. package/dist/replay-index-Da2H-hpA.js +0 -25
  69. package/dist/replay-periodic-revalidation-C3eLm7Mw.js +0 -1
  70. package/dist/replay-step-context.schema-DBk4jufr.js +0 -21
  71. package/dist/replay-tauri-path-C-vLbl1V.js +0 -22
  72. package/dist/replay-useAiChatQueries-CEYDGx9f.js +0 -215
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./replay-index-Nz5obVS5.js"),s=300*1e3;function i(e){return()=>({apis:e.get(n.apisAtom),collections:e.get(n.collectionsAtom)})}function d(e,r,a=s){let t=!1;const o=i(r),c=setInterval(()=>{t||e.getIndexingActivityState().inProgress||(t=!0,e.reindex(o).catch(l=>console.error("Semantic index revalidation:",l)).finally(()=>{t=!1}))},a);return()=>clearInterval(c)}exports.createIndexSnapshotGetter=i;exports.startPeriodicIndexRevalidation=d;
@@ -1,4 +1,4 @@
1
- import { h as c, j as l } from "./replay-index-DDt4LOBo.js";
1
+ import { c, a as l } from "./replay-index-4TEahAPK.js";
2
2
  const s = 300 * 1e3;
3
3
  function I(t) {
4
4
  return () => ({
@@ -8,15 +8,14 @@ function I(t) {
8
8
  }
9
9
  function f(t, n, i = s) {
10
10
  let e = !1;
11
- const r = I(n), o = setInterval(() => {
12
- e || t.getIndexingActivityState().inProgress || (e = !0, t.reindex(r).catch((a) => console.error("Semantic index revalidation:", a)).finally(() => {
11
+ const r = I(n), a = setInterval(() => {
12
+ e || t.getIndexingActivityState().inProgress || (e = !0, t.reindex(r).catch((o) => console.error("Semantic index revalidation:", o)).finally(() => {
13
13
  e = !1;
14
14
  }));
15
15
  }, i);
16
- return () => clearInterval(o);
16
+ return () => clearInterval(a);
17
17
  }
18
18
  export {
19
- s as INDEX_REVALIDATION_INTERVAL_MS,
20
19
  I as createIndexSnapshotGetter,
21
20
  f as startPeriodicIndexRevalidation
22
21
  };
@@ -1,10 +1,10 @@
1
- import { g as hr, b8 as Ve, b9 as Re } from "./replay-index-DDt4LOBo.js";
1
+ import { K as hr, _ as Ve, $ as Re } from "./replay-index-4TEahAPK.js";
2
2
  function gr(e) {
3
3
  return !!e;
4
4
  }
5
- var Ct = {}, bt, un;
5
+ var Ct = {}, Tt, un;
6
6
  function dt() {
7
- if (un) return bt;
7
+ if (un) return Tt;
8
8
  un = 1;
9
9
  const e = "\\\\/", t = `[^${e}]`, n = 0, r = "\\.", i = "\\+", o = "\\?", a = "\\/", s = "(?=.)", l = "[^/]", u = `(?:${a}|$)`, c = `(?:^|${a})`, S = `${r}{1,2}${u}`, m = `(?!${r})`, C = `(?!${c}${S})`, E = `(?!${r}{0,1}${u})`, w = `(?!${S})`, M = `[^.${a}]`, N = `${l}*?`, y = {
10
10
  DOT_LITERAL: r,
@@ -54,7 +54,7 @@ function dt() {
54
54
  word: "A-Za-z0-9_",
55
55
  xdigit: "A-Fa-f0-9"
56
56
  };
57
- return bt = {
57
+ return Tt = {
58
58
  DEFAULT_MAX_EXTGLOB_RECURSION: n,
59
59
  MAX_LENGTH: 1024 * 64,
60
60
  POSIX_REGEX_SOURCE: f,
@@ -179,7 +179,7 @@ function dt() {
179
179
  globChars(I) {
180
180
  return I === !0 ? R : y;
181
181
  }
182
- }, bt;
182
+ }, Tt;
183
183
  }
184
184
  var fn;
185
185
  function ht() {
@@ -212,9 +212,9 @@ function ht() {
212
212
  };
213
213
  })(Ct)), Ct;
214
214
  }
215
- var Tt, pn;
215
+ var bt, pn;
216
216
  function mr() {
217
- if (pn) return Tt;
217
+ if (pn) return bt;
218
218
  pn = 1;
219
219
  const e = /* @__PURE__ */ ht(), {
220
220
  CHAR_ASTERISK: t,
@@ -250,7 +250,7 @@ function mr() {
250
250
  } = /* @__PURE__ */ dt(), M = (y) => y === s || y === r, N = (y) => {
251
251
  y.isPrefix !== !0 && (y.depth = y.isGlobstar ? 1 / 0 : 1);
252
252
  };
253
- return Tt = (y, R) => {
253
+ return bt = (y, R) => {
254
254
  const f = R || {}, I = y.length - 1, v = f.parts === !0 || f.scanToEnd === !0, A = [], g = [], x = [];
255
255
  let W = y, L = -1, q = 0, ce = 0, se = !1, de = !1, j = !1, ye = !1, _e = !1, he = !1, U = !1, ge = !1, we = !1, ne = !1, J = 0, le, $, F = { value: "", depth: 0, isGlob: !1 };
256
256
  const h = () => L >= I, ae = () => W.charCodeAt(L + 1), z = () => (le = $, W.charCodeAt(++L));
@@ -386,8 +386,8 @@ function mr() {
386
386
  if (f.tokens === !0 && (ue.maxDepth = 0, M($) || g.push(F), ue.tokens = g), f.parts === !0 || f.tokens === !0) {
387
387
  let D;
388
388
  for (let V = 0; V < A.length; V++) {
389
- const Se = D ? D + 1 : q, fe = A[V], be = y.slice(Se, fe);
390
- f.tokens && (V === 0 && q !== 0 ? (g[V].isPrefix = !0, g[V].value = d) : g[V].value = be, N(g[V]), ue.maxDepth += g[V].depth), (V !== 0 || be !== "") && x.push(be), D = fe;
389
+ const Se = D ? D + 1 : q, fe = A[V], Te = y.slice(Se, fe);
390
+ f.tokens && (V === 0 && q !== 0 ? (g[V].isPrefix = !0, g[V].value = d) : g[V].value = Te, N(g[V]), ue.maxDepth += g[V].depth), (V !== 0 || Te !== "") && x.push(Te), D = fe;
391
391
  }
392
392
  if (D && D + 1 < y.length) {
393
393
  const V = y.slice(D + 1);
@@ -396,7 +396,7 @@ function mr() {
396
396
  ue.slashes = A, ue.parts = x;
397
397
  }
398
398
  return ue;
399
- }, Tt;
399
+ }, bt;
400
400
  }
401
401
  var vt, dn;
402
402
  function Ar() {
@@ -591,7 +591,7 @@ function Ar() {
591
591
  QMARK_NO_DOT: ge,
592
592
  STAR: we,
593
593
  START_ANCHOR: ne
594
- } = W, J = (T) => `(${x}(?:(?!${ne}${T.dot ? j : q}).)*?)`, le = f.dot ? "" : ye, $ = f.dot ? U : ge;
594
+ } = W, J = (b) => `(${x}(?:(?!${ne}${b.dot ? j : q}).)*?)`, le = f.dot ? "" : ye, $ = f.dot ? U : ge;
595
595
  let F = f.bash === !0 ? J(f) : we;
596
596
  f.capture && (F = `(${F})`), typeof f.noext == "boolean" && (f.noextglob = f.noext);
597
597
  const h = {
@@ -614,67 +614,67 @@ function Ar() {
614
614
  y = t.removePrefix(y, h), v = y.length;
615
615
  const ae = [], z = [], X = [];
616
616
  let d = A, p;
617
- const ue = () => h.index === v - 1, D = h.peek = (T = 1) => y[h.index + T], V = h.advance = () => y[++h.index] || "", Se = () => y.slice(h.index + 1), fe = (T = "", Y = 0) => {
618
- h.consumed += T, h.index += Y;
619
- }, be = (T) => {
620
- h.output += T.output != null ? T.output : T.value, fe(T.value);
617
+ const ue = () => h.index === v - 1, D = h.peek = (b = 1) => y[h.index + b], V = h.advance = () => y[++h.index] || "", Se = () => y.slice(h.index + 1), fe = (b = "", Y = 0) => {
618
+ h.consumed += b, h.index += Y;
619
+ }, Te = (b) => {
620
+ h.output += b.output != null ? b.output : b.value, fe(b.value);
621
621
  }, pr = () => {
622
- let T = 1;
622
+ let b = 1;
623
623
  for (; D() === "!" && (D(2) !== "(" || D(3) === "?"); )
624
- V(), h.start++, T++;
625
- return T % 2 === 0 ? !1 : (h.negated = !0, h.start++, !0);
626
- }, Je = (T) => {
627
- h[T]++, X.push(T);
628
- }, Te = (T) => {
629
- h[T]--, X.pop();
630
- }, O = (T) => {
624
+ V(), h.start++, b++;
625
+ return b % 2 === 0 ? !1 : (h.negated = !0, h.start++, !0);
626
+ }, Je = (b) => {
627
+ h[b]++, X.push(b);
628
+ }, be = (b) => {
629
+ h[b]--, X.pop();
630
+ }, O = (b) => {
631
631
  if (d.type === "globstar") {
632
- const Y = h.braces > 0 && (T.type === "comma" || T.type === "brace"), b = T.extglob === !0 || ae.length && (T.type === "pipe" || T.type === "paren");
633
- T.type !== "slash" && T.type !== "paren" && !Y && !b && (h.output = h.output.slice(0, -d.output.length), d.type = "star", d.value = "*", d.output = F, h.output += d.output);
632
+ const Y = h.braces > 0 && (b.type === "comma" || b.type === "brace"), T = b.extglob === !0 || ae.length && (b.type === "pipe" || b.type === "paren");
633
+ b.type !== "slash" && b.type !== "paren" && !Y && !T && (h.output = h.output.slice(0, -d.output.length), d.type = "star", d.value = "*", d.output = F, h.output += d.output);
634
634
  }
635
- if (ae.length && T.type !== "paren" && (ae[ae.length - 1].inner += T.value), (T.value || T.output) && be(T), d && d.type === "text" && T.type === "text") {
636
- d.output = (d.output || d.value) + T.value, d.value += T.value;
635
+ if (ae.length && b.type !== "paren" && (ae[ae.length - 1].inner += b.value), (b.value || b.output) && Te(b), d && d.type === "text" && b.type === "text") {
636
+ d.output = (d.output || d.value) + b.value, d.value += b.value;
637
637
  return;
638
638
  }
639
- T.prev = d, g.push(T), d = T;
640
- }, et = (T, Y) => {
641
- const b = { ...L[Y], conditions: 1, inner: "" };
642
- b.prev = d, b.parens = h.parens, b.output = h.output, b.startIndex = h.index, b.tokensIndex = g.length;
643
- const P = (f.capture ? "(" : "") + b.open;
644
- Je("parens"), O({ type: T, value: Y, output: h.output ? "" : de }), O({ type: "paren", extglob: !0, value: V(), output: P }), ae.push(b);
645
- }, dr = (T) => {
646
- const Y = y.slice(T.startIndex, h.index + 1), b = y.slice(T.startIndex + 2, h.index), P = N(b, f);
647
- if ((T.type === "plus" || T.type === "star") && P.risky) {
648
- const K = P.safeOutput ? (T.output ? "" : de) + (f.capture ? `(${P.safeOutput})` : P.safeOutput) : void 0, me = g[T.tokensIndex];
639
+ b.prev = d, g.push(b), d = b;
640
+ }, et = (b, Y) => {
641
+ const T = { ...L[Y], conditions: 1, inner: "" };
642
+ T.prev = d, T.parens = h.parens, T.output = h.output, T.startIndex = h.index, T.tokensIndex = g.length;
643
+ const P = (f.capture ? "(" : "") + T.open;
644
+ Je("parens"), O({ type: b, value: Y, output: h.output ? "" : de }), O({ type: "paren", extglob: !0, value: V(), output: P }), ae.push(T);
645
+ }, dr = (b) => {
646
+ const Y = y.slice(b.startIndex, h.index + 1), T = y.slice(b.startIndex + 2, h.index), P = N(T, f);
647
+ if ((b.type === "plus" || b.type === "star") && P.risky) {
648
+ const K = P.safeOutput ? (b.output ? "" : de) + (f.capture ? `(${P.safeOutput})` : P.safeOutput) : void 0, me = g[b.tokensIndex];
649
649
  me.type = "text", me.value = Y, me.output = K || t.escapeRegex(Y);
650
- for (let Ae = T.tokensIndex + 1; Ae < g.length; Ae++)
650
+ for (let Ae = b.tokensIndex + 1; Ae < g.length; Ae++)
651
651
  g[Ae].value = "", g[Ae].output = "", delete g[Ae].suffix;
652
- h.output = T.output + me.output, h.backtrack = !0, O({ type: "paren", extglob: !0, value: p, output: "" }), Te("parens");
652
+ h.output = b.output + me.output, h.backtrack = !0, O({ type: "paren", extglob: !0, value: p, output: "" }), be("parens");
653
653
  return;
654
654
  }
655
- let G = T.close + (f.capture ? ")" : ""), Q;
656
- if (T.type === "negate") {
655
+ let G = b.close + (f.capture ? ")" : ""), Q;
656
+ if (b.type === "negate") {
657
657
  let K = F;
658
- if (T.inner && T.inner.length > 1 && T.inner.includes("/") && (K = J(f)), (K !== F || ue() || /^\)+$/.test(Se())) && (G = T.close = `)$))${K}`), T.inner.includes("*") && (Q = Se()) && /^\.[^\\/.]+$/.test(Q)) {
658
+ if (b.inner && b.inner.length > 1 && b.inner.includes("/") && (K = J(f)), (K !== F || ue() || /^\)+$/.test(Se())) && (G = b.close = `)$))${K}`), b.inner.includes("*") && (Q = Se()) && /^\.[^\\/.]+$/.test(Q)) {
659
659
  const me = k(Q, { ...R, fastpaths: !1 }).output;
660
- G = T.close = `)${me})${K})`;
660
+ G = b.close = `)${me})${K})`;
661
661
  }
662
- T.prev.type === "bos" && (h.negatedExtglob = !0);
662
+ b.prev.type === "bos" && (h.negatedExtglob = !0);
663
663
  }
664
- O({ type: "paren", extglob: !0, value: p, output: G }), Te("parens");
664
+ O({ type: "paren", extglob: !0, value: p, output: G }), be("parens");
665
665
  };
666
666
  if (f.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(y)) {
667
- let T = !1, Y = y.replace(o, (b, P, G, Q, K, me) => Q === "\\" ? (T = !0, b) : Q === "?" ? P ? P + Q + (K ? U.repeat(K.length) : "") : me === 0 ? $ + (K ? U.repeat(K.length) : "") : U.repeat(G.length) : Q === "." ? q.repeat(G.length) : Q === "*" ? P ? P + Q + (K ? F : "") : F : P ? b : `\\${b}`);
668
- return T === !0 && (f.unescape === !0 ? Y = Y.replace(/\\/g, "") : Y = Y.replace(/\\+/g, (b) => b.length % 2 === 0 ? "\\\\" : b ? "\\" : "")), Y === y && f.contains === !0 ? (h.output = y, h) : (h.output = t.wrapOutput(Y, h, R), h);
667
+ let b = !1, Y = y.replace(o, (T, P, G, Q, K, me) => Q === "\\" ? (b = !0, T) : Q === "?" ? P ? P + Q + (K ? U.repeat(K.length) : "") : me === 0 ? $ + (K ? U.repeat(K.length) : "") : U.repeat(G.length) : Q === "." ? q.repeat(G.length) : Q === "*" ? P ? P + Q + (K ? F : "") : F : P ? T : `\\${T}`);
668
+ return b === !0 && (f.unescape === !0 ? Y = Y.replace(/\\/g, "") : Y = Y.replace(/\\+/g, (T) => T.length % 2 === 0 ? "\\\\" : T ? "\\" : "")), Y === y && f.contains === !0 ? (h.output = y, h) : (h.output = t.wrapOutput(Y, h, R), h);
669
669
  }
670
670
  for (; !ue(); ) {
671
671
  if (p = V(), p === "\0")
672
672
  continue;
673
673
  if (p === "\\") {
674
- const b = D();
675
- if (b === "/" && f.bash !== !0 || b === "." || b === ";")
674
+ const T = D();
675
+ if (T === "/" && f.bash !== !0 || T === "." || T === ";")
676
676
  continue;
677
- if (!b) {
677
+ if (!T) {
678
678
  p += "\\", O({ type: "text", value: p });
679
679
  continue;
680
680
  }
@@ -687,8 +687,8 @@ function Ar() {
687
687
  }
688
688
  if (h.brackets > 0 && (p !== "]" || d.value === "[" || d.value === "[^")) {
689
689
  if (f.posix !== !1 && p === ":") {
690
- const b = d.value.slice(1);
691
- if (b.includes("[") && (d.posix = !0, b.includes(":"))) {
690
+ const T = d.value.slice(1);
691
+ if (T.includes("[") && (d.posix = !0, T.includes(":"))) {
692
692
  const P = d.value.lastIndexOf("["), G = d.value.slice(0, P), Q = d.value.slice(P + 2), K = r[Q];
693
693
  if (K) {
694
694
  d.value = G + K, h.backtrack = !0, V(), !A.output && g.indexOf(d) === 1 && (A.output = de);
@@ -696,11 +696,11 @@ function Ar() {
696
696
  }
697
697
  }
698
698
  }
699
- (p === "[" && D() !== ":" || p === "-" && D() === "]") && (p = `\\${p}`), p === "]" && (d.value === "[" || d.value === "[^") && (p = `\\${p}`), f.posix === !0 && p === "!" && d.value === "[" && (p = "^"), d.value += p, be({ value: p });
699
+ (p === "[" && D() !== ":" || p === "-" && D() === "]") && (p = `\\${p}`), p === "]" && (d.value === "[" || d.value === "[^") && (p = `\\${p}`), f.posix === !0 && p === "!" && d.value === "[" && (p = "^"), d.value += p, Te({ value: p });
700
700
  continue;
701
701
  }
702
702
  if (h.quotes === 1 && p !== '"') {
703
- p = t.escapeRegex(p), d.value += p, be({ value: p });
703
+ p = t.escapeRegex(p), d.value += p, Te({ value: p });
704
704
  continue;
705
705
  }
706
706
  if (p === '"') {
@@ -714,12 +714,12 @@ function Ar() {
714
714
  if (p === ")") {
715
715
  if (h.parens === 0 && f.strictBrackets === !0)
716
716
  throw new SyntaxError(l("opening", "("));
717
- const b = ae[ae.length - 1];
718
- if (b && h.parens === b.parens + 1) {
717
+ const T = ae[ae.length - 1];
718
+ if (T && h.parens === T.parens + 1) {
719
719
  dr(ae.pop());
720
720
  continue;
721
721
  }
722
- O({ type: "paren", value: p, output: h.parens ? ")" : "\\)" }), Te("parens");
722
+ O({ type: "paren", value: p, output: h.parens ? ")" : "\\)" }), be("parens");
723
723
  continue;
724
724
  }
725
725
  if (p === "[") {
@@ -743,9 +743,9 @@ function Ar() {
743
743
  O({ type: "text", value: p, output: `\\${p}` });
744
744
  continue;
745
745
  }
746
- Te("brackets");
747
- const b = d.value.slice(1);
748
- if (d.posix !== !0 && b[0] === "^" && !b.includes("/") && (p = `/${p}`), d.value += p, be({ value: p }), f.literalBrackets === !1 || t.hasRegexChars(b))
746
+ be("brackets");
747
+ const T = d.value.slice(1);
748
+ if (d.posix !== !0 && T[0] === "^" && !T.includes("/") && (p = `/${p}`), d.value += p, Te({ value: p }), f.literalBrackets === !1 || t.hasRegexChars(T))
749
749
  continue;
750
750
  const P = t.escapeRegex(d.value);
751
751
  if (h.output = h.output.slice(0, -d.value.length), f.literalBrackets === !0) {
@@ -757,36 +757,36 @@ function Ar() {
757
757
  }
758
758
  if (p === "{" && f.nobrace !== !0) {
759
759
  Je("braces");
760
- const b = {
760
+ const T = {
761
761
  type: "brace",
762
762
  value: p,
763
763
  output: "(",
764
764
  outputIndex: h.output.length,
765
765
  tokensIndex: h.tokens.length
766
766
  };
767
- z.push(b), O(b);
767
+ z.push(T), O(T);
768
768
  continue;
769
769
  }
770
770
  if (p === "}") {
771
- const b = z[z.length - 1];
772
- if (f.nobrace === !0 || !b) {
771
+ const T = z[z.length - 1];
772
+ if (f.nobrace === !0 || !T) {
773
773
  O({ type: "text", value: p, output: p });
774
774
  continue;
775
775
  }
776
776
  let P = ")";
777
- if (b.dots === !0) {
777
+ if (T.dots === !0) {
778
778
  const G = g.slice(), Q = [];
779
779
  for (let K = G.length - 1; K >= 0 && (g.pop(), G[K].type !== "brace"); K--)
780
780
  G[K].type !== "dots" && Q.unshift(G[K].value);
781
781
  P = s(Q, f), h.backtrack = !0;
782
782
  }
783
- if (b.comma !== !0 && b.dots !== !0) {
784
- const G = h.output.slice(0, b.outputIndex), Q = h.tokens.slice(b.tokensIndex);
785
- b.value = b.output = "\\{", p = P = "\\}", h.output = G;
783
+ if (T.comma !== !0 && T.dots !== !0) {
784
+ const G = h.output.slice(0, T.outputIndex), Q = h.tokens.slice(T.tokensIndex);
785
+ T.value = T.output = "\\{", p = P = "\\}", h.output = G;
786
786
  for (const K of Q)
787
787
  h.output += K.output || K.value;
788
788
  }
789
- O({ type: "brace", value: p, output: P }), Te("braces"), z.pop();
789
+ O({ type: "brace", value: p, output: P }), be("braces"), z.pop();
790
790
  continue;
791
791
  }
792
792
  if (p === "|") {
@@ -794,9 +794,9 @@ function Ar() {
794
794
  continue;
795
795
  }
796
796
  if (p === ",") {
797
- let b = p;
797
+ let T = p;
798
798
  const P = z[z.length - 1];
799
- P && X[X.length - 1] === "braces" && (P.comma = !0, b = "|"), O({ type: "comma", value: p, output: b });
799
+ P && X[X.length - 1] === "braces" && (P.comma = !0, T = "|"), O({ type: "comma", value: p, output: T });
800
800
  continue;
801
801
  }
802
802
  if (p === "/") {
@@ -810,8 +810,8 @@ function Ar() {
810
810
  if (p === ".") {
811
811
  if (h.braces > 0 && d.type === "dot") {
812
812
  d.value === "." && (d.output = q);
813
- const b = z[z.length - 1];
814
- d.type = "dots", d.output += p, d.value += p, b.dots = !0;
813
+ const T = z[z.length - 1];
814
+ d.type = "dots", d.output += p, d.value += p, T.dots = !0;
815
815
  continue;
816
816
  }
817
817
  if (h.braces + h.parens === 0 && d.type !== "bos" && d.type !== "slash") {
@@ -875,16 +875,16 @@ function Ar() {
875
875
  }
876
876
  if (p !== "*") {
877
877
  (p === "$" || p === "^") && (p = `\\${p}`);
878
- const b = i.exec(Se());
879
- b && (p += b[0], h.index += b[0].length), O({ type: "text", value: p });
878
+ const T = i.exec(Se());
879
+ T && (p += T[0], h.index += T[0].length), O({ type: "text", value: p });
880
880
  continue;
881
881
  }
882
882
  if (d && (d.type === "globstar" || d.star === !0)) {
883
883
  d.type = "star", d.star = !0, d.value += p, d.output = F, h.backtrack = !0, h.globstar = !0, fe(p);
884
884
  continue;
885
885
  }
886
- let T = Se();
887
- if (f.noextglob !== !0 && /^\([^?]/.test(T)) {
886
+ let b = Se();
887
+ if (f.noextglob !== !0 && /^\([^?]/.test(b)) {
888
888
  et("star", p);
889
889
  continue;
890
890
  }
@@ -893,36 +893,36 @@ function Ar() {
893
893
  fe(p);
894
894
  continue;
895
895
  }
896
- const b = d.prev, P = b.prev, G = b.type === "slash" || b.type === "bos", Q = P && (P.type === "star" || P.type === "globstar");
897
- if (f.bash === !0 && (!G || T[0] && T[0] !== "/")) {
896
+ const T = d.prev, P = T.prev, G = T.type === "slash" || T.type === "bos", Q = P && (P.type === "star" || P.type === "globstar");
897
+ if (f.bash === !0 && (!G || b[0] && b[0] !== "/")) {
898
898
  O({ type: "star", value: p, output: "" });
899
899
  continue;
900
900
  }
901
- const K = h.braces > 0 && (b.type === "comma" || b.type === "brace"), me = ae.length && (b.type === "pipe" || b.type === "paren");
902
- if (!G && b.type !== "paren" && !K && !me) {
901
+ const K = h.braces > 0 && (T.type === "comma" || T.type === "brace"), me = ae.length && (T.type === "pipe" || T.type === "paren");
902
+ if (!G && T.type !== "paren" && !K && !me) {
903
903
  O({ type: "star", value: p, output: "" });
904
904
  continue;
905
905
  }
906
- for (; T.slice(0, 3) === "/**"; ) {
906
+ for (; b.slice(0, 3) === "/**"; ) {
907
907
  const Ae = y[h.index + 4];
908
908
  if (Ae && Ae !== "/")
909
909
  break;
910
- T = T.slice(3), fe("/**", 3);
910
+ b = b.slice(3), fe("/**", 3);
911
911
  }
912
- if (b.type === "bos" && ue()) {
912
+ if (T.type === "bos" && ue()) {
913
913
  d.type = "globstar", d.value += p, d.output = J(f), h.output = d.output, h.globstar = !0, fe(p);
914
914
  continue;
915
915
  }
916
- if (b.type === "slash" && b.prev.type !== "bos" && !Q && ue()) {
917
- h.output = h.output.slice(0, -(b.output + d.output).length), b.output = `(?:${b.output}`, d.type = "globstar", d.output = J(f) + (f.strictSlashes ? ")" : "|$)"), d.value += p, h.globstar = !0, h.output += b.output + d.output, fe(p);
916
+ if (T.type === "slash" && T.prev.type !== "bos" && !Q && ue()) {
917
+ h.output = h.output.slice(0, -(T.output + d.output).length), T.output = `(?:${T.output}`, d.type = "globstar", d.output = J(f) + (f.strictSlashes ? ")" : "|$)"), d.value += p, h.globstar = !0, h.output += T.output + d.output, fe(p);
918
918
  continue;
919
919
  }
920
- if (b.type === "slash" && b.prev.type !== "bos" && T[0] === "/") {
921
- const Ae = T[1] !== void 0 ? "|$" : "";
922
- h.output = h.output.slice(0, -(b.output + d.output).length), b.output = `(?:${b.output}`, d.type = "globstar", d.output = `${J(f)}${se}|${se}${Ae})`, d.value += p, h.output += b.output + d.output, h.globstar = !0, fe(p + V()), O({ type: "slash", value: "/", output: "" });
920
+ if (T.type === "slash" && T.prev.type !== "bos" && b[0] === "/") {
921
+ const Ae = b[1] !== void 0 ? "|$" : "";
922
+ h.output = h.output.slice(0, -(T.output + d.output).length), T.output = `(?:${T.output}`, d.type = "globstar", d.output = `${J(f)}${se}|${se}${Ae})`, d.value += p, h.output += T.output + d.output, h.globstar = !0, fe(p + V()), O({ type: "slash", value: "/", output: "" });
923
923
  continue;
924
924
  }
925
- if (b.type === "bos" && T[0] === "/") {
925
+ if (T.type === "bos" && b[0] === "/") {
926
926
  d.type = "globstar", d.value += p, d.output = `(?:^|${se}|${J(f)}${se})`, h.output = d.output, h.globstar = !0, fe(p + V()), O({ type: "slash", value: "/", output: "" });
927
927
  continue;
928
928
  }
@@ -942,20 +942,20 @@ function Ar() {
942
942
  }
943
943
  for (; h.brackets > 0; ) {
944
944
  if (f.strictBrackets === !0) throw new SyntaxError(l("closing", "]"));
945
- h.output = t.escapeLast(h.output, "["), Te("brackets");
945
+ h.output = t.escapeLast(h.output, "["), be("brackets");
946
946
  }
947
947
  for (; h.parens > 0; ) {
948
948
  if (f.strictBrackets === !0) throw new SyntaxError(l("closing", ")"));
949
- h.output = t.escapeLast(h.output, "("), Te("parens");
949
+ h.output = t.escapeLast(h.output, "("), be("parens");
950
950
  }
951
951
  for (; h.braces > 0; ) {
952
952
  if (f.strictBrackets === !0) throw new SyntaxError(l("closing", "}"));
953
- h.output = t.escapeLast(h.output, "{"), Te("braces");
953
+ h.output = t.escapeLast(h.output, "{"), be("braces");
954
954
  }
955
955
  if (f.strictSlashes !== !0 && (d.type === "star" || d.type === "bracket") && O({ type: "maybe_slash", value: "", output: `${se}?` }), h.backtrack === !0) {
956
956
  h.output = "";
957
- for (const T of h.tokens)
958
- h.output += T.output != null ? T.output : T.value, T.suffix && (h.output += T.suffix);
957
+ for (const b of h.tokens)
958
+ h.output += b.output != null ? b.output : b.value, b.suffix && (h.output += b.suffix);
959
959
  }
960
960
  return h;
961
961
  };
@@ -1080,11 +1080,11 @@ function Sr() {
1080
1080
  return Object.assign(n, e), xt = n, xt;
1081
1081
  }
1082
1082
  var Er = /* @__PURE__ */ Sr();
1083
- const Cr = /* @__PURE__ */ hr(Er), br = typeof window < "u" || typeof process > "u" || process?.platform === "browser", Tr = br ? {} : process.env || {};
1083
+ const Cr = /* @__PURE__ */ hr(Er), Tr = typeof window < "u" || typeof process > "u" || process?.platform === "browser", br = Tr ? {} : process.env || {};
1084
1084
  async function vr(e, t) {
1085
1085
  const n = {};
1086
1086
  for (const i of t.headers)
1087
- Rr(e, i.matches) && (n[i.name] = i.envVariable !== void 0 ? Tr[i.envVariable] || "" : i.value);
1087
+ Rr(e, i.matches) && (n[i.name] = i.envVariable !== void 0 ? br[i.envVariable] || "" : i.value);
1088
1088
  const r = await (t.customFetch || fetch)(e, {
1089
1089
  headers: n
1090
1090
  });
@@ -1218,13 +1218,13 @@ function Ea(e) {
1218
1218
  function Ca(e, t) {
1219
1219
  return Ne(e) ? new URL(t, e.endsWith("/") ? e : `${e}/`).href : Ve.resolve(e, t);
1220
1220
  }
1221
- function ba(e) {
1221
+ function Ta(e) {
1222
1222
  return typeof e == "string" && (e.startsWith("#") || Ne(e) || e.startsWith("./") || e.startsWith("../") || e.indexOf("/") > -1 || /\.(ya?ml|json)$/i.test(e));
1223
1223
  }
1224
1224
  function $r(e) {
1225
1225
  return /^#[A-Za-z][A-Za-z0-9\-_:.]*$/.test(e);
1226
1226
  }
1227
- function Ta(e, t, n) {
1227
+ function ba(e, t, n) {
1228
1228
  if (!Re(t.node) && n.parent) {
1229
1229
  n.parent[n.key] = t.node;
1230
1230
  return;
@@ -1568,14 +1568,14 @@ var Bn = ee("tag:yaml.org,2002:binary", {
1568
1568
  resolve: Si,
1569
1569
  identify: (e) => Object.prototype.toString.call(e) === "[object Uint8Array]",
1570
1570
  represent: Ei
1571
- }), Ci = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), bi = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
1571
+ }), Ci = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), Ti = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
1572
1572
  function mn(e, t, n, r = 0, i = 0, o = 0, a = 0) {
1573
1573
  const s = new Date(Date.UTC(e, t, n, r, i, o, a));
1574
1574
  return s.setUTCFullYear(e, t, n), s;
1575
1575
  }
1576
- function Ti(e) {
1576
+ function bi(e) {
1577
1577
  let t = Ci.exec(e);
1578
- if (t === null && (t = bi.exec(e)), t === null) return H;
1578
+ if (t === null && (t = Ti.exec(e)), t === null) return H;
1579
1579
  const n = +t[1], r = +t[2] - 1, i = +t[3];
1580
1580
  if (!t[4]) {
1581
1581
  const c = mn(n, r, i);
@@ -1602,7 +1602,7 @@ function Ti(e) {
1602
1602
  var vi = ee("tag:yaml.org,2002:timestamp", {
1603
1603
  implicit: !0,
1604
1604
  implicitFirstChars: [..."0123456789"],
1605
- resolve: Ti,
1605
+ resolve: bi,
1606
1606
  identify: (e) => e instanceof Date,
1607
1607
  represent: (e) => e.toISOString()
1608
1608
  }), Ri = Zt("tag:yaml.org,2002:seq", {
@@ -2188,7 +2188,7 @@ function Cn(e, t, n, r, i, o) {
2188
2188
  function zn(e) {
2189
2189
  return e.nodeKind === "mapping";
2190
2190
  }
2191
- function bn(e, t, n, r) {
2191
+ function Tn(e, t, n, r) {
2192
2192
  for (const i of r.keys(n)) {
2193
2193
  if (e.maxTotalMergeKeys !== -1 && ++e.totalMergeKeys > e.maxTotalMergeKeys && oe(e, `merge keys exceeded maxTotalMergeKeys (${e.maxTotalMergeKeys})`), t.tag.has(t.value, i)) continue;
2194
2194
  const o = t.tag.addPair(t.value, i, r.get(n, i));
@@ -2196,8 +2196,8 @@ function bn(e, t, n, r) {
2196
2196
  }
2197
2197
  }
2198
2198
  function Yi(e, t, n, r) {
2199
- if (e.position = t.keyPosition, zn(r)) bn(e, t, n, r);
2200
- else if (r.nodeKind === "sequence" && Array.isArray(n)) for (const i of n) bn(e, t, i, t.tag);
2199
+ if (e.position = t.keyPosition, zn(r)) Tn(e, t, n, r);
2200
+ else if (r.nodeKind === "sequence" && Array.isArray(n)) for (const i of n) Tn(e, t, i, t.tag);
2201
2201
  else oe(e, "cannot merge mappings; the provided source object is unacceptable");
2202
2202
  }
2203
2203
  function Wi(e, t, n, r, i) {
@@ -2347,7 +2347,7 @@ function Bt(e, t, n, r, i, o, a) {
2347
2347
  style: a
2348
2348
  });
2349
2349
  }
2350
- function Tn(e, t) {
2350
+ function bn(e, t) {
2351
2351
  e.events.splice(t.eventsLength, 0, {
2352
2352
  type: 3,
2353
2353
  start: t.position,
@@ -2649,7 +2649,7 @@ function ho(e, t, n) {
2649
2649
  let u = !1, c = !1;
2650
2650
  l === 63 && pe(e.input.charCodeAt(e.position + 1)) && (u = c = !0, e.position += 1, Ge(e, t));
2651
2651
  const S = e.line, m = We(e), C = ke(e, t, Ue, !1, !0);
2652
- Ge(e, t), l = e.input.charCodeAt(e.position), (i || c || e.line === S) && l === 58 ? (u = !0, e.position++, Ge(e, t), i || Tn(e, m), C || re(e), ke(e, t, Ue, !1, !0) || re(e), Ge(e, t), i || Me(e)) : i && u ? (C || re(e), re(e)) : i ? re(e) : u && (Tn(e, m), C || re(e), re(e), Me(e)), l = e.input.charCodeAt(e.position), l === 44 ? (a = !0, e.position++) : a = !1;
2652
+ Ge(e, t), l = e.input.charCodeAt(e.position), (i || c || e.line === S) && l === 58 ? (u = !0, e.position++, Ge(e, t), i || bn(e, m), C || re(e), ke(e, t, Ue, !1, !0) || re(e), Ge(e, t), i || Me(e)) : i && u ? (C || re(e), re(e)) : i ? re(e) : u && (bn(e, m), C || re(e), re(e), Me(e)), l = e.input.charCodeAt(e.position), l === 44 ? (a = !0, e.position++) : a = !1;
2653
2653
  }
2654
2654
  _(e, "unexpected end of the stream within a flow collection");
2655
2655
  }
@@ -2857,7 +2857,7 @@ function Co(e) {
2857
2857
  }))
2858
2858
  ];
2859
2859
  }
2860
- function bo(e, t) {
2860
+ function To(e, t) {
2861
2861
  for (let n = 0, r = e.representTypes.length; n < r; n += 1) {
2862
2862
  const { tag: i, implicitTag: o } = e.representTypes[n];
2863
2863
  if (i.identify && i.identify(t)) {
@@ -2882,7 +2882,7 @@ function Ye(e, t) {
2882
2882
  anchor: c.anchor
2883
2883
  };
2884
2884
  }
2885
- const n = bo(e, t);
2885
+ const n = To(e, t);
2886
2886
  if (!n) {
2887
2887
  if (t === void 0 || e.skipInvalid) return Ie;
2888
2888
  throw new yt(`unacceptable kind of an object to dump ${Object.prototype.toString.call(t)}`);
@@ -2933,7 +2933,7 @@ function Ye(e, t) {
2933
2933
  }
2934
2934
  return u;
2935
2935
  }
2936
- function To(e, t, n = {}) {
2936
+ function bo(e, t, n = {}) {
2937
2937
  const r = Ye({
2938
2938
  representTypes: Co(t),
2939
2939
  noRefs: n.noRefs ?? !1,
@@ -3408,7 +3408,7 @@ function oa(e, t = {}) {
3408
3408
  const n = {
3409
3409
  ...ia,
3410
3410
  ...t
3411
- }, r = To(e, n.schema, {
3411
+ }, r = bo(e, n.schema, {
3412
3412
  noRefs: n.noRefs,
3413
3413
  skipInvalid: n.skipInvalid
3414
3414
  });
@@ -3697,21 +3697,21 @@ export {
3697
3697
  ya as D,
3698
3698
  Sa as E,
3699
3699
  Nr as F,
3700
- Tr as G,
3700
+ br as G,
3701
3701
  ct as L,
3702
3702
  cn as R,
3703
3703
  zt as S,
3704
3704
  Et as Y,
3705
- Ne as a,
3706
- br as b,
3707
- fr as c,
3708
- ba as d,
3705
+ _a as a,
3706
+ Ne as b,
3707
+ Tr as c,
3708
+ fr as d,
3709
3709
  Fe as e,
3710
- ua as f,
3710
+ Ta as f,
3711
3711
  Ea as g,
3712
- gr as h,
3712
+ ua as h,
3713
3713
  at as i,
3714
- vr as j,
3714
+ gr as j,
3715
3715
  Ca as k,
3716
3716
  ga as l,
3717
3717
  Ra as m,
@@ -3719,13 +3719,13 @@ export {
3719
3719
  ma as o,
3720
3720
  ur as p,
3721
3721
  ve as q,
3722
- _a as r,
3722
+ vr as r,
3723
3723
  va as s,
3724
3724
  Ir as t,
3725
3725
  wr as u,
3726
3726
  ca as v,
3727
3727
  it as w,
3728
3728
  ot as x,
3729
- Ta as y,
3729
+ ba as y,
3730
3730
  xr as z
3731
3731
  };