@superxd-studio/adptr 0.5.0 → 0.6.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 (43) hide show
  1. package/GENERATIVE.md +1 -1
  2. package/README.md +20 -11
  3. package/REUSE.md +11 -1
  4. package/REVIEW.md +2 -2
  5. package/THIRD-PARTY-NOTICES.md +1 -1
  6. package/chunks/{callout-DKMHSnjc.js → callout-B89MDU9m.js} +31 -35
  7. package/chunks/{canvas-BJ15-XxE.js → canvas-Dd78FPe0.js} +9 -9
  8. package/chunks/{text-field-BLtoaZFn.js → text-field-mMHllx03.js} +1 -1
  9. package/chunks/thinking-DlBmZsgc.js +13 -0
  10. package/chunks/{ui-9DyNsYXY.js → ui-WR0qTNm7.js} +309 -260
  11. package/generative/index.js +156 -155
  12. package/interactions/index.js +1073 -499
  13. package/package.json +2 -1
  14. package/source/components/icons.tsx +14 -0
  15. package/source/components/peek.tsx +113 -0
  16. package/source/components/thinking.tsx +13 -2
  17. package/source/reusable/generative/index.tsx +14 -9
  18. package/source/reusable/generative/vocabulary.tsx +4 -2
  19. package/source/reusable/interactions/context.tsx +4 -0
  20. package/source/reusable/interactions/copy.ts +39 -0
  21. package/source/reusable/interactions/gate.tsx +246 -0
  22. package/source/reusable/interactions/index.ts +14 -0
  23. package/source/reusable/interactions/presentation.tsx +4 -1
  24. package/source/reusable/interactions/progress.tsx +240 -0
  25. package/source/reusable/interactions/receipt.tsx +230 -0
  26. package/source/reusable/interactions/run.tsx +206 -0
  27. package/source/reusable/ui/index.ts +1 -0
  28. package/source/reusable/web/review/index.tsx +21 -10
  29. package/source/styles/library.css +56 -0
  30. package/styles.css +1 -1
  31. package/types/components/icons.d.ts +8 -0
  32. package/types/components/peek.d.ts +17 -0
  33. package/types/components/thinking.d.ts +3 -1
  34. package/types/reusable/interactions/context.d.ts +39 -0
  35. package/types/reusable/interactions/copy.d.ts +43 -0
  36. package/types/reusable/interactions/gate.d.ts +39 -0
  37. package/types/reusable/interactions/index.d.ts +8 -0
  38. package/types/reusable/interactions/progress.d.ts +45 -0
  39. package/types/reusable/interactions/receipt.d.ts +54 -0
  40. package/types/reusable/interactions/run.d.ts +83 -0
  41. package/types/reusable/ui/index.d.ts +1 -0
  42. package/ui/index.js +3 -3
  43. package/web/index.js +350 -353
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { C as e, D as t, E as n, O as r, T as i, b as a, d as o, h as s, l as c, n as l, o as u, p as d, t as f, u as p, y as m } from "../chunks/callout-DKMHSnjc.js";
3
- import { a as h, i as g, n as _, o as v, p as y, s as b, t as ee } from "../chunks/canvas-BJ15-XxE.js";
4
- import { t as x } from "../chunks/text-field-BLtoaZFn.js";
5
- import { createContext as S, useCallback as C, useContext as w, useEffect as T, useId as te, useLayoutEffect as E, useMemo as ne, useRef as D, useState as O, useSyncExternalStore as re } from "react";
6
- import { Checkbox as ie, DateField as ae, DateInput as k, DateSegment as A, FieldError as j, I18nProvider as M, Label as N, ListBox as oe, ListBoxItem as P, Popover as F, ProgressBar as se, Radio as ce, RadioGroup as le, Select as ue, SelectValue as de } from "react-aria-components";
2
+ import { C as e, D as t, M as n, N as r, f as i, g as a, j as o, k as s, l as c, m as l, n as u, o as d, p as f, t as p, v as m, w as h } from "../chunks/callout-B89MDU9m.js";
3
+ import { a as g, i as _, n as v, o as y, p as b, s as x, t as ee } from "../chunks/canvas-Dd78FPe0.js";
4
+ import { t as S } from "../chunks/text-field-mMHllx03.js";
5
+ import { createContext as C, useCallback as te, useContext as w, useEffect as T, useId as ne, useLayoutEffect as E, useMemo as re, useRef as D, useState as O, useSyncExternalStore as ie } from "react";
6
+ import { Checkbox as ae, DateField as oe, DateInput as k, DateSegment as A, FieldError as j, I18nProvider as M, Label as N, ListBox as se, ListBoxItem as P, Popover as F, ProgressBar as ce, Radio as le, RadioGroup as ue, Select as de, SelectValue as fe } from "react-aria-components";
7
7
  import { Fragment as I, jsx as L, jsxs as R } from "react/jsx-runtime";
8
- import { defaultGenerativeUILibrary as fe, renderGenerativeUI as pe } from "@assistant-ui/react-generative-ui";
8
+ import { defaultGenerativeUILibrary as pe, renderGenerativeUI as me } from "@assistant-ui/react-generative-ui";
9
9
  import { z } from "zod";
10
10
  import { parseDate as B } from "@internationalized/date";
11
11
  //#region src/reusable/generative/copy.ts
