@redocly/replay 0.28.0-next.7 → 0.28.0-next.8
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-Dib77evR.js → replay-AiChatProvider--1WugvKf.js} +1 -1
- package/dist/{replay-AiChatProvider-CL61KEj-.js → replay-AiChatProvider-BJdxRVOc.js} +6 -6
- package/dist/{replay-AiChatSqliteDBStorage-BmHRaty6.js → replay-AiChatSqliteDBStorage-D9fgt_9s.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-CAB-uQ_2.js → replay-AiChatSqliteDBStorage-DbGtw6xx.js} +1 -1
- package/dist/{replay-AiPanel-CKf0GTch.js → replay-AiPanel-BU8oG0pD.js} +4 -4
- package/dist/{replay-AiPanel-Co-SG9hy.js → replay-AiPanel-BYOLZjQX.js} +1 -1
- package/dist/{replay-FileWatcher-BpsHu7xD.js → replay-FileWatcher-BrhE0AP6.js} +1 -1
- package/dist/{replay-FileWatcher-BpncVTHg.js → replay-FileWatcher-JoqPJECh.js} +2 -2
- package/dist/{replay-SemanticSearchService-B9YYS_s4.js → replay-SemanticSearchService-BgQ1HMcT.js} +1 -1
- package/dist/{replay-SemanticSearchService-B_97hbQZ.js → replay-SemanticSearchService-DRDdGJkI.js} +1 -1
- package/dist/{replay-SqliteDBStorage-BYAD4Hdr.js → replay-SqliteDBStorage-B3zO7RGD.js} +1 -1
- package/dist/{replay-SqliteDBStorage-C4jv_awl.js → replay-SqliteDBStorage-D9Oeu_XC.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-DNp7rTwA.js → replay-TauriFileSystemAdapter-CxHFFCmk.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-dRydQRfd.js → replay-TauriFileSystemAdapter-DJETGEY7.js} +1 -1
- package/dist/{replay-TauriRootStorage-TvtzeQ9x.js → replay-TauriRootStorage-BSQQcFgG.js} +1 -1
- package/dist/{replay-TauriRootStorage-BUSjQzb0.js → replay-TauriRootStorage-XIJpsp6_.js} +2 -2
- package/dist/{replay-agent-loop-Bv3OEM5Y.js → replay-agent-loop-DxK1tiVw.js} +3 -3
- package/dist/{replay-agent-loop-FONgy9Lo.js → replay-agent-loop-IDavXm8f.js} +1 -1
- package/dist/{replay-ai-chat-mappers-Kj9YEXwF.js → replay-ai-chat-mappers-B-_eSMi4.js} +1 -1
- package/dist/{replay-ai-chat-mappers-CknwkJ22.js → replay-ai-chat-mappers-BmvAc4xt.js} +1 -1
- package/dist/{replay-create-model-DgfhU1ps.js → replay-create-model-CIY7WZ1P.js} +3 -3
- package/dist/{replay-create-model-Bq8Fl5Ai.js → replay-create-model-CscK0cT1.js} +3 -3
- package/dist/{replay-db-D3MZ3YVw.js → replay-db-C_cdHXEt.js} +1 -1
- package/dist/{replay-db-DjHsvWMQ.js → replay-db-e_3o5e3f.js} +1 -1
- package/dist/{replay-external-resolver-DgcgzfRI.js → replay-external-resolver-BmOmF-DG.js} +1 -1
- package/dist/{replay-external-resolver-SsE1pZoq.js → replay-external-resolver-nuL3ajF5.js} +2 -2
- package/dist/{replay-index-AEsPADo_.js → replay-index-B8Zfn7JD.js} +516 -510
- package/dist/{replay-index-C04sCExL.js → replay-index-C_DfEx-H.js} +1 -1
- package/dist/{replay-index-B-Z3hRlH.js → replay-index-DDt4LOBo.js} +13399 -13382
- package/dist/{replay-index-B3h5Szid.js → replay-index-Da2H-hpA.js} +2 -2
- package/dist/{replay-index-BJ5jmb2F.js → replay-index-DcbwI4wD.js} +1 -1
- package/dist/{replay-index-DzrZDRUX.js → replay-index-DjdDUkfV.js} +13 -13
- package/dist/{replay-index-l3GM4sbc.js → replay-index-E3Eu6_jY.js} +1 -1
- package/dist/{replay-index-eABpOyfi.js → replay-index-etIeWhnn.js} +1 -1
- package/dist/{replay-lint-BHwuW5sm.js → replay-lint-BjrmIhuZ.js} +11034 -10745
- package/dist/replay-lint-DVAifLdU.js +177 -0
- package/dist/{replay-lint-graphql-taKxgtqM.js → replay-lint-graphql-D1qaeEmu.js} +1 -1
- package/dist/{replay-lint-graphql-CcbpryHy.js → replay-lint-graphql-U_VxwRr1.js} +1 -1
- package/dist/{replay-periodic-revalidation-CEMQo8s1.js → replay-periodic-revalidation-BtEKdEKa.js} +1 -1
- package/dist/{replay-periodic-revalidation-Cg2y1tgz.js → replay-periodic-revalidation-C3eLm7Mw.js} +1 -1
- package/dist/{replay-resolve-DJdvx14A.js → replay-resolve-BYJosLqD.js} +18 -18
- package/dist/{replay-resolve-CSzH6SDp.js → replay-resolve-C97SfUAB.js} +271 -271
- package/dist/replay-respect-run-3FHTVHvs.js +8392 -0
- package/dist/replay-respect-run-CW5xFLKz.js +82 -0
- package/dist/{replay-tauri-path-C-oZvov6.js → replay-tauri-path-C-vLbl1V.js} +2 -2
- package/dist/{replay-tauri-path-D_hXMLdc.js → replay-tauri-path-CMpWmGvW.js} +1 -1
- package/dist/{replay-useAiChatQueries-DVCG23XB.js → replay-useAiChatQueries-CEYDGx9f.js} +1 -1
- package/dist/{replay-useAiChatQueries-DFd8ZJQG.js → replay-useAiChatQueries-DhTcllVx.js} +4 -4
- package/dist/{replay-validate-key-fIEjvAUc.js → replay-validate-key-DJ_1khxq.js} +2 -2
- package/dist/{replay-validate-key-qqV8ZWzl.js → replay-validate-key-Dj_UT2WG.js} +1 -1
- package/dist/replay.cjs +1 -1
- package/dist/replay.js +1 -1
- package/package.json +5 -5
- package/dist/replay-lint-7nMI-JAv.js +0 -177
- package/dist/replay-respect-run-DTUpcIOb.js +0 -78
- package/dist/replay-respect-run-gVY8_9EV.js +0 -8200
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bc as h, a8 as x, bd as i } from "./replay-index-
|
|
2
|
-
import { be as $, bf as d, a5 as j } from "./replay-index-
|
|
1
|
+
import { bc as h, a8 as x, bd as i } from "./replay-index-DDt4LOBo.js";
|
|
2
|
+
import { be as $, bf as d, a5 as j } from "./replay-index-DDt4LOBo.js";
|
|
3
3
|
async function P(n, e) {
|
|
4
4
|
const t = x(), c = await i(n), l = await i(e), o = c.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), r = l.replace(new RegExp(`^${t}+`), "").split(t).filter(Boolean), m = Math.min(o.length, r.length);
|
|
5
5
|
let s = 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-B8Zfn7JD.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 Ae=require("react"),a=require("./replay-index-
|
|
1
|
+
"use strict";const Ae=require("react"),a=require("./replay-index-B8Zfn7JD.js"),m=require("./replay-db-e_3o5e3f.js"),n=require("./replay-create-model-CscK0cT1.js"),A=require("./replay-SemanticSearchService-BgQ1HMcT.js"),Ce=require("@tanstack/react-query"),M={path:"pathParameters",query:"queryParameters",header:"headers",cookie:"cookies"},ut={run_request:{approveLabel:"Run",denyLabel:"Skip"},update_step:{approveLabel:"Apply",denyLabel:"Dismiss"},update_security:{approveLabel:"Apply",denyLabel:"Dismiss"}},pt={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"}},ft={CHAT:"chat",HISTORY:"history"},mt="report_status",ht="run_workflow",j={WEB_SEARCH:"web_search"};function yt(e){switch(e.provider){case a.AI_PROVIDERS.GEMINI:return{[j.WEB_SEARCH]:n.google.tools.googleSearch({})};case a.AI_PROVIDERS.OPENAI:return{[j.WEB_SEARCH]:n.openai.tools.webSearch({})};case a.AI_PROVIDERS.ANTHROPIC:return{[j.WEB_SEARCH]:n.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 It=["info","workflows","sourceDescriptions"];function wt(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 gt(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 bt(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 vt(e,t){const o=["Current tab (collection)"];for(const r of t)switch(r){case"info":o.push(wt(e));break;case"workflows":o.push(gt(e));break;case"sourceDescriptions":o.push(bt(e));break}return m.buildMessageFromArray(o,`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useContext as Ft, createContext as Yt } from "react";
|
|
2
|
-
import { U as zt, a2 as ge, au as ne, av as Ht, aw as Gt, ax as Vt, m as $, j as le, ak as Y, ay as pt, az as Ce, aj as Ae, aA as ft, aB as de, aC as Z, h as b, aD as Kt, B as G, x as V, aE as mt, aF as ue, z as Ee, aG as Jt, aH as Qt, aI as Xt, aJ as Zt, aK as eo, aL as to, aM as oo, p as K, aN as no, q as ee, I as ro, aO as so, aP as ht, aQ as wt, aR as ao, aS as It, aT as xe, aU as Oe, u as J, aV as io, T as yt, aW as $e, ac as vt, aX as co, aY as lo, ah as k, aZ as je, a_ as uo, a$ as Be, b0 as po, b1 as fo, b2 as mo, A as gt, k as bt } from "./replay-index-
|
|
3
|
-
import { b as C, f as kt, a as St, c as Tt, d as pe, e as Ct, i as Fe, h as _e, R as z, j as ho, k as wo, p as Io, s as Ye, l as yo } from "./replay-db-
|
|
4
|
-
import { b as vo, o as go, d as bo, e as p, u as fe, f as i, h as R, j as E, n as A, k as F, m as w, q as T, r as Re, t as te, v as me, Z as H, w as ko, x as ze, c as So, s as To, y as Co } from "./replay-create-model-
|
|
5
|
-
import { g as Oo, c as He, d as Ao, f as Eo, h as Ge, i as xo, j as $o } from "./replay-SemanticSearchService-
|
|
2
|
+
import { U as zt, a2 as ge, au as ne, av as Ht, aw as Gt, ax as Vt, m as $, j as le, ak as Y, ay as pt, az as Ce, aj as Ae, aA as ft, aB as de, aC as Z, h as b, aD as Kt, B as G, x as V, aE as mt, aF as ue, z as Ee, aG as Jt, aH as Qt, aI as Xt, aJ as Zt, aK as eo, aL as to, aM as oo, p as K, aN as no, q as ee, I as ro, aO as so, aP as ht, aQ as wt, aR as ao, aS as It, aT as xe, aU as Oe, u as J, aV as io, T as yt, aW as $e, ac as vt, aX as co, aY as lo, ah as k, aZ as je, a_ as uo, a$ as Be, b0 as po, b1 as fo, b2 as mo, A as gt, k as bt } from "./replay-index-DDt4LOBo.js";
|
|
3
|
+
import { b as C, f as kt, a as St, c as Tt, d as pe, e as Ct, i as Fe, h as _e, R as z, j as ho, k as wo, p as Io, s as Ye, l as yo } from "./replay-db-C_cdHXEt.js";
|
|
4
|
+
import { b as vo, o as go, d as bo, e as p, u as fe, f as i, h as R, j as E, n as A, k as F, m as w, q as T, r as Re, t as te, v as me, Z as H, w as ko, x as ze, c as So, s as To, y as Co } from "./replay-create-model-CIY7WZ1P.js";
|
|
5
|
+
import { g as Oo, c as He, d as Ao, f as Eo, h as Ge, i as xo, j as $o } from "./replay-SemanticSearchService-DRDdGJkI.js";
|
|
6
6
|
import { useInfiniteQuery as _o, useQuery as Ro } from "@tanstack/react-query";
|
|
7
7
|
const re = {
|
|
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-CIY7WZ1P.js";
|
|
2
|
+
import { M as s } from "./replay-index-DDt4LOBo.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-CscK0cT1.js"),n=require("./replay-index-B8Zfn7JD.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-B8Zfn7JD.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 { a2 as s, V as r, bC as t, bD as l, U as o, bE as b, bF as d, e as R, bG as m, bH as p, d as n, bI as y, bJ as i, bK as u, bL as A, N as T, L as h, bM as E, bN as O } from "./replay-index-
|
|
1
|
+
import { a2 as s, V as r, bC as t, bD as l, U as o, bE as b, bF as d, e as R, bG as m, bH as p, d as n, bI as y, bJ as i, bK as u, bL as A, N as T, L as h, bM as E, bN as O } from "./replay-index-DDt4LOBo.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,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/replay",
|
|
3
|
-
"version": "0.28.0-next.
|
|
3
|
+
"version": "0.28.0-next.8",
|
|
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.69.0-next.
|
|
19
|
+
"@redocly/theme": "0.69.0-next.8",
|
|
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.51.2",
|
|
55
55
|
"@redocly/replay-asyncapi-sdk": "0.0.1",
|
|
56
|
-
"@redocly/respect-core": "2.
|
|
56
|
+
"@redocly/respect-core": "2.51.2",
|
|
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",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"copy-static": "cp src/oauth2-redirect-page/oauth2-redirect.html dist",
|
|
117
117
|
"preview": "vite preview",
|
|
118
118
|
"ts:check": "tsgo --noEmit --skipLibCheck",
|
|
119
|
-
"knip:check": "pnpm knip --directory ../.. -W packages/replay",
|
|
119
|
+
"knip:check:local": "pnpm knip --directory ../.. -W packages/replay",
|
|
120
120
|
"test": "nx run vitest:test",
|
|
121
121
|
"watch": "tsgo --build --watch",
|
|
122
122
|
"clean": "rm -rf dist"
|