@omg-dev/app 0.6.53 → 0.6.54
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-BSltv_cp.js → ChangelogPage-ZCG63VYl.js} +6 -1
- package/dist-lib/{SessionFilesPanel-q8Z_5QQd.js → SessionFilesPanel-C96LFRaK.js} +1 -1
- package/dist-lib/{TermView-BkWM4y0U.js → TermView-DPak1fmH.js} +2 -2
- package/dist-lib/{board-page-CQZ8W2Bt.js → board-page-CjMNQP53.js} +1 -1
- package/dist-lib/{chat-engine-C3aPQyop.js → chat-engine-9n8lwBiU.js} +1 -1
- package/dist-lib/{coding-agents-page-CMhNHNTE.js → coding-agents-page-BjNVGDUO.js} +1 -1
- package/dist-lib/{computer-page-DWowfItr.js → computer-page-CpnPqiR3.js} +2 -2
- package/dist-lib/{embedded-BuuIAOAv.js → embedded-Be_WfQ0h.js} +119 -114
- package/dist-lib/index.d.ts +2 -1
- package/dist-lib/index.js +1 -1
- package/dist-lib/{keyboard-Do3AP-cA.js → keyboard-CcMBZA9k.js} +1 -1
- package/dist-lib/{resume-session-sheet-E939OaqP.js → resume-session-sheet-Cdd6ggcF.js} +1 -1
- package/dist-lib/{session-token-usage-D-dnrkgT.js → session-token-usage-CFcnTEub.js} +1 -1
- package/dist-lib/{shipped-page-Bl4w00Qo.js → shipped-page-YCpkukPP.js} +1 -1
- package/dist-lib/{streamdown-response-C-ujKmCG.js → streamdown-response-Sv-hLrr_.js} +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { z as n } from "./embedded-
|
|
2
|
+
import { z as n } from "./embedded-Be_WfQ0h.js";
|
|
3
3
|
const t = `# Changelog
|
|
4
4
|
|
|
5
5
|
Recent product updates and deployment notes.
|
|
6
6
|
|
|
7
|
+
## September 7, 2026 - Tool access works inside omg.dev (v0.6.54)
|
|
8
|
+
|
|
9
|
+
- Roles and connectors load from your machine when Settings is opened inside omg.dev. The "Unexpected token '<'" error is gone.
|
|
10
|
+
- Hosts can route the Tool access page like Coding agents and Storage, so it opens as its own page with a back link.
|
|
11
|
+
|
|
7
12
|
## September 6, 2026 - Edit names beside each machine (v0.6.53)
|
|
8
13
|
|
|
9
14
|
- Use the pencil beside a machine to edit its name without switching machines.
|
|
@@ -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-Be_WfQ0h.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-Be_WfQ0h.js";
|
|
4
|
+
import { K as ZA } from "./keyboard-CcMBZA9k.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-Be_WfQ0h.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-Be_WfQ0h.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-Be_WfQ0h.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-Be_WfQ0h.js";
|
|
4
|
+
import { K as Rn } from "./keyboard-CcMBZA9k.js";
|
|
5
5
|
/**
|
|
6
6
|
* @license lucide-react v0.577.0 - ISC
|
|
7
7
|
*
|
|
@@ -193,7 +193,7 @@ function gy() {
|
|
|
193
193
|
function be(e, t) {
|
|
194
194
|
return Or.request(e, t);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Ht(e, t) {
|
|
197
197
|
return Or.fetch(e, t);
|
|
198
198
|
}
|
|
199
199
|
function xy(e, t, n) {
|
|
@@ -230,7 +230,7 @@ function Ny(e, t) {
|
|
|
230
230
|
let o = !1, i;
|
|
231
231
|
const a = new AbortController(), l = async () => {
|
|
232
232
|
try {
|
|
233
|
-
const c = await
|
|
233
|
+
const c = await Ht("/api/runtime-status", { signal: a.signal });
|
|
234
234
|
if (o) return;
|
|
235
235
|
if (c.status === 404 || c.status === 405) {
|
|
236
236
|
s({ generation: t, state: null });
|
|
@@ -1467,7 +1467,7 @@ function Kn(e, t) {
|
|
|
1467
1467
|
}
|
|
1468
1468
|
const yv = Kn(
|
|
1469
1469
|
"StreamdownResponse",
|
|
1470
|
-
() => import("./streamdown-response-
|
|
1470
|
+
() => import("./streamdown-response-Sv-hLrr_.js").then((e) => ({ default: e.StreamdownResponse }))
|
|
1471
1471
|
);
|
|
1472
1472
|
function Ms({ className: e, from: t, ...n }) {
|
|
1473
1473
|
return /* @__PURE__ */ r(
|
|
@@ -1631,7 +1631,7 @@ async function Fv(e) {
|
|
|
1631
1631
|
const t = Oi();
|
|
1632
1632
|
if (t.catch(() => {
|
|
1633
1633
|
}), await Notification.requestPermission() !== "granted") return !1;
|
|
1634
|
-
const s = await
|
|
1634
|
+
const s = await Ht("/api/push/vapid");
|
|
1635
1635
|
if (!s.ok) throw new Error("Could not load push key");
|
|
1636
1636
|
const { key: o } = await s.json(), i = await t;
|
|
1637
1637
|
if (!i)
|
|
@@ -1639,7 +1639,7 @@ async function Fv(e) {
|
|
|
1639
1639
|
Fi || Au() ? "This host hasn't given OMG a service-worker scope for notifications yet" : "Couldn't start the notification service worker — reload the app and try again"
|
|
1640
1640
|
);
|
|
1641
1641
|
const l = (await _v(i, Nv(o))).toJSON();
|
|
1642
|
-
return await
|
|
1642
|
+
return await Ht("/api/push/subscribe", {
|
|
1643
1643
|
method: "POST",
|
|
1644
1644
|
headers: { "Content-Type": "application/json" },
|
|
1645
1645
|
body: JSON.stringify({
|
|
@@ -1661,7 +1661,7 @@ async function Ov() {
|
|
|
1661
1661
|
if (!t) return;
|
|
1662
1662
|
const n = t.endpoint;
|
|
1663
1663
|
await t.unsubscribe().catch(() => {
|
|
1664
|
-
}), await
|
|
1664
|
+
}), await Ht("/api/push/unsubscribe", {
|
|
1665
1665
|
method: "POST",
|
|
1666
1666
|
headers: { "Content-Type": "application/json" },
|
|
1667
1667
|
body: JSON.stringify({ endpoint: n })
|
|
@@ -2014,7 +2014,7 @@ const ow = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], fr = ye("chevron-
|
|
|
2014
2014
|
* This source code is licensed under the ISC license.
|
|
2015
2015
|
* See the LICENSE file in the root directory of this source tree.
|
|
2016
2016
|
*/
|
|
2017
|
-
const iw = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]],
|
|
2017
|
+
const iw = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Vt = ye("chevron-right", iw);
|
|
2018
2018
|
/**
|
|
2019
2019
|
* @license lucide-react v0.577.0 - ISC
|
|
2020
2020
|
*
|
|
@@ -3307,7 +3307,7 @@ function z2({ children: e }) {
|
|
|
3307
3307
|
}
|
|
3308
3308
|
} catch {
|
|
3309
3309
|
}
|
|
3310
|
-
const p = await
|
|
3310
|
+
const p = await Ht(h, { cache: "no-store" });
|
|
3311
3311
|
if (!p.ok) return;
|
|
3312
3312
|
const x = (await p.json()).questions || [];
|
|
3313
3313
|
x.sort((v, b) => v.createdAt - b.createdAt), n(x);
|
|
@@ -3332,7 +3332,7 @@ function z2({ children: e }) {
|
|
|
3332
3332
|
if (!(s || !p.trim())) {
|
|
3333
3333
|
o(!0);
|
|
3334
3334
|
try {
|
|
3335
|
-
const g = await
|
|
3335
|
+
const g = await Ht(`/api/ask/${h.id}/answer`, {
|
|
3336
3336
|
method: "POST",
|
|
3337
3337
|
headers: { "Content-Type": "application/json" },
|
|
3338
3338
|
body: JSON.stringify({ answer: p.trim(), via: "web" })
|
|
@@ -3352,7 +3352,7 @@ function z2({ children: e }) {
|
|
|
3352
3352
|
if (g) {
|
|
3353
3353
|
n((x) => x.filter((v) => v.id !== h.id)), Lc(`ask-${h.id}`);
|
|
3354
3354
|
try {
|
|
3355
|
-
await
|
|
3355
|
+
await Ht(`/api/ask/${h.id}/answer`, {
|
|
3356
3356
|
method: "POST",
|
|
3357
3357
|
headers: { "Content-Type": "application/json" },
|
|
3358
3358
|
body: JSON.stringify({ answer: g, via: "web", deliver: !1 })
|
|
@@ -3361,7 +3361,7 @@ function z2({ children: e }) {
|
|
|
3361
3361
|
}
|
|
3362
3362
|
}
|
|
3363
3363
|
}, []), d = re(async (h) => {
|
|
3364
|
-
const p = await
|
|
3364
|
+
const p = await Ht(`/api/ask/${h.id}/dismiss`, { method: "POST" });
|
|
3365
3365
|
if (!p.ok) throw new Error(await p.text());
|
|
3366
3366
|
n((g) => g.filter((x) => x.id !== h.id)), Lc(`ask-${h.id}`);
|
|
3367
3367
|
}, []), f = re(
|
|
@@ -4176,7 +4176,7 @@ function Lu(e) {
|
|
|
4176
4176
|
return !t || t.toLowerCase() === "unknown" ? null : t;
|
|
4177
4177
|
}
|
|
4178
4178
|
function Nk() {
|
|
4179
|
-
return Lu("0.6.
|
|
4179
|
+
return Lu("0.6.54");
|
|
4180
4180
|
}
|
|
4181
4181
|
const Am = Nk();
|
|
4182
4182
|
function kk(e) {
|
|
@@ -4975,7 +4975,7 @@ function e0(e) {
|
|
|
4975
4975
|
userAgent: navigator.userAgent,
|
|
4976
4976
|
buildId: Co
|
|
4977
4977
|
};
|
|
4978
|
-
return
|
|
4978
|
+
return Ht("/api/client-error", {
|
|
4979
4979
|
method: "POST",
|
|
4980
4980
|
headers: { "Content-Type": "application/json" },
|
|
4981
4981
|
body: JSON.stringify(n),
|
|
@@ -6289,7 +6289,7 @@ function Ld({
|
|
|
6289
6289
|
...s,
|
|
6290
6290
|
children: [
|
|
6291
6291
|
n,
|
|
6292
|
-
/* @__PURE__ */ r(
|
|
6292
|
+
/* @__PURE__ */ r(Vt, { className: "ml-auto" })
|
|
6293
6293
|
]
|
|
6294
6294
|
}
|
|
6295
6295
|
);
|
|
@@ -6902,7 +6902,7 @@ function C5(e) {
|
|
|
6902
6902
|
if (e === null) return;
|
|
6903
6903
|
const s = new AbortController();
|
|
6904
6904
|
let o = null;
|
|
6905
|
-
return n({ status: "loading", value: null }),
|
|
6905
|
+
return n({ status: "loading", value: null }), Ht(e, { signal: s.signal }).then(async (i) => {
|
|
6906
6906
|
if (!i.ok) throw new Error(`artifact ${i.status}`);
|
|
6907
6907
|
if (o = URL.createObjectURL(await i.blob()), s.signal.aborted) {
|
|
6908
6908
|
URL.revokeObjectURL(o), o = null;
|
|
@@ -7148,7 +7148,7 @@ function _5({
|
|
|
7148
7148
|
a(!0);
|
|
7149
7149
|
let c = null;
|
|
7150
7150
|
try {
|
|
7151
|
-
const d = await
|
|
7151
|
+
const d = await Ht(e);
|
|
7152
7152
|
if (!d.ok) throw new Error(`artifact ${d.status}`);
|
|
7153
7153
|
c = URL.createObjectURL(await d.blob());
|
|
7154
7154
|
const f = document.createElement("a");
|
|
@@ -7396,7 +7396,7 @@ function q5(e, t) {
|
|
|
7396
7396
|
});
|
|
7397
7397
|
return G(() => {
|
|
7398
7398
|
const i = new AbortController();
|
|
7399
|
-
return o({ status: "loading", value: null }),
|
|
7399
|
+
return o({ status: "loading", value: null }), Ht(n, { signal: i.signal }).then(async (a) => {
|
|
7400
7400
|
if (!a.ok) throw new Error(`artifact ${a.status}`);
|
|
7401
7401
|
const l = await a.text(), c = B5(l);
|
|
7402
7402
|
i.signal.aborted || o({ status: "ready", value: { parsed: c, source: l } });
|
|
@@ -7803,7 +7803,7 @@ function On(e, t = {}) {
|
|
|
7803
7803
|
path: location.pathname + location.search,
|
|
7804
7804
|
...t
|
|
7805
7805
|
});
|
|
7806
|
-
|
|
7806
|
+
Ht("/api/evlog", {
|
|
7807
7807
|
method: "POST",
|
|
7808
7808
|
headers: { "Content-Type": "application/json" },
|
|
7809
7809
|
body: n,
|
|
@@ -9024,7 +9024,7 @@ class UE {
|
|
|
9024
9024
|
// forever, muting the session; here it dies with the transport.
|
|
9025
9025
|
liveStreams = 0;
|
|
9026
9026
|
constructor({ sessionId: t, sendEndpoint: n, apiBase: s = "", subscribeTranscript: o, fetch: i, viewerIdentity: a }) {
|
|
9027
|
-
this.sessionId = t, this.viewerIdentity = a?.trim() || void 0, this.sendEndpoint = n ?? `/api/sessions/${encodeURIComponent(t)}/send`, this.apiBase = s, this.subscribeTranscript = o, this.usesConfiguredTransport = !i && !s, this.fetchImpl = i ?? (this.usesConfiguredTransport ?
|
|
9027
|
+
this.sessionId = t, this.viewerIdentity = a?.trim() || void 0, this.sendEndpoint = n ?? `/api/sessions/${encodeURIComponent(t)}/send`, this.apiBase = s, this.subscribeTranscript = o, this.usesConfiguredTransport = !i && !s, this.fetchImpl = i ?? (this.usesConfiguredTransport ? Ht : globalThis.fetch.bind(globalThis));
|
|
9028
9028
|
}
|
|
9029
9029
|
async sendMessages({
|
|
9030
9030
|
messages: t,
|
|
@@ -9672,7 +9672,7 @@ function OA(e) {
|
|
|
9672
9672
|
X0(n) && n.id && !t.includes(n.id) && t.push(n.id);
|
|
9673
9673
|
return t;
|
|
9674
9674
|
}
|
|
9675
|
-
async function RA(e, t, n =
|
|
9675
|
+
async function RA(e, t, n = Ht) {
|
|
9676
9676
|
const s = await n(xE(e, t));
|
|
9677
9677
|
if (!s.ok)
|
|
9678
9678
|
throw new Error(
|
|
@@ -9686,7 +9686,7 @@ async function RA(e, t, n = Vt) {
|
|
|
9686
9686
|
}
|
|
9687
9687
|
return typeof o.args == "string" ? o.args : "";
|
|
9688
9688
|
}
|
|
9689
|
-
function $A(e, t, n, s =
|
|
9689
|
+
function $A(e, t, n, s = Ht) {
|
|
9690
9690
|
const [o, i] = N({}), a = q(!0), l = q(/* @__PURE__ */ new Set());
|
|
9691
9691
|
G(() => (a.current = !0, () => {
|
|
9692
9692
|
a.current = !1;
|
|
@@ -14344,7 +14344,7 @@ async function hf() {
|
|
|
14344
14344
|
const e = Wa;
|
|
14345
14345
|
return no = (async () => {
|
|
14346
14346
|
try {
|
|
14347
|
-
const t = await
|
|
14347
|
+
const t = await Ht("/api/voice/config", { cache: "no-store" });
|
|
14348
14348
|
if (!t.ok) return null;
|
|
14349
14349
|
const n = await t.json();
|
|
14350
14350
|
return e === Wa && (Rs = { cfg: n, at: Date.now() }), n;
|
|
@@ -14401,7 +14401,7 @@ function tT() {
|
|
|
14401
14401
|
if (!(!v || !c.trim())) {
|
|
14402
14402
|
m(!0), p("");
|
|
14403
14403
|
try {
|
|
14404
|
-
const w = { sttProvider: v.id }, k = await
|
|
14404
|
+
const w = { sttProvider: v.id }, k = await Ht("/api/voice/config", {
|
|
14405
14405
|
method: "POST",
|
|
14406
14406
|
headers: { "Content-Type": "application/json" },
|
|
14407
14407
|
body: JSON.stringify({ providerId: v.id, apiKey: c.trim(), ...w })
|
|
@@ -14475,7 +14475,7 @@ function tT() {
|
|
|
14475
14475
|
] }) });
|
|
14476
14476
|
}
|
|
14477
14477
|
async function nT(e) {
|
|
14478
|
-
const t = e ? `?user=${encodeURIComponent(e)}` : "", n = await
|
|
14478
|
+
const t = e ? `?user=${encodeURIComponent(e)}` : "", n = await Ht(`/api/bootstrap${t}`), s = await n.json().catch(() => ({}));
|
|
14479
14479
|
if (!n.ok)
|
|
14480
14480
|
throw new Error(s?.error || `${n.status}`);
|
|
14481
14481
|
return s;
|
|
@@ -15289,7 +15289,7 @@ const kT = Kn(
|
|
|
15289
15289
|
() => import("./index-bi2f1zSC.js").then((e) => ({ default: e.PatchDiff }))
|
|
15290
15290
|
);
|
|
15291
15291
|
async function pf(e) {
|
|
15292
|
-
const t = await
|
|
15292
|
+
const t = await Ht(e), n = await t.json().catch(() => ({}));
|
|
15293
15293
|
if (!t.ok) throw new Error(n?.error || `${t.status}`);
|
|
15294
15294
|
return n;
|
|
15295
15295
|
}
|
|
@@ -15523,7 +15523,7 @@ const IT = $r(function({
|
|
|
15523
15523
|
] }) : null;
|
|
15524
15524
|
}), _T = Kn(
|
|
15525
15525
|
"session-files-panel",
|
|
15526
|
-
() => import("./SessionFilesPanel-
|
|
15526
|
+
() => import("./SessionFilesPanel-C96LFRaK.js")
|
|
15527
15527
|
);
|
|
15528
15528
|
function Ql() {
|
|
15529
15529
|
let e = document.activeElement;
|
|
@@ -15816,7 +15816,7 @@ function Xh({
|
|
|
15816
15816
|
...s,
|
|
15817
15817
|
children: [
|
|
15818
15818
|
n,
|
|
15819
|
-
/* @__PURE__ */ r(
|
|
15819
|
+
/* @__PURE__ */ r(Vt, { className: "ml-auto" })
|
|
15820
15820
|
]
|
|
15821
15821
|
}
|
|
15822
15822
|
);
|
|
@@ -15923,7 +15923,7 @@ function UT({
|
|
|
15923
15923
|
/* @__PURE__ */ r("span", { className: "block truncate text-xs text-muted-foreground", children: n || "Not set" })
|
|
15924
15924
|
] })
|
|
15925
15925
|
] }),
|
|
15926
|
-
/* @__PURE__ */ r(
|
|
15926
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 shrink-0 text-muted-foreground/60" })
|
|
15927
15927
|
]
|
|
15928
15928
|
}
|
|
15929
15929
|
) }) });
|
|
@@ -16363,7 +16363,7 @@ function ip({
|
|
|
16363
16363
|
/* @__PURE__ */ r("span", { className: "block text-sm font-semibold", children: t }),
|
|
16364
16364
|
/* @__PURE__ */ r("span", { className: "mt-0.5 block text-xs leading-5 text-muted-foreground", children: n })
|
|
16365
16365
|
] }),
|
|
16366
|
-
/* @__PURE__ */ r(
|
|
16366
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 shrink-0 text-muted-foreground/60 transition-transform group-hover:translate-x-0.5 sm:hidden" })
|
|
16367
16367
|
]
|
|
16368
16368
|
}
|
|
16369
16369
|
);
|
|
@@ -16768,7 +16768,7 @@ function Lx({ src: e, alt: t }) {
|
|
|
16768
16768
|
);
|
|
16769
16769
|
}
|
|
16770
16770
|
async function _r(e, t) {
|
|
16771
|
-
const n = await
|
|
16771
|
+
const n = await Ht(e, {
|
|
16772
16772
|
credentials: "same-origin",
|
|
16773
16773
|
...t,
|
|
16774
16774
|
headers: { "Content-Type": "application/json", ...t?.headers ?? {} }
|
|
@@ -16920,7 +16920,7 @@ function oI({
|
|
|
16920
16920
|
"aria-expanded": o,
|
|
16921
16921
|
onClick: () => void h(),
|
|
16922
16922
|
className: "flex size-6 shrink-0 items-center justify-center text-muted-foreground",
|
|
16923
|
-
children: /* @__PURE__ */ r(
|
|
16923
|
+
children: /* @__PURE__ */ r(Vt, { className: `size-4 transition-transform ${o ? "rotate-90" : ""}` })
|
|
16924
16924
|
}
|
|
16925
16925
|
),
|
|
16926
16926
|
/* @__PURE__ */ r(Lx, { src: e.icon, alt: "" }),
|
|
@@ -17151,7 +17151,7 @@ const cI = [
|
|
|
17151
17151
|
{ id: "changelog", label: "Changelog" }
|
|
17152
17152
|
];
|
|
17153
17153
|
async function ho(e, t) {
|
|
17154
|
-
const n = await
|
|
17154
|
+
const n = await Ht(e, {
|
|
17155
17155
|
credentials: "same-origin",
|
|
17156
17156
|
...t,
|
|
17157
17157
|
headers: { "Content-Type": "application/json", ...t?.headers ?? {} }
|
|
@@ -17177,7 +17177,7 @@ function uI({ onOpen: e, roleCount: t }) {
|
|
|
17177
17177
|
/* @__PURE__ */ r("span", { className: "block truncate text-xs text-muted-foreground", children: t === null ? "Which tools each session may use" : `${t} role${t === 1 ? "" : "s"}` })
|
|
17178
17178
|
] })
|
|
17179
17179
|
] }),
|
|
17180
|
-
/* @__PURE__ */ r(
|
|
17180
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 shrink-0 text-muted-foreground/60" })
|
|
17181
17181
|
]
|
|
17182
17182
|
}
|
|
17183
17183
|
);
|
|
@@ -17631,7 +17631,7 @@ function Ea({ title: e, summary: t, children: n }) {
|
|
|
17631
17631
|
/* @__PURE__ */ r("span", { className: "block text-sm", children: e }),
|
|
17632
17632
|
/* @__PURE__ */ r("span", { className: "block truncate text-xs text-muted-foreground", children: t })
|
|
17633
17633
|
] }),
|
|
17634
|
-
/* @__PURE__ */ r(
|
|
17634
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 shrink-0 text-muted-foreground/60 transition-transform group-open:rotate-90" })
|
|
17635
17635
|
] }),
|
|
17636
17636
|
/* @__PURE__ */ r("div", { className: "space-y-2 px-4 pb-3 pt-1", children: n })
|
|
17637
17637
|
] });
|
|
@@ -19656,27 +19656,27 @@ function T_({ className: e, isStreaming: t, children: n, ...s }) {
|
|
|
19656
19656
|
function I_({ className: e, children: t, ...n }) {
|
|
19657
19657
|
return /* @__PURE__ */ r(Ui, { className: B("mt-2 text-sm", e), ...n, children: /* @__PURE__ */ r(Ii, { className: "ai-live-text max-w-full opacity-90", children: t }) });
|
|
19658
19658
|
}
|
|
19659
|
-
const __ = Kn("OmgChatEngine", () => import("./chat-engine-
|
|
19659
|
+
const __ = Kn("OmgChatEngine", () => import("./chat-engine-9n8lwBiU.js"));
|
|
19660
19660
|
function F_() {
|
|
19661
|
-
const e = () => void import("./chat-engine-
|
|
19661
|
+
const e = () => void import("./chat-engine-9n8lwBiU.js").catch(() => {
|
|
19662
19662
|
}), t = globalThis.requestIdleCallback;
|
|
19663
19663
|
typeof t == "function" ? t(e, { timeout: 3e3 }) : setTimeout(e, 1500);
|
|
19664
19664
|
}
|
|
19665
19665
|
const nb = Kn(
|
|
19666
19666
|
"TermView",
|
|
19667
|
-
() => import("./TermView-
|
|
19668
|
-
), vp = Kn("ShippedPage", () => import("./shipped-page-
|
|
19667
|
+
() => import("./TermView-DPak1fmH.js").then((e) => ({ default: e.TermView }))
|
|
19668
|
+
), vp = Kn("ShippedPage", () => import("./shipped-page-YCpkukPP.js")), O_ = Kn(
|
|
19669
19669
|
"SessionTokenUsageDialog",
|
|
19670
|
-
() => import("./session-token-usage-
|
|
19670
|
+
() => import("./session-token-usage-CFcnTEub.js")
|
|
19671
19671
|
), R_ = Kn(
|
|
19672
19672
|
"CodingAgentsPage",
|
|
19673
|
-
() => import("./coding-agents-page-
|
|
19674
|
-
), $_ = Kn("ComputerPage", () => import("./computer-page-
|
|
19673
|
+
() => import("./coding-agents-page-BjNVGDUO.js")
|
|
19674
|
+
), $_ = Kn("ComputerPage", () => import("./computer-page-CpnPqiR3.js")), rb = Kn("BoardPage", () => import("./board-page-CjMNQP53.js")), wp = Kn(
|
|
19675
19675
|
"ResumeSessionSheet",
|
|
19676
|
-
() => import("./resume-session-sheet-
|
|
19676
|
+
() => import("./resume-session-sheet-Cdd6ggcF.js")
|
|
19677
19677
|
), z_ = Kn(
|
|
19678
19678
|
"ChangelogPage",
|
|
19679
|
-
() => import("./ChangelogPage-
|
|
19679
|
+
() => import("./ChangelogPage-ZCG63VYl.js")
|
|
19680
19680
|
), Hi = Gt("configured"), L_ = {
|
|
19681
19681
|
claude: "Claude",
|
|
19682
19682
|
codex: "Codex",
|
|
@@ -20661,7 +20661,7 @@ function Ef({
|
|
|
20661
20661
|
};
|
|
20662
20662
|
}
|
|
20663
20663
|
function ei(e, t, n) {
|
|
20664
|
-
|
|
20664
|
+
Ht(`/api/auto/findings/${e}/action`, {
|
|
20665
20665
|
method: "POST",
|
|
20666
20666
|
headers: { "Content-Type": "application/json" },
|
|
20667
20667
|
body: JSON.stringify({ path: t, hadText: n })
|
|
@@ -20921,7 +20921,7 @@ function IF(e) {
|
|
|
20921
20921
|
for (const Q of V.chunks)
|
|
20922
20922
|
X.set(Q, j), j += Q.length;
|
|
20923
20923
|
try {
|
|
20924
|
-
const Q = await
|
|
20924
|
+
const Q = await Ht("/api/voice/stt", {
|
|
20925
20925
|
method: "POST",
|
|
20926
20926
|
headers: { "Content-Type": "application/octet-stream" },
|
|
20927
20927
|
body: vF(X, V.rate)
|
|
@@ -22029,7 +22029,7 @@ function JF() {
|
|
|
22029
22029
|
/* @__PURE__ */ new Map()
|
|
22030
22030
|
), pe = q(0), Re = q(/* @__PURE__ */ new Map()), We = q(0), yt = q(0), ht = q(/* @__PURE__ */ new Map()), [Y, le] = N([]), [he, ge] = N(null), [Fe, $e] = N(null), [Pe, Ye] = N(!1), [Ke, Me] = N(null), Qe = q(Ke);
|
|
22031
22031
|
Qe.current = Ke;
|
|
22032
|
-
const [ke, de] = N([]), [Ge, ut] = N(!0), [Ft, xt] = N(null), [$t, Ot] = N(!1), [St, Rt] = N(!1), [sn, en] = N(null), [Zt, rn] = N(0), [sr, pn] = N(!1), Ct = sy(),
|
|
22032
|
+
const [ke, de] = N([]), [Ge, ut] = N(!0), [Ft, xt] = N(null), [$t, Ot] = N(!1), [St, Rt] = N(!1), [sn, en] = N(null), [Zt, rn] = N(0), [sr, pn] = N(!1), Ct = sy(), Wt = fm({ select: (y) => y.location.pathname }), Yn = fm({ select: (y) => y.location.search }), [Xt, bn] = N(
|
|
22033
22033
|
() => localStorage.getItem("lfg_user")
|
|
22034
22034
|
), [ie, we] = N(u5), [Ie, at] = N(Wu), [ft, jt] = N([]);
|
|
22035
22035
|
G(() => {
|
|
@@ -22044,7 +22044,7 @@ function JF() {
|
|
|
22044
22044
|
}, [Xt, ie]);
|
|
22045
22045
|
const on = re((y) => {
|
|
22046
22046
|
f5(y), we(y === "owner" ? "" : y);
|
|
22047
|
-
}, []), Tn = V2(
|
|
22047
|
+
}, []), Tn = V2(Wt), fe = Ie.hiddenPages.includes(Tn) ? No : Tn, un = fe === "bots" ? Wt.split("/").filter(Boolean) : [], In = un[1] ?? null, or = In === "new" ? "new" : un[2] === "edit" ? In : null, yn = In && In !== "new" ? In : null, vn = G2(Wt), kr = re(
|
|
22048
22048
|
(y) => ({
|
|
22049
22049
|
...y.embed ? { embed: y.embed } : {},
|
|
22050
22050
|
...y.embedOrigin ? { embedOrigin: y.embedOrigin } : {}
|
|
@@ -22141,7 +22141,7 @@ function JF() {
|
|
|
22141
22141
|
const J = window.setTimeout(M, 800);
|
|
22142
22142
|
return () => window.clearTimeout(J);
|
|
22143
22143
|
}, [Ge]);
|
|
22144
|
-
const [Z, Xe] = N([]), [mt, Nt] = N([]), [pt, lt] = N(null), [rt, Ze] = N([]),
|
|
22144
|
+
const [Z, Xe] = N([]), [mt, Nt] = N([]), [pt, lt] = N(null), [rt, Ze] = N([]), qt = Ae(
|
|
22145
22145
|
() => new Map(mt.map((y) => [y.id, y])),
|
|
22146
22146
|
[mt]
|
|
22147
22147
|
), [tn, Hn] = N(!1), [Lt, wt] = N(y0), [Tt, It] = N(Ao), [Ut, kt] = N([]), [Et, Cr] = N(!1), [vs, Jn] = N(!1), [Gs, Ki] = N(() => /* @__PURE__ */ new Set()), [Do, Ks] = N(null), [Bo, Po] = N(null), [Yi, ws] = N(null), uc = q(!1), Xi = q(/* @__PURE__ */ new Set()), [bt, Ji] = N(() => {
|
|
@@ -23454,7 +23454,7 @@ ${y.reasoning.map((Ar) => `- ${Ar}`).join(`
|
|
|
23454
23454
|
Hi.Provider,
|
|
23455
23455
|
{
|
|
23456
23456
|
value: b ? "connected-or-opencode" : "configured",
|
|
23457
|
-
children: /* @__PURE__ */ r(Wi.Provider, { value: f1, children: /* @__PURE__ */ r(Ul.Provider, { value: E, children: /* @__PURE__ */ r(sb.Provider, { value: q1, children: /* @__PURE__ */ r(fb.Provider, { value: Ne, children: /* @__PURE__ */ r(z2, { children: /* @__PURE__ */ r(wI, { settings: Lt, onSettingsChange: Yr, children: /* @__PURE__ */ r(sc.Provider, { value: F1, children: /* @__PURE__ */ r(zo.Provider, { value: a1, children: /* @__PURE__ */ r(qu.Provider, { value: l1, children: /* @__PURE__ */ r(s0.Provider, { value: d, children: /* @__PURE__ */ r(Sf.Provider, { value: c, children: /* @__PURE__ */ r(mb.Provider, { value: ot, children: /* @__PURE__ */ r(Nr.Provider, { value:
|
|
23457
|
+
children: /* @__PURE__ */ r(Wi.Provider, { value: f1, children: /* @__PURE__ */ r(Ul.Provider, { value: E, children: /* @__PURE__ */ r(sb.Provider, { value: q1, children: /* @__PURE__ */ r(fb.Provider, { value: Ne, children: /* @__PURE__ */ r(z2, { children: /* @__PURE__ */ r(wI, { settings: Lt, onSettingsChange: Yr, children: /* @__PURE__ */ r(sc.Provider, { value: F1, children: /* @__PURE__ */ r(zo.Provider, { value: a1, children: /* @__PURE__ */ r(qu.Provider, { value: l1, children: /* @__PURE__ */ r(s0.Provider, { value: d, children: /* @__PURE__ */ r(Sf.Provider, { value: c, children: /* @__PURE__ */ r(mb.Provider, { value: ot, children: /* @__PURE__ */ r(Nr.Provider, { value: qt, children: /* @__PURE__ */ r(ib.Provider, { value: he, children: /* @__PURE__ */ r(Qp.Provider, { value: {
|
|
23458
23458
|
lifecycle: y1,
|
|
23459
23459
|
status: fn ? kn.connection.status : "live",
|
|
23460
23460
|
transportLive: fn && kn.connection.status === "live",
|
|
@@ -25652,7 +25652,7 @@ function hO({
|
|
|
25652
25652
|
}, Nt = (rt) => {
|
|
25653
25653
|
const Ze = $t.current;
|
|
25654
25654
|
if (!Ze || Z()) return;
|
|
25655
|
-
const
|
|
25655
|
+
const qt = Math.max(320, Ze.clientWidth || window.innerWidth || 320), tn = rt === 1 ? -qt : qt;
|
|
25656
25656
|
Dn = !0, Ze.style.transition = "transform 130ms cubic-bezier(0.32,0.72,0,1), opacity 130ms ease-out", Ze.style.transform = `translateX(${tn}px)`, Ze.style.opacity = "0.15", window.setTimeout(() => {
|
|
25657
25657
|
Ze.style.transition = "none", Ze.style.transform = `translateX(${-tn}px)`, Ze.style.opacity = "0.35", requestAnimationFrame(() => {
|
|
25658
25658
|
Ze.style.transition = "transform 210ms cubic-bezier(0.22,1,0.36,1), opacity 210ms ease-out", Ze.style.transform = "", Ze.style.opacity = "", window.setTimeout(() => {
|
|
@@ -25667,8 +25667,8 @@ function hO({
|
|
|
25667
25667
|
if (Ze.closest(".xterm, .live-pane, input, textarea, select, [contenteditable='true']"))
|
|
25668
25668
|
return !0;
|
|
25669
25669
|
if (Ze.scrollWidth > Ze.clientWidth + 1) {
|
|
25670
|
-
const
|
|
25671
|
-
if (
|
|
25670
|
+
const qt = getComputedStyle(Ze).overflowX;
|
|
25671
|
+
if (qt === "auto" || qt === "scroll") return !0;
|
|
25672
25672
|
}
|
|
25673
25673
|
}
|
|
25674
25674
|
return !1;
|
|
@@ -25676,19 +25676,19 @@ function hO({
|
|
|
25676
25676
|
if (Math.abs(rt.deltaX) <= Math.abs(rt.deltaY) || pt(rt.target) || (rt.preventDefault(), rt.timeStamp - it > 250 && (Ee = 0, Dt = !1), it = rt.timeStamp, Dt) || (Ee += rt.deltaX, Xe(-Ee * 0.45), window.clearTimeout(vt), vt = window.setTimeout(() => {
|
|
25677
25677
|
Dt || (Ee = 0, mt());
|
|
25678
25678
|
}, 250), Math.abs(Ee) < 60)) return;
|
|
25679
|
-
const
|
|
25679
|
+
const qt = Ee > 0 ? 1 : -1;
|
|
25680
25680
|
Dt = !0, window.clearTimeout(vt);
|
|
25681
25681
|
const { projectFilter: tn, projectOptions: Hn, onProjectChange: Lt } = xt.current;
|
|
25682
25682
|
if (!Lt || Hn.length === 0) {
|
|
25683
25683
|
mt();
|
|
25684
25684
|
return;
|
|
25685
25685
|
}
|
|
25686
|
-
const wt = kl(Hn, tn,
|
|
25686
|
+
const wt = kl(Hn, tn, qt);
|
|
25687
25687
|
if (wt === tn) {
|
|
25688
25688
|
mt();
|
|
25689
25689
|
return;
|
|
25690
25690
|
}
|
|
25691
|
-
Lt(wt), Nt(
|
|
25691
|
+
Lt(wt), Nt(qt);
|
|
25692
25692
|
};
|
|
25693
25693
|
return document.addEventListener("wheel", lt, { passive: !1 }), () => {
|
|
25694
25694
|
document.removeEventListener("wheel", lt), window.clearTimeout(vt);
|
|
@@ -25766,26 +25766,26 @@ function hO({
|
|
|
25766
25766
|
G(() => {
|
|
25767
25767
|
I !== "chat" || !Ct || (te((ee) => ee === Ct ? ee : Ct), yt(Ct));
|
|
25768
25768
|
}, [I, Ct]);
|
|
25769
|
-
const
|
|
25769
|
+
const Wt = Ae(
|
|
25770
25770
|
() => Nb(e, (ee) => !!i[ee.sessionId ?? ""]),
|
|
25771
25771
|
[e, i]
|
|
25772
|
-
), Yn = new Set(me), Xt = (ee) => Yn.has(ss(ee.session)) || ee.children.some(Xt), bn = (ee) => Lg(ee.session), ie =
|
|
25772
|
+
), Yn = new Set(me), Xt = (ee) => Yn.has(ss(ee.session)) || ee.children.some(Xt), bn = (ee) => Lg(ee.session), ie = Wt.roots.filter(
|
|
25773
25773
|
(ee) => Xt(ee) && !bn(ee)
|
|
25774
|
-
), we = [], Ie =
|
|
25774
|
+
), we = [], Ie = Wt.flatten(ie), at = Wt.flatten(we), ft = Ae(
|
|
25775
25775
|
() => Fg(
|
|
25776
|
-
|
|
25776
|
+
Wt.roots.filter(
|
|
25777
25777
|
(ee) => !Xt(ee) && !bn(ee)
|
|
25778
25778
|
),
|
|
25779
|
-
(ee) =>
|
|
25779
|
+
(ee) => Wt.flatten([ee]).length,
|
|
25780
25780
|
rs
|
|
25781
25781
|
),
|
|
25782
25782
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
25783
|
-
[
|
|
25783
|
+
[Wt, me]
|
|
25784
25784
|
), jt = kb(), on = (ee) => !pe && jt.includes(ee), fe = [
|
|
25785
25785
|
...on("__pinned") ? [] : Ie,
|
|
25786
25786
|
...at,
|
|
25787
25787
|
...ft.flatMap(
|
|
25788
|
-
(ee) => on(ee.key) ? [] :
|
|
25788
|
+
(ee) => on(ee.key) ? [] : Wt.flatten(ee.nodes)
|
|
25789
25789
|
)
|
|
25790
25790
|
].map((ee) => ee.sessionId).filter((ee) => !!ee).join(","), un = Ae(
|
|
25791
25791
|
() => fe ? fe.split(",") : [],
|
|
@@ -26030,11 +26030,11 @@ function hO({
|
|
|
26030
26030
|
}, ir = Ae(() => St.map((ee) => {
|
|
26031
26031
|
if (t?.sessionId === ee)
|
|
26032
26032
|
return { sid: ee, session: t };
|
|
26033
|
-
const Ce =
|
|
26033
|
+
const Ce = Wt.nodeForSessionId(ee), Ee = Ce?.session.sessionId ?? ee;
|
|
26034
26034
|
return !Ce || !Ee ? null : { sid: Ee, session: Ce.session };
|
|
26035
26035
|
}).filter(
|
|
26036
26036
|
(ee) => !!ee
|
|
26037
|
-
), [St,
|
|
26037
|
+
), [St, Wt, t]), ot = (ee, Ce) => {
|
|
26038
26038
|
const Ee = ee.sessionId ?? "", it = I === "chat" ? pn?.id ?? null : void 0;
|
|
26039
26039
|
return /* @__PURE__ */ r(
|
|
26040
26040
|
"div",
|
|
@@ -26115,14 +26115,14 @@ function hO({
|
|
|
26115
26115
|
}
|
|
26116
26116
|
) : null, wn = Ae(() => {
|
|
26117
26117
|
if (I !== "chat" || !Ct || !pn) return [];
|
|
26118
|
-
const Ce =
|
|
26118
|
+
const Ce = Wt.nodeForSessionId(Ct)?.session ?? e.find((Ee) => Ee.sessionId === Ct) ?? null;
|
|
26119
26119
|
return Ce ? [{ sid: Ct, session: Hk(pn, Ce) }] : [
|
|
26120
26120
|
{
|
|
26121
26121
|
sid: Ct,
|
|
26122
26122
|
session: $g(pn, Ct)
|
|
26123
26123
|
}
|
|
26124
26124
|
];
|
|
26125
|
-
}, [I, Ct, pn,
|
|
26125
|
+
}, [I, Ct, pn, Wt, e]), Xn = Ae(() => {
|
|
26126
26126
|
const ee = se ? ut.get(se) : void 0;
|
|
26127
26127
|
return se && ee ? [{ sid: se, session: ee }] : [];
|
|
26128
26128
|
}, [se, ut]), Nn = I === "chat" ? wn : I === "board" ? Xn : ir, ar = Nn.length + (I === "board" ? 1 : 0), Ur = Od(E, e, He), Hr = (
|
|
@@ -29688,7 +29688,7 @@ const TO = $r(function({
|
|
|
29688
29688
|
G(() => {
|
|
29689
29689
|
Rt.current += 1, St.current = !1, Ot.current = null, Re(!1), yt(""), Y([]), he([]), Fe(0), Pe(!1), Ke(0), ut(null), xt(null), Qe(null), de(null), ua();
|
|
29690
29690
|
}, [t]);
|
|
29691
|
-
const Ct = Ge ? He.get(Ge) ?? null : null,
|
|
29691
|
+
const Ct = Ge ? He.get(Ge) ?? null : null, Wt = _e.length ? `${_e[0].index}:${_e.length}` : "";
|
|
29692
29692
|
G(() => {
|
|
29693
29693
|
if (!pe || Ct == null || !le.length) {
|
|
29694
29694
|
ua();
|
|
@@ -29698,7 +29698,7 @@ const TO = $r(function({
|
|
|
29698
29698
|
d.current?.querySelector('[data-find-hit="true"]') ?? null,
|
|
29699
29699
|
le
|
|
29700
29700
|
);
|
|
29701
|
-
}, [pe, Ct, le,
|
|
29701
|
+
}, [pe, Ct, le, Wt]), G(() => ua, []), Yt(() => {
|
|
29702
29702
|
h(!0), Be.current = !0, C(!0), U.current = null, _.current = null, S.current = !1, R.current = Number.NEGATIVE_INFINITY, Q.current.clear(), Le.current = null, $.current = !0, Te(), P.current = 0;
|
|
29703
29703
|
}, [t, Te]), Yt(() => {
|
|
29704
29704
|
if (o || x === t) return;
|
|
@@ -30339,7 +30339,7 @@ function HO({
|
|
|
30339
30339
|
/* @__PURE__ */ r("span", { children: "omg.dev instructions" }),
|
|
30340
30340
|
t ? /* @__PURE__ */ r("span", { className: "font-mono opacity-60", children: t }) : null,
|
|
30341
30341
|
/* @__PURE__ */ r(
|
|
30342
|
-
|
|
30342
|
+
Vt,
|
|
30343
30343
|
{
|
|
30344
30344
|
className: B("size-3 transition-transform", n && "rotate-90"),
|
|
30345
30345
|
"aria-hidden": "true"
|
|
@@ -30999,7 +30999,7 @@ function Rf({
|
|
|
30999
30999
|
/* @__PURE__ */ r("span", { className: "min-w-0 flex-1 truncate text-sm font-medium", children: _.name }),
|
|
31000
31000
|
_.isEmpty ? /* @__PURE__ */ r("span", { className: "shrink-0 rounded-full bg-muted px-2 py-0.5 text-[10px] font-medium text-muted-foreground", children: "Empty" }) : null,
|
|
31001
31001
|
_.isGitRepo ? /* @__PURE__ */ r("span", { className: "shrink-0 rounded-full bg-emerald-500/10 px-2 py-0.5 text-[10px] font-medium text-emerald-500", children: "Git" }) : null,
|
|
31002
|
-
/* @__PURE__ */ r(
|
|
31002
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 shrink-0 text-muted-foreground" })
|
|
31003
31003
|
]
|
|
31004
31004
|
}
|
|
31005
31005
|
),
|
|
@@ -31193,7 +31193,7 @@ function Ub({
|
|
|
31193
31193
|
/* @__PURE__ */ r("span", { className: "block truncate text-sm font-medium", children: "All projects" }),
|
|
31194
31194
|
m ? /* @__PURE__ */ r("span", { className: "block truncate text-xs text-muted-foreground", children: "Show every session" }) : null
|
|
31195
31195
|
] }),
|
|
31196
|
-
_ ? /* @__PURE__ */ r(Pt, { className: "size-4 shrink-0 text-emerald-500" }) : /* @__PURE__ */ r(
|
|
31196
|
+
_ ? /* @__PURE__ */ r(Pt, { className: "size-4 shrink-0 text-emerald-500" }) : /* @__PURE__ */ r(Vt, { className: "size-4 shrink-0 text-muted-foreground" })
|
|
31197
31197
|
]
|
|
31198
31198
|
}
|
|
31199
31199
|
) : null,
|
|
@@ -31244,7 +31244,7 @@ function Ub({
|
|
|
31244
31244
|
/* @__PURE__ */ r("span", { className: "block truncate text-sm font-medium", children: S.name }),
|
|
31245
31245
|
m ? /* @__PURE__ */ r("span", { className: "block truncate text-xs text-muted-foreground", children: S.cwd }) : null
|
|
31246
31246
|
] }),
|
|
31247
|
-
S.cwd === n ? /* @__PURE__ */ r(Pt, { className: "size-4 shrink-0 text-emerald-500" }) : /* @__PURE__ */ r(
|
|
31247
|
+
S.cwd === n ? /* @__PURE__ */ r(Pt, { className: "size-4 shrink-0 text-emerald-500" }) : /* @__PURE__ */ r(Vt, { className: "size-4 shrink-0 text-muted-foreground" })
|
|
31248
31248
|
]
|
|
31249
31249
|
},
|
|
31250
31250
|
S.cwd
|
|
@@ -31354,7 +31354,7 @@ function vd({
|
|
|
31354
31354
|
if (Nt && wt.pointerId !== Nt.pointerId) return;
|
|
31355
31355
|
const Tt = Nt;
|
|
31356
31356
|
Nt = null, window.removeEventListener("pointermove", rt, !0), window.removeEventListener("pointerup", Ze, !0), window.removeEventListener("pointercancel", Ze, !0), Tt && !Tt.dragged && wt.type === "pointerup" && ht((It) => !It);
|
|
31357
|
-
},
|
|
31357
|
+
}, qt = (wt) => {
|
|
31358
31358
|
wt.button > 0 || (Nt = {
|
|
31359
31359
|
x: wt.clientX,
|
|
31360
31360
|
y: wt.clientY,
|
|
@@ -31373,8 +31373,8 @@ function vd({
|
|
|
31373
31373
|
tn = 0, Me.current(It);
|
|
31374
31374
|
}
|
|
31375
31375
|
};
|
|
31376
|
-
return Z.addEventListener("mousedown", pt), Z.addEventListener("click", lt), Z.addEventListener("pointerdown",
|
|
31377
|
-
Z.removeEventListener("mousedown", pt), Z.removeEventListener("click", lt), Z.removeEventListener("pointerdown",
|
|
31376
|
+
return Z.addEventListener("mousedown", pt), Z.addEventListener("click", lt), Z.addEventListener("pointerdown", qt), Z.addEventListener("wheel", Lt, { passive: !1 }), () => {
|
|
31377
|
+
Z.removeEventListener("mousedown", pt), Z.removeEventListener("click", lt), Z.removeEventListener("pointerdown", qt), Z.removeEventListener("wheel", Lt), window.removeEventListener("pointermove", rt, !0), window.removeEventListener("pointerup", Ze, !0), window.removeEventListener("pointercancel", Ze, !0);
|
|
31378
31378
|
};
|
|
31379
31379
|
}, [e, m]);
|
|
31380
31380
|
const xt = re(() => {
|
|
@@ -31405,11 +31405,11 @@ function vd({
|
|
|
31405
31405
|
if (!Z) return;
|
|
31406
31406
|
const Xe = 64, mt = 104, Nt = 1.55, pt = mt + 28, lt = { active: !1, decided: !1, horizontal: !1, x0: 0, y0: 0, dx: 0 }, rt = () => window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? !1, Ze = (Tt) => {
|
|
31407
31407
|
Z.style.transition = "none", Z.style.transform = Tt ? `translateX(${Tt}px)` : "", Z.style.opacity = Tt ? String(Math.max(0.72, 1 - Math.abs(Tt) / 520)) : "";
|
|
31408
|
-
},
|
|
31408
|
+
}, qt = () => {
|
|
31409
31409
|
Z.style.transition = "transform 190ms cubic-bezier(0.22,1,0.36,1), opacity 190ms ease-out", Z.style.transform = "", Z.style.opacity = "";
|
|
31410
31410
|
}, tn = (Tt) => {
|
|
31411
31411
|
if (!(sn.current.onProjectSwipe?.(Tt) ?? !1) || rt()) {
|
|
31412
|
-
|
|
31412
|
+
qt();
|
|
31413
31413
|
return;
|
|
31414
31414
|
}
|
|
31415
31415
|
const Ut = Math.max(320, window.innerWidth || Z.clientWidth || 320), kt = Tt === 1 ? -Ut : Ut, Et = -kt;
|
|
@@ -31446,7 +31446,7 @@ function vd({
|
|
|
31446
31446
|
}, wt = () => {
|
|
31447
31447
|
if (!lt.active) return;
|
|
31448
31448
|
const { horizontal: Tt, dx: It } = lt;
|
|
31449
|
-
lt.active = !1, Tt && (It > Xe ? (_t("selection"), tn(-1)) : It < -Xe ? (_t("selection"), tn(1)) :
|
|
31449
|
+
lt.active = !1, Tt && (It > Xe ? (_t("selection"), tn(-1)) : It < -Xe ? (_t("selection"), tn(1)) : qt());
|
|
31450
31450
|
};
|
|
31451
31451
|
return Z.addEventListener("touchstart", Hn, { passive: !0 }), Z.addEventListener("touchmove", Lt, { passive: !1 }), Z.addEventListener("touchend", wt, { passive: !0 }), Z.addEventListener("touchcancel", wt, { passive: !0 }), () => {
|
|
31452
31452
|
Z.removeEventListener("touchstart", Hn), Z.removeEventListener("touchmove", Lt), Z.removeEventListener("touchend", wt), Z.removeEventListener("touchcancel", wt), Rt.current || (Z.style.transition = "", Z.style.transform = "", Z.style.opacity = "");
|
|
@@ -31476,7 +31476,7 @@ function vd({
|
|
|
31476
31476
|
overLimit: rt || void 0
|
|
31477
31477
|
})
|
|
31478
31478
|
}).then(() => (Ir(mt?.id, "sent"), Xe && ne(""), c())).catch((Ze) => {
|
|
31479
|
-
throw Ir(mt?.id, "draft"), ne((
|
|
31479
|
+
throw Ir(mt?.id, "draft"), ne((qt) => qt || Xe), Ze;
|
|
31480
31480
|
}),
|
|
31481
31481
|
{
|
|
31482
31482
|
loading: "Resuming session…",
|
|
@@ -31486,9 +31486,9 @@ function vd({
|
|
|
31486
31486
|
// that single toast instead of arriving as a second, competing copy.
|
|
31487
31487
|
// (Its types accept one shape per callback, not a union of both.)
|
|
31488
31488
|
error: (Ze) => {
|
|
31489
|
-
const
|
|
31489
|
+
const qt = Ze instanceof Error ? Ze.message : "Couldn't resume session";
|
|
31490
31490
|
return !rt && Nd(Ze) ? {
|
|
31491
|
-
message:
|
|
31491
|
+
message: qt,
|
|
31492
31492
|
// Same reasoning as toastAgentLimit: the offer waits to be
|
|
31493
31493
|
// answered instead of expiring under the reader.
|
|
31494
31494
|
duration: 1 / 0,
|
|
@@ -31499,7 +31499,7 @@ function vd({
|
|
|
31499
31499
|
lt(!0);
|
|
31500
31500
|
}
|
|
31501
31501
|
}
|
|
31502
|
-
} : { message:
|
|
31502
|
+
} : { message: qt };
|
|
31503
31503
|
}
|
|
31504
31504
|
}
|
|
31505
31505
|
);
|
|
@@ -31508,7 +31508,7 @@ function vd({
|
|
|
31508
31508
|
G(() => {
|
|
31509
31509
|
e && j(_s(s || localStorage.getItem("lfg_user"), n));
|
|
31510
31510
|
}, [e, s, n]);
|
|
31511
|
-
const Zt = w.models[_] ?? gr[_], rn = bs(_, E), sr = C.showComposerFastMode && vA({ agent: _, model: E }), pn = H && sr, Ct = xA({ agent: _, model: E, thinkingLevels: rn }),
|
|
31511
|
+
const Zt = w.models[_] ?? gr[_], rn = bs(_, E), sr = C.showComposerFastMode && vA({ agent: _, model: E }), pn = H && sr, Ct = xA({ agent: _, model: E, thinkingLevels: rn }), Wt = F && Ct && pn && V === "high", Yn = o !== "__all" ? t.find((Z) => Fr(Z) === o) : void 0, Xt = !!Yn, bn = o === "__all", ie = iA({
|
|
31512
31512
|
scopedCwd: Yn?.cwd,
|
|
31513
31513
|
lastCwd: K,
|
|
31514
31514
|
repos: t
|
|
@@ -31546,16 +31546,16 @@ function vd({
|
|
|
31546
31546
|
}, [V, rn]), G(() => {
|
|
31547
31547
|
O(ch(localStorage, _));
|
|
31548
31548
|
}, [_]), G(() => {
|
|
31549
|
-
|
|
31550
|
-
}, [
|
|
31549
|
+
Wt && V !== "high" && T("high");
|
|
31550
|
+
}, [Wt, V]);
|
|
31551
31551
|
function In(Z) {
|
|
31552
|
-
L(Z), Jc(localStorage, Z), Z && Ct ? (O(!0), Qc(localStorage, _, !0), T("high")) : !Z &&
|
|
31552
|
+
L(Z), Jc(localStorage, Z), Z && Ct ? (O(!0), Qc(localStorage, _, !0), T("high")) : !Z && Wt && (O(!1), Qc(localStorage, _, !1));
|
|
31553
31553
|
}
|
|
31554
31554
|
function or(Z) {
|
|
31555
31555
|
O(Z), Qc(localStorage, _, Z), !Z && F && (L(!1), Jc(localStorage, !1));
|
|
31556
31556
|
}
|
|
31557
31557
|
function yn(Z) {
|
|
31558
|
-
|
|
31558
|
+
Wt && Z !== "high" && (L(!1), Jc(localStorage, !1)), T(Z);
|
|
31559
31559
|
}
|
|
31560
31560
|
const vn = Ae(() => Vi(x, k), [k, x]), kr = Ae(() => Z_(x, k), [k, x]), Pr = tF(), Vs = nF(), an = _ === "aisdk" && S ? `aisdk:${S}` : _;
|
|
31561
31561
|
G(() => {
|
|
@@ -31587,7 +31587,7 @@ function vd({
|
|
|
31587
31587
|
available: Ct,
|
|
31588
31588
|
model: E,
|
|
31589
31589
|
thinkingLevel: mt ?? V
|
|
31590
|
-
}),
|
|
31590
|
+
}), qt = Ze.model, tn = Ze.thinkingLevel, Hn = pn || Ze.fastMode === !0, Lt = rt === "aisdk" && S || void 0, wt = Wd({
|
|
31591
31591
|
contextKey: "new-session",
|
|
31592
31592
|
source: "new-session",
|
|
31593
31593
|
text: Nt,
|
|
@@ -31598,7 +31598,7 @@ function vd({
|
|
|
31598
31598
|
...pt.map(
|
|
31599
31599
|
(Ut) => Ut.status === "ready" ? { ...Ut, status: "uploading", progress: 0, error: void 0 } : Ut
|
|
31600
31600
|
)
|
|
31601
|
-
]), Ve((It) => It + 1), localStorage.setItem("lfg_v2_agent", rt), localStorage.setItem("lfg_v2_repo", ie), localStorage.setItem(`lfg_model_${rt}`,
|
|
31601
|
+
]), Ve((It) => It + 1), localStorage.setItem("lfg_v2_agent", rt), localStorage.setItem("lfg_v2_repo", ie), localStorage.setItem(`lfg_model_${rt}`, qt), rn.length && localStorage.setItem("lfg_thinking_level", tn), rt === "claude" && localStorage.setItem("lfg_model", qt), lt && localStorage.setItem("lfg_user", lt), m === "inline" && $t.current?.querySelector("textarea")?.blur(), (async () => {
|
|
31602
31602
|
const It = (kt, Et) => be("/api/sessions/new", {
|
|
31603
31603
|
method: "POST",
|
|
31604
31604
|
headers: { "Content-Type": "application/json" },
|
|
@@ -31607,7 +31607,7 @@ function vd({
|
|
|
31607
31607
|
prompt: kt || void 0,
|
|
31608
31608
|
user: lt || void 0,
|
|
31609
31609
|
agent: rt,
|
|
31610
|
-
model:
|
|
31610
|
+
model: qt,
|
|
31611
31611
|
thinkingLevel: rn.length ? tn : void 0,
|
|
31612
31612
|
fastMode: Hn,
|
|
31613
31613
|
claudeAccountId: Lt,
|
|
@@ -31722,7 +31722,7 @@ function vd({
|
|
|
31722
31722
|
}
|
|
31723
31723
|
)
|
|
31724
31724
|
),
|
|
31725
|
-
|
|
31725
|
+
Wt ? null : /* @__PURE__ */ r(
|
|
31726
31726
|
$f,
|
|
31727
31727
|
{
|
|
31728
31728
|
agent: _,
|
|
@@ -31733,7 +31733,7 @@ function vd({
|
|
|
31733
31733
|
immersive: !0
|
|
31734
31734
|
}
|
|
31735
31735
|
),
|
|
31736
|
-
sr && !
|
|
31736
|
+
sr && !Wt ? /* @__PURE__ */ r(
|
|
31737
31737
|
t8,
|
|
31738
31738
|
{
|
|
31739
31739
|
enabled: pn,
|
|
@@ -31744,7 +31744,7 @@ function vd({
|
|
|
31744
31744
|
Ct ? /* @__PURE__ */ r(
|
|
31745
31745
|
n8,
|
|
31746
31746
|
{
|
|
31747
|
-
enabled:
|
|
31747
|
+
enabled: Wt,
|
|
31748
31748
|
onToggle: () => In(!F),
|
|
31749
31749
|
flat: m === "inline"
|
|
31750
31750
|
}
|
|
@@ -31986,7 +31986,7 @@ function vd({
|
|
|
31986
31986
|
{
|
|
31987
31987
|
disabled: !jr,
|
|
31988
31988
|
thinkingLevel: V,
|
|
31989
|
-
thinkingLevels:
|
|
31989
|
+
thinkingLevels: Wt ? ["high"] : db(_) ? rn : [],
|
|
31990
31990
|
onLaunch: (Z) => {
|
|
31991
31991
|
yn(Z), ir(void 0, void 0, Z);
|
|
31992
31992
|
}
|
|
@@ -33531,7 +33531,7 @@ function s8({
|
|
|
33531
33531
|
className: B("ml-auto inline-block size-2 shrink-0 rounded-full", Cl[w.severity])
|
|
33532
33532
|
}
|
|
33533
33533
|
),
|
|
33534
|
-
/* @__PURE__ */ r(
|
|
33534
|
+
/* @__PURE__ */ r(Vt, { className: "size-3.5 shrink-0 text-muted-foreground/60" })
|
|
33535
33535
|
] }),
|
|
33536
33536
|
/* @__PURE__ */ r("span", { className: "text-[13.5px] font-medium leading-snug", children: w.title }),
|
|
33537
33537
|
w.suggest ? /* @__PURE__ */ r("span", { className: "line-clamp-2 text-xs leading-relaxed text-muted-foreground", children: w.suggest }) : null
|
|
@@ -34111,7 +34111,7 @@ function d8() {
|
|
|
34111
34111
|
const [e, t] = N(null), [n, s] = N(!1);
|
|
34112
34112
|
G(() => {
|
|
34113
34113
|
let l = !0;
|
|
34114
|
-
return
|
|
34114
|
+
return Ht("/api/voice/config").then((c) => c.ok ? c.json() : null).then((c) => {
|
|
34115
34115
|
l && c && t(c);
|
|
34116
34116
|
}).catch(() => {
|
|
34117
34117
|
}), () => {
|
|
@@ -34121,7 +34121,7 @@ function d8() {
|
|
|
34121
34121
|
const o = async (l) => {
|
|
34122
34122
|
t((c) => c && { ...c, settings: { ...c.settings, ...l } }), s(!0);
|
|
34123
34123
|
try {
|
|
34124
|
-
const d = await (await
|
|
34124
|
+
const d = await (await Ht("/api/voice/config", {
|
|
34125
34125
|
method: "POST",
|
|
34126
34126
|
headers: { "Content-Type": "application/json" },
|
|
34127
34127
|
body: JSON.stringify(l)
|
|
@@ -35159,7 +35159,7 @@ function M8() {
|
|
|
35159
35159
|
}
|
|
35160
35160
|
function t1(e) {
|
|
35161
35161
|
const [t, n] = N(null), [s, o] = N(!1), [i, a] = N(null), l = e ? `?email=${encodeURIComponent(e)}` : "", c = re(() => {
|
|
35162
|
-
|
|
35162
|
+
Ht(`/api/settings/icon${l}`).then((m) => m.ok ? m.json() : null).then((m) => {
|
|
35163
35163
|
m?.avatar && n({ avatar: m.avatar, hasCustomIcon: !!m.hasCustomIcon });
|
|
35164
35164
|
}).catch(() => {
|
|
35165
35165
|
});
|
|
@@ -35453,7 +35453,7 @@ function F8({
|
|
|
35453
35453
|
/* @__PURE__ */ r("span", { className: "flex size-7 items-center justify-center rounded-[7px] bg-foreground text-background", children: /* @__PURE__ */ r(Rl, { className: "size-4" }) }),
|
|
35454
35454
|
/* @__PURE__ */ r("span", { className: "text-sm font-medium", children: "Coding agents" })
|
|
35455
35455
|
] }),
|
|
35456
|
-
/* @__PURE__ */ r(
|
|
35456
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 text-muted-foreground/60" })
|
|
35457
35457
|
]
|
|
35458
35458
|
}
|
|
35459
35459
|
),
|
|
@@ -35468,7 +35468,7 @@ function F8({
|
|
|
35468
35468
|
/* @__PURE__ */ r("span", { className: "flex size-7 items-center justify-center rounded-[7px] bg-primary text-white", children: /* @__PURE__ */ r(fs, { className: "size-4" }) }),
|
|
35469
35469
|
/* @__PURE__ */ r("span", { className: "text-sm font-medium", children: "Schedules" })
|
|
35470
35470
|
] }),
|
|
35471
|
-
/* @__PURE__ */ r(
|
|
35471
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 text-muted-foreground/60" })
|
|
35472
35472
|
]
|
|
35473
35473
|
}
|
|
35474
35474
|
),
|
|
@@ -35483,7 +35483,7 @@ function F8({
|
|
|
35483
35483
|
/* @__PURE__ */ r("span", { className: "flex size-7 items-center justify-center rounded-[7px] bg-foreground text-background", children: /* @__PURE__ */ r(sN, { className: "size-4" }) }),
|
|
35484
35484
|
/* @__PURE__ */ r("span", { className: "text-sm font-medium", children: "Storage & performance" })
|
|
35485
35485
|
] }),
|
|
35486
|
-
/* @__PURE__ */ r(
|
|
35486
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 text-muted-foreground/60" })
|
|
35487
35487
|
]
|
|
35488
35488
|
}
|
|
35489
35489
|
),
|
|
@@ -35529,7 +35529,7 @@ function F8({
|
|
|
35529
35529
|
/* @__PURE__ */ r("span", { className: "block text-xs text-muted-foreground", children: "Tools, appearance, notifications, voice, help" })
|
|
35530
35530
|
] })
|
|
35531
35531
|
] }),
|
|
35532
|
-
/* @__PURE__ */ r(
|
|
35532
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 text-muted-foreground/60" })
|
|
35533
35533
|
]
|
|
35534
35534
|
}
|
|
35535
35535
|
) }) })
|
|
@@ -35567,7 +35567,7 @@ function O8({
|
|
|
35567
35567
|
/* @__PURE__ */ r("span", { className: "flex size-7 items-center justify-center rounded-[7px] bg-primary text-white", children: /* @__PURE__ */ r(Pv, { className: "size-4" }) }),
|
|
35568
35568
|
/* @__PURE__ */ r("span", { className: "text-sm font-medium", children: "Provider limits" })
|
|
35569
35569
|
] }),
|
|
35570
|
-
/* @__PURE__ */ r(
|
|
35570
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 text-muted-foreground/60" })
|
|
35571
35571
|
]
|
|
35572
35572
|
}
|
|
35573
35573
|
),
|
|
@@ -35582,7 +35582,7 @@ function O8({
|
|
|
35582
35582
|
/* @__PURE__ */ r("span", { className: "flex size-7 items-center justify-center rounded-[7px] bg-foreground text-background", children: /* @__PURE__ */ r(Ou, { className: "size-4" }) }),
|
|
35583
35583
|
/* @__PURE__ */ r("span", { className: "text-sm font-medium", children: "Open terminal" })
|
|
35584
35584
|
] }),
|
|
35585
|
-
/* @__PURE__ */ r(
|
|
35585
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 text-muted-foreground/60" })
|
|
35586
35586
|
]
|
|
35587
35587
|
}
|
|
35588
35588
|
),
|
|
@@ -35597,7 +35597,7 @@ function O8({
|
|
|
35597
35597
|
/* @__PURE__ */ r("span", { className: "flex size-7 items-center justify-center rounded-[7px] bg-foreground text-background", children: /* @__PURE__ */ r(fg, { className: "size-4" }) }),
|
|
35598
35598
|
/* @__PURE__ */ r("span", { className: "text-sm font-medium", children: "Open computer" })
|
|
35599
35599
|
] }),
|
|
35600
|
-
/* @__PURE__ */ r(
|
|
35600
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 text-muted-foreground/60" })
|
|
35601
35601
|
]
|
|
35602
35602
|
}
|
|
35603
35603
|
)
|
|
@@ -35618,7 +35618,7 @@ function O8({
|
|
|
35618
35618
|
/* @__PURE__ */ r("span", { className: "flex size-7 items-center justify-center rounded-[7px] bg-foreground text-background", children: x.icon ?? /* @__PURE__ */ r(ag, { className: "size-4" }) }),
|
|
35619
35619
|
/* @__PURE__ */ r("span", { className: "text-sm font-medium", children: x.label })
|
|
35620
35620
|
] }),
|
|
35621
|
-
/* @__PURE__ */ r(
|
|
35621
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 text-muted-foreground/60" })
|
|
35622
35622
|
]
|
|
35623
35623
|
},
|
|
35624
35624
|
x.id
|
|
@@ -35693,7 +35693,7 @@ function O8({
|
|
|
35693
35693
|
/* @__PURE__ */ r("span", { className: "flex size-7 items-center justify-center rounded-[7px] bg-foreground text-background", children: /* @__PURE__ */ r(_u, { className: "size-4" }) }),
|
|
35694
35694
|
/* @__PURE__ */ r("span", { className: "text-sm font-medium", children: "Changelog" })
|
|
35695
35695
|
] }),
|
|
35696
|
-
/* @__PURE__ */ r(
|
|
35696
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 text-muted-foreground/60" })
|
|
35697
35697
|
]
|
|
35698
35698
|
}
|
|
35699
35699
|
),
|
|
@@ -35708,7 +35708,7 @@ function O8({
|
|
|
35708
35708
|
/* @__PURE__ */ r("span", { className: "flex size-7 items-center justify-center rounded-[7px] bg-primary text-white", children: /* @__PURE__ */ r(nr, { className: "size-4" }) }),
|
|
35709
35709
|
/* @__PURE__ */ r("span", { className: "text-sm font-medium", children: "Setup guide" })
|
|
35710
35710
|
] }),
|
|
35711
|
-
/* @__PURE__ */ r(
|
|
35711
|
+
/* @__PURE__ */ r(Vt, { className: "size-4 text-muted-foreground/60" })
|
|
35712
35712
|
]
|
|
35713
35713
|
}
|
|
35714
35714
|
)
|
|
@@ -35750,7 +35750,7 @@ function R8({
|
|
|
35750
35750
|
/* @__PURE__ */ u(ji, { className: "flex w-full items-center gap-2 px-4 text-left", children: [
|
|
35751
35751
|
/* @__PURE__ */ r("h2", { className: "text-xs font-semibold text-muted-foreground", children: "View" }),
|
|
35752
35752
|
/* @__PURE__ */ r(
|
|
35753
|
-
|
|
35753
|
+
Vt,
|
|
35754
35754
|
{
|
|
35755
35755
|
className: B(
|
|
35756
35756
|
"size-3.5 shrink-0 text-muted-foreground transition-transform duration-150",
|
|
@@ -36630,7 +36630,7 @@ function U8({
|
|
|
36630
36630
|
/* @__PURE__ */ u(Pi, { open: F, onOpenChange: L, className: "mt-3", children: [
|
|
36631
36631
|
/* @__PURE__ */ u(ji, { className: "flex w-full items-center justify-between rounded-xl border border-border px-3 py-2 text-sm", children: [
|
|
36632
36632
|
/* @__PURE__ */ u("span", { className: "flex items-center gap-1.5", children: [
|
|
36633
|
-
/* @__PURE__ */ r(
|
|
36633
|
+
/* @__PURE__ */ r(Vt, { className: B("size-3.5 transition-transform duration-150", F && "rotate-90") }),
|
|
36634
36634
|
"Advanced"
|
|
36635
36635
|
] }),
|
|
36636
36636
|
/* @__PURE__ */ u("span", { className: "max-w-[55%] truncate text-xs text-muted-foreground", children: [
|
|
@@ -36864,7 +36864,7 @@ function H8({
|
|
|
36864
36864
|
children: [
|
|
36865
36865
|
/* @__PURE__ */ u(ji, { className: "flex w-full items-center gap-2 px-1 pb-1.5 text-left", children: [
|
|
36866
36866
|
/* @__PURE__ */ r(
|
|
36867
|
-
|
|
36867
|
+
Vt,
|
|
36868
36868
|
{
|
|
36869
36869
|
className: B(
|
|
36870
36870
|
"size-3.5 shrink-0 text-muted-foreground transition-transform duration-150",
|
|
@@ -36990,7 +36990,12 @@ const i1 = [
|
|
|
36990
36990
|
"settings",
|
|
36991
36991
|
"coding-agents",
|
|
36992
36992
|
"auto",
|
|
36993
|
-
"storage"
|
|
36993
|
+
"storage",
|
|
36994
|
+
// Roles and connectors are machine state too (the box's own registry), so
|
|
36995
|
+
// the "Roles & tool access" row on the settings root lands here. Without
|
|
36996
|
+
// this entry the surface still navigated there internally, but a routing
|
|
36997
|
+
// host never heard about it and showed the page inline under its own root.
|
|
36998
|
+
"connectors"
|
|
36994
36999
|
];
|
|
36995
37000
|
function Lp(e) {
|
|
36996
37001
|
const t = e.split("/").filter(Boolean)[0], n = t ? decodeURIComponent(t) : "settings";
|
|
@@ -37073,7 +37078,7 @@ export {
|
|
|
37073
37078
|
ER as $,
|
|
37074
37079
|
Ri as A,
|
|
37075
37080
|
ve as B,
|
|
37076
|
-
|
|
37081
|
+
Vt as C,
|
|
37077
37082
|
ms as D,
|
|
37078
37083
|
ja as E,
|
|
37079
37084
|
$i as F,
|
|
@@ -37104,7 +37109,7 @@ export {
|
|
|
37104
37109
|
Hw as a2,
|
|
37105
37110
|
eA as a3,
|
|
37106
37111
|
CN as a4,
|
|
37107
|
-
|
|
37112
|
+
Ht as a5,
|
|
37108
37113
|
zw as a6,
|
|
37109
37114
|
fr as a7,
|
|
37110
37115
|
Dl as a8,
|
package/dist-lib/index.d.ts
CHANGED
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-Be_WfQ0h.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-Be_WfQ0h.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-Be_WfQ0h.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-Be_WfQ0h.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-Be_WfQ0h.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.54",
|
|
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.54",
|
|
33
33
|
"@pierre/diffs": "^1.3.1",
|
|
34
34
|
"@pierre/trees": "1.0.0-beta.6",
|
|
35
35
|
"@streamdown/cjk": "^1.0.3",
|