@redocly/replay 0.28.0-next.9 → 0.28.0
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-B_f9Wn8a.js → replay-AiChatProvider-BRqjyy2W.js} +2 -2
- package/dist/{replay-AiChatProvider-DuTK5g1N.js → replay-AiChatProvider-DUVoLgY2.js} +138 -140
- package/dist/{replay-AiChatSqliteDBStorage-cXsRIQfJ.js → replay-AiChatSqliteDBStorage-0evx56pl.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-CHfMo6M6.js → replay-AiChatSqliteDBStorage-C5AnRloD.js} +1 -1
- package/dist/{replay-AiPanel-CGbGwIMX.js → replay-AiPanel-CMjVD12K.js} +50 -50
- package/dist/{replay-AiPanel-C_C52r20.js → replay-AiPanel-PVgJioX3.js} +2 -2
- package/dist/replay-FileWatcher-CFYprlWN.js +364 -0
- package/dist/replay-FileWatcher-DGLwO5Kd.js +1 -0
- package/dist/{replay-SemanticSearchService-BLF1oOOu.js → replay-SemanticSearchService-Bh5xYa91.js} +15 -15
- package/dist/{replay-SemanticSearchService-DTc0oxN4.js → replay-SemanticSearchService-CulKCCNl.js} +1 -1
- package/dist/{replay-SqliteDBStorage-DF9kKplR.js → replay-SqliteDBStorage-Bz0muHEk.js} +1 -1
- package/dist/{replay-SqliteDBStorage-B_kyJ0a3.js → replay-SqliteDBStorage-CVHRAsPD.js} +1 -1
- package/dist/replay-TauriFileSystemAdapter-B163-f2D.js +108 -0
- package/dist/replay-TauriFileSystemAdapter-D4bOmvzP.js +1 -0
- package/dist/{replay-TauriRootStorage-Den8gI4S.js → replay-TauriRootStorage-2MPQE-3f.js} +192 -188
- package/dist/replay-TauriRootStorage-CjWUrnWz.js +1 -0
- package/dist/{replay-agent-loop-B8Mjb8DU.js → replay-agent-loop-BgYyBo9e.js} +3 -3
- package/dist/{replay-agent-loop-Z_nrrmg_.js → replay-agent-loop-DYDFXAZj.js} +1 -1
- package/dist/{replay-ai-chat-mappers-D7e8buTk.js → replay-ai-chat-mappers-BEwNRQPV.js} +1 -1
- package/dist/{replay-ai-chat-mappers-aJ_VMb6Z.js → replay-ai-chat-mappers-CMtNqQHX.js} +1 -1
- package/dist/{replay-create-model-Bw20x80b.js → replay-create-model-B2ZsGTjs.js} +3 -3
- package/dist/{replay-create-model-Be3vPVDb.js → replay-create-model-DPxfOEfv.js} +4 -4
- package/dist/{replay-db-BQXljNM0.js → replay-db-C9iqyMet.js} +1 -1
- package/dist/{replay-db-BmZNrdZM.js → replay-db-D4-LmLRk.js} +1 -1
- package/dist/{replay-external-resolver-BQvSDNfH.js → replay-external-resolver-BXgVrfzk.js} +2 -2
- package/dist/{replay-external-resolver-BLzbbtnT.js → replay-external-resolver-CTUbNZGW.js} +1 -1
- package/dist/{replay-index-BCz452N6.js → replay-index-4TEahAPK.js} +21604 -21055
- package/dist/{replay-index-C0kvTxxm.js → replay-index-B4U7iZuq.js} +41 -41
- package/dist/{replay-index-DAIwC3ls.js → replay-index-B8O3wYqo.js} +1 -1
- package/dist/{replay-index-C7y4K4Cr.js → replay-index-Bdg7noSD.js} +1 -1
- package/dist/replay-index-CG9VN2JQ.js +4 -0
- package/dist/{replay-index-B-uZhXHj.js → replay-index-DcC173cC.js} +1 -1
- package/dist/{replay-index-DYtXcqDk.js → replay-index-Nz5obVS5.js} +1131 -1131
- package/dist/{replay-index-wBHsAQEV.js → replay-index-q63USe25.js} +1 -1
- package/dist/{replay-lint-BzkTeXqI.js → replay-lint-4XFKTmSY.js} +97 -97
- package/dist/{replay-lint-graphql-BZF2eLiZ.js → replay-lint-graphql-BsBWkZ6L.js} +1 -1
- package/dist/{replay-lint-graphql-BDBGJSir.js → replay-lint-graphql-De2eDZnT.js} +1 -1
- package/dist/{replay-lint-CqDMOMQt.js → replay-lint-s7ylMBWz.js} +6100 -6063
- package/dist/{replay-periodic-revalidation-C7SkB1vs.js → replay-periodic-revalidation-BMFP7f-u.js} +1 -1
- package/dist/{replay-periodic-revalidation-orCv_JoF.js → replay-periodic-revalidation-DJbblUef.js} +1 -1
- package/dist/{replay-resolve-DZMWoig2.js → replay-resolve-BtNxNrKo.js} +1 -1
- package/dist/{replay-resolve-0e5f8I7b.js → replay-resolve-BueEsOnR.js} +1 -1
- package/dist/{replay-respect-run-ChP63WzG.js → replay-respect-run-B_dJjlti.js} +1 -1
- package/dist/{replay-respect-run-CLW3wGhx.js → replay-respect-run-Dfpbcsns.js} +3 -3
- package/dist/{replay-tauri-path-DBt1dqkG.js → replay-tauri-path-Bht3XIt7.js} +1 -1
- package/dist/{replay-tauri-path-DvLF4Z8f.js → replay-tauri-path-CiuYXh_j.js} +2 -2
- package/dist/replay-useAiChatQueries-02CRdEPJ.js +215 -0
- package/dist/{replay-useAiChatQueries-S6v5duiJ.js → replay-useAiChatQueries-D2hh5omV.js} +994 -945
- package/dist/{replay-validate-key-CNl7BV_v.js → replay-validate-key-ALwOF1Ux.js} +1 -1
- package/dist/{replay-validate-key-CMJODIH6.js → replay-validate-key-B7fbWbfv.js} +2 -2
- package/dist/replay.cjs +1 -1
- package/dist/replay.d.ts +5 -0
- package/dist/replay.js +8 -8
- package/package.json +5 -5
- package/dist/replay-FileWatcher-DEOB0_DG.js +0 -1
- package/dist/replay-FileWatcher-Z6eygcBI.js +0 -359
- package/dist/replay-TauriFileSystemAdapter-CwSMakdJ.js +0 -1
- package/dist/replay-TauriFileSystemAdapter-DcFBYSUW.js +0 -99
- package/dist/replay-TauriRootStorage-DEGEIJrz.js +0 -1
- package/dist/replay-index-gM6vL6iT.js +0 -4
- package/dist/replay-useAiChatQueries-Bypgnkwa.js +0 -215
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as nd, h as zh, A as Kr } from "./replay-index-
|
|
1
|
+
import { R as nd, h as zh, A as Kr } from "./replay-index-4TEahAPK.js";
|
|
2
2
|
var ad = "vercel.ai.error", Fh = Symbol.for(ad), Js, Ks, ve = class rd extends (Ks = Error, Js = Fh, Ks) {
|
|
3
3
|
/**
|
|
4
4
|
* Creates an AI SDK Error.
|
|
@@ -13622,8 +13622,8 @@ async function KT() {
|
|
|
13622
13622
|
if (hf())
|
|
13623
13623
|
return fi == null && (fi = import(
|
|
13624
13624
|
/* webpackIgnore: true */
|
|
13625
|
-
"./replay-index-
|
|
13626
|
-
).then((e) => e.
|
|
13625
|
+
"./replay-index-4TEahAPK.js"
|
|
13626
|
+
).then((e) => e.bD).catch(() => {
|
|
13627
13627
|
})), fi;
|
|
13628
13628
|
}
|
|
13629
13629
|
function nc(e) {
|
|
@@ -20219,7 +20219,7 @@ function dk(e) {
|
|
|
20219
20219
|
}
|
|
20220
20220
|
return "Unknown error";
|
|
20221
20221
|
}
|
|
20222
|
-
const pk = "replay/ai-conversations", mk = "replay", fk = "0.28.0
|
|
20222
|
+
const pk = "replay/ai-conversations", mk = "replay", fk = "0.28.0";
|
|
20223
20223
|
function hk(e) {
|
|
20224
20224
|
const t = e.baseUrl.replace(/\/$/, ""), o = e.accessToken;
|
|
20225
20225
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("./replay-index-
|
|
1
|
+
"use strict";const r=require("./replay-index-Nz5obVS5.js"),y=4e3;function c(t,e=`
|
|
2
2
|
`){return t.length===0?"":t.filter(Boolean).join(e)}function b(t){return t.map(e=>c([e.description!=null?`Description: ${e.description}`:null,`Status Code: ${e.statusCode}`,e.schemaProperties!=null?`Schema Properties: ${e.schemaProperties}`:null],", ")).join(`
|
|
3
3
|
`)}function g(t){return t.map(e=>c([`Name: ${e.name}`,`In: ${e.in}`,`Required: ${e.required}`,e.description!=null?`Description: ${e.description}`:null,e.example!=null?`Example: ${e.example}`:null,e.pattern!=null?`Pattern: ${e.pattern}`:null,e.type!=null?`Type: ${e.type}`:null],", ")).join(`
|
|
4
4
|
`)}function w(t){const e=[];for(const s of t){const o=[];for(const i of Object.keys(s)){const l=s[i];o.push(`${i}=${l}`)}const n=c(o,"; ");e.push(n)}return c(e)}function S(t){if("key"in t){const s=[`id=${t.id}`,`value=${t.value}`,`active=${t.active}`];return c(s," ")}const e=[`reference=${t.reference}`,`value=${t.value??""}`,`active=${t.active}`];return c(e," ")}function $(t){const e=[],s=[["queryParameters",t.queryParameters],["headers",t.headers],["cookies",t.cookies],["pathParameters",t.pathParameters]];for(const[o,n]of s)if(n?.length){const i=n.map(l=>` ${S(l)}`);e.push(`${o}:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as a, p as i, h as s, e as c, r as d, b as l } from "./replay-index-
|
|
2
|
-
import { B as h, r as p, S as o } from "./replay-resolve-
|
|
1
|
+
import { g as a, p as i, h as s, e as c, r as d, b as l } from "./replay-index-4TEahAPK.js";
|
|
2
|
+
import { B as h, r as p, S as o } from "./replay-resolve-BtNxNrKo.js";
|
|
3
3
|
class E extends h {
|
|
4
4
|
constructor() {
|
|
5
5
|
super();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./replay-index-Nz5obVS5.js"),n=require("./replay-resolve-BueEsOnR.js");class c extends n.BaseResolver{constructor(){super()}resolveExternalRef(e,t){return r.isAbsoluteUrl(t)?t:e&&r.isAbsoluteUrl(e)?new URL(t,e).href:e?r.path.resolve(r.path.dirname(e),t):t}async loadExternalRef(e){if(r.isAbsoluteUrl(e)){const{body:t,mimeType:i}=await n.readFileFromUrl(e,{...this.config.http,customFetch:r.fetch});return new n.Source(e,t,i)}else{if(!await r.exists(e))throw new Error(`File not found at ${e}.`);try{throw await r.readDir(e),new Error(`Expected a file but received a folder at ${e}.`)}catch(o){if(o instanceof Error&&o.message.includes("Expected a file but received a folder"))throw o}const i=await r.readTextFile(e);return new n.Source(e,i.replace(/\r\n/g,`
|
|
2
2
|
`))}}}exports.ExternalResolver=c;
|