@omg-dev/app 0.6.6 → 0.6.8

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.
Files changed (23) hide show
  1. package/dist-lib/{ChangelogPage-4HO7hnee.js → ChangelogPage-Dd12uyDI.js} +15 -1
  2. package/dist-lib/{SessionFilesPanel-Bm3MYoo0.js → SessionFilesPanel-B8QK4DzU.js} +1 -1
  3. package/dist-lib/{TermView-Cf-ECYTe.js → TermView-DF86lfHN.js} +2 -2
  4. package/dist-lib/{chat-engine-DUW9NIO6.js → chat-engine-DOIGacJq.js} +1 -1
  5. package/dist-lib/{chunk-BO2N2NFS-BbJdm-59.js → chunk-YOKDWASO-B5AA2F8u.js} +4960 -4685
  6. package/dist-lib/{coding-agents-page-B7YnbgWU.js → coding-agents-page-ludGjg32.js} +1 -1
  7. package/dist-lib/{computer-page-BJtpR93j.js → computer-page-y1SmTmwz.js} +2 -2
  8. package/dist-lib/{embedded-4tfA0l1r.js → embedded-D2p-rD_r.js} +1329 -1349
  9. package/dist-lib/highlighted-body-KPVGNVTW-CKqvokuv.js +19 -0
  10. package/dist-lib/index-DvGsWrXd.js +29 -0
  11. package/dist-lib/{index-FgVvPpIY.js → index-DwqRQdS3.js} +11 -11
  12. package/dist-lib/index.js +1 -1
  13. package/dist-lib/{keyboard-53jKcY3C.js → keyboard-BBevGtzY.js} +1 -1
  14. package/dist-lib/mermaid-HWGCJPDP-Bdyjop7F.js +4 -0
  15. package/dist-lib/{resume-session-sheet-BQ7oBzDj.js → resume-session-sheet-Drxf_YNq.js} +1 -1
  16. package/dist-lib/{session-token-usage-CcrQMYQF.js → session-token-usage-nPQ1FsZq.js} +1 -1
  17. package/dist-lib/{shipped-page-tyBhuGan.js → shipped-page-xaSxu6WC.js} +1 -1
  18. package/dist-lib/{streamdown-response-C1EvqLYx.js → streamdown-response-DJ03_bnk.js} +105 -103
  19. package/dist-lib/styles.css +1 -1
  20. package/package.json +3 -3
  21. package/dist-lib/highlighted-body-OFNGDK62-DWhG_ijx.js +0 -19
  22. package/dist-lib/index-CE7H8LiZ.js +0 -29
  23. package/dist-lib/mermaid-GHXKKRXX-hOE9C3qW.js +0 -4
@@ -0,0 +1,19 @@
1
+ import { S as f, E as x, e as d } from "./chunk-YOKDWASO-B5AA2F8u.js";
2
+ import { useContext as p, useState as N, useEffect as E } from "react";
3
+ import { jsx as H } from "react/jsx-runtime";
4
+ var C = ({ code: i, language: e, maxHeight: o, raw: t, className: m, startLine: g, lineNumbers: u, ...h }) => {
5
+ let { shikiTheme: s } = p(f), a = x(), [n, r] = N(t);
6
+ return E(() => {
7
+ if (!a) {
8
+ r(t);
9
+ return;
10
+ }
11
+ let l = a.highlight({ code: i, language: e, themes: s }, (c) => {
12
+ r(c);
13
+ });
14
+ l && r(l);
15
+ }, [i, e, s, a, t]), H(d, { className: m, language: e, lineNumbers: u, maxHeight: o, result: n, startLine: g, ...h });
16
+ };
17
+ export {
18
+ C as HighlightedCodeBlockBody
19
+ };
@@ -0,0 +1,29 @@
1
+ import { _ as e } from "./chunk-YOKDWASO-B5AA2F8u.js";
2
+ import { Y as s, T as l, x as n, g as r, I as d, v as c, X as C, a as k, S as m, L as T, D as i, j as p, $ as u, b as w, W as B, N as D, H as b, U as f, w as x, z as S, c as I, C as g, d as y, h as H } from "./chunk-YOKDWASO-B5AA2F8u.js";
3
+ export {
4
+ s as Block,
5
+ l as CodeBlock,
6
+ n as CodeBlockContainer,
7
+ r as CodeBlockCopyButton,
8
+ d as CodeBlockDownloadButton,
9
+ c as CodeBlockHeader,
10
+ C as CodeBlockSkeleton,
11
+ k as Streamdown,
12
+ m as StreamdownContext,
13
+ T as TableCopyDropdown,
14
+ i as TableDownloadDropdown,
15
+ p as createAnimatePlugin,
16
+ u as defaultRehypePlugins,
17
+ w as defaultRemarkPlugins,
18
+ B as defaultTranslations,
19
+ D as defaultUrlTransform,
20
+ b as detectTextDirection,
21
+ f as escapeMarkdownTableCell,
22
+ x as extractTableDataFromElement,
23
+ S as normalizeHtmlIndentation,
24
+ e as parseMarkdownIntoBlocks,
25
+ I as tableDataToCSV,
26
+ g as tableDataToMarkdown,
27
+ y as tableDataToTSV,
28
+ H as useIsCodeFenceIncomplete
29
+ };
@@ -1,4 +1,4 @@
1
- import { w as T, g as U, h as X, l as Y, v as G, S as J, m as k, q as Q, y as M, z as y } from "./chunk-BO2N2NFS-BbJdm-59.js";
1
+ import { f as T, s as U, i as X, k as Y, l as G, m as J, o as k, n as Q, p as M, q as y } from "./chunk-YOKDWASO-B5AA2F8u.js";
2
2
  import z from "./katex-DoRnZ_sp.js";
