@omg-dev/app 0.1.361 → 0.1.362

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,22 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { M as n } from "./embedded-BPTnKZoe.js";
2
+ import { M as n } from "./embedded-YLz4_6Rx.js";
3
3
  const t = `# Changelog
4
4
 
5
5
  Recent product updates and deployment notes.
6
6
 
7
+ ## August 13, 2026 - The slow first open is gone too (v0.1.362)
8
+
9
+ - **Finishes what v0.1.361 started.** That release cached the coding-agent
10
+ check, which fixed opening the dashboard twice in a row but not the case
11
+ that actually annoys you: come back after a quiet minute and the cache had
12
+ expired, so you paid the full second and a half again. Measured after
13
+ v0.1.361: 33ms when warm, still 1582ms when not.
14
+ - **The dashboard now answers from the last known state and re-checks in the
15
+ background**, and it does the first check when the server starts rather than
16
+ when you first open a page. So the wait is not shortened, it is off your
17
+ path entirely. Logging in or out of an agent still clears it immediately, so
18
+ what you see stays true.
19
+
7
20
  ## August 13, 2026 - The dashboard stops asking your CLIs if they are logged in on every load (v0.1.361)
8
21
 
9
22
  - **Opening the dashboard was costing a second and a half of pure waiting.**
@@ -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 { E as oe, F as H, H as se, X as U, I as ie, J as ae, f as y, L as J, N as le, m as de, z as ce, O as L } from "./embedded-BPTnKZoe.js";
4
+ import { E as oe, F as H, H as se, X as U, I as ie, J as ae, f as y, L as J, N as le, m as de, z as ce, O as L } from "./embedded-YLz4_6Rx.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
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 { E as cA, S as wQ, X as DA, a9 as sQ, m as tQ, aa as eQ, ab as aQ, F as MQ, ac as hQ, R as NQ, z as cQ } from "./embedded-BPTnKZoe.js";
3
+ import { E as cA, S as wQ, X as DA, a9 as sQ, m as tQ, aa as eQ, ab as aQ, F as MQ, ac as hQ, R as NQ, z as cQ } from "./embedded-YLz4_6Rx.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 { ad as uo } from "./embedded-BPTnKZoe.js";
4
+ import { ad as uo } from "./embedded-YLz4_6Rx.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-BPTnKZoe.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-YLz4_6Rx.js";
3
3
  import { useState as S } from "react";
4
4
  function j(l) {
5
5
  const i = l.filter((r) => !r.ok);
@@ -20652,7 +20652,7 @@ const vL = gi(function({
20652
20652
  ] }) : null;
20653
20653
  }), xL = ks(
20654
20654
  "session-files-panel",
20655
- () => import("./SessionFilesPanel-Do4owDhC.js")
20655
+ () => import("./SessionFilesPanel-DfDc9N5f.js")
20656
20656
  );
20657
20657
  function Bp({ className: e, ...t }) {
20658
20658
  return /* @__PURE__ */ a(
@@ -26383,7 +26383,7 @@ async function e8() {
26383
26383
  }
26384
26384
  }
26385
26385
  const $3 = Fl(
26386
- () => import("./streamdown-response-E10ZA6JK.js").then((e) => e.a).then((e) => ({ default: e.StreamdownResponse }))
26386
+ () => import("./streamdown-response-WrSWWMXK.js").then((e) => e.a).then((e) => ({ default: e.StreamdownResponse }))
26387
26387
  );
26388
26388
  function zi({ className: e, from: t, ...n }) {
26389
26389
  return /* @__PURE__ */ a(
@@ -28923,26 +28923,26 @@ function rF({ className: e, isStreaming: t, children: n, ...r }) {
28923
28923
  function oF({ className: e, children: t, ...n }) {
28924
28924
  return /* @__PURE__ */ a(eF, { className: ee("mt-2 text-sm", e), ...n, children: /* @__PURE__ */ a(Iu, { className: "ai-live-text max-w-full opacity-90", children: t }) });
28925
28925
  }
28926
- const sF = Fl(() => import("./chat-engine-CXzsME_S.js"));
28926
+ const sF = Fl(() => import("./chat-engine-DQvoqFQJ.js"));
28927
28927
  function iF() {
28928
- const e = () => void import("./chat-engine-CXzsME_S.js"), t = globalThis.requestIdleCallback;
28928
+ const e = () => void import("./chat-engine-DQvoqFQJ.js"), t = globalThis.requestIdleCallback;
28929
28929
  typeof t == "function" ? t(e, { timeout: 3e3 }) : setTimeout(e, 1500);
28930
28930
  }
28931
28931
  const vS = ks(
28932
28932
  "TermView",
28933
- () => import("./TermView-DNblUz2x.js").then((e) => ({ default: e.TermView }))
28934
- ), mv = ks("ShippedPage", () => import("./shipped-page-DQCmLeEQ.js")), aF = ks(
28933
+ () => import("./TermView-dCaK7r9p.js").then((e) => ({ default: e.TermView }))
28934
+ ), mv = ks("ShippedPage", () => import("./shipped-page-Cg_59v8s.js")), aF = ks(
28935
28935
  "SessionTokenUsageDialog",
28936
- () => import("./session-token-usage-DTdZ6YJO.js")
28936
+ () => import("./session-token-usage-DezMPCxr.js")
28937
28937
  ), cF = ks(
28938
28938
  "CodingAgentsPage",
28939
- () => import("./coding-agents-page-cvxtmXLk.js")
28939
+ () => import("./coding-agents-page-Cw6L8IfD.js")
28940
28940
  ), pv = ks(
28941
28941
  "ResumeSessionSheet",
28942
- () => import("./resume-session-sheet-Da1y9JDe.js")
28942
+ () => import("./resume-session-sheet-CC6_0h3J.js")
28943
28943
  ), lF = ks(
28944
28944
  "ChangelogPage",
28945
- () => import("./ChangelogPage-CAIYEzG6.js")
28945
+ () => import("./ChangelogPage--HmaL_eq.js")
28946
28946
  ), _u = dr("configured"), uF = {
28947
28947
  claude: "Claude",
28948
28948
  codex: "Codex",
@@ -1,4 +1,4 @@
1
- import { R as c, L as f, A as d } from "./streamdown-response-E10ZA6JK.js";
1
+ import { R as c, L as f, A as d } from "./streamdown-response-WrSWWMXK.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-E10ZA6JK.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-WrSWWMXK.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 { af as p, ag as m, ah as o } from "./embedded-BPTnKZoe.js";
3
+ import { af as p, ag as m, ah as o } from "./embedded-YLz4_6Rx.js";
4
4
  export {
5
5
  p as OmgAppSurface,
6
6
  m as OmgSettingsSurface,
@@ -0,0 +1,4 @@
1
+ import { p } from "./streamdown-response-WrSWWMXK.js";
2
+ export {
3
+ p as Mermaid
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { jsx as t, jsxs as s, Fragment as v } from "react/jsx-runtime";
2
- import { r as H, n as Q, a as le, u as oe, o as ie, p as ce, q as de, X, A as L, f as o, R as J, s as ue, v as me, w as K, T as he, x as pe, y as fe, z as ge, L as xe } from "./embedded-BPTnKZoe.js";
2
+ import { r as H, n as Q, a as le, u as oe, o as ie, p as ce, q as de, X, A as L, f as o, R as J, s as ue, v as me, w as K, T as he, x as pe, y as fe, z as ge, L as xe } from "./embedded-YLz4_6Rx.js";
3
3
  import { useState as a, useRef as T, useEffect as w, useCallback as be } from "react";
4
4
  function Ce({
5
5
  initial: h,
@@ -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-BPTnKZoe.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-YLz4_6Rx.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 { E as ve, Q as he, U as Te, V as S, W as ge, Y as Se, Z as Pe, _ as je, B as Fe, L as pe, w as J, z as Ye, R as Ge, f as P, T as Be, $ as Ke, k as be, g as Ue, a0 as He, a as L, a1 as k, a2 as R, l as _, a3 as W, a4 as Ve, a5 as qe, a6 as Qe, a7 as Xe, P as Je, a8 as We } from "./embedded-BPTnKZoe.js";
3
+ import { E as ve, Q as he, U as Te, V as S, W as ge, Y as Se, Z as Pe, _ as je, B as Fe, L as pe, w as J, z as Ye, R as Ge, f as P, T as Be, $ as Ke, k as be, g as Ue, a0 as He, a as L, a1 as k, a2 as R, l as _, a3 as W, a4 as Ve, a5 as qe, a6 as Qe, a7 as Xe, P as Je, a8 as We } from "./embedded-YLz4_6Rx.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 { ae as Ju, f as eo, a9 as vd, m as Bd, aa as Fd } from "./embedded-BPTnKZoe.js";
6
+ import { ae as Ju, f as eo, a9 as vd, m as Bd, aa as Fd } from "./embedded-YLz4_6Rx.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-CiRjvCDo.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-DuOnWale.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-L-iMGsQc.js").then((e) => ({ default: e.Mermaid }))), nx = /language-([^\s]+)/;
19304
+ }, Jk = /startLine=(\d+)/, ex = /\bnoLineNumbers\b/, tx = Zu(() => import("./mermaid-GHXKKRXX-BwNze1N4.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-MKIeW0JN.js"),
20817
+ import("./index-BmOQhQBG.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.361",
3
+ "version": "0.1.362",
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.361",
27
+ "@omg-dev/client": "0.1.362",
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-E10ZA6JK.js";
2
- export {
3
- p as Mermaid
4
- };