@redocly/replay 0.29.0-next.2 → 0.29.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-CRI2UTsZ.js → replay-AiChatProvider-DR7NuYZo.js} +52 -52
- package/dist/{replay-AiChatProvider-6XfGmlMO.js → replay-AiChatProvider-GWJ-n-vh.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-BlEocJgY.js → replay-AiChatSqliteDBStorage--C03eLtv.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-DA-eJh6c.js → replay-AiChatSqliteDBStorage-BFkOn15p.js} +1 -1
- package/dist/{replay-AiPanel-DYVgRVdG.js → replay-AiPanel-1tEi12j1.js} +1 -1
- package/dist/{replay-AiPanel-ZrR1tDqo.js → replay-AiPanel-CXIw_O8d.js} +4 -4
- package/dist/{replay-FileWatcher-BNFHO596.js → replay-FileWatcher-B9PZyA8D.js} +1 -1
- package/dist/{replay-FileWatcher-CELEsith.js → replay-FileWatcher-SUnXmGod.js} +2 -2
- package/dist/{replay-SemanticSearchService-BEk_dTbd.js → replay-SemanticSearchService-BGg8Dbuq.js} +20 -20
- package/dist/{replay-SemanticSearchService-Dooeje9n.js → replay-SemanticSearchService-vr1hqPU7.js} +1 -1
- package/dist/{replay-SqliteDBStorage-3K7IPlJU.js → replay-SqliteDBStorage-DcIA3sjg.js} +1 -1
- package/dist/{replay-SqliteDBStorage-CLSBc7bS.js → replay-SqliteDBStorage-lUh6lJSO.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-D-IrcgXM.js → replay-TauriFileSystemAdapter-C2c2Qy4S.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-BvJ1azsj.js → replay-TauriFileSystemAdapter-wAZBliTE.js} +1 -1
- package/dist/{replay-TauriRootStorage-b3tjVs4a.js → replay-TauriRootStorage-CwVriXnS.js} +12 -12
- package/dist/{replay-TauriRootStorage-DylcqkvS.js → replay-TauriRootStorage-olGW7jq5.js} +1 -1
- package/dist/{replay-agent-loop-DgP7lcS9.js → replay-agent-loop-GDXIQGy5.js} +1 -1
- package/dist/{replay-agent-loop-Dev3mG-o.js → replay-agent-loop-QLgzMDfU.js} +5 -5
- package/dist/{replay-ai-chat-mappers-B6nh9aAX.js → replay-ai-chat-mappers-DFVcviEH.js} +1 -1
- package/dist/{replay-ai-chat-mappers-f3kvLmAu.js → replay-ai-chat-mappers-Dkj4vl9T.js} +1 -1
- package/dist/{replay-create-model-CKCKpcry.js → replay-create-model-D9NcJ3yx.js} +3 -3
- package/dist/{replay-create-model-DWPoobaj.js → replay-create-model-UDURpFQ4.js} +4 -4
- package/dist/{replay-db-B6aY7_xq.js → replay-db-CFx-F30d.js} +1 -1
- package/dist/{replay-db-C5zt3C9P.js → replay-db-CMt9dX-H.js} +6 -6
- package/dist/{replay-external-resolver-CnBhw18p.js → replay-external-resolver-CPD4hskh.js} +1 -1
- package/dist/{replay-external-resolver-vQRj5DBT.js → replay-external-resolver-rqFR7T0O.js} +2 -2
- package/dist/{replay-index-qjs9VMHC.js → replay-index-0MfVkwY4.js} +1 -1
- package/dist/replay-index-BTZoG4e-.js +4 -0
- package/dist/replay-index-CLJOTBS9.js +7204 -0
- package/dist/{replay-index-_gr2NUI6.js → replay-index-CVhBLstt.js} +1 -1
- package/dist/{replay-index-CG98QK-s.js → replay-index-DFopWLS5.js} +146 -139
- package/dist/replay-index-DFpzg2pO.js +1 -0
- package/dist/{replay-index-DK7gbiWU.js → replay-index-DhelzkVo.js} +54095 -39989
- package/dist/{replay-index-kTnSyklR.js → replay-index-X5PC09Iq.js} +1 -1
- package/dist/replay-lint-VrViwed0.js +121 -0
- package/dist/replay-lint-graphql-BytE8Msa.js +99 -0
- package/dist/replay-lint-graphql-Cj0YxKYW.js +1 -0
- package/dist/replay-lint-xvdvEmuK.js +22810 -0
- package/dist/{replay-periodic-revalidation--AI8Odct.js → replay-periodic-revalidation-CBK4GGcK.js} +1 -1
- package/dist/{replay-periodic-revalidation-B3_dehdk.js → replay-periodic-revalidation-UaQh_EiA.js} +1 -1
- package/dist/{replay-resolve-CF2p-q2m.js → replay-resolve-B-ScAEQ_.js} +1 -1
- package/dist/{replay-resolve-CVaipzl1.js → replay-resolve-DxLYwKrU.js} +1 -1
- package/dist/{replay-respect-run-CMwBljW2.js → replay-respect-run-BC7vr1j1.js} +21 -21
- package/dist/{replay-respect-run-D8MFUbGR.js → replay-respect-run-C84RN_GR.js} +430 -421
- package/dist/{replay-tauri-path-00tVitOG.js → replay-tauri-path-B-SLo2Ec.js} +2 -2
- package/dist/{replay-tauri-path-CNqnykPe.js → replay-tauri-path-Bl15GRY1.js} +1 -1
- package/dist/{replay-useAiChatQueries-1FXgtUM0.js → replay-useAiChatQueries-C-ZR0ZaE.js} +1 -1
- package/dist/{replay-useAiChatQueries-B1lLdezQ.js → replay-useAiChatQueries-gO6Sj7A5.js} +4 -4
- package/dist/{replay-validate-key-BY6-63zj.js → replay-validate-key-CuCnpHLS.js} +1 -1
- package/dist/{replay-validate-key-CQrY8WaE.js → replay-validate-key-D5QLY_qk.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +7 -0
- package/dist/replay.js +11 -11
- package/package.json +7 -4
- package/dist/replay-index-CucrJtfX.js +0 -7026
- package/dist/replay-index-D5Z0mNdH.js +0 -1
- package/dist/replay-index-Ea2twOHC.js +0 -4
- package/dist/replay-lint-B27guSWl.js +0 -30232
- package/dist/replay-lint-BMx3SufP.js +0 -177
- package/dist/replay-lint-graphql-Ddb-P1_x.js +0 -1956
- package/dist/replay-lint-graphql-DttNVvr_.js +0 -3
|
@@ -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-DhelzkVo.js";
|
|
2
|
+
import { n as j, o as b, j as k } from "./replay-index-DhelzkVo.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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-CLJOTBS9.js");async function u(r,n){const t=e.sep(),l=await e.resolve(r),c=await e.resolve(n),a=l.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),i=c.replace(new RegExp(`^${t}+`),"").split(t).filter(Boolean),m=Math.min(a.length,i.length);let s=0;for(let o=0;o<m&&a[o]===i[o];o++)s++;const p=a.slice(s).map(()=>".."),f=i.slice(s);return[...p,...f].join(t)}async function g(r){const n=await e.extname(r);return n?`.${n}`:""}exports.dirname=e.dirname;exports.isAbsolute=e.isAbsolute;exports.join=e.join;exports.resolve=e.resolve;exports.extname=g;exports.relative=u;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const Oe=require("react"),a=require("./replay-index-
|
|
1
|
+
"use strict";const Oe=require("react"),a=require("./replay-index-CLJOTBS9.js"),m=require("./replay-db-CFx-F30d.js"),r=require("./replay-create-model-D9NcJ3yx.js"),A=require("./replay-SemanticSearchService-vr1hqPU7.js"),Ee=require("@tanstack/react-query"),M={path:"pathParameters",query:"queryParameters",header:"headers",cookie:"cookies"},mt={run_request:{approveLabel:"Run",denyLabel:"Skip"},update_step:{approveLabel:"Apply",denyLabel:"Dismiss"},update_security:{approveLabel:"Apply",denyLabel:"Dismiss"}},ht={set_active_environment:{approveLabel:"Switch",denyLabel:"Cancel"},add_environment:{approveLabel:"Add",denyLabel:"Cancel"},upsert_input:{approveLabel:"Set",denyLabel:"Cancel"},upsert_server:{approveLabel:"Set",denyLabel:"Cancel"},remove_input:{approveLabel:"Remove",denyLabel:"Cancel"},remove_server:{approveLabel:"Remove",denyLabel:"Cancel"},create_collection:{approveLabel:"Create",denyLabel:"Cancel"},create_workflow:{approveLabel:"Create",denyLabel:"Cancel"},create_step:{approveLabel:"Create",denyLabel:"Cancel"},move_step:{approveLabel:"Move",denyLabel:"Cancel"},delete_collection:{approveLabel:"Delete",denyLabel:"Cancel"},delete_workflow:{approveLabel:"Delete",denyLabel:"Cancel"},delete_step:{approveLabel:"Delete",denyLabel:"Cancel"},save_tab_to_collection:{approveLabel:"Save",denyLabel:"Cancel"}},yt={CHAT:"chat",HISTORY:"history"},It="report_status",wt="run_workflow",j={WEB_SEARCH:"web_search"};function gt(e){switch(e.provider){case a.AI_PROVIDERS.GEMINI:return{[j.WEB_SEARCH]:r.google.tools.googleSearch({})};case a.AI_PROVIDERS.OPENAI:return{[j.WEB_SEARCH]:r.openai.tools.webSearch({})};case a.AI_PROVIDERS.ANTHROPIC:return{[j.WEB_SEARCH]:r.anthropic.tools.webFetch_20250910()};case a.REUNITE_AI_PROVIDER:return{[j.WEB_SEARCH]:{type:"provider",id:"reunite.web_search",name:"web_search",args:{}}};default:return{}}}const bt=["info","workflows","sourceDescriptions"];function vt(e){const t=[];return e.collectionId&&t.push(`Collection ID: ${e.collectionId}`),e.collection?.info?.title&&t.push(`Title: ${e.collection.info.title}`),e.collection?.info?.summary&&t.push(`Summary: ${e.collection.info.summary}`),e.collection?.info?.description&&t.push(`Description: ${e.collection.info.description}`),m.buildMessageFromArray(t,`
|
|
2
2
|
`)}function Tt(e){const t=[];if(e.collection?.workflows?.length){t.push("Workflows:");for(const o of e.collection.workflows)t.push(` workflowId=${o.workflowId} ${o.summary??""}`)}return m.buildMessageFromArray(t,`
|
|
3
3
|
`)}function St(e){const t=[];if(e.collection?.sourceDescriptions?.length){t.push("Source descriptions:");for(const o of e.collection.sourceDescriptions)t.push(` name=${o.name} url=${o.url}`)}return m.buildMessageFromArray(t,`
|
|
4
4
|
`)}function kt(e,t){const o=["Current tab (collection)"];for(const n of t)switch(n){case"info":o.push(vt(e));break;case"workflows":o.push(Tt(e));break;case"sourceDescriptions":o.push(St(e));break}return m.buildMessageFromArray(o,`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useContext as Ht, createContext as Gt } from "react";
|
|
2
|
-
import { R as Vt, A as be,
|
|
3
|
-
import { b as C, f as Tt, a as Ct, c as Ot, d as fe, e as At, i as ze, h as Re, R as z, j as vo, k as go, p as bo, s as He, l as ko } from "./replay-db-
|
|
4
|
-
import { b as So, o as To, d as Co, e as p, u as me, f as i, h as R, j as E, n as A, k as B, m as I, q as T, r as Pe, t as te, v as he, Z as H, w as Oo, x as Ge, c as Ao, s as Eo, y as $o } from "./replay-create-model-
|
|
5
|
-
import { g as xo, e as Ve, a as _o, b as Ro, c as Ke, d as Po, f as qo } from "./replay-SemanticSearchService-
|
|
2
|
+
import { R as Vt, A as be, aP as re, aQ as Kt, aR as Jt, aS as Qt, aa as x, a as de, aF as Y, aT as mt, aU as Oe, aE as Ee, aV as ht, aW as ue, aX as Z, c as b, aY as Xt, al as G, aj as V, aZ as It, a_ as pe, ak as $e, a$ as Zt, b0 as eo, b1 as to, b2 as oo, b3 as no, b4 as ro, b5 as so, ad as K, b6 as ao, ae as ee, a8 as io, b7 as co, b8 as lo, b9 as wt, ba as yt, bb as uo, bc as vt, bd as xe, be as Ae, ag as J, bf as po, a9 as gt, bg as _e, az as bt, bh as fo, bi as mo, C as k, bj as Be, bk as ho, bl as Ye, bm as Io, bn as wo, bo as yo, a7 as kt, a6 as St } from "./replay-index-DhelzkVo.js";
|
|
3
|
+
import { b as C, f as Tt, a as Ct, c as Ot, d as fe, e as At, i as ze, h as Re, R as z, j as vo, k as go, p as bo, s as He, l as ko } from "./replay-db-CMt9dX-H.js";
|
|
4
|
+
import { b as So, o as To, d as Co, e as p, u as me, f as i, h as R, j as E, n as A, k as B, m as I, q as T, r as Pe, t as te, v as he, Z as H, w as Oo, x as Ge, c as Ao, s as Eo, y as $o } from "./replay-create-model-UDURpFQ4.js";
|
|
5
|
+
import { g as xo, e as Ve, a as _o, b as Ro, c as Ke, d as Po, f as qo } from "./replay-SemanticSearchService-BGg8Dbuq.js";
|
|
6
6
|
import { useInfiniteQuery as No, useQuery as Uo } from "@tanstack/react-query";
|
|
7
7
|
const se = {
|
|
8
8
|
path: "pathParameters",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./replay-create-model-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./replay-create-model-D9NcJ3yx.js"),n=require("./replay-index-CLJOTBS9.js"),l=require("./replay-defaults-DVvOnvnR.js");async function s(t,a,o,i){try{const e=r.createModel({provider:t,modelId:o,apiKey:a});return await r.generateText({model:e,prompt:l.VALIDATION_PROMPT,maxOutputTokens:n.MAX_OUTPUT_TOKENS_FOR_VALIDATION,abortSignal:i?.abortSignal}),{valid:!0}}catch(e){if(e instanceof Error&&e.name==="AbortError")throw e;return{valid:!1,error:e instanceof Error&&e.message.length>0?e.message:"Validation failed. Please try again."}}}exports.validateApiKey=s;
|
|
@@ -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-UDURpFQ4.js";
|
|
2
|
+
import { M as s } from "./replay-index-DhelzkVo.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.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./replay-index-CLJOTBS9.js"),t=require("./replay-oauth2-redirect-handler-Bqw5UUvl.js");exports.AI_PROVIDERS=e.AI_PROVIDERS;exports.AiPanelContext=e.AiPanelContext;exports.EmbeddedReplay=e.EmbeddedReplay;exports.Modal=e.Modal;exports.REUNITE_AI_PROVIDER=e.REUNITE_AI_PROVIDER;exports.Replay=e.Replay;exports.ReplayOverlay=e.ReplayOverlay;Object.defineProperty(exports,"SpanStatusCode",{enumerable:!0,get:()=>e.SpanStatusCode});exports.TelemetryClient=e.TelemetryClient;exports.applyThemeToDOM=e.applyThemeToDOM;exports.createResource=e.createResource;exports.getCurrentTheme=e.getCurrentTheme;exports.loadAgentLoop=e.loadAgentLoop;exports.makeProviderRecord=e.makeProviderRecord;exports.resolveTheme=e.resolveTheme;exports.useAiPanel=e.useAiPanel;exports.useTelemetry=e.useTelemetry;exports.useTelemetryClient=e.useTelemetryClient;exports.validateApiKey=e.validateApiKey;exports.OAuth2Error=t.OAuth2Error;exports.handleOAuth2Redirect=t.handleOAuth2Redirect;
|
package/dist/replay.d.ts
CHANGED
|
@@ -460,6 +460,13 @@ declare type OpenAPIOperation_2 = {
|
|
|
460
460
|
};
|
|
461
461
|
servers: Server[];
|
|
462
462
|
security?: OperationSecurity[][];
|
|
463
|
+
responses?: {
|
|
464
|
+
[status: string]: {
|
|
465
|
+
mediaTypes?: {
|
|
466
|
+
[name: string]: Pick<MediaType, 'schema'>;
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
};
|
|
463
470
|
response?: Response_2 | null;
|
|
464
471
|
};
|
|
465
472
|
|
package/dist/replay.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { A as s,
|
|
2
|
-
import { O as
|
|
1
|
+
import { A as s, av as r, bN as t, bO as l, R as o, bP as b, bQ as R, K as d, bR as m, bS as p, L as n, bT as u, bU as y, bV as A, bW as T, au as i, at as O, bX as h, bY as E } from "./replay-index-DhelzkVo.js";
|
|
2
|
+
import { O as v, h as C } from "./replay-oauth2-redirect-handler-CqKZB3aV.js";
|
|
3
3
|
export {
|
|
4
4
|
s as AI_PROVIDERS,
|
|
5
5
|
r as AiPanelContext,
|
|
6
6
|
t as EmbeddedReplay,
|
|
7
7
|
l as Modal,
|
|
8
|
-
|
|
8
|
+
v as OAuth2Error,
|
|
9
9
|
o as REUNITE_AI_PROVIDER,
|
|
10
10
|
b as Replay,
|
|
11
11
|
R as ReplayOverlay,
|
|
12
12
|
d as SpanStatusCode,
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
m as TelemetryClient,
|
|
14
|
+
p as applyThemeToDOM,
|
|
15
15
|
n as createResource,
|
|
16
|
-
|
|
16
|
+
u as getCurrentTheme,
|
|
17
17
|
C as handleOAuth2Redirect,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
y as loadAgentLoop,
|
|
19
|
+
A as makeProviderRecord,
|
|
20
|
+
T as resolveTheme,
|
|
21
|
+
i as useAiPanel,
|
|
22
|
+
O as useTelemetry,
|
|
23
23
|
h as useTelemetryClient,
|
|
24
24
|
E as validateApiKey
|
|
25
25
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.29.0-next.
|
|
3
|
+
"version": "0.29.0-next.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.cjs",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@redocly/theme": "0.70.0-next.
|
|
19
|
+
"@redocly/theme": "0.70.0-next.4",
|
|
20
20
|
"@tanstack/react-query": "5.62.3",
|
|
21
21
|
"react": "^19.2.7",
|
|
22
22
|
"react-dom": "^19.2.7",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"@lezer/highlight": "^1.1.6",
|
|
52
52
|
"@noble/hashes": "^1.8.0",
|
|
53
53
|
"@opentelemetry/api": "1.9.1",
|
|
54
|
-
"@redocly/openapi-core": "2.
|
|
54
|
+
"@redocly/openapi-core": "2.55.0",
|
|
55
55
|
"@redocly/replay-asyncapi-sdk": "0.0.1",
|
|
56
|
-
"@redocly/respect-core": "2.
|
|
56
|
+
"@redocly/respect-core": "2.55.0",
|
|
57
57
|
"@redocly/vscode-json-languageservice": "^3.4.9",
|
|
58
58
|
"@tauri-apps/api": "2.4.1",
|
|
59
59
|
"@tauri-apps/plugin-deep-link": "^2.4.5",
|
|
@@ -74,10 +74,13 @@
|
|
|
74
74
|
"@vitejs/plugin-react-swc": "4.3.1",
|
|
75
75
|
"@vitest/coverage-v8": "4.1.11",
|
|
76
76
|
"ai": "7.0.9",
|
|
77
|
+
"cm6-graphql": "^0.2.1",
|
|
77
78
|
"dayjs": "1.11.21",
|
|
78
79
|
"diff": "^8.0.0",
|
|
79
80
|
"drizzle-orm": "^0.45.0",
|
|
80
81
|
"fast-xml-parser": "5.7.3",
|
|
82
|
+
"graphql": "16.14.2",
|
|
83
|
+
"graphql-language-service": "^5.6.0",
|
|
81
84
|
"idb": "^8.0.2",
|
|
82
85
|
"jotai": "^2.16.2",
|
|
83
86
|
"js-yaml": "4.3.2",
|