@omg-dev/app 0.6.1 → 0.6.3

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,38 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { y as n } from "./embedded-PUsgcSTE.js";
2
+ import { z as n } from "./embedded-DPWsHnEw.js";
3
3
  const t = `# Changelog
4
4
 
5
5
  Recent product updates and deployment notes.
6
6
 
7
+ ## August 24, 2026 - Hosted onboarding answers reach analytics (v0.6.3)
8
+
9
+ - **The hosted onboarding survey now sends answers through the host.** The
10
+ embedded package previously expected an analytics account at package-build
11
+ time. Release builds do not own one, so the survey event code compiled to a
12
+ no-op. The host now supplies the analytics handler that already identifies
13
+ the signed-in user. Role, friction, daily-tool, AI-tool, completion, and skip
14
+ results can reach the hosted product's existing analytics account.
15
+
16
+ ## August 24, 2026 - The Computer on a phone, and Schedules as a real list (v0.6.2)
17
+
18
+ - **The Computer survives a restart.** Its lifecycle used to live only in the
19
+ server's memory, so a deploy or a crash left the desktop running with nobody
20
+ holding it: the screen stayed up while the tab went dead, and the next start
21
+ failed because the ports were still taken. A restarted server now reattaches
22
+ to a healthy desktop instead of orphaning it, so a deploy is invisible to
23
+ whoever is watching and to an agent mid-task.
24
+ - **Touch works properly.** Dragging moves the pointer by offset, the way a
25
+ trackpad does, instead of teleporting it to wherever your finger landed --
26
+ which on a touchscreen put the target under your own hand. A tap clicks where
27
+ the cursor is. There is a keyboard button, because a canvas cannot take focus
28
+ on iOS and there was previously no way to raise the soft keyboard at all.
29
+ - **Opening the Computer starts it.** The Start button is gone: opening the
30
+ page was already the decision, and the progress indicator covers the wait.
31
+ - **Schedules is a list you can work.** The enable switch moves to the right
32
+ edge where a thumb already is, the agent icon becomes a quick switch, each
33
+ schedule fits on one line, and the findings banner is gone -- findings have
34
+ their own surface, and a banner about them was the loudest thing on a page
35
+ meant to be a list of schedules.
7
36
  ## August 24, 2026 - Fix the release bundle (v0.6.1)
8
37
 
9
38
  - **The v0.6.0 release bundle failed to build.** The Computer pulls in noVNC,
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as s, 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 U } from "react";
3
3
  import { createPortal as re } from "react-dom";
4
4
  import { cn as y } from "cnfast";
5
- import { z as oe, a3 as W, a4 as se, X as I, a5 as ie, a6 as ae, L as H, a7 as le, x as de, C as ce, a8 as L } from "./embedded-PUsgcSTE.js";
5
+ import { f as oe, a3 as W, a4 as se, X as I, a5 as ie, a6 as ae, L as H, a7 as le, y as de, C as ce, a8 as L } from "./embedded-DPWsHnEw.js";
6
6
  import { c as me } from "./create-CBk9uwJH.js";
7
7
  /**
8
8
  * @license lucide-react v0.577.0 - ISC
@@ -81,7 +81,7 @@ function ke({ tree: n, onNavigate: o }) {
81
81
  );
82
82
  }
83
83
  function we({ sid: n, onClose: o }) {
84
- const [i, c] = m(null), [t, h] = m(null), [k, x] = m(null), [g, j] = m(null), [l, z] = m(null), [R, $] = m(null), [J, P] = m(!1), [u, w] = m(!1), [S, A] = m(""), [p, f] = m({ kind: "idle" }), [V, E] = m("tree"), M = ye(), b = T(null), X = v((r) => {
84
+ const [i, c] = m(null), [t, h] = m(null), [k, x] = m(null), [g, j] = m(null), [l, S] = m(null), [R, $] = m(null), [J, P] = m(!1), [u, w] = m(!1), [z, A] = m(""), [p, f] = m({ kind: "idle" }), [V, E] = m("tree"), M = ye(), b = T(null), X = v((r) => {
85
85
  b.current = r;
86
86
  }, []), F = T(null);
87
87
  C(() => {
@@ -101,15 +101,15 @@ function we({ sid: n, onClose: o }) {
101
101
  }, [o]);
102
102
  const D = v(
103
103
  (r) => {
104
- t && (E("file"), r !== F.current && (F.current = r, j(r), w(!1), f({ kind: "idle" }), A(""), b.current = null, z(null), $(null), P(!0), _(
104
+ t && (E("file"), r !== F.current && (F.current = r, j(r), w(!1), f({ kind: "idle" }), A(""), b.current = null, S(null), $(null), P(!0), _(
105
105
  `/api/sessions/${n}/file?path=${encodeURIComponent(`${t.root}/${r}`)}`
106
106
  ).then((d) => {
107
- z(d.file), b.current = d.file.contents;
107
+ S(d.file), b.current = d.file.contents;
108
108
  }).catch((d) => $(d instanceof Error ? d.message : String(d))).finally(() => P(!1))));
109
109
  },
110
110
  [n, t]
111
111
  ), O = v((r) => {
112
- c(r), F.current = null, j(null), z(null), w(!1), E("tree");
112
+ c(r), F.current = null, j(null), S(null), w(!1), E("tree");
113
113
  }, []), K = v(() => E("tree"), []), Y = q(
114
114
  () => l ? { ...l, contents: b.current ?? l.contents } : null,
115
115
  // eslint-disable-next-line react-hooks/exhaustive-deps -- `editing` is the
@@ -121,7 +121,7 @@ function we({ sid: n, onClose: o }) {
121
121
  displayPath: r,
122
122
  original: l.contents,
123
123
  edited: b.current,
124
- note: S
124
+ note: z
125
125
  });
126
126
  if (!d.ok) {
127
127
  f({
@@ -150,7 +150,7 @@ function we({ sid: n, onClose: o }) {
150
150
  } catch (a) {
151
151
  f({ kind: "error", message: a instanceof Error ? a.message : String(a) });
152
152
  }
153
- }, [n, l, g, S]), Q = !!g && V === "file", B = p.kind === "sent" || p.kind === "error" ? "banner" : u ? "editor" : "content", Z = /* @__PURE__ */ e(
153
+ }, [n, l, g, z]), Q = !!g && V === "file", B = p.kind === "sent" || p.kind === "error" ? "banner" : u ? "editor" : "content", Z = /* @__PURE__ */ e(
154
154
  "div",
155
155
  {
156
156
  role: "dialog",
@@ -289,7 +289,7 @@ function we({ sid: n, onClose: o }) {
289
289
  /* @__PURE__ */ e(
290
290
  "textarea",
291
291
  {
292
- value: S,
292
+ value: z,
293
293
  onChange: (r) => A(r.target.value),
294
294
  rows: 2,
295
295
  placeholder: "Optional: anything else the agent should do alongside this edit",