@redocly/replay 0.29.0-next.1 → 0.29.0-next.3

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 (59) hide show
  1. package/dist/{replay-AiChatProvider-Z_799APd.js → replay-AiChatProvider-Bnz0LDFD.js} +52 -52
  2. package/dist/{replay-AiChatProvider-B1_-wlJK.js → replay-AiChatProvider-C5p3nTV1.js} +1 -1
  3. package/dist/{replay-AiChatSqliteDBStorage-C_-_P0T7.js → replay-AiChatSqliteDBStorage-DYxoSZak.js} +1 -1
  4. package/dist/{replay-AiChatSqliteDBStorage-B9waB0dA.js → replay-AiChatSqliteDBStorage-Dfbp6Mt_.js} +1 -1
  5. package/dist/{replay-AiPanel-IRetnmbM.js → replay-AiPanel-BSg5Bap4.js} +1 -1
  6. package/dist/{replay-AiPanel-DvSoNrnz.js → replay-AiPanel-C0E1A47H.js} +4 -4
  7. package/dist/{replay-FileWatcher-CUqV5dPp.js → replay-FileWatcher-Ba9Ob_Sy.js} +1 -1
  8. package/dist/{replay-FileWatcher-CZZXT8GC.js → replay-FileWatcher-BiAGOR1Z.js} +2 -2
  9. package/dist/{replay-SemanticSearchService-BzE8FK8a.js → replay-SemanticSearchService-IInvoSoP.js} +1 -1
  10. package/dist/{replay-SemanticSearchService-B8R-ATMA.js → replay-SemanticSearchService-sIjG5Wxe.js} +20 -20
  11. package/dist/{replay-SqliteDBStorage-CPOEQnSp.js → replay-SqliteDBStorage-C-ovuJna.js} +1 -1
  12. package/dist/{replay-SqliteDBStorage-DVQZek3n.js → replay-SqliteDBStorage-DMoeVRXU.js} +1 -1
  13. package/dist/{replay-TauriFileSystemAdapter-BfE1TXkK.js → replay-TauriFileSystemAdapter-CB9S1PNT.js} +1 -1
  14. package/dist/{replay-TauriFileSystemAdapter-Zb6LTS_-.js → replay-TauriFileSystemAdapter-DDo2h7gX.js} +1 -1
  15. package/dist/{replay-TauriRootStorage-BY7MGWGe.js → replay-TauriRootStorage-BX-XrEN-.js} +1 -1
  16. package/dist/{replay-TauriRootStorage-CUGppZsY.js → replay-TauriRootStorage-CR1PyBgZ.js} +12 -12
  17. package/dist/{replay-agent-loop-BxPUGZq1.js → replay-agent-loop-4YtdgkDh.js} +5 -5
  18. package/dist/{replay-agent-loop-BB-UIrKo.js → replay-agent-loop-BmoYEhOB.js} +1 -1
  19. package/dist/{replay-ai-chat-mappers-C4L8p2zl.js → replay-ai-chat-mappers-42FEVsfw.js} +1 -1
  20. package/dist/{replay-ai-chat-mappers-DAyPOhQn.js → replay-ai-chat-mappers-CgjhiNr7.js} +1 -1
  21. package/dist/{replay-create-model-BnoDQ7OX.js → replay-create-model-4Yknbfme.js} +3 -3
  22. package/dist/{replay-create-model-ebcSRl3r.js → replay-create-model-kF4veQPK.js} +4 -4
  23. package/dist/{replay-db-og5UtVrp.js → replay-db-B3tQE-B9.js} +6 -6
  24. package/dist/{replay-db-xD_5VGuR.js → replay-db-_hwn1n5t.js} +1 -1
  25. package/dist/{replay-external-resolver-DtqY6Ddl.js → replay-external-resolver-DS7qAi0G.js} +2 -2
  26. package/dist/{replay-external-resolver-1bxcPBye.js → replay-external-resolver-DX5JrdGB.js} +1 -1
  27. package/dist/replay-index-BDRC1QoR.js +7199 -0
  28. package/dist/{replay-index-wPsTqXSf.js → replay-index-BYEUJTGe.js} +1 -1
  29. package/dist/{replay-index-PEthMsJx.js → replay-index-Bwbd4CsO.js} +31 -31
  30. package/dist/replay-index-CHdCQ_zw.js +4 -0
  31. package/dist/{replay-index-rbCwID24.js → replay-index-CtxNTrRQ.js} +1 -1
  32. package/dist/{replay-index-Clfun2IN.js → replay-index-DD1leCQo.js} +1 -1
  33. package/dist/{replay-index-C33Z16Rm.js → replay-index-KN9FLfwz.js} +54006 -39937
  34. package/dist/{replay-index-C7MCjO6i.js → replay-index-r6bsSAe6.js} +1 -1
  35. package/dist/replay-lint-BvndGL38.js +121 -0
  36. package/dist/replay-lint-C3ireP5A.js +22803 -0
  37. package/dist/replay-lint-graphql-CK8-ZL5Q.js +1 -0
  38. package/dist/replay-lint-graphql-DKP9oX8y.js +99 -0
  39. package/dist/{replay-periodic-revalidation-KHXYhF4T.js → replay-periodic-revalidation-BcWBqn6g.js} +1 -1
  40. package/dist/{replay-periodic-revalidation-Cuzq23M8.js → replay-periodic-revalidation-chHSyw20.js} +1 -1
  41. package/dist/{replay-resolve-C2l91lf8.js → replay-resolve-B1Kvf3fM.js} +1 -1
  42. package/dist/{replay-resolve-C0VBozxM.js → replay-resolve-DC-rmKvK.js} +1 -1
  43. package/dist/{replay-respect-run-BN4jlLVY.js → replay-respect-run-C24QylJ-.js} +1 -1
  44. package/dist/{replay-respect-run-B25T_yI0.js → replay-respect-run-DDZ9eF0k.js} +3 -3
  45. package/dist/{replay-tauri-path-DpnuyiYr.js → replay-tauri-path-Bz_q3KUG.js} +2 -2
  46. package/dist/{replay-tauri-path-9tVlry3g.js → replay-tauri-path-DBSmio5_.js} +1 -1
  47. package/dist/{replay-useAiChatQueries-Bi_6G8WU.js → replay-useAiChatQueries-C_GZ_b68.js} +1 -1
  48. package/dist/{replay-useAiChatQueries-DLSFwWvn.js → replay-useAiChatQueries-DQks2tVS.js} +4 -4
  49. package/dist/{replay-validate-key-BQB45O00.js → replay-validate-key-DScTTPU4.js} +1 -1
  50. package/dist/{replay-validate-key-DnQefCz3.js → replay-validate-key-c2nCLxiG.js} +2 -2
  51. package/dist/replay.cjs +1 -1
  52. package/dist/replay.js +11 -11
  53. package/package.json +5 -2
  54. package/dist/replay-index-LcDbGH39.js +0 -7026
  55. package/dist/replay-index-_srgnXqd.js +0 -4
  56. package/dist/replay-lint-CVXT7IME.js +0 -30232
  57. package/dist/replay-lint-fhGv2lgR.js +0 -177
  58. package/dist/replay-lint-graphql-BhMbXKkF.js +0 -1956
  59. package/dist/replay-lint-graphql-DtQhF_PM.js +0 -3
