@redocly/replay 0.31.0-next.3 → 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.
- package/dist/{replay-AiChatProvider-Cuo8x0ff.js → replay-AiChatProvider-DmFb_KEh.js} +6 -6
- package/dist/{replay-AiChatSqliteDBStorage-Cj4xkdFz.js → replay-AiChatSqliteDBStorage-DPCC1JxA.js} +1 -1
- package/dist/{replay-AiPanel-Dm_sNNeL.js → replay-AiPanel-Duce6bPI.js} +4 -4
- package/dist/{replay-FileWatcher-0Bmib4dK.js → replay-FileWatcher-CuDTvKR_.js} +2 -2
- package/dist/{replay-SemanticSearchService-D4YjQR5-.js → replay-SemanticSearchService-UD-ISya0.js} +1 -1
- package/dist/{replay-SqliteDBStorage-snMqhV35.js → replay-SqliteDBStorage-yz16M_Mv.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-bAK0DIvp.js → replay-TauriFileSystemAdapter-D6ELx87H.js} +1 -1
- package/dist/{replay-TauriRootStorage-DAYZ414x.js → replay-TauriRootStorage-BBtrm1uU.js} +2 -2
- package/dist/{replay-agent-loop-qyzKV3mo.js → replay-agent-loop-X-3QP3_I.js} +3 -3
- package/dist/{replay-ai-chat-mappers-BAe0oFmS.js → replay-ai-chat-mappers-Cn5M5bfQ.js} +1 -1
- package/dist/{replay-create-model-BEoVz7Ji.js → replay-create-model-I01u52en.js} +3 -3
- package/dist/{replay-db-DMKqL3h6.js → replay-db-_AqPojpS.js} +1 -1
- package/dist/{replay-external-resolver-DCN1lkbA.js → replay-external-resolver-B9jDVIjA.js} +2 -2
- package/dist/{replay-index-DZ1tkFgq.js → replay-index-5x470UiG.js} +1 -1
- package/dist/replay-index-BW65Uxno.js +4 -0
- package/dist/{replay-index-BHjBRyB3.js → replay-index-Bd6nBD-g.js} +9862 -9866
- package/dist/{replay-index-0Yt7t6Z2.js → replay-index-CryjpI5N.js} +71 -72
- package/dist/{replay-index-Bo3TEqX0.js → replay-index-NeiVLZKP.js} +1 -1
- package/dist/{replay-index-BvZDjF45.js → replay-index-vq6dCDYU.js} +1 -1
- package/dist/{replay-lint-T24IsDM8.js → replay-lint-Bag9E2VE.js} +3503 -3488
- package/dist/{replay-lint-graphql-CZtMsHz-.js → replay-lint-graphql-Dy_zzWSu.js} +2 -2
- package/dist/{replay-periodic-revalidation-BHLdYOFw.js → replay-periodic-revalidation-ZF9THDF0.js} +1 -1
- package/dist/{replay-resolve-DIE-MBAc.js → replay-resolve-C-3GwDKX.js} +1 -1
- package/dist/{replay-respect-run-50PYi6j2.js → replay-respect-run-CGAeb4ct.js} +1847 -1793
- package/dist/{replay-tauri-path-CKxG25k9.js → replay-tauri-path-JPWbAoK0.js} +2 -2
- package/dist/{replay-useAiChatQueries-mMfaDZ5s.js → replay-useAiChatQueries-B8RKvZ6W.js} +4 -4
- package/dist/{replay-validate-key-taJ0a7Z_.js → replay-validate-key-BA81wxhp.js} +2 -2
- package/dist/replay.js +1 -1
- package/package.json +6 -7
- package/dist/oauth2-redirect.cjs +0 -1
- package/dist/replay-AiChatProvider-iPTdlp7T.js +0 -6
- package/dist/replay-AiChatSqliteDBStorage-BAUsAhPY.js +0 -1
- package/dist/replay-AiPanel-Bn2z_RC-.js +0 -741
- package/dist/replay-FileWatcher-CSNd_juo.js +0 -1
- package/dist/replay-HistorySqliteDBStorage-BrILW8Fu.js +0 -1
- package/dist/replay-Observable-bjJ6wkRB.js +0 -1
- package/dist/replay-SemanticSearchService-DdDe4QRB.js +0 -1
- package/dist/replay-SqliteDBStorage-C81Ns5uk.js +0 -14
- package/dist/replay-StepContextSqliteDBStorage-BSepLyBI.js +0 -1
- package/dist/replay-TauriFileSystemAdapter-IgI3iLBq.js +0 -1
- package/dist/replay-TauriRootStorage-Ck5_FUc2.js +0 -1
- package/dist/replay-agent-loop-MetNOO5W.js +0 -1
- package/dist/replay-ai-chat-mappers-BZ4yaQTm.js +0 -1
- package/dist/replay-ai-message-parts.schema-BBdjwldJ.js +0 -1
- package/dist/replay-create-model-Bv2837Bc.js +0 -104
- package/dist/replay-db-C5FJ_vSh.js +0 -64
- package/dist/replay-defaults-DVvOnvnR.js +0 -27
- package/dist/replay-external-resolver-BdagmP7Q.js +0 -2
- package/dist/replay-history.schema-miM3Etuf.js +0 -1
- package/dist/replay-index-B5BMRDgs.js +0 -1
- package/dist/replay-index-BUx40Nkf.js +0 -1
- package/dist/replay-index-C5rpe6OU.js +0 -4
- package/dist/replay-index-D8rrXWx9.js +0 -1
- package/dist/replay-index-DBkr5-ap.js +0 -7438
- package/dist/replay-index-Qup2K90F.js +0 -1
- package/dist/replay-index-Y0OU8J0E.js +0 -1
- package/dist/replay-indexes-Dqjl8m6C.js +0 -1
- package/dist/replay-lint-B3RgfCeS.js +0 -130
- package/dist/replay-lint-graphql-DekIfP8E.js +0 -1
- package/dist/replay-oauth2-redirect-handler-BfZRvm6l.js +0 -4
- package/dist/replay-periodic-revalidation-D3-joAo0.js +0 -1
- package/dist/replay-promise-map-limit-DDfN3Ygo.js +0 -1
- package/dist/replay-resolve-o5oxpXCI.js +0 -53
- package/dist/replay-respect-run-CYC3kgFU.js +0 -73
- package/dist/replay-step-context.schema-BuuXkAck.js +0 -1
- package/dist/replay-tauri-path-CXjp0Fsn.js +0 -1
- package/dist/replay-useAiChatQueries-BavVwZlq.js +0 -215
- package/dist/replay-validate-key-Bk5lGsX4.js +0 -1
- package/dist/replay.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a6 as T, a7 as f } from "./replay-index-
|
|
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-
|
|
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,
|
|
4
|
-
import { i as B, B as E, n as K, a as W, m as
|
|
5
|
-
import { R as
|
|
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 (
|
|
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 (
|
|
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
|
|
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 =
|
|
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 =
|
|
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
|
|
494
|
-
Oe as
|
|
495
|
-
_e as
|
|
496
|
-
Re as
|
|
497
|
-
Ne as
|
|
498
|
-
Ie as
|
|
499
|
-
Pe as
|
|
500
|
-
De as
|
|
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
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
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
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
512
|
+
us as YamlParseError,
|
|
513
|
+
Le as bundle,
|
|
514
|
+
Ve as bundleDocument,
|
|
515
|
+
$e as bundleFromString,
|
|
517
516
|
ce as capitalize,
|
|
518
|
-
|
|
517
|
+
Ue as clearPluginsCache,
|
|
519
518
|
b as createConfig,
|
|
520
|
-
|
|
519
|
+
Ge as createConfigTypes,
|
|
521
520
|
H as createEntityTypes,
|
|
522
521
|
z as dequal,
|
|
523
|
-
|
|
522
|
+
Me as detectSpec,
|
|
524
523
|
oe as doesYamlFileExist,
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
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
|
-
|
|
540
|
-
|
|
541
|
-
|
|
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
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
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
|
-
|
|
553
|
+
ns as lintFromString,
|
|
555
554
|
te as lintSchema,
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
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
|
-
|
|
562
|
+
Rs as parseYaml,
|
|
564
563
|
le as pause,
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
564
|
+
ls as pluralize,
|
|
565
|
+
Ns as readFileFromUrl,
|
|
566
|
+
cs as regexFromString,
|
|
568
567
|
W as resolveDocument,
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
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
|
-
|
|
575
|
+
ms as xmlEscape
|
|
577
576
|
};
|