@omg-dev/app 0.1.337 → 0.1.338

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.
@@ -1,9 +1,19 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { M as n } from "./embedded-oKZamqJm.js";
2
+ import { M as n } from "./embedded-kAxTDQQt.js";
3
3
  const t = `# Changelog
4
4
 
5
5
  Recent product updates and deployment notes.
6
6
 
7
+ ## August 11, 2026 - Terminal links are tappable again (v0.1.338)
8
+
9
+ - **Tapping a detected link in the terminal opens the link.** The invisible
10
+ swipe-up handle for the keys pad sat on top of the link tray and covered the
11
+ bottom half of every URL chip, so tapping a login URL a CLI printed — an
12
+ OAuth "open this to authorize" link, most often — popped open the keys pad
13
+ instead of the browser.
14
+ - **The handle now only overlays the terminal itself**, so the link chips, their
15
+ copy buttons and the tray's dismiss button all keep their full tap targets.
16
+
7
17
  ## August 10, 2026 - Delete a project folder from the picker (v0.1.337)
8
18
 
9
19
  - **You can delete a folder from the project browser.** Browse could create
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as i, 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 I } from "react";
3
3
  import { createPortal as re } from "react-dom";
4
- import { z as oe, E as H, F as se, X as U, H as ie, I as ae, f as y, L as J, J as le, m as de, y as ce, N as L } from "./embedded-oKZamqJm.js";
4
+ import { z as oe, E as H, F as se, X as U, H as ie, I as ae, f as y, L as J, J as le, m as de, y as ce, N as L } from "./embedded-kAxTDQQt.js";
5
5
  import { c as me } from "./create-BrnHvSDE.js";
6
6
  /**
7
7
  * @license lucide-react v0.577.0 - ISC
@@ -1,6 +1,6 @@
1
- import { jsxs as r, jsx as k, Fragment as vA } from "react/jsx-runtime";
1
+ import { jsxs as r, jsx as k, Fragment as ZA } from "react/jsx-runtime";
2
2
  import { useState as L, useRef as S, useEffect as x, useCallback as Y } from "react";
3
- import { z as cA, S as wQ, X as DA, a8 as sQ, m as tQ, a9 as eQ, aa as aQ, E as MQ, ab as hQ, R as NQ, y as cQ } from "./embedded-oKZamqJm.js";
3
+ import { z as cA, S as wQ, X as DA, a8 as sQ, m as tQ, a9 as eQ, aa as aQ, E as MQ, ab as hQ, R as NQ, y as cQ } from "./embedded-kAxTDQQt.js";
4
4
  /**
5
5
  * @license lucide-react v0.577.0 - ISC
6
6
  *
@@ -3018,7 +3018,7 @@ const VQ = () => zQ ?? (zQ = fQ()), WQ = {
3018
3018
  selectionBackground: "#3f3f46",
3019
3019
  selectionForeground: "#fafafa"
3020
3020
  }, KA = 1;
3021
- function ZQ(Q, A, B = 8) {
3021
+ function vQ(Q, A, B = 8) {
3022
3022
  const g = /* @__PURE__ */ new Set(), E = [];
3023
3023
  for (let I = A.length - 1; I >= 0; I--) {
3024
3024
  const D = A[I];
@@ -3095,7 +3095,7 @@ const F = {
3095
3095
  { id: "delete", hint: "x", label: "Del", desc: "delete", sequence: F.delete, ariaLabel: "Delete" }
3096
3096
  ]
3097
3097
  }
3098
- ], vQ = new Map(
3098
+ ], ZQ = new Map(
3099
3099
  $A.flatMap((Q) => Q.keys.map((A) => [A.hint, A]))
3100
3100
  ), p = { insert: "i", paste: "P", repeat: ".", command: ":", stick: "s" }, uA = "lfg_term_deck_sticky", jQ = {
3101
3101
  esc: F.esc,
@@ -3231,7 +3231,7 @@ function VA(Q, A, B) {
3231
3231
  row: Math.max(1, Math.min(Q.rows, Math.floor(D / g.charHeight) + 1))
3232
3232
  };
3233
3233
  }
3234
- function v(Q) {
3234
+ function Z(Q) {
3235
3235
  return (Q.shiftKey ? 4 : 0) + (Q.altKey ? 8 : 0) + (Q.ctrlKey ? 16 : 0);
3236
3236
  }
3237
3237
  function WA(Q) {
@@ -3240,7 +3240,7 @@ function WA(Q) {
3240
3240
  function BB(Q) {
3241
3241
  return Q & 1 ? 0 : Q & 4 ? 1 : Q & 2 ? 2 : null;
3242
3242
  }
3243
- function ZA(Q, A, B, g, E) {
3243
+ function vA(Q, A, B, g, E) {
3244
3244
  if (W(Q).sgr) return `\x1B[<${A};${B};${g}${E}`;
3245
3245
  if (B > 223 || g > 223) return "";
3246
3246
  const I = E === "m" ? 3 + gB(A) : A;
@@ -3257,31 +3257,31 @@ function EB(Q, A, B) {
3257
3257
  const E = (t, w, e, J) => {
3258
3258
  const y = VA(A, t, w);
3259
3259
  if (!y) return !1;
3260
- const a = ZA(A, e, y.col, y.row, J);
3260
+ const a = vA(A, e, y.col, y.row, J);
3261
3261
  return a ? (B(a), !0) : !1;
3262
3262
  }, C = (t) => {
3263
3263
  const w = W(A);
3264
3264
  if (!w.enabled || !w.button) return;
3265
3265
  const e = WA(t.button);
3266
- e != null && (g = e, E(t.clientX, t.clientY, e + v(t), "M") && j(t));
3266
+ e != null && (g = e, E(t.clientX, t.clientY, e + Z(t), "M") && j(t));
3267
3267
  }, I = (t) => {
3268
3268
  const w = W(A);
3269
3269
  if (!w.enabled || !w.drag && !w.any) return;
3270
3270
  const e = BB(t.buttons);
3271
3271
  if (e == null && !w.any) return;
3272
- const J = (e ?? 3) + 32 + v(t);
3272
+ const J = (e ?? 3) + 32 + Z(t);
3273
3273
  E(t.clientX, t.clientY, J, "M") && j(t);
3274
3274
  }, D = (t) => {
3275
3275
  const w = W(A);
3276
3276
  if (!w.enabled || !w.button) return;
3277
3277
  const e = WA(t.button) ?? g;
3278
- E(t.clientX, t.clientY, e + v(t), "m") && j(t);
3278
+ E(t.clientX, t.clientY, e + Z(t), "m") && j(t);
3279
3279
  }, i = (t) => {
3280
3280
  const w = W(A);
3281
3281
  if (!w.enabled || !w.button || t.deltaY === 0) return;
3282
3282
  const e = VA(A, t.clientX, t.clientY);
3283
3283
  if (!e) return;
3284
- const J = t.deltaY < 0 ? 64 : 65, y = Math.max(1, Math.min(5, Math.round(Math.abs(t.deltaY) / 33))), a = ZA(A, J + v(t), e.col, e.row, "M");
3284
+ const J = t.deltaY < 0 ? 64 : 65, y = Math.max(1, Math.min(5, Math.round(Math.abs(t.deltaY) / 33))), a = vA(A, J + Z(t), e.col, e.row, "M");
3285
3285
  if (a) {
3286
3286
  for (let G = 0; G < y; G++) B(a);
3287
3287
  j(t);
@@ -3290,17 +3290,17 @@ function EB(Q, A, B) {
3290
3290
  const w = W(A);
3291
3291
  if (!w.enabled || !w.button) return;
3292
3292
  const e = t.changedTouches[0];
3293
- e && (g = 0, E(e.clientX, e.clientY, v(t), "M") && j(t));
3293
+ e && (g = 0, E(e.clientX, e.clientY, Z(t), "M") && j(t));
3294
3294
  }, M = (t) => {
3295
3295
  const w = W(A);
3296
3296
  if (!w.enabled || !w.drag) return;
3297
3297
  const e = t.changedTouches[0];
3298
- e && E(e.clientX, e.clientY, 32 + v(t), "M") && j(t);
3298
+ e && E(e.clientX, e.clientY, 32 + Z(t), "M") && j(t);
3299
3299
  }, c = (t) => {
3300
3300
  const w = W(A);
3301
3301
  if (!w.enabled || !w.button) return;
3302
3302
  const e = t.changedTouches[0];
3303
- e && E(e.clientX, e.clientY, g + v(t), "m") && j(t);
3303
+ e && E(e.clientX, e.clientY, g + Z(t), "m") && j(t);
3304
3304
  };
3305
3305
  return Q.addEventListener("mousedown", C, { capture: !0 }), Q.addEventListener("mousemove", I, { capture: !0 }), Q.addEventListener("mouseup", D, { capture: !0 }), Q.addEventListener("wheel", i, { capture: !0, passive: !1 }), Q.addEventListener("touchstart", s, { capture: !0, passive: !1 }), Q.addEventListener("touchmove", M, { capture: !0, passive: !1 }), Q.addEventListener("touchend", c, { capture: !0, passive: !1 }), Q.addEventListener("touchcancel", c, { capture: !0, passive: !1 }), () => {
3306
3306
  Q.removeEventListener("mousedown", C, !0), Q.removeEventListener("mousemove", I, !0), Q.removeEventListener("mouseup", D, !0), Q.removeEventListener("wheel", i, !0), Q.removeEventListener("touchstart", s, !0), Q.removeEventListener("touchmove", M, !0), Q.removeEventListener("touchend", c, !0), Q.removeEventListener("touchcancel", c, !0);
@@ -3377,7 +3377,7 @@ function CB({
3377
3377
  return;
3378
3378
  }
3379
3379
  if (s === "command" || G.metaKey || G.ctrlKey || G.altKey) return;
3380
- const U = vQ.get(G.key), l = () => {
3380
+ const U = ZQ.get(G.key), l = () => {
3381
3381
  G.preventDefault(), G.stopPropagation();
3382
3382
  };
3383
3383
  if (U) {
@@ -3522,7 +3522,7 @@ function CB({
3522
3522
  )
3523
3523
  ]
3524
3524
  }
3525
- ) : /* @__PURE__ */ r(vA, { children: [
3525
+ ) : /* @__PURE__ */ r(ZA, { children: [
3526
3526
  /* @__PURE__ */ k(
3527
3527
  MA,
3528
3528
  {
@@ -3572,7 +3572,7 @@ function iB({
3572
3572
  } = {}) {
3573
3573
  const [g, E] = L(() => localStorage.getItem("lfg_term_session") || "main"), C = S(null), I = S(null), D = S(null), [i, s] = L("connecting"), [M, c] = L([]), [t, w] = L(null), [e, J] = L(!1), [y, a] = L(!1), [G, U] = L(null), [l, P] = L(!1), [X, iA] = L(
3574
3574
  () => localStorage.getItem(uA) === "1"
3575
- ), [QQ, BQ] = L(null), wA = S(null), Z = S(null), FA = S(!1), qA = S(null), gA = S(null), YA = S(!1), EA = S(!1), JA = S(!1), sA = Q ? `sessionId=${encodeURIComponent(Q)}` : `session=${encodeURIComponent(g)}`;
3575
+ ), [QQ, BQ] = L(null), wA = S(null), v = S(null), FA = S(!1), qA = S(null), gA = S(null), YA = S(!1), EA = S(!1), JA = S(!1), sA = Q ? `sessionId=${encodeURIComponent(Q)}` : `session=${encodeURIComponent(g)}`;
3576
3576
  x(() => {
3577
3577
  if (Q) return;
3578
3578
  const N = () => E(localStorage.getItem("lfg_term_session") || "main");
@@ -3592,7 +3592,7 @@ function iB({
3592
3592
  var T;
3593
3593
  const h = N.touches[0];
3594
3594
  if (!h) return;
3595
- Z.current = { x: h.clientX, y: h.clientY };
3595
+ v.current = { x: h.clientX, y: h.clientY };
3596
3596
  const q = (T = C.current) == null ? void 0 : T.getBoundingClientRect();
3597
3597
  FA.current = !!q && h.clientY >= q.bottom - 36, d(), wA.current = setTimeout(
3598
3598
  () => w({ x: h.clientX, y: h.clientY }),
@@ -3603,13 +3603,13 @@ function iB({
3603
3603
  ), EQ = Y(
3604
3604
  (N) => {
3605
3605
  const h = N.touches[0];
3606
- if (!h || !Z.current) return;
3607
- const q = Z.current.y - h.clientY;
3608
- if (FA.current && q > 28 && Math.abs(h.clientX - Z.current.x) < 48) {
3609
- FA.current = !1, Z.current = null, d(), _();
3606
+ if (!h || !v.current) return;
3607
+ const q = v.current.y - h.clientY;
3608
+ if (FA.current && q > 28 && Math.abs(h.clientX - v.current.x) < 48) {
3609
+ FA.current = !1, v.current = null, d(), _();
3610
3610
  return;
3611
3611
  }
3612
- Math.hypot(h.clientX - Z.current.x, h.clientY - Z.current.y) > 12 && d();
3612
+ Math.hypot(h.clientX - v.current.x, h.clientY - v.current.y) > 12 && d();
3613
3613
  },
3614
3614
  [d, _]
3615
3615
  ), LA = Y(async () => {
@@ -3772,7 +3772,7 @@ function iB({
3772
3772
  const h = async () => {
3773
3773
  try {
3774
3774
  const m = await (await MQ(`/api/term/scan?${sA}`)).json();
3775
- N && Array.isArray(m.urls) && m.urls.length && c((AA) => ZQ(AA, m.urls));
3775
+ N && Array.isArray(m.urls) && m.urls.length && c((AA) => vQ(AA, m.urls));
3776
3776
  } catch {
3777
3777
  }
3778
3778
  };
@@ -3841,32 +3841,46 @@ function iB({
3841
3841
  ) : null
3842
3842
  ] })
3843
3843
  ] }),
3844
- /* @__PURE__ */ k(
3845
- "div",
3846
- {
3847
- ref: C,
3848
- onClick: () => BA(D.current),
3849
- onKeyDown: (N) => {
3850
- (N.key === "Enter" || N.key === " ") && BA(D.current);
3851
- },
3852
- onTouchStart: gQ,
3853
- onTouchMove: EQ,
3854
- onTouchEnd: d,
3855
- onTouchCancel: d,
3856
- onContextMenu: (N) => {
3857
- N.preventDefault(), w({ x: N.clientX, y: N.clientY });
3858
- },
3859
- style: {
3860
- touchAction: "manipulation",
3861
- WebkitTouchCallout: "none",
3862
- userSelect: "none"
3863
- },
3864
- role: "button",
3865
- tabIndex: 0,
3866
- "aria-label": "Focus terminal",
3867
- className: "min-h-0 flex-1 overflow-hidden p-1.5"
3868
- }
3869
- ),
3844
+ /* @__PURE__ */ r("div", { className: "relative flex min-h-0 flex-1 flex-col", children: [
3845
+ /* @__PURE__ */ k(
3846
+ "div",
3847
+ {
3848
+ ref: C,
3849
+ onClick: () => BA(D.current),
3850
+ onKeyDown: (N) => {
3851
+ (N.key === "Enter" || N.key === " ") && BA(D.current);
3852
+ },
3853
+ onTouchStart: gQ,
3854
+ onTouchMove: EQ,
3855
+ onTouchEnd: d,
3856
+ onTouchCancel: d,
3857
+ onContextMenu: (N) => {
3858
+ N.preventDefault(), w({ x: N.clientX, y: N.clientY });
3859
+ },
3860
+ style: {
3861
+ touchAction: "manipulation",
3862
+ WebkitTouchCallout: "none",
3863
+ userSelect: "none"
3864
+ },
3865
+ role: "button",
3866
+ tabIndex: 0,
3867
+ "aria-label": "Focus terminal",
3868
+ className: "min-h-0 flex-1 overflow-hidden p-1.5"
3869
+ }
3870
+ ),
3871
+ l ? null : /* @__PURE__ */ k(
3872
+ "button",
3873
+ {
3874
+ type: "button",
3875
+ onClick: _,
3876
+ style: { touchAction: "manipulation" },
3877
+ "aria-label": "Show terminal keys",
3878
+ title: "Terminal keys (⌃⇧K, or swipe up)",
3879
+ className: "absolute inset-x-0 bottom-0 z-20 flex h-6 items-end justify-center pb-1",
3880
+ children: /* @__PURE__ */ k("span", { className: "h-1 w-10 rounded-full bg-white/20" })
3881
+ }
3882
+ )
3883
+ ] }),
3870
3884
  M.length > 0 ? /* @__PURE__ */ r("div", { className: "flex items-center gap-1.5 border-t border-white/10 px-2 py-1.5", children: [
3871
3885
  /* @__PURE__ */ k(sQ, { className: "size-3.5 shrink-0 text-white/40" }),
3872
3886
  /* @__PURE__ */ k("div", { className: "flex min-w-0 flex-1 gap-1.5 overflow-x-auto", children: M.map((N) => /* @__PURE__ */ r(
@@ -3913,18 +3927,6 @@ function iB({
3913
3927
  }
3914
3928
  )
3915
3929
  ] }) : null,
3916
- l ? null : /* @__PURE__ */ k(
3917
- "button",
3918
- {
3919
- type: "button",
3920
- onClick: _,
3921
- style: { touchAction: "manipulation" },
3922
- "aria-label": "Show terminal keys",
3923
- title: "Terminal keys (⌃⇧K, or swipe up)",
3924
- className: "absolute inset-x-0 bottom-0 z-20 flex h-6 items-end justify-center pb-1",
3925
- children: /* @__PURE__ */ k("span", { className: "h-1 w-10 rounded-full bg-white/20" })
3926
- }
3927
- ),
3928
3930
  /* @__PURE__ */ k(
3929
3931
  CB,
3930
3932
  {
@@ -3941,7 +3943,7 @@ function iB({
3941
3943
  onClose: $
3942
3944
  }
3943
3945
  ),
3944
- t ? /* @__PURE__ */ r(vA, { children: [
3946
+ t ? /* @__PURE__ */ r(ZA, { children: [
3945
3947
  /* @__PURE__ */ k(
3946
3948
  "button",
3947
3949
  {
@@ -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 { ac as uo } from "./embedded-oKZamqJm.js";
4
+ import { ac as uo } from "./embedded-kAxTDQQt.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 t, jsx as e, Fragment as G } from "react/jsx-runtime";
2
- import { R as K, f as L, B as d, L as C, P as z, S as w, g as R, h as p, T, i as m, j as F, k as M, l as $, C as _, m as q, X as H, K as U } from "./embedded-oKZamqJm.js";
2
+ import { R as K, f as L, B as d, L as C, P as z, S as w, g as R, h as p, T, i as m, j as F, k as M, l as $, C as _, m as q, X as H, K as U } from "./embedded-kAxTDQQt.js";
3
3
  import { useState as S } from "react";
4
4
  function j(l) {
5
5
  const i = l.filter((r) => !r.ok);
@@ -20540,7 +20540,7 @@ const HL = li(function({
20540
20540
  ] }) : null;
20541
20541
  }), WL = gs(
20542
20542
  "session-files-panel",
20543
- () => import("./SessionFilesPanel-zPvVfjO2.js")
20543
+ () => import("./SessionFilesPanel-s0yPxEm-.js")
20544
20544
  );
20545
20545
  function Tp({ className: e, ...t }) {
20546
20546
  return /* @__PURE__ */ c(
@@ -26216,7 +26216,7 @@ async function h6() {
26216
26216
  }
26217
26217
  }
26218
26218
  const o3 = _l(
26219
- () => import("./streamdown-response-2uP4kBfn.js").then((e) => e.a).then((e) => ({ default: e.StreamdownResponse }))
26219
+ () => import("./streamdown-response-BNtuh7oS.js").then((e) => e.a).then((e) => ({ default: e.StreamdownResponse }))
26220
26220
  );
26221
26221
  function Ii({ className: e, from: t, ...n }) {
26222
26222
  return /* @__PURE__ */ c(
@@ -28740,26 +28740,26 @@ function wz({ className: e, isStreaming: t, children: n, ...r }) {
28740
28740
  function kz({ className: e, children: t, ...n }) {
28741
28741
  return /* @__PURE__ */ c(yz, { className: Q("mt-2 text-sm", e), ...n, children: /* @__PURE__ */ c(vu, { className: "ai-live-text max-w-full opacity-90", children: t }) });
28742
28742
  }
28743
- const Sz = _l(() => import("./chat-engine-DRD_dVZD.js"));
28743
+ const Sz = _l(() => import("./chat-engine-D15nP4A9.js"));
28744
28744
  function Nz() {
28745
- const e = () => void import("./chat-engine-DRD_dVZD.js"), t = globalThis.requestIdleCallback;
28745
+ const e = () => void import("./chat-engine-D15nP4A9.js"), t = globalThis.requestIdleCallback;
28746
28746
  typeof t == "function" ? t(e, { timeout: 3e3 }) : setTimeout(e, 1500);
28747
28747
  }
28748
28748
  const oS = gs(
28749
28749
  "TermView",
28750
- () => import("./TermView-CYh2PiCX.js").then((e) => ({ default: e.TermView }))
28751
- ), ev = gs("ShippedPage", () => import("./shipped-page-CEdeGShf.js")), Cz = gs(
28750
+ () => import("./TermView-Lz2rLDZK.js").then((e) => ({ default: e.TermView }))
28751
+ ), ev = gs("ShippedPage", () => import("./shipped-page-dXzxgigN.js")), Cz = gs(
28752
28752
  "SessionTokenUsageDialog",
28753
- () => import("./session-token-usage-Ddmj0NEc.js")
28753
+ () => import("./session-token-usage-DQ8m4WeU.js")
28754
28754
  ), Ez = gs(
28755
28755
  "CodingAgentsPage",
28756
- () => import("./coding-agents-page-BIVvh5Ys.js")
28756
+ () => import("./coding-agents-page-DWPCJlWv.js")
28757
28757
  ), tv = gs(
28758
28758
  "ResumeSessionSheet",
28759
- () => import("./resume-session-sheet-CtIGKGgG.js")
28759
+ () => import("./resume-session-sheet-DMFZRE9z.js")
28760
28760
  ), Rz = gs(
28761
28761
  "ChangelogPage",
28762
- () => import("./ChangelogPage-c1YogkrV.js")
28762
+ () => import("./ChangelogPage-Cy4nEam9.js")
28763
28763
  ), wu = vr("configured"), Tz = {
28764
28764
  claude: "Claude",
28765
28765
  codex: "Codex",
@@ -1,4 +1,4 @@
1
- import { R as c, L as f, A as d } from "./streamdown-response-2uP4kBfn.js";
1
+ import { R as c, L as f, A as d } from "./streamdown-response-BNtuh7oS.js";
2
2
  import { useContext as p, useState as L, useEffect as N } from "react";
3
3
  import { jsx as x } from "react/jsx-runtime";
4
4
  var A = ({ code: s, language: e, raw: a, className: o, startLine: m, lineNumbers: u, ...g }) => {
@@ -1,4 +1,4 @@
1
- import { w as T, s as U, h as X, c as Y, v as G, S as J, o as k, l as Q, f as M, m as y } from "./streamdown-response-2uP4kBfn.js";
1
+ import { w as T, s as U, h as X, c as Y, v as G, S as J, o as k, l as Q, f as M, m as y } from "./streamdown-response-BNtuh7oS.js";
2
2
  import v from "./katex-jHfnQmlp.js";
3
3
  function Z(t, e) {
4
4
  return B(t, {}) || { type: "root", children: [] };
package/dist-lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { ae as p, af as m, ag as o } from "./embedded-oKZamqJm.js";
3
+ import { ae as p, af as m, ag as o } from "./embedded-kAxTDQQt.js";
4
4
  export {
5
5
  p as OmgAppSurface,
6
6
  m as OmgSettingsSurface,
@@ -0,0 +1,4 @@
1
+ import { p } from "./streamdown-response-BNtuh7oS.js";
2
+ export {
3
+ p as Mermaid
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, jsxs as s, Fragment as N } from "react/jsx-runtime";
2
- import { r as H, n as Q, a as le, o as re, p as oe, q as ie, X, A, f as u, R as B, s as ce, u as de, v as J, T as ue, w as me, x as he, y as pe, L as fe } from "./embedded-oKZamqJm.js";
2
+ import { r as H, n as Q, a as le, o as re, p as oe, q as ie, X, A, f as u, R as B, s as ce, u as de, v as J, T as ue, w as me, x as he, y as pe, L as fe } from "./embedded-kAxTDQQt.js";
3
3
  import { useState as a, useRef as L, useEffect as v, useCallback as ge } from "react";
4
4
  function we({
5
5
  initial: m,
@@ -1,5 +1,5 @@
1
1
  import { jsx as s, jsxs as n, Fragment as $ } from "react/jsx-runtime";
2
- import { a as C, D as T, b as M, c as D, d as S, G as F, e as L, t as R, L as j, f as z } from "./embedded-oKZamqJm.js";
2
+ import { a as C, D as T, b as M, c as D, d as S, G as F, e as L, t as R, L as j, f as z } from "./embedded-kAxTDQQt.js";
3
3
  import { useState as g, useCallback as P, useEffect as U } from "react";
4
4
  function u({
5
5
  title: r,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as l, jsx as r, Fragment as me } from "react/jsx-runtime";
2
2
  import { useState as f, useEffect as w, useRef as fe, useContext as $e, useMemo as ze } from "react";
3
- import { z as ve, O as he, Q as Te, U as S, V as ge, W as Se, Y as Pe, Z as je, B as Fe, L as pe, v as J, y as Ye, R as Ge, f as P, T as Be, _ as Ke, k as be, g as Ue, $ as He, a as L, a0 as k, a1 as R, l as _, a2 as W, a3 as Ve, a4 as qe, a5 as Qe, a6 as Xe, P as Je, a7 as We } from "./embedded-oKZamqJm.js";
3
+ import { z as ve, O as he, Q as Te, U as S, V as ge, W as Se, Y as Pe, Z as je, B as Fe, L as pe, v as J, y as Ye, R as Ge, f as P, T as Be, _ as Ke, k as be, g as Ue, $ as He, a as L, a0 as k, a1 as R, l as _, a2 as W, a3 as Ve, a4 as qe, a5 as Qe, a6 as Xe, P as Je, a7 as We } from "./embedded-kAxTDQQt.js";
4
4
  /**
5
5
  * @license lucide-react v0.577.0 - ISC
6
6
  *
@@ -3,7 +3,7 @@ var Od = (e, t, n) => t in e ? Rd(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var le = (e, t, n) => Od(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { jsx as y, jsxs as J, Fragment as _t } from "react/jsx-runtime";
5
5
  import { memo as he, useId as Dd, useTransition as Pd, useMemo as Ee, useRef as Re, useEffect as De, useState as ge, createElement as Xa, isValidElement as Vt, cloneElement as Md, useContext as Pe, createContext as Jt, useCallback as ze, Suspense as wi, lazy as Zu } from "react";
6
- import { ad as Ju, f as eo, a8 as vd, m as Bd, a9 as Fd } from "./embedded-oKZamqJm.js";
6
+ import { ad as Ju, f as eo, a8 as vd, m as Bd, a9 as Fd } from "./embedded-kAxTDQQt.js";
7
7
  import { createPortal as to } from "react-dom";
8
8
  import { f as Ur, p as Ka, e as Za, g as Ja, h as Jn, s as Mt, z as no, i as ro, j as io, k as Hd, l as es, w as Ud, b as zd, c as $d, m as jd, d as qd } from "./engine-compile-BeZvvx0I.js";
9
9
  import { g as ao } from "./_commonjsHelpers-C6fGbg64.js";
@@ -18959,7 +18959,7 @@ var yc = Jt(!1), kk = () => Pe(yc), Ua = (...e) => nc(Ju(e)), xk = (e, t) => {
18959
18959
  for (; t > 0 && e[t - 1] === `
18960
18960
  `; ) t--;
18961
18961
  return e.slice(0, t);
18962
- }, wk = Zu(() => import("./highlighted-body-OFNGDK62-xV2OJIUq.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), Lk = ({ code: e, language: t, className: n, children: r, isIncomplete: i = !1, startLine: a, lineNumbers: s, ...u }) => {
18962
+ }, wk = Zu(() => import("./highlighted-body-OFNGDK62-CtW0_Q76.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), Lk = ({ code: e, language: t, className: n, children: r, isIncomplete: i = !1, startLine: a, lineNumbers: s, ...u }) => {
18963
18963
  let o = ee(), l = Ee(() => Sk(e), [e]), d = Ee(() => ({ bg: "transparent", fg: "inherit", tokens: l.split(`
18964
18964
  `).map((f) => [{ content: f, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [l]);
18965
18965
  return y(Cc.Provider, { value: { code: e }, children: J(Ik, { isIncomplete: i, language: t, children: [y(Nk, { language: t }), r ? y("div", { className: o("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"), children: y("div", { className: o("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"), "data-streamdown": "code-block-actions", children: r }) }) : null, y(wi, { fallback: y(Ck, { className: n, language: t, lineNumbers: s, result: d, startLine: a, ...u }), children: y(wk, { className: n, code: l, language: t, lineNumbers: s, raw: d, startLine: a, ...u }) })] }) });
@@ -19301,7 +19301,7 @@ var yc = Jt(!1), kk = () => Pe(yc), Ua = (...e) => nc(Ju(e)), xk = (e, t) => {
19301
19301
  }, Zk = ({ children: e, className: t, showControls: n, showCopy: r = !0, showDownload: i = !0, showFullscreen: a = !0, ...s }) => {
19302
19302
  let u = ee(), o = n && r, l = n && i, d = n && a, f = o || l || d;
19303
19303
  return J("div", { className: u("my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2"), "data-streamdown": "table-wrapper", children: [f ? J("div", { className: u("flex items-center justify-end gap-1"), children: [o ? y(Rc, {}) : null, l ? y(Oc, {}) : null, d ? y(Kk, { showCopy: o, showDownload: l, children: e }) : null] }) : null, y("div", { className: u("border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background"), children: y("table", { className: u("w-full divide-y divide-border", t), "data-streamdown": "table", ...s, children: e }) })] });
19304
- }, Jk = /startLine=(\d+)/, ex = /\bnoLineNumbers\b/, tx = Zu(() => import("./mermaid-GHXKKRXX-C7YN2kRO.js").then((e) => ({ default: e.Mermaid }))), nx = /language-([^\s]+)/;
19304
+ }, Jk = /startLine=(\d+)/, ex = /\bnoLineNumbers\b/, tx = Zu(() => import("./mermaid-GHXKKRXX-Dj6ddPlz.js").then((e) => ({ default: e.Mermaid }))), nx = /language-([^\s]+)/;
19305
19305
  function Jr(e, t) {
19306
19306
  if (!(e != null && e.position || t != null && t.position)) return !0;
19307
19307
  if (!(e != null && e.position && t != null && t.position)) return !1;
@@ -20814,7 +20814,7 @@ function S6(e) {
20814
20814
  }
20815
20815
  function w6() {
20816
20816
  return Tr || (Tr = Promise.all([
20817
- import("./index-xKoG-1LY.js"),
20817
+ import("./index-Bb8gHe8W.js"),
20818
20818
  import("./index-JkCQXUYs.js").then((e) => e.bp)
20819
20819
  ]).then(([e, t]) => {
20820
20820
  Hn = { math: e.math, mermaid: t.mermaid };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omg-dev/app",
3
- "version": "0.1.337",
3
+ "version": "0.1.338",
4
4
  "description": "The full OMG application surface for React hosts.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://omg.dev",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "type": "module",
26
26
  "dependencies": {
27
- "@omg-dev/client": "0.1.337",
27
+ "@omg-dev/client": "0.1.338",
28
28
  "@ai-sdk/react": "^4.0.19",
29
29
  "@base-ui/react": "^1.3.0",
30
30
  "@number-flow/react": "^0.6.2",
@@ -1,4 +0,0 @@
1
- import { p } from "./streamdown-response-2uP4kBfn.js";
2
- export {
3
- p as Mermaid
4
- };