@redocly/replay 0.31.0-next.5 → 0.31.0-next.6

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.
Files changed (31) hide show
  1. package/dist/{replay-AiChatProvider-DF95dPI4.js → replay-AiChatProvider-CV9DUb_-.js} +6 -6
  2. package/dist/{replay-AiChatSqliteDBStorage-DFai0iTB.js → replay-AiChatSqliteDBStorage-BFEyqvr8.js} +1 -1
  3. package/dist/{replay-AiPanel-DWJrryHB.js → replay-AiPanel-DmzGuuSQ.js} +4 -4
  4. package/dist/{replay-FileWatcher-DhpdT_VS.js → replay-FileWatcher-CIGL35HB.js} +2 -2
  5. package/dist/{replay-SemanticSearchService-C9AkUyVE.js → replay-SemanticSearchService-CUfoNuvR.js} +1 -1
  6. package/dist/{replay-SqliteDBStorage-DT9_LMLs.js → replay-SqliteDBStorage-DrRaVJqC.js} +1 -1
  7. package/dist/{replay-TauriFileSystemAdapter-C16TSOZg.js → replay-TauriFileSystemAdapter-Bwl7UUzV.js} +1 -1
  8. package/dist/{replay-TauriRootStorage-BNacv6Qu.js → replay-TauriRootStorage-D26SUyiD.js} +2 -2
  9. package/dist/{replay-agent-loop-Om_DXb5S.js → replay-agent-loop-CrimHDXe.js} +3 -3
  10. package/dist/{replay-ai-chat-mappers-T6Rn74yZ.js → replay-ai-chat-mappers-C8SbEqZQ.js} +1 -1
  11. package/dist/{replay-create-model-CWTiZi7t.js → replay-create-model-Bb6G3SMI.js} +3 -3
  12. package/dist/{replay-db-DGrxiWzT.js → replay-db-D6OPItrR.js} +1 -1
  13. package/dist/{replay-external-resolver-1QWjOOVR.js → replay-external-resolver-BivDnyzd.js} +2 -2
  14. package/dist/{replay-index-DVf85Dg1.js → replay-index-CEqJEwMV.js} +5 -5
  15. package/dist/{replay-index-CTTaOYRK.js → replay-index-D9fqcKuo.js} +1 -1
  16. package/dist/{replay-index-BZZ4OP90.js → replay-index-DBOkHLJ1.js} +1 -1
  17. package/dist/{replay-index-DF2XA7Wl.js → replay-index-DpNZqtfa.js} +1 -1
  18. package/dist/{replay-index-CiOV_Ucc.js → replay-index-DxQ-bRJ-.js} +16288 -16195
  19. package/dist/replay-index-Dzrhrnzp.js +4 -0
  20. package/dist/{replay-lint-B6TsU9Uq.js → replay-lint-B1carxC2.js} +3 -3
  21. package/dist/{replay-lint-graphql-CmPzfY7b.js → replay-lint-graphql-DxiD9Apj.js} +2 -2
  22. package/dist/{replay-periodic-revalidation-B77h_-F6.js → replay-periodic-revalidation-Z92wFdAa.js} +1 -1
  23. package/dist/{replay-resolve-9K6-oXdr.js → replay-resolve-KCayE22f.js} +1 -1
  24. package/dist/{replay-respect-run-Cpt4Fgtq.js → replay-respect-run-CJZW6ZvP.js} +3 -3
  25. package/dist/{replay-tauri-path-wnkmhbG_.js → replay-tauri-path-goqCdKKW.js} +2 -2
  26. package/dist/{replay-useAiChatQueries-CTLNVgPv.js → replay-useAiChatQueries-BHjMUusg.js} +4 -4
  27. package/dist/{replay-validate-key-C5YTZaNy.js → replay-validate-key-DpxgR65_.js} +2 -2
  28. package/dist/replay.d.ts +25 -10
  29. package/dist/replay.js +1 -1
  30. package/package.json +2 -2
  31. package/dist/replay-index-CEqxKoBH.js +0 -4
