@redocly/replay 0.31.0-next.5 → 0.31.0-next.6
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-DF95dPI4.js → replay-AiChatProvider-CV9DUb_-.js} +6 -6
- package/dist/{replay-AiChatSqliteDBStorage-DFai0iTB.js → replay-AiChatSqliteDBStorage-BFEyqvr8.js} +1 -1
- package/dist/{replay-AiPanel-DWJrryHB.js → replay-AiPanel-DmzGuuSQ.js} +4 -4
- package/dist/{replay-FileWatcher-DhpdT_VS.js → replay-FileWatcher-CIGL35HB.js} +2 -2
- package/dist/{replay-SemanticSearchService-C9AkUyVE.js → replay-SemanticSearchService-CUfoNuvR.js} +1 -1
- package/dist/{replay-SqliteDBStorage-DT9_LMLs.js → replay-SqliteDBStorage-DrRaVJqC.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-C16TSOZg.js → replay-TauriFileSystemAdapter-Bwl7UUzV.js} +1 -1
- package/dist/{replay-TauriRootStorage-BNacv6Qu.js → replay-TauriRootStorage-D26SUyiD.js} +2 -2
- package/dist/{replay-agent-loop-Om_DXb5S.js → replay-agent-loop-CrimHDXe.js} +3 -3
- package/dist/{replay-ai-chat-mappers-T6Rn74yZ.js → replay-ai-chat-mappers-C8SbEqZQ.js} +1 -1
- package/dist/{replay-create-model-CWTiZi7t.js → replay-create-model-Bb6G3SMI.js} +3 -3
- package/dist/{replay-db-DGrxiWzT.js → replay-db-D6OPItrR.js} +1 -1
- package/dist/{replay-external-resolver-1QWjOOVR.js → replay-external-resolver-BivDnyzd.js} +2 -2
- package/dist/{replay-index-DVf85Dg1.js → replay-index-CEqJEwMV.js} +5 -5
- package/dist/{replay-index-CTTaOYRK.js → replay-index-D9fqcKuo.js} +1 -1
- package/dist/{replay-index-BZZ4OP90.js → replay-index-DBOkHLJ1.js} +1 -1
- package/dist/{replay-index-DF2XA7Wl.js → replay-index-DpNZqtfa.js} +1 -1
- package/dist/{replay-index-CiOV_Ucc.js → replay-index-DxQ-bRJ-.js} +16288 -16195
- package/dist/replay-index-Dzrhrnzp.js +4 -0
- package/dist/{replay-lint-B6TsU9Uq.js → replay-lint-B1carxC2.js} +3 -3
- package/dist/{replay-lint-graphql-CmPzfY7b.js → replay-lint-graphql-DxiD9Apj.js} +2 -2
- package/dist/{replay-periodic-revalidation-B77h_-F6.js → replay-periodic-revalidation-Z92wFdAa.js} +1 -1
- package/dist/{replay-resolve-9K6-oXdr.js → replay-resolve-KCayE22f.js} +1 -1
- package/dist/{replay-respect-run-Cpt4Fgtq.js → replay-respect-run-CJZW6ZvP.js} +3 -3
- package/dist/{replay-tauri-path-wnkmhbG_.js → replay-tauri-path-goqCdKKW.js} +2 -2
- package/dist/{replay-useAiChatQueries-CTLNVgPv.js → replay-useAiChatQueries-BHjMUusg.js} +4 -4
- package/dist/{replay-validate-key-C5YTZaNy.js → replay-validate-key-DpxgR65_.js} +2 -2
- package/dist/replay.d.ts +25 -10
- package/dist/replay.js +1 -1
- package/package.json +2 -2
- package/dist/replay-index-CEqxKoBH.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a7 as oe, X as mo, bL as sd, p as ad, a6 as Xe, bM as Vy, bN as Hy, bO as Ky, G as Wy, bP as ho } from "./replay-index-
|
|
2
|
-
import { o as Ee, q as Ae, f as kr, i as je, e as cd, t as pd, v as Ar, b as it, n as fn, L as Xt, j as Pt, S as ld, s as Qy, k as Gy, w as ha, c as $t, x as ht, Y as ud, y as ya, z as Xr, h as Yy, A as Js, C as Xs, u as Jy, D as dd, E as Xy, F as Zy, G as eg, H as tg, a as Jt, B as dr, m as ga, I as rg, g as ng, l as fd, p as ig, J as md, d as og } from "./replay-resolve-
|
|
1
|
+
import { a7 as oe, X as mo, bL as sd, p as ad, a6 as Xe, bM as Vy, bN as Hy, bO as Ky, G as Wy, bP as ho } from "./replay-index-DxQ-bRJ-.js";
|
|
2
|
+
import { o as Ee, q as Ae, f as kr, i as je, e as cd, t as pd, v as Ar, b as it, n as fn, L as Xt, j as Pt, S as ld, s as Qy, k as Gy, w as ha, c as $t, x as ht, Y as ud, y as ya, z as Xr, h as Yy, A as Js, C as Xs, u as Jy, D as dd, E as Xy, F as Zy, G as eg, H as tg, a as Jt, B as dr, m as ga, I as rg, g as ng, l as fd, p as ig, J as md, d as og } from "./replay-resolve-KCayE22f.js";
|
|
3
3
|
function Mt(e, t) {
|
|
4
4
|
let r, n;
|
|
5
5
|
if (e === t)
|
|
@@ -25333,7 +25333,7 @@ async function cC(e) {
|
|
|
25333
25333
|
async function ih(e) {
|
|
25334
25334
|
const { document: t, customTypes: r, externalRefResolver: n, config: i } = e;
|
|
25335
25335
|
if (og(t.source.absoluteRef)) {
|
|
25336
|
-
const { lintGraphqlDocument: g } = await import("./replay-lint-graphql-
|
|
25336
|
+
const { lintGraphqlDocument: g } = await import("./replay-lint-graphql-DxiD9Apj.js");
|
|
25337
25337
|
return g({ document: t, config: i });
|
|
25338
25338
|
}
|
|
25339
25339
|
const o = xn(t.parsed), s = i.getRulesForSpecVersion(Hf(o)), a = fn(i.extendTypes(r ?? wo(o), o), i), p = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as y } from "./replay-lint-
|
|
2
|
-
import { z as d, B as h, S as v, G as I, C as G, E as b } from "./replay-index-
|
|
1
|
+
import { i as y } from "./replay-lint-B1carxC2.js";
|
|
2
|
+
import { z as d, B as h, S as v, G as I, C as G, E as b } from "./replay-index-DxQ-bRJ-.js";
|
|
3
3
|
function k(t, n) {
|
|
4
4
|
const e = {};
|
|
5
5
|
for (const o of Object.keys(t)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a7 as Q, a6 as de, bs as Be, bt as Se, bu as Va, bv as _n, bw as da, bx as F, by as Oe, bz as ae, bA as ne, bB as Re, bC as Le, bD as Xr, bE as qn, V as Xa, W as Zn, bF as Xn, bG as Qa, X as Ua, bH as Qn, bI as ha, bJ as Wa, bK as er } from "./replay-index-
|
|
2
|
-
import { c as Ze } from "./replay-resolve-
|
|
3
|
-
import { Z as Qr, am as ar, c as et, ae as at, a8 as rt, a3 as nt, ar as en, as as tt } from "./replay-lint-
|
|
1
|
+
import { a7 as Q, a6 as de, bs as Be, bt as Se, bu as Va, bv as _n, bw as da, bx as F, by as Oe, bz as ae, bA as ne, bB as Re, bC as Le, bD as Xr, bE as qn, V as Xa, W as Zn, bF as Xn, bG as Qa, X as Ua, bH as Qn, bI as ha, bJ as Wa, bK as er } from "./replay-index-DxQ-bRJ-.js";
|
|
2
|
+
import { c as Ze } from "./replay-resolve-KCayE22f.js";
|
|
3
|
+
import { Z as Qr, am as ar, c as et, ae as at, a8 as rt, a3 as nt, ar as en, as as tt } from "./replay-lint-B1carxC2.js";
|
|
4
4
|
function it(e) {
|
|
5
5
|
return Q(e) && "name" in e && "value" in e && !("in" in e);
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as h, s as x, l as i } from "./replay-index-
|
|
2
|
-
import { n as j, o as b, j as k } from "./replay-index-
|
|
1
|
+
import { k as h, s as x, l as i } from "./replay-index-DxQ-bRJ-.js";
|
|
2
|
+
import { n as j, o as b, j as k } from "./replay-index-DxQ-bRJ-.js";
|
|
3
3
|
async function u(a, e) {
|
|
4
4
|
const t = x(), l = await i(a), c = await i(e), o = l.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), s = c.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), m = Math.min(o.length, s.length);
|
|
5
5
|
let r = 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useContext as zt, createContext as Ht } from "react";
|
|
2
|
-
import { R as Gt, A as be, aR as se, aS as Vt, aT as Kt, aU as Jt, ac as x, a as ue, aH as Y, aV as pt, aW as Oe, aG as Ae, aX as ft, aY as pe, aZ as ee, c as b, a_ as Qt, an as G, al as V, a$ as mt, b0 as fe, am as Ee, b1 as Xt, b2 as Zt, b3 as eo, b4 as to, b5 as oo, b6 as no, b7 as ro, af as K, b8 as so, ag as te, aa as ao, b9 as io, ba as co, bb as ht, bc as wt, bd as lo, be as It, bf as yt, bg as uo, ai as J, bh as po, ab as vt, bi as $e, aB as gt, bj as fo, bk as mo, bl as Me, F as k, bm as Fe, bn as ho, bo as Be, bp as wo, bq as Io, br as yo, a9 as bt, a8 as kt } from "./replay-index-
|
|
3
|
-
import { b as T, f as St, a as Ct, c as Tt, d as me, e as Ot, i as je, h as xe, R as z, j as vo, k as go, p as bo, s as Ye, l as ko } from "./replay-db-
|
|
4
|
-
import { b as So, o as Co, d as To, e as p, u as he, f as c, h as R, _ as E, n as A, j, k as w, m as C, q as _e, r as oe, t as we, v as Oo, w as ze, c as Ao, s as Eo, x as $o } from "./replay-create-model-
|
|
5
|
-
import { g as xo, e as He, a as _o, b as Ro, c as Ge, d as Po, f as qo } from "./replay-SemanticSearchService-
|
|
2
|
+
import { R as Gt, A as be, aR as se, aS as Vt, aT as Kt, aU as Jt, ac as x, a as ue, aH as Y, aV as pt, aW as Oe, aG as Ae, aX as ft, aY as pe, aZ as ee, c as b, a_ as Qt, an as G, al as V, a$ as mt, b0 as fe, am as Ee, b1 as Xt, b2 as Zt, b3 as eo, b4 as to, b5 as oo, b6 as no, b7 as ro, af as K, b8 as so, ag as te, aa as ao, b9 as io, ba as co, bb as ht, bc as wt, bd as lo, be as It, bf as yt, bg as uo, ai as J, bh as po, ab as vt, bi as $e, aB as gt, bj as fo, bk as mo, bl as Me, F as k, bm as Fe, bn as ho, bo as Be, bp as wo, bq as Io, br as yo, a9 as bt, a8 as kt } from "./replay-index-DxQ-bRJ-.js";
|
|
3
|
+
import { b as T, f as St, a as Ct, c as Tt, d as me, e as Ot, i as je, h as xe, R as z, j as vo, k as go, p as bo, s as Ye, l as ko } from "./replay-db-D6OPItrR.js";
|
|
4
|
+
import { b as So, o as Co, d as To, e as p, u as he, f as c, h as R, _ as E, n as A, j, k as w, m as C, q as _e, r as oe, t as we, v as Oo, w as ze, c as Ao, s as Eo, x as $o } from "./replay-create-model-Bb6G3SMI.js";
|
|
5
|
+
import { g as xo, e as He, a as _o, b as Ro, c as Ge, d as Po, f as qo } from "./replay-SemanticSearchService-CUfoNuvR.js";
|
|
6
6
|
import { useInfiniteQuery as No, useQuery as Uo } from "@tanstack/react-query";
|
|
7
7
|
const ae = {
|
|
8
8
|
path: "pathParameters",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as i, g as n } from "./replay-create-model-
|
|
2
|
-
import { M as s } from "./replay-index-
|
|
1
|
+
import { c as i, g as n } from "./replay-create-model-Bb6G3SMI.js";
|
|
2
|
+
import { M as s } from "./replay-index-DxQ-bRJ-.js";
|
|
3
3
|
import { V as l } from "./replay-defaults-CzR6jw9a.js";
|
|
4
4
|
async function g(a, e, t, o) {
|
|
5
5
|
try {
|
package/dist/replay.d.ts
CHANGED
|
@@ -79,16 +79,7 @@ export declare type AiProviderConfig = {
|
|
|
79
79
|
|
|
80
80
|
export declare type AiProviderName = (typeof AI_PROVIDERS)[keyof typeof AI_PROVIDERS];
|
|
81
81
|
|
|
82
|
-
export declare type ApiEntry =
|
|
83
|
-
kind: 'openapi';
|
|
84
|
-
definition: {
|
|
85
|
-
document: OpenAPIDefinition;
|
|
86
|
-
graphql?: {
|
|
87
|
-
sdl: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
operation?: OperationEntry;
|
|
91
|
-
};
|
|
82
|
+
export declare type ApiEntry = OpenApiEntry | AsyncApiEntry;
|
|
92
83
|
|
|
93
84
|
declare type ApiPath = {
|
|
94
85
|
path: string;
|
|
@@ -97,6 +88,19 @@ declare type ApiPath = {
|
|
|
97
88
|
|
|
98
89
|
export declare function applyThemeToDOM(resolvedTheme: ResolvedTheme): void;
|
|
99
90
|
|
|
91
|
+
export declare type AsyncApiEntry = {
|
|
92
|
+
kind: 'asyncapi';
|
|
93
|
+
/** AsyncAPI 3.0 only: the host converts 2.x. */
|
|
94
|
+
definition: {
|
|
95
|
+
document: Record<string, unknown>;
|
|
96
|
+
};
|
|
97
|
+
operation?: {
|
|
98
|
+
channelId: string;
|
|
99
|
+
/** Preselects one message; Replay lists every message of the channel from the document. */
|
|
100
|
+
messageId?: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
|
|
100
104
|
declare type AuthorizationCodeOAuthFlowsObject = {
|
|
101
105
|
authorizationUrl: string;
|
|
102
106
|
tokenUrl: string;
|
|
@@ -401,6 +405,17 @@ declare interface OpenAPIEncoding {
|
|
|
401
405
|
allowReserved: boolean;
|
|
402
406
|
}
|
|
403
407
|
|
|
408
|
+
export declare type OpenApiEntry = {
|
|
409
|
+
kind: 'openapi';
|
|
410
|
+
definition: {
|
|
411
|
+
document: OpenAPIDefinition;
|
|
412
|
+
graphql?: {
|
|
413
|
+
sdl: string;
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
operation?: OperationEntry;
|
|
417
|
+
};
|
|
418
|
+
|
|
404
419
|
declare interface OpenAPIExample extends ParsedDescriptionWithSummary {
|
|
405
420
|
value: any;
|
|
406
421
|
summary?: string;
|
package/dist/replay.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, ax as r, bQ as t, bR as l, R as o, bS as b, bT as R, N as d, bU as m, bV as p, O as n, bW as y, bX as A, bY as T, bZ as i, aw as u, av as O, b_ as h, b$ as E } from "./replay-index-
|
|
1
|
+
import { A as s, ax as r, bQ as t, bR as l, R as o, bS as b, bT as R, N as d, bU as m, bV as p, O as n, bW as y, bX as A, bY as T, bZ as i, aw as u, av as O, b_ as h, b$ as E } from "./replay-index-DxQ-bRJ-.js";
|
|
2
2
|
import { O as C, h as I } from "./replay-oauth2-redirect-handler-Bq6bpZMm.js";
|
|
3
3
|
export {
|
|
4
4
|
s as AI_PROVIDERS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.31.0-next.
|
|
3
|
+
"version": "0.31.0-next.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.js",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@redocly/theme": "0.72.0-next.
|
|
18
|
+
"@redocly/theme": "0.72.0-next.5",
|
|
19
19
|
"@tanstack/react-query": "5.62.3",
|
|
20
20
|
"react": "^19.2.7",
|
|
21
21
|
"react-dom": "^19.2.7",
|