@omg-dev/app 0.2.23 → 0.3.0

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 (24) hide show
  1. package/dist-lib/{ChangelogPage-CeCtrXuD.js → ChangelogPage-tITBP5A1.js} +54 -1
  2. package/dist-lib/{SessionFilesPanel-Ck0KNzua.js → SessionFilesPanel-T3CkIp2a.js} +17 -17
  3. package/dist-lib/{TermView-D2F19OhV.js → TermView-BJiSY2oC.js} +1 -1
  4. package/dist-lib/apple-touch-icon.png +0 -0
  5. package/dist-lib/{chat-engine-Bo21-04D.js → chat-engine-ChrOJLdY.js} +1 -1
  6. package/dist-lib/{coding-agents-page-Bfy-IdbL.js → coding-agents-page-Bsy-dsUo.js} +1 -1
  7. package/dist-lib/{embedded-pRKgmVAd.js → embedded-cpSkU0tg.js} +11301 -11228
  8. package/dist-lib/{highlighted-body-OFNGDK62-XrUZDzoE.js → highlighted-body-OFNGDK62-bfel3kiX.js} +1 -1
  9. package/dist-lib/icon-192.png +0 -0
  10. package/dist-lib/icon-512.png +0 -0
  11. package/dist-lib/icon-maskable-512.png +0 -0
  12. package/dist-lib/icon-maskable.svg +11 -11
  13. package/dist-lib/icon-small.svg +18 -15
  14. package/dist-lib/icon.svg +18 -15
  15. package/dist-lib/{index-CdRi0Fvj.js → index-BNac_jIC.js} +1 -1
  16. package/dist-lib/index.js +1 -1
  17. package/dist-lib/mermaid-GHXKKRXX-CTlo5kzO.js +4 -0
  18. package/dist-lib/{resume-session-sheet-9na3HKD2.js → resume-session-sheet-CsBKi_wb.js} +1 -1
  19. package/dist-lib/{session-token-usage-Buv6ihdg.js → session-token-usage-CTQR54Yk.js} +6 -6
  20. package/dist-lib/{shipped-page-DRgFmUbI.js → shipped-page-B46DR9zS.js} +91 -101
  21. package/dist-lib/{streamdown-response-k_s41jX5.js → streamdown-response-Bt7VM-cZ.js} +4 -4
  22. package/dist-lib/styles.css +1 -1
  23. package/package.json +2 -2
  24. package/dist-lib/mermaid-GHXKKRXX-CPr0wWN7.js +0 -4
@@ -1,4 +1,4 @@
1
- import { R as c, L as f, A as d } from "./streamdown-response-k_s41jX5.js";
1
+ import { R as c, L as f, A as d } from "./streamdown-response-Bt7VM-cZ.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 }) => {
Binary file
Binary file
Binary file
@@ -1,16 +1,16 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2
+ <!-- Adaptive-icon variant of icon.svg: full bleed, no tile corners, and the
3
+ mark scaled to 0.8 about the centre so it sits inside the maskable safe
4
+ zone whatever shape the launcher crops to. Same colours and the same
5
+ disc-with-a-bite, so the adaptive icon and the app icon read identically. -->
2
6
  <defs>
3
- <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
4
- <stop offset="0%" stop-color="#3b5bf6"/>
5
- <stop offset="100%" stop-color="#06b6d4"/>
6
- </linearGradient>
7
+ <radialGradient id="bg" cx="0" cy="0" r="1.2"><stop offset="0%" stop-color="#4a2417"/><stop offset="100%" stop-color="#120f0b"/></radialGradient>
8
+ <mask id="disc">
9
+ <rect width="512" height="512" fill="black"/>
10
+ <circle cx="256" cy="256" r="147" fill="white"/>
11
+ <circle cx="324.2" cy="187.7" r="42.7" fill="black"/>
12
+ </mask>
7
13
  </defs>
8
14
  <rect width="512" height="512" fill="url(#bg)"/>
9
- <!-- Same 0.78 wordmark weight as icon.svg, so the adaptive icon and the app
10
- icon read identically. Still well inside the maskable safe zone. -->
11
- <g fill="#fff" transform="translate(256 256) scale(.78) translate(-268 -256)">
12
- <rect x="126" y="158" width="38" height="190" rx="7"/>
13
- <path d="M196 218v-12c0-36 22-56 59-56h29v35h-19c-21 0-30 8-30 25v8h48v36h-48v94h-39v-94h-28v-36h28Z"/>
14
- <path fill-rule="evenodd" d="M337 210c16 0 30 6 40 17v-13h37v126c0 51-29 78-78 78-25 0-48-7-65-19l16-30c14 9 30 14 47 14 28 0 43-13 43-40v-9c-11 12-25 18-41 18-39 0-68-30-68-71s29-71 69-71Zm7 35c-21 0-37 15-37 36s16 36 37 36c20 0 36-15 36-36s-16-36-36-36Z"/>
15
- </g>
15
+ <rect width="512" height="512" fill="#f6f2ec" mask="url(#disc)"/>
16
16
  </svg>
