react-semaphor 0.1.445 → 0.1.447

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 (91) hide show
  1. package/dist/analytics-protocol/index.js +8 -8
  2. package/dist/appearance/index.cjs +1 -1
  3. package/dist/appearance/index.js +1 -1
  4. package/dist/brand-studio/index.cjs +2 -2
  5. package/dist/brand-studio/index.js +9 -9
  6. package/dist/briefings/index.js +4 -4
  7. package/dist/chunks/{analyze-result-contract-DUv3QnMl.js → analyze-result-contract-T-0Ntzys.js} +1 -1
  8. package/dist/chunks/{braces-BdbUk_r9.js → braces-8TRlDwDw.js} +1 -1
  9. package/dist/chunks/{braces-BKimshER.cjs → braces-v55uLCAK.cjs} +1 -1
  10. package/dist/chunks/{catalog-field-grounding-AOGwWu0K.js → catalog-field-grounding-S2jKwKGD.js} +9 -9
  11. package/dist/chunks/{common-types-DFsDdpH7.js → common-types-B7Jk3Rtj.js} +5 -5
  12. package/dist/chunks/{dashboard-briefing-launcher-2SLNOaTg.js → dashboard-briefing-launcher-CDjcivK2.js} +192 -191
  13. package/dist/chunks/dashboard-briefing-launcher-D44Au-Qp.cjs +26 -0
  14. package/dist/chunks/dashboard-controls-DH3J4L1D.cjs +52 -0
  15. package/dist/chunks/dashboard-controls-tHwb3g3W.js +2409 -0
  16. package/dist/chunks/{dashboard-date-comparison-definition-BaYxjLi5.js → dashboard-date-comparison-definition-Ba-clViK.js} +1 -1
  17. package/dist/chunks/{dashboard-input-contract-BFpERluO.js → dashboard-input-contract-DSt8dGzP.js} +4 -4
  18. package/dist/chunks/{dashboard-json-BZwq3EcS.js → dashboard-json-Bihrrl5_.js} +11 -11
  19. package/dist/chunks/dashboard-json-VOXcUBqx.cjs +1 -0
  20. package/dist/chunks/edit-dashboard-visual-8XtuSSKG.cjs +177 -0
  21. package/dist/chunks/{edit-dashboard-visual-njLPYip3.js → edit-dashboard-visual-Dsc9mZnc.js} +7113 -7097
  22. package/dist/chunks/{editor-action-buttons-CBVMFipA.cjs → editor-action-buttons-BFqvBlLw.cjs} +1 -1
  23. package/dist/chunks/{editor-action-buttons-BhLX5Q6m.js → editor-action-buttons-BbVgPOda.js} +41 -41
  24. package/dist/chunks/{format-types-CZH5w1lo.js → format-types-DZGgYj39.js} +5 -5
  25. package/dist/chunks/index-BSTyv45D.cjs +1395 -0
  26. package/dist/chunks/{index-If0wlXGi.js → index-CJdxSyQq.js} +308 -308
  27. package/dist/chunks/{index-Dpm_VET4.cjs → index-DRlMUglg.cjs} +2 -2
  28. package/dist/chunks/{dashboard-u61yfU6u.js → index-srGACKDr.js} +148223 -151540
  29. package/dist/chunks/{layout-grid-D5tYJg1-.js → layout-grid-CiubineE.js} +1 -1
  30. package/dist/chunks/{layout-grid-3-HWzEwU.cjs → layout-grid-xm8pqtx0.cjs} +1 -1
  31. package/dist/chunks/{metric-comparison-BJ_Qu1ZF.js → metric-comparison-97zHGEx5.js} +7 -7
  32. package/dist/chunks/mouse-pointer-2-BZvGk45-.js +19 -0
  33. package/dist/chunks/mouse-pointer-2-DX4A_XZw.cjs +6 -0
  34. package/dist/chunks/{palette-DW_l7Jr0.cjs → palette-BN-jYtaK.cjs} +1 -1
  35. package/dist/chunks/{palette-jqaAcwiQ.js → palette-Cp1hqZtm.js} +1 -1
  36. package/dist/chunks/{pivot-result-identity-B6QCWOSi.js → pivot-result-identity-CwJWpKI7.js} +3 -3
  37. package/dist/chunks/{pivot-result-lifecycle-BM3Pl-D1.js → pivot-result-lifecycle-BBabQ_da.js} +27 -27
  38. package/dist/chunks/{presentation-execution-CGlb7YZ6.js → presentation-execution-BLfPTGX_.js} +10 -10
  39. package/dist/chunks/{report-preferences-dialog-D_NJu2wU.js → report-preferences-dialog-DZez53xw.js} +6 -6
  40. package/dist/chunks/report-preferences-dialog-TYTIHpHi.cjs +1 -0
  41. package/dist/chunks/{report-runtime-context-Qzn11HQe.js → report-runtime-context-bCy3CVzK.js} +1 -1
  42. package/dist/chunks/{save-4_uMnE6s.cjs → save-3dYRmehL.cjs} +1 -1
  43. package/dist/chunks/{save-HCJjjzdX.js → save-DgMfP0j8.js} +1 -1
  44. package/dist/chunks/{search-DHZCro8B.js → search-BHsQIWBV.js} +1 -1
  45. package/dist/chunks/{search-6ZmeMq55.cjs → search-BqqhaMx9.cjs} +1 -1
  46. package/dist/chunks/{code-editor-B4gTfvc5.js → switch-Bz2uj3q0.js} +9405 -9330
  47. package/dist/chunks/switch-rbwGjmad.cjs +138 -0
  48. package/dist/chunks/{temporal-bucket-authoring-BUZMuVca.js → temporal-bucket-authoring-CgOuakGW.js} +2 -2
  49. package/dist/chunks/{temporal-bucket-contract-B2bJ1oe4.js → temporal-bucket-contract-_F6vNhhH.js} +3 -3
  50. package/dist/chunks/{temporal-result-owner-Cb27SSG9.js → temporal-result-owner-6peubmhU.js} +3 -3
  51. package/dist/chunks/{token-types-DLo91nOf.js → token-types-BHR58aTy.js} +1 -1
  52. package/dist/chunks/{update-policy-eg59mQqv.js → update-policy-g0rCQ9BM.js} +9 -9
  53. package/dist/chunks/{validators-wZ2WlNHc.js → validators-Cs74WVie.js} +46 -46
  54. package/dist/chunks/x-B6ghREd2.cjs +31 -0
  55. package/dist/chunks/{index-xHCrHprY.js → x-CXDkqdur.js} +59 -59
  56. package/dist/dashboard/index.cjs +1 -1
  57. package/dist/dashboard/index.js +2 -2
  58. package/dist/dashboard-authoring/index.js +6 -6
  59. package/dist/data-app-builder/index.cjs +13 -18
  60. package/dist/data-app-builder/index.js +92 -106
  61. package/dist/data-app-codegen/index.js +2 -2
  62. package/dist/data-app-codegen-node/index.js +3 -3
  63. package/dist/data-app-sdk/index.cjs +1 -1
  64. package/dist/data-app-sdk/index.js +6 -6
  65. package/dist/data-app-sdk-adapters/index.js +2 -2
  66. package/dist/data-app-sdk-validation/index.js +4 -4
  67. package/dist/format-utils/index.js +8 -8
  68. package/dist/index.cjs +1 -1
  69. package/dist/index.js +16 -16
  70. package/dist/report-runtime-context/index.js +2 -2
  71. package/dist/style.css +1 -1
  72. package/dist/surfboard/index.cjs +1 -1
  73. package/dist/surfboard/index.js +3 -3
  74. package/dist/types/brand-studio.d.ts +2 -2
  75. package/dist/types/dashboard.d.ts +3 -2
  76. package/dist/types/data-app-builder.d.ts +2 -2
  77. package/dist/types/data-app-sdk.d.ts +1 -1
  78. package/dist/types/index.cjs +1 -1
  79. package/dist/types/index.js +7 -7
  80. package/dist/types/main.d.ts +27 -25
  81. package/dist/types/surfboard.d.ts +3 -2
  82. package/package.json +1 -2
  83. package/dist/chunks/code-editor-BYVorgOf.cjs +0 -138
  84. package/dist/chunks/dashboard-CAiwJW3L.cjs +0 -1397
  85. package/dist/chunks/dashboard-briefing-launcher-CHwjpUYz.cjs +0 -26
  86. package/dist/chunks/dashboard-controls-BfL14aqO.js +0 -2238
  87. package/dist/chunks/dashboard-controls-BgGTg4yw.cjs +0 -36
  88. package/dist/chunks/dashboard-json-BOv8tCa9.cjs +0 -1
  89. package/dist/chunks/edit-dashboard-visual-BdVCH0DJ.cjs +0 -182
  90. package/dist/chunks/index-jSrCwPQz.cjs +0 -31
  91. package/dist/chunks/report-preferences-dialog-r8QzOSFb.cjs +0 -1
