@omg-dev/app 0.1.389 → 0.1.390

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,17 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { M as n } from "./embedded-BiI4ucV7.js";
2
+ import { M as n } from "./embedded-BZAW21Po.js";
3
3
  const t = `# Changelog
4
4
 
5
5
  Recent product updates and deployment notes.
6
6
 
7
+ ## August 18, 2026 - Host chrome stays in its corner (v0.1.390)
8
+
9
+ - **Fixed: on a hosted phone, Bots/Notifications/Artifacts moved the app's
10
+ Computer and Settings buttons to the top-left**, fused onto the end of the
11
+ "Live" back button. Yesterday's island merge landed them correctly on Live
12
+ and incorrectly everywhere else; they now stay in the top-right corner on
13
+ every page.
14
+
7
15
  ## August 18, 2026 - One island in the corner, not two (v0.1.389)
8
16
 
9
17
  - **Fixed: on a hosted phone, the app's own chrome overlapped ours** in 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-BiI4ucV7.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-BZAW21Po.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-BiI4ucV7.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-BZAW21Po.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-BiI4ucV7.js";
4
+ import { ab as uo } from "./embedded-BZAW21Po.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-BiI4ucV7.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-BZAW21Po.js";
3
3
  import { cn as E } from "cnfast";
4
4
  import { useState as A } from "react";
5
5
  function j(a) {
@@ -7788,7 +7788,7 @@ const Cw = Ms(function({
7788
7788
  ] }) : null;
7789
7789
  }), Mw = Hr(
7790
7790
  "session-files-panel",
7791
- () => import("./SessionFilesPanel-Dx0i8Ooe.js")
7791
+ () => import("./SessionFilesPanel-CYs7Mkij.js")
7792
7792
  );
7793
7793
  function El({ className: e, ...t }) {
7794
7794
  return /* @__PURE__ */ n(
@@ -8512,7 +8512,7 @@ async function zS() {
8512
8512
  }
8513
8513
  }
8514
8514
  const Jw = Ni(
8515
- () => import("./streamdown-response-CmJUqevp.js").then((e) => e.a).then((e) => ({ default: e.StreamdownResponse }))
8515
+ () => import("./streamdown-response-B5E1P5Gm.js").then((e) => e.a).then((e) => ({ default: e.StreamdownResponse }))
8516
8516
  );
8517
8517
  function Us({ className: e, from: t, ...r }) {
8518
8518
  return /* @__PURE__ */ n(
@@ -10918,26 +10918,26 @@ function mk({ className: e, isStreaming: t, children: r, ...s }) {
10918
10918
  function pk({ className: e, children: t, ...r }) {
10919
10919
  return /* @__PURE__ */ n(If, { className: P("mt-2 text-sm", e), ...r, children: /* @__PURE__ */ n(Ao, { className: "ai-live-text max-w-full opacity-90", children: t }) });
10920
10920
  }
10921
- const hk = Ni(() => import("./chat-engine-DK16dq4L.js"));
10921
+ const hk = Ni(() => import("./chat-engine-DsrhGoo-.js"));
10922
10922
  function gk() {
10923
- const e = () => void import("./chat-engine-DK16dq4L.js"), t = globalThis.requestIdleCallback;
10923
+ const e = () => void import("./chat-engine-DsrhGoo-.js"), t = globalThis.requestIdleCallback;
10924
10924
  typeof t == "function" ? t(e, { timeout: 3e3 }) : setTimeout(e, 1500);
10925
10925
  }
10926
10926
  const sm = Hr(
10927
10927
  "TermView",
10928
- () => import("./TermView-BI80KyPL.js").then((e) => ({ default: e.TermView }))
10929
- ), $d = Hr("ShippedPage", () => import("./shipped-page-ClLo0IaC.js")), bk = Hr(
10928
+ () => import("./TermView-D_zWFB8v.js").then((e) => ({ default: e.TermView }))
10929
+ ), $d = Hr("ShippedPage", () => import("./shipped-page-D2SEv4nX.js")), bk = Hr(
10930
10930
  "SessionTokenUsageDialog",
10931
- () => import("./session-token-usage-f0zoKDdN.js")
10931
+ () => import("./session-token-usage-DPMO-_RC.js")
10932
10932
  ), xk = Hr(
10933
10933
  "CodingAgentsPage",
10934
- () => import("./coding-agents-page-akvWVczZ.js")
10934
+ () => import("./coding-agents-page-CEsbikvV.js")
10935
10935
  ), zd = Hr(
10936
10936
  "ResumeSessionSheet",
10937
- () => import("./resume-session-sheet-Ctzovog7.js")
10937
+ () => import("./resume-session-sheet-CkcWEnCw.js")
10938
10938
  ), yk = Hr(
10939
10939
  "ChangelogPage",
10940
- () => import("./ChangelogPage-BnVVCD5q.js")
10940
+ () => import("./ChangelogPage-C4EFtAg2.js")
10941
10941
  ), zi = Ht("configured"), vk = {
10942
10942
  claude: "Claude",
10943
10943
  codex: "Codex",
@@ -14555,8 +14555,8 @@ ${g.reasoning.map((qn) => `- ${qn}`).join(`
14555
14555
  /* Secondary pages sit below Live in the mobile hierarchy. The host
14556
14556
  keeps its own right-side island; LFG supplies the page-level back
14557
14557
  action in the space where the Live welcome normally sits. */