@@ -1,19 +1,22 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2
+ <!-- The omg.dev app icon: a cream disc with a bite out of the upper right,
3
+ on the warm near-black tile. Traced from docs/images/omg-icon.png, which
4
+ is the product's own icon and stays the reference for this file. Geometry
5
+ was measured off that artwork at 192px and scaled by 512/192: disc centre
6
+ (95.5, 95.5) r69, bite centre (127.5, 63.5) r20, corner radius 44.
7
+
8
+ This used to draw the legacy "lfg" wordmark on a blue/cyan tile, which is
9
+ why generate-icons.ts refused to regenerate the README icon from it. -->
2
10
  <defs>
3
- <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
4
- <stop offset="0%" stop-color="#3b5bf6"/>
5
- <stop offset="100%" stop-color="#06b6d4"/>
6
- </linearGradient>
11
+ <radialGradient id="bg" cx="0" cy="0" r="1.2"><stop offset="0%" stop-color="#4a2417"/><stop offset="100%" stop-color="#120f0b"/></radialGradient>
12
+ <!-- The bite is a hole, not a dark dot: the tile gradient shows through it,
13
+ so it stays correct wherever the mark is placed. -->
14
+ <mask id="disc">
15
+ <rect width="512" height="512" fill="black"/>
16
+ <circle cx="254.7" cy="254.7" r="184" fill="white"/>
17
+ <circle cx="340" cy="169.3" r="53.3" fill="black"/>
18
+ </mask>
7
19
  </defs>
8
- <path d="M164 0h184c105 0 164 59 164 164v184c0 105-59 164-164 164H164C59 512 0 453 0 348V164C0 59 59 0 164 0Z" fill="url(#bg)"/>
9
- <!-- Weight matched to the pre-vector mark: the wordmark reads at the same
10
- optical size it did as a bitmap. Glyph bbox is 288x268 at 126,150; this
11
- scales it to 0.78 and re-centres on (256.3, 271.8), the centre the old
12
- artwork occupied. That puts the 'l' stem at 5.8% of the tile against the
13
- old 6.1%, instead of the 7.4% the unscaled outlines were drawing. -->
14
- <g fill="#fff" transform="translate(45.70 50.28) scale(0.78)">
15
- <rect x="126" y="158" width="38" height="190" rx="7"/>
16
- <path d="M196 218v-12c0-36 22-56 59-56h29v35h-19c-21 0-30 8-30 25v8h48v36h-48v94h-39v-94h-28v-36h28Z"/>
17
- <path fill-rule="evenodd" d="M337 210c16 0 30 6 40 17v-13h37v126c0 51-29 78-78 78-25 0-48-7-65-19l16-30c14 9 30 14 47 14 28 0 43-13 43-40v-9c-11 12-25 18-41 18-39 0-68-30-68-71s29-71 69-71Zm7 35c-21 0-37 15-37 36s16 36 37 36c20 0 36-15 36-36s-16-36-36-36Z"/>
18
- </g>
20
+ <rect width="512" height="512" rx="115" ry="115" fill="url(#bg)"/>
21
+ <rect width="512" height="512" fill="#f6f2ec" mask="url(#disc)"/>
19
22
  </svg>
package/dist-lib/icon.svg CHANGED
@@ -1,19 +1,22 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2
+ <!-- The omg.dev app icon: a cream disc with a bite out of the upper right,
3
+ on the warm near-black tile. Traced from docs/images/omg-icon.png, which
4
+ is the product's own icon and stays the reference for this file. Geometry
5
+ was measured off that artwork at 192px and scaled by 512/192: disc centre
6
+ (95.5, 95.5) r69, bite centre (127.5, 63.5) r20, corner radius 44.
7
+
8
+ This used to draw the legacy "lfg" wordmark on a blue/cyan tile, which is
9
+ why generate-icons.ts refused to regenerate the README icon from it. -->
2
10
  <defs>
3
- <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
4
- <stop offset="0%" stop-color="#3b5bf6"/>
5
- <stop offset="100%" stop-color="#06b6d4"/>
6
- </linearGradient>
11
+ <radialGradient id="bg" cx="0" cy="0" r="1.2"><stop offset="0%" stop-color="#4a2417"/><stop offset="100%" stop-color="#120f0b"/></radialGradient>
12
+ <!-- The bite is a hole, not a dark dot: the tile gradient shows through it,
13
+ so it stays correct wherever the mark is placed. -->
14
+ <mask id="disc">
15
+ <rect width="512" height="512" fill="black"/>
16
+ <circle cx="254.7" cy="254.7" r="184" fill="white"/>
17
+ <circle cx="340" cy="169.3" r="53.3" fill="black"/>
18
+ </mask>
7
19
  </defs>