@@ -53,13 +53,13 @@ var V = {
53
53
  quoteUnavailable: "We couldn’t confirm the amount. Try again before continuing.",
54
54
  actionInvalid: "We couldn’t prepare this action.",
55
55
  actionInvalidNote: "Your details are still here. Check the entries, shorten long text and try again."
56
- }, H = z.string().max(8e3), U = z.string().min(1).max(160), W = H.optional(), me = z.array(z.strictObject({
56
+ }, H = z.string().max(8e3), U = z.string().min(1).max(160), W = H.optional(), he = z.array(z.strictObject({
57
57
  label: U,
58
58
  value: U
59
- })).min(1).max(50).refine((e) => new Set(e.map((e) => e.value)).size === e.length), G = z.string().regex(/^[a-zA-Z][a-zA-Z0-9_]{0,63}$/), K = z.record(z.string(), z.json()).and(z.object({ type: G })), he = z.strictObject({
59
+ })).min(1).max(50).refine((e) => new Set(e.map((e) => e.value)).size === e.length), G = z.string().regex(/^[a-zA-Z][a-zA-Z0-9_]{0,63}$/), K = z.record(z.string(), z.json()).and(z.object({ type: G })), ge = z.strictObject({
60
60
  label: U,
61
61
  $action: K.optional()
62
- }), ge = {
62
+ }), _e = {
63
63
  gap: z.number().int().min(0).max(8).optional(),
64
64
  align: z.enum([
65
65
  "start",
@@ -71,10 +71,10 @@ var V = {
71
71
  label: U,
72
72
  defaultValue: W,
73
73
  required: z.boolean().optional()
74
- }, _e = z.strictObject({
74
+ }, ve = z.strictObject({
75
75
  label: U,
76
76
  value: z.number().finite().min(-0xe8d4a51000).max(0xe8d4a51000)
77
- }), ve = z.strictObject({
77
+ }), ye = z.strictObject({
78
78
  label: U,
79
79
  variant: z.enum([
80
80
  "bar",
@@ -82,10 +82,10 @@ var V = {
82
82
  "area",
83
83
  "sparkline"
84
84
  ]),
85
- data: z.array(_e).max(100).optional(),
85
+ data: z.array(ve).max(100).optional(),
86
86
  series: z.array(z.strictObject({
87
87
  label: U,
88
- data: z.array(_e).max(100)
88
+ data: z.array(ve).max(100)
89
89
  })).max(5).optional(),
90
90
  stacked: z.boolean().optional(),
91
91
  showAxis: z.boolean().optional(),
@@ -99,7 +99,7 @@ var V = {
99
99
  message: "Series labels must align"
100
100
  });
101
101
  }
102
- }), ye = z.strictObject({
102
+ }), be = z.strictObject({
103
103
  label: U,
104
104
  columns: z.array(z.strictObject({
105
105
  label: U,
@@ -115,12 +115,12 @@ var V = {
115
115
  Card: z.strictObject({
116
116
  title: W,
117
117
  asForm: z.boolean().optional(),
118
- confirm: he.optional(),
119
- cancel: he.optional()
118
+ confirm: ge.optional(),
119
+ cancel: ge.optional()
120
120
  }),
121
121
  Form: z.strictObject({}),
122
122
  Row: z.strictObject({
123
- ...ge,
123
+ ..._e,
124
124
  justify: z.enum([
125
125
  "start",
126
126
  "center",
@@ -128,7 +128,7 @@ var V = {
128
128
  "between"
129
129
  ]).optional()
130
130
  }),
131
- Col: z.strictObject(ge),
131
+ Col: z.strictObject(_e),
132
132
  Text: z.strictObject({
133
133
  value: H,
134
134
  size: z.enum([
@@ -241,7 +241,7 @@ var V = {
241
241
  }),
242
242
  Select: z.strictObject({
243
243
  ...q,
244
- options: me,
244
+ options: he,
245
245
  placeholder: W
246
246
  }).refine((e) => !e.defaultValue || e.options.some((t) => t.value === e.defaultValue)),
247
247
  DatePicker: z.strictObject(q).refine((e) => {
@@ -253,7 +253,7 @@ var V = {
253
253
  }),
254
254
  RadioGroup: z.strictObject({
255
255
  ...q,
256
- options: me
256
+ options: he
257
257
  }).refine((e) => !e.defaultValue || e.options.some((t) => t.value === e.defaultValue)),
258
258
  Checkbox: z.strictObject({
259
259
  name: G,
@@ -277,10 +277,10 @@ var V = {
277
277
  value: z.number().min(0).max(100),
278
278
  max: z.number().positive().max(100)
279
279
  }).refine((e) => e.value <= e.max),
280
- Chart: ve,
281
- Table: ye
280
+ Chart: ye,
281
+ Table: be
282
282
  };
283
- function be(e, t = 12e4) {
283
+ function xe(e, t = 12e4) {
284
284
  let n = 0, r = 0, i = /* @__PURE__ */ new Set();
285
285
  function a(e, o) {
286
286
  if (o > 24 || ++n > 6e3) throw Error("Response too large");
@@ -308,7 +308,7 @@ function be(e, t = 12e4) {
308
308
  a(e, 0);
309
309
  }
310
310
  function Y(e) {
311
- be(e);
311
+ xe(e);
312
312
  let t = 0, n = /* @__PURE__ */ new Set(), r = 0;
313
313
  function i(e, a, o, s, c = !1) {
314
314
  if (a > 16 || ++t > 300 || !e || typeof e != "object" || Array.isArray(e) || n.has(e)) throw Error("Invalid response tree");
@@ -392,7 +392,7 @@ function Y(e) {
392
392
  }
393
393
  //#endregion
394
394
  //#region src/reusable/generative/data.tsx
395
- function xe({ label: e, columns: t, rows: n, sortable: r = !1 }) {
395
+ function X({ label: e, columns: t, rows: n, sortable: r = !1 }) {
396
396
  let [i, a] = O(), o = i ? [...n].sort((e, t) => {
397
397
  let n = e[i.index], r = t[i.index];
398
398
  return i.direction * (typeof n == "number" && typeof r == "number" ? n - r : String(n).localeCompare(String(r), "en", { numeric: !0 }));
@@ -416,7 +416,7 @@ function xe({ label: e, columns: t, rows: n, sortable: r = !1 }) {
416
416
  "aria-sort": i?.index === t ? i.direction === 1 ? "ascending" : "descending" : void 0,
417
417
  className: "px-4 py-2 text-left type-label",
418
418
  style: { textAlign: e.align === "end" ? "right" : "left" },
419
- children: r ? /* @__PURE__ */ R(l, {
419
+ children: r ? /* @__PURE__ */ R(u, {
420
420
  size: "sm",
421
421
  variant: "ghost",
422
422
  className: "-mx-2",
@@ -455,11 +455,11 @@ function Se(e) {
455
455
  r.every((e) => e.data.length === 0) ? /* @__PURE__ */ L("p", {
456
456
  className: "type-body text-fg-subtle",
457
457
  children: V.empty
458
- }) : fe.Chart?.render({
458
+ }) : pe.Chart?.render({
459
459
  ...e,
460
460
  $status: "done"
461
461
  }),
462
- /* @__PURE__ */ L(l, {
462
+ /* @__PURE__ */ L(u, {
463
463
  size: "sm",
464
464
  variant: "ghost",
465
465
  className: "self-start",
@@ -467,7 +467,7 @@ function Se(e) {
467
467
  onPress: () => n((e) => !e),
468
468
  children: V.data
469
469
  }),
470
- t ? /* @__PURE__ */ L(xe, {
470
+ t ? /* @__PURE__ */ L(X, {
471
471
  label: e.label,
472
472
  columns: [{ label: V.point }, ...r.map((e) => ({
473
473
  label: e.label,
@@ -480,14 +480,14 @@ function Se(e) {
480
480
  }
481
481
  //#endregion
482
482
  //#region src/reusable/generative/vocabulary.tsx
483
- var X = S({
483
+ var Z = C({
484
484
  blocked: !1,
485
485
  available: void 0,
486
486
  captureInput: void 0,
487
487
  initialValues: void 0
488
- }), Z = S(void 0);
489
- function Q(e, t, n, r, i) {
490
- let a = w(Z), { initialValues: o } = w(X), [s, c] = O(o?.[e] ?? t);
488
+ }), Q = C(void 0);
489
+ function $(e, t, n, r, i) {
490
+ let a = w(Q), { initialValues: o } = w(Z), [s, c] = O(o?.[e] ?? t);
491
491
  return T(() => (a?.fields.set(e, {
492
492
  value: s,
493
493
  required: n,
@@ -531,15 +531,15 @@ function Ce(e) {
531
531
  };
532
532
  }
533
533
  function we({ children: e, action: t, dispatch: n, title: r, confirm: i, cancel: a, resolveFact: o }) {
534
- let [s] = O(() => /* @__PURE__ */ new Map()), [c] = O(() => /* @__PURE__ */ new Set()), [, u] = O(0), [d, f] = O(!1), [p, m] = O({}), { blocked: h, available: g, captureInput: _ } = w(X), v = i?.$action ?? t, y = !(!n || !v || g && !g.has(v.type));
535
- return /* @__PURE__ */ L(Z.Provider, {
534
+ let [s] = O(() => /* @__PURE__ */ new Map()), [c] = O(() => /* @__PURE__ */ new Set()), [, l] = O(0), [d, f] = O(!1), [p, m] = O({}), { blocked: h, available: g, captureInput: _ } = w(Z), v = i?.$action ?? t, y = !(!n || !v || g && !g.has(v.type));
535
+ return /* @__PURE__ */ L(Q.Provider, {
536
536
  value: {
537
537
  fields: s,
538
538
  bindings: c,
539
539
  canSubmit: y,
540
540
  errors: p,
541
541
  setError: (e) => {
542
- u((e) => e + 1), f(!1), m((t) => t[e] ? Object.fromEntries(Object.entries(t).filter(([t]) => t !== e)) : t);
542
+ l((e) => e + 1), f(!1), m((t) => t[e] ? Object.fromEntries(Object.entries(t).filter(([t]) => t !== e)) : t);
543
543
  }
544
544
  },
545
545
  children: /* @__PURE__ */ R("form", {
@@ -589,13 +589,13 @@ function we({ children: e, action: t, dispatch: n, title: r, confirm: i, cancel:
589
589
  }) : null,
590
590
  i || a ? /* @__PURE__ */ R("footer", {
591
591
  className: "flex flex-wrap items-center gap-3 border-t border-line-subtle pt-5",
592
- children: [i ? /* @__PURE__ */ L(l, {
592
+ children: [i ? /* @__PURE__ */ L(u, {
593
593
  className: "h-auto min-h-control-md max-w-full py-control-y wrap-anywhere whitespace-normal",
594
594
  type: "submit",
595
595
  variant: "primary",
596
596
  isDisabled: h || !y,
597
597
  children: i.label
598
- }) : null, a ? /* @__PURE__ */ L(l, {
598
+ }) : null, a ? /* @__PURE__ */ L(u, {
599
599
  variant: "ghost",
600
600
  className: "h-auto min-h-control-md max-w-full py-control-y wrap-anywhere whitespace-normal",
601
601
  isDisabled: h || !n || !a.$action || !(!g || g.has(a.$action.type)),
@@ -613,8 +613,8 @@ function we({ children: e, action: t, dispatch: n, title: r, confirm: i, cancel:
613
613
  });
614
614
  }
615
615
  function Te(e) {
616
- let t = Q(e.name, e.defaultValue ?? "", e.required, e.inputType), { blocked: n } = w(X);
617
- return /* @__PURE__ */ L(x, {
616
+ let t = $(e.name, e.defaultValue ?? "", e.required, e.inputType), { blocked: n } = w(Z);
617
+ return /* @__PURE__ */ L(S, {
618
618
  className: "min-w-0 flex-1",
619
619
  label: e.label,
620
620
  name: e.name,
@@ -629,8 +629,8 @@ function Te(e) {
629
629
  });
630
630
  }
631
631
  function Ee(e) {
632
- let t = Q(e.name, e.defaultValue ?? "", e.required), { blocked: n } = w(X);
633
- return /* @__PURE__ */ R(ue, {
632
+ let t = $(e.name, e.defaultValue ?? "", e.required), { blocked: n } = w(Z);
633
+ return /* @__PURE__ */ R(de, {
634
634
  placeholder: e.placeholder,
635
635
  name: e.name,
636
636
  value: String(t.value) || null,
@@ -645,14 +645,14 @@ function Ee(e) {
645
645
  className: "type-label text-fg-emphasis",
646
646
  children: e.label
647
647
  }),
648
- /* @__PURE__ */ R(l, {
648
+ /* @__PURE__ */ R(u, {
649
649
  className: "group/trigger justify-between",
650
650
  isDisabled: n,
651
- children: [/* @__PURE__ */ L(de, { className: "min-w-0 truncate" }), /* @__PURE__ */ L(o, { className: "transition-[rotate] duration-(--duration-settle) ease-settle group-aria-expanded/trigger:rotate-180 motion-reduce:transition-none" })]
651
+ children: [/* @__PURE__ */ L(fe, { className: "min-w-0 truncate" }), /* @__PURE__ */ L(l, { className: "transition-[rotate] duration-(--duration-settle) ease-settle group-aria-expanded/trigger:rotate-180 motion-reduce:transition-none" })]
652
652
  }),
653
653
  /* @__PURE__ */ L(F, {
654
654
  className: "min-w-(--trigger-width) origin-(--trigger-anchor-point) rounded-control border border-line-subtle bg-surface p-1 shadow-popover outline-none data-entering:animate-pop-in data-exiting:animate-pop-out",
655
- children: /* @__PURE__ */ L(oe, {
655
+ children: /* @__PURE__ */ L(se, {
656
656
  className: "outline-none",
657
657
  items: e.options,
658
658
  children: (e) => /* @__PURE__ */ L(P, {
@@ -671,10 +671,10 @@ function Ee(e) {
671
671
  });
672
672
  }
673
673
  function De(e) {
674
- let t = Q(e.name, e.defaultValue ?? "", e.required, void 0, !0), { blocked: n } = w(X);
674
+ let t = $(e.name, e.defaultValue ?? "", e.required, void 0, !0), { blocked: n } = w(Z);
675
675
  return /* @__PURE__ */ L(M, {
676
676
  locale: "en-AU",
677
- children: /* @__PURE__ */ R(ae, {
677
+ children: /* @__PURE__ */ R(oe, {
678
678
  name: e.name,
679
679
  value: t.value ? B(String(t.value)) : null,
680
680
  onChange: (e) => t.onChange(e?.toString() ?? ""),
@@ -704,8 +704,8 @@ function De(e) {
704
704
  });
705
705
  }
706
706
  function Oe(e) {
707
- let t = Q(e.name, e.defaultValue ?? "", e.required), { blocked: n } = w(X);
708
- return /* @__PURE__ */ R(le, {
707
+ let t = $(e.name, e.defaultValue ?? "", e.required), { blocked: n } = w(Z);
708
+ return /* @__PURE__ */ R(ue, {
709
709
  name: e.name,
710
710
  value: String(t.value),
711
711
  onChange: t.onChange,
@@ -721,7 +721,7 @@ function Oe(e) {
721
721
  }),
722
722
  /* @__PURE__ */ L("div", {
723
723
  className: "flex flex-wrap gap-3",
724
- children: e.options.map((e) => /* @__PURE__ */ R(ce, {
724
+ children: e.options.map((e) => /* @__PURE__ */ R(le, {
725
725
  value: e.value,
726
726
  className: "group flex cursor-pointer items-center gap-2 rounded-control border border-line px-control-md-x py-control-y type-body text-fg data-disabled:opacity-50 data-focus-visible:focus-ring data-selected:border-brand data-selected:bg-surface-muted",
727
727
  children: [/* @__PURE__ */ L("span", {
@@ -738,8 +738,8 @@ function Oe(e) {
738
738
  });
739
739
  }
740
740
  function ke(e) {
741
- let t = Q(e.name, e.defaultChecked ?? !1), { blocked: n } = w(X);
742
- return /* @__PURE__ */ R(ie, {
741
+ let t = $(e.name, e.defaultChecked ?? !1), { blocked: n } = w(Z);
742
+ return /* @__PURE__ */ R(ae, {
743
743
  name: e.name,
744
744
  isSelected: !!t.value,
745
745
  onChange: t.onChange,
@@ -747,7 +747,7 @@ function ke(e) {
747
747
  className: "group flex cursor-pointer items-center gap-2 rounded-cell type-body text-fg data-disabled:opacity-50 data-focus-visible:focus-ring",
748
748
  children: [/* @__PURE__ */ L("span", {
749
749
  className: "grid size-4 shrink-0 place-items-center rounded-cell border border-line-input group-data-selected:border-brand group-data-selected:bg-brand",
750
- children: /* @__PURE__ */ L(p, { className: "invisible size-3 text-on-brand group-data-selected:visible" })
750
+ children: /* @__PURE__ */ L(f, { className: "invisible size-3 text-on-brand group-data-selected:visible" })
751
751
  }), e.label]
752
752
  });
753
753
  }
@@ -769,16 +769,16 @@ var Ae = {
769
769
  "gap-7",
770
770
  "gap-8"
771
771
  ], Me = {
772
- sun: /* @__PURE__ */ L(i, {}),
773
- moon: /* @__PURE__ */ L(a, {}),
774
- clock: /* @__PURE__ */ L(s, {}),
775
- calendar: /* @__PURE__ */ L(c, {}),
776
- "map-pin": /* @__PURE__ */ L(m, {}),
777
- check: /* @__PURE__ */ L(p, {}),
778
- x: /* @__PURE__ */ L(t, {}),
779
- user: /* @__PURE__ */ L(n, {}),
780
- search: /* @__PURE__ */ L(e, {}),
781
- "chevron-right": /* @__PURE__ */ L(d, {})
772
+ sun: /* @__PURE__ */ L(s, {}),
773
+ moon: /* @__PURE__ */ L(h, {}),
774
+ clock: /* @__PURE__ */ L(m, {}),
775
+ calendar: /* @__PURE__ */ L(i, {}),
776
+ "map-pin": /* @__PURE__ */ L(e, {}),
777
+ check: /* @__PURE__ */ L(f, {}),
778
+ x: /* @__PURE__ */ L(n, {}),
779
+ user: /* @__PURE__ */ L(o, {}),
780
+ search: /* @__PURE__ */ L(t, {}),
781
+ "chevron-right": /* @__PURE__ */ L(a, {})
782
782
  };
783
783
  function Ne({ name: e, size: t }) {
784
784
  let n = {
@@ -830,7 +830,7 @@ function Ne({ name: e, size: t }) {
830
830
  });
831
831
  }
832
832
  function Pe({ label: e, value: t, binding: n, resolveFact: r }) {
833
- let i = w(Z);
833
+ let i = w(Q);
834
834
  T(() => (n && i?.bindings.add(n), () => {
835
835
  n && i?.bindings.delete(n);
836
836
  }), [n, i?.bindings]);
@@ -938,7 +938,7 @@ function Ie(e = {}) {
938
938
  className: "type-caption font-normal wrap-anywhere text-fg-subtle",
939
939
  children: e
940
940
  })),
941
- Markdown: t(J.Markdown, "Safe formatted text.", ({ value: e }) => /* @__PURE__ */ L(y, { text: e })),
941
+ Markdown: t(J.Markdown, "Safe formatted text.", ({ value: e }) => /* @__PURE__ */ L(b, { text: e })),
942
942
  Fact: t(J.Fact, "A labelled value.", (t) => /* @__PURE__ */ L(Pe, {
943
943
  ...t,
944
944
  resolveFact: e.resolveFact
@@ -964,7 +964,7 @@ function Ie(e = {}) {
964
964
  className: "grid size-avatar-lg shrink-0 place-items-center rounded-full bg-surface-emphasis type-label text-fg-emphasis",
965
965
  children: e.split(/\s+/).slice(0, 2).map((e) => e[0]).join("")
966
966
  })),
967
- Alert: t(J.Alert, "A contextual message.", ({ title: e, description: t, tone: n }) => /* @__PURE__ */ L(f, {
967
+ Alert: t(J.Alert, "A contextual message.", ({ title: e, description: t, tone: n }) => /* @__PURE__ */ L(p, {
968
968
  title: e,
969
969
  tone: n === "warning" ? "attention" : n === "danger" ? "error" : n,
970
970
  children: t
@@ -988,7 +988,7 @@ function Ie(e = {}) {
988
988
  dispatch: t,
989
989
  children: n
990
990
  })),
991
- Progress: t(J.Progress, "A labelled measure of progress.", ({ label: e, value: t, max: n }) => /* @__PURE__ */ L(se, {
991
+ Progress: t(J.Progress, "A labelled measure of progress.", ({ label: e, value: t, max: n }) => /* @__PURE__ */ L(ce, {
992
992
  "aria-label": e,
993
993
  value: t,
994
994
  maxValue: n,
@@ -999,16 +999,16 @@ function Ie(e = {}) {
999
999
  })
1000
1000
  })),
1001
1001
  Chart: t(J.Chart, "A bounded chart with a data-table alternative.", (e) => /* @__PURE__ */ L(Se, { ...e })),
1002
- Table: t(J.Table, "A bounded data table, optionally sortable.", (e) => /* @__PURE__ */ L(xe, { ...e }))
1002
+ Table: t(J.Table, "A bounded data table, optionally sortable.", (e) => /* @__PURE__ */ L(X, { ...e }))
1003
1003
  };
1004
1004
  }
1005
1005
  function Le({ label: e, buttonStyle: t, block: n, submit: i, children: a, action: o, dispatch: s }) {
1006
- let { blocked: c, available: u, captureInput: d } = w(X), f = w(Z);
1007
- return /* @__PURE__ */ R(l, {
1006
+ let { blocked: c, available: l, captureInput: d } = w(Z), f = w(Q);
1007
+ return /* @__PURE__ */ R(u, {
1008
1008
  type: i ? "submit" : "button",
1009
1009
  variant: t === "danger" ? "destructive" : t === "primary" ? "primary" : t === "ghost" ? "ghost" : "secondary",
1010
- className: r("h-auto min-h-control-md max-w-full py-control-y wrap-anywhere whitespace-normal", n && "w-full"),
1011
- isDisabled: c || !s || (i ? !f?.canSubmit : !o || !(!u || u.has(o.type))),
1010
+ className: r("h-auto min-h-control-md max-w-full self-end py-control-y wrap-anywhere whitespace-normal", n && "w-full sm:w-auto"),
1011
+ isDisabled: c || !s || (i ? !f?.canSubmit : !o || !(!l || l.has(o.type))),
1012
1012
  onPress: i ? void 0 : () => {
1013
1013
  o && (f && d?.({
1014
1014
  ...o,
@@ -1080,7 +1080,7 @@ function Be(e, t = () => crypto.randomUUID()) {
1080
1080
  request: (e) => {
1081
1081
  if (a || r.stage !== "ready") return !1;
1082
1082
  try {
1083
- be(e, 8e3);
1083
+ xe(e, 8e3);
1084
1084
  } catch {
1085
1085
  return !1;
1086
1086
  }
@@ -1134,7 +1134,7 @@ function Ve({ controller: e, spec: t, status: n, actions: r, copy: i, children:
1134
1134
  result: /* @__PURE__ */ L("div", {
1135
1135
  "data-generative-result": !0,
1136
1136
  className: "rounded-surface border border-line-subtle bg-surface p-5 sm:p-6",
1137
- children: h(t.node)
1137
+ children: g(t.node)
1138
1138
  })
1139
1139
  },
1140
1140
  {
@@ -1151,7 +1151,7 @@ function Ve({ controller: e, spec: t, status: n, actions: r, copy: i, children:
1151
1151
  }), u = D({
1152
1152
  spec: t,
1153
1153
  status: n
1154
- }), d = D(void 0), f = D(-1), p = D(!1), m = D(null), _ = D(e.getSnapshot());
1154
+ }), d = D(void 0), f = D(-1), p = D(!1), m = D(null), h = D(e.getSnapshot());
1155
1155
  T(() => {
1156
1156
  u.current = {
1157
1157
  spec: t,
@@ -1160,7 +1160,7 @@ function Ve({ controller: e, spec: t, status: n, actions: r, copy: i, children:
1160
1160
  }, [t, n]), T(() => {
1161
1161
  let t = () => {
1162
1162
  let t = e.getSnapshot();
1163
- if (_.current === t || _.current.stage === "complete" || _.current.stage === "dismissed" || (_.current = t, t.stage === "ready" && t.request)) return;
1163
+ if (h.current === t || h.current.stage === "complete" || h.current.stage === "dismissed" || (h.current = t, t.stage === "ready" && t.request)) return;
1164
1164
  let n = {
1165
1165
  snapshot: t,
1166
1166
  ...u.current,
@@ -1211,7 +1211,7 @@ function Ve({ controller: e, spec: t, status: n, actions: r, copy: i, children:
1211
1211
  tabIndex: -1,
1212
1212
  className: "relative min-w-0 scroll-mt-6 outline-none",
1213
1213
  children: [
1214
- r > 0 ? /* @__PURE__ */ L(b, {}) : null,
1214
+ r > 0 ? /* @__PURE__ */ L(x, {}) : null,
1215
1215
  /* @__PURE__ */ R("p", {
1216
1216
  className: "mb-3 flex items-center gap-3 font-mono type-caption text-system-blue",
1217
1217
  children: [
@@ -1228,7 +1228,7 @@ function Ve({ controller: e, spec: t, status: n, actions: r, copy: i, children:
1228
1228
  "aria-hidden": !s,
1229
1229
  children: /* @__PURE__ */ L(ee.Provider, {
1230
1230
  value: !s,
1231
- children: /* @__PURE__ */ L(g, {
1231
+ children: /* @__PURE__ */ L(_, {
1232
1232
  publish: l,
1233
1233
  children: e.result ?? /* @__PURE__ */ L(He, {
1234
1234
  step: c,
@@ -1250,10 +1250,10 @@ function He({ step: e, render: t, onRequest: n }) {
1250
1250
  //#region src/reusable/generative/index.tsx
1251
1251
  var Ue = {};
1252
1252
  function We(e) {
1253
- return /* @__PURE__ */ L(_, { children: /* @__PURE__ */ L(Ge, { ...e }, e.responseId) }, e.responseId);
1253
+ return /* @__PURE__ */ L(v, { children: /* @__PURE__ */ L(Ge, { ...e }, e.responseId) }, e.responseId);
1254
1254
  }
1255
1255
  function Ge(e) {
1256
- let [t] = O(() => Be(e.actions ?? Ue)), n = e.controller ?? t, r = re(n.subscribe, n.getSnapshot, n.getSnapshot), i = Ke(e, n), a = D(0);
1256
+ let [t] = O(() => Be(e.actions ?? Ue)), n = e.controller ?? t, r = ie(n.subscribe, n.getSnapshot, n.getSnapshot), i = Ke(e, n), a = D(0);
1257
1257
  return T(() => {
1258
1258
  let n = a, r = ++n.current;
1259
1259
  return () => {
@@ -1267,7 +1267,7 @@ function Ge(e) {
1267
1267
  status: e.status ?? "done",
1268
1268
  actions: e.actions ?? Ue,
1269
1269
  copy: e.copy ?? V,
1270
- children: (t, r) => /* @__PURE__ */ L($, {
1270
+ children: (t, r) => /* @__PURE__ */ L(qe, {
1271
1271
  ...e,
1272
1272
  spec: t.spec,
1273
1273
  status: t.status,
@@ -1277,7 +1277,7 @@ function Ge(e) {
1277
1277
  onRequest: r,
1278
1278
  inputSnapshot: t.input
1279
1279
  })
1280
- }) : /* @__PURE__ */ L($, {
1280
+ }) : /* @__PURE__ */ L(qe, {
1281
1281
  ...e,
1282
1282
  controller: n,
1283
1283
  snapshot: r,
@@ -1285,11 +1285,11 @@ function Ge(e) {
1285
1285
  });
1286
1286
  }
1287
1287
  function Ke(e, t) {
1288
- let n = v(), r = te(), i = D(e), a = D(void 0), o = D(null);
1288
+ let n = y(), r = ne(), i = D(e), a = D(void 0), o = D(null);
1289
1289
  E(() => {
1290
1290
  i.current = e;
1291
1291
  }, [e]);
1292
- let s = C((e, s = !1) => {
1292
+ let s = te((e, s = !1) => {
1293
1293
  if (!n || !s && o.current === e || o.current?.stage === "complete" || o.current?.stage === "dismissed" || e.stage === "ready" && e.request) return;
1294
1294
  o.current = e;
1295
1295
  let c = i.current, l = c.copy ?? V, u = c.status ?? "done", d = u;
@@ -1317,7 +1317,7 @@ function Ke(e, t) {
1317
1317
  className: "max-w-2xl",
1318
1318
  yieldToChild: !!m,
1319
1319
  terminal: e.stage === "dismissed" || e.stage === "complete" && !m,
1320
- node: /* @__PURE__ */ L($, {
1320
+ node: /* @__PURE__ */ L(qe, {
1321
1321
  ...c,
1322
1322
  controller: t,
1323
1323
  snapshot: e,
@@ -1345,21 +1345,21 @@ function Ke(e, t) {
1345
1345
  r && typeof r == "object" && !Array.isArray(r) && (a.current = Object.fromEntries(Object.entries(r).filter((e) => typeof e[1] == "string" || typeof e[1] == "boolean")), s(t.getSnapshot(), !0));
1346
1346
  };
1347
1347
  }
1348
- function $({ spec: e, status: t = "done", actions: n = Ue, controller: r, snapshot: i, actionOnly: a = !1, retainSteps: o = !1, inputSnapshot: s, onRequest: c, onRetry: d, renderResult: p, resolveImage: m, resolveFact: h, copy: g = V, className: _ }) {
1349
- let v = ne(() => Ie({
1350
- resolveImage: m,
1351
- resolveFact: h
1352
- }), [m, h]), y;
1348
+ function qe({ spec: e, status: t = "done", actions: n = Ue, controller: r, snapshot: i, actionOnly: a = !1, retainSteps: o = !1, inputSnapshot: s, onRequest: l, onRetry: f, renderResult: m, resolveImage: h, resolveFact: g, copy: _ = V, className: v }) {
1349
+ let y = re(() => Ie({
1350
+ resolveImage: h,
1351
+ resolveFact: g
1352
+ }), [h, g]), b;
1353
1353
  try {
1354
- e != null && (y = Y(e));
1354
+ e != null && (b = Y(e));
1355
1355
  } catch {}
1356
- let [b, ee] = O(), x = [
1356
+ let [x, ee] = O(), S = [
1357
1357
  "confirm",
1358
1358
  "submitting",
1359
1359
  "failed",
1360
1360
  "uncertain",
1361
1361
  "checking"
1362
- ].includes(i.stage), S = x ? b ?? y : y, C = te(), w = D(null), [E, re] = O(null), [ie, ae] = O(!1), k = i.stage === "complete" && i.request ? p?.(i.request) : null, A = k != null && k !== !1, j = i.request && n[i.request.action.type]?.kind === "inspect", M = D(i.stage);
1362
+ ].includes(i.stage), C = S ? x ?? b : b, te = ne(), w = D(null), [E, ie] = O(null), [ae, oe] = O(!1), k = i.stage === "complete" && i.request ? m?.(i.request) : null, A = k != null && k !== !1, j = i.request && n[i.request.action.type]?.kind === "inspect", M = D(i.stage);
1363
1363
  T(() => {
1364
1364
  M.current !== i.stage && M.current === "ready" && i.stage !== "ready" && E && w.current?.focus({ preventScroll: !0 }), M.current !== i.stage && A && E && w.current?.focus(), M.current !== i.stage && i.stage === "ready" && E?.focus({ preventScroll: !0 }), M.current = i.stage;
1365
1365
  }, [
@@ -1368,69 +1368,69 @@ function $({ spec: e, status: t = "done", actions: n = Ue, controller: r, snapsh
1368
1368
  A
1369
1369
  ]);
1370
1370
  let N = (e) => {
1371
- c?.(e), re(document.activeElement), ee(y), ae(!r.request(e));
1372
- }, oe = x && b !== void 0 && JSON.stringify(y) !== JSON.stringify(b), P = i.request?.action, F = P ? Object.entries(P).flatMap(([e, t]) => e === "type" ? [] : ["$input", "$bindings"].includes(e) && t && typeof t == "object" && !Array.isArray(t) ? Object.entries(t) : [[e, t]]) : [];
1371
+ l?.(e), ie(document.activeElement), ee(b), oe(!r.request(e));
1372
+ }, se = S && x !== void 0 && JSON.stringify(b) !== JSON.stringify(x), P = i.request?.action, F = P ? Object.entries(P).flatMap(([e, t]) => e === "type" ? [] : ["$input", "$bindings"].includes(e) && t && typeof t == "object" && !Array.isArray(t) ? Object.entries(t) : [[e, t]]) : [];
1373
1373
  return /* @__PURE__ */ R("section", {
1374
- "aria-labelledby": C,
1375
- className: `wrap-anywhere ${_ ?? ""}`,
1374
+ "aria-labelledby": te,
1375
+ className: `wrap-anywhere ${v ?? ""}`,
1376
1376
  "data-structured-response": !0,
1377
1377
  children: [/* @__PURE__ */ L("h2", {
1378
- id: C,
1378
+ id: te,
1379
1379
  className: "sr-only",
1380
- children: g.input
1380
+ children: _.input
1381
1381
  }), /* @__PURE__ */ R("div", {
1382
1382
  className: "mx-auto flex w-full max-w-2xl min-w-0 flex-col gap-4",
1383
1383
  children: [
1384
- oe ? /* @__PURE__ */ L(f, { children: g.updated }) : null,
1385
- ie ? /* @__PURE__ */ L(f, {
1384
+ se ? /* @__PURE__ */ L(p, { children: _.updated }) : null,
1385
+ ae ? /* @__PURE__ */ L(p, {
1386
1386
  tone: "error",
1387
1387
  live: "assertive",
1388
- title: g.actionInvalid,
1389
- children: g.actionInvalidNote
1388
+ title: _.actionInvalid,
1389
+ children: _.actionInvalidNote
1390
1390
  }) : null,
1391
- a ? null : x || t === "done" ? S ? /* @__PURE__ */ L(X.Provider, {
1391
+ a ? null : S || t === "done" ? C ? /* @__PURE__ */ L(Z.Provider, {
1392
1392
  value: {
1393
1393
  blocked: i.stage !== "ready",
1394
1394
  available: new Set(Object.keys(n)),
1395
- captureInput: c,
1395
+ captureInput: l,
1396
1396
  initialValues: s
1397
1397
  },
1398
1398
  children: /* @__PURE__ */ L("div", {
1399
- className: S.$type === "Form" ? "min-w-0 rounded-surface border border-line-subtle bg-surface p-5 shadow-control sm:p-6" : "min-w-0",
1399
+ className: C.$type === "Form" ? "min-w-0 rounded-surface border border-line-subtle bg-surface p-5 shadow-control sm:p-6" : "min-w-0",
1400
1400
  hidden: i.stage !== "ready",
1401
1401
  "data-generative-content": !0,
1402
- children: pe(S, v, {
1402
+ children: me(C, y, {
1403
1403
  status: "done",
1404
1404
  dispatch: N
1405
1405
  })
1406
1406
  })
1407
- }) : /* @__PURE__ */ L(f, {
1407
+ }) : /* @__PURE__ */ L(p, {
1408
1408
  tone: e == null ? "neutral" : "error",
1409
- title: e == null ? g.empty : g.invalid,
1410
- actions: d ? /* @__PURE__ */ L(l, {
1411
- onPress: d,
1412
- children: g.retry
1409
+ title: e == null ? _.empty : _.invalid,
1410
+ actions: f ? /* @__PURE__ */ L(u, {
1411
+ onPress: f,
1412
+ children: _.retry
1413
1413
  }) : void 0,
1414
- children: e == null ? void 0 : g.invalidNote
1415
- }) : t === "error" ? /* @__PURE__ */ L(f, {
1414
+ children: e == null ? void 0 : _.invalidNote
1415
+ }) : t === "error" ? /* @__PURE__ */ L(p, {
1416
1416
  tone: "error",
1417
- title: g.invalid,
1418
- actions: d ? /* @__PURE__ */ L(l, {
1419
- onPress: d,
1420
- children: g.retry
1417
+ title: _.invalid,
1418
+ actions: f ? /* @__PURE__ */ L(u, {
1419
+ onPress: f,
1420
+ children: _.retry
1421
1421
  }) : void 0,
1422
- children: g.invalidNote
1422
+ children: _.invalidNote
1423
1423
  }) : /* @__PURE__ */ R("div", {
1424
1424
  role: "status",
1425
1425
  className: "flex flex-col gap-4 rounded-surface border border-line-subtle bg-surface p-6",
1426
1426
  children: [
1427
1427
  /* @__PURE__ */ R("div", {
1428
1428
  className: "flex items-center gap-3 type-body text-fg",
1429
- children: [/* @__PURE__ */ L(u, {}), g.loading]
1429
+ children: [/* @__PURE__ */ L(d, {}), _.loading]
1430
1430
  }),
1431
1431
  t === "streaming" ? /* @__PURE__ */ L("p", {
1432
1432
  className: "type-body text-fg-subtle",
1433
- children: g.streaming
1433
+ children: _.streaming
1434
1434
  }) : null,
1435
1435
  /* @__PURE__ */ R("div", {
1436
1436
  "aria-hidden": !0,
@@ -1451,17 +1451,17 @@ function $({ spec: e, status: t = "done", actions: n = Ue, controller: r, snapsh
1451
1451
  children: A ? /* @__PURE__ */ R("div", {
1452
1452
  className: "flex flex-col gap-5",
1453
1453
  "data-generative-result": !0,
1454
- children: [o ? null : /* @__PURE__ */ L(l, {
1454
+ children: [o ? null : /* @__PURE__ */ R(u, {
1455
1455
  size: "sm",
1456
- variant: "ghost",
1456
+ variant: "secondary",
1457
1457
  className: "self-start",
1458
1458
  onPress: () => r.reset(),
1459
- children: g.back
1459
+ children: [/* @__PURE__ */ L(c, {}), _.back]
1460
1460
  }), k]
1461
1461
  }) : j && ["submitting", "checking"].includes(i.stage) ? /* @__PURE__ */ R("div", {
1462
1462
  role: "status",
1463
1463
  className: "flex items-center gap-3 type-body text-fg",
1464
- children: [/* @__PURE__ */ L(u, {}), i.stage === "checking" ? g.checking : g.loading]
1464
+ children: [/* @__PURE__ */ L(d, {}), i.stage === "checking" ? _.checking : _.loading]
1465
1465
  }) : [
1466
1466
  "confirm",
1467
1467
  "submitting",
@@ -1471,7 +1471,7 @@ function $({ spec: e, status: t = "done", actions: n = Ue, controller: r, snapsh
1471
1471
  children: [
1472
1472
  /* @__PURE__ */ L("p", {
1473
1473
  className: "font-mono type-caption text-fg-subtle",
1474
- children: g.review
1474
+ children: _.review
1475
1475
  }),
1476
1476
  /* @__PURE__ */ L("h3", {
1477
1477
  className: "type-heading text-fg-emphasis",
@@ -1495,59 +1495,60 @@ function $({ spec: e, status: t = "done", actions: n = Ue, controller: r, snapsh
1495
1495
  }, n))
1496
1496
  }) : null,
1497
1497
  /* @__PURE__ */ R("div", {
1498
- className: "flex flex-wrap gap-3",
1499
- children: [/* @__PURE__ */ R(l, {
1498
+ className: "flex flex-wrap items-center gap-3",
1499
+ children: [/* @__PURE__ */ R(u, {
1500
+ variant: "secondary",
1501
+ isDisabled: i.stage !== "confirm",
1502
+ onPress: () => r.back(),
1503
+ children: [/* @__PURE__ */ L(c, {}), _.back]
1504
+ }), /* @__PURE__ */ R(u, {
1500
1505
  variant: "primary",
1506
+ className: "ml-auto",
1501
1507
  isDisabled: i.stage !== "confirm",
1502
1508
  "aria-busy": i.stage !== "confirm",
1503
- "aria-label": i.stage === "checking" ? g.checking : i.stage === "submitting" ? g.working : g.confirm,
1509
+ "aria-label": i.stage === "checking" ? _.checking : i.stage === "submitting" ? _.working : _.confirm,
1504
1510
  onPress: () => r.confirm(),
1505
- children: [i.stage === "confirm" ? null : /* @__PURE__ */ L(u, {}), i.stage === "checking" ? g.checking : i.stage === "submitting" ? g.working : g.confirm]
1506
- }), /* @__PURE__ */ L(l, {
1507
- variant: "ghost",
1508
- isDisabled: i.stage !== "confirm",
1509
- onPress: () => r.back(),
1510
- children: g.back
1511
+ children: [i.stage === "confirm" ? null : /* @__PURE__ */ L(d, {}), i.stage === "checking" ? _.checking : i.stage === "submitting" ? _.working : _.confirm]
1511
1512
  })]
1512
1513
  }),
1513
1514
  i.stage === "confirm" ? null : /* @__PURE__ */ L("p", {
1514
1515
  role: "status",
1515
1516
  className: "sr-only",
1516
- children: i.stage === "checking" ? g.checking : g.working
1517
+ children: i.stage === "checking" ? _.checking : _.working
1517
1518
  })
1518
1519
  ]
1519
- }) : i.stage === "failed" ? /* @__PURE__ */ L(f, {
1520
+ }) : i.stage === "failed" ? /* @__PURE__ */ L(p, {
1520
1521
  tone: "error",
1521
- title: g.failed,
1522
+ title: _.failed,
1522
1523
  live: "polite",
1523
- actions: /* @__PURE__ */ R(I, { children: [/* @__PURE__ */ L(l, {
1524
+ actions: /* @__PURE__ */ R(I, { children: [/* @__PURE__ */ L(u, {
1524
1525
  onPress: () => r.retry(),
1525
- children: g.retry
1526
- }), /* @__PURE__ */ L(l, {
1526
+ children: _.retry
1527
+ }), /* @__PURE__ */ L(u, {
1527
1528
  variant: "ghost",
1528
1529
  onPress: () => r.back(),
1529
- children: g.back
1530
+ children: _.back
1530
1531
  })] }),
1531
- children: i.message ?? g.failedNote
1532
- }) : i.stage === "uncertain" ? /* @__PURE__ */ L(f, {
1532
+ children: i.message ?? _.failedNote
1533
+ }) : i.stage === "uncertain" ? /* @__PURE__ */ L(p, {
1533
1534
  tone: "attention",
1534
- title: g.uncertain,
1535
+ title: _.uncertain,
1535
1536
  live: "polite",
1536
- actions: /* @__PURE__ */ R(I, { children: [i.request && n[i.request.action.type]?.lookup ? /* @__PURE__ */ L(l, {
1537
+ actions: /* @__PURE__ */ R(I, { children: [i.request && n[i.request.action.type]?.lookup ? /* @__PURE__ */ L(u, {
1537
1538
  onPress: () => r.check(),
1538
- children: g.check
1539
- }) : null, /* @__PURE__ */ L(l, {
1539
+ children: _.check
1540
+ }) : null, /* @__PURE__ */ L(u, {
1540
1541
  onPress: () => r.retry(),
1541
- children: g.retry
1542
+ children: _.retry
1542
1543
  })] }),
1543
- children: i.noReceipt ? g.noReceipt : g.uncertainNote
1544
- }) : /* @__PURE__ */ L(f, {
1544
+ children: i.noReceipt ? _.noReceipt : _.uncertainNote
1545
+ }) : /* @__PURE__ */ L(p, {
1545
1546
  tone: i.stage === "complete" ? "success" : "neutral",
1546
- title: i.stage === "complete" ? g.complete : g.dismissed,
1547
+ title: i.stage === "complete" ? _.complete : _.dismissed,
1547
1548
  live: "polite",
1548
- actions: o ? void 0 : /* @__PURE__ */ L(l, {
1549
+ actions: o ? void 0 : /* @__PURE__ */ L(u, {
1549
1550
  onPress: () => r.reset(),
1550
- children: g.back
1551
+ children: _.back
1551
1552
  }),
1552
1553
  children: i.message
1553
1554
  })
@@ -1557,4 +1558,4 @@ function $({ spec: e, status: t = "done", actions: n = Ue, controller: r, snapsh
1557
1558
  });
1558
1559
  }
1559
1560
  //#endregion
1560
- export { Se as GenerativeChart, we as GenerativeForm, xe as GenerativeTable, We as StructuredResponse, ve as chartSchema, Be as createGenerativeActionController, Ie as createSuperxdGenerativeLibrary, V as generativeCopy, J as nodeSchemas, Y as parseStructuredSpec, ye as tableSchema };
1561
+ export { Se as GenerativeChart, we as GenerativeForm, X as GenerativeTable, We as StructuredResponse, ye as chartSchema, Be as createGenerativeActionController, Ie as createSuperxdGenerativeLibrary, V as generativeCopy, J as nodeSchemas, Y as parseStructuredSpec, be as tableSchema };