@redocly/replay 0.27.0-next.7 → 0.27.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-Dub7iVgM.js → replay-AiChatProvider-B94RnQsz.js} +6 -6
- package/dist/{replay-AiChatProvider-e4PWUCRp.js → replay-AiChatProvider-P2u2MtTk.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-CpjwxLnF.js → replay-AiChatSqliteDBStorage-BtTa9KkQ.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-DbxNU-ot.js → replay-AiChatSqliteDBStorage-z_QUPu2M.js} +1 -1
- package/dist/{replay-AiPanel-DuRA2zAt.js → replay-AiPanel-BCkDovN_.js} +4 -4
- package/dist/{replay-AiPanel-B_zDmo55.js → replay-AiPanel-COL9ADyD.js} +1 -1
- package/dist/{replay-SqliteDBStorage-BrNleq7S.js → replay-SqliteDBStorage-D9b6LAKr.js} +1 -1
- package/dist/{replay-SqliteDBStorage-CafBNNLB.js → replay-SqliteDBStorage-DMxFWJQ7.js} +1 -1
- package/dist/{replay-agent-loop-CzV79Gr1.js → replay-agent-loop-C2QNfRSA.js} +1 -1
- package/dist/{replay-agent-loop-CV0s4022.js → replay-agent-loop-C8ERLqB5.js} +3 -3
- package/dist/{replay-ai-chat-mappers-BWeZN6p_.js → replay-ai-chat-mappers-BMhtm64Y.js} +1 -1
- package/dist/{replay-ai-chat-mappers-BNsR30dS.js → replay-ai-chat-mappers-fViZvzIy.js} +1 -1
- package/dist/{replay-create-model-CmRk68RD.js → replay-create-model-BgR6vFGV.js} +2 -2
- package/dist/{replay-create-model-CEDEaJC8.js → replay-create-model-BhuazQ2q.js} +3 -3
- package/dist/{replay-db-BfSnfWcb.js → replay-db-DAiJFj0l.js} +1 -1
- package/dist/{replay-db-CM8OLcFK.js → replay-db-DKzJowQC.js} +1 -1
- package/dist/{replay-external-resolver-bdSEZsNk.js → replay-external-resolver-BY6AAeGp.js} +1 -1
- package/dist/{replay-external-resolver-G86hjAvS.js → replay-external-resolver-UONYkON2.js} +2 -2
- package/dist/{replay-index-Cd9LaUVx.js → replay-index-BowK-_3Z.js} +17278 -17211
- package/dist/{replay-index-DYtNY0OY.js → replay-index-BubK_s3I.js} +18 -18
- package/dist/{replay-index-BmotNqNI.js → replay-index-ClVtMDHn.js} +1080 -1080
- package/dist/replay-index-DM12kT-D.js +21 -0
- package/dist/{replay-index-C_eJVbPZ.js → replay-index-DWKlhkdU.js} +1 -1
- package/dist/replay-index-F528jCaH.js +1 -0
- package/dist/{replay-index-D58Mg6_y.js → replay-index-amF_dPN8.js} +1 -1
- package/dist/replay-index-fpeoVNQb.js +1 -0
- package/dist/replay-lint-CAN3a2zf.js +184 -0
- package/dist/{replay-lint-YfaLafO6.js → replay-lint-a0aMVdOC.js} +9548 -9210
- package/dist/{replay-lint-graphql-GtbZklco.js → replay-lint-graphql-C3aqm51r.js} +1 -1
- package/dist/{replay-lint-graphql-BRrk1UK5.js → replay-lint-graphql-DnztHI0i.js} +1 -1
- package/dist/replay-resolve-BoryNVbu.js +47 -0
- package/dist/{replay-resolve-Rb3XjiUd.js → replay-resolve-LjvT95Yw.js} +1078 -1053
- package/dist/{replay-respect-run-Pkoy4Q3P.js → replay-respect-run-DLSZ4d4p.js} +23 -23
- package/dist/{replay-respect-run-BB0VXCz-.js → replay-respect-run-wqqp8WHA.js} +297 -295
- package/dist/{replay-tauri-path-B8tT4cGY.js → replay-tauri-path-Bg-T0cwI.js} +5 -5
- package/dist/{replay-tauri-path-yOFqWleH.js → replay-tauri-path-DHZlqqfb.js} +1 -1
- package/dist/{replay-useAiChatQueries-1fqZwVTj.js → replay-useAiChatQueries-DuNxx5rQ.js} +1 -1
- package/dist/{replay-useAiChatQueries-B7ZcWDmG.js → replay-useAiChatQueries-Dy-kPGKF.js} +3 -3
- package/dist/{replay-validate-key-C8-nF61w.js → replay-validate-key-B2N6AiQk.js} +1 -1
- package/dist/{replay-validate-key-qJOuAQJK.js → replay-validate-key-B7RBY-6z.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.js +4 -4
- package/package.json +7 -7
- package/dist/replay-index-Bsag-eKM.js +0 -1
- package/dist/replay-index-C6SJPGDO.js +0 -23
- package/dist/replay-index-CUs62_1f.js +0 -1
- package/dist/replay-lint-CxwKILeF.js +0 -184
- package/dist/replay-resolve-Bza6lozO.js +0 -47
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { aF as h, aG as x, aH as i } from "./replay-index-BowK-_3Z.js";
|
|
2
|
+
import { aI as b, aJ as j, aK as y } from "./replay-index-BowK-_3Z.js";
|
|
3
3
|
async function u(n, e) {
|
|
4
4
|
const t = x(), l = await i(n), c = await i(e), o = l.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), r = c.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), m = Math.min(o.length, r.length);
|
|
5
5
|
let s = 0;
|
|
@@ -13,10 +13,10 @@ async function w(n) {
|
|
|
13
13
|
return e ? `.${e}` : "";
|
|
14
14
|
}
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
b as dirname,
|
|
17
17
|
w as extname,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
j as isAbsolute,
|
|
19
|
+
y as join,
|
|
20
20
|
u as relative,
|
|
21
21
|
i as resolve
|
|
22
22
|
};
|
|
@@ -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-ClVtMDHn.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 ge=require("react"),l=require("./replay-index-
|
|
1
|
+
"use strict";const ge=require("react"),l=require("./replay-index-ClVtMDHn.js"),m=require("./replay-db-DAiJFj0l.js"),n=require("./replay-create-model-BgR6vFGV.js"),Ie=require("@tanstack/react-query"),x={path:"pathParameters",query:"queryParameters",header:"headers",cookie:"cookies"},ot={run_request:{approveLabel:"Run",denyLabel:"Skip"},update_step:{approveLabel:"Apply",denyLabel:"Dismiss"},update_security:{approveLabel:"Apply",denyLabel:"Dismiss"}},nt={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"},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"}},rt={CHAT:"chat",HISTORY:"history"},st="report_status",it="run_workflow",P={WEB_SEARCH:"web_search"};function at(e){switch(e.provider){case l.AI_PROVIDERS.GEMINI:return{[P.WEB_SEARCH]:n.google.tools.googleSearch({})};case l.AI_PROVIDERS.OPENAI:return{[P.WEB_SEARCH]:n.openai.tools.webSearch({})};case l.AI_PROVIDERS.ANTHROPIC:return{[P.WEB_SEARCH]:n.anthropic.tools.webFetch_20250910()};case l.REUNITE_AI_PROVIDER:return{[P.WEB_SEARCH]:{type:"provider",id:"reunite.web_search",name:"web_search",args:{}}};default:return{}}}const ct=["info","workflows","sourceDescriptions"];function lt(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 dt(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 ut(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 pt(e,t){const o=["Current tab (collection)"];for(const r of t)switch(r){case"info":o.push(lt(e));break;case"workflows":o.push(dt(e));break;case"sourceDescriptions":o.push(ut(e));break}return m.buildMessageFromArray(o,`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useContext as Et, createContext as xt } from "react";
|
|
2
|
-
import { R as $t, E as se, a1 as H, a2 as Rt, a3 as _t, a4 as qt, b as O, U as D, a5 as Je, a6 as de, Q as ue, a7 as Qe, a8 as pe, a9 as fe, aa as Pt, ab as j, ac as me, ad as Xe, ae as Ze, af as he, ag as Nt, ah as Ut, ai as Dt, I as Lt, aj as Wt, ak as et, al as tt, am as Mt, J as X, an as Ft, T as ot, H as nt, ao as jt, Y as Bt, ap as Oe, aq as Yt, ar as zt, as as Ae, at as Ht, au as Gt, O as g, av as Ee, aw as Vt, ax as xe, ay as Kt, az as Jt, aA as Qt, A as rt, a as st } from "./replay-index-
|
|
3
|
-
import { b as k, f as at, a as it, c as ct, d as Z, e as lt, i as $e, h as we, R as L, j as Xt, k as Zt, p as eo, s as Re, l as to } from "./replay-db-
|
|
4
|
-
import { b as oo, o as no, d as ro, e as p, u as ee, f as c, h as x, j as S, n as T, k as U, m as w, q as b, r as Ie, t as B, v as te, Z as W, w as so, x as _e, c as ao, s as io, y as co } from "./replay-create-model-
|
|
2
|
+
import { R as $t, E as se, a1 as H, a2 as Rt, a3 as _t, a4 as qt, b as O, U as D, a5 as Je, a6 as de, Q as ue, a7 as Qe, a8 as pe, a9 as fe, aa as Pt, ab as j, ac as me, ad as Xe, ae as Ze, af as he, ag as Nt, ah as Ut, ai as Dt, I as Lt, aj as Wt, ak as et, al as tt, am as Mt, J as X, an as Ft, T as ot, H as nt, ao as jt, Y as Bt, ap as Oe, aq as Yt, ar as zt, as as Ae, at as Ht, au as Gt, O as g, av as Ee, aw as Vt, ax as xe, ay as Kt, az as Jt, aA as Qt, A as rt, a as st } from "./replay-index-BowK-_3Z.js";
|
|
3
|
+
import { b as k, f as at, a as it, c as ct, d as Z, e as lt, i as $e, h as we, R as L, j as Xt, k as Zt, p as eo, s as Re, l as to } from "./replay-db-DKzJowQC.js";
|
|
4
|
+
import { b as oo, o as no, d as ro, e as p, u as ee, f as c, h as x, j as S, n as T, k as U, m as w, q as b, r as Ie, t as B, v as te, Z as W, w as so, x as _e, c as ao, s as io, y as co } from "./replay-create-model-BhuazQ2q.js";
|
|
5
5
|
import { useInfiniteQuery as lo, useQuery as uo } from "@tanstack/react-query";
|
|
6
6
|
const G = {
|
|
7
7
|
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-BgR6vFGV.js"),n=require("./replay-index-ClVtMDHn.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-BhuazQ2q.js";
|
|
2
|
+
import { M as s } from "./replay-index-BowK-_3Z.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-ClVtMDHn.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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as s, r,
|
|
1
|
+
import { E as s, r, be as t, bf as l, R as o, bg as b, bh as p, x as R, bi as d, bj as m, z as n, bk as i, bl as y, bm as h, bn as u, p as A, o as T, bo as E, bp as O } from "./replay-index-BowK-_3Z.js";
|
|
2
2
|
import { O as I, h as P } from "./replay-oauth2-redirect-handler-CqKZB3aV.js";
|
|
3
3
|
export {
|
|
4
4
|
s as AI_PROVIDERS,
|
|
@@ -8,10 +8,10 @@ export {
|
|
|
8
8
|
I as OAuth2Error,
|
|
9
9
|
o as REUNITE_AI_PROVIDER,
|
|
10
10
|
b as Replay,
|
|
11
|
-
|
|
11
|
+
p as ReplayOverlay,
|
|
12
12
|
R as SpanStatusCode,
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
d as TelemetryClient,
|
|
14
|
+
m as applyThemeToDOM,
|
|
15
15
|
n as createResource,
|
|
16
16
|
i as getCurrentTheme,
|
|
17
17
|
P as handleOAuth2Redirect,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.27.0-next.
|
|
3
|
+
"version": "0.27.0-next.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/replay.cjs",
|
|
6
6
|
"module": "./dist/replay.js",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"@tanstack/react-query": "5.62.3",
|
|
20
|
-
"react": "^19.2.
|
|
21
|
-
"react-dom": "^19.2.
|
|
22
|
-
"react-router
|
|
20
|
+
"react": "^19.2.7",
|
|
21
|
+
"react-dom": "^19.2.7",
|
|
22
|
+
"react-router": "^8.3.0",
|
|
23
23
|
"styled-components": "^6.4.2",
|
|
24
|
-
"@redocly/theme": "0.68.0-next.
|
|
24
|
+
"@redocly/theme": "0.68.0-next.7"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@ai-sdk/anthropic": "4.0.4",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@opentelemetry/api": "1.9.1",
|
|
54
54
|
"@redocly/hookstate-core": "^4.2.4",
|
|
55
55
|
"@redocly/hookstate-devtools": "^4.2.1",
|
|
56
|
-
"@redocly/openapi-core": "2.
|
|
57
|
-
"@redocly/respect-core": "2.
|
|
56
|
+
"@redocly/openapi-core": "2.45.0",
|
|
57
|
+
"@redocly/respect-core": "2.45.0",
|
|
58
58
|
"@redocly/vscode-json-languageservice": "^3.4.9",
|
|
59
59
|
"@tauri-apps/api": "2.4.1",
|
|
60
60
|
"@tauri-apps/plugin-dialog": "2.0.0-rc.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-BmotNqNI.js");async function a(t={}){return typeof t=="object"&&Object.freeze(t),await i.invoke("plugin:dialog|open",{options:t})}async function o(t={}){return typeof t=="object"&&Object.freeze(t),await i.invoke("plugin:dialog|save",{options:t})}async function l(t,n){const e=typeof n=="string"?{title:n}:n;await i.invoke("plugin:dialog|message",{message:t.toString(),title:e?.title?.toString(),kind:e?.kind,okButtonLabel:e?.okLabel?.toString()})}async function r(t,n){const e=typeof n=="string"?{title:n}:n;return await i.invoke("plugin:dialog|ask",{message:t.toString(),title:e?.title?.toString(),kind:e?.kind,okButtonLabel:e?.okLabel?.toString()??"Yes",cancelButtonLabel:e?.cancelLabel?.toString()??"No"})}async function c(t,n){const e=typeof n=="string"?{title:n}:n;return await i.invoke("plugin:dialog|confirm",{message:t.toString(),title:e?.title?.toString(),kind:e?.kind,okButtonLabel:e?.okLabel?.toString()??"Ok",cancelButtonLabel:e?.cancelLabel?.toString()??"Cancel"})}exports.ask=r;exports.confirm=c;exports.message=l;exports.open=a;exports.save=o;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
async function e(n, r = {}, o) {
|
|
2
|
-
return window.__TAURI_INTERNALS__.invoke(n, r, o);
|
|
3
|
-
}
|
|
4
|
-
async function p(n, r) {
|
|
5
|
-
await e("plugin:opener|open_url", {
|
|
6
|
-
url: n,
|
|
7
|
-
with: r
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
async function t(n, r) {
|
|
11
|
-
await e("plugin:opener|open_path", {
|
|
12
|
-
path: n,
|
|
13
|
-
with: r
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
async function i(n) {
|
|
17
|
-
return e("plugin:opener|reveal_item_in_dir", { paths: typeof n == "string" ? [n] : n });
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
t as openPath,
|
|
21
|
-
p as openUrl,
|
|
22
|
-
i as revealItemInDir
|
|
23
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});async function r(e,n={},o){return window.__TAURI_INTERNALS__.invoke(e,n,o)}async function t(e,n){await r("plugin:opener|open_url",{url:e,with:n})}async function i(e,n){await r("plugin:opener|open_path",{path:e,with:n})}async function p(e){return r("plugin:opener|reveal_item_in_dir",{paths:typeof e=="string"?[e]:e})}exports.openPath=i;exports.openUrl=t;exports.revealItemInDir=p;
|