@redocly/replay 0.29.0-next.5 → 0.29.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-CMWF3IYp.js → replay-AiChatProvider-Dp-0hM6u.js} +1 -1
- package/dist/{replay-AiChatProvider-DUR0_fHq.js → replay-AiChatProvider-_4MWKqjh.js} +6 -6
- package/dist/{replay-AiChatSqliteDBStorage-CEltYx94.js → replay-AiChatSqliteDBStorage-Oa4hysNI.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-CITb7hSz.js → replay-AiChatSqliteDBStorage-UzxSiaa4.js} +1 -1
- package/dist/{replay-AiPanel-CYHXUjMI.js → replay-AiPanel-C7V7VEFK.js} +1 -1
- package/dist/{replay-AiPanel-DbiJfTWy.js → replay-AiPanel-Cng3cFVq.js} +4 -4
- package/dist/{replay-FileWatcher-Ds_JSG57.js → replay-FileWatcher-B2REfBM5.js} +2 -2
- package/dist/{replay-FileWatcher-Bs6dX18v.js → replay-FileWatcher-DlDB2pmS.js} +1 -1
- package/dist/{replay-SemanticSearchService-CdF1TQ_0.js → replay-SemanticSearchService-B027vvCl.js} +1 -1
- package/dist/{replay-SemanticSearchService-CeHFhNDz.js → replay-SemanticSearchService-BhnCT7Z0.js} +1 -1
- package/dist/{replay-SqliteDBStorage-BFfjCMEn.js → replay-SqliteDBStorage-IZ7jCbkY.js} +1 -1
- package/dist/{replay-SqliteDBStorage-BRc6vHai.js → replay-SqliteDBStorage-SoY4qOnd.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-OQ2SMUiS.js → replay-TauriFileSystemAdapter-BfH97cwK.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-Z0n8Fot4.js → replay-TauriFileSystemAdapter-C8LC19nl.js} +1 -1
- package/dist/{replay-TauriRootStorage-C9pPtxdD.js → replay-TauriRootStorage-11a1y8Gt.js} +2 -2
- package/dist/{replay-TauriRootStorage-CIPk_4D6.js → replay-TauriRootStorage-BzJznVb7.js} +1 -1
- package/dist/{replay-agent-loop-ByI1Wra6.js → replay-agent-loop-BjoAr7G_.js} +3 -3
- package/dist/{replay-agent-loop-qMZ-yh7C.js → replay-agent-loop-Ck47szY-.js} +1 -1
- package/dist/{replay-ai-chat-mappers-BJG4qsVh.js → replay-ai-chat-mappers-B7xdsJNR.js} +1 -1
- package/dist/{replay-ai-chat-mappers-BhXui_cP.js → replay-ai-chat-mappers-DQMFqfm5.js} +1 -1
- package/dist/{replay-create-model-DT8aanzL.js → replay-create-model-Bli_v8yv.js} +3 -3
- package/dist/{replay-create-model-nf-dFfMt.js → replay-create-model-Dsn4EnHO.js} +3 -3
- package/dist/{replay-db-CEncswPh.js → replay-db-CQ4ZMVoP.js} +1 -1
- package/dist/{replay-db-B7DOUIxd.js → replay-db-CVwyQ9mx.js} +1 -1
- package/dist/{replay-external-resolver-CMQ9upb6.js → replay-external-resolver-BTxGCk8J.js} +1 -1
- package/dist/{replay-external-resolver-BO-EH2ei.js → replay-external-resolver-BeVOSP0e.js} +2 -2
- package/dist/{replay-index-BNjWkfVs.js → replay-index-BRATjW8A.js} +1 -1
- package/dist/replay-index-BUuiEmgb.js +4 -0
- package/dist/{replay-index-DfpfSyMZ.js → replay-index-CZKbLR1Q.js} +18026 -17885
- package/dist/{replay-index-BZZRT4XV.js → replay-index-Cj1st_Mh.js} +1 -1
- package/dist/{replay-index-Dr16XpGK.js → replay-index-DCXNHuqM.js} +5 -5
- package/dist/{replay-index-DiLsdDeo.js → replay-index-GMdv2Mbb.js} +1 -1
- package/dist/{replay-index-CBonfX4Z.js → replay-index-JSdiVy-s.js} +1 -1
- package/dist/{replay-index-Dlmw0x6l.js → replay-index-fAxVJ0Lp.js} +1121 -1121
- package/dist/{replay-lint-BfS0UNDE.js → replay-lint-B5Y0f_xB.js} +3 -3
- package/dist/{replay-lint-DPvfVFm_.js → replay-lint-D9lcI1vl.js} +3 -3
- package/dist/{replay-lint-graphql-DeG9a5xu.js → replay-lint-graphql-BvBl_3l8.js} +2 -2
- package/dist/{replay-lint-graphql-D6-d3ArO.js → replay-lint-graphql-DKWH5u_B.js} +1 -1
- package/dist/{replay-periodic-revalidation-BPCrKV7q.js → replay-periodic-revalidation-COYMnQbs.js} +1 -1
- package/dist/{replay-periodic-revalidation-DC30GN6O.js → replay-periodic-revalidation-VvJSzZwq.js} +1 -1
- package/dist/{replay-resolve-B-ubny1s.js → replay-resolve-BJBgR5ui.js} +1 -1
- package/dist/{replay-resolve-CgA90BKO.js → replay-resolve-DnJdXpgd.js} +1 -1
- package/dist/{replay-respect-run-DU4lsMa5.js → replay-respect-run-B0VuZsRD.js} +3321 -3314
- package/dist/{replay-respect-run-FINRH3Fr.js → replay-respect-run-DfeDqBey.js} +62 -62
- package/dist/{replay-tauri-path-DRie4WYN.js → replay-tauri-path-2hh0ihN5.js} +2 -2
- package/dist/{replay-tauri-path-1LJEbhgj.js → replay-tauri-path-CspwsPg-.js} +1 -1
- package/dist/{replay-useAiChatQueries-AyEiBMVh.js → replay-useAiChatQueries-Mu7qBzg7.js} +1 -1
- package/dist/{replay-useAiChatQueries-DqmuaoyJ.js → replay-useAiChatQueries-npA6uTpu.js} +4 -4
- package/dist/{replay-validate-key-qLqRQU88.js → replay-validate-key-BEKlKcuC.js} +2 -2
- package/dist/{replay-validate-key-Dn0a7PBu.js → replay-validate-key-rnDZ0V6_.js} +1 -1
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +7 -5
- package/dist/replay.js +1 -1
- package/package.json +3 -3
- package/dist/replay-index-CFwGH3xH.js +0 -4
|
@@ -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-CZKbLR1Q.js";
|
|
2
|
+
import { n as j, o as b, j as k } from "./replay-index-CZKbLR1Q.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-fAxVJ0Lp.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-fAxVJ0Lp.js"),m=require("./replay-db-CQ4ZMVoP.js"),r=require("./replay-create-model-Dsn4EnHO.js"),A=require("./replay-SemanticSearchService-BhnCT7Z0.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, 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-
|
|
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-CZKbLR1Q.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-CVwyQ9mx.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-Bli_v8yv.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-B027vvCl.js";
|
|
6
6
|
import { useInfiniteQuery as No, useQuery as Uo } from "@tanstack/react-query";
|
|
7
7
|
const se = {
|
|
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-Bli_v8yv.js";
|
|
2
|
+
import { M as s } from "./replay-index-CZKbLR1Q.js";
|
|
3
3
|
import { V as l } from "./replay-defaults-CzR6jw9a.js";
|
|
4
4
|
async function g(a, e, t, o) {
|
|
5
5
|
try {
|
|
@@ -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-Dsn4EnHO.js"),n=require("./replay-index-fAxVJ0Lp.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;
|
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-fAxVJ0Lp.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.d.ts
CHANGED
|
@@ -461,11 +461,7 @@ declare type OpenAPIOperation_2 = {
|
|
|
461
461
|
servers: Server[];
|
|
462
462
|
security?: OperationSecurity[][];
|
|
463
463
|
responses?: {
|
|
464
|
-
[status: string]:
|
|
465
|
-
mediaTypes?: {
|
|
466
|
-
[name: string]: Pick<MediaType, 'schema'>;
|
|
467
|
-
};
|
|
468
|
-
};
|
|
464
|
+
[status: string]: OperationResponse;
|
|
469
465
|
};
|
|
470
466
|
response?: Response_2 | null;
|
|
471
467
|
};
|
|
@@ -718,6 +714,12 @@ declare type OperationParameterSchema = {
|
|
|
718
714
|
enum?: string[];
|
|
719
715
|
};
|
|
720
716
|
|
|
717
|
+
declare type OperationResponse = {
|
|
718
|
+
mediaTypes?: {
|
|
719
|
+
[name: string]: Pick<MediaType, 'schema'>;
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
|
|
721
723
|
declare type OperationSecurity = {
|
|
722
724
|
id: string;
|
|
723
725
|
type: 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';
|
package/dist/replay.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-CZKbLR1Q.js";
|
|
2
2
|
import { O as v, h as C } 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.29.0-next.
|
|
3
|
+
"version": "0.29.0-next.6",
|
|
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.6",
|
|
20
20
|
"@tanstack/react-query": "5.62.3",
|
|
21
21
|
"react": "^19.2.7",
|
|
22
22
|
"react-dom": "^19.2.7",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"react-select": "5.10.1",
|
|
96
96
|
"shellwords": "^1.1.1",
|
|
97
97
|
"typescript": "6.0.3",
|
|
98
|
-
"ulid": "^
|
|
98
|
+
"ulid": "^3.0.2",
|
|
99
99
|
"usehooks-ts": "^3.1.1",
|
|
100
100
|
"vite": "7.3.6",
|
|
101
101
|
"vite-plugin-dts": "4.5.4",
|