@@ -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-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";
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-DxQ-bRJ-.js";
4
+ import { A as Xe, D as Ze, l as et } from "./replay-create-model-Bb6G3SMI.js";
5
+ import { AgentLoop as tt } from "./replay-agent-loop-CrimHDXe.js";
6
+ import { s as nt } from "./replay-db-D6OPItrR.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-BHjMUusg.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-T6Rn74yZ.js";
9
+ import { d as Se, g as me } from "./replay-ai-chat-mappers-C8SbEqZQ.js";
10
10
  class At {
11
11
  handlers = /* @__PURE__ */ new Map();
12
12
  middlewares;
@@ -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-T6Rn74yZ.js";
4
+ import { c, a as u, b as m } from "./replay-ai-chat-mappers-C8SbEqZQ.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-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";
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-DxQ-bRJ-.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-BHjMUusg.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-DGrxiWzT.js";
10
+ import { M as z } from "./replay-db-D6OPItrR.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-C9AkUyVE.js";
28
+ import { g as Te } from "./replay-SemanticSearchService-CUfoNuvR.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";
@@ -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-CiOV_Ucc.js";
2
- import { g } from "./replay-SemanticSearchService-C9AkUyVE.js";
1
+ import { q as f, t as w, P as m, u as v, v as C, D as F } from "./replay-index-DxQ-bRJ-.js";
2
+ import { g } from "./replay-SemanticSearchService-CUfoNuvR.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";
@@ -1,4 +1,4 @@
1
- import { q as f, V as Q, W as X, I as y } from "./replay-index-CiOV_Ucc.js";
1
+ import { q as f, V as Q, W as X, I as y } from "./replay-index-DxQ-bRJ-.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-CiOV_Ucc.js";
1
+ import { q as Qe } from "./replay-index-DxQ-bRJ-.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";
@@ -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-CiOV_Ucc.js";
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-DxQ-bRJ-.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-CiOV_Ucc.js";
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-DxQ-bRJ-.js";
2
2
  import { p as J } from "./replay-promise-map-limit-DglaAlWc.js";
3
- import { TauriFileSystemAdapter as X } from "./replay-TauriFileSystemAdapter-C16TSOZg.js";
3
+ import { TauriFileSystemAdapter as X } from "./replay-TauriFileSystemAdapter-Bwl7UUzV.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-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";
1
+ import { a as O, p as w, T as L, i as J, c as D, s as $ } from "./replay-create-model-Bb6G3SMI.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-DxQ-bRJ-.js";
3
+ import { g as U } from "./replay-db-D6OPItrR.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 = [
@@ -1,4 +1,4 @@
1
- import { y as n, R as d, A as i } from "./replay-index-CiOV_Ucc.js";
1
+ import { y as n, R as d, A as i } from "./replay-index-DxQ-bRJ-.js";
2
2
  function A() {
3
3
  return `aichat_${n()}`;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { R as dd, h as Ng, A as $a } from "./replay-index-CiOV_Ucc.js";
1
+ import { R as dd, h as Ng, A as $a } from "./replay-index-DxQ-bRJ-.js";
2
2
  var pd = "vercel.ai.error", $g = Symbol.for(pd), Vs, Gs, me = class fd extends (Gs = Error, Vs = $g, Gs) {
3
3
  /**
4
4
  * Creates an AI SDK Error.
@@ -12676,7 +12676,7 @@ async function HS() {
12676
12676
  if (sh())
12677
12677
  return ei == null && (ei = import(
12678
12678
  /* webpackIgnore: true */
12679
- "./replay-index-CiOV_Ucc.js"
12679
+ "./replay-index-DxQ-bRJ-.js"
12680
12680
  ).then((e) => e.bM).catch(() => {
12681
12681
  })), ei;
12682
12682
  }
@@ -19273,7 +19273,7 @@ function lC(e) {
19273
19273
  }
19274
19274
  return "Unknown error";
19275
19275
  }
