@redocly/replay 0.31.0-next.4 → 0.31.0-next.5
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-DmFb_KEh.js → replay-AiChatProvider-DF95dPI4.js} +6 -6
- package/dist/{replay-AiChatSqliteDBStorage-DPCC1JxA.js → replay-AiChatSqliteDBStorage-DFai0iTB.js} +1 -1
- package/dist/{replay-AiPanel-Duce6bPI.js → replay-AiPanel-DWJrryHB.js} +26 -31
- package/dist/{replay-FileWatcher-CuDTvKR_.js → replay-FileWatcher-DhpdT_VS.js} +2 -2
- package/dist/{replay-SemanticSearchService-UD-ISya0.js → replay-SemanticSearchService-C9AkUyVE.js} +1 -1
- package/dist/{replay-SqliteDBStorage-yz16M_Mv.js → replay-SqliteDBStorage-DT9_LMLs.js} +1 -1
- package/dist/{replay-TauriFileSystemAdapter-D6ELx87H.js → replay-TauriFileSystemAdapter-C16TSOZg.js} +1 -1
- package/dist/{replay-TauriRootStorage-BBtrm1uU.js → replay-TauriRootStorage-BNacv6Qu.js} +2 -2
- package/dist/{replay-agent-loop-X-3QP3_I.js → replay-agent-loop-Om_DXb5S.js} +3 -3
- package/dist/{replay-ai-chat-mappers-Cn5M5bfQ.js → replay-ai-chat-mappers-T6Rn74yZ.js} +1 -1
- package/dist/{replay-create-model-I01u52en.js → replay-create-model-CWTiZi7t.js} +16108 -17055
- package/dist/{replay-db-_AqPojpS.js → replay-db-DGrxiWzT.js} +1 -1
- package/dist/{replay-external-resolver-B9jDVIjA.js → replay-external-resolver-1QWjOOVR.js} +2 -2
- package/dist/{replay-index-vq6dCDYU.js → replay-index-BZZ4OP90.js} +1 -1
- package/dist/replay-index-CEqxKoBH.js +4 -0
- package/dist/{replay-index-NeiVLZKP.js → replay-index-CTTaOYRK.js} +1 -1
- package/dist/{replay-index-Bd6nBD-g.js → replay-index-CiOV_Ucc.js} +23401 -22849
- package/dist/{replay-index-5x470UiG.js → replay-index-DF2XA7Wl.js} +1 -1
- package/dist/replay-index-DVf85Dg1.js +917 -0
- package/dist/{replay-lint-Bag9E2VE.js → replay-lint-B6TsU9Uq.js} +6569 -5787
- package/dist/{replay-lint-graphql-Dy_zzWSu.js → replay-lint-graphql-CmPzfY7b.js} +2 -2
- package/dist/{replay-periodic-revalidation-ZF9THDF0.js → replay-periodic-revalidation-B77h_-F6.js} +1 -1
- package/dist/{replay-resolve-C-3GwDKX.js → replay-resolve-9K6-oXdr.js} +886 -866
- package/dist/{replay-respect-run-CGAeb4ct.js → replay-respect-run-Cpt4Fgtq.js} +123 -123
- package/dist/{replay-tauri-path-JPWbAoK0.js → replay-tauri-path-wnkmhbG_.js} +2 -2
- package/dist/{replay-useAiChatQueries-B8RKvZ6W.js → replay-useAiChatQueries-CTLNVgPv.js} +83 -81
- package/dist/{replay-validate-key-BA81wxhp.js → replay-validate-key-C5YTZaNy.js} +2 -2
- package/dist/replay.js +1 -1
- package/package.json +6 -6
- package/dist/replay-index-BW65Uxno.js +0 -4
- package/dist/replay-index-CryjpI5N.js +0 -576
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as te } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as W, useCallback as f, useSyncExternalStore as re, useEffect as R, useMemo as I, useState as z } from "react";
|
|
3
|
-
import { a8 as S, a9 as ce, X as _e, aa as Re, ab as $e, ac as $, ad as Pe, ae as xe, c as De, af as We, ag as Be, a as Oe, ah as Ue, ai as Fe, aj as Le, ak as je, al as fe, am as Ne, an as Ke, ao as qe, ap as Ae, aq as se, ar as ue, as as Te, at as Qe, au as Ve, av as Ge, aw as ye, J as ge, K as He, R as ne, ax as ze, ay as ae, az as Ye, aA as Je } from "./replay-index-
|
|
4
|
-
import { A as Xe, D as Ze, l as et } from "./replay-create-model-
|
|
5
|
-
import { AgentLoop as tt } from "./replay-agent-loop-
|
|
6
|
-
import { s as nt } from "./replay-db-
|
|
7
|
-
import { r as st, g as rt, a as ot, o as at, s as it, w as lt, m as ct, b as ut, u as dt, c as ht, d as pt, e as ft, f as gt, h as mt, i as vt, A as wt, j as Ct, k as It } from "./replay-useAiChatQueries-
|
|
3
|
+
import { a8 as S, a9 as ce, X as _e, aa as Re, ab as $e, ac as $, ad as Pe, ae as xe, c as De, af as We, ag as Be, a as Oe, ah as Ue, ai as Fe, aj as Le, ak as je, al as fe, am as Ne, an as Ke, ao as qe, ap as Ae, aq as se, ar as ue, as as Te, at as Qe, au as Ve, av as Ge, aw as ye, J as ge, K as He, R as ne, ax as ze, ay as ae, az as Ye, aA as Je } from "./replay-index-CiOV_Ucc.js";
|
|
4
|
+
import { A as Xe, D as Ze, l as et } from "./replay-create-model-CWTiZi7t.js";
|
|
5
|
+
import { AgentLoop as tt } from "./replay-agent-loop-Om_DXb5S.js";
|
|
6
|
+
import { s as nt } from "./replay-db-DGrxiWzT.js";
|
|
7
|
+
import { r as st, g as rt, a as ot, o as at, s as it, w as lt, m as ct, b as ut, u as dt, c as ht, d as pt, e as ft, f as gt, h as mt, i as vt, A as wt, j as Ct, k as It } from "./replay-useAiChatQueries-CTLNVgPv.js";
|
|
8
8
|
import { useQueryClient as de, useMutation as he } from "@tanstack/react-query";
|
|
9
|
-
import { d as Se, g as me } from "./replay-ai-chat-mappers-
|
|
9
|
+
import { d as Se, g as me } from "./replay-ai-chat-mappers-T6Rn74yZ.js";
|
|
10
10
|
class At {
|
|
11
11
|
handlers = /* @__PURE__ */ new Map();
|
|
12
12
|
middlewares;
|
package/dist/{replay-AiChatSqliteDBStorage-DPCC1JxA.js → replay-AiChatSqliteDBStorage-DFai0iTB.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./replay-history.schema-B0lLwmdG.js";
|
|
2
2
|
import "./replay-step-context.schema-BOprzd6Z.js";
|
|
3
3
|
import { a as h, b as r, c as n } from "./replay-ai-message-parts.schema-DKLf0SiG.js";
|
|
4
|
-
import { c, a as u, b as m } from "./replay-ai-chat-mappers-
|
|
4
|
+
import { c, a as u, b as m } from "./replay-ai-chat-mappers-T6Rn74yZ.js";
|
|
5
5
|
import { b as l, e, c as b } from "./replay-indexes-B3PJtgeh.js";
|
|
6
6
|
const g = {
|
|
7
7
|
orderBy: [l(r.createdAt), l(r.indexWithinInsertBatch)],
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as m, jsx as i, Fragment as Ne } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback as _, useMemo as A, useState as Y, Fragment as ht, useRef as F, useEffect as B, useLayoutEffect as je } from "react";
|
|
3
3
|
import c, { css as ue } from "styled-components";
|
|
4
|
-
import { ab as be, aB as Ce, aC as mt, ao as gt, ap as vt, v as yt, aD as fe, aE as pe, F as V, aF as xe, aG as xt, aH as wt, aI as ke, c as bt, aJ as Ct, aK as Ue, aL as kt, aM as Tt, R as he, A as le, aN as We, aw as Ge, aO as we, aP as U, aQ as It } from "./replay-index-
|
|
5
|
-
import { l as At, n as St, p as Lt, q as Pt, T as Et, t as Rt, v as Ot, x as Ye, C as I, y as Dt, z as qe, L as Mt, B as Q, D as _t, E as zt, F as Vt, G as $t, H as N } from "./replay-useAiChatQueries-
|
|
4
|
+
import { ab as be, aB as Ce, aC as mt, ao as gt, ap as vt, v as yt, aD as fe, aE as pe, F as V, aF as xe, aG as xt, aH as wt, aI as ke, c as bt, aJ as Ct, aK as Ue, aL as kt, aM as Tt, R as he, A as le, aN as We, aw as Ge, aO as we, aP as U, aQ as It } from "./replay-index-CiOV_Ucc.js";
|
|
5
|
+
import { l as At, n as St, p as Lt, q as Pt, T as Et, t as Rt, v as Ot, x as Ye, C as I, y as Dt, z as qe, L as Mt, B as Q, D as _t, E as zt, F as Vt, G as $t, H as N } from "./replay-useAiChatQueries-CTLNVgPv.js";
|
|
6
6
|
import { AI_SEARCH_MAX_MESSAGE_LENGTH as Ht } from "@redocly/theme/core/constants/search";
|
|
7
7
|
import { Button as P } from "@redocly/theme/components/Button/Button";
|
|
8
8
|
import { SendIcon as Bt } from "@redocly/theme/icons/SendIcon/SendIcon";
|
|
9
9
|
import { StopIcon as Ft } from "@redocly/theme/icons/StopIcon/StopIcon";
|
|
10
|
-
import { M as z } from "./replay-db-
|
|
10
|
+
import { M as z } from "./replay-db-DGrxiWzT.js";
|
|
11
11
|
import { CheckboxIcon as Nt } from "@redocly/theme/icons/CheckboxIcon/CheckboxIcon";
|
|
12
12
|
import { CheckmarkFilledIcon as jt } from "@redocly/theme/icons/CheckmarkFilledIcon/CheckmarkFilledIcon";
|
|
13
13
|
import { CloseFilledIcon as Ut } from "@redocly/theme/icons/CloseFilledIcon/CloseFilledIcon";
|
|
@@ -25,7 +25,7 @@ import { ChatGptIcon as Qt } from "@redocly/theme/icons/ChatGptIcon/ChatGptIcon"
|
|
|
25
25
|
import { GeminiIcon as en } from "@redocly/theme/icons/GeminiIcon/GeminiIcon";
|
|
26
26
|
import { ClaudeIcon as tn } from "@redocly/theme/icons/ClaudeIcon/ClaudeIcon";
|
|
27
27
|
import { Tooltip as W } from "@redocly/theme/components/Tooltip/Tooltip";
|
|
28
|
-
import { g as Te } from "./replay-SemanticSearchService-
|
|
28
|
+
import { g as Te } from "./replay-SemanticSearchService-C9AkUyVE.js";
|
|
29
29
|
import "@tanstack/react-query";
|
|
30
30
|
import { Typography as Z } from "@redocly/theme/components/Typography/Typography";
|
|
31
31
|
import { TrashCanIcon as nn } from "@redocly/theme/icons/TrashCanIcon/TrashCanIcon";
|
|
@@ -2517,6 +2517,12 @@ const dt = c(ct)`
|
|
|
2517
2517
|
}
|
|
2518
2518
|
}
|
|
2519
2519
|
`, ci = c(Z)`
|
|
2520
|
+
min-width: 0;
|
|
2521
|
+
padding: 0;
|
|
2522
|
+
border: 0;
|
|
2523
|
+
background: none;
|
|
2524
|
+
text-align: left;
|
|
2525
|
+
cursor: pointer;
|
|
2520
2526
|
overflow: hidden;
|
|
2521
2527
|
white-space: nowrap;
|
|
2522
2528
|
text-overflow: ellipsis;
|
|
@@ -2526,33 +2532,22 @@ const dt = c(ct)`
|
|
|
2526
2532
|
`;
|
|
2527
2533
|
function di(e) {
|
|
2528
2534
|
const { chat: t, onSelect: n, onRemove: r } = e;
|
|
2529
|
-
return /* @__PURE__ */ i(ai, { children: /* @__PURE__ */ i(W, { tip: U(t.updatedAt).format("MMM DD, YYYY, hh:mm:ss A"), className: "expanded", children: /* @__PURE__ */ m(
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
tone: "danger",
|
|
2546
|
-
icon: /* @__PURE__ */ i(nn, {}),
|
|
2547
|
-
"aria-label": "Delete chat",
|
|
2548
|
-
onClick: (o) => {
|
|
2549
|
-
o.stopPropagation(), r?.(t.id);
|
|
2550
|
-
}
|
|
2551
|
-
}
|
|
2552
|
-
)
|
|
2553
|
-
]
|
|
2554
|
-
}
|
|
2555
|
-
) }) });
|
|
2535
|
+
return /* @__PURE__ */ i(ai, { children: /* @__PURE__ */ i(W, { tip: U(t.updatedAt).format("MMM DD, YYYY, hh:mm:ss A"), className: "expanded", children: /* @__PURE__ */ m(si, { onClick: () => n?.(t.id), children: [
|
|
2536
|
+
/* @__PURE__ */ i(ci, { as: "button", type: "button", children: t.title ?? "New chat" }),
|
|
2537
|
+
/* @__PURE__ */ i(
|
|
2538
|
+
P,
|
|
2539
|
+
{
|
|
2540
|
+
variant: "ghost",
|
|
2541
|
+
size: "small",
|
|
2542
|
+
tone: "danger",
|
|
2543
|
+
icon: /* @__PURE__ */ i(nn, {}),
|
|
2544
|
+
"aria-label": "Delete chat",
|
|
2545
|
+
onClick: (o) => {
|
|
2546
|
+
o.stopPropagation(), r?.(t.id);
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
)
|
|
2550
|
+
] }) }) });
|
|
2556
2551
|
}
|
|
2557
2552
|
function ui(e) {
|
|
2558
2553
|
const { group: t, onChatSelect: n, onChatRemove: r } = e;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as f, t as w, P as m, u as v, v as C, D as F } from "./replay-index-
|
|
2
|
-
import { g } from "./replay-SemanticSearchService-
|
|
1
|
+
import { q as f, t as w, P as m, u as v, v as C, D as F } from "./replay-index-CiOV_Ucc.js";
|
|
2
|
+
import { g } from "./replay-SemanticSearchService-C9AkUyVE.js";
|
|
3
3
|
var E;
|
|
4
4
|
(function(l) {
|
|
5
5
|
l.WINDOW_RESIZED = "tauri://resize", l.WINDOW_MOVED = "tauri://move", l.WINDOW_CLOSE_REQUESTED = "tauri://close-requested", l.WINDOW_DESTROYED = "tauri://destroyed", l.WINDOW_FOCUS = "tauri://focus", l.WINDOW_BLUR = "tauri://blur", l.WINDOW_SCALE_FACTOR_CHANGED = "tauri://scale-change", l.WINDOW_THEME_CHANGED = "tauri://theme-changed", l.WINDOW_CREATED = "tauri://window-created", l.WEBVIEW_CREATED = "tauri://webview-created", l.DRAG_ENTER = "tauri://drag-enter", l.DRAG_OVER = "tauri://drag-over", l.DRAG_DROP = "tauri://drag-drop", l.DRAG_LEAVE = "tauri://drag-leave";
|
package/dist/{replay-SemanticSearchService-UD-ISya0.js → replay-SemanticSearchService-C9AkUyVE.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as f, V as Q, W as X, I as y } from "./replay-index-
|
|
1
|
+
import { q as f, V as Q, W as X, I as y } from "./replay-index-CiOV_Ucc.js";
|
|
2
2
|
import { O as z } from "./replay-Observable-D6wKbFwB.js";
|
|
3
3
|
import { p as K } from "./replay-promise-map-limit-DglaAlWc.js";
|
|
4
4
|
function w(t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as Qe } from "./replay-index-
|
|
1
|
+
import { q as Qe } from "./replay-index-CiOV_Ucc.js";
|
|
2
2
|
import { h as Ve } from "./replay-history.schema-B0lLwmdG.js";
|
|
3
3
|
import { s as Ue } from "./replay-step-context.schema-BOprzd6Z.js";
|
|
4
4
|
import { b as J, c as X, a as ee } from "./replay-ai-message-parts.schema-DKLf0SiG.js";
|
package/dist/{replay-TauriFileSystemAdapter-D6ELx87H.js → replay-TauriFileSystemAdapter-C16TSOZg.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as o, r as u, j as c, P as d, b as h, e as l, s as w, w as y, d as m, f } from "./replay-index-
|
|
1
|
+
import { m as o, r as u, j as c, P as d, b as h, e as l, s as w, w as y, d as m, f } from "./replay-index-CiOV_Ucc.js";
|
|
2
2
|
import { O as E } from "./replay-Observable-D6wKbFwB.js";
|
|
3
3
|
const F = /* @__PURE__ */ new Set(["node_modules"]), T = /\(os error [23]\)/;
|
|
4
4
|
function g(r) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { X as he, Y as fe, Z as k, _ as de, $ as N, a0 as H, a1 as pe, a2 as ve, a3 as _e, O as F, v as me, N as O, q as we, a4 as ye, a5 as ge, P as Pe, D as be } from "./replay-index-
|
|
1
|
+
import { X as he, Y as fe, Z as k, _ as de, $ as N, a0 as H, a1 as pe, a2 as ve, a3 as _e, O as F, v as me, N as O, q as we, a4 as ye, a5 as ge, P as Pe, D as be } from "./replay-index-CiOV_Ucc.js";
|
|
2
2
|
import { p as J } from "./replay-promise-map-limit-DglaAlWc.js";
|
|
3
|
-
import { TauriFileSystemAdapter as X } from "./replay-TauriFileSystemAdapter-
|
|
3
|
+
import { TauriFileSystemAdapter as X } from "./replay-TauriFileSystemAdapter-C16TSOZg.js";
|
|
4
4
|
var B = { exports: {} }, Z;
|
|
5
5
|
function Ee() {
|
|
6
6
|
return Z || (Z = 1, (function(n) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as O, p as w, T as L, i as J, c as D, s as $ } from "./replay-create-model-
|
|
2
|
-
import { J as g, K as _, L as S, N as M, T as W, O as I, Q as z, U as K } from "./replay-index-
|
|
3
|
-
import { g as U } from "./replay-db-
|
|
1
|
+
import { a as O, p as w, T as L, i as J, c as D, s as $ } from "./replay-create-model-CWTiZi7t.js";
|
|
2
|
+
import { J as g, K as _, L as S, N as M, T as W, O as I, Q as z, U as K } from "./replay-index-CiOV_Ucc.js";
|
|
3
|
+
import { g as U } from "./replay-db-DGrxiWzT.js";
|
|
4
4
|
import { L as G, C as B } from "./replay-defaults-CzR6jw9a.js";
|
|
5
5
|
function y(t) {
|
|
6
6
|
const e = t.toLowerCase(), n = [
|