teodor-new-chat-ui 4.3.533 → 4.3.535
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/features/core/types/requests.d.ts +0 -1
- package/dist/index.esm.js +71 -76
- package/dist/index.umd.js +4 -4
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -2723,22 +2723,22 @@ wt.getAdapter = ad.getAdapter;
|
|
|
2723
2723
|
wt.HttpStatusCode = Ja;
|
|
2724
2724
|
wt.default = wt;
|
|
2725
2725
|
const {
|
|
2726
|
-
Axios:
|
|
2727
|
-
AxiosError:
|
|
2728
|
-
CanceledError:
|
|
2726
|
+
Axios: n1,
|
|
2727
|
+
AxiosError: r1,
|
|
2728
|
+
CanceledError: o1,
|
|
2729
2729
|
isCancel: hc,
|
|
2730
|
-
CancelToken:
|
|
2731
|
-
VERSION:
|
|
2732
|
-
all:
|
|
2733
|
-
Cancel:
|
|
2734
|
-
isAxiosError:
|
|
2735
|
-
spread:
|
|
2736
|
-
toFormData:
|
|
2737
|
-
AxiosHeaders:
|
|
2738
|
-
HttpStatusCode:
|
|
2739
|
-
formToJSON:
|
|
2740
|
-
getAdapter:
|
|
2741
|
-
mergeConfig:
|
|
2730
|
+
CancelToken: s1,
|
|
2731
|
+
VERSION: a1,
|
|
2732
|
+
all: i1,
|
|
2733
|
+
Cancel: l1,
|
|
2734
|
+
isAxiosError: c1,
|
|
2735
|
+
spread: u1,
|
|
2736
|
+
toFormData: d1,
|
|
2737
|
+
AxiosHeaders: f1,
|
|
2738
|
+
HttpStatusCode: p1,
|
|
2739
|
+
formToJSON: h1,
|
|
2740
|
+
getAdapter: m1,
|
|
2741
|
+
mergeConfig: g1
|
|
2742
2742
|
} = wt, mc = typeof window < "u" ? window.__API_BASE_URL__ : void 0, gc = mc ? An(mc) : void 0;
|
|
2743
2743
|
function An(e) {
|
|
2744
2744
|
const n = (e != null && e.trim() ? e.trim() : "/api/chat").replace(/\/+$/, "");
|
|
@@ -2890,7 +2890,7 @@ class Oi {
|
|
|
2890
2890
|
return Vt(r);
|
|
2891
2891
|
}
|
|
2892
2892
|
}
|
|
2893
|
-
const Mn = new Oi(),
|
|
2893
|
+
const Mn = new Oi(), x1 = Oi, v1 = Oi;
|
|
2894
2894
|
async function Di(e, t) {
|
|
2895
2895
|
return await rn(e, {
|
|
2896
2896
|
responseType: "blob",
|
|
@@ -2907,7 +2907,7 @@ async function Di(e, t) {
|
|
|
2907
2907
|
maxBodyLength: 1 / 0
|
|
2908
2908
|
});
|
|
2909
2909
|
}
|
|
2910
|
-
async function
|
|
2910
|
+
async function w1(e, t) {
|
|
2911
2911
|
const n = await Di(`/files/${e}/view`, t), r = URL.createObjectURL(n);
|
|
2912
2912
|
window.open(r, "_blank"), setTimeout(() => URL.revokeObjectURL(r), 6e4);
|
|
2913
2913
|
}
|
|
@@ -2925,7 +2925,7 @@ async function Zv(e, t) {
|
|
|
2925
2925
|
const s = document.createElement("a");
|
|
2926
2926
|
s.href = r, s.download = o, document.body.appendChild(s), s.click(), s.remove(), setTimeout(() => URL.revokeObjectURL(r), 6e4);
|
|
2927
2927
|
}
|
|
2928
|
-
async function
|
|
2928
|
+
async function b1(e) {
|
|
2929
2929
|
return await rn(`/files/${e}`);
|
|
2930
2930
|
}
|
|
2931
2931
|
async function Qv(e, t = 50, n = 0) {
|
|
@@ -4628,7 +4628,6 @@ function $w({
|
|
|
4628
4628
|
config: k == null ? void 0 : k.config,
|
|
4629
4629
|
nodeFilter: k == null ? void 0 : k.nodeFilter,
|
|
4630
4630
|
branchLabel: k == null ? void 0 : k.branchLabel,
|
|
4631
|
-
active_agent: k == null ? void 0 : k.active_agent,
|
|
4632
4631
|
timelineCheckpoints: k == null ? void 0 : k.timelineCheckpoints
|
|
4633
4632
|
};
|
|
4634
4633
|
D(V);
|
|
@@ -4681,6 +4680,7 @@ function $w({
|
|
|
4681
4680
|
payload: we,
|
|
4682
4681
|
checkpointId: Ae,
|
|
4683
4682
|
checkpointNs: Ke,
|
|
4683
|
+
config: A == null ? void 0 : A.config,
|
|
4684
4684
|
edit: !!(A != null && A.edit)
|
|
4685
4685
|
};
|
|
4686
4686
|
D(Be);
|
|
@@ -4705,7 +4705,7 @@ function Fw() {
|
|
|
4705
4705
|
if (!e) throw new Error("useStream must be used within StreamingProvider");
|
|
4706
4706
|
return e;
|
|
4707
4707
|
}
|
|
4708
|
-
function
|
|
4708
|
+
function y1() {
|
|
4709
4709
|
return Dr(Td);
|
|
4710
4710
|
}
|
|
4711
4711
|
function Cc(e) {
|
|
@@ -4856,7 +4856,7 @@ function Kw(e) {
|
|
|
4856
4856
|
console.error("Failed to save settings:", t);
|
|
4857
4857
|
}
|
|
4858
4858
|
}
|
|
4859
|
-
function
|
|
4859
|
+
function S1() {
|
|
4860
4860
|
const e = Ww(), t = Vw(), n = Mn.getAuthToken(), r = typeof t.apiBaseUrl == "string" ? t.apiBaseUrl : void 0;
|
|
4861
4861
|
return {
|
|
4862
4862
|
...e,
|
|
@@ -4871,7 +4871,7 @@ function SN() {
|
|
|
4871
4871
|
)
|
|
4872
4872
|
};
|
|
4873
4873
|
}
|
|
4874
|
-
function
|
|
4874
|
+
function T1(e) {
|
|
4875
4875
|
Mn.updateConfig({
|
|
4876
4876
|
baseUrl: e.apiBaseUrl,
|
|
4877
4877
|
authToken: e.apiKey ?? void 0
|
|
@@ -8144,7 +8144,7 @@ var sS = "MenuArrow", Pf = h.forwardRef(
|
|
|
8144
8144
|
}
|
|
8145
8145
|
);
|
|
8146
8146
|
Pf.displayName = sS;
|
|
8147
|
-
var aS = "MenuSub", [
|
|
8147
|
+
var aS = "MenuSub", [C1, _f] = dr(aS), Qr = "MenuSubTrigger", Mf = h.forwardRef(
|
|
8148
8148
|
(e, t) => {
|
|
8149
8149
|
const n = fr(Qr, e.__scopeMenu), r = Po(Qr, e.__scopeMenu), o = _f(Qr, e.__scopeMenu), s = rl(Qr, e.__scopeMenu), a = h.useRef(null), { pointerGraceTimerRef: i, onPointerGraceIntentChange: l } = s, c = { __scopeMenu: e.__scopeMenu }, d = h.useCallback(() => {
|
|
8150
8150
|
a.current && window.clearTimeout(a.current), a.current = null;
|
|
@@ -8294,7 +8294,7 @@ function dS(e, t) {
|
|
|
8294
8294
|
function fo(e) {
|
|
8295
8295
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
8296
8296
|
}
|
|
8297
|
-
var fS = vf, pS = tl, hS = bf, mS = yf, gS = sl, xS = Sf, vS = Xs, wS = Cf, bS = kf, yS = If, SS = Af, TS = jf, CS = Pf, ES = Mf, kS = Df, Js = "DropdownMenu", [RS,
|
|
8297
|
+
var fS = vf, pS = tl, hS = bf, mS = yf, gS = sl, xS = Sf, vS = Xs, wS = Cf, bS = kf, yS = If, SS = Af, TS = jf, CS = Pf, ES = Mf, kS = Df, Js = "DropdownMenu", [RS, E1] = xn(
|
|
8298
8298
|
Js,
|
|
8299
8299
|
[gf]
|
|
8300
8300
|
), Bt = gf(), [IS, $f] = RS(Js), Ff = (e) => {
|
|
@@ -8586,7 +8586,7 @@ const lp = h.forwardRef(
|
|
|
8586
8586
|
"textarea",
|
|
8587
8587
|
{
|
|
8588
8588
|
className: ne(
|
|
8589
|
-
"flex min-h-[
|
|
8589
|
+
"flex min-h-[40px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
8590
8590
|
e
|
|
8591
8591
|
),
|
|
8592
8592
|
ref: n,
|
|
@@ -8630,7 +8630,10 @@ function eT({
|
|
|
8630
8630
|
[M, x]
|
|
8631
8631
|
), K = $.useCallback(() => {
|
|
8632
8632
|
const P = E.current;
|
|
8633
|
-
|
|
8633
|
+
if (!P) return;
|
|
8634
|
+
P.style.height = "auto";
|
|
8635
|
+
const Y = Math.max(P.scrollHeight, 40);
|
|
8636
|
+
P.style.height = `${Y}px`;
|
|
8634
8637
|
}, []);
|
|
8635
8638
|
$.useEffect(() => {
|
|
8636
8639
|
K();
|
|
@@ -8681,7 +8684,7 @@ function eT({
|
|
|
8681
8684
|
},
|
|
8682
8685
|
[A, t, c]
|
|
8683
8686
|
), V = `resize-none min-h-[44px] max-h-[20rem] w-full transition-colors ${t ? "border-[hsl(var(--ring))] bg-[hsl(var(--card))] text-[hsl(var(--card-foreground))] dark:bg-[hsl(var(--card))] dark:text-[hsl(var(--card-foreground))]" : ""} ${m}`;
|
|
8684
|
-
return /* @__PURE__ */ u.jsx("
|
|
8687
|
+
return /* @__PURE__ */ u.jsx("div", { className: `w-full ${p}`, children: /* @__PURE__ */ u.jsxs("div", { className: "flex items-end gap-2", children: [
|
|
8685
8688
|
/* @__PURE__ */ u.jsxs("div", { className: "flex-1", children: [
|
|
8686
8689
|
/* @__PURE__ */ u.jsx(
|
|
8687
8690
|
lp,
|
|
@@ -8718,7 +8721,8 @@ function eT({
|
|
|
8718
8721
|
) : /* @__PURE__ */ u.jsx(
|
|
8719
8722
|
ot,
|
|
8720
8723
|
{
|
|
8721
|
-
type: "
|
|
8724
|
+
type: "button",
|
|
8725
|
+
onClick: (P) => void A(P),
|
|
8722
8726
|
size: "icon",
|
|
8723
8727
|
className: `shrink-0 ${v ?? ""}`,
|
|
8724
8728
|
title: t ? "Save changes" : "Send message",
|
|
@@ -12032,7 +12036,7 @@ const wC = /* @__PURE__ */ Ze(() => {
|
|
|
12032
12036
|
function hu(e, t, n) {
|
|
12033
12037
|
return t !== "normal" && !(t != null && t.endsWith("px")) && n(`${e} was not resolved to pixel value correctly`, t, Yt.WARN), t === "normal" ? 0 : parseInt(t ?? "0", 10);
|
|
12034
12038
|
}
|
|
12035
|
-
var oa = "Dialog", [Hp,
|
|
12039
|
+
var oa = "Dialog", [Hp, k1] = xn(oa), [NC, vn] = Hp(oa), Up = (e) => {
|
|
12036
12040
|
const {
|
|
12037
12041
|
__scopeDialog: t,
|
|
12038
12042
|
children: n,
|
|
@@ -12237,7 +12241,7 @@ th.displayName = eh;
|
|
|
12237
12241
|
function Cl(e) {
|
|
12238
12242
|
return e ? "open" : "closed";
|
|
12239
12243
|
}
|
|
12240
|
-
var nh = "DialogTitleWarning", [
|
|
12244
|
+
var nh = "DialogTitleWarning", [R1, rh] = Gw(nh, {
|
|
12241
12245
|
contentName: ir,
|
|
12242
12246
|
titleName: Tl,
|
|
12243
12247
|
docsSlug: "dialog"
|
|
@@ -14188,7 +14192,7 @@ function uE({ preview: e, idx: t }) {
|
|
|
14188
14192
|
}
|
|
14189
14193
|
function dE({ artifact: e, idx: t = 0 }) {
|
|
14190
14194
|
const n = ze(() => e ? (Array.isArray(e.plots) ? e.plots : []).map((o) => Sw(o)).filter((o) => o !== null) : [], [e]);
|
|
14191
|
-
return n.length > 0 ? /* @__PURE__ */ u.jsx("div", { className: "space-y-2", children: n.map((r, o) => /* @__PURE__ */ u.jsx(uE, { preview: r, idx: o }, `${t}-plot-${o}`)) }) :
|
|
14195
|
+
return n.length > 0 ? /* @__PURE__ */ u.jsx("div", { className: "space-y-2", children: n.map((r, o) => /* @__PURE__ */ u.jsx(uE, { preview: r, idx: o }, `${t}-plot-${o}`)) }) : null;
|
|
14192
14196
|
}
|
|
14193
14197
|
const fE = "prose prose-sm max-w-none break-words dark:prose-invert prose-headings:break-words prose-p:break-words prose-li:break-words prose-td:break-words prose-th:break-words prose-a:break-all prose-code:break-words prose-blockquote:break-words";
|
|
14194
14198
|
function pi({ data: e }) {
|
|
@@ -14590,16 +14594,7 @@ function SE({
|
|
|
14590
14594
|
expandable: o = !1
|
|
14591
14595
|
}) {
|
|
14592
14596
|
var L;
|
|
14593
|
-
const s = Li(e), a = e.artifact ?? null, i = yE(e)
|
|
14594
|
-
console.log("[ToolContent] Rendering tool message:", {
|
|
14595
|
-
messageName: e.name,
|
|
14596
|
-
metaName: s.name,
|
|
14597
|
-
artifactType: a == null ? void 0 : a.type,
|
|
14598
|
-
hasToolConfig: !!r,
|
|
14599
|
-
hasToolRenderers: !!(r != null && r.toolRenderers),
|
|
14600
|
-
hasArtifactRenderers: !!(r != null && r.toolArtifactRenderers)
|
|
14601
|
-
});
|
|
14602
|
-
const c = (i ? Tw(i) : null) ?? i, d = e.content.find((D) => D.type !== "tool_call"), p = (D) => {
|
|
14597
|
+
const s = Li(e), a = e.artifact ?? null, i = yE(e), c = (i ? Tw(i) : null) ?? i, d = e.content.find((D) => D.type !== "tool_call"), p = (D) => {
|
|
14603
14598
|
if (D == null) return null;
|
|
14604
14599
|
const F = typeof D == "string" ? Fr(D) ?? D : D;
|
|
14605
14600
|
if (F && typeof F == "object")
|
|
@@ -16440,7 +16435,7 @@ function xi(e, [t, n]) {
|
|
|
16440
16435
|
function rk(e, t) {
|
|
16441
16436
|
return h.useReducer((n, r) => t[n][r] ?? n, e);
|
|
16442
16437
|
}
|
|
16443
|
-
var Ol = "ScrollArea", [Lh,
|
|
16438
|
+
var Ol = "ScrollArea", [Lh, I1] = xn(Ol), [ok, cn] = Lh(Ol), $h = h.forwardRef(
|
|
16444
16439
|
(e, t) => {
|
|
16445
16440
|
const {
|
|
16446
16441
|
__scopeScrollArea: n,
|
|
@@ -17402,7 +17397,7 @@ function vi({
|
|
|
17402
17397
|
] }) })
|
|
17403
17398
|
] });
|
|
17404
17399
|
}
|
|
17405
|
-
function
|
|
17400
|
+
function N1({
|
|
17406
17401
|
layout: e = "sidebar",
|
|
17407
17402
|
layoutSize: t = "desktop",
|
|
17408
17403
|
showThreads: n = !0,
|
|
@@ -17476,7 +17471,7 @@ function NN({
|
|
|
17476
17471
|
}
|
|
17477
17472
|
) });
|
|
17478
17473
|
}
|
|
17479
|
-
function
|
|
17474
|
+
function A1({ apiConfig: e, className: t = "", onError: n }) {
|
|
17480
17475
|
return /* @__PURE__ */ u.jsx(no, { apiConfig: e, onError: n, children: /* @__PURE__ */ u.jsx("div", { className: `h-full ${t}`, children: /* @__PURE__ */ u.jsx(ao, {}) }) });
|
|
17481
17476
|
}
|
|
17482
17477
|
function Ck({ placeholder: e, onMessageSent: t }) {
|
|
@@ -17524,7 +17519,7 @@ function Ck({ placeholder: e, onMessageSent: t }) {
|
|
|
17524
17519
|
) })
|
|
17525
17520
|
] });
|
|
17526
17521
|
}
|
|
17527
|
-
function
|
|
17522
|
+
function j1({
|
|
17528
17523
|
className: e = "",
|
|
17529
17524
|
placeholder: t,
|
|
17530
17525
|
isAuthenticated: n = !0,
|
|
@@ -17598,7 +17593,7 @@ function jN({
|
|
|
17598
17593
|
}
|
|
17599
17594
|
) }) : null;
|
|
17600
17595
|
}
|
|
17601
|
-
function
|
|
17596
|
+
function P1({
|
|
17602
17597
|
label: e = "New chat",
|
|
17603
17598
|
children: t,
|
|
17604
17599
|
className: n,
|
|
@@ -17674,7 +17669,7 @@ var rm = Object.freeze({
|
|
|
17674
17669
|
)
|
|
17675
17670
|
);
|
|
17676
17671
|
ca.displayName = Ik;
|
|
17677
|
-
var Nk = ca, Ak = [" ", "Enter", "ArrowUp", "ArrowDown"], jk = [" ", "Enter"], cr = "Select", [ua, da, Pk] = zs(cr), [Kr,
|
|
17672
|
+
var Nk = ca, Ak = [" ", "Enter", "ArrowUp", "ArrowDown"], jk = [" ", "Enter"], cr = "Select", [ua, da, Pk] = zs(cr), [Kr, _1] = xn(cr, [
|
|
17678
17673
|
Pk,
|
|
17679
17674
|
Ur
|
|
17680
17675
|
]), fa = Ur(), [_k, Kn] = Kr(cr), [Mk, Ok] = Kr(cr), om = (e) => {
|
|
@@ -18479,7 +18474,7 @@ function Xk(e, t) {
|
|
|
18479
18474
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
18480
18475
|
}
|
|
18481
18476
|
var Jk = om, Pm = am, Zk = lm, Qk = cm, eR = um, _m = dm, tR = mm, Mm = vm, Om = bm, nR = ym, rR = Tm, Dm = Cm, Lm = Em, $m = Rm;
|
|
18482
|
-
const
|
|
18477
|
+
const M1 = Jk, O1 = Zk, oR = h.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ u.jsxs(
|
|
18483
18478
|
Pm,
|
|
18484
18479
|
{
|
|
18485
18480
|
ref: r,
|
|
@@ -18617,7 +18612,7 @@ const fR = h.forwardRef(
|
|
|
18617
18612
|
)
|
|
18618
18613
|
);
|
|
18619
18614
|
fR.displayName = Hm.displayName;
|
|
18620
|
-
var pa = "Switch", [pR,
|
|
18615
|
+
var pa = "Switch", [pR, D1] = xn(pa), [hR, mR] = pR(pa), Um = h.forwardRef(
|
|
18621
18616
|
(e, t) => {
|
|
18622
18617
|
const {
|
|
18623
18618
|
__scopeSwitch: n,
|
|
@@ -18754,7 +18749,7 @@ const vR = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u.jsx(
|
|
|
18754
18749
|
}
|
|
18755
18750
|
));
|
|
18756
18751
|
vR.displayName = Gm.displayName;
|
|
18757
|
-
const
|
|
18752
|
+
const L1 = El, $1 = $C, wR = kl, Ym = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u.jsx(
|
|
18758
18753
|
Do,
|
|
18759
18754
|
{
|
|
18760
18755
|
className: ne(
|
|
@@ -18832,7 +18827,7 @@ const CR = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u.jsx(
|
|
|
18832
18827
|
}
|
|
18833
18828
|
));
|
|
18834
18829
|
CR.displayName = sa.displayName;
|
|
18835
|
-
var [ha,
|
|
18830
|
+
var [ha, F1] = xn("Tooltip", [
|
|
18836
18831
|
Ur
|
|
18837
18832
|
]), ma = Ur(), Xm = "TooltipProvider", ER = 700, Ci = "tooltip.open", [kR, zl] = ha(Xm), Jm = (e) => {
|
|
18838
18833
|
const {
|
|
@@ -18949,7 +18944,7 @@ var Ei = "TooltipTrigger", Qm = h.forwardRef(
|
|
|
18949
18944
|
}
|
|
18950
18945
|
);
|
|
18951
18946
|
Qm.displayName = Ei;
|
|
18952
|
-
var IR = "TooltipPortal", [
|
|
18947
|
+
var IR = "TooltipPortal", [z1, NR] = ha(IR, {
|
|
18953
18948
|
forceMount: void 0
|
|
18954
18949
|
}), Mr = "TooltipContent", eg = h.forwardRef(
|
|
18955
18950
|
(e, t) => {
|
|
@@ -19138,7 +19133,7 @@ function zR(e) {
|
|
|
19138
19133
|
return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
|
|
19139
19134
|
}
|
|
19140
19135
|
var BR = Jm, HR = Zm, UR = Qm, rg = eg;
|
|
19141
|
-
const
|
|
19136
|
+
const B1 = BR, H1 = HR, U1 = UR, WR = h.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ u.jsx(
|
|
19142
19137
|
rg,
|
|
19143
19138
|
{
|
|
19144
19139
|
ref: r,
|
|
@@ -19151,7 +19146,7 @@ const BN = BR, HN = HR, UN = UR, WR = h.forwardRef(({ className: e, sideOffset:
|
|
|
19151
19146
|
}
|
|
19152
19147
|
));
|
|
19153
19148
|
WR.displayName = rg.displayName;
|
|
19154
|
-
var Bl = "ToastProvider", [Hl, VR, KR] = zs("Toast"), [og,
|
|
19149
|
+
var Bl = "ToastProvider", [Hl, VR, KR] = zs("Toast"), [og, W1] = xn("Toast", [KR]), [qR, xa] = og(Bl), sg = (e) => {
|
|
19155
19150
|
const {
|
|
19156
19151
|
__scopeToast: t,
|
|
19157
19152
|
label: n = "Notification",
|
|
@@ -19644,7 +19639,7 @@ const Rg = h.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u.jsx(
|
|
|
19644
19639
|
}
|
|
19645
19640
|
));
|
|
19646
19641
|
Rg.displayName = bg.displayName;
|
|
19647
|
-
function
|
|
19642
|
+
function V1() {
|
|
19648
19643
|
const { toasts: e } = Al();
|
|
19649
19644
|
return /* @__PURE__ */ u.jsxs(cI, { children: [
|
|
19650
19645
|
e.map(function({ id: t, title: n, description: r, action: o, ...s }) {
|
|
@@ -19948,7 +19943,7 @@ var HI = Dg(function(e, t) {
|
|
|
19948
19943
|
})) : null;
|
|
19949
19944
|
}));
|
|
19950
19945
|
});
|
|
19951
|
-
const
|
|
19946
|
+
const K1 = ({ ...e }) => {
|
|
19952
19947
|
const { theme: t = "system" } = mI();
|
|
19953
19948
|
return /* @__PURE__ */ u.jsx(
|
|
19954
19949
|
HI,
|
|
@@ -19968,8 +19963,8 @@ const KN = ({ ...e }) => {
|
|
|
19968
19963
|
);
|
|
19969
19964
|
};
|
|
19970
19965
|
export {
|
|
19971
|
-
|
|
19972
|
-
|
|
19966
|
+
v1 as Api,
|
|
19967
|
+
x1 as ApiClient,
|
|
19973
19968
|
ew as ApiProvider,
|
|
19974
19969
|
dE as ArtifactRenderer,
|
|
19975
19970
|
AE as Badge,
|
|
@@ -19980,12 +19975,12 @@ export {
|
|
|
19980
19975
|
mh as CardHeader,
|
|
19981
19976
|
gh as CardTitle,
|
|
19982
19977
|
Oi as ChatApi,
|
|
19983
|
-
|
|
19978
|
+
N1 as ChatApp,
|
|
19984
19979
|
eT as ChatInput,
|
|
19985
19980
|
nT as ChatInputRow,
|
|
19986
19981
|
ao as ChatInterface,
|
|
19987
19982
|
no as ChatProviders,
|
|
19988
|
-
|
|
19983
|
+
j1 as ChatWidget,
|
|
19989
19984
|
jh as Command,
|
|
19990
19985
|
Mh as CommandEmpty,
|
|
19991
19986
|
Oh as CommandGroup,
|
|
@@ -20010,25 +20005,25 @@ export {
|
|
|
20010
20005
|
_l as MessageComponent,
|
|
20011
20006
|
Sh as MessageList,
|
|
20012
20007
|
yh as MessageRow,
|
|
20013
|
-
|
|
20008
|
+
P1 as NewChatButton,
|
|
20014
20009
|
uE as PlotArtifact,
|
|
20015
20010
|
Rd as SETTINGS_STORAGE_KEY,
|
|
20016
20011
|
Xh as ScrollArea,
|
|
20017
|
-
|
|
20012
|
+
M1 as Select,
|
|
20018
20013
|
sR as SelectContent,
|
|
20019
20014
|
iR as SelectItem,
|
|
20020
20015
|
oR as SelectTrigger,
|
|
20021
|
-
|
|
20016
|
+
O1 as SelectValue,
|
|
20022
20017
|
fR as Separator,
|
|
20023
|
-
|
|
20018
|
+
L1 as Sheet,
|
|
20024
20019
|
yR as SheetContent,
|
|
20025
20020
|
CR as SheetDescription,
|
|
20026
20021
|
SR as SheetHeader,
|
|
20027
20022
|
TR as SheetTitle,
|
|
20028
|
-
$
|
|
20029
|
-
|
|
20023
|
+
$1 as SheetTrigger,
|
|
20024
|
+
A1 as SimpleChat,
|
|
20030
20025
|
pi as SimpleJsonView,
|
|
20031
|
-
|
|
20026
|
+
K1 as Sonner,
|
|
20032
20027
|
pE as StreamProgress,
|
|
20033
20028
|
vR as Switch,
|
|
20034
20029
|
lp as Textarea,
|
|
@@ -20038,14 +20033,14 @@ export {
|
|
|
20038
20033
|
_w as ThreadStateProvider,
|
|
20039
20034
|
fw as ThreadsProvider,
|
|
20040
20035
|
QI as TimelineColumn,
|
|
20041
|
-
|
|
20036
|
+
V1 as Toaster,
|
|
20042
20037
|
SE as ToolContent,
|
|
20043
|
-
|
|
20038
|
+
H1 as Tooltip,
|
|
20044
20039
|
WR as TooltipContent,
|
|
20045
|
-
|
|
20046
|
-
|
|
20040
|
+
B1 as TooltipProvider,
|
|
20041
|
+
U1 as TooltipTrigger,
|
|
20047
20042
|
gE as UserTextContent,
|
|
20048
|
-
|
|
20043
|
+
T1 as applySettings,
|
|
20049
20044
|
ax as buildCheckpointIndex,
|
|
20050
20045
|
JI as buildCheckpointPreviewMap,
|
|
20051
20046
|
bw as buildLabelParts,
|
|
@@ -20064,11 +20059,11 @@ export {
|
|
|
20064
20059
|
vw as getAgentNameFromMessage,
|
|
20065
20060
|
qv as getChatToken,
|
|
20066
20061
|
ZI as getCheckpointForMessage,
|
|
20067
|
-
|
|
20062
|
+
S1 as getCurrentSettings,
|
|
20068
20063
|
Uw as getDefaultApiConfig,
|
|
20069
20064
|
Ww as getDefaultChatSettings,
|
|
20070
20065
|
vc as getFileContent,
|
|
20071
|
-
|
|
20066
|
+
b1 as getFileInfo,
|
|
20072
20067
|
ix as getMessageAttemptInfo,
|
|
20073
20068
|
bh as getMessageDomKey,
|
|
20074
20069
|
Fu as getPreviewForMessage,
|
|
@@ -20103,7 +20098,7 @@ export {
|
|
|
20103
20098
|
$s as useApi,
|
|
20104
20099
|
lx as useCheckpointIndex,
|
|
20105
20100
|
xE as useFilePreview,
|
|
20106
|
-
|
|
20101
|
+
y1 as useHasChatSession,
|
|
20107
20102
|
vE as useParsedMessageContent,
|
|
20108
20103
|
Bw as useShallowStableValue,
|
|
20109
20104
|
Fw as useStream,
|
|
@@ -20114,5 +20109,5 @@ export {
|
|
|
20114
20109
|
Pw as useThreadStateUpdater,
|
|
20115
20110
|
Ro as useThreads,
|
|
20116
20111
|
dw as useThreadsState,
|
|
20117
|
-
|
|
20112
|
+
w1 as viewFileById
|
|
20118
20113
|
};
|