@redocly/replay 0.30.0-next.9 → 0.30.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-V-vhKDxd.js → replay-AiChatProvider-CXLNIcfY.js} +6 -6
- package/dist/{replay-AiChatProvider-Cc1MYhNY.js → replay-AiChatProvider-DT3Egull.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-D3ABpus1.js → replay-AiChatSqliteDBStorage-DxeQj8Ji.js} +1 -1
- package/dist/{replay-AiChatSqliteDBStorage-DbuX33xq.js → replay-AiChatSqliteDBStorage-WVrs0IxC.js} +1 -1
- package/dist/{replay-AiPanel-C-_dfvYm.js → replay-AiPanel-3Lx6Liqa.js} +4 -4
- package/dist/{replay-AiPanel-DmxeL5Rf.js → replay-AiPanel-CXwPR7FC.js} +1 -1
- package/dist/{replay-FileWatcher-DzZhHEsP.js → replay-FileWatcher-CRqPa1oy.js} +1 -1
- package/dist/{replay-FileWatcher-DQayB_oR.js → replay-FileWatcher-DtPS3QVb.js} +2 -2
- package/dist/{replay-SemanticSearchService-C62OWDmC.js → replay-SemanticSearchService-BObzVsce.js} +1 -1
- package/dist/{replay-SemanticSearchService-KsRtLg0N.js → replay-SemanticSearchService-CDZxWaXg.js} +1 -1
- package/dist/{replay-SqliteDBStorage-Q03jo_lb.js → replay-SqliteDBStorage-CW42QHKM.js} +1 -1
- package/dist/{replay-SqliteDBStorage-CwK7K4cj.js → replay-SqliteDBStorage-DFswOoxk.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-8vltlDfs.js → replay-TauriFileSystemAdapter-BwPAJXJU.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-D1On4ntI.js → replay-TauriFileSystemAdapter-VW4nQJx3.js} +1 -1
- package/dist/{replay-TauriRootStorage-xFPjroQC.js → replay-TauriRootStorage-CV796F4B.js} +1 -1
- package/dist/{replay-TauriRootStorage-Itj7idaX.js → replay-TauriRootStorage-PDk2VJTL.js} +2 -2
- package/dist/{replay-agent-loop-rEld9oF-.js → replay-agent-loop-CrhqM5jp.js} +1 -1
- package/dist/{replay-agent-loop-1nHq9jnv.js → replay-agent-loop-DeChBPFl.js} +3 -3
- package/dist/{replay-ai-chat-mappers-DNfpJk85.js → replay-ai-chat-mappers-Bbi5qQnY.js} +1 -1
- package/dist/{replay-ai-chat-mappers-CZc31P4G.js → replay-ai-chat-mappers-BfSVq04m.js} +1 -1
- package/dist/{replay-create-model-D2PYVWYc.js → replay-create-model-BH_OQyM4.js} +3 -3
- package/dist/{replay-create-model-DcMU3Yxm.js → replay-create-model-CNUCimar.js} +3 -3
- package/dist/{replay-db-CFqFU1D2.js → replay-db-Dw3J7B4-.js} +1 -1
- package/dist/{replay-db-BZWPVXvS.js → replay-db-kOEFM7we.js} +1 -1
- package/dist/{replay-external-resolver-Dz9QqU4-.js → replay-external-resolver-DRERucjM.js} +1 -1
- package/dist/{replay-external-resolver-CI7sZxO3.js → replay-external-resolver-iYXwhjgN.js} +2 -2
- package/dist/{replay-index-CdLLebq6.js → replay-index-BNWwUamJ.js} +5 -5
- package/dist/{replay-index-BfiGpjV0.js → replay-index-BmAT6NH8.js} +1 -1
- package/dist/replay-index-CEzZ-nNg.js +4 -0
- package/dist/{replay-index-DMy5OBRE.js → replay-index-COdtZP45.js} +1 -1
- package/dist/{replay-index-DgTXgzAv.js → replay-index-CcB9D4eO.js} +27 -27
- package/dist/{replay-index-Cp0wQDgB.js → replay-index-CgMBbjl1.js} +1 -1
- package/dist/{replay-index-DSNoVX-p.js → replay-index-CwuYslX9.js} +16 -16
- package/dist/{replay-index-B_pYgKvz.js → replay-index-DaDM-o0F.js} +1 -1
- package/dist/{replay-index-BU0VNqJi.js → replay-index-TBsL9E-2.js} +1 -1
- package/dist/{replay-index-COk-TAX_.js → replay-index-eMgUixYk.js} +1 -1
- package/dist/{replay-index-BxakPLws.js → replay-index-hS-IPRQ5.js} +1 -1
- package/dist/{replay-index-D80fZ6cK.js → replay-index-m5iBbg-4.js} +1 -1
- package/dist/{replay-lint-BkctMZa_.js → replay-lint-CF99Iyje.js} +3 -3
- package/dist/{replay-lint-rCLmOycv.js → replay-lint-CaxOqxP-.js} +3 -3
- package/dist/{replay-lint-graphql-BGffGPIm.js → replay-lint-graphql-DwLEV5ID.js} +1 -1
- package/dist/{replay-lint-graphql-D3uY3Q9Q.js → replay-lint-graphql-UIkqcOe5.js} +2 -2
- package/dist/{replay-periodic-revalidation-Bi31UOvh.js → replay-periodic-revalidation-D0eDYez9.js} +1 -1
- package/dist/{replay-periodic-revalidation-BgUjxDxQ.js → replay-periodic-revalidation-DlW--kpo.js} +1 -1
- package/dist/{replay-resolve-B-14UldE.js → replay-resolve-Cmty1rPE.js} +1 -1
- package/dist/{replay-resolve-DACGscxu.js → replay-resolve-Cr6pQfRb.js} +1 -1
- package/dist/{replay-respect-run-CK8L1S-l.js → replay-respect-run-Df-HooUy.js} +1 -1
- package/dist/{replay-respect-run-CpYF1niv.js → replay-respect-run-DvUQJ4xs.js} +3 -3
- package/dist/{replay-tauri-path-CvHb2p4I.js → replay-tauri-path-CoJ56WRW.js} +2 -2
- package/dist/{replay-tauri-path-B8kon_Ur.js → replay-tauri-path-Co_LYqH4.js} +1 -1
- package/dist/{replay-useAiChatQueries-D2ikp2U7.js → replay-useAiChatQueries-DueDJeFu.js} +4 -4
- package/dist/{replay-useAiChatQueries-hHUMQ7YP.js → replay-useAiChatQueries-XWel_Kbw.js} +1 -1
- package/dist/{replay-validate-key-BxGJ5w4v.js → replay-validate-key-BpTzarpC.js} +2 -2
- package/dist/{replay-validate-key-BhXLTBqe.js → replay-validate-key-DIcOkWYk.js} +1 -1
- package/dist/replay.cjs +1 -1
- package/dist/replay.js +1 -1
- package/package.json +2 -2
- package/dist/replay-index-CzES_JFv.js +0 -4
|
@@ -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-CwuYslX9.js"),n=require("./replay-resolve-Cmty1rPE.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;
|
|
@@ -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-CcB9D4eO.js";
|
|
2
|
+
import { B as h, r as p, S as o } from "./replay-resolve-Cr6pQfRb.js";
|
|
3
3
|
class E extends h {
|
|
4
4
|
constructor() {
|
|
5
5
|
super();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a6 as T, a7 as f } from "./replay-index-
|
|
2
|
-
import { a as I, g as x, d as z, o as P, A as L, S as V, N as $, n as U, w as G, D as M, _ as Y, c as b, l as D } from "./replay-lint-
|
|
3
|
-
import { b as he, e as ue, f as Ee, h as ve, j as Se, C as Te, k as xe, m as be, p as Oe, q as _e, r as Re, s as Ne, H as Ie, I as Pe, t as De, O as Ce, u as ke, v as je, x as we, y as Fe, z as ze, P as Le, B as Ve, E as $e, F as Ue, G as Ge, J as Me, K as Ye, L as Be, M as Ke, Q as We, R as He, T as Je, U as qe, V as Xe, W as Qe, X as Ze, Y as Ae, Z as es, $ as ss, a0 as ts, a1 as ns, a2 as as, a3 as rs, a4 as os, a5 as is, a6 as ls, a7 as cs, a8 as ps, a9 as ys, aa as fs, a0 as ms, ab as ds } from "./replay-lint-
|
|
4
|
-
import { i as B, B as E, n as K, a as W, m as C } from "./replay-resolve-
|
|
5
|
-
import { R as hs, S as us, Y as Es, e as vs, g as Ss, b as Ts, c as xs, d as bs, f as Os, h as _s, j as Rs, p as Ns, r as Is, k as Ps, s as Ds, u as Cs } from "./replay-resolve-
|
|
1
|
+
import { a6 as T, a7 as f } from "./replay-index-CcB9D4eO.js";
|
|
2
|
+
import { a as I, g as x, d as z, o as P, A as L, S as V, N as $, n as U, w as G, D as M, _ as Y, c as b, l as D } from "./replay-lint-CF99Iyje.js";
|
|
3
|
+
import { b as he, e as ue, f as Ee, h as ve, j as Se, C as Te, k as xe, m as be, p as Oe, q as _e, r as Re, s as Ne, H as Ie, I as Pe, t as De, O as Ce, u as ke, v as je, x as we, y as Fe, z as ze, P as Le, B as Ve, E as $e, F as Ue, G as Ge, J as Me, K as Ye, L as Be, M as Ke, Q as We, R as He, T as Je, U as qe, V as Xe, W as Qe, X as Ze, Y as Ae, Z as es, $ as ss, a0 as ts, a1 as ns, a2 as as, a3 as rs, a4 as os, a5 as is, a6 as ls, a7 as cs, a8 as ps, a9 as ys, aa as fs, a0 as ms, ab as ds } from "./replay-lint-CF99Iyje.js";
|
|
4
|
+
import { i as B, B as E, n as K, a as W, m as C } from "./replay-resolve-Cr6pQfRb.js";
|
|
5
|
+
import { R as hs, S as us, Y as Es, e as vs, g as Ss, b as Ts, c as xs, d as bs, f as Os, h as _s, j as Rs, p as Ns, r as Is, k as Ps, s as Ds, u as Cs } from "./replay-resolve-Cr6pQfRb.js";
|
|
6
6
|
function oe(e) {
|
|
7
7
|
return (T.extname(e) === ".yaml" || T.extname(e) === ".yml") && !1;
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./replay-index-CwuYslX9.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;
|
|
@@ -57687,7 +57687,7 @@ class bQ {
|
|
|
57687
57687
|
this.send("com.redocly.parameter.edited", e, n);
|
|
57688
57688
|
}
|
|
57689
57689
|
}
|
|
57690
|
-
const kE = process.env.NODE_ENV === "development", vL = process.env.NODE_ENV === "production", AIe = "0.30.0
|
|
57690
|
+
const kE = process.env.NODE_ENV === "development", vL = process.env.NODE_ENV === "production", AIe = "0.30.0", QIe = {
|
|
57691
57691
|
version: AIe
|
|
57692
57692
|
}, RIe = {
|
|
57693
57693
|
organizationId: "",
|
|
@@ -58691,7 +58691,7 @@ class Xm {
|
|
|
58691
58691
|
if (this.instance && this.currentDbPath === e)
|
|
58692
58692
|
return this.instance;
|
|
58693
58693
|
this.instance && this.currentDbPath !== e && await this.close();
|
|
58694
|
-
const { SqliteDBStorage: n } = await import("./replay-SqliteDBStorage-
|
|
58694
|
+
const { SqliteDBStorage: n } = await import("./replay-SqliteDBStorage-DFswOoxk.js");
|
|
58695
58695
|
return this.instance = n.getInstance(e), this.currentDbPath = e, await this.instance.initialize(), this.instance;
|
|
58696
58696
|
}
|
|
58697
58697
|
/**
|
|
@@ -61552,7 +61552,7 @@ function jG() {
|
|
|
61552
61552
|
class yn {
|
|
61553
61553
|
static utils = null;
|
|
61554
61554
|
static async getUtils() {
|
|
61555
|
-
return yn.utils || (yn.utils = Zn() ? await import("./replay-tauri-path-
|
|
61555
|
+
return yn.utils || (yn.utils = Zn() ? await import("./replay-tauri-path-CoJ56WRW.js") : { join: mu.join, resolve: mu.resolve, isAbsolute: mu.isAbsolute, relative: mu.relative, extname: mu.extname, dirname: mu.dirname }), yn.utils;
|
|
61556
61556
|
}
|
|
61557
61557
|
static async dirname(e) {
|
|
61558
61558
|
return (await yn.getUtils()).dirname(e);
|
|
@@ -62852,9 +62852,9 @@ function xRe() {
|
|
|
62852
62852
|
const { userFilesDir: t } = Cd(), { certificates: e } = Vi(), n = Jt(), { getCollection: r } = lp();
|
|
62853
62853
|
return { execute: async (o, s, a) => {
|
|
62854
62854
|
const l = r(o), { inputs: c, servers: u } = n, d = l?.sourceDescriptions ?? [], f = `${t}/${o}`, [{ createConfig: p }, { ExternalResolver: m }] = await Promise.all([
|
|
62855
|
-
import("./replay-index-
|
|
62856
|
-
import("./replay-external-resolver-
|
|
62857
|
-
]), g = new m(), O = c.map((w) => JSON.stringify({ [w.name]: w.value })), v = TRe(u, d), { run: b } = await import("./replay-respect-run-
|
|
62855
|
+
import("./replay-index-BNWwUamJ.js"),
|
|
62856
|
+
import("./replay-external-resolver-iYXwhjgN.js")
|
|
62857
|
+
]), g = new m(), O = c.map((w) => JSON.stringify({ [w.name]: w.value })), v = TRe(u, d), { run: b } = await import("./replay-respect-run-DvUQJ4xs.js"), y = await b({
|
|
62858
62858
|
files: [f],
|
|
62859
62859
|
workflow: s ? [s] : [],
|
|
62860
62860
|
fetch: (w, S) => {
|
|
@@ -64505,8 +64505,8 @@ function pY(t) {
|
|
|
64505
64505
|
}
|
|
64506
64506
|
async function YE(t, e) {
|
|
64507
64507
|
const [{ bundle: n, bundleFromString: r, createConfig: i }, { ExternalResolver: o }] = await Promise.all([
|
|
64508
|
-
import("./replay-index-
|
|
64509
|
-
import("./replay-external-resolver-
|
|
64508
|
+
import("./replay-index-BNWwUamJ.js"),
|
|
64509
|
+
import("./replay-external-resolver-iYXwhjgN.js")
|
|
64510
64510
|
]), s = {
|
|
64511
64511
|
config: await i({}),
|
|
64512
64512
|
externalRefResolver: new o(),
|
|
@@ -74293,7 +74293,7 @@ function Q8(t = !1) {
|
|
|
74293
74293
|
if (!(!Zn() || !e || !a || !u || !f || !p)) {
|
|
74294
74294
|
await w();
|
|
74295
74295
|
try {
|
|
74296
|
-
const { FileWatcher: I } = await import("./replay-FileWatcher-
|
|
74296
|
+
const { FileWatcher: I } = await import("./replay-FileWatcher-DtPS3QVb.js"), k = a.get(G0).userFilesDir;
|
|
74297
74297
|
s = new I(
|
|
74298
74298
|
e,
|
|
74299
74299
|
k,
|
|
@@ -74322,13 +74322,13 @@ function Q8(t = !1) {
|
|
|
74322
74322
|
return;
|
|
74323
74323
|
}
|
|
74324
74324
|
if (M) {
|
|
74325
|
-
const { TauriRootStorage: z } = await import("./replay-TauriRootStorage-
|
|
74325
|
+
const { TauriRootStorage: z } = await import("./replay-TauriRootStorage-PDk2VJTL.js");
|
|
74326
74326
|
n = new z(C, D, Q), e = n;
|
|
74327
74327
|
} else
|
|
74328
74328
|
n = void 0, e = new S5e(C, D, Q);
|
|
74329
74329
|
if (M) {
|
|
74330
74330
|
await w();
|
|
74331
|
-
const { getSemanticSearchService: z } = await import("./replay-index-
|
|
74331
|
+
const { getSemanticSearchService: z } = await import("./replay-index-CEzZ-nNg.js");
|
|
74332
74332
|
z().setProject(C.id);
|
|
74333
74333
|
}
|
|
74334
74334
|
u = {
|
|
@@ -74366,8 +74366,8 @@ function Q8(t = !1) {
|
|
|
74366
74366
|
{ getSemanticSearchService: z },
|
|
74367
74367
|
{ createIndexSnapshotGetter: j, startPeriodicIndexRevalidation: q }
|
|
74368
74368
|
] = await Promise.all([
|
|
74369
|
-
import("./replay-index-
|
|
74370
|
-
import("./replay-periodic-revalidation-
|
|
74369
|
+
import("./replay-index-CEzZ-nNg.js"),
|
|
74370
|
+
import("./replay-periodic-revalidation-D0eDYez9.js")
|
|
74371
74371
|
]), Z = z();
|
|
74372
74372
|
Z.preloadModel().catch(() => {
|
|
74373
74373
|
}), Z.reindex(j(k)).catch((ee) => {
|
|
@@ -87834,7 +87834,7 @@ async function R7e({
|
|
|
87834
87834
|
}), s = YR(o), a = Zn(), l = n || "response";
|
|
87835
87835
|
let c = null;
|
|
87836
87836
|
if (a) {
|
|
87837
|
-
const { open: b } = await import("./replay-index-
|
|
87837
|
+
const { open: b } = await import("./replay-index-BmAT6NH8.js"), y = await b({ directory: !0, multiple: !1 });
|
|
87838
87838
|
if (!y)
|
|
87839
87839
|
return;
|
|
87840
87840
|
const w = Array.isArray(y) ? y[0] : y;
|
|
@@ -93716,7 +93716,7 @@ function dZe({
|
|
|
93716
93716
|
}, i = async () => {
|
|
93717
93717
|
if (Zn())
|
|
93718
93718
|
try {
|
|
93719
|
-
const { open: a } = await import("./replay-index-
|
|
93719
|
+
const { open: a } = await import("./replay-index-BmAT6NH8.js"), l = await a({
|
|
93720
93720
|
multiple: !0
|
|
93721
93721
|
});
|
|
93722
93722
|
if (!l)
|
|
@@ -94112,7 +94112,7 @@ const RZe = ({ binary: t, onBinaryChange: e }) => {
|
|
|
94112
94112
|
}, s = async () => {
|
|
94113
94113
|
if (Zn())
|
|
94114
94114
|
try {
|
|
94115
|
-
const { open: l } = await import("./replay-index-
|
|
94115
|
+
const { open: l } = await import("./replay-index-BmAT6NH8.js"), c = await l();
|
|
94116
94116
|
if (!c)
|
|
94117
94117
|
return;
|
|
94118
94118
|
const u = await XO(c);
|
|
@@ -94815,7 +94815,7 @@ async function C6e(t) {
|
|
|
94815
94815
|
}
|
|
94816
94816
|
async function k6e(t) {
|
|
94817
94817
|
const [{ open: e }, { readTextFile: n }, { basename: r }] = await Promise.all([
|
|
94818
|
-
import("./replay-index-
|
|
94818
|
+
import("./replay-index-BmAT6NH8.js"),
|
|
94819
94819
|
Promise.resolve().then(() => MO),
|
|
94820
94820
|
Promise.resolve().then(() => HQ)
|
|
94821
94821
|
]), i = await e({
|
|
@@ -95310,7 +95310,7 @@ function nBe(t = 32) {
|
|
|
95310
95310
|
async function CI(t, e, n) {
|
|
95311
95311
|
const r = typeof t == "string" ? t : t.toString();
|
|
95312
95312
|
if (Zn()) {
|
|
95313
|
-
const { openUrl: i } = await import("./replay-index-
|
|
95313
|
+
const { openUrl: i } = await import("./replay-index-m5iBbg-4.js");
|
|
95314
95314
|
await i(r);
|
|
95315
95315
|
return;
|
|
95316
95316
|
}
|
|
@@ -104320,7 +104320,7 @@ function _et() {
|
|
|
104320
104320
|
]));
|
|
104321
104321
|
};
|
|
104322
104322
|
return (async () => {
|
|
104323
|
-
const { onOpenUrl: a, getCurrent: l } = await import("./replay-index-
|
|
104323
|
+
const { onOpenUrl: a, getCurrent: l } = await import("./replay-index-hS-IPRQ5.js"), c = await a(s);
|
|
104324
104324
|
if (o) {
|
|
104325
104325
|
c();
|
|
104326
104326
|
return;
|
|
@@ -104667,7 +104667,7 @@ class Y9 {
|
|
|
104667
104667
|
}
|
|
104668
104668
|
async function Ket(t, e) {
|
|
104669
104669
|
if (e) {
|
|
104670
|
-
const { AiChatSqliteDBStorage: n } = await import("./replay-AiChatSqliteDBStorage-
|
|
104670
|
+
const { AiChatSqliteDBStorage: n } = await import("./replay-AiChatSqliteDBStorage-DxeQj8Ji.js"), r = Xm.getInstance(), i = new n(r);
|
|
104671
104671
|
return new Jet(i);
|
|
104672
104672
|
} else
|
|
104673
104673
|
throw new Error("Not implemented");
|
|
@@ -104733,7 +104733,7 @@ class stt {
|
|
|
104733
104733
|
}
|
|
104734
104734
|
static async migrate(e, n, r) {
|
|
104735
104735
|
if (r) {
|
|
104736
|
-
const { TauriFileSystemAdapter: i } = await import("./replay-TauriFileSystemAdapter-
|
|
104736
|
+
const { TauriFileSystemAdapter: i } = await import("./replay-TauriFileSystemAdapter-BwPAJXJU.js"), o = new i(e.systemFilesDir);
|
|
104737
104737
|
return this.migrateFromStorage(o, n, "JSON file");
|
|
104738
104738
|
} else {
|
|
104739
104739
|
const i = new HE(e.systemFilesDir);
|
|
@@ -106289,7 +106289,7 @@ const bnt = x.div`
|
|
|
106289
106289
|
`;
|
|
106290
106290
|
async function D_(t, e, n) {
|
|
106291
106291
|
try {
|
|
106292
|
-
const { join: r, dirname: i } = await Promise.resolve().then(() => HQ), { exists: o } = await Promise.resolve().then(() => MO), { revealItemInDir: s, openPath: a } = await import("./replay-index-
|
|
106292
|
+
const { join: r, dirname: i } = await Promise.resolve().then(() => HQ), { exists: o } = await Promise.resolve().then(() => MO), { revealItemInDir: s, openPath: a } = await import("./replay-index-m5iBbg-4.js"), l = await r(t, e);
|
|
106293
106293
|
if (n || !await o(l)) {
|
|
106294
106294
|
const c = await i(l);
|
|
106295
106295
|
await a(c);
|
|
@@ -108589,7 +108589,7 @@ function Tit({
|
|
|
108589
108589
|
function Pit({ error: t }) {
|
|
108590
108590
|
const { userFilesDir: e } = Cd(), n = H(async () => {
|
|
108591
108591
|
try {
|
|
108592
|
-
const { openPath: r } = await import("./replay-index-
|
|
108592
|
+
const { openPath: r } = await import("./replay-index-m5iBbg-4.js"), i = await yn.join(e, t.filePath);
|
|
108593
108593
|
await r(i);
|
|
108594
108594
|
} catch (r) {
|
|
108595
108595
|
console.error(`Failed to open ${t.filePath}:`, r);
|
|
@@ -109103,7 +109103,7 @@ const sot = {
|
|
|
109103
109103
|
function lot() {
|
|
109104
109104
|
return Ht(aot);
|
|
109105
109105
|
}
|
|
109106
|
-
const cot = wX(() => import("./replay-AiPanel-
|
|
109106
|
+
const cot = wX(() => import("./replay-AiPanel-3Lx6Liqa.js").then((t) => ({ default: t.AiPanel }))), uot = 55, dot = 30, fot = 25;
|
|
109107
109107
|
function hot() {
|
|
109108
109108
|
const { layout: t, aiEnabled: e } = tr(), n = e === !0, r = t === "overlay", i = Fit({
|
|
109109
109109
|
hasAiPanel: n && !r,
|
|
@@ -109283,7 +109283,7 @@ const Of = x(ud)`
|
|
|
109283
109283
|
transition-property: none;
|
|
109284
109284
|
}
|
|
109285
109285
|
`, pot = wX(
|
|
109286
|
-
() => import("./replay-AiChatProvider-
|
|
109286
|
+
() => import("./replay-AiChatProvider-CXLNIcfY.js").then((t) => ({ default: t.AiChatProvider }))
|
|
109287
109287
|
), got = ({ className: t, renderProjectSelect: e }) => {
|
|
109288
109288
|
const { isMobile: n, closeButton: r } = gs(), { layout: i, aiEnabled: o } = tr(), s = OY(), a = i === "preview", l = o === !0, c = s ? /* @__PURE__ */ h(Pit, { error: s }) : null, u = n ? c || /* @__PURE__ */ h(pit, {}) : /* @__PURE__ */ E(Ve, { children: [
|
|
109289
109289
|
!a && /* @__PURE__ */ h(wtt, {}),
|
|
@@ -109620,11 +109620,11 @@ const Iot = x(wte)`
|
|
|
109620
109620
|
}
|
|
109621
109621
|
`;
|
|
109622
109622
|
async function bct(t, e, n, r) {
|
|
109623
|
-
const { validateApiKey: i } = await import("./replay-validate-key-
|
|
109623
|
+
const { validateApiKey: i } = await import("./replay-validate-key-BpTzarpC.js");
|
|
109624
109624
|
return i(t, e, n, r);
|
|
109625
109625
|
}
|
|
109626
109626
|
async function Sct() {
|
|
109627
|
-
return (await import("./replay-agent-loop-
|
|
109627
|
+
return (await import("./replay-agent-loop-DeChBPFl.js")).AgentLoop;
|
|
109628
109628
|
}
|
|
109629
109629
|
Yet();
|
|
109630
109630
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./replay-index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./replay-index-CwuYslX9.js");var a;(function(e){e.WINDOW_RESIZED="tauri://resize",e.WINDOW_MOVED="tauri://move",e.WINDOW_CLOSE_REQUESTED="tauri://close-requested",e.WINDOW_DESTROYED="tauri://destroyed",e.WINDOW_FOCUS="tauri://focus",e.WINDOW_BLUR="tauri://blur",e.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",e.WINDOW_THEME_CHANGED="tauri://theme-changed",e.WINDOW_CREATED="tauri://window-created",e.WINDOW_SUSPENDED="tauri://suspended",e.WINDOW_RESUMED="tauri://resumed",e.WEBVIEW_CREATED="tauri://webview-created",e.DRAG_ENTER="tauri://drag-enter",e.DRAG_OVER="tauri://drag-over",e.DRAG_DROP="tauri://drag-drop",e.DRAG_LEAVE="tauri://drag-leave"})(a||(a={}));async function o(e,r){window.__TAURI_EVENT_PLUGIN_INTERNALS__.unregisterListener(e,r),await n.invoke("plugin:event|unlisten",{event:e,eventId:r})}async function _(e,r,s){var t;const i=(t=void 0)!==null&&t!==void 0?t:{kind:"Any"};return n.invoke("plugin:event|listen",{event:e,target:i,handler:n.transformCallback$1(r)}).then(u=>async()=>o(e,u))}async function D(){return await n.invoke("plugin:deep-link|get_current")}async function l(e){return await _("deep-link://new-url",r=>{e(r.payload)})}exports.getCurrent=D;exports.onOpenUrl=l;
|