@redocly/replay 0.31.0-next.2 → 0.31.0-next.4

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 (69) hide show
  1. package/dist/{replay-AiChatProvider-DjBIi4iu.js → replay-AiChatProvider-DmFb_KEh.js} +6 -6
  2. package/dist/{replay-AiChatSqliteDBStorage-CMSrNBXz.js → replay-AiChatSqliteDBStorage-DPCC1JxA.js} +1 -1
  3. package/dist/{replay-AiPanel-BK5c-bQK.js → replay-AiPanel-Duce6bPI.js} +4 -4
  4. package/dist/{replay-FileWatcher-BxvusOjP.js → replay-FileWatcher-CuDTvKR_.js} +2 -2
  5. package/dist/{replay-SemanticSearchService-3nxvH7Ix.js → replay-SemanticSearchService-UD-ISya0.js} +1 -1
  6. package/dist/{replay-SqliteDBStorage-BJmqtXPy.js → replay-SqliteDBStorage-yz16M_Mv.js} +1 -1
  7. package/dist/{replay-TauriFileSystemAdapter-CKf9uXGP.js → replay-TauriFileSystemAdapter-D6ELx87H.js} +1 -1
  8. package/dist/{replay-TauriRootStorage-DjR_EUVg.js → replay-TauriRootStorage-BBtrm1uU.js} +2 -2
  9. package/dist/{replay-agent-loop-BTcXVSCt.js → replay-agent-loop-X-3QP3_I.js} +3 -3
  10. package/dist/{replay-ai-chat-mappers-KtXQOdGR.js → replay-ai-chat-mappers-Cn5M5bfQ.js} +1 -1
  11. package/dist/{replay-create-model-Dzr8TK3k.js → replay-create-model-I01u52en.js} +3 -3
  12. package/dist/{replay-db-11JXbumI.js → replay-db-_AqPojpS.js} +1 -1
  13. package/dist/{replay-external-resolver-BR3KIAcq.js → replay-external-resolver-B9jDVIjA.js} +2 -2
  14. package/dist/{replay-index-BwrOSCt8.js → replay-index-5x470UiG.js} +1 -1
  15. package/dist/replay-index-BW65Uxno.js +4 -0
  16. package/dist/{replay-index-Bak623wY.js → replay-index-Bd6nBD-g.js} +16123 -16059
  17. package/dist/{replay-index-D0Dfspd0.js → replay-index-CryjpI5N.js} +71 -72
  18. package/dist/{replay-index-R2pFjLz4.js → replay-index-NeiVLZKP.js} +1 -1
  19. package/dist/{replay-index-DVtdOhu4.js → replay-index-vq6dCDYU.js} +1 -1
  20. package/dist/{replay-lint-AbXepAzq.js → replay-lint-Bag9E2VE.js} +3503 -3488
  21. package/dist/{replay-lint-graphql-z1NtC_tE.js → replay-lint-graphql-Dy_zzWSu.js} +2 -2
  22. package/dist/{replay-periodic-revalidation-hWick4SS.js → replay-periodic-revalidation-ZF9THDF0.js} +1 -1
  23. package/dist/{replay-resolve-DmLc7a7b.js → replay-resolve-C-3GwDKX.js} +1 -1
  24. package/dist/{replay-respect-run-BSC_xcVi.js → replay-respect-run-CGAeb4ct.js} +1847 -1793
  25. package/dist/{replay-tauri-path-Bmmc7z1G.js → replay-tauri-path-JPWbAoK0.js} +2 -2
  26. package/dist/{replay-useAiChatQueries-CSI2B20o.js → replay-useAiChatQueries-B8RKvZ6W.js} +4 -4
  27. package/dist/{replay-validate-key-RooKYyug.js → replay-validate-key-BA81wxhp.js} +2 -2
  28. package/dist/replay.js +1 -1
  29. package/package.json +6 -7
  30. package/dist/oauth2-redirect.cjs +0 -1
  31. package/dist/replay-AiChatProvider-CVQww6zg.js +0 -6
  32. package/dist/replay-AiChatSqliteDBStorage-DHJyKhOB.js +0 -1
  33. package/dist/replay-AiPanel-CNFaMGNW.js +0 -741
  34. package/dist/replay-FileWatcher-VuZt1oO4.js +0 -1
  35. package/dist/replay-HistorySqliteDBStorage-BrILW8Fu.js +0 -1
  36. package/dist/replay-Observable-bjJ6wkRB.js +0 -1
  37. package/dist/replay-SemanticSearchService-D9NqFINo.js +0 -1
  38. package/dist/replay-SqliteDBStorage-H0gJlaR0.js +0 -14
  39. package/dist/replay-StepContextSqliteDBStorage-BSepLyBI.js +0 -1
  40. package/dist/replay-TauriFileSystemAdapter-BrdVsL6a.js +0 -1
  41. package/dist/replay-TauriRootStorage-Cpehhk3Q.js +0 -1
  42. package/dist/replay-agent-loop-z2tqFAcU.js +0 -1
  43. package/dist/replay-ai-chat-mappers-CppLIk_4.js +0 -1
  44. package/dist/replay-ai-message-parts.schema-BBdjwldJ.js +0 -1
  45. package/dist/replay-create-model-B_szF68H.js +0 -104
  46. package/dist/replay-db-DqtoD_4j.js +0 -64
  47. package/dist/replay-defaults-DVvOnvnR.js +0 -27
  48. package/dist/replay-external-resolver-Blqam22C.js +0 -2
  49. package/dist/replay-history.schema-miM3Etuf.js +0 -1
  50. package/dist/replay-index-B4gF78w9.js +0 -1
  51. package/dist/replay-index-BcfA8tD1.js +0 -1
  52. package/dist/replay-index-BpeuNZRx.js +0 -7431
  53. package/dist/replay-index-Bsuy4L90.js +0 -1
  54. package/dist/replay-index-Bwc3mGXL.js +0 -1
  55. package/dist/replay-index-H8WZagd-.js +0 -4
  56. package/dist/replay-index-hXs8cbuN.js +0 -1
  57. package/dist/replay-indexes-Dqjl8m6C.js +0 -1
  58. package/dist/replay-lint-C-oLIAsB.js +0 -130
  59. package/dist/replay-lint-graphql-Csbp20Pw.js +0 -1
  60. package/dist/replay-oauth2-redirect-handler-BfZRvm6l.js +0 -4
  61. package/dist/replay-periodic-revalidation-BA1RVR01.js +0 -1
  62. package/dist/replay-promise-map-limit-DDfN3Ygo.js +0 -1
  63. package/dist/replay-resolve-CA8Lymko.js +0 -53
  64. package/dist/replay-respect-run-Cppz3RGn.js +0 -73
  65. package/dist/replay-step-context.schema-BuuXkAck.js +0 -1
  66. package/dist/replay-tauri-path-CwvGSVkY.js +0 -1
  67. package/dist/replay-useAiChatQueries-CwwhmOSq.js +0 -215
  68. package/dist/replay-validate-key-BdrizlkP.js +0 -1
  69. package/dist/replay.cjs +0 -1
