@redocly/replay 0.30.0-next.7 → 0.30.0-next.9
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-LxWuWgjK.js → replay-AiChatProvider-Cc1MYhNY.js} +1 -1
- package/dist/{replay-AiChatProvider-BM8abqH8.js → replay-AiChatProvider-V-vhKDxd.js} +6 -6
- package/dist/{replay-AiChatSqliteDBStorage-ByM_jjvw.js → replay-AiChatSqliteDBStorage-D3ABpus1.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-C4tdDPBf.js → replay-AiChatSqliteDBStorage-DbuX33xq.js} +1 -1
- package/dist/{replay-AiPanel-LQPU7h0J.js → replay-AiPanel-C-_dfvYm.js} +4 -4
- package/dist/{replay-AiPanel-DD1S543u.js → replay-AiPanel-DmxeL5Rf.js} +1 -1
- package/dist/{replay-FileWatcher-BbFbSH7-.js → replay-FileWatcher-DQayB_oR.js} +2 -2
- package/dist/{replay-FileWatcher-BwY_TKXE.js → replay-FileWatcher-DzZhHEsP.js} +1 -1
- package/dist/{replay-SemanticSearchService-C2OaJcha.js → replay-SemanticSearchService-C62OWDmC.js} +1 -1
- package/dist/{replay-SemanticSearchService-CVxK2RB-.js → replay-SemanticSearchService-KsRtLg0N.js} +1 -1
- package/dist/{replay-SqliteDBStorage-BYMeLBll.js → replay-SqliteDBStorage-CwK7K4cj.js} +1 -1
- package/dist/{replay-SqliteDBStorage-BiutW7pD.js → replay-SqliteDBStorage-Q03jo_lb.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-SpIElzCj.js → replay-TauriFileSystemAdapter-8vltlDfs.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-DOPckV5d.js → replay-TauriFileSystemAdapter-D1On4ntI.js} +1 -1
- package/dist/{replay-TauriRootStorage-qdWzMQnK.js → replay-TauriRootStorage-Itj7idaX.js} +2 -2
- package/dist/{replay-TauriRootStorage-Cs8FdTRB.js → replay-TauriRootStorage-xFPjroQC.js} +1 -1
- package/dist/{replay-agent-loop-CbONmEpU.js → replay-agent-loop-1nHq9jnv.js} +3 -3
- package/dist/{replay-agent-loop-D20Uo83P.js → replay-agent-loop-rEld9oF-.js} +1 -1
- package/dist/{replay-ai-chat-mappers-BoD5va2S.js → replay-ai-chat-mappers-CZc31P4G.js} +1 -1
- package/dist/{replay-ai-chat-mappers-BqjA6a1R.js → replay-ai-chat-mappers-DNfpJk85.js} +1 -1
- package/dist/{replay-create-model-ByXMw0Mz.js → replay-create-model-D2PYVWYc.js} +3 -3
- package/dist/{replay-create-model-iK8UnqLH.js → replay-create-model-DcMU3Yxm.js} +3 -3
- package/dist/{replay-db-KVbyscDg.js → replay-db-BZWPVXvS.js} +1 -1
- package/dist/{replay-db-BAptE3HS.js → replay-db-CFqFU1D2.js} +1 -1
- package/dist/{replay-external-resolver-yhrzSVh-.js → replay-external-resolver-CI7sZxO3.js} +2 -2
- package/dist/{replay-external-resolver-CPTL9YMt.js → replay-external-resolver-Dz9QqU4-.js} +1 -1
- package/dist/{replay-index-Dglne1rU.js → replay-index-BU0VNqJi.js} +1 -1
- package/dist/{replay-index-Du_9zDOG.js → replay-index-B_pYgKvz.js} +1 -1
- package/dist/{replay-index-DsB14Sfy.js → replay-index-BfiGpjV0.js} +1 -1
- package/dist/{replay-index-D66UFxK0.js → replay-index-BxakPLws.js} +1 -1
- package/dist/{replay-index-TMDJfwog.js → replay-index-COk-TAX_.js} +1 -1
- package/dist/{replay-index-CRekxOYt.js → replay-index-CdLLebq6.js} +22 -22
- package/dist/{replay-index-BJuio1mk.js → replay-index-Cp0wQDgB.js} +1 -1
- package/dist/replay-index-CzES_JFv.js +4 -0
- package/dist/{replay-index-C1rF4MIj.js → replay-index-D80fZ6cK.js} +1 -1
- package/dist/{replay-index-B7Ax7uI3.js → replay-index-DMy5OBRE.js} +1 -1
- package/dist/{replay-index-DGVKGau4.js → replay-index-DSNoVX-p.js} +1195 -1168
- package/dist/{replay-index-7c2fdTRw.js → replay-index-DgTXgzAv.js} +17795 -17622
- package/dist/{replay-lint-BmCBitNn.js → replay-lint-BkctMZa_.js} +2497 -2495
- package/dist/{replay-lint-graphql--lxWSyCB.js → replay-lint-graphql-BGffGPIm.js} +1 -1
- package/dist/{replay-lint-graphql-DbU8ryFL.js → replay-lint-graphql-D3uY3Q9Q.js} +2 -2
- package/dist/{replay-lint-7C6uDSRh.js → replay-lint-rCLmOycv.js} +39 -39
- package/dist/{replay-periodic-revalidation-C-RY1iAP.js → replay-periodic-revalidation-BgUjxDxQ.js} +1 -1
- package/dist/{replay-periodic-revalidation-NOc0MUCR.js → replay-periodic-revalidation-Bi31UOvh.js} +1 -1
- package/dist/{replay-resolve-27HxVuKM.js → replay-resolve-B-14UldE.js} +1 -1
- package/dist/{replay-resolve-D1Ex_R0P.js → replay-resolve-DACGscxu.js} +1 -1
- package/dist/{replay-respect-run-Ba0IqCSQ.js → replay-respect-run-CK8L1S-l.js} +1 -1
- package/dist/{replay-respect-run-9NB18649.js → replay-respect-run-CpYF1niv.js} +110 -110
- package/dist/{replay-tauri-path-L81YjxNO.js → replay-tauri-path-B8kon_Ur.js} +1 -1
- package/dist/{replay-tauri-path-WDQCkBMZ.js → replay-tauri-path-CvHb2p4I.js} +2 -2
- package/dist/{replay-useAiChatQueries-ChvOULLB.js → replay-useAiChatQueries-D2ikp2U7.js} +4 -4
- package/dist/{replay-useAiChatQueries-CeNsH7jY.js → replay-useAiChatQueries-hHUMQ7YP.js} +1 -1
- package/dist/{replay-validate-key-BC0hj8Un.js → replay-validate-key-BhXLTBqe.js} +1 -1
- package/dist/{replay-validate-key-DpZjfsH8.js → replay-validate-key-BxGJ5w4v.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.js +1 -1
- package/package.json +4 -4
- package/dist/replay-index-DcselHjq.js +0 -4
|
@@ -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-DSNoVX-p.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,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-DgTXgzAv.js";
|
|
2
|
+
import { n as j, o as b, j as k } from "./replay-index-DgTXgzAv.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 C, f as St, a as Tt, c as Ct, 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 To, d as Co, e as p, u as he, f as c, h as R, j as E, n as A, k as j, m as w, q as T, r as _e, t as oe, v as we, Z as H, w as Oo, x as ze, c as Ao, s as Eo, y 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-DgTXgzAv.js";
|
|
3
|
+
import { b as C, f as St, a as Tt, c as Ct, 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-CFqFU1D2.js";
|
|
4
|
+
import { b as So, o as To, d as Co, e as p, u as he, f as c, h as R, j as E, n as A, k as j, m as w, q as T, r as _e, t as oe, v as we, Z as H, w as Oo, x as ze, c as Ao, s as Eo, y as $o } from "./replay-create-model-DcMU3Yxm.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-C62OWDmC.js";
|
|
6
6
|
import { useInfiniteQuery as No, useQuery as Uo } from "@tanstack/react-query";
|
|
7
7
|
const ae = {
|
|
8
8
|
path: "pathParameters",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const Ce=require("react"),a=require("./replay-index-
|
|
1
|
+
"use strict";const Ce=require("react"),a=require("./replay-index-DSNoVX-p.js"),m=require("./replay-db-BZWPVXvS.js"),r=require("./replay-create-model-D2PYVWYc.js"),C=require("./replay-SemanticSearchService-KsRtLg0N.js"),Oe=require("@tanstack/react-query"),j={path:"pathParameters",query:"queryParameters",header:"headers",cookie:"cookies"},ft={run_request:{approveLabel:"Run",denyLabel:"Skip"},update_step:{approveLabel:"Apply",denyLabel:"Dismiss"},update_security:{approveLabel:"Apply",denyLabel:"Dismiss"}},mt={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"}},ht={CHAT:"chat",HISTORY:"history"},yt="report_status",It="run_workflow",W={WEB_SEARCH:"web_search"};function wt(e){switch(e.provider){case a.AI_PROVIDERS.GEMINI:return{[W.WEB_SEARCH]:r.google.tools.googleSearch({})};case a.AI_PROVIDERS.OPENAI:return{[W.WEB_SEARCH]:r.openai.tools.webSearch({})};case a.AI_PROVIDERS.ANTHROPIC:return{[W.WEB_SEARCH]:r.anthropic.tools.webFetch_20250910()};case a.REUNITE_AI_PROVIDER:return{[W.WEB_SEARCH]:{type:"provider",id:"reunite.web_search",name:"web_search",args:{}}};default:return{}}}const gt=["info","workflows","sourceDescriptions"];function bt(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 vt(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 Tt(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 St(e,t){const o=["Current tab (collection)"];for(const n of t)switch(n){case"info":o.push(bt(e));break;case"workflows":o.push(vt(e));break;case"sourceDescriptions":o.push(Tt(e));break}return m.buildMessageFromArray(o,`
|
|
@@ -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-D2PYVWYc.js"),n=require("./replay-index-DSNoVX-p.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-DcMU3Yxm.js";
|
|
2
|
+
import { M as s } from "./replay-index-DgTXgzAv.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-DSNoVX-p.js"),t=require("./replay-oauth2-redirect-handler-BfZRvm6l.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.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-DgTXgzAv.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.30.0-next.
|
|
3
|
+
"version": "0.30.0-next.9",
|
|
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.71.0-next.
|
|
19
|
+
"@redocly/theme": "0.71.0-next.7",
|
|
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.66.0",
|
|
55
55
|
"@redocly/replay-asyncapi-sdk": "0.0.1",
|
|
56
|
-
"@redocly/respect-core": "2.
|
|
56
|
+
"@redocly/respect-core": "2.66.0",
|
|
57
57
|
"@redocly/vscode-json-languageservice": "^3.4.9",
|
|
58
58
|
"@redocly/tooling-test-utils": "0.0.0",
|
|
59
59
|
"@tauri-apps/api": "2.4.1",
|