@omg-dev/app 0.1.384 → 0.1.385

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,21 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { M as n } from "./embedded-dQE1_D_R.js";
2
+ import { M as n } from "./embedded-miPCIB3O.js";
3
3
  const t = `# Changelog
4
4
 
5
5
  Recent product updates and deployment notes.
6
6
 
7
+ ## August 17, 2026 - Short replies read like sentences again (v0.1.385)
8
+
9
+ - **Fixed: a short assistant reply wrapped its last word onto its own line.**
10
+ "Hi Benny!" rendered as "Hi" / "Benny!". The bubble was capped at 92% twice
11
+ over, and the inner cap resolved against the text's own width, so any reply
12
+ that fit on one line was forced onto two. Long replies were quietly losing
13
+ 8% of the pane to the same bug. Most visible in bot chats, because that is
14
+ where one-line answers are normal.
15
+ - **Making or editing a bot opens full height on mobile.** It is a form with an
16
+ autofocused name field, so it no longer starts as a short card that the
17
+ keyboard shoves around before it grows. Desktop keeps the centred dialog.
18
+
7
19
  ## August 17, 2026 - Bot Mode: agents you talk to (v0.1.384)
8
20
 
9
21
  - **Bots are persistent agents you keep a conversation with**, beside the
@@ -2,7 +2,7 @@ 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
4
  import { cn as y } from "cnfast";
5
- import { y as oe, z as H, F as se, X as U, E as ie, H as ae, L as J, I as le, l as de, x as ce, J as L } from "./embedded-dQE1_D_R.js";
5
+ import { y as oe, z as H, F as se, X as U, E as ie, H as ae, L as J, I as le, l as de, x as ce, J as L } from "./embedded-miPCIB3O.js";
6
6
  import { c as me } from "./create-BrnHvSDE.js";
7
7
  /**
8
8
  * @license lucide-react v0.577.0 - ISC
@@ -1,6 +1,6 @@
1
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 { y as cA, S as wQ, X as DA, a7 as sQ, l as tQ, a8 as eQ, a9 as aQ, z as MQ, aa as hQ, R as NQ, x as cQ } from "./embedded-dQE1_D_R.js";
3
+ import { y as cA, S as wQ, X as DA, a7 as sQ, l as tQ, a8 as eQ, a9 as aQ, z as MQ, aa as hQ, R as NQ, x as cQ } from "./embedded-miPCIB3O.js";
4
4
  /**
5
5
  * @license lucide-react v0.577.0 - ISC
6
6
  *
@@ -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 { ab as uo } from "./embedded-dQE1_D_R.js";
4
+ import { ab as uo } from "./embedded-miPCIB3O.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 K } from "react/jsx-runtime";
2
- import { R as F, B as d, L as z, P as w, S as R, f as $, g, T, h as m, i as M, j as _, k as S, C as q, l as H, X as U, K as W } from "./embedded-dQE1_D_R.js";
2
+ import { R as F, B as d, L as z, P as w, S as R, f as $, g, T, h as m, i as M, j as _, k as S, C as q, l as H, X as U, K as W } from "./embedded-miPCIB3O.js";
3
3
  import { cn as E } from "cnfast";
4
4
  import { useState as A } from "react";
5
5
  function j(a) {
@@ -7696,7 +7696,7 @@ const bw = Ns(function({
7696
7696
  ] }) : null;
7697
7697
  }), xw = Fr(
7698
7698
  "session-files-panel",
7699
- () => import("./SessionFilesPanel-CqhK-Oc9.js")
7699
+ () => import("./SessionFilesPanel-Bze8MLG1.js")
7700
7700
  );
7701
7701
  function _l({ className: e, ...t }) {
7702
7702
  return /* @__PURE__ */ n(
@@ -8420,7 +8420,7 @@ async function CS() {
8420
8420
  }
8421
8421
  }
8422
8422
  const qw = ki(
8423
- () => import("./streamdown-response-C8CjtDdV.js").then((e) => e.a).then((e) => ({ default: e.StreamdownResponse }))
8423
+ () => import("./streamdown-response-DHJZN_tF.js").then((e) => e.a).then((e) => ({ default: e.StreamdownResponse }))
8424
8424
  );
8425
8425
  function Ls({ className: e, from: t, ...r }) {
8426
8426
  return /* @__PURE__ */ n(
@@ -10826,26 +10826,26 @@ function ok({ className: e, isStreaming: t, children: r, ...s }) {
10826
10826
  function ik({ className: e, children: t, ...r }) {
10827
10827
  return /* @__PURE__ */ n(Cf, { className: z("mt-2 text-sm", e), ...r, children: /* @__PURE__ */ n(Io, { className: "ai-live-text max-w-full opacity-90", children: t }) });
10828
10828
  }
10829
- const ak = ki(() => import("./chat-engine-DnyplyEP.js"));
10829
+ const ak = ki(() => import("./chat-engine-DZNzxAs7.js"));
10830
10830
  function lk() {
10831
- const e = () => void import("./chat-engine-DnyplyEP.js"), t = globalThis.requestIdleCallback;
10831
+ const e = () => void import("./chat-engine-DZNzxAs7.js"), t = globalThis.requestIdleCallback;
10832
10832
  typeof t == "function" ? t(e, { timeout: 3e3 }) : setTimeout(e, 1500);
10833
10833
  }
10834
10834
  const Qf = Fr(
10835
10835
  "TermView",
10836
- () => import("./TermView-B4m0eUu0.js").then((e) => ({ default: e.TermView }))
10837
- ), Id = Fr("ShippedPage", () => import("./shipped-page-CXALIGQ-.js")), ck = Fr(
10836
+ () => import("./TermView-NW36O8NQ.js").then((e) => ({ default: e.TermView }))
10837
+ ), Id = Fr("ShippedPage", () => import("./shipped-page-DVt-D-y0.js")), ck = Fr(
10838
10838
  "SessionTokenUsageDialog",
10839
- () => import("./session-token-usage-BoDREwCa.js")
10839
+ () => import("./session-token-usage-pEqeSoKA.js")
10840
10840
  ), dk = Fr(
10841
10841
  "CodingAgentsPage",
10842
- () => import("./coding-agents-page-DXc6LQ08.js")
10842
+ () => import("./coding-agents-page-D0aqVp6p.js")
10843
10843
  ), Ad = Fr(
10844
10844
  "ResumeSessionSheet",
10845
- () => import("./resume-session-sheet-FzjEfmYz.js")
10845
+ () => import("./resume-session-sheet-_46vaP5k.js")
10846
10846
  ), uk = Fr(
10847
10847
  "ChangelogPage",
10848
- () => import("./ChangelogPage-Bh0P6sa_.js")
10848
+ () => import("./ChangelogPage-UD5mtG4U.js")
10849
10849
  ), $i = Gt("configured"), fk = {
10850
10850
  claude: "Claude",
10851
10851
  codex: "Codex",
@@ -20903,7 +20903,7 @@ function Fd({
20903
20903
  u && e.pending && "lfg-user-send"
20904
20904
  ),
20905
20905
  from: "assistant",
20906
- children: /* @__PURE__ */ n(Bd, { text: e.text || "", isUser: !1, children: /* @__PURE__ */ n(Vs, { children: e.text ? /* @__PURE__ */ n(
20906
+ children: /* @__PURE__ */ n(Bd, { text: e.text || "", isUser: !1, children: /* @__PURE__ */ n(Vs, { className: "max-w-full", children: e.text ? /* @__PURE__ */ n(
20907
20907
  Io,
20908
20908
  {
20909
20909
  animated: mk,
@@ -25537,153 +25537,160 @@ function H2({
25537
25537
  enabled: p
25538
25538
  });
25539
25539
  };
25540
- return /* @__PURE__ */ n(Ui, { onClose: s, title: a ? "Edit bot" : "New bot", children: /* @__PURE__ */ c("div", { className: "px-2 pb-4 pt-1", children: [
25541
- /* @__PURE__ */ c("div", { className: "flex items-center gap-2", children: [
25542
- /* @__PURE__ */ n(xo, { className: "size-5 text-primary" }),
25543
- /* @__PURE__ */ n("span", { className: "min-w-0 flex-1 text-[15px] font-semibold", children: a ? "Edit bot" : "New bot" }),
25544
- a ? /* @__PURE__ */ n(
25545
- Cl,
25546
- {
25547
- resetKey: e.id,
25548
- label: "Delete",
25549
- confirmLabel: "Confirm delete",
25550
- icon: /* @__PURE__ */ n(hs, { className: "size-3.5" }),
25551
- confirmIcon: /* @__PURE__ */ n(hs, { className: "size-3.5" }),
25552
- render: /* @__PURE__ */ n(Ee, { type: "button", variant: "destructive", size: "sm" }),
25553
- onConfirm: () => i(e.id)
25554
- }
25555
- ) : null,
25556
- /* @__PURE__ */ n(Ee, { size: "sm", variant: "brand", disabled: !u.trim() || !f.trim(), onClick: G, children: a ? "Save" : "Create" })
25557
- ] }),
25558
- /* @__PURE__ */ c("div", { className: "mt-4 flex items-center gap-3", children: [
25559
- /* @__PURE__ */ n(
25560
- Or,
25561
- {
25562
- shape: w,
25563
- colorway: T,
25564
- size: 56,
25565
- state: "idle",
25566
- seed: w.length * 7 + T.length,
25567
- title: "Bot avatar preview"
25568
- }
25569
- ),
25570
- /* @__PURE__ */ n(
25571
- "input",
25572
- {
25573
- value: u,
25574
- onChange: (q) => m(q.target.value),
25575
- autoFocus: !0,
25576
- placeholder: "Bot name",
25577
- className: "lfg-gfield min-w-0 flex-1 rounded-2xl px-3 py-2 text-[15px] font-medium outline-none"
25578
- }
25579
- )
25580
- ] }),
25581
- /* @__PURE__ */ n("label", { className: "mt-4 block text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: "Shape" }),
25582
- /* @__PURE__ */ n("div", { className: "mt-1.5 flex items-center gap-2", children: ra.map((q) => /* @__PURE__ */ n(
25583
- "button",
25584
- {
25585
- type: "button",
25586
- onClick: () => C(q),
25587
- "aria-pressed": w === q,
25588
- title: $b[q],
25589
- className: z(
25590
- "rounded-2xl border p-1 transition",
25591
- w === q ? "border-primary bg-primary/10" : "border-transparent hover:bg-muted"
25592
- ),
25593
- children: /* @__PURE__ */ n(
25540
+ return (
25541
+ // page: making a bot is a form, not a confirmation — name, persona, shape,
25542
+ // color and an advanced section, with the name field autofocused so the
25543
+ // keyboard is up immediately. A content-sized card had to morph mid-open
25544
+ // and left the shape/color rows crowded against the keyboard. Full height
25545
+ // from the start on mobile; desktop keeps the centred 85dvh dialog.
25546
+ /* @__PURE__ */ n(Ui, { page: !0, onClose: s, title: a ? "Edit bot" : "New bot", children: /* @__PURE__ */ c("div", { className: "px-2 pb-4 pt-1", children: [
25547
+ /* @__PURE__ */ c("div", { className: "flex items-center gap-2", children: [
25548
+ /* @__PURE__ */ n(xo, { className: "size-5 text-primary" }),
25549
+ /* @__PURE__ */ n("span", { className: "min-w-0 flex-1 text-[15px] font-semibold", children: a ? "Edit bot" : "New bot" }),
25550
+ a ? /* @__PURE__ */ n(
25551
+ Cl,
25552
+ {
25553
+ resetKey: e.id,
25554
+ label: "Delete",
25555
+ confirmLabel: "Confirm delete",
25556
+ icon: /* @__PURE__ */ n(hs, { className: "size-3.5" }),
25557
+ confirmIcon: /* @__PURE__ */ n(hs, { className: "size-3.5" }),
25558
+ render: /* @__PURE__ */ n(Ee, { type: "button", variant: "destructive", size: "sm" }),
25559
+ onConfirm: () => i(e.id)
25560
+ }
25561
+ ) : null,
25562
+ /* @__PURE__ */ n(Ee, { size: "sm", variant: "brand", disabled: !u.trim() || !f.trim(), onClick: G, children: a ? "Save" : "Create" })
25563
+ ] }),
25564
+ /* @__PURE__ */ c("div", { className: "mt-4 flex items-center gap-3", children: [
25565
+ /* @__PURE__ */ n(
25594
25566
  Or,
25595
25567
  {
25596
- shape: q,
25568
+ shape: w,
25597
25569
  colorway: T,
25598
- size: 38,
25570
+ size: 56,
25599
25571
  state: "idle",
25600
- seed: q.length * 3
25572
+ seed: w.length * 7 + T.length,
25573
+ title: "Bot avatar preview"
25601
25574
  }
25602
- )
25603
- },
25604
- q
25605
- )) }),
25606
- /* @__PURE__ */ n("label", { className: "mt-4 block text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: "Color" }),
25607
- /* @__PURE__ */ n("div", { className: "mt-1.5 flex items-center gap-2", children: sa.map((q) => /* @__PURE__ */ n(
25608
- "button",
25609
- {
25610
- type: "button",
25611
- onClick: () => N(q),
25612
- "aria-pressed": T === q,
25613
- title: is[q].name,
25614
- className: z(
25615
- "size-9 rounded-full border-2 transition",
25616
- T === q ? "border-primary scale-110" : "border-transparent hover:scale-105"
25617
25575
  ),
25618
- style: {
25619
- backgroundImage: `linear-gradient(135deg, ${is[q].stops[0]}, ${is[q].stops[1]})`
25576
+ /* @__PURE__ */ n(
25577
+ "input",
25578
+ {
25579
+ value: u,
25580
+ onChange: (q) => m(q.target.value),
25581
+ autoFocus: !0,
25582
+ placeholder: "Bot name",
25583
+ className: "lfg-gfield min-w-0 flex-1 rounded-2xl px-3 py-2 text-[15px] font-medium outline-none"
25584
+ }
25585
+ )
25586
+ ] }),
25587
+ /* @__PURE__ */ n("label", { className: "mt-4 block text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: "Shape" }),
25588
+ /* @__PURE__ */ n("div", { className: "mt-1.5 flex items-center gap-2", children: ra.map((q) => /* @__PURE__ */ n(
25589
+ "button",
25590
+ {
25591
+ type: "button",
25592
+ onClick: () => C(q),
25593
+ "aria-pressed": w === q,
25594
+ title: $b[q],
25595
+ className: z(
25596
+ "rounded-2xl border p-1 transition",
25597
+ w === q ? "border-primary bg-primary/10" : "border-transparent hover:bg-muted"
25598
+ ),
25599
+ children: /* @__PURE__ */ n(
25600
+ Or,
25601
+ {
25602
+ shape: q,
25603
+ colorway: T,
25604
+ size: 38,
25605
+ state: "idle",
25606
+ seed: q.length * 3
25607
+ }
25608
+ )
25620
25609
  },
25621
- children: /* @__PURE__ */ n("span", { className: "sr-only", children: is[q].name })
25622
- },
25623
- q
25624
- )) }),
25625
- /* @__PURE__ */ n("label", { className: "mt-4 block text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: "Persona" }),
25626
- /* @__PURE__ */ n(
25627
- "textarea",
25628
- {
25629
- value: f,
25630
- onChange: (q) => h(q.target.value),
25631
- rows: 4,
25632
- placeholder: "How this bot should think and talk…",
25633
- className: "lfg-gfield mt-1 w-full resize-none rounded-2xl px-3 py-2 text-sm outline-none"
25634
- }
25635
- ),
25636
- a ? /* @__PURE__ */ c("div", { className: "mt-3 flex items-center justify-between rounded-xl border border-border px-3 py-2", children: [
25637
- /* @__PURE__ */ n("span", { className: "text-sm", children: "Enabled" }),
25638
- /* @__PURE__ */ n(Ar, { checked: p, onCheckedChange: b, "aria-label": "Enable bot" })
25639
- ] }) : null,
25640
- /* @__PURE__ */ c(Nf, { open: $, onOpenChange: ee, className: "mt-3", children: [
25641
- /* @__PURE__ */ c(Sf, { className: "flex w-full items-center justify-between rounded-xl border border-border px-3 py-2 text-sm", children: [
25642
- /* @__PURE__ */ c("span", { className: "flex items-center gap-1.5", children: [
25643
- /* @__PURE__ */ n(Ft, { className: z("size-3.5 transition-transform duration-150", $ && "rotate-90") }),
25644
- "Advanced"
25610
+ q
25611
+ )) }),
25612
+ /* @__PURE__ */ n("label", { className: "mt-4 block text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: "Color" }),
25613
+ /* @__PURE__ */ n("div", { className: "mt-1.5 flex items-center gap-2", children: sa.map((q) => /* @__PURE__ */ n(
25614
+ "button",
25615
+ {
25616
+ type: "button",
25617
+ onClick: () => N(q),
25618
+ "aria-pressed": T === q,
25619
+ title: is[q].name,
25620
+ className: z(
25621
+ "size-9 rounded-full border-2 transition",
25622
+ T === q ? "border-primary scale-110" : "border-transparent hover:scale-105"
25623
+ ),
25624
+ style: {
25625
+ backgroundImage: `linear-gradient(135deg, ${is[q].stops[0]}, ${is[q].stops[1]})`
25626
+ },
25627
+ children: /* @__PURE__ */ n("span", { className: "sr-only", children: is[q].name })
25628
+ },
25629
+ q
25630
+ )) }),
25631
+ /* @__PURE__ */ n("label", { className: "mt-4 block text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: "Persona" }),
25632
+ /* @__PURE__ */ n(
25633
+ "textarea",
25634
+ {
25635
+ value: f,
25636
+ onChange: (q) => h(q.target.value),
25637
+ rows: 4,
25638
+ placeholder: "How this bot should think and talk…",
25639
+ className: "lfg-gfield mt-1 w-full resize-none rounded-2xl px-3 py-2 text-sm outline-none"
25640
+ }
25641
+ ),
25642
+ a ? /* @__PURE__ */ c("div", { className: "mt-3 flex items-center justify-between rounded-xl border border-border px-3 py-2", children: [
25643
+ /* @__PURE__ */ n("span", { className: "text-sm", children: "Enabled" }),
25644
+ /* @__PURE__ */ n(Ar, { checked: p, onCheckedChange: b, "aria-label": "Enable bot" })
25645
+ ] }) : null,
25646
+ /* @__PURE__ */ c(Nf, { open: $, onOpenChange: ee, className: "mt-3", children: [
25647
+ /* @__PURE__ */ c(Sf, { className: "flex w-full items-center justify-between rounded-xl border border-border px-3 py-2 text-sm", children: [
25648
+ /* @__PURE__ */ c("span", { className: "flex items-center gap-1.5", children: [
25649
+ /* @__PURE__ */ n(Ft, { className: z("size-3.5 transition-transform duration-150", $ && "rotate-90") }),
25650
+ "Advanced"
25651
+ ] }),
25652
+ /* @__PURE__ */ c("span", { className: "max-w-[55%] truncate text-xs text-muted-foreground", children: [
25653
+ k,
25654
+ " · ",
25655
+ B
25656
+ ] })
25645
25657
  ] }),
25646
- /* @__PURE__ */ c("span", { className: "max-w-[55%] truncate text-xs text-muted-foreground", children: [
25647
- k,
25648
- " · ",
25649
- B
25650
- ] })
25651
- ] }),
25652
- /* @__PURE__ */ c(Cf, { className: "pt-2", children: [
25653
- /* @__PURE__ */ c("div", { className: "flex items-center justify-between rounded-xl border border-border px-3 py-2", children: [
25654
- /* @__PURE__ */ c("span", { className: "flex items-center gap-2 text-sm", children: [
25655
- /* @__PURE__ */ n(an, { className: "size-4 text-muted-foreground" }),
25656
- " Repo"
25658
+ /* @__PURE__ */ c(Cf, { className: "pt-2", children: [
25659
+ /* @__PURE__ */ c("div", { className: "flex items-center justify-between rounded-xl border border-border px-3 py-2", children: [
25660
+ /* @__PURE__ */ c("span", { className: "flex items-center gap-2 text-sm", children: [
25661
+ /* @__PURE__ */ n(an, { className: "size-4 text-muted-foreground" }),
25662
+ " Repo"
25663
+ ] }),
25664
+ /* @__PURE__ */ c(
25665
+ "select",
25666
+ {
25667
+ value: x,
25668
+ onChange: (q) => y(q.target.value),
25669
+ className: "max-w-44 appearance-none truncate bg-transparent text-right text-[13px] font-medium outline-none",
25670
+ children: [
25671
+ t.length ? null : /* @__PURE__ */ n("option", { value: "", children: "(no repos)" }),
25672
+ t.map((q) => /* @__PURE__ */ n("option", { value: q.cwd, children: q.name }, q.cwd))
25673
+ ]
25674
+ }
25675
+ )
25657
25676
  ] }),
25658
- /* @__PURE__ */ c(
25659
- "select",
25677
+ /* @__PURE__ */ n(
25678
+ ji,
25660
25679
  {
25661
- value: x,
25662
- onChange: (q) => y(q.target.value),
25663
- className: "max-w-44 appearance-none truncate bg-transparent text-right text-[13px] font-medium outline-none",
25664
- children: [
25665
- t.length ? null : /* @__PURE__ */ n("option", { value: "", children: "(no repos)" }),
25666
- t.map((q) => /* @__PURE__ */ n("option", { value: q.cwd, children: q.name }, q.cwd))
25667
- ]
25680
+ backend: k,
25681
+ setBackend: R,
25682
+ model: B,
25683
+ setModel: W,
25684
+ thinkingLevel: re,
25685
+ setThinkingLevel: V,
25686
+ codingAgents: r,
25687
+ scheduledOnly: !1
25668
25688
  }
25669
25689
  )
25670
- ] }),
25671
- /* @__PURE__ */ n(
25672
- ji,
25673
- {
25674
- backend: k,
25675
- setBackend: R,
25676
- model: B,
25677
- setModel: W,
25678
- thinkingLevel: re,
25679
- setThinkingLevel: V,
25680
- codingAgents: r,
25681
- scheduledOnly: !1
25682
- }
25683
- )
25690
+ ] })
25684
25691
  ] })
25685
- ] })
25686
- ] }) });
25692
+ ] }) })
25693
+ );
25687
25694
  }
25688
25695
  function V2({
25689
25696
  autoAgents: e = [],
@@ -1,4 +1,4 @@
1
- import { R as c, L as f, A as d } from "./streamdown-response-C8CjtDdV.js";
1
+ import { R as c, L as f, A as d } from "./streamdown-response-DHJZN_tF.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-C8CjtDdV.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-DHJZN_tF.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,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "@tanstack/react-router";
4
- import { ac as m, ad as o, ae as s } from "./embedded-dQE1_D_R.js";
4
+ import { ac as m, ad as o, ae as s } from "./embedded-miPCIB3O.js";
5
5
  export {
6
6
  m as OmgAppSurface,
7
7
  o as OmgSettingsSurface,
@@ -0,0 +1,4 @@
1
+ import { p } from "./streamdown-response-DHJZN_tF.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, m as Q, a as re, n as le, o as oe, p as ie, X, A, R as B, q as ce, s as de, u as J, T as ue, v as me, w as he, x as pe, L as fe } from "./embedded-dQE1_D_R.js";
2
+ import { r as H, m as Q, a as re, n as le, o as oe, p as ie, X, A, R as B, q as ce, s as de, u as J, T as ue, v as me, w as he, x as pe, L as fe } from "./embedded-miPCIB3O.js";
3
3
  import { cn as u } from "cnfast";
4
4
  import { useState as a, useRef as L, useEffect as v, useCallback as ge } from "react";
5
5
  function ye({
@@ -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 } from "./embedded-dQE1_D_R.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 } from "./embedded-miPCIB3O.js";
3
3
  import "@base-ui/react/collapsible";
4
4
  import { cn as z } from "cnfast";
5
5
  import { useState as p, useCallback as P, useEffect as U } from "react";
@@ -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 Te } from "react";
3
- import { y as ve, N as he, O as ze, Q as S, U as ge, V as Se, W as Pe, Y as je, B as Fe, L as pe, u as J, x as Ye, R as Ge, T as Be, Z as Ke, j as be, f as Ue, _ as He, a as L, $ as k, a0 as R, k as _, a1 as W, a2 as Ve, a3 as qe, a4 as Qe, a5 as Xe, P as Je, a6 as We } from "./embedded-dQE1_D_R.js";
3
+ import { y as ve, N as he, O as ze, Q as S, U as ge, V as Se, W as Pe, Y as je, B as Fe, L as pe, u as J, x as Ye, R as Ge, T as Be, Z as Ke, j as be, f as Ue, _ as He, a as L, $ as k, a0 as R, k as _, a1 as W, a2 as Ve, a3 as qe, a4 as Qe, a5 as Xe, P as Je, a6 as We } from "./embedded-miPCIB3O.js";
4
4
  import { cn as P } from "cnfast";
5
5
  /**
6
6
  * @license lucide-react v0.577.0 - ISC
@@ -7,7 +7,7 @@ import { createPortal as Ju } from "react-dom";
7
7
  import { f as Ur, p as Ka, e as Za, g as Ja, h as Jn, s as Mt, z as eo, i as to, j as no, k as Bd, l as es, w as Fd, b as Hd, c as Ud, m as zd, d as $d } from "./engine-compile-BeZvvx0I.js";
8
8
  import { g as ro } from "./_commonjsHelpers-C6fGbg64.js";
9
9
  import { cn as io } from "cnfast";
10
- import { a7 as jd, l as qd, a8 as Yd } from "./embedded-dQE1_D_R.js";
10
+ import { a7 as jd, l as qd, a8 as Yd } from "./embedded-miPCIB3O.js";
11
11
  const Vd = {
12
12
  classId: "classID",
13
13
  dataType: "datatype",
@@ -18973,7 +18973,7 @@ var Cc = Jt(!1), xk = () => Pe(Cc), Ua = (...e) => rc($l(e)), Ak = (e, t) => {
18973
18973
  for (; t > 0 && e[t - 1] === `