@@ -1,4 +1,4 @@
1
- import { i } from "./replay-index-C33Z16Rm.js";
1
+ import { i } from "./replay-index-KN9FLfwz.js";
2
2
  async function l(t = {}) {
3
3
  return typeof t == "object" && Object.freeze(t), await i("plugin:dialog|open", { options: t });
4
4
  }
@@ -1,10 +1,10 @@
1
- import { _ as x, $ as f } from "./replay-index-C33Z16Rm.js";
2
- import { k as I, l as T, m as z, t as P, A as L, S as V, N as $, n as M, w as U, J as Y, o as G, p as b, q as D } from "./replay-lint-CVXT7IME.js";
3
- import { r as he, s as ue, u as Ee, x as ve, C as Se, y as xe, z as Te, B as be, E as Oe, F as _e, H as Re, I as Ne, M as Ie, P as Pe, Q as De, R as ke, U as Ce, V as je, W as we, X as Fe, Y as ze, Z as Le, _ as Ve, $ as $e, a0 as Me, a1 as Ue, a2 as Ye, a3 as Ge, a4 as Be, a5 as Je, a6 as Ke, a7 as We, a8 as He, a9 as qe, aa as Xe, ab as Qe, ac as Ze, ad as Ae, ae as es, af as ss, ag as ts, ah as ns, ai as as, aj as os, ak as rs, al as is, am as ls, an as cs, ao as ps, ae as ys, ap as fs } from "./replay-lint-CVXT7IME.js";
4
- import { i as B, B as E, n as J, a as K, m as k } from "./replay-resolve-C0VBozxM.js";
5
- import { R as ds, S as gs, Y as hs, e as us, g as Es, b as vs, c as Ss, d as xs, f as Ts, h as bs, j as Os, p as _s, r as Rs, k as Ns, s as Is, u as Ps } from "./replay-resolve-C0VBozxM.js";
1
+ import { a4 as T, a5 as f } from "./replay-index-KN9FLfwz.js";
2
+ import { a as I, g as x, d as L, t as P, A as z, S as V, N as $, n as G, w as M, J as U, L as Y, c as b, l as D } from "./replay-lint-C3ireP5A.js";
3
+ import { b as he, e as ue, f as Ee, h as ve, C as Se, j as Te, k as xe, m as be, o as Oe, D as _e, p as Re, I as Ne, q as Ie, O as Pe, r as De, s as ke, u as Ce, v as je, x as we, P as Fe, y as Le, z as ze, B as Ve, E as $e, F as Ge, G as Me, H as Ue, K as Ye, M as Be, Q as Ke, R as Je, T as We, U as He, V as qe, W as Xe, X as Qe, Y as Ze, Z as Ae, _ as es, $ as ss, a0 as ts, a1 as ns, a2 as as, a3 as os, a4 as rs, a5 as is, a6 as ls, a7 as cs, a8 as ps, _ as ys, a9 as fs } from "./replay-lint-C3ireP5A.js";
4
+ import { i as B, B as E, n as K, a as J, m as k } from "./replay-resolve-DC-rmKvK.js";
5
+ import { R as ds, S as gs, Y as hs, e as us, g as Es, b as vs, c as Ss, d as Ts, f as xs, h as bs, j as Os, p as _s, r as Rs, k as Ns, s as Is, u as Ps } from "./replay-resolve-DC-rmKvK.js";
6
6
  function re(e) {
7
- return (x.extname(e) === ".yaml" || x.extname(e) === ".yml") && !1;
7
+ return (T.extname(e) === ".yaml" || T.extname(e) === ".yml") && !1;
8
8
  }