@@ -1,8 +1,8 @@
1
- import { a6 as T, a7 as f } from "./replay-index-Bak623wY.js";
2
- import { a as I, g as x, d as z, o as P, A as L, S as V, N as $, n as U, w as G, D as M, _ as Y, c as b, l as D } from "./replay-lint-AbXepAzq.js";
3
- import { b as he, e as ue, f as Ee, h as ve, j as Se, C as Te, k as xe, m as be, p as Oe, q as _e, r as Re, s as Ne, H as Ie, I as Pe, t as De, O as Ce, u as ke, v as je, x as we, y as Fe, z as ze, P as Le, B as Ve, E as $e, F as Ue, G as Ge, J as Me, K as Ye, L as Be, M as Ke, Q as We, R as He, T as Je, U as qe, V as Xe, W as Qe, X as Ze, Y as Ae, Z as es, $ as ss, a0 as ts, a1 as ns, a2 as as, a3 as rs, a4 as os, a5 as is, a6 as ls, a7 as cs, a8 as ps, a9 as ys, aa as fs, a0 as ms, ab as ds } from "./replay-lint-AbXepAzq.js";
4
- import { i as B, B as E, n as K, a as W, m as C } from "./replay-resolve-DmLc7a7b.js";
5
- import { R as hs, S as us, Y as Es, e as vs, g as Ss, b as Ts, c as xs, d as bs, f as Os, h as _s, j as Rs, p as Ns, r as Is, k as Ps, s as Ds, u as Cs } from "./replay-resolve-DmLc7a7b.js";
1
+ import { a6 as T, a7 as f } from "./replay-index-Bd6nBD-g.js";
2
+ import { a as I, g as x, d as z, o as P, A as L, S as V, N as $, n as U, w as G, D as M, _ as Y, c as b, l as D } from "./replay-lint-Bag9E2VE.js";
3
+ import { b as he, e as ue, f as Ee, h as ve, j as Se, C as Te, k as xe, m as be, p as Oe, q as _e, r as Re, H as Ne, I as Ie, s as Pe, O as De, t as ke, u as Ce, v as je, x as we, y as Fe, P as ze, z as Le, B as Ve, E as $e, F as Ue, G as Ge, J as Me, K as Ye, L as Be, M as Ke, Q as We, R as He, T as Je, U as qe, V as Xe, W as Qe, X as Ze, Y as Ae, Z as es, $ as ss, a0 as ts, a1 as ns, a2 as as, a3 as rs, a4 as os, a5 as is, a6 as ls, a7 as cs, a8 as ps, a9 as ys, $ as fs, aa as ms } from "./replay-lint-Bag9E2VE.js";
4
+ import { i as B, B as E, n as K, a as W, m as k } from "./replay-resolve-C-3GwDKX.js";
5
+ import { R as gs, S as hs, Y as us, e as Es, g as vs, b as Ss, c as Ts, d as xs, f as bs, h as Os, j as _s, p as Rs, r as Ns, k as Is, s as Ps, u as Ds } from "./replay-resolve-C-3GwDKX.js";
6
6
  function oe(e) {
7
7
  return (T.extname(e) === ".yaml" || T.extname(e) === ".yml") && !1;
8
8
  }