18974
18974
  `; ) t--;
18975
18975
  return e.slice(0, t);
18976
- }, Lk = Zu(() => import("./highlighted-body-OFNGDK62-DzLeWBzu.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), Rk = ({ code: e, language: t, className: n, children: r, isIncomplete: i = !1, startLine: a, lineNumbers: s, ...u }) => {
18976
+ }, Lk = Zu(() => import("./highlighted-body-OFNGDK62-BqCpp3N5.js").then((e) => ({ default: e.HighlightedCodeBlockBody }))), Rk = ({ code: e, language: t, className: n, children: r, isIncomplete: i = !1, startLine: a, lineNumbers: s, ...u }) => {
18977
18977
  let o = ee(), l = Ee(() => wk(e), [e]), d = Ee(() => ({ bg: "transparent", fg: "inherit", tokens: l.split(`
18978
18978
  `).map((f) => [{ content: f, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [l]);
18979
18979
  return y(Ic.Provider, { value: { code: e }, children: J(Nk, { isIncomplete: i, language: t, children: [y(Sk, { 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(Ik, { className: n, language: t, lineNumbers: s, result: d, startLine: a, ...u }), children: y(Lk, { className: n, code: l, language: t, lineNumbers: s, raw: d, startLine: a, ...u }) })] }) });
@@ -19315,7 +19315,7 @@ var Cc = Jt(!1), xk = () => Pe(Cc), Ua = (...e) => rc($l(e)), Ak = (e, t) => {
19315
19315
  }, Jk = ({ children: e, className: t, showControls: n, showCopy: r = !0, showDownload: i = !0, showFullscreen: a = !0, ...s }) => {
19316
19316
  let u = ee(), o = n && r, l = n && i, d = n && a, f = o || l || d;
19317
19317
  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(Oc, {}) : null, l ? y(Dc, {}) : null, d ? y(Zk, { 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 }) })] });
19318
- }, ex = /startLine=(\d+)/, tx = /\bnoLineNumbers\b/, nx = Zu(() => import("./mermaid-GHXKKRXX-DIUSd38X.js").then((e) => ({ default: e.Mermaid }))), rx = /language-([^\s]+)/;
19318
+ }, ex = /startLine=(\d+)/, tx = /\bnoLineNumbers\b/, nx = Zu(() => import("./mermaid-GHXKKRXX-C8J2Vm4P.js").then((e) => ({ default: e.Mermaid }))), rx = /language-([^\s]+)/;
19319
19319
  function Jr(e, t) {
19320
19320
  if (!(e != null && e.position || t != null && t.position)) return !0;
19321
19321
  if (!(e != null && e.position && t != null && t.position)) return !1;
@@ -20828,7 +20828,7 @@ function w6(e) {
20828
20828
  }
20829
20829
  function L6() {
20830
20830
  return Tr || (Tr = Promise.all([
20831
- import("./index-AfvOdd6i.js"),
20831
+ import("./index-D4khDAtO.js"),
20832
20832
  import("./index-JkCQXUYs.js").then((e) => e.bp)
20833
20833
  ]).then(([e, t]) => {
20834
20834
  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.384",
3
+ "version": "0.1.385",
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.384",
27
+ "@omg-dev/client": "0.1.385",
28
28
  "@ai-sdk/react": "^4.0.19",
29
29
  "@base-ui/react": "^1.6.0",
30
30
  "@number-flow/react": "^0.6.2",
@@ -1,4 +0,0 @@
1
- import { p } from "./streamdown-response-C8CjtDdV.js";
2
- export {
3
- p as Mermaid
4
- };