@@ -1,20 +1,21 @@
1
1
  import { jsx as r, jsxs as c, Fragment as re } from "react/jsx-runtime";
2
2
  import * as Zn from "react";
3
- import { useContext as qn, useState as x, useRef as oe, useMemo as ze, useEffect as W, useCallback as Ot } from "react";
3
+ import { useContext as qn, useState as x, useRef as oe, useMemo as je, useEffect as W, useCallback as Ot } from "react";
4
4
  import * as Xn from "react-dom/client";
5
- import { aM as ea, aN as ta, aO as Ir, aP as jr, aQ as zr, aR as ra, aS as Wr, aT as Hr, aU as Jr, aV as Vr, aW as _r, aX as Ur, aY as Gr, aZ as na, a_ as aa, a$ as oa, b0 as Ht, b1 as on, R as Kr, b2 as sa, b3 as Vt, b4 as sn, b5 as ia, b6 as la } from "../chunks/dashboard-u61yfU6u.js";
6
- import { B as H, P as it, a as lt, b as dt, _ as da, $ as ca, a0 as ua, a1 as pa, a2 as ha, L as me, R as ma, d as _t } from "../chunks/code-editor-B4gTfvc5.js";
5
+ import { aM as ea, aN as ta, aO as Ir, aP as jr, aQ as zr, aR as ra, aS as Wr, aT as Hr, aU as Jr, aV as Vr, aW as _r, aX as Ur, aY as Gr, aZ as na, a_ as aa, a$ as oa, b0 as Ht, b1 as on, R as Kr, b2 as sa, b3 as Vt, b4 as sn, b5 as ia, b6 as la } from "../chunks/index-srGACKDr.js";
6
+ import { B as H, P as it, a as lt, b as dt, _ as da, $ as ca, a0 as ua, a1 as pa, a2 as ha, L as me, R as ma, d as _t } from "../chunks/switch-Bz2uj3q0.js";
7
7
  import { loadSemaphorBrowserRuntime as ot } from "../data-app-builder-browser-runtime/index.js";
8
- import { c as $e, X as Je } from "../chunks/index-xHCrHprY.js";
9
- import { S as fa } from "../chunks/save-HCJjjzdX.js";
10
- import { C as Ut, S as ga } from "../chunks/search-DHZCro8B.js";
8
+ import { c as Ve, X as He } from "../chunks/x-CXDkqdur.js";
9
+ import { S as fa } from "../chunks/save-DgMfP0j8.js";
10
+ import { M as ga } from "../chunks/mouse-pointer-2-BZvGk45-.js";
11
+ import { C as Ut, S as ba } from "../chunks/search-BHsQIWBV.js";
11
12
  /**
12
13
  * @license lucide-react v0.453.0 - ISC
13
14
  *
14
15
  * This source code is licensed under the ISC license.
15
16
  * See the LICENSE file in the root directory of this source tree.
16
17
  */