8
- <path d="M164 0h184c105 0 164 59 164 164v184c0 105-59 164-164 164H164C59 512 0 453 0 348V164C0 59 59 0 164 0Z" fill="url(#bg)"/>
9
- <!-- Weight matched to the pre-vector mark: the wordmark reads at the same
10
- optical size it did as a bitmap. Glyph bbox is 288x268 at 126,150; this
11
- scales it to 0.78 and re-centres on (256.3, 271.8), the centre the old
12
- artwork occupied. That puts the 'l' stem at 5.8% of the tile against the
13
- old 6.1%, instead of the 7.4% the unscaled outlines were drawing. -->
14
- <g fill="#fff" transform="translate(45.70 50.28) scale(0.78)">
15
- <rect x="126" y="158" width="38" height="190" rx="7"/>
16
- <path d="M196 218v-12c0-36 22-56 59-56h29v35h-19c-21 0-30 8-30 25v8h48v36h-48v94h-39v-94h-28v-36h28Z"/>
17
- <path fill-rule="evenodd" d="M337 210c16 0 30 6 40 17v-13h37v126c0 51-29 78-78 78-25 0-48-7-65-19l16-30c14 9 30 14 47 14 28 0 43-13 43-40v-9c-11 12-25 18-41 18-39 0-68-30-68-71s29-71 69-71Zm7 35c-21 0-37 15-37 36s16 36 37 36c20 0 36-15 36-36s-16-36-36-36Z"/>
18
- </g>
20
+ <rect width="512" height="512" rx="115" ry="115" fill="url(#bg)"/>
21
+ <rect width="512" height="512" fill="#f6f2ec" mask="url(#disc)"/>
19
22
  </svg>
@@ -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-k_s41jX5.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-Bt7VM-cZ.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-pRKgmVAd.js";
4
+ import { ad as m, ae as o, af as s } from "./embedded-cpSkU0tg.js";
5
5
  export {
6
6
  m as OmgAppSurface,
7
7
  o as OmgSettingsSurface,
@@ -0,0 +1,4 @@
1
+ import { p } from "./streamdown-response-Bt7VM-cZ.js";
2
+ export {
3
+ p 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, f as oe, g as ie, h as ce, X as K, A as P, R as Y, i as de, S as ue, j as Z, T as me, k as he, l as pe, C as fe, L as ge } from "./embedded-pRKgmVAd.js";
2
+ import { r as X, P as J, a as le, f as oe, g as ie, h as ce, X as K, A as P, R as Y, i as de, S as ue, j as Z, T as me, k as he, l as pe, C as fe, L as ge } from "./embedded-cpSkU0tg.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,8 +1,8 @@
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-pRKgmVAd.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-cpSkU0tg.js";
3
+ import { useState as p, useCallback as z, useEffect as P } from "react";
3
4
  import "@base-ui/react/collapsible";
4
- import { cn as z } from "cnfast";
5
- import { useState as p, useCallback as P, useEffect as U } from "react";
5
+ import { cn as U } from "cnfast";
6
6
  import "@base-ui/react/input";
7
7
  function u({
8
8
  title: r,
@@ -28,7 +28,7 @@ function H({
28
28
  onOpenChange: l
29
29
  }) {
30
30
  var k;
31
- const m = r.sessionId, [e, v] = p(null), [x, g] = p(!1), [b, N] = p(null), h = P(async () => {
31
+ const m = r.sessionId, [e, v] = p(null), [x, g] = p(!1), [b, N] = p(null), h = z(async () => {
32
32
  if (m) {
33
33
  g(!0), N(null);
34
34
  try {
@@ -40,7 +40,7 @@ function H({
40
40
  }
41
41
  }
42
42
  }, [m]);
43
- U(() => {
43
+ P(() => {
44
44
  !d || e || x || h();
45
45
  }, [h, x, d, e]);
46
46
  const y = (e == null ? void 0 : e.categories.reduce((t, o) => t + o.tokens, 0)) ?? 0, w = Math.max(y, (e == null ? void 0 : e.context.used) ?? 0, 1), f = (e == null ? void 0 : e.context.percent) ?? ((e == null ? void 0 : e.context.used) != null && e.context.max ? e.context.used / e.context.max * 100 : null), a = e == null ? void 0 : e.details, i = a == null ? void 0 : a.messageBreakdown;
@@ -216,7 +216,7 @@ function H({
216
216
  /* @__PURE__ */ s(
217
217
  "span",
218
218
  {
219
- className: z(
219
+ className: U(
220
220
  "size-2 rounded-full",
221
221
  e.accuracy === "reported" ? "bg-emerald-500" : "bg-amber-500"
222
222
  )