@omg-dev/app 0.6.47 → 0.6.48
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-lib/{ChangelogPage-BJS6jrCM.js → ChangelogPage-BEnFIRRy.js} +8 -1
- package/dist-lib/{SessionFilesPanel-CyAiHfzx.js → SessionFilesPanel-DzQAJFzq.js} +1 -1
- package/dist-lib/{TermView-CRpVU4SH.js → TermView-CPG3z_GF.js} +2 -2
- package/dist-lib/{board-page-CjHurJa-.js → board-page-_B_8-2FR.js} +1 -1
- package/dist-lib/{chat-engine-BKcdrejc.js → chat-engine-Bf8L_qRT.js} +1 -1
- package/dist-lib/{coding-agents-page-C04PffDE.js → coding-agents-page-C4mpfMLx.js} +1 -1
- package/dist-lib/{computer-page-BSJLmJEH.js → computer-page-OKbV2_vd.js} +2 -2
- package/dist-lib/{embedded-D8sZvQv1.js → embedded-B5al5ubd.js} +85 -85
- package/dist-lib/index.js +1 -1
- package/dist-lib/{keyboard-DIXtq3W8.js → keyboard-DdcAA5y_.js} +1 -1
- package/dist-lib/{resume-session-sheet-D8Evlf-g.js → resume-session-sheet-0lu1tVnb.js} +1 -1
- package/dist-lib/{session-token-usage-BEaiBz5s.js → session-token-usage-DE3o2piX.js} +1 -1
- package/dist-lib/{shipped-page-Cmy7N9_7.js → shipped-page-C-PHKQog.js} +1 -1
- package/dist-lib/{streamdown-response-CllYrAv7.js → streamdown-response-CTjplCyM.js} +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { z as n } from "./embedded-
|
|
2
|
+
import { z as n } from "./embedded-B5al5ubd.js";
|
|
3
3
|
const t = `# Changelog
|
|
4
4
|
|
|
5
5
|
Recent product updates and deployment notes.
|
|
6
6
|
|
|
7
|
+
## September 6, 2026 - Tibo mode is one control, not three (v0.6.48)
|
|
8
|
+
|
|
9
|
+
- **Tibo mode hides the thinking and Fast pills while it is on.** Tibo mode
|
|
10
|
+
already pins Fast service and High thinking, so the composer showed three
|
|
11
|
+
controls for one decision. The Tibo pill is now the only one visible while
|
|
12
|
+
it is active, and turning it off restores the other two.
|
|
13
|
+
|
|
7
14
|
## September 5, 2026 - Free OpenCode default follows what the box can use (v0.6.47)
|
|
8
15
|
|
|
9
16
|
- **The free OpenCode default is the best free model the box actually
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as s, Fragment as te } from "react/jsx-runtime";
|
|
|
2
2
|
import { memo as ne, useState as m, useRef as T, useCallback as v, useEffect as C, useMemo as q, Suspense as U } from "react";
|
|
3
3
|
import { createPortal as re } from "react-dom";
|
|
4
4
|
import { cn as y } from "cnfast";
|
|
5
|
-
import { f as oe, a5 as W, a6 as se, X as I, a7 as ae, a8 as ie, L as H, a9 as le, y as de, C as ce, aa as L } from "./embedded-
|
|
5
|
+
import { f as oe, a5 as W, a6 as se, X as I, a7 as ae, a8 as ie, L as H, a9 as le, y as de, C as ce, aa as L } from "./embedded-B5al5ubd.js";
|
|
6
6
|
import { c as me } from "./create-CBk9uwJH.js";
|
|
7
7
|
/**
|
|
8
8
|
* @license lucide-react v0.577.0 - ISC
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as k, Fragment as vA } from "react/jsx-runtime";
|
|
2
2
|
import { useState as L, useRef as R, useEffect as p, useCallback as q } from "react";
|
|
3
|
-
import { f as UA, o as iQ, X as CA, ab as wQ, y as sQ, ac as tQ, ad as eQ, a5 as aQ, ae as MQ, R as hQ, C as NQ } from "./embedded-
|
|
4
|
-
import { K as ZA } from "./keyboard-
|
|
3
|
+
import { f as UA, o as iQ, X as CA, ab as wQ, y as sQ, ac as tQ, ad as eQ, a5 as aQ, ae as MQ, R as hQ, C as NQ } from "./embedded-B5al5ubd.js";
|
|
4
|
+
import { K as ZA } from "./keyboard-DdcAA5y_.js";
|
|
5
5
|
/**
|
|
6
6
|
* @license lucide-react v0.577.0 - ISC
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as x, useEffect as h, useMemo as b } from "react";
|
|
3
|
-
import { f as y, F as N, O as k, Q as w, a4 as v, L as I, m as A, k as _ } from "./embedded-
|
|
3
|
+
import { f as y, F as N, O as k, Q as w, a4 as v, L as I, m as A, k as _ } from "./embedded-B5al5ubd.js";
|
|
4
4
|
import { cn as g } from "cnfast";
|
|
5
5
|
/**
|
|
6
6
|
* @license lucide-react v0.577.0 - ISC
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as ao } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as Dt, useCallback as Lt, useSyncExternalStore as ut, useEffect as so } from "react";
|
|
3
3
|
import { g as io } from "./_commonjsHelpers-C6fGbg64.js";
|
|
4
|
-
import { af as uo } from "./embedded-
|
|
4
|
+
import { af as uo } from "./embedded-B5al5ubd.js";
|
|
5
5
|
var Ar = "vercel.ai.error", co = Symbol.for(Ar), Ut, Ft, se = class Nr extends (Ft = Error, Ut = co, Ft) {
|
|
6
6
|
/**
|
|
7
7
|
* Creates an AI SDK Error.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as s, jsx as e, Fragment as U } from "react/jsx-runtime";
|
|
2
|
-
import { R as v, B as u, L as C, n as A, o as S, M as W, p as j, q as E, s as f, T as O, u as I, v as X, w as D, x as J, y as Q, X as V, K as Y } from "./embedded-
|
|
2
|
+
import { R as v, B as u, L as C, n as A, o as S, M as W, p as j, q as E, s as f, T as O, u as I, v as X, w as D, x as J, y as Q, X as V, K as Y } from "./embedded-B5al5ubd.js";
|
|
3
3
|
import { cn as P } from "cnfast";
|
|
4
4
|
import { useState as T } from "react";
|
|
5
5
|
function B(l) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as pe, jsx as J, Fragment as zt } from "react/jsx-runtime";
|
|
2
2
|
import { useState as Ve, useRef as Qe, useCallback as ve, useEffect as Le } from "react";
|
|
3
|
-
import { f as Fn, a5 as Ai, ad as Mn, B as Ge, R as Tn, X as Qn, L as Xi, ag as Ln } from "./embedded-
|
|
4
|
-
import { K as Rn } from "./keyboard-
|
|
3
|
+
import { f as Fn, a5 as Ai, ad as Mn, B as Ge, R as Tn, X as Qn, L as Xi, ag as Ln } from "./embedded-B5al5ubd.js";
|
|
4
|
+
import { K as Rn } from "./keyboard-DdcAA5y_.js";
|
|
5
5
|
/**
|
|
6
6
|
* @license lucide-react v0.577.0 - ISC
|
|
7
7
|
*
|
|
@@ -1212,7 +1212,7 @@ function Yn(e, t) {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
const Gy = Yn(
|
|
1214
1214
|
"StreamdownResponse",
|
|
1215
|
-
() => import("./streamdown-response-
|
|
1215
|
+
() => import("./streamdown-response-CTjplCyM.js").then((e) => ({ default: e.StreamdownResponse }))
|
|
1216
1216
|
);
|
|
1217
1217
|
function Cs({ className: e, from: t, ...n }) {
|
|
1218
1218
|
return /* @__PURE__ */ r(
|
|
@@ -1923,7 +1923,7 @@ const zv = [
|
|
|
1923
1923
|
* This source code is licensed under the ISC license.
|
|
1924
1924
|
* See the LICENSE file in the root directory of this source tree.
|
|
1925
1925
|
*/
|
|
1926
|
-
const Dv = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]],
|
|
1926
|
+
const Dv = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], Ht = be("check", Dv);
|
|
1927
1927
|
/**
|
|
1928
1928
|
* @license lucide-react v0.577.0 - ISC
|
|
1929
1929
|
*
|
|
@@ -3891,7 +3891,7 @@ function j2({
|
|
|
3891
3891
|
"span",
|
|
3892
3892
|
{
|
|
3893
3893
|
className: o.done ? "mt-0.5 flex size-6 shrink-0 items-center justify-center rounded-full bg-primary/15 text-primary" : "mt-0.5 flex size-6 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground",
|
|
3894
|
-
children: o.done ? /* @__PURE__ */ r(
|
|
3894
|
+
children: o.done ? /* @__PURE__ */ r(Ht, { className: "size-3.5", "aria-hidden": !0 }) : /* @__PURE__ */ r(i, { className: "size-3.5", "aria-hidden": !0 })
|
|
3895
3895
|
}
|
|
3896
3896
|
),
|
|
3897
3897
|
/* @__PURE__ */ f("span", { className: "min-w-0", children: [
|
|
@@ -4044,7 +4044,7 @@ function Au(e) {
|
|
|
4044
4044
|
return !t || t.toLowerCase() === "unknown" ? null : t;
|
|
4045
4045
|
}
|
|
4046
4046
|
function Z2() {
|
|
4047
|
-
return Au("0.6.
|
|
4047
|
+
return Au("0.6.48");
|
|
4048
4048
|
}
|
|
4049
4049
|
const bm = Z2();
|
|
4050
4050
|
function ek(e) {
|
|
@@ -4996,7 +4996,7 @@ component stack:${t}` : null
|
|
|
4996
4996
|
onClick: g,
|
|
4997
4997
|
"aria-label": "Copy error details",
|
|
4998
4998
|
title: "Copy error details",
|
|
4999
|
-
children: m ? /* @__PURE__ */ r(
|
|
4999
|
+
children: m ? /* @__PURE__ */ r(Ht, { className: "size-3.5", "aria-hidden": !0 }) : /* @__PURE__ */ r(us, { className: "size-3.5", "aria-hidden": !0 })
|
|
5000
5000
|
}
|
|
5001
5001
|
)
|
|
5002
5002
|
] }),
|
|
@@ -5881,7 +5881,7 @@ function LC({
|
|
|
5881
5881
|
/* @__PURE__ */ r("span", { className: "block truncate text-sm font-medium", children: O.label }),
|
|
5882
5882
|
/* @__PURE__ */ r("span", { className: "block truncate text-xs text-muted-foreground", children: O.configured ? "Connected" : X ? "CLI not installed on this Computer" : L ? "Install first, then sign in" : `Sign in with ${j}` })
|
|
5883
5883
|
] }),
|
|
5884
|
-
O.configured ? /* @__PURE__ */ r("span", { className: "flex size-8 items-center justify-center rounded-full bg-emerald-500/10 text-emerald-500", "aria-label": "Connected", children: /* @__PURE__ */ r(
|
|
5884
|
+
O.configured ? /* @__PURE__ */ r("span", { className: "flex size-8 items-center justify-center rounded-full bg-emerald-500/10 text-emerald-500", "aria-label": "Connected", children: /* @__PURE__ */ r(Ht, { className: "size-4" }) }) : /* @__PURE__ */ r(
|
|
5885
5885
|
Ne,
|
|
5886
5886
|
{
|
|
5887
5887
|
variant: O.provider === "claude" ? "brand" : "outline",
|
|
@@ -5921,7 +5921,7 @@ function LC({
|
|
|
5921
5921
|
/* @__PURE__ */ r("span", { className: "block truncate text-sm font-medium", children: O.label }),
|
|
5922
5922
|
/* @__PURE__ */ r("span", { className: "block truncate text-xs text-muted-foreground", children: O.installed ? O.connected ? "Connected for private repos and PRs" : O.detail : "GitHub CLI is not installed" })
|
|
5923
5923
|
] }),
|
|
5924
|
-
O.connected ? /* @__PURE__ */ r("span", { className: "flex size-8 items-center justify-center rounded-full bg-emerald-500/10 text-emerald-500", "aria-label": "Connected", children: /* @__PURE__ */ r(
|
|
5924
|
+
O.connected ? /* @__PURE__ */ r("span", { className: "flex size-8 items-center justify-center rounded-full bg-emerald-500/10 text-emerald-500", "aria-label": "Connected", children: /* @__PURE__ */ r(Ht, { className: "size-4" }) }) : /* @__PURE__ */ r(
|
|
5925
5925
|
Ne,
|
|
5926
5926
|
{
|
|
5927
5927
|
variant: "outline",
|
|
@@ -6005,7 +6005,7 @@ function LC({
|
|
|
6005
6005
|
/* @__PURE__ */ r("h1", { className: "text-xl font-semibold", children: "Add omg to your home screen" }),
|
|
6006
6006
|
/* @__PURE__ */ r("p", { className: "mb-5 mt-1 text-sm text-muted-foreground", children: "One tap back to your Computer — its own icon and window, no browser tabs in the way." }),
|
|
6007
6007
|
p.installed ? /* @__PURE__ */ f("div", { className: "flex items-center gap-3 rounded-xl border border-border bg-muted/40 px-3 py-2.5 text-sm font-medium", children: [
|
|
6008
|
-
/* @__PURE__ */ r("span", { className: "flex size-8 items-center justify-center rounded-full bg-emerald-500/10 text-emerald-500", children: /* @__PURE__ */ r(
|
|
6008
|
+
/* @__PURE__ */ r("span", { className: "flex size-8 items-center justify-center rounded-full bg-emerald-500/10 text-emerald-500", children: /* @__PURE__ */ r(Ht, { className: "size-4" }) }),
|
|
6009
6009
|
"Added"
|
|
6010
6010
|
] }) : /* @__PURE__ */ f(
|
|
6011
6011
|
Ne,
|
|
@@ -6219,7 +6219,7 @@ function Sn({
|
|
|
6219
6219
|
className: "pointer-events-none absolute right-2 flex items-center justify-center",
|
|
6220
6220
|
"data-slot": "dropdown-menu-radio-item-indicator",
|
|
6221
6221
|
children: /* @__PURE__ */ r(zn.RadioItemIndicator, { children: /* @__PURE__ */ r(
|
|
6222
|
-
|
|
6222
|
+
Ht,
|
|
6223
6223
|
{}
|
|
6224
6224
|
) })
|
|
6225
6225
|
}
|
|
@@ -14298,7 +14298,7 @@ function F3() {
|
|
|
14298
14298
|
variant: w.id === v?.id ? "default" : "outline",
|
|
14299
14299
|
onClick: () => l(w.id),
|
|
14300
14300
|
children: [
|
|
14301
|
-
w.available ? /* @__PURE__ */ r(
|
|
14301
|
+
w.available ? /* @__PURE__ */ r(Ht, { className: "size-3.5" }) : null,
|
|
14302
14302
|
w.label.replace(/ \(.+\)$/, "")
|
|
14303
14303
|
]
|
|
14304
14304
|
},
|
|
@@ -15368,7 +15368,7 @@ const aT = Lr(function({
|
|
|
15368
15368
|
s?.merged ? "border-[var(--success)]/35 bg-[var(--success)]/10 text-foreground hover:bg-[var(--success)]/15" : "border-border bg-card/95 text-foreground hover:bg-card"
|
|
15369
15369
|
),
|
|
15370
15370
|
children: [
|
|
15371
|
-
s?.merged ? /* @__PURE__ */ r(
|
|
15371
|
+
s?.merged ? /* @__PURE__ */ r(Ht, { className: "size-3.5 text-[var(--success)]", strokeWidth: 2.5 }) : /* @__PURE__ */ r(Gp, { className: "size-3.5 text-[var(--primary)]" }),
|
|
15372
15372
|
/* @__PURE__ */ f("span", { children: [
|
|
15373
15373
|
u,
|
|
15374
15374
|
" changed"
|
|
@@ -15391,7 +15391,7 @@ const aT = Lr(function({
|
|
|
15391
15391
|
] }) : null;
|
|
15392
15392
|
}), lT = Yn(
|
|
15393
15393
|
"session-files-panel",
|
|
15394
|
-
() => import("./SessionFilesPanel-
|
|
15394
|
+
() => import("./SessionFilesPanel-DzQAJFzq.js")
|
|
15395
15395
|
);
|
|
15396
15396
|
function ql() {
|
|
15397
15397
|
let e = document.activeElement;
|
|
@@ -15735,7 +15735,7 @@ function ba({
|
|
|
15735
15735
|
{
|
|
15736
15736
|
className: "pointer-events-none absolute right-2 flex items-center justify-center",
|
|
15737
15737
|
"data-slot": "context-menu-radio-item-indicator",
|
|
15738
|
-
children: /* @__PURE__ */ r(Un.RadioItemIndicator, { children: /* @__PURE__ */ r(
|
|
15738
|
+
children: /* @__PURE__ */ r(Un.RadioItemIndicator, { children: /* @__PURE__ */ r(Ht, {}) })
|
|
15739
15739
|
}
|
|
15740
15740
|
),
|
|
15741
15741
|
t
|
|
@@ -15863,7 +15863,7 @@ function nd({ value: e, label: t }) {
|
|
|
15863
15863
|
} catch {
|
|
15864
15864
|
}
|
|
15865
15865
|
},
|
|
15866
|
-
children: n ? /* @__PURE__ */ r(
|
|
15866
|
+
children: n ? /* @__PURE__ */ r(Ht, { className: "size-4 text-success" }) : /* @__PURE__ */ r(us, { className: "size-4" })
|
|
15867
15867
|
}
|
|
15868
15868
|
);
|
|
15869
15869
|
}
|
|
@@ -16126,7 +16126,7 @@ function kT({
|
|
|
16126
16126
|
m ? Nx(m) : "The box that served this page"
|
|
16127
16127
|
] })
|
|
16128
16128
|
] }),
|
|
16129
|
-
h ? /* @__PURE__ */ r(
|
|
16129
|
+
h ? /* @__PURE__ */ r(Ht, { className: "size-4 shrink-0 text-primary", "aria-label": "Selected" }) : u ? /* @__PURE__ */ r("span", { className: "text-xs font-medium text-primary", children: "Use" }) : null
|
|
16130
16130
|
]
|
|
16131
16131
|
},
|
|
16132
16132
|
d
|
|
@@ -16242,7 +16242,7 @@ function Sx({
|
|
|
16242
16242
|
/* @__PURE__ */ r("span", { className: "block truncate text-[13px] font-medium", children: y.name }),
|
|
16243
16243
|
/* @__PURE__ */ r("span", { className: "block truncate text-[11px] text-muted-foreground", children: v ? Nx(v) : "The box that served this page" })
|
|
16244
16244
|
] }),
|
|
16245
|
-
x ? /* @__PURE__ */ r(
|
|
16245
|
+
x ? /* @__PURE__ */ r(Ht, { className: "size-4 shrink-0 text-primary" }) : null
|
|
16246
16246
|
]
|
|
16247
16247
|
},
|
|
16248
16248
|
y.id
|
|
@@ -19169,27 +19169,27 @@ function t_({ className: e, isStreaming: t, children: n, ...s }) {
|
|
|
19169
19169
|
function n_({ className: e, children: t, ...n }) {
|
|
19170
19170
|
return /* @__PURE__ */ r(zi, { className: D("mt-2 text-sm", e), ...n, children: /* @__PURE__ */ r(Ci, { className: "ai-live-text max-w-full opacity-90", children: t }) });
|
|
19171
19171
|
}
|
|
19172
|
-
const r_ = Yn("OmgChatEngine", () => import("./chat-engine-
|
|
19172
|
+
const r_ = Yn("OmgChatEngine", () => import("./chat-engine-Bf8L_qRT.js"));
|
|
19173
19173
|
function s_() {
|
|
19174
|
-
const e = () => void import("./chat-engine-
|
|
19174
|
+
const e = () => void import("./chat-engine-Bf8L_qRT.js").catch(() => {
|
|
19175
19175
|
}), t = globalThis.requestIdleCallback;
|
|
19176
19176
|
typeof t == "function" ? t(e, { timeout: 3e3 }) : setTimeout(e, 1500);
|
|
19177
19177
|
}
|
|
19178
19178
|
const Wx = Yn(
|
|
19179
19179
|
"TermView",
|
|
19180
|
-
() => import("./TermView-
|
|
19181
|
-
), ip = Yn("ShippedPage", () => import("./shipped-page-
|
|
19180
|
+
() => import("./TermView-CPG3z_GF.js").then((e) => ({ default: e.TermView }))
|
|
19181
|
+
), ip = Yn("ShippedPage", () => import("./shipped-page-C-PHKQog.js")), o_ = Yn(
|
|
19182
19182
|
"SessionTokenUsageDialog",
|
|
19183
|
-
() => import("./session-token-usage-
|
|
19183
|
+
() => import("./session-token-usage-DE3o2piX.js")
|
|
19184
19184
|
), i_ = Yn(
|
|
19185
19185
|
"CodingAgentsPage",
|
|
19186
|
-
() => import("./coding-agents-page-
|
|
19187
|
-
), a_ = Yn("ComputerPage", () => import("./computer-page-
|
|
19186
|
+
() => import("./coding-agents-page-C4mpfMLx.js")
|
|
19187
|
+
), a_ = Yn("ComputerPage", () => import("./computer-page-OKbV2_vd.js")), qx = Yn("BoardPage", () => import("./board-page-_B_8-2FR.js")), ap = Yn(
|
|
19188
19188
|
"ResumeSessionSheet",
|
|
19189
|
-
() => import("./resume-session-sheet-
|
|
19189
|
+
() => import("./resume-session-sheet-0lu1tVnb.js")
|
|
19190
19190
|
), l_ = Yn(
|
|
19191
19191
|
"ChangelogPage",
|
|
19192
|
-
() => import("./ChangelogPage-
|
|
19192
|
+
() => import("./ChangelogPage-BEnFIRRy.js")
|
|
19193
19193
|
), Di = Kt("configured"), c_ = {
|
|
19194
19194
|
claude: "Claude",
|
|
19195
19195
|
codex: "Codex",
|
|
@@ -21541,7 +21541,7 @@ function kF() {
|
|
|
21541
21541
|
/* @__PURE__ */ new Map()
|
|
21542
21542
|
), Se = q(0), He = q(/* @__PURE__ */ new Map()), Ye = q(0), mt = q(0), wt = q(/* @__PURE__ */ new Map()), [Y, le] = N([]), [he, pe] = N(null), [_e, Fe] = N(null), [Pe, Je] = N(!1), [Ge, Me] = N(null), Qe = q(Ge);
|
|
21543
21543
|
Qe.current = Ge;
|
|
21544
|
-
const [oe, Re] = N([]), [lt, ut] = N(!0), [It, pt] = N(null), [Ot, _t] = N(!1), [Nt, Ft] = N(!1), [nn, en] = N(null), [Qt, tn] = N(0), [or, hn] = N(!1), kt = W1(),
|
|
21544
|
+
const [oe, Re] = N([]), [lt, ut] = N(!0), [It, pt] = N(null), [Ot, _t] = N(!1), [Nt, Ft] = N(!1), [nn, en] = N(null), [Qt, tn] = N(0), [or, hn] = N(!1), kt = W1(), jt = rm({ select: (b) => b.location.pathname }), Xn = rm({ select: (b) => b.location.search }), [Yt, bn] = N(
|
|
21545
21545
|
() => localStorage.getItem("lfg_user")
|
|
21546
21546
|
), [ae, ye] = N(UC), [Te, at] = N($u), [ft, Pt] = N([]);
|
|
21547
21547
|
G(() => {
|
|
@@ -21556,7 +21556,7 @@ function kF() {
|
|
|
21556
21556
|
}, [Yt, ae]);
|
|
21557
21557
|
const rn = re((b) => {
|
|
21558
21558
|
HC(b), ye(b === "owner" ? "" : b);
|
|
21559
|
-
}, []), An = k2(
|
|
21559
|
+
}, []), An = k2(jt), fe = Te.hiddenPages.includes(An) ? vo : An, ln = fe === "bots" ? jt.split("/").filter(Boolean) : [], Mn = ln[1] ?? null, ir = Mn === "new" ? "new" : ln[2] === "edit" ? Mn : null, yn = Mn && Mn !== "new" ? Mn : null, vn = S2(jt), Sr = re(
|
|
21560
21560
|
(b) => ({
|
|
21561
21561
|
...b.embed ? { embed: b.embed } : {},
|
|
21562
21562
|
...b.embedOrigin ? { embedOrigin: b.embedOrigin } : {}
|
|
@@ -21625,7 +21625,7 @@ function kF() {
|
|
|
21625
21625
|
gs?.activeId ?? Fl().id,
|
|
21626
21626
|
Yt,
|
|
21627
21627
|
Y.find((b) => b.email === Yt)
|
|
21628
|
-
), ve = x && !!cr, [Ee, ot] = N(() => V), [
|
|
21628
|
+
), ve = x && !!cr, [Ee, ot] = N(() => V), [Ut, gt] = N(!1), [Hn, Jn] = N(!1);
|
|
21629
21629
|
G(() => {
|
|
21630
21630
|
fe === "live" && ot(!0), fe === "notifications" && gt(!0), fe === "artifacts" && Jn(!0);
|
|
21631
21631
|
}, [fe]), G(() => {
|
|
@@ -23415,7 +23415,7 @@ ${b.reasoning.map((Ar) => `- ${Ar}`).join(`
|
|
|
23415
23415
|
onRefresh: () => void Nn({ refreshModels: !0 })
|
|
23416
23416
|
}
|
|
23417
23417
|
) }) : null,
|
|
23418
|
-
|
|
23418
|
+
Ut || fe === "notifications" ? /* @__PURE__ */ r("div", { className: fe === "notifications" ? void 0 : "hidden", "aria-hidden": fe !== "notifications", children: /* @__PURE__ */ r(gn, { fallback: /* @__PURE__ */ r("div", { className: "py-10 text-center text-sm text-muted-foreground", children: "Loading…" }), children: /* @__PURE__ */ r(
|
|
23419
23419
|
ip,
|
|
23420
23420
|
{
|
|
23421
23421
|
active: fe === "notifications",
|
|
@@ -24348,7 +24348,7 @@ function TF({
|
|
|
24348
24348
|
R.status.profile ? `Connected as ${R.status.profile.label}` : "Connected"
|
|
24349
24349
|
) : R.status.checks.find((Ce) => !Ce.ok)?.label || "Not set up" })
|
|
24350
24350
|
] }),
|
|
24351
|
-
R.status.configured ? /* @__PURE__ */ r(
|
|
24351
|
+
R.status.configured ? /* @__PURE__ */ r(Ht, { className: "size-4 shrink-0 text-emerald-500" }) : R.status.setupRunning ? /* @__PURE__ */ r(ct, { className: "size-4 shrink-0 animate-spin text-muted-foreground" }) : null
|
|
24352
24352
|
]
|
|
24353
24353
|
},
|
|
24354
24354
|
R.key
|
|
@@ -24357,7 +24357,7 @@ function TF({
|
|
|
24357
24357
|
] }),
|
|
24358
24358
|
x.lines.length > 0 && /* @__PURE__ */ f("div", { className: "mt-3 overflow-hidden rounded-xl border border-border bg-muted/40", children: [
|
|
24359
24359
|
/* @__PURE__ */ f("div", { className: "flex items-center gap-2 border-b border-border px-3 py-1.5 text-xs font-medium text-muted-foreground", children: [
|
|
24360
|
-
x.running ? /* @__PURE__ */ r(ct, { className: "size-3.5 animate-spin" }) : x.error ? /* @__PURE__ */ r("span", { className: "size-2 rounded-full bg-red-500" }) : /* @__PURE__ */ r(
|
|
24360
|
+
x.running ? /* @__PURE__ */ r(ct, { className: "size-3.5 animate-spin" }) : x.error ? /* @__PURE__ */ r("span", { className: "size-2 rounded-full bg-red-500" }) : /* @__PURE__ */ r(Ht, { className: "size-3.5 text-emerald-500" }),
|
|
24361
24361
|
x.running ? "Installing agents…" : x.error ? "Install failed" : "Install complete"
|
|
24362
24362
|
] }),
|
|
24363
24363
|
/* @__PURE__ */ r(
|
|
@@ -25143,7 +25143,7 @@ function BF({
|
|
|
25143
25143
|
pt.current = { projectFilter: s, projectOptions: A, onProjectChange: P };
|
|
25144
25144
|
const Ot = q(null);
|
|
25145
25145
|
G(() => {
|
|
25146
|
-
let Ee = 0, ot = 0,
|
|
25146
|
+
let Ee = 0, ot = 0, Ut = !1, gt = 0, Hn = !1;
|
|
25147
25147
|
const Jn = () => window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? !1, ee = (Ve) => {
|
|
25148
25148
|
const Ze = Ot.current;
|
|
25149
25149
|
!Ze || Hn || (Ze.style.transition = "none", Ze.style.transform = Ve ? `translateX(${Ve}px)` : "", Ze.style.opacity = Ve ? String(Math.max(0.85, 1 - Math.abs(Ve) / 520)) : "");
|
|
@@ -25174,11 +25174,11 @@ function BF({
|
|
|
25174
25174
|
}
|
|
25175
25175
|
return !1;
|
|
25176
25176
|
}, Rt = (Ve) => {
|
|
25177
|
-
if (Math.abs(Ve.deltaX) <= Math.abs(Ve.deltaY) || tt(Ve.target) || (Ve.preventDefault(), Ve.timeStamp - ot > 250 && (Ee = 0,
|
|
25178
|
-
|
|
25177
|
+
if (Math.abs(Ve.deltaX) <= Math.abs(Ve.deltaY) || tt(Ve.target) || (Ve.preventDefault(), Ve.timeStamp - ot > 250 && (Ee = 0, Ut = !1), ot = Ve.timeStamp, Ut) || (Ee += Ve.deltaX, ee(-Ee * 0.45), window.clearTimeout(gt), gt = window.setTimeout(() => {
|
|
25178
|
+
Ut || (Ee = 0, Ke());
|
|
25179
25179
|
}, 250), Math.abs(Ee) < 60)) return;
|
|
25180
25180
|
const $t = Ee > 0 ? 1 : -1;
|
|
25181
|
-
|
|
25181
|
+
Ut = !0, window.clearTimeout(gt);
|
|
25182
25182
|
const { projectFilter: Xt, projectOptions: dn, onProjectChange: Wn } = pt.current;
|
|
25183
25183
|
if (!Wn || dn.length === 0) {
|
|
25184
25184
|
Ke();
|
|
@@ -25267,26 +25267,26 @@ function BF({
|
|
|
25267
25267
|
G(() => {
|
|
25268
25268
|
F !== "chat" || !kt || (se((te) => te === kt ? te : kt), mt(kt));
|
|
25269
25269
|
}, [F, kt]);
|
|
25270
|
-
const
|
|
25270
|
+
const jt = Ae(
|
|
25271
25271
|
() => db(e, (te) => !!i[te.sessionId ?? ""]),
|
|
25272
25272
|
[e, i]
|
|
25273
|
-
), Xn = new Set(me), Yt = (te) => Xn.has(ns(te.session)) || te.children.some(Yt), bn = (te) => Sg(te.session), ae =
|
|
25273
|
+
), Xn = new Set(me), Yt = (te) => Xn.has(ns(te.session)) || te.children.some(Yt), bn = (te) => Sg(te.session), ae = jt.roots.filter(
|
|
25274
25274
|
(te) => Yt(te) && !bn(te)
|
|
25275
|
-
), ye = [], Te =
|
|
25275
|
+
), ye = [], Te = jt.flatten(ae), at = jt.flatten(ye), ft = Ae(
|
|
25276
25276
|
() => yg(
|
|
25277
|
-
|
|
25277
|
+
jt.roots.filter(
|
|
25278
25278
|
(te) => !Yt(te) && !bn(te)
|
|
25279
25279
|
),
|
|
25280
|
-
(te) =>
|
|
25280
|
+
(te) => jt.flatten([te]).length,
|
|
25281
25281
|
ts
|
|
25282
25282
|
),
|
|
25283
25283
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
25284
|
-
[
|
|
25284
|
+
[jt, me]
|
|
25285
25285
|
), Pt = ub(), rn = (te) => !Se && Pt.includes(te), fe = [
|
|
25286
25286
|
...rn("__pinned") ? [] : Te,
|
|
25287
25287
|
...at,
|
|
25288
25288
|
...ft.flatMap(
|
|
25289
|
-
(te) => rn(te.key) ? [] :
|
|
25289
|
+
(te) => rn(te.key) ? [] : jt.flatten(te.nodes)
|
|
25290
25290
|
)
|
|
25291
25291
|
].map((te) => te.sessionId).filter((te) => !!te).join(","), ln = Ae(
|
|
25292
25292
|
() => fe ? fe.split(",") : [],
|
|
@@ -25308,8 +25308,8 @@ function BF({
|
|
|
25308
25308
|
Re.current = te, mt(te), se(te);
|
|
25309
25309
|
return;
|
|
25310
25310
|
}
|
|
25311
|
-
const [ot,
|
|
25312
|
-
let gt = ln.slice(ot,
|
|
25311
|
+
const [ot, Ut] = ve < Ee ? [ve, Ee] : [Ee, ve];
|
|
25312
|
+
let gt = ln.slice(ot, Ut + 1);
|
|
25313
25313
|
gt.length > Xe && (xe.error(`${Xe} panes max — selection trimmed`), gt = Ee >= ve ? gt.slice(gt.length - Xe) : gt.slice(0, Xe)), Ce(gt), se(null), mt(te);
|
|
25314
25314
|
},
|
|
25315
25315
|
[ln]
|
|
@@ -25402,10 +25402,10 @@ function BF({
|
|
|
25402
25402
|
() => Ot.current?.closest("[data-lfg-app-surface]") ?? Ot.current
|
|
25403
25403
|
), ve = (Ee) => {
|
|
25404
25404
|
if (!te.owns(Ee)) return;
|
|
25405
|
-
const ot = Ws.current,
|
|
25405
|
+
const ot = Ws.current, Ut = ot.orderedSids, gt = ot.cursor && Ut.includes(ot.cursor) ? ot.cursor : Ut[0] ?? null, Hn = Ee.key.length === 1 ? Ee.key.toLowerCase() : Ee.key, Jn = Ee.metaKey || Ee.ctrlKey;
|
|
25406
25406
|
if (Jn && Ee.key === ".") {
|
|
25407
25407
|
Ee.preventDefault();
|
|
25408
|
-
const tt = gt && ot.busyBySid[gt] ? gt :
|
|
25408
|
+
const tt = gt && ot.busyBySid[gt] ? gt : Ut.find((Rt) => ot.busyBySid[Rt]) ?? gt;
|
|
25409
25409
|
ot.interruptSid(tt);
|
|
25410
25410
|
return;
|
|
25411
25411
|
}
|
|
@@ -25414,9 +25414,9 @@ function BF({
|
|
|
25414
25414
|
return;
|
|
25415
25415
|
}
|
|
25416
25416
|
if (Jn || Ee.altKey || $s()) return;
|
|
25417
|
-
const ee = gt ?
|
|
25418
|
-
if (!
|
|
25419
|
-
const Ze =
|
|
25417
|
+
const ee = gt ? Ut.indexOf(gt) : -1, Ke = (tt, Rt, Ve) => {
|
|
25418
|
+
if (!Ut.length) return;
|
|
25419
|
+
const Ze = Ut[Math.max(0, Math.min(Ut.length - 1, ee + tt))];
|
|
25420
25420
|
Ze && (Rt ? (Re.current || (Re.current = gt ?? Ze), ot.setCursor(Ze), ot.selectTo(Ze)) : Ve ? ot.activate(Ze, !1) : (Re.current = Ze, ot.setCursor(Ze)));
|
|
25421
25421
|
}, bt = (tt) => {
|
|
25422
25422
|
ot.columnIds.includes(tt) ? ot.pulseStage(tt) : ot.activate(tt, !1), window.setTimeout(() => {
|
|
@@ -25438,7 +25438,7 @@ function BF({
|
|
|
25438
25438
|
ot.setPreview(null);
|
|
25439
25439
|
return;
|
|
25440
25440
|
}
|
|
25441
|
-
const tt = gt && ot.busyBySid[gt] ? gt :
|
|
25441
|
+
const tt = gt && ot.busyBySid[gt] ? gt : Ut.find((Rt) => ot.busyBySid[Rt]) ?? null;
|
|
25442
25442
|
tt && (Ee.preventDefault(), ot.interruptSid(tt));
|
|
25443
25443
|
return;
|
|
25444
25444
|
}
|
|
@@ -25484,7 +25484,7 @@ function BF({
|
|
|
25484
25484
|
default:
|
|
25485
25485
|
if (/^[1-9]$/.test(Ee.key)) {
|
|
25486
25486
|
const tt = Number(Ee.key) - 1;
|
|
25487
|
-
|
|
25487
|
+
Ut[tt] && (Ee.preventDefault(), ot.activate(Ut[tt], Ee.shiftKey));
|
|
25488
25488
|
}
|
|
25489
25489
|
}
|
|
25490
25490
|
};
|
|
@@ -25531,11 +25531,11 @@ function BF({
|
|
|
25531
25531
|
}, ar = Ae(() => Nt.map((te) => {
|
|
25532
25532
|
if (t?.sessionId === te)
|
|
25533
25533
|
return { sid: te, session: t };
|
|
25534
|
-
const ve =
|
|
25534
|
+
const ve = jt.nodeForSessionId(te), Ee = ve?.session.sessionId ?? te;
|
|
25535
25535
|
return !ve || !Ee ? null : { sid: Ee, session: ve.session };
|
|
25536
25536
|
}).filter(
|
|
25537
25537
|
(te) => !!te
|
|
25538
|
-
), [Nt,
|
|
25538
|
+
), [Nt, jt, t]), lr = (te, ve) => {
|
|
25539
25539
|
const Ee = te.sessionId ?? "", ot = F === "chat" ? hn?.id ?? null : void 0;
|
|
25540
25540
|
return /* @__PURE__ */ r(
|
|
25541
25541
|
"div",
|
|
@@ -25546,9 +25546,9 @@ function BF({
|
|
|
25546
25546
|
children: /* @__PURE__ */ r(
|
|
25547
25547
|
wf,
|
|
25548
25548
|
{
|
|
25549
|
-
fallback: (
|
|
25549
|
+
fallback: (Ut) => /* @__PURE__ */ f("section", { className: "live-pane flex h-full min-w-0 flex-col items-center justify-center gap-2 rounded-xl border border-destructive/30 bg-destructive/5 p-4 text-center text-sm text-destructive", children: [
|
|
25550
25550
|
/* @__PURE__ */ r("span", { children: "This session column hit a render error." }),
|
|
25551
|
-
/* @__PURE__ */ r(Ne, { size: "sm", variant: "outline", onClick:
|
|
25551
|
+
/* @__PURE__ */ r(Ne, { size: "sm", variant: "outline", onClick: Ut, children: "Retry" })
|
|
25552
25552
|
] }),
|
|
25553
25553
|
children: /* @__PURE__ */ r(
|
|
25554
25554
|
tO,
|
|
@@ -25616,14 +25616,14 @@ function BF({
|
|
|
25616
25616
|
}
|
|
25617
25617
|
) : null, jr = Ae(() => {
|
|
25618
25618
|
if (F !== "chat" || !kt || !hn) return [];
|
|
25619
|
-
const ve =
|
|
25619
|
+
const ve = jt.nodeForSessionId(kt)?.session ?? e.find((Ee) => Ee.sessionId === kt) ?? null;
|
|
25620
25620
|
return ve ? [{ sid: kt, session: vk(hn, ve) }] : [
|
|
25621
25621
|
{
|
|
25622
25622
|
sid: kt,
|
|
25623
25623
|
session: Ng(hn, kt)
|
|
25624
25624
|
}
|
|
25625
25625
|
];
|
|
25626
|
-
}, [F, kt, hn,
|
|
25626
|
+
}, [F, kt, hn, jt, e]), wn = Ae(() => {
|
|
25627
25627
|
const te = J ? ut.get(J) : void 0;
|
|
25628
25628
|
return J && te ? [{ sid: J, session: te }] : [];
|
|
25629
25629
|
}, [J, ut]), Tn = F === "chat" ? jr : F === "board" ? wn : ar, Dn = Tn.length + (F === "board" ? 1 : 0), cr = Sd(C, e, Ue), gs = (
|
|
@@ -25644,7 +25644,7 @@ function BF({
|
|
|
25644
25644
|
}
|
|
25645
25645
|
) : null,
|
|
25646
25646
|
cr.map((te) => {
|
|
25647
|
-
const ve = te.bot, Ee = te.sessionId, ot = te.session,
|
|
25647
|
+
const ve = te.bot, Ee = te.sessionId, ot = te.session, Ut = !!(Ee && i[Ee]), gt = H === ve.id && (!qe || qe === te.conversationId || qe === te.sessionId), Hn = ot?.last?.text || ot?.lastUserText || te.lastMessagePreview || ve.lastMessagePreview || "", Jn = ec(Lg(Hn, Ut)), ee = () => {
|
|
25648
25648
|
W?.(ve.id, te.conversationId), Ee && yn(Ee, !1);
|
|
25649
25649
|
}, Ke = te.unread && Ee ? () => nt(Ee) : void 0;
|
|
25650
25650
|
return /* @__PURE__ */ r(
|
|
@@ -25659,7 +25659,7 @@ function BF({
|
|
|
25659
25659
|
pb,
|
|
25660
25660
|
{
|
|
25661
25661
|
bot: ve,
|
|
25662
|
-
busy:
|
|
25662
|
+
busy: Ut,
|
|
25663
25663
|
active: gt,
|
|
25664
25664
|
collapsed: Se,
|
|
25665
25665
|
avatarSize: Se ? 32 : 44,
|
|
@@ -26657,7 +26657,7 @@ function WF({
|
|
|
26657
26657
|
}
|
|
26658
26658
|
) : null,
|
|
26659
26659
|
p ? /* @__PURE__ */ f("span", { className: "flex shrink-0 items-center gap-1.5 rounded-lg bg-emerald-500/15 px-3 py-1.5 font-medium text-emerald-700 dark:text-emerald-300", children: [
|
|
26660
|
-
/* @__PURE__ */ r(
|
|
26660
|
+
/* @__PURE__ */ r(Ht, { className: "size-3.5" }),
|
|
26661
26661
|
"Connected"
|
|
26662
26662
|
] }) : null
|
|
26663
26663
|
] }),
|
|
@@ -29187,7 +29187,7 @@ const tO = Lr(function({
|
|
|
29187
29187
|
G(() => {
|
|
29188
29188
|
Ft.current += 1, Nt.current = !1, _t.current = null, He(!1), mt(""), Y([]), he([]), _e(0), Pe(!1), Ge(0), ut(null), pt(null), Qe(null), Re(null), sa();
|
|
29189
29189
|
}, [t]);
|
|
29190
|
-
const kt = lt ? Ue.get(lt) ?? null : null,
|
|
29190
|
+
const kt = lt ? Ue.get(lt) ?? null : null, jt = Ie.length ? `${Ie[0].index}:${Ie.length}` : "";
|
|
29191
29191
|
G(() => {
|
|
29192
29192
|
if (!Se || kt == null || !le.length) {
|
|
29193
29193
|
sa();
|
|
@@ -29197,7 +29197,7 @@ const tO = Lr(function({
|
|
|
29197
29197
|
d.current?.querySelector('[data-find-hit="true"]') ?? null,
|
|
29198
29198
|
le
|
|
29199
29199
|
);
|
|
29200
|
-
}, [Se, kt, le,
|
|
29200
|
+
}, [Se, kt, le, jt]), G(() => sa, []), qt(() => {
|
|
29201
29201
|
h(!0), ze.current = !0, E(!0), V.current = null, I.current = null, S.current = !1, $.current = Number.NEGATIVE_INFINITY, Q.current.clear(), Le.current = null, R.current = !0, Ce(), B.current = 0;
|
|
29202
29202
|
}, [t, Ce]), qt(() => {
|
|
29203
29203
|
if (o || y === t) return;
|
|
@@ -29912,7 +29912,7 @@ function cu({
|
|
|
29912
29912
|
),
|
|
29913
29913
|
"aria-label": a ? "Message copied" : "Copy message",
|
|
29914
29914
|
title: a ? "Copied" : "Copy message",
|
|
29915
|
-
children: a ? /* @__PURE__ */ r(
|
|
29915
|
+
children: a ? /* @__PURE__ */ r(Ht, { className: "size-3.5" }) : /* @__PURE__ */ r(us, { className: "size-3.5" })
|
|
29916
29916
|
}
|
|
29917
29917
|
) : null
|
|
29918
29918
|
]
|
|
@@ -30554,7 +30554,7 @@ function Cf({
|
|
|
30554
30554
|
disabled: !l || d || !!y,
|
|
30555
30555
|
onClick: () => l && void V("/api/projects/use-folder", { path: l.current }),
|
|
30556
30556
|
children: [
|
|
30557
|
-
/* @__PURE__ */ r(
|
|
30557
|
+
/* @__PURE__ */ r(Ht, { className: "size-4" }),
|
|
30558
30558
|
" Use This Folder"
|
|
30559
30559
|
]
|
|
30560
30560
|
}
|
|
@@ -30625,7 +30625,7 @@ function Ib({
|
|
|
30625
30625
|
g ? "bg-blue-500/15 text-blue-500" : "bg-muted text-muted-foreground"
|
|
30626
30626
|
),
|
|
30627
30627
|
children: [
|
|
30628
|
-
g ? /* @__PURE__ */ r(
|
|
30628
|
+
g ? /* @__PURE__ */ r(Ht, { className: "size-3.5" }) : /* @__PURE__ */ r(vu, { className: "size-3.5" }),
|
|
30629
30629
|
g ? "Done" : "Manage"
|
|
30630
30630
|
]
|
|
30631
30631
|
}
|
|
@@ -30692,7 +30692,7 @@ function Ib({
|
|
|
30692
30692
|
/* @__PURE__ */ r("span", { className: "block truncate text-sm font-medium", children: "All projects" }),
|
|
30693
30693
|
m ? /* @__PURE__ */ r("span", { className: "block truncate text-xs text-muted-foreground", children: "Show every session" }) : null
|
|
30694
30694
|
] }),
|
|
30695
|
-
I ? /* @__PURE__ */ r(
|
|
30695
|
+
I ? /* @__PURE__ */ r(Ht, { className: "size-4 shrink-0 text-emerald-500" }) : /* @__PURE__ */ r(Vt, { className: "size-4 shrink-0 text-muted-foreground" })
|
|
30696
30696
|
]
|
|
30697
30697
|
}
|
|
30698
30698
|
) : null,
|
|
@@ -30743,7 +30743,7 @@ function Ib({
|
|
|
30743
30743
|
/* @__PURE__ */ r("span", { className: "block truncate text-sm font-medium", children: S.name }),
|
|
30744
30744
|
m ? /* @__PURE__ */ r("span", { className: "block truncate text-xs text-muted-foreground", children: S.cwd }) : null
|
|
30745
30745
|
] }),
|
|
30746
|
-
S.cwd === n ? /* @__PURE__ */ r(
|
|
30746
|
+
S.cwd === n ? /* @__PURE__ */ r(Ht, { className: "size-4 shrink-0 text-emerald-500" }) : /* @__PURE__ */ r(Vt, { className: "size-4 shrink-0 text-muted-foreground" })
|
|
30747
30747
|
]
|
|
30748
30748
|
},
|
|
30749
30749
|
S.cwd
|
|
@@ -31007,7 +31007,7 @@ function ud({
|
|
|
31007
31007
|
G(() => {
|
|
31008
31008
|
e && j(Ms(s || localStorage.getItem("lfg_user"), n));
|
|
31009
31009
|
}, [e, s, n]);
|
|
31010
|
-
const Qt = w.models[I] ?? xr[I], tn = hs(I, C), or = E.showComposerFastMode && JE({ agent: I, model: C }), hn = U && or, kt = KE({ agent: I, model: C, thinkingLevels: tn }),
|
|
31010
|
+
const Qt = w.models[I] ?? xr[I], tn = hs(I, C), or = E.showComposerFastMode && JE({ agent: I, model: C }), hn = U && or, kt = KE({ agent: I, model: C, thinkingLevels: tn }), jt = _ && kt && hn && W === "high", Xn = o !== "__all" ? t.find((ee) => Or(ee) === o) : void 0, Yt = !!Xn, bn = o === "__all", ae = zE({
|
|
31011
31011
|
scopedCwd: Xn?.cwd,
|
|
31012
31012
|
lastCwd: K,
|
|
31013
31013
|
repos: t
|
|
@@ -31045,16 +31045,16 @@ function ud({
|
|
|
31045
31045
|
}, [W, tn]), G(() => {
|
|
31046
31046
|
O(eh(localStorage, I));
|
|
31047
31047
|
}, [I]), G(() => {
|
|
31048
|
-
|
|
31049
|
-
}, [
|
|
31048
|
+
jt && W !== "high" && M("high");
|
|
31049
|
+
}, [jt, W]);
|
|
31050
31050
|
function Mn(ee) {
|
|
31051
|
-
L(ee), Wc(localStorage, ee), ee && kt ? (O(!0), qc(localStorage, I, !0), M("high")) : !ee &&
|
|
31051
|
+
L(ee), Wc(localStorage, ee), ee && kt ? (O(!0), qc(localStorage, I, !0), M("high")) : !ee && jt && (O(!1), qc(localStorage, I, !1));
|
|
31052
31052
|
}
|
|
31053
31053
|
function ir(ee) {
|
|
31054
31054
|
O(ee), qc(localStorage, I, ee), !ee && _ && (L(!1), Wc(localStorage, !1));
|
|
31055
31055
|
}
|
|
31056
31056
|
function yn(ee) {
|
|
31057
|
-
|
|
31057
|
+
jt && ee !== "high" && (L(!1), Wc(localStorage, !1)), M(ee);
|
|
31058
31058
|
}
|
|
31059
31059
|
const vn = Ae(() => Bi(y, k), [k, y]), Sr = Ae(() => C_(y, k), [k, y]), Br = A_(), Ws = M_(), cn = I === "aisdk" && S ? `aisdk:${S}` : I;
|
|
31060
31060
|
G(() => {
|
|
@@ -31221,7 +31221,7 @@ function ud({
|
|
|
31221
31221
|
}
|
|
31222
31222
|
)
|
|
31223
31223
|
),
|
|
31224
|
-
/* @__PURE__ */ r(
|
|
31224
|
+
jt ? null : /* @__PURE__ */ r(
|
|
31225
31225
|
Ef,
|
|
31226
31226
|
{
|
|
31227
31227
|
agent: I,
|
|
@@ -31232,7 +31232,7 @@ function ud({
|
|
|
31232
31232
|
immersive: !0
|
|
31233
31233
|
}
|
|
31234
31234
|
),
|
|
31235
|
-
or ? /* @__PURE__ */ r(
|
|
31235
|
+
or && !jt ? /* @__PURE__ */ r(
|
|
31236
31236
|
AO,
|
|
31237
31237
|
{
|
|
31238
31238
|
enabled: hn,
|
|
@@ -31243,7 +31243,7 @@ function ud({
|
|
|
31243
31243
|
I === "codex" || I === "codex-aisdk" ? /* @__PURE__ */ r(
|
|
31244
31244
|
MO,
|
|
31245
31245
|
{
|
|
31246
|
-
enabled:
|
|
31246
|
+
enabled: jt,
|
|
31247
31247
|
available: kt,
|
|
31248
31248
|
onToggle: () => Mn(!_),
|
|
31249
31249
|
flat: m === "inline"
|
|
@@ -31274,7 +31274,7 @@ function ud({
|
|
|
31274
31274
|
className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-border bg-background text-muted-foreground shadow-sm transition hover:text-foreground",
|
|
31275
31275
|
children: /* @__PURE__ */ r(Ti, { className: "size-4" })
|
|
31276
31276
|
}
|
|
31277
|
-
),
|
|
31277
|
+
), Ut = /* @__PURE__ */ f(Dr, { open: mt, onOpenChange: It, children: [
|
|
31278
31278
|
/* @__PURE__ */ r(
|
|
31279
31279
|
Pr,
|
|
31280
31280
|
{
|
|
@@ -31364,7 +31364,7 @@ function ud({
|
|
|
31364
31364
|
children: /* @__PURE__ */ r(Eu, { className: "text-sm font-medium", children: "Creating session…" })
|
|
31365
31365
|
}
|
|
31366
31366
|
) : null,
|
|
31367
|
-
m === "inline" ?
|
|
31367
|
+
m === "inline" ? Ut : null,
|
|
31368
31368
|
/* @__PURE__ */ r(
|
|
31369
31369
|
kf,
|
|
31370
31370
|
{
|
|
@@ -31486,7 +31486,7 @@ function ud({
|
|
|
31486
31486
|
{
|
|
31487
31487
|
disabled: !jr,
|
|
31488
31488
|
thinkingLevel: W,
|
|
31489
|
-
thinkingLevels:
|
|
31489
|
+
thinkingLevels: jt ? ["high"] : Qx(I) ? tn : [],
|
|
31490
31490
|
onLaunch: (ee) => {
|
|
31491
31491
|
yn(ee), lr(void 0, void 0, ee);
|
|
31492
31492
|
}
|
|
@@ -32347,7 +32347,7 @@ function Rb({
|
|
|
32347
32347
|
u ? "bg-primary/12 text-foreground ring-1 ring-inset ring-primary/20" : D("text-foreground focus-visible:bg-muted", !i && "hover:bg-muted")
|
|
32348
32348
|
),
|
|
32349
32349
|
children: [
|
|
32350
|
-
/* @__PURE__ */ r(
|
|
32350
|
+
/* @__PURE__ */ r(Ht, { className: D("size-4 shrink-0 text-primary", u ? "opacity-100" : "opacity-0") }),
|
|
32351
32351
|
/* @__PURE__ */ r("span", { className: "min-w-0 flex-1 truncate", children: d })
|
|
32352
32352
|
]
|
|
32353
32353
|
},
|
|
@@ -32667,7 +32667,7 @@ function Lb({
|
|
|
32667
32667
|
disabled: m || !k.trim(),
|
|
32668
32668
|
onClick: Ie,
|
|
32669
32669
|
children: [
|
|
32670
|
-
/* @__PURE__ */ r(
|
|
32670
|
+
/* @__PURE__ */ r(Ht, { className: "size-4" }),
|
|
32671
32671
|
"Update agent"
|
|
32672
32672
|
]
|
|
32673
32673
|
}
|
|
@@ -32729,7 +32729,7 @@ function Lb({
|
|
|
32729
32729
|
onClick: () => void Oe(),
|
|
32730
32730
|
className: "flex-1",
|
|
32731
32731
|
children: [
|
|
32732
|
-
m ? /* @__PURE__ */ r(ct, { className: "size-4 animate-spin" }) : /* @__PURE__ */ r(
|
|
32732
|
+
m ? /* @__PURE__ */ r(ct, { className: "size-4 animate-spin" }) : /* @__PURE__ */ r(Ht, { className: "size-4" }),
|
|
32733
32733
|
"Make the change"
|
|
32734
32734
|
]
|
|
32735
32735
|
}
|
|
@@ -32842,7 +32842,7 @@ function Lb({
|
|
|
32842
32842
|
/* @__PURE__ */ r("div", { className: "mt-1 text-[13.5px] leading-relaxed", children: e.suggest })
|
|
32843
32843
|
] }) : null,
|
|
32844
32844
|
e.fixCommit ? /* @__PURE__ */ f("div", { className: "mt-3.5 flex items-center gap-2 text-[13px] text-muted-foreground", children: [
|
|
32845
|
-
/* @__PURE__ */ r(
|
|
32845
|
+
/* @__PURE__ */ r(Ht, { className: "size-3.5 shrink-0 text-success" }),
|
|
32846
32846
|
/* @__PURE__ */ f("span", { children: [
|
|
32847
32847
|
e.status === "resolved" ? "Fixed in" : "Fix landed in",
|
|
32848
32848
|
" ",
|
|
@@ -33263,7 +33263,7 @@ function OO({
|
|
|
33263
33263
|
title: x ? void 0 : "Loading this agent's full prompt…",
|
|
33264
33264
|
onClick: () => void qe(),
|
|
33265
33265
|
children: [
|
|
33266
|
-
L || !x ? /* @__PURE__ */ r(ct, { className: "size-4 animate-spin" }) : /* @__PURE__ */ r(
|
|
33266
|
+
L || !x ? /* @__PURE__ */ r(ct, { className: "size-4 animate-spin" }) : /* @__PURE__ */ r(Ht, { className: "size-4" }),
|
|
33267
33267
|
d ? "Create" : "Save"
|
|
33268
33268
|
]
|
|
33269
33269
|
}
|
|
@@ -34839,7 +34839,7 @@ function Np({
|
|
|
34839
34839
|
children: s
|
|
34840
34840
|
}
|
|
34841
34841
|
),
|
|
34842
|
-
o ? i ? /* @__PURE__ */ r(
|
|
34842
|
+
o ? i ? /* @__PURE__ */ r(Ht, { className: "size-3.5 text-success" }) : /* @__PURE__ */ r(us, { className: "size-3.5 text-muted-foreground/60" }) : null
|
|
34843
34843
|
] })
|
|
34844
34844
|
] });
|
|
34845
34845
|
return o ? /* @__PURE__ */ r(
|
|
@@ -36644,6 +36644,6 @@ export {
|
|
|
36644
36644
|
Fi as v,
|
|
36645
36645
|
xe as w,
|
|
36646
36646
|
fn as x,
|
|
36647
|
-
|
|
36647
|
+
Ht as y,
|
|
36648
36648
|
Ci as z
|
|
36649
36649
|
};
|
package/dist-lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@tanstack/react-router";
|
|
4
|
-
import { ah as m, ai as o, aj as i } from "./embedded-
|
|
4
|
+
import { ah as m, ai as o, aj as i } from "./embedded-B5al5ubd.js";
|
|
5
5
|
export {
|
|
6
6
|
m as OmgAppSurface,
|
|
7
7
|
o as OmgSettingsSurface,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as s, Fragment as R } from "react/jsx-runtime";
|
|
2
|
-
import { r as X, P as J, a as le, g as oe, h as ie, i as ce, X as K, A as P, R as Y, j as de, S as ue, k as Z, T as me, l as he, m as pe, C as fe, L as ge } from "./embedded-
|
|
2
|
+
import { r as X, P as J, a as le, g as oe, h as ie, i as ce, X as K, A as P, R as Y, j as de, S as ue, k as Z, T as me, l as he, m as pe, C as fe, L as ge } from "./embedded-B5al5ubd.js";
|
|
3
3
|
import { cn as x } from "cnfast";
|
|
4
4
|
import { useState as a, useRef as E, useEffect as C, useCallback as xe } from "react";
|
|
5
5
|
function be(r) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as a, Fragment as w } from "react/jsx-runtime";
|
|
2
|
-
import { a as $, D as C, b as T, c as M, d as D, G as S, e as F, t as L, L as R } from "./embedded-
|
|
2
|
+
import { a as $, D as C, b as T, c as M, d as D, G as S, e as F, t as L, L as R } from "./embedded-B5al5ubd.js";
|
|
3
3
|
import { useState as g, useCallback as j, useEffect as z } from "react";
|
|
4
4
|
import "@base-ui/react/collapsible";
|
|
5
5
|
import { cn as P } from "cnfast";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as r, Fragment as ce } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f, useEffect as v, useRef as ue, useContext as Le, useMemo as Me } from "react";
|
|
3
|
-
import { f as _e, E as me, F as $e, H as L, I as fe, J as Se, N as Pe, O as Fe, B as je, L as he, Q as Ge, k as J, C as Ye, R as Be, T as Ke, U as Ue, v as pe, q as He, V as Ve, a as C, W as N, Y as D, w as z, Z as Q, _ as qe, $ as Je, a0 as Qe, a1 as Xe, a2 as Oe, n as We, a3 as Ze } from "./embedded-
|
|
3
|
+
import { f as _e, E as me, F as $e, H as L, I as fe, J as Se, N as Pe, O as Fe, B as je, L as he, Q as Ge, k as J, C as Ye, R as Be, T as Ke, U as Ue, v as pe, q as He, V as Ve, a as C, W as N, Y as D, w as z, Z as Q, _ as qe, $ as Je, a0 as Qe, a1 as Xe, a2 as Oe, n as We, a3 as Ze } from "./embedded-B5al5ubd.js";
|
|
4
4
|
import { cn as M } from "cnfast";
|
|
5
5
|
/**
|
|
6
6
|
* @license lucide-react v0.577.0 - ISC
|
|
@@ -3,7 +3,7 @@ import { useMemo as We, useState as Ce, useEffect as xe, useRef as Ve } from "re
|
|
|
3
3
|
import { r as He, t as T, o as Ue, u as be, y as L, A as Je, a as Qe } from "./chunk-YOKDWASO-B5AA2F8u.js";
|
|
4
4
|
import { b as Xe, c as Ye, a as Ze, d as Ke } from "./engine-compile-D_stzVMa.js";
|
|
5
5
|
import { cn as je } from "cnfast";
|
|
6
|
-
import { ab as et, y as tt, ac as nt } from "./embedded-
|
|
6
|
+
import { ab as et, y as tt, ac as nt } from "./embedded-B5al5ubd.js";
|
|
7
7
|
const d = (
|
|
8
8
|
/** @type {const} */
|
|
9
9
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omg-dev/app",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.48",
|
|
4
4
|
"description": "The full OMG application surface for React hosts.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://omg.dev",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@chenglou/pretext": "^0.0.8",
|
|
30
30
|
"@novnc/novnc": "^1.7.0",
|
|
31
31
|
"@number-flow/react": "^0.6.2",
|
|
32
|
-
"@omg-dev/client": "0.6.
|
|
32
|
+
"@omg-dev/client": "0.6.48",
|
|
33
33
|
"@pierre/diffs": "^1.3.1",
|
|
34
34
|
"@pierre/trees": "1.0.0-beta.6",
|
|
35
35
|
"@streamdown/cjk": "^1.0.3",
|