14558
- /* @__PURE__ */ n("header", { className: "z-40 flex shrink-0 items-center pb-3 pl-3 pr-[calc(0.75rem+var(--lfg-host-top-inset))] pt-[calc(0.5rem+env(safe-area-inset-top))]", children: /* @__PURE__ */ c(is, { className: "shrink-0 flex items-center gap-1.5", children: [
14559
- /* @__PURE__ */ c(
14558
+ /* @__PURE__ */ c("header", { className: "z-40 flex shrink-0 items-center justify-between gap-2 pb-3 pl-3 pr-[calc(0.75rem+var(--lfg-host-top-inset))] pt-[calc(0.5rem+env(safe-area-inset-top))]", children: [
14559
+ /* @__PURE__ */ n(is, { className: "shrink-0", children: /* @__PURE__ */ c(
14560
14560
  "button",
14561
14561
  {
14562
14562
  type: "button",
@@ -14568,15 +14568,15 @@ ${g.reasoning.map((qn) => `- ${qn}`).join(`
14568
14568
  /* @__PURE__ */ n("span", { children: "Live" })
14569
14569
  ]
14570
14570
  }
14571
- ),
14571
+ ) }),
14572
14572
  /* @__PURE__ */ n(
14573
14573
  "span",
14574
14574
  {
14575
14575
  "data-lfg-host-slot": "header-actions",
14576
- className: "glass-island flex h-11 items-center gap-1.5 rounded-full px-2"
14576
+ className: "glass-island flex h-11 shrink-0 items-center gap-1.5 rounded-full px-2"
14577
14577
  }
14578
14578
  )
14579
- ] }) })
14579
+ ] })
14580
14580
  ) : Ji ? null : (
14581
14581
  /* Embedded used to be suppressed here too, which left Shipped and
14582
14582
  Artifacts with no chrome at all — no way back to Live except browser
@@ -1,4 +1,4 @@
1
- import { R as c, L as f, A as d } from "./streamdown-response-CmJUqevp.js";
1
+ import { R as c, L as f, A as d } from "./streamdown-response-B5E1P5Gm.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-CmJUqevp.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-B5E1P5Gm.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-BiI4ucV7.js";
4
+ import { ac as m, ad as o, ae as s } from "./embedded-BZAW21Po.js";
5
5
  export {
6
6
  m as OmgAppSurface,
7
7
  o as OmgSettingsSurface,
@@ -0,0 +1,4 @@
1
+ import { p } from "./streamdown-response-B5E1P5Gm.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-BiI4ucV7.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-BZAW21Po.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-BiI4ucV7.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-BZAW21Po.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-BiI4ucV7.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-BZAW21Po.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-BiI4ucV7.js";
10
+ import { a7 as jd, l as qd, a8 as Yd } from "./embedded-BZAW21Po.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-Cer5hRbY.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-BQFFy3Fj.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-Bj1Zz4Gx.js").then((e) => ({ default: e.Mermaid }))), rx = /language-([^\s]+)/;
19318
+ }, ex = /startLine=(\d+)/, tx = /\bnoLineNumbers\b/, nx = Zu(() => import("./mermaid-GHXKKRXX-Bl9n8bZs.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-Cs58NvCN.js"),
20831
+ import("./index-DvuxGFIA.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.389",
3
+ "version": "0.1.390",
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.389",
27
+ "@omg-dev/client": "0.1.390",
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-CmJUqevp.js";
2
- export {
3
- p as Mermaid
4
- };