3
3
  function Z(t, e) {
4
4
  return B(t, {}) || { type: "root", children: [] };
@@ -31,7 +31,7 @@ function tt(t, e) {
31
31
  t
32
32
  );
33
33
  case 9:
34
- return v(
34
+ return q(
35
35
  /** @type {Document} */
36
36
  t,
37
37
  e
@@ -39,7 +39,7 @@ function tt(t, e) {
39
39
  case 10:
40
40
  return et();
41
41
  case 11:
42
- return v(
42
+ return q(
43
43
  /** @type {DocumentFragment} */
44
44
  t,
45
45
  e
@@ -48,7 +48,7 @@ function tt(t, e) {
48
48
  return;
49
49
  }
50
50
  }
51
- function v(t, e) {
51
+ function q(t, e) {
52
52
  return { type: "root", children: L(t, e) };
53
53
  }
54
54
  function et() {
@@ -91,7 +91,7 @@ function ot(t) {
91
91
  const e = document.createElement("template");
92
92
  return e.innerHTML = t, e.content;
93
93
  }
94
- const q = (
94
+ const v = (
95
95
  // Note: overloads like this are needed to support optional generics.
96
96
  /**
97
97
  * @type {(
@@ -322,7 +322,7 @@ function ft(t, e, r) {
322
322
  return o;
323
323
  let s, a;
324
324
  for (N(t) || D(t) && // @ts-expect-error: something up with types of parents.
325
- q(e, t, D) ? a = `
325
+ v(e, t, D) ? a = `
326
326
  ` : ht(t) ? (s = 2, a = 2) : _(t) && (s = 1, a = 1); ++u < n.length; )
327
327
  o = o.concat(
328
328
  j(n[u], t, {
@@ -332,7 +332,7 @@ function ft(t, e, r) {
332
332
  })
333
333
  );
334
334
  return P(t) && // @ts-expect-error: something up with types of parents.
335
- q(e, t, P) && o.push(" "), s && o.unshift(s), a && o.push(a), o;
335
+ v(e, t, P) && o.push(" "), s && o.unshift(s), a && o.push(a), o;
336
336
  }
337
337
  function V(t, e) {
338
338
  const r = String(t.value), i = [], n = [];
@@ -714,7 +714,7 @@ function $t(t) {
714
714
  function zt(t) {
715
715
  return t !== 36 || this.events[this.events.length - 1][1].type === "characterEscape";
716
716
  }
717
- function vt(t) {
717
+ function qt(t) {
718
718
  return {
719
719
  flow: {
720
720
  36: Nt
@@ -724,13 +724,13 @@ function vt(t) {
724
724
  }
725
725
  };
726
726
  }
727
- const qt = {};
727
+ const vt = {};
728
728
  function At(t) {
729
729
  const e = (
730
730
  /** @type {Processor} */
731
731
  this
732
- ), r = t || qt, i = e.data(), n = i.micromarkExtensions || (i.micromarkExtensions = []), u = i.fromMarkdownExtensions || (i.fromMarkdownExtensions = []), o = i.toMarkdownExtensions || (i.toMarkdownExtensions = []);
733
- n.push(vt(r)), u.push(Mt()), o.push(Tt(r));
732
+ ), r = t || vt, i = e.data(), n = i.micromarkExtensions || (i.micromarkExtensions = []), u = i.fromMarkdownExtensions || (i.fromMarkdownExtensions = []), o = i.toMarkdownExtensions || (i.toMarkdownExtensions = []);
733
+ n.push(qt(r)), u.push(Mt()), o.push(Tt(r));
734
734
  }
735
735
  function It(t = {}) {
736
736
  var e, r;
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 { af as m, ag as o, ah as s } from "./embedded-4tfA0l1r.js";
4
+ import { af as m, ag as o, ah as s } from "./embedded-D2p-rD_r.js";
5
5
  export {
6
6
  m as OmgAppSurface,
7
7
  o as OmgSettingsSurface,
@@ -1,4 +1,4 @@
1
- import { f as h } from "./embedded-4tfA0l1r.js";
1
+ import { f as h } from "./embedded-D2p-rD_r.js";
2
2
  /**
3
3
  * @license lucide-react v0.577.0 - ISC
4
4
  *
@@ -0,0 +1,4 @@
1
+ import { V as r } from "./chunk-YOKDWASO-B5AA2F8u.js";
2
+ export {
3
+ r as Mermaid
4
+ };
@@ -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-4tfA0l1r.js";
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-D2p-rD_r.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-4tfA0l1r.js";
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-D2p-rD_r.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 _e, useMemo as $e } from "react";
3
- import { f as Se, E as me, F as Te, H as _, I as fe, J as ze, N as Pe, O as Fe, B as Ge, L as he, Q as je, 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 R, Z as Q, _ as qe, $ as Je, a0 as Qe, a1 as Xe, n as Oe, a2 as We } from "./embedded-4tfA0l1r.js";
3
+ import { f as Se, E as me, F as Te, H as _, I as fe, J as ze, N as Pe, O as Fe, B as Ge, L as he, Q as je, 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 R, Z as Q, _ as qe, $ as Je, a0 as Qe, a1 as Xe, n as Oe, a2 as We } from "./embedded-D2p-rD_r.js";
4
4
  import { cn as $ } from "cnfast";
5
5
  /**
6
6
  * @license lucide-react v0.577.0 - ISC