9
9
  function ie(e) {
10
10
  return f(e) && !I(e);
@@ -14,7 +14,7 @@ async function le(e) {
14
14
  }
15
15
  const v = "type", O = ["api-description", "api-operation", "data-schema"];
16
16
  function W(e, s) {
17
- const { ctx: t } = T("EntityFileDefault", s), { ctx: a, discriminatorResolver: n } = T("EntityFile", e);
17
+ const { ctx: t } = x("EntityFileDefault", s), { ctx: a, discriminatorResolver: n } = x("EntityFile", e);
18
18
  return {
19
19
  entityTypes: {
20
20
  ...t,
@@ -324,7 +324,7 @@ function Z(e, s, t) {
324
324
  const o = n[e];
325
325
  try {
326
326
  const l = JSON.parse(s);
327
- if (z(o, l))
327
+ if (L(o, l))
328
328
  return o;
329
329
  } catch {
330
330
  return null;
@@ -362,7 +362,7 @@ async function se(e) {
362
362
  problems: [],
363
363
  specVersion: "entity",
364
364
  visitorsData: {}
365
- }, { entityTypes: r, discriminatorResolver: m } = W(t, a), p = J(r);
365
+ }, { entityTypes: r, discriminatorResolver: m } = W(t, a), p = K(r);
366
366
  let y = p.Entity;
367
367
  if (Array.isArray(s.parsed))
368
368
  y = p.EntityFileArray;
@@ -375,7 +375,7 @@ async function se(e) {
375
375
  u && typeof u == "string" && p[u] && (y = p[u]);
376
376
  }
377
377
  }
378
- const g = L(l), d = Array.isArray(g) ? g.map((h) => ({
378
+ const g = z(l), d = Array.isArray(g) ? g.map((h) => ({
379
379
  severity: n || "error",
380
380
  ruleId: "entity assertions",
381
381
  visitor: h
@@ -402,12 +402,12 @@ async function se(e) {
402
402
  visitor: q()
403
403
  },
404
404
  ...d
405
- ], w = M(j, p), F = await K({
405
+ ], w = G(j, p), F = await J({
406
406
  rootDocument: s,
407
407
  rootType: y,
408
408
  externalRefResolver: o
409
409
  });
410
- return U({
410
+ return M({
411
411
  document: s,
412
412
  rootType: y,
413
413
  normalizedVisitors: w,
@@ -420,8 +420,8 @@ async function fe(e, s, t) {
420
420
  throw new Error(`Scorecard level "${s.name}" has no rules defined.`);
421
421
  const a = new E(), n = k(JSON.stringify(e, null, 2), "entity"), o = n.parsed[v], l = X(o || "unknown", s.rules), { entityRules: c, apiRules: r } = Q(l), m = await se({
422
422
  document: n,
423
- entitySchema: Y,
424
- entityDefaultSchema: G,
423
+ entitySchema: U,
424
+ entityDefaultSchema: Y,
425
425
  externalRefResolver: a,
426
426
  assertionConfig: c
427
427
  });
@@ -487,8 +487,8 @@ export {
487
487
  ve as AsyncApi3Types,
488
488
  E as BaseResolver,
489
489
  Se as CONFIG_BUNDLER_VISITOR_ID,
490
- xe as CONFIG_FILE_NAME,
491
- Te as Config,
490
+ Te as CONFIG_FILE_NAME,
491
+ xe as Config,
492
492
  be as ConfigTypes,
493
493
  Oe as ConfigValidationError,
494
494
  _e as DEFAULT_CONFIG,
@@ -509,23 +509,23 @@ export {
509
509
  ye as StatsAsync3,
510
510
  ce as StatsOAS,
511
511
  hs as YamlParseError,
512
- ze as bundle,
513
- Le as bundleDocument,
512
+ Le as bundle,
513
+ ze as bundleDocument,
514
514
  Ve as bundleFromString,
515
515
  $e as clearPluginsCache,
516
516
  b as createConfig,
517
- Me as createConfigTypes,
517
+ Ge as createConfigTypes,
518
518
  W as createEntityTypes,
519
- z as dequal,
520
- Ue as detectSpec,
519
+ L as dequal,
520
+ Me as detectSpec,
521
521
  re as doesYamlFileExist,
522
522
  us as escapePointerFragment,
523
- Ye as findConfig,
524
- Ge as formatProblems,
523
+ Ue as findConfig,
524
+ Ye as formatProblems,
525
525
  Be as getAstNodeByPointer,
526
- Je as getCodeframe,
526
+ Ke as getCodeframe,
527
527
  Es as getDir,
528
- Ke as getLineColLocation,
528
+ Je as getLineColLocation,
529
529
  We as getMajorSpecVersion,
530
530
  He as getPluginCacheVersion,
531
531
  qe as getTotals,
@@ -533,8 +533,8 @@ export {
533
533
  vs as isAbsoluteUrl,
534
534
  Ss as isBrowser,
535
535
  I as isEmptyObject,
536
- xs as isGraphqlRef,
537
- Ts as isMappingRef,
536
+ Ts as isGraphqlRef,
537
+ xs as isMappingRef,
538
538
  Qe as isNotEmptyArray,
539
539
  ie as isNotEmptyObject,
540
540
  f as isPlainObject,
@@ -555,20 +555,20 @@ export {
555
555
  os as logger,
556
556
  k as makeDocumentFromString,
557
557
  rs as mapTypeToComponent,
558
- J as normalizeTypes,
559
- M as normalizeVisitors,
558
+ K as normalizeTypes,
559
+ G as normalizeVisitors,
560
560
  _s as parseYaml,
561
561
  le as pause,
562
562
  is as pluralize,
563
563
  Rs as readFileFromUrl,
564
564
  ls as regexFromString,
565
- K as resolveDocument,
565
+ J as resolveDocument,
566
566
  Ns as resolvePath,
567
567
  cs as resolvePlugins,
568
568
  ps as slash,
569
569
  Is as stringifyYaml,
570
570
  Ps as unescapePointerFragment,
571
571
  ys as validate,
572
- U as walkDocument,
572
+ M as walkDocument,
573
573
  fs as xmlEscape
574
574
  };
@@ -0,0 +1,4 @@
1
+ import { g as r } from "./replay-SemanticSearchService-sIjG5Wxe.js";
2
+ export {
3
+ r as getSemanticSearchService
4
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-SemanticSearchService-BzE8FK8a.js");exports.getSemanticSearchService=e.getSemanticSearchService;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-SemanticSearchService-IInvoSoP.js");exports.getSemanticSearchService=e.getSemanticSearchService;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-LcDbGH39.js");async function a(t={}){return typeof t=="object"&&Object.freeze(t),await i.invoke("plugin:dialog|open",{options:t})}async function o(t={}){return typeof t=="object"&&Object.freeze(t),await i.invoke("plugin:dialog|save",{options:t})}async function l(t,n){const e=typeof n=="string"?{title:n}:n;await i.invoke("plugin:dialog|message",{message:t.toString(),title:e?.title?.toString(),kind:e?.kind,okButtonLabel:e?.okLabel?.toString()})}async function r(t,n){const e=typeof n=="string"?{title:n}:n;return await i.invoke("plugin:dialog|ask",{message:t.toString(),title:e?.title?.toString(),kind:e?.kind,okButtonLabel:e?.okLabel?.toString()??"Yes",cancelButtonLabel:e?.cancelLabel?.toString()??"No"})}async function c(t,n){const e=typeof n=="string"?{title:n}:n;return await i.invoke("plugin:dialog|confirm",{message:t.toString(),title:e?.title?.toString(),kind:e?.kind,okButtonLabel:e?.okLabel?.toString()??"Ok",cancelButtonLabel:e?.cancelLabel?.toString()??"Cancel"})}exports.ask=r;exports.confirm=c;exports.message=l;exports.open=a;exports.save=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-BDRC1QoR.js");async function a(t={}){return typeof t=="object"&&Object.freeze(t),await i.invoke("plugin:dialog|open",{options:t})}async function o(t={}){return typeof t=="object"&&Object.freeze(t),await i.invoke("plugin:dialog|save",{options:t})}async function l(t,n){const e=typeof n=="string"?{title:n}:n;await i.invoke("plugin:dialog|message",{message:t.toString(),title:e?.title?.toString(),kind:e?.kind,okButtonLabel:e?.okLabel?.toString()})}async function r(t,n){const e=typeof n=="string"?{title:n}:n;return await i.invoke("plugin:dialog|ask",{message:t.toString(),title:e?.title?.toString(),kind:e?.kind,okButtonLabel:e?.okLabel?.toString()??"Yes",cancelButtonLabel:e?.cancelLabel?.toString()??"No"})}async function c(t,n){const e=typeof n=="string"?{title:n}:n;return await i.invoke("plugin:dialog|confirm",{message:t.toString(),title:e?.title?.toString(),kind:e?.kind,okButtonLabel:e?.okLabel?.toString()??"Ok",cancelButtonLabel:e?.cancelLabel?.toString()??"Cancel"})}exports.ask=r;exports.confirm=c;exports.message=l;exports.open=a;exports.save=o;