19276
- const uC = "replay/ai-conversations", cC = "replay", dC = "0.31.0-next.5";
19276
+ const uC = "replay/ai-conversations", cC = "replay", dC = "0.31.0-next.6";
19277
19277
  function pC(e) {
19278
19278
  const t = e.baseUrl.replace(/\/$/, ""), o = e.accessToken;
19279
19279
  return {
@@ -1,4 +1,4 @@
1
- import { F as i, H as c, I as m } from "./replay-index-CiOV_Ucc.js";
1
+ import { F as i, H as c, I as m } from "./replay-index-DxQ-bRJ-.js";
2
2
  const C = 4e3;
3
3
  function l(t, e = `
4
4
  `) {
@@ -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-CiOV_Ucc.js";
2
- import { B as h, r as p, S as o } from "./replay-resolve-9K6-oXdr.js";
1
+ import { g as a, p as i, h as s, e as c, r as d, b as l } from "./replay-index-DxQ-bRJ-.js";
2
+ import { B as h, r as p, S as o } from "./replay-resolve-KCayE22f.js";
3
3
  class E extends h {
4
4
  constructor() {
5
5
  super();
@@ -1,8 +1,8 @@
1
- import { a6 as j, a7 as y } from "./replay-index-CiOV_Ucc.js";
2
- import { a as X, g as F, d as Q, o as Z, A as pe, S as ue, N as ee, n as N, w as I, t as de, b as ye, c as V, l as te, e as P, f as me, p as S, v as ne, k as he, h as ge, j as ve, m as E, q as O, r as se, s as be, u as D, x as M, y as x, H as Ee, z as Se, B as Oe, i as Te } from "./replay-lint-B6TsU9Uq.js";
3
- import { C as yt, D as mt, E as ht, F as gt, G as vt, I as bt, J as Et, K as St, L as Ot, M as Tt, O as Rt, P as xt, Q as kt, R as wt, T as Nt, U as It, V as Pt, W as Dt, X as _t, Y as Ct, Z as jt, _ as Ft, $ as Vt, a0 as Mt, a1 as $t, a2 as Lt, a3 as zt, a4 as Bt, a5 as qt, a6 as Gt, a7 as Kt, a8 as Ut, a9 as At, aa as Yt, ab as Ht, ac as Wt, ad as Jt, ae as Xt, af as Qt, ag as Zt, ah as en, ai as tn, aj as nn, ak as sn, al as rn, am as on, an, ao as cn, ap as fn, ae as ln, aq as pn } from "./replay-lint-B6TsU9Uq.js";
4
- import { i as Re, B as T, n as re, a as k, m as oe } from "./replay-resolve-9K6-oXdr.js";
5
- import { L as dn, R as yn, S as mn, Y as hn, e as gn, g as vn, b as bn, c as En, d as Sn, f as On, h as Tn, j as Rn, p as xn, k as kn, r as wn, l as Nn, s as In, u as Pn } from "./replay-resolve-9K6-oXdr.js";
1
+ import { a6 as j, a7 as y } from "./replay-index-DxQ-bRJ-.js";
2
+ import { a as X, g as F, d as Q, o as Z, A as pe, S as ue, N as ee, n as N, w as I, t as de, b as ye, c as V, l as te, e as P, f as me, p as S, v as ne, k as he, h as ge, j as ve, m as E, q as O, r as se, s as be, u as D, x as M, y as x, H as Ee, z as Se, B as Oe, i as Te } from "./replay-lint-B1carxC2.js";
3
+ import { C as yt, D as mt, E as ht, F as gt, G as vt, I as bt, J as Et, K as St, L as Ot, M as Tt, O as Rt, P as xt, Q as kt, R as wt, T as Nt, U as It, V as Pt, W as Dt, X as _t, Y as Ct, Z as jt, _ as Ft, $ as Vt, a0 as Mt, a1 as $t, a2 as Lt, a3 as zt, a4 as Bt, a5 as qt, a6 as Gt, a7 as Kt, a8 as Ut, a9 as At, aa as Yt, ab as Ht, ac as Wt, ad as Jt, ae as Xt, af as Qt, ag as Zt, ah as en, ai as tn, aj as nn, ak as sn, al as rn, am as on, an, ao as cn, ap as fn, ae as ln, aq as pn } from "./replay-lint-B1carxC2.js";
4
+ import { i as Re, B as T, n as re, a as k, m as oe } from "./replay-resolve-KCayE22f.js";
5
+ import { L as dn, R as yn, S as mn, Y as hn, e as gn, g as vn, b as bn, c as En, d as Sn, f as On, h as Tn, j as Rn, p as xn, k as kn, r as wn, l as Nn, s as In, u as Pn } from "./replay-resolve-KCayE22f.js";
6
6
  function st(e) {
7
7
  return (j.extname(e) === ".yaml" || j.extname(e) === ".yml") && !1;
8
8
  }
@@ -1,4 +1,4 @@
1
- import { i } from "./replay-index-CiOV_Ucc.js";
1
+ import { i } from "./replay-index-DxQ-bRJ-.js";
2
2
  async function l(t = {}) {
3
3
  return typeof t == "object" && Object.freeze(t), await i("plugin:dialog|open", { options: t });
4
4
  }
@@ -1,4 +1,4 @@
1
- import { i } from "./replay-index-CiOV_Ucc.js";
1
+ import { i } from "./replay-index-DxQ-bRJ-.js";
2
2
  async function o(n, e) {
3
3
  await i("plugin:opener|open_url", {
4
4
  url: n,
@@ -1,4 +1,4 @@
1
- import { i as t, x as D } from "./replay-index-CiOV_Ucc.js";
1
+ import { i as t, x as D } from "./replay-index-DxQ-bRJ-.js";
2
2
  var a;
3
3
  (function(r) {
4
4
  r.WINDOW_RESIZED = "tauri://resize", r.WINDOW_MOVED = "tauri://move", r.WINDOW_CLOSE_REQUESTED = "tauri://close-requested", r.WINDOW_DESTROYED = "tauri://destroyed", r.WINDOW_FOCUS = "tauri://focus", r.WINDOW_BLUR = "tauri://blur", r.WINDOW_SCALE_FACTOR_CHANGED = "tauri://scale-change", r.WINDOW_THEME_CHANGED = "tauri://theme-changed", r.WINDOW_CREATED = "tauri://window-created", r.WINDOW_SUSPENDED = "tauri://suspended", r.WINDOW_RESUMED = "tauri://resumed", r.WEBVIEW_CREATED = "tauri://webview-created", r.DRAG_ENTER = "tauri://drag-enter", r.DRAG_OVER = "tauri://drag-over", r.DRAG_DROP = "tauri://drag-drop", r.DRAG_LEAVE = "tauri://drag-leave";