17
- const ba = $e("CloudUpload", [
18
+ const xa = Ve("CloudUpload", [
18
19
  ["path", { d: "M12 13v8", key: "1l5pq0" }],
19
20
  ["path", { d: "M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242", key: "1pljnt" }],
20
21
  ["path", { d: "m8 17 4-4 4 4", key: "1quai1" }]
@@ -25,7 +26,7 @@ const ba = $e("CloudUpload", [
25
26
  * This source code is licensed under the ISC license.
26
27
  * See the LICENSE file in the root directory of this source tree.
27
28
  */
28
- const xa = $e("Folder", [
29
+ const wa = Ve("Folder", [
29
30
  [
30
31
  "path",
31
32
  {
@@ -40,7 +41,7 @@ const xa = $e("Folder", [
40
41
  * This source code is licensed under the ISC license.
41
42
  * See the LICENSE file in the root directory of this source tree.
42
43
  */
43
- const wa = $e("ImagePlus", [
44
+ const ya = Ve("ImagePlus", [
44
45
  ["path", { d: "M16 5h6", key: "1vod17" }],
45
46
  ["path", { d: "M19 2v6", key: "4bpg5p" }],
46
47
  ["path", { d: "M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5", key: "1ue2ih" }],
@@ -53,22 +54,7 @@ const wa = $e("ImagePlus", [
53
54
  * This source code is licensed under the ISC license.
54
55
  * See the LICENSE file in the root directory of this source tree.
55
56
  */
56
- const ya = $e("MousePointer2", [
57
- [
58
- "path",
59
- {
60
- d: "M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",
61
- key: "edeuup"
62
- }
63
- ]
64
- ]);
65
- /**
66
- * @license lucide-react v0.453.0 - ISC
67
- *
68
- * This source code is licensed under the ISC license.
69
- * See the LICENSE file in the root directory of this source tree.
70
- */
71
- const va = $e("PanelLeftClose", [
57
+ const va = Ve("PanelLeftClose", [
72
58
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
73
59
  ["path", { d: "M9 3v18", key: "fh3hqa" }],
74
60
  ["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
@@ -79,7 +65,7 @@ const va = $e("PanelLeftClose", [
79
65
  * This source code is licensed under the ISC license.
80
66
  * See the LICENSE file in the root directory of this source tree.
81
67
  */
82
- const ka = $e("PanelLeft", [
68
+ const ka = Ve("PanelLeft", [
83
69
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
84
70
  ["path", { d: "M9 3v18", key: "fh3hqa" }]
85
71
  ]), Na = [
@@ -161,7 +147,7 @@ const ka = $e("PanelLeft", [
161
147
  reasoningEffort: "low"
162
148
  },
163
149
  { id: "gpt-4.1-mini", label: "GPT-4.1 mini", model: "gpt-4.1-mini" }
164
- ], Qr = "semaphor-data-app-builder-transcript", Yr = "semaphor-data-app-builder-preview-url", Zr = "semaphor-data-app-builder-bridge-url", qr = "semaphor-data-app-builder-project-dir", Lt = "http://semaphor-data-app.localhost:8088", Xr = "http://localhost:8787", It = "/Users/rohit/code/sandbox/semaphor-data-apps/data-app", We = 3, Aa = 18, jt = 12;
150
+ ], Qr = "semaphor-data-app-builder-transcript", Yr = "semaphor-data-app-builder-preview-url", Zr = "semaphor-data-app-builder-bridge-url", qr = "semaphor-data-app-builder-project-dir", Lt = "http://semaphor-data-app.localhost:8088", Xr = "http://localhost:8787", It = "/Users/rohit/code/sandbox/semaphor-data-apps/data-app", ze = 3, Aa = 18, jt = 12;
165
151
  function he(e, a) {
166
152
  return `${e}:${a}`;
167
153
  }
@@ -198,9 +184,9 @@ function Re(e) {
198
184
  function Be(e) {
199
185
  return e ? "omit" : "include";
200
186
  }
201
- function He(e) {
187
+ function We(e) {
202
188
  if (Array.isArray(e))
203
- return e.map(He);
189
+ return e.map(We);
204
190
  if (!e || typeof e != "object")
205
191
  return e;
206
192
  const a = {};
@@ -214,11 +200,11 @@ function He(e) {
214
200
  contentsBase64: p,
215
201
  ...h
216
202
  } = l;
217
- return He(h);
203
+ return We(h);
218
204
  });
219
205
  return;
220
206
  }
221
- a[s] = He(d);
207
+ a[s] = We(d);
222
208
  }
223
209
  }), a;
224
210
  }
@@ -380,7 +366,7 @@ async function Fa(e, {
380
366
  throw new Error(
381
367
  "Data App publish requires a saved draft and matching source revision."
382
368
  );
383
- const p = He(e.validationStatus);
369
+ const p = We(e.validationStatus);
384
370
  l == null || l({
385
371
  phase: "start",
386
372
  label: "Starting publish session",
@@ -417,7 +403,7 @@ async function Fa(e, {
417
403
  const b = await e.buildArtifacts({
418
404
  signal: d,
419
405
  onProgress: l
420
- }), E = He(
406
+ }), E = We(
421
407
  b.validationStatus
422
408
  );
423
409
  for (const [F, z] of b.assets.entries()) {
@@ -697,7 +683,7 @@ function Wa(e) {
697
683
  `).slice(0, 2e3)
698
684
  };
699
685
  }
700
- function Ve(e) {
686
+ function Je(e) {
701
687
  var h;
702
688
  const a = Array.isArray(e == null ? void 0 : e.sources) ? e.sources : [], s = Array.isArray(e == null ? void 0 : e.inputs) ? e.inputs : [], d = Array.isArray(e == null ? void 0 : e.views) ? e.views : [], l = Array.isArray(e == null ? void 0 : e.interactions) ? e.interactions : [], p = Array.isArray((h = e == null ? void 0 : e.layout) == null ? void 0 : h.sections) ? e.layout.sections : [];
703
689
  return !!(e && (a.length > 0 || s.length > 0 || d.length > 0 || l.length > 0 || p.length > 0));
@@ -769,7 +755,7 @@ function st(e, a) {
769
755
  return Array.from(s.values());
770
756
  }
771
757
  function Ga(e, a) {
772
- return !a || !Ve(a) ? e : !e || !Ve(e) ? a : {
758
+ return !a || !Je(a) ? e : !e || !Je(e) ? a : {
773
759
  schemaVersion: "data-app-intent/v1",
774
760
  app: {
775
761
  title: a.app.title || e.app.title,
@@ -797,8 +783,8 @@ function an(e, a) {
797
783
  }
798
784
  ), p = (S = e.slice().reverse().find(
799
785
  (F) => F.type === "assistant" && !!F.operation
800
- )) == null ? void 0 : S.operation, h = (Ve(a) ? a : void 0) || ((f = e.slice().reverse().find(
801
- (F) => F.type === "assistant" && Ve(F.intentManifest)
786
+ )) == null ? void 0 : S.operation, h = (Je(a) ? a : void 0) || ((f = e.slice().reverse().find(
787
+ (F) => F.type === "assistant" && Je(F.intentManifest)
802
788
  )) == null ? void 0 : f.intentManifest), g = [
803
789
  (R = l == null ? void 0 : l.attachments) != null && R.length ? [
804
790
  "Most recent selected/attached target:",
@@ -830,7 +816,7 @@ function Ka({
830
816
  selectedPath: a,
831
817
  onSelect: s
832
818
  }) {
833
- const d = ze(() => Oa(e), [e]);
819
+ const d = je(() => Oa(e), [e]);
834
820
  return d.length === 0 ? /* @__PURE__ */ r("div", { className: "rounded-[5px] border border-border bg-background p-2 text-[11px] text-muted-foreground", children: "No browser files loaded yet." }) : /* @__PURE__ */ r("div", { className: "space-y-0.5", children: d.map((l) => /* @__PURE__ */ r(
835
821
  cn,
836
822
  {
@@ -861,7 +847,7 @@ function cn({
861
847
  children: [
862
848
  l ? /* @__PURE__ */ c(re, { children: [
863
849
  /* @__PURE__ */ r(Ut, { className: "h-3 w-3 rotate-90 text-muted-foreground" }),
864
- /* @__PURE__ */ r(xa, { className: "h-3.5 w-3.5 text-muted-foreground" })
850
+ /* @__PURE__ */ r(wa, { className: "h-3.5 w-3.5 text-muted-foreground" })
865
851
  ] }) : /* @__PURE__ */ c(re, { children: [
866
852
  /* @__PURE__ */ r("span", { className: "h-3 w-3" }),
867
853
  /* @__PURE__ */ r(Vt, { className: "h-3.5 w-3.5 text-muted-foreground" })
@@ -959,7 +945,7 @@ function Ya({
959
945
  ] })
960
946
  ] });
961
947
  }
962
- function ko({
948
+ function No({
963
949
  projectId: e,
964
950
  projectName: a,
965
951
  dataAppId: s,
@@ -998,21 +984,21 @@ function Za({
998
984
  var Or, Lr;
999
985
  const [f, R] = x(Lt), [v, B] = x(Xr), [b, E] = x(It), [j, L] = x(!1), [F, z] = x(Lt), [ve, Z] = x(0), [A] = x(p), [_e, ct] = x(
1000
986
  l || ""
1001
- ), [ut, Ue] = x([]), [De, Pe] = x([]), [q, ge] = x([]), [Qt, Ge] = x(null), [X, Ke] = x(!1), [ee, Yt] = x(!1), [Fe, un] = x(!0), [pn, se] = x("idle"), [hn, ie] = x(null), [Zt, qt] = x(null), [Xt, Qe] = x(() => Date.now()), [Me, er] = x(null), [pt, mn] = x("gpt-5.5-low"), Y = oe(null), G = oe(null), ht = oe([]), mt = oe(null), ft = oe(null), tr = oe(null), [be, ke] = x(!1), [rr, le] = x(null), [nr, gt] = x(!1), [ar, or] = x(!1), [Te, bt] = x("idle"), [sr, ir] = x(
987
+ ), [ut, Ue] = x([]), [$e, De] = x([]), [q, ge] = x([]), [Qt, Ge] = x(null), [X, Ke] = x(!1), [ee, Yt] = x(!1), [Pe, un] = x(!0), [pn, se] = x("idle"), [hn, ie] = x(null), [Zt, qt] = x(null), [Xt, Qe] = x(() => Date.now()), [Fe, er] = x(null), [pt, mn] = x("gpt-5.5-low"), Y = oe(null), G = oe(null), ht = oe([]), mt = oe(null), ft = oe(null), tr = oe(null), [be, ke] = x(!1), [rr, le] = x(null), [nr, gt] = x(!1), [ar, or] = x(!1), [Me, bt] = x("idle"), [sr, ir] = x(
1002
988
  null
1003
989
  ), [fn, lr] = x(""), [gn, dr] = x([]), [xt, cr] = x([]), [wt, ur] = x(null), [pr, bn] = x([]), [xn, wn] = x(null), [yt, hr] = x(null), [vt, mr] = x(null), [xe, Ye] = x(
1004
990
  d || null
1005
- ), [Ze, kt] = x("idle"), [fr, Nt] = x("idle"), [gr, br] = x(null), [xr, wr] = x(null), [St, Ne] = x(null), [de, J] = x(null), [yr, qe] = x(null), [Xe, At] = x(null), [Ct, et] = x(!1), [Rt, vr] = x(""), [kr, Bt] = x(null), [Nr, Sr] = x(!1), Ee = oe(
991
+ ), [Ze, kt] = x("idle"), [fr, Nt] = x("idle"), [gr, br] = x(null), [xr, wr] = x(null), [St, Ne] = x(null), [de, J] = x(null), [yr, qe] = x(null), [Xe, At] = x(null), [Ct, et] = x(!1), [Rt, vr] = x(""), [kr, Bt] = x(null), [Nr, Sr] = x(!1), Te = oe(
1006
992
  null
1007
- ), $t = oe(null), Se = oe(null), Ar = (e == null ? void 0 : e.readStatus) || Ra, tt = (e == null ? void 0 : e.runTurn) || Ba, Dt = (e == null ? void 0 : e.saveDraft) || Da, yn = (e == null ? void 0 : e.loadApp) || Pa, Pt = (e == null ? void 0 : e.publish) || Fa, V = ze(() => Ca(pt), [pt]), vn = ze(
993
+ ), $t = oe(null), Se = oe(null), Ar = (e == null ? void 0 : e.readStatus) || Ra, tt = (e == null ? void 0 : e.runTurn) || Ba, Dt = (e == null ? void 0 : e.saveDraft) || Da, yn = (e == null ? void 0 : e.loadApp) || Pa, Pt = (e == null ? void 0 : e.publish) || Fa, V = je(() => Ca(pt), [pt]), vn = je(
1008
994
  () => q.find(
1009
995
  (t) => t.type === "run" && t.id === Qt
1010
996
  ),
1011
997
  [Qt, q]
1012
- ), Ft = ze(
998
+ ), Ft = je(
1013
999
  () => [...q].reverse().find((t) => t.type === "run"),
1014
1000
  [q]
1015
- ), Mt = ze(() => {
1001
+ ), Mt = je(() => {
1016
1002
  const t = F.includes("?") ? "&" : "?";
1017
1003
  return `${F}${t}dataAppBuilderRefresh=${ve}`;
1018
1004
  }, [F, ve]);
@@ -1181,10 +1167,10 @@ function Za({
1181
1167
  }, [be]), W(() => {
1182
1168
  ke(!1), gt(!1), le(null);
1183
1169
  }, [v, b, A]), W(() => {
1184
- if (X || ee || De.length === 0) return;
1185
- const [t, ...n] = De;
1186
- Pe(n), Br(t);
1187
- }, [X, ee, De]), W(() => {
1170
+ if (X || ee || $e.length === 0) return;
1171
+ const [t, ...n] = $e;
1172
+ De(n), Br(t);
1173
+ }, [X, ee, $e]), W(() => {
1188
1174
  let t = !1;
1189
1175
  const n = new AbortController();
1190
1176
  async function i() {
@@ -1213,7 +1199,7 @@ function Za({
1213
1199
  lr(n.html), dr(n.diagnostics), cr(n.warnings || []), ur(n.cssMode || null), Z((i) => i + 1);
1214
1200
  },
1215
1201
  []
1216
- ), Oe = Ot(
1202
+ ), Ee = Ot(
1217
1203
  (t = G.current, n = Se.current) => {
1218
1204
  var m;
1219
1205
  if (!t) return;
@@ -1235,7 +1221,7 @@ function Za({
1235
1221
  try {
1236
1222
  const i = await ot();
1237
1223
  if (t) return;
1238
- G.current = i, bt("ready"), await rt(i), Oe(i);
1224
+ G.current = i, bt("ready"), await rt(i), Ee(i);
1239
1225
  } catch (i) {
1240
1226
  if (t) return;
1241
1227
  bt("failed"), ir(
@@ -1246,7 +1232,7 @@ function Za({
1246
1232
  return n(), () => {
1247
1233
  t = !0;
1248
1234
  };
1249
- }, [A, Oe, rt]);
1235
+ }, [A, Ee, rt]);
1250
1236
  function kn(t) {
1251
1237
  const n = G.current;
1252
1238
  hr(t), Se.current = t, mr(
@@ -1255,7 +1241,7 @@ function Za({
1255
1241
  }
1256
1242
  async function Cr() {
1257
1243
  const t = G.current;
1258
- !t || X || (t.resetBrowserSandbox(), await rt(t), Oe(t), M(
1244
+ !t || X || (t.resetBrowserSandbox(), await rt(t), Ee(t), M(
1259
1245
  "Browser Sandbox reset to the approved starter template. Existing generated browser files were replaced in local browser storage.",
1260
1246
  "guidance"
1261
1247
  ));
@@ -1348,7 +1334,7 @@ function Za({
1348
1334
  );
1349
1335
  }
1350
1336
  function M(t, n = "default", i) {
1351
- const o = Ve(
1337
+ const o = Je(
1352
1338
  i == null ? void 0 : i.intentManifest
1353
1339
  ) ? i == null ? void 0 : i.intentManifest : void 0;
1354
1340
  ge((u) => [
@@ -1521,15 +1507,15 @@ function Za({
1521
1507
  };
1522
1508
  }
1523
1509
  function Tn(t, n) {
1524
- Pe(
1510
+ De(
1525
1511
  (i) => i.map((o) => o.id === t ? { ...o, prompt: n } : o)
1526
1512
  );
1527
1513
  }
1528
1514
  function En(t) {
1529
- Pe((n) => n.filter((i) => i.id !== t));
1515
+ De((n) => n.filter((i) => i.id !== t));
1530
1516
  }
1531
1517
  function On(t, n) {
1532
- Pe(
1518
+ De(
1533
1519
  (i) => i.map(
1534
1520
  (o) => o.id === t ? {
1535
1521
  ...o,
@@ -1598,10 +1584,10 @@ function Za({
1598
1584
  (ne, te) => ne + te.contents.length,
1599
1585
  0
1600
1586
  );
1601
- let Ce = ce, Le = [], ue = i, Q = null;
1587
+ let Ce = ce, Oe = [], ue = i, Q = null;
1602
1588
  const pe = [];
1603
- for (let ne = 0; ne < We; ne += 1) {
1604
- const te = Le.length > 0 || ne > 0, Ie = te ? `repair-${ne + 1}` : "initial";
1589
+ for (let ne = 0; ne < ze; ne += 1) {
1590
+ const te = Oe.length > 0 || ne > 0, Le = te ? `repair-${ne + 1}` : "initial";
1605
1591
  K(n, te ? "repairing" : "generating");
1606
1592
  const _ = ue || (await tt(
1607
1593
  {
@@ -1609,7 +1595,7 @@ function Za({
1609
1595
  message: t,
1610
1596
  currentFiles: Ce,
1611
1597
  workspaceContext: I,
1612
- diagnostics: Le,
1598
+ diagnostics: Oe,
1613
1599
  repair: te,
1614
1600
  generationModel: V.model,
1615
1601
  generationReasoningEffort: V.reasoningEffort,
@@ -1623,7 +1609,7 @@ function Za({
1623
1609
  K(n, "writing");
1624
1610
  const we = N.applyBrowserSandboxRevision({
1625
1611
  ..._,
1626
- attemptLabel: Ie
1612
+ attemptLabel: Le
1627
1613
  });
1628
1614
  pe.push(...we.attempts || []), K(n, "typechecking");
1629
1615
  let D = {
@@ -1645,7 +1631,7 @@ function Za({
1645
1631
  };
1646
1632
  if (we.ok) {
1647
1633
  const P = await N.compileBrowserSandboxPreviewHtml();
1648
- if (lr(P.html), dr(P.diagnostics), cr(P.warnings || []), ur(P.cssMode || null), Z((U) => U + 1), Oe(N), P.diagnostics.length > 0) {
1634
+ if (lr(P.html), dr(P.diagnostics), cr(P.warnings || []), ur(P.cssMode || null), Z((U) => U + 1), Ee(N), P.diagnostics.length > 0) {
1649
1635
  const U = {
1650
1636
  command: "browser sandbox preview compile",
1651
1637
  durationMs: 0,
@@ -1662,20 +1648,20 @@ function Za({
1662
1648
  command: U,
1663
1649
  attempts: [
1664
1650
  ...pe,
1665
- { label: Ie, ok: !1, command: U }
1651
+ { label: Le, ok: !1, command: U }
1666
1652
  ],
1667
1653
  error: "Generated files failed Browser Sandbox preview compile."
1668
1654
  };
1669
1655
  }
1670
1656
  }
1671
- if (Q = D, D.ok || ne === We - 1)
1657
+ if (Q = D, D.ok || ne === ze - 1)
1672
1658
  break;
1673
1659
  const T = (y = D.changedFiles) != null && y.length ? D.changedFiles : _.files.map(
1674
1660
  (P) => P.path
1675
1661
  );
1676
1662
  Ce = N.readBrowserSandboxFiles(
1677
1663
  Array.from(/* @__PURE__ */ new Set([...$, ...T]))
1678
- ), Le = [zt(D)];
1664
+ ), Oe = [zt(D)];
1679
1665
  }
1680
1666
  if (!Q)
1681
1667
  throw new Error("The browser runtime loop ended without a validation result.");
@@ -1785,7 +1771,7 @@ function Za({
1785
1771
  P.error || "Bridge could not apply generated files."
1786
1772
  );
1787
1773
  return P;
1788
- }, Le = async () => {
1774
+ }, Oe = async () => {
1789
1775
  const D = await fetch(`${N}/validate-typecheck`, {
1790
1776
  method: "POST",
1791
1777
  signal: o.signal,
@@ -1809,18 +1795,18 @@ function Za({
1809
1795
  );
1810
1796
  let te = [];
1811
1797
  if (Ea(t)) {
1812
- const D = await Le();
1798
+ const D = await Oe();
1813
1799
  D.ok || (te = [
1814
1800
  zt(D)
1815
1801
  ]);
1816
1802
  }
1817
- let Ie = pe, _ = null;
1803
+ let Le = pe, _ = null;
1818
1804
  const we = [];
1819
- for (let D = 0; D < We; D += 1) {
1805
+ for (let D = 0; D < ze; D += 1) {
1820
1806
  const T = te.length > 0 || D > 0, P = T ? `repair-${D + 1}` : "initial";
1821
1807
  K(n, T ? "repairing" : "generating");
1822
1808
  const U = await Ae({
1823
- currentFiles: Ie,
1809
+ currentFiles: Le,
1824
1810
  workspaceContext: ue,
1825
1811
  diagnostics: te,
1826
1812
  repair: T
@@ -1830,7 +1816,7 @@ function Za({
1830
1816
  ...U,
1831
1817
  attemptLabel: P
1832
1818
  });
1833
- if (z(f), Z((je) => je + 1), we.push(...ae.attempts || []), _ = {
1819
+ if (z(f), Z((Ie) => Ie + 1), we.push(...ae.attempts || []), _ = {
1834
1820
  ...ae,
1835
1821
  attempts: [...we],
1836
1822
  filePlan: U.plan,
@@ -1839,16 +1825,16 @@ function Za({
1839
1825
  contextChars: ne,
1840
1826
  generatedFileCount: U.files.length,
1841
1827
  generatedChars: U.files.reduce(
1842
- (je, Yn) => je + Yn.contents.length,
1828
+ (Ie, Yn) => Ie + Yn.contents.length,
1843
1829
  0
1844
1830
  ),
1845
1831
  repairAttempts: we.filter(
1846
- (je) => je.label.startsWith("repair")
1832
+ (Ie) => Ie.label.startsWith("repair")
1847
1833
  ).length
1848
1834
  }
1849
- }, K(n, "typechecking"), ae.ok || D === We - 1)
1835
+ }, K(n, "typechecking"), ae.ok || D === ze - 1)
1850
1836
  break;
1851
- Ie = (((y = ae.changedFiles) == null ? void 0 : y.length) || 0) > 0 ? await I(
1837
+ Le = (((y = ae.changedFiles) == null ? void 0 : y.length) || 0) > 0 ? await I(
1852
1838
  Q = Array.from(
1853
1839
  /* @__PURE__ */ new Set([
1854
1840
  ...Q,
@@ -2149,8 +2135,8 @@ function Za({
2149
2135
  }
2150
2136
  }
2151
2137
  async function Er() {
2152
- if (Ee.current)
2153
- return Ee.current;
2138
+ if (Te.current)
2139
+ return Te.current;
2154
2140
  if (!Dt)
2155
2141
  return M(
2156
2142
  "Save draft is not configured in this host yet.",
@@ -2206,10 +2192,10 @@ function Za({
2206
2192
  detail: u
2207
2193
  }), M(`Save draft failed: ${u}`, "blocked"), null;
2208
2194
  } finally {
2209
- Ee.current = null;
2195
+ Te.current = null;
2210
2196
  }
2211
2197
  })();
2212
- return Ee.current = n, n;
2198
+ return Te.current = n, n;
2213
2199
  }
2214
2200
  async function Un(t) {
2215
2201
  var u;
@@ -2236,7 +2222,7 @@ function Za({
2236
2222
  );
2237
2223
  return;
2238
2224
  }
2239
- if (Ze === "saving" && !Ee.current) {
2225
+ if (Ze === "saving" && !Te.current) {
2240
2226
  M("Save draft is already in progress.", "blocked");
2241
2227
  return;
2242
2228
  }
@@ -2473,7 +2459,7 @@ function Za({
2473
2459
  createdAt: i
2474
2460
  };
2475
2461
  if (ct(""), Ue([]), X || ee) {
2476
- Pe((m) => [...m, u]);
2462
+ De((m) => [...m, u]);
2477
2463
  return;
2478
2464
  }
2479
2465
  Br(u);
@@ -2485,7 +2471,7 @@ function Za({
2485
2471
  className: "h-full min-h-0 flex-1",
2486
2472
  direction: "horizontal",
2487
2473
  children: [
2488
- Fe ? /* @__PURE__ */ c(re, { children: [
2474
+ Pe ? /* @__PURE__ */ c(re, { children: [
2489
2475
  /* @__PURE__ */ r(
2490
2476
  Ir,
2491
2477
  {
@@ -2581,10 +2567,10 @@ function Za({
2581
2567
  onSubmit: Qn,
2582
2568
  className: "border-t border-border p-3",
2583
2569
  children: [
2584
- De.length > 0 ? /* @__PURE__ */ r(
2570
+ $e.length > 0 ? /* @__PURE__ */ r(
2585
2571
  no,
2586
2572
  {
2587
- turns: De,
2573
+ turns: $e,
2588
2574
  onDelete: En,
2589
2575
  onRemoveAttachment: On,
2590
2576
  onUpdatePrompt: Tn
@@ -2662,7 +2648,7 @@ function Za({
2662
2648
  return (t = tr.current) == null ? void 0 : t.click();
2663
2649
  },
2664
2650
  children: [
2665
- /* @__PURE__ */ r(wa, { className: "h-3.5 w-3.5 text-muted-foreground" }),
2651
+ /* @__PURE__ */ r(ya, { className: "h-3.5 w-3.5 text-muted-foreground" }),
2666
2652
  "Screenshot"
2667
2653
  ]
2668
2654
  }
@@ -2716,7 +2702,7 @@ function Za({
2716
2702
  return (t = Y.current) == null ? void 0 : t.abort();
2717
2703
  },
2718
2704
  children: [
2719
- /* @__PURE__ */ r(Je, { className: "h-3 w-3" }),
2705
+ /* @__PURE__ */ r(He, { className: "h-3 w-3" }),
2720
2706
  "Stop"
2721
2707
  ]
2722
2708
  }
@@ -2753,7 +2739,7 @@ function Za({
2753
2739
  Ir,
2754
2740
  {
2755
2741
  className: "min-w-0",
2756
- defaultSize: Fe ? 72 : 100,
2742
+ defaultSize: Pe ? 72 : 100,
2757
2743
  minSize: 35,
2758
2744
  order: 2,
2759
2745
  children: /* @__PURE__ */ c("main", { className: "flex h-full min-w-0 flex-col bg-muted/40", children: [
@@ -2765,10 +2751,10 @@ function Za({
2765
2751
  variant: "ghost",
2766
2752
  size: "xs",
2767
2753
  className: "-ml-1 gap-1.5 px-1.5 text-muted-foreground",
2768
- title: Fe ? "Hide chat" : "Show chat",
2769
- "aria-label": Fe ? "Hide chat" : "Show chat",
2754
+ title: Pe ? "Hide chat" : "Show chat",
2755
+ "aria-label": Pe ? "Hide chat" : "Show chat",
2770
2756
  onClick: () => un((t) => !t),
2771
- children: Fe ? /* @__PURE__ */ r(va, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ r(ka, { className: "h-3.5 w-3.5" })
2757
+ children: Pe ? /* @__PURE__ */ r(va, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ r(ka, { className: "h-3.5 w-3.5" })
2772
2758
  }
2773
2759
  ),
2774
2760
  /* @__PURE__ */ c("div", { className: "flex min-w-0 items-baseline gap-2", children: [
@@ -2933,7 +2919,7 @@ function Za({
2933
2919
  title: "Build, upload, and publish the current Data App",
2934
2920
  onClick: () => void Gn(),
2935
2921
  children: [
2936
- fr === "publishing" ? /* @__PURE__ */ r(me, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ r(ba, { className: "h-3.5 w-3.5" }),
2922
+ fr === "publishing" ? /* @__PURE__ */ r(me, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ r(xa, { className: "h-3.5 w-3.5" }),
2937
2923
  "Publish"
2938
2924
  ]
2939
2925
  }
@@ -2949,7 +2935,7 @@ function Za({
2949
2935
  title: "Select an element in the preview and attach its DOM/React context",
2950
2936
  onClick: () => be ? Fn() : void Pn(),
2951
2937
  children: [
2952
- ar ? /* @__PURE__ */ r(me, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ r(ya, { className: "h-3.5 w-3.5" }),
2938
+ ar ? /* @__PURE__ */ r(me, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ r(ga, { className: "h-3.5 w-3.5" }),
2953
2939
  be ? "Cancel inspect" : "Inspect"
2954
2940
  ]
2955
2941
  }
@@ -3011,7 +2997,7 @@ function Za({
3011
2997
  variant: "outline",
3012
2998
  size: "xs",
3013
2999
  className: "h-6 shrink-0 text-[10.5px]",
3014
- disabled: X || ee || Te !== "ready",
3000
+ disabled: X || ee || Me !== "ready",
3015
3001
  onClick: () => void Cr(),
3016
3002
  children: "Reset"
3017
3003
  }
@@ -3032,7 +3018,7 @@ function Za({
3032
3018
  title: "Reload the live preview",
3033
3019
  "aria-label": "Reload the live preview",
3034
3020
  onClick: () => {
3035
- A === "browser" ? (rt(), Oe()) : (z(f), Z((t) => t + 1));
3021
+ A === "browser" ? (rt(), Ee()) : (z(f), Z((t) => t + 1));
3036
3022
  },
3037
3023
  children: /* @__PURE__ */ r(Kr, { className: "h-3.5 w-3.5" })
3038
3024
  }
@@ -3044,7 +3030,7 @@ function Za({
3044
3030
  {
3045
3031
  className: `flex items-start gap-2 rounded-[6px] border px-2.5 py-2 text-[11.5px] leading-relaxed ${de.state === "failed" ? "border-destructive/30 bg-destructive/10 text-destructive" : de.state === "done" ? "border-emerald-200 bg-emerald-50 text-emerald-800 dark:border-emerald-900/60 dark:bg-emerald-950/30 dark:text-emerald-300" : "border-blue-200 bg-blue-50 text-blue-900 dark:border-blue-900/60 dark:bg-blue-950/30 dark:text-blue-300"}`,
3046
3032
  children: [
3047
- de.state === "running" ? /* @__PURE__ */ r(me, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 animate-spin" }) : de.state === "done" ? /* @__PURE__ */ r(_t, { className: "mt-0.5 h-3.5 w-3.5 shrink-0" }) : /* @__PURE__ */ r(Je, { className: "mt-0.5 h-3.5 w-3.5 shrink-0" }),
3033
+ de.state === "running" ? /* @__PURE__ */ r(me, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 animate-spin" }) : de.state === "done" ? /* @__PURE__ */ r(_t, { className: "mt-0.5 h-3.5 w-3.5 shrink-0" }) : /* @__PURE__ */ r(He, { className: "mt-0.5 h-3.5 w-3.5 shrink-0" }),
3048
3034
  /* @__PURE__ */ c("div", { className: "min-w-0", children: [
3049
3035
  /* @__PURE__ */ r("div", { className: "font-medium", children: de.label }),
3050
3036
  de.detail ? /* @__PURE__ */ r("div", { className: "mt-0.5 truncate opacity-80", children: de.detail }) : null
@@ -3052,13 +3038,13 @@ function Za({
3052
3038
  ]
3053
3039
  }
3054
3040
  ) }) : null,
3055
- (A === "browser" && (Te === "loading" || Te === "failed") || Me && !((Or = Me.appBuilder) != null && Or.hasOpenAiKey)) && /* @__PURE__ */ c("div", { className: "shrink-0 border-b border-border px-3 py-2", children: [
3056
- A === "browser" && Te === "loading" && /* @__PURE__ */ r("p", { className: "text-[11px] leading-relaxed text-muted-foreground", children: "Loading the in-browser runtime…" }),
3057
- A === "browser" && Te === "failed" && /* @__PURE__ */ c("div", { className: "rounded-[5px] border border-border bg-muted/40 px-2 py-1.5 text-[11px] leading-relaxed text-muted-foreground", children: [
3041
+ (A === "browser" && (Me === "loading" || Me === "failed") || Fe && !((Or = Fe.appBuilder) != null && Or.hasOpenAiKey)) && /* @__PURE__ */ c("div", { className: "shrink-0 border-b border-border px-3 py-2", children: [
3042
+ A === "browser" && Me === "loading" && /* @__PURE__ */ r("p", { className: "text-[11px] leading-relaxed text-muted-foreground", children: "Loading the in-browser runtime…" }),
3043
+ A === "browser" && Me === "failed" && /* @__PURE__ */ c("div", { className: "rounded-[5px] border border-border bg-muted/40 px-2 py-1.5 text-[11px] leading-relaxed text-muted-foreground", children: [
3058
3044
  "Browser runtime is unavailable. Link or install semaphor-browser-runtime, or use the local bridge path.",
3059
3045
  sr ? /* @__PURE__ */ r("pre", { className: "mt-1.5 whitespace-pre-wrap font-mono text-[10.5px] text-muted-foreground", children: sr }) : null
3060
3046
  ] }),
3061
- Me && !((Lr = Me.appBuilder) != null && Lr.hasOpenAiKey) && /* @__PURE__ */ r("div", { className: "rounded-[5px] border border-destructive/30 bg-destructive/10 px-2 py-1.5 text-[11px] text-destructive", children: Me.error || "OPENAI_API_KEY is not configured." })
3047
+ Fe && !((Lr = Fe.appBuilder) != null && Lr.hasOpenAiKey) && /* @__PURE__ */ r("div", { className: "rounded-[5px] border border-destructive/30 bg-destructive/10 px-2 py-1.5 text-[11px] text-destructive", children: Fe.error || "OPENAI_API_KEY is not configured." })
3062
3048
  ] }),
3063
3049
  A === "browser" && gn.length > 0 && /* @__PURE__ */ r("div", { className: "shrink-0 border-b border-border px-3 py-1.5 text-[11px] text-amber-700 dark:text-amber-400", children: "Preview compiled with diagnostics. The next prompt can use them for repair." }),
3064
3050
  /* @__PURE__ */ c("div", { className: "flex min-h-0 flex-1", children: [
@@ -3319,7 +3305,7 @@ function Kt({
3319
3305
  className: "rounded-[3px] p-0.5 text-muted-foreground hover:bg-muted hover:text-foreground",
3320
3306
  onClick: () => a(e.id),
3321
3307
  "aria-label": `Remove ${e.name}`,
3322
- children: /* @__PURE__ */ r(Je, { className: "h-3 w-3" })
3308
+ children: /* @__PURE__ */ r(He, { className: "h-3 w-3" })
3323
3309
  }
3324
3310
  ) : null
3325
3311
  ] });
@@ -3452,7 +3438,7 @@ function lo({
3452
3438
  className: "h-7 w-7 text-muted-foreground",
3453
3439
  "aria-label": "Close field inspector",
3454
3440
  onClick: a,
3455
- children: /* @__PURE__ */ r(Je, { className: "h-3.5 w-3.5" })
3441
+ children: /* @__PURE__ */ r(He, { className: "h-3.5 w-3.5" })
3456
3442
  }
3457
3443
  )
3458
3444
  ] }),
@@ -3468,7 +3454,7 @@ function lo({
3468
3454
  e.dataset.primaryDateField
3469
3455
  ] }) : null,
3470
3456
  /* @__PURE__ */ c("label", { className: "mt-3 flex h-8 items-center gap-2 rounded-[5px] border border-border bg-background px-2", children: [
3471
- /* @__PURE__ */ r(ga, { className: "h-3.5 w-3.5 text-muted-foreground" }),
3457
+ /* @__PURE__ */ r(ba, { className: "h-3.5 w-3.5 text-muted-foreground" }),
3472
3458
  /* @__PURE__ */ r(
3473
3459
  "input",
3474
3460
  {
@@ -3668,13 +3654,13 @@ function po({
3668
3654
  "attempt ",
3669
3655
  (a || 0) + 1,
3670
3656
  " / ",
3671
- We
3657
+ ze
3672
3658
  ] }) : /* @__PURE__ */ r("span", { children: Gt(e) }) })
3673
3659
  ] });
3674
3660
  }
3675
3661
  function ho({ state: e }) {
3676
- return e === "done" ? /* @__PURE__ */ r(_t, { className: "h-3.5 w-3.5 text-emerald-600" }) : e === "running" ? /* @__PURE__ */ r(me, { className: "h-3.5 w-3.5 animate-spin text-blue-600" }) : e === "blocked" ? /* @__PURE__ */ r(Je, { className: "h-3.5 w-3.5 text-destructive" }) : /* @__PURE__ */ r(la, { className: "h-2.5 w-2.5 fill-zinc-300 stroke-none" });
3662
+ return e === "done" ? /* @__PURE__ */ r(_t, { className: "h-3.5 w-3.5 text-emerald-600" }) : e === "running" ? /* @__PURE__ */ r(me, { className: "h-3.5 w-3.5 animate-spin text-blue-600" }) : e === "blocked" ? /* @__PURE__ */ r(He, { className: "h-3.5 w-3.5 text-destructive" }) : /* @__PURE__ */ r(la, { className: "h-2.5 w-2.5 fill-zinc-300 stroke-none" });
3677
3663
  }
3678
3664
  export {
3679
- ko as DataAppBuilder
3665
+ No as DataAppBuilder
3680
3666
  };
@@ -1,5 +1,5 @@
1
- import { S as E, a as S, i as A, v as t } from "../chunks/validators-wZ2WlNHc.js";
2
- import { C as R, a as r, b as s, G as C, c as o, R as p, d, e as O, f as i, g as m, h as n, i as N, v as T, j as I } from "../chunks/update-policy-eg59mQqv.js";
1
+ import { S as E, a as S, i as A, v as t } from "../chunks/validators-Cs74WVie.js";
2
+ import { C as R, a as r, b as s, G as C, e as o, R as p, c as d, f as O, g as i, h as m, i as n, j as N, v as T, d as I } from "../chunks/update-policy-g0rCQ9BM.js";
3
3
  export {
4
4
  R as CODEGEN_SUMMARY_SCHEMA_VERSION,
5
5
  r as CODEGEN_SUMMARY_VALIDATOR_VERSION,
@@ -1,6 +1,6 @@
1
- import { S as Vn, a as Fn, i as bn, v as kn } from "../chunks/validators-wZ2WlNHc.js";
2
- import { d as ke, G as fe, a as Re, b as Me } from "../chunks/update-policy-eg59mQqv.js";
3
- import { C as Mn, c as Cn, R as On, e as xn, f as Gn, g as Nn, h as En, i as An, v as jn, j as vn } from "../chunks/update-policy-eg59mQqv.js";
1
+ import { S as Vn, a as Fn, i as bn, v as kn } from "../chunks/validators-Cs74WVie.js";
2
+ import { c as ke, G as fe, a as Re, b as Me } from "../chunks/update-policy-g0rCQ9BM.js";
3
+ import { C as Mn, e as Cn, R as On, f as xn, g as Gn, h as Nn, i as En, j as An, v as jn, d as vn } from "../chunks/update-policy-g0rCQ9BM.js";
4
4
  import { createHash as ye } from "node:crypto";
5
5
  const wn = "src/semaphor/generated", v = `// Generated by Semaphor Agent Plugin. Do not hand-edit analytics wiring here.
6
6
  // Regenerate from the accepted semaphor_plan_data_app codegenSummary when the plan changes.