@@ -298,7 +298,7 @@ function N(e, s) {
298
298
  function X(e, s) {
299
299
  const t = {};
300
300
  for (const [a, n] of Object.entries(s))
301
- if (k(a, n)) {
301
+ if (C(a, n)) {
302
302
  if (n.severity === "off")
303
303
  continue;
304
304
  t[a] = {
@@ -311,7 +311,7 @@ function X(e, s) {
311
311
  function Q(e) {
312
312
  const s = {}, t = {};
313
313
  for (const [a, n] of Object.entries(e))
314
- if (k(a, n)) {
314
+ if (C(a, n)) {
315
315
  const r = n;
316
316
  A(r) ? s[a] = r : t[a] = r;
317
317
  } else
@@ -334,7 +334,7 @@ function Z(e, s, t) {
334
334
  }
335
335
  return null;
336
336
  }
337
- function k(e, s) {
337
+ function C(e, s) {
338
338
  return e.startsWith("rule/") && f(s);
339
339
  }
340
340
  function A(e) {
@@ -421,7 +421,7 @@ async function se(e) {
421
421
  async function me(e, s, t) {
422
422
  if (!s.rules)
423
423
  throw new Error(`Scorecard level "${s.name}" has no rules defined.`);
424
- const a = new E(), n = C(JSON.stringify(e, null, 2), "entity"), r = n.parsed[v], l = X(r || "unknown", s.rules), { entityRules: c, apiRules: o } = Q(l), m = await se({
424
+ const a = new E(), n = k(JSON.stringify(e, null, 2), "entity"), r = n.parsed[v], l = X(r || "unknown", s.rules), { entityRules: c, apiRules: o } = Q(l), m = await se({
425
425
  document: n,
426
426
  entitySchema: M,
427
427
  entityDefaultSchema: Y,
@@ -466,7 +466,7 @@ async function me(e, s, t) {
466
466
  return m;
467
467
  }
468
468
  async function te(e) {
469
- const { schema: s, schemaKey: t, config: a, sourceDocument: n, specType: r, externalRefResolver: l = new E(a.resolve) } = e, c = n.parsed, o = c[r], m = c.info, p = C(JSON.stringify({
469
+ const { schema: s, schemaKey: t, config: a, sourceDocument: n, specType: r, externalRefResolver: l = new E(a.resolve) } = e, c = n.parsed, o = c[r], m = c.info, p = k(JSON.stringify({
470
470
  [r]: o,
471
471
  info: m,
472
472
  components: {
@@ -490,88 +490,87 @@ export {
490
490
  E as BaseResolver,
491
491
  Te as CONFIG_BUNDLER_VISITOR_ID,
492
492
  xe as CONFIG_FILE_NAME,
493
- be as Config,
494
- Oe as ConfigTypes,
495
- _e as ConfigValidationError,
496
- Re as DEFAULT_CONFIG,
497
- Ne as DEFAULT_PROJECT_PLUGIN_PATHS,
498
- Ie as HandledError,
499
- Pe as IGNORE_BANNER,
500
- De as IGNORE_FILE,
501
- Ce as Oas2Types,
493
+ be as ConfigTypes,
494
+ Oe as ConfigValidationError,
495
+ _e as DEFAULT_CONFIG,
496
+ Re as DEFAULT_PROJECT_PLUGIN_PATHS,
497
+ Ne as HandledError,
498
+ Ie as IGNORE_BANNER,
499
+ Pe as IGNORE_FILE,
500
+ De as Oas2Types,
502
501
  ke as Oas3Types,
503
- je as Oas3_1Types,
504
- we as Oas3_2Types,
505
- Fe as OpenRpcTypes,
506
- ze as Overlay1Types,
507
- Le as PLUGINS_COLLECTOR_VISITOR_ID,
508
- hs as ResolveError,
509
- us as Source,
502
+ Ce as Oas3_1Types,
503
+ je as Oas3_2Types,
504
+ we as OpenRpcTypes,
505
+ Fe as Overlay1Types,
506
+ ze as PLUGINS_COLLECTOR_VISITOR_ID,
507
+ gs as ResolveError,
508
+ hs as Source,
510
509
  ye as StatsAsync2,
511
510
  fe as StatsAsync3,
512
511
  pe as StatsOAS,
513
- Es as YamlParseError,
514
- Ve as bundle,
515
- $e as bundleDocument,
516
- Ue as bundleFromString,
512
+ us as YamlParseError,
513
+ Le as bundle,
514
+ Ve as bundleDocument,
515
+ $e as bundleFromString,
517
516
  ce as capitalize,
518
- Ge as clearPluginsCache,
517
+ Ue as clearPluginsCache,
519
518
  b as createConfig,
520
- Me as createConfigTypes,
519
+ Ge as createConfigTypes,
521
520
  H as createEntityTypes,
522
521
  z as dequal,
523
- Ye as detectSpec,
522
+ Me as detectSpec,
524
523
  oe as doesYamlFileExist,
525
- vs as escapePointerFragment,
526
- Be as findConfig,
527
- Ke as formatProblems,
528
- We as getAstNodeByPointer,
529
- He as getCodeframe,
530
- Ss as getDir,
531
- Je as getLineColLocation,
532
- qe as getMajorSpecVersion,
533
- Xe as getPluginCacheVersion,
534
- Qe as getTotals,
535
- Ze as getTypes,
536
- Ts as isAbsoluteUrl,
537
- xs as isBrowser,
524
+ Es as escapePointerFragment,
525
+ Ye as findConfig,
526
+ Be as formatProblems,
527
+ Ke as getAstNodeByPointer,
528
+ We as getCodeframe,
529
+ vs as getDir,
530
+ He as getLineColLocation,
531
+ Je as getMajorSpecVersion,
532
+ qe as getPluginCacheVersion,
533
+ Xe as getTotals,
534
+ Qe as getTypes,
535
+ Ss as isAbsoluteUrl,
536
+ Ts as isBrowser,
538
537
  I as isEmptyObject,
539
- bs as isGraphqlRef,
540
- Os as isMappingRef,
541
- Ae as isNotEmptyArray,
538
+ xs as isGraphqlRef,
539
+ bs as isMappingRef,
540
+ Ze as isNotEmptyArray,
542
541
  ie as isNotEmptyObject,
543
542
  f as isPlainObject,
544
543
  B as isRef,
545
- es as isString,
546
- _s as isSupportedExtension,
547
- Rs as isTruthy,
548
- ss as keysOf,
549
- ts as lint,
550
- ns as lintConfig,
544
+ Ae as isString,
545
+ Os as isSupportedExtension,
546
+ _s as isTruthy,
547
+ es as keysOf,
548
+ ss as lint,
549
+ ts as lintConfig,
551
550
  D as lintDocument,
552
551
  se as lintEntityFile,
553
552
  me as lintEntityWithScorecardLevel,
554
- as as lintFromString,
553
+ ns as lintFromString,
555
554
  te as lintSchema,
556
- rs as loadConfig,
557
- os as loadIgnoreConfig,
558
- is as logger,
559
- C as makeDocumentFromString,
560
- ls as mapTypeToComponent,
555
+ as as loadConfig,
556
+ rs as loadIgnoreConfig,
557
+ os as logger,
558
+ k as makeDocumentFromString,
559
+ is as mapTypeToComponent,
561
560
  K as normalizeTypes,
562
561
  U as normalizeVisitors,
563
- Ns as parseYaml,
562
+ Rs as parseYaml,
564
563
  le as pause,
565
- cs as pluralize,
566
- Is as readFileFromUrl,
567
- ps as regexFromString,
564
+ ls as pluralize,
565
+ Ns as readFileFromUrl,
566
+ cs as regexFromString,
568
567
  W as resolveDocument,
569
- Ps as resolvePath,
570
- ys as resolvePlugins,
571
- fs as slash,
572
- Ds as stringifyYaml,
573
- Cs as unescapePointerFragment,
574
- ms as validate,
568
+ Is as resolvePath,
569
+ ps as resolvePlugins,
570
+ ys as slash,
571
+ Ps as stringifyYaml,
572
+ Ds as unescapePointerFragment,
573
+ fs as validate,
575
574
  G as walkDocument,
576
- ds as xmlEscape
575
+ ms as xmlEscape
577
576
  };
@@ -1,4 +1,4 @@
1
- import { i } from "./replay-index-Bak623wY.js";
1
+ import { i } from "./replay-index-Bd6nBD-g.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,4 +1,4 @@
1
- import { i } from "./replay-index-Bak623wY.js";
1
+ import { i } from "./replay-index-Bd6nBD-g.js";
2
2
  async function o(n, e) {
3
3
  await i("plugin:opener|open_url", {
4
4
  url: n,