@belonguniverseai/react-sdk 0.3.0 → 0.3.5

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 (67) hide show
  1. package/dist/api/client.d.ts +843 -251
  2. package/dist/api/task-schedules.d.ts +198 -23
  3. package/dist/component/{arc-CMhGaHbE.js → arc-6I9bTNTk.js} +2 -2
  4. package/dist/component/{architectureDiagram-3BPJPVTR-BPbeN6Nl.js → architectureDiagram-3BPJPVTR-DecTtp8M.js} +3 -3
  5. package/dist/component/{blockDiagram-GPEHLZMM-BVn0uHLE.js → blockDiagram-GPEHLZMM-D0ShJEdc.js} +4 -4
  6. package/dist/component/{c4Diagram-AAUBKEIU-D3XBTnJa.js → c4Diagram-AAUBKEIU-D-N4NLkS.js} +3 -3
  7. package/dist/component/{channel-DpI8-a3_.js → channel-BTRAV_iV.js} +2 -2
  8. package/dist/component/{chunk-2J33WTMH-Bqhv40NQ.js → chunk-2J33WTMH-Chgh4n6n.js} +2 -2
  9. package/dist/component/{chunk-4BX2VUAB-DtucQWno.js → chunk-4BX2VUAB-BR7BZW6m.js} +2 -2
  10. package/dist/component/{chunk-55IACEB6-CWb5s5u5.js → chunk-55IACEB6-D0_e3QRv.js} +2 -2
  11. package/dist/component/{chunk-727SXJPM-C83L2sLw.js → chunk-727SXJPM-Cooz66Ae.js} +6 -6
  12. package/dist/component/{chunk-AQP2D5EJ-D00bX5Fy.js → chunk-AQP2D5EJ-CAz4YEpg.js} +4 -4
  13. package/dist/component/{chunk-FMBD7UC4-CR6LCs0Q.js → chunk-FMBD7UC4-C8n0NV45.js} +2 -2
  14. package/dist/component/{chunk-ND2GUHAM-DUfRBvcM.js → chunk-ND2GUHAM-Di6RJblt.js} +2 -2
  15. package/dist/component/{chunk-QZHKN3VN-ZyFUERub.js → chunk-QZHKN3VN-Cii0zOyK.js} +2 -2
  16. package/dist/component/{classDiagram-4FO5ZUOK-nhACsjTQ.js → classDiagram-4FO5ZUOK-BIqkynKR.js} +3 -3
  17. package/dist/component/{classDiagram-v2-Q7XG4LA2-nhACsjTQ.js → classDiagram-v2-Q7XG4LA2-BIqkynKR.js} +3 -3
  18. package/dist/component/{cose-bilkent-S5V4N54A-CNyhXSKg.js → cose-bilkent-S5V4N54A-Dq3K4Kak.js} +2 -2
  19. package/dist/component/{dagre-BM42HDAG-Dr_3n4A9.js → dagre-BM42HDAG-KdRn-NQ2.js} +2 -2
  20. package/dist/component/{diagram-2AECGRRQ-Y2n2wNX9.js → diagram-2AECGRRQ-CeJVj827.js} +3 -3
  21. package/dist/component/{diagram-5GNKFQAL-DHwEARtq.js → diagram-5GNKFQAL-ceCtRhc4.js} +4 -4
  22. package/dist/component/{diagram-KO2AKTUF-JBQc-Qhk.js → diagram-KO2AKTUF-CU9xKIPR.js} +3 -3
  23. package/dist/component/{diagram-LMA3HP47-B55TgguV.js → diagram-LMA3HP47-CRZuMr0r.js} +3 -3
  24. package/dist/component/{diagram-OG6HWLK6-BjQ8Y6zl.js → diagram-OG6HWLK6-DdO8bLrY.js} +4 -4
  25. package/dist/component/{erDiagram-TEJ5UH35-BNl5eT59.js → erDiagram-TEJ5UH35-BnPlE6-i.js} +5 -5
  26. package/dist/component/{flowDiagram-I6XJVG4X-_bWa0zJX.js → flowDiagram-I6XJVG4X-Bi70muwl.js} +7 -7
  27. package/dist/component/{ganttDiagram-6RSMTGT7-D12wJRpv.js → ganttDiagram-6RSMTGT7-FjDKlQ-F.js} +3 -3
  28. package/dist/component/{gitGraphDiagram-PVQCEYII-CKGKNDkP.js → gitGraphDiagram-PVQCEYII-B9GAxjPJ.js} +4 -4
  29. package/dist/component/{highlighted-body-OFNGDK62-T6VnSue_.js → highlighted-body-OFNGDK62-DEhmLiFe.js} +2 -2
  30. package/dist/component/index.js +2 -2
  31. package/dist/component/{infoDiagram-5YYISTIA-CtbQ2PNx.js → infoDiagram-5YYISTIA-D_z8khpb.js} +2 -2
  32. package/dist/component/{ishikawaDiagram-YF4QCWOH-DWHoe0x7.js → ishikawaDiagram-YF4QCWOH-DHUQHc7h.js} +2 -2
  33. package/dist/component/{journeyDiagram-JHISSGLW-Y8U0aQ2t.js → journeyDiagram-JHISSGLW-BdPxTkII.js} +5 -5
  34. package/dist/component/{kanban-definition-UN3LZRKU-Cxa5quvJ.js → kanban-definition-UN3LZRKU-CXo8cG6_.js} +3 -3
  35. package/dist/component/{linear-Deqp7k-y.js → linear-azN-TF0f.js} +2 -2
  36. package/dist/component/{mermaid-GHXKKRXX-Bb3nq6cF.js → mermaid-GHXKKRXX-P_Te0BTc.js} +24921 -24800
  37. package/dist/component/{mindmap-definition-RKZ34NQL-CJO5YIaF.js → mindmap-definition-RKZ34NQL-CVTlgpwY.js} +4 -4
  38. package/dist/component/{pieDiagram-4H26LBE5-fLrS62rY.js → pieDiagram-4H26LBE5-BBqlJN3M.js} +4 -4
  39. package/dist/component/{quadrantDiagram-W4KKPZXB-BMjq2Lu4.js → quadrantDiagram-W4KKPZXB-Cq8G5gg8.js} +3 -3
  40. package/dist/component/{requirementDiagram-4Y6WPE33-BPUkO56k.js → requirementDiagram-4Y6WPE33-DE8meVq8.js} +4 -4
  41. package/dist/component/{sankeyDiagram-5OEKKPKP-ekNfY75x.js → sankeyDiagram-5OEKKPKP-rGv9060J.js} +2 -2
  42. package/dist/component/{sequenceDiagram-3UESZ5HK-CyVmC9Rm.js → sequenceDiagram-3UESZ5HK-CYZCqSg5.js} +4 -4
  43. package/dist/component/{stateDiagram-AJRCARHV-DFkc559m.js → stateDiagram-AJRCARHV-7PfYQio8.js} +3 -3
  44. package/dist/component/{stateDiagram-v2-BHNVJYJU-DyEtRcsV.js → stateDiagram-v2-BHNVJYJU-Bc8Y618M.js} +3 -3
  45. package/dist/component/{timeline-definition-PNZ67QCA-BDLP-x66.js → timeline-definition-PNZ67QCA-DDLIgmb4.js} +3 -3
  46. package/dist/component/{vennDiagram-CIIHVFJN-Bvhzsn8q.js → vennDiagram-CIIHVFJN-BPKi69Hn.js} +2 -2
  47. package/dist/component/{wardleyDiagram-YWT4CUSO-SKdyvNF1.js → wardleyDiagram-YWT4CUSO-Dumz_-ib.js} +3 -3
  48. package/dist/component/{xychartDiagram-2RQKCTM6-DHchnrpW.js → xychartDiagram-2RQKCTM6-DQGacrwk.js} +3 -3
  49. package/dist/components/embed/BrandMark.d.ts +13 -4
  50. package/dist/components/embed/HeavyPreview.d.ts +6 -0
  51. package/dist/components/embed/preview-content-kind.d.ts +5 -5
  52. package/dist/components/scheduled/ScheduledDetailSurface.d.ts +4 -1
  53. package/dist/components/scheduled/schedule-dialog-model.d.ts +6 -1
  54. package/dist/components/scheduled/schedule-format.d.ts +5 -1
  55. package/dist/embed/copy.d.ts +2 -0
  56. package/dist/embed/locale.d.ts +3 -1
  57. package/dist/embed/logo.d.ts +7 -1
  58. package/dist/embed/slash-commands.d.ts +44 -9
  59. package/dist/i18n/messages/en.d.ts +12 -10
  60. package/dist/i18n/messages/surfaces/aiElements.d.ts +3 -0
  61. package/dist/i18n/messages/surfaces/scheduled.d.ts +30 -0
  62. package/dist/i18n/messages/surfaces/stream.d.ts +3 -30
  63. package/dist/stream/ai-sdk-part-renderers.d.ts +8 -20
  64. package/dist/stream/belong-data-parts.d.ts +1 -1
  65. package/dist/stream/sandbox-output.d.ts +8 -4
  66. package/dist/types/public.d.ts +6 -1
  67. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { g as oe } from "./chunk-55IACEB6-CWb5s5u5.js";
2
- import { s as ae } from "./chunk-2J33WTMH-Bqhv40NQ.js";
3
- import { _ as l, l as C, p as ce, r as le, G as he, K as G, c as B, i as F, b6 as de, af as ge, ag as ue, ah as pe } from "./mermaid-GHXKKRXX-Bb3nq6cF.js";
1
+ import { g as oe } from "./chunk-55IACEB6-D0_e3QRv.js";
2
+ import { s as ae } from "./chunk-2J33WTMH-Chgh4n6n.js";
3
+ import { _ as l, l as C, p as ce, r as le, G as he, K as G, c as B, i as F, b6 as de, af as ge, ag as ue, ah as pe } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
4
4
  globalThis.process = globalThis.process || { env: {} };
5
5
  globalThis.global = globalThis.global || globalThis;
6
6
  const b = [];
@@ -830,4 +830,4 @@ var _e = Y, ke = 12, N = {
830
830
  export {
831
831
  we as diagram
832
832
  };
833
- //# sourceMappingURL=mindmap-definition-RKZ34NQL-CJO5YIaF.js.map
833
+ //# sourceMappingURL=mindmap-definition-RKZ34NQL-CVTlgpwY.js.map
@@ -1,7 +1,7 @@
1
- import { a0 as S, S as R, b5 as J, g as Q, s as Y, a as tt, b as et, t as at, q as nt, _ as g, l as W, c as rt, I as it, N as st, a7 as lt, e as ot, B as ct, K as ut } from "./mermaid-GHXKKRXX-Bb3nq6cF.js";
2
- import { p as gt } from "./chunk-4BX2VUAB-DtucQWno.js";
1
+ import { a0 as S, S as R, b5 as J, g as Q, s as Y, a as tt, b as et, t as at, q as nt, _ as g, l as W, c as rt, I as it, N as st, a7 as lt, e as ot, B as ct, K as ut } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
+ import { p as gt } from "./chunk-4BX2VUAB-BR7BZW6m.js";
3
3
  import { p as dt } from "./wardley-L42UT6IY-HA1eSIS_.js";
4
- import { d as P } from "./arc-CMhGaHbE.js";
4
+ import { d as P } from "./arc-6I9bTNTk.js";
5
5
  import { o as pt } from "./ordinal-D0x7izaa.js";
6
6
  globalThis.process = globalThis.process || { env: {} };
7
7
  globalThis.global = globalThis.global || globalThis;
@@ -163,4 +163,4 @@ var vt = ut.pie, z = {
163
163
  export {
164
164
  Lt as diagram
165
165
  };
166
- //# sourceMappingURL=pieDiagram-4H26LBE5-fLrS62rY.js.map
166
+ //# sourceMappingURL=pieDiagram-4H26LBE5-BBqlJN3M.js.map
@@ -1,5 +1,5 @@
1
- import { s as Se, g as _e, t as ee, q as Ae, a as ke, b as Fe, _ as r, c as Et, l as qt, d as vt, e as Pe, B as ve, K as z, i as Ce, a4 as Le } from "./mermaid-GHXKKRXX-Bb3nq6cF.js";
2
- import { l as te } from "./linear-Deqp7k-y.js";
1
+ import { s as Se, g as _e, t as ee, q as Ae, a as ke, b as Fe, _ as r, c as Et, l as qt, d as vt, e as Pe, B as ve, K as z, i as Ce, a4 as Le } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
+ import { l as te } from "./linear-azN-TF0f.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var Ct = (function() {
@@ -1030,4 +1030,4 @@ var Ve = /* @__PURE__ */ r(function() {
1030
1030
  export {
1031
1031
  We as diagram
1032
1032
  };
1033
- //# sourceMappingURL=quadrantDiagram-W4KKPZXB-BMjq2Lu4.js.map
1033
+ //# sourceMappingURL=quadrantDiagram-W4KKPZXB-Cq8G5gg8.js.map
@@ -1,6 +1,6 @@
1
- import { g as Ge } from "./chunk-55IACEB6-CWb5s5u5.js";
2
- import { s as ze } from "./chunk-2J33WTMH-Bqhv40NQ.js";
3
- import { _ as h, G as Ye, b as Xe, a as Je, s as Ze, g as et, q as tt, t as st, c as ke, l as Ne, B as it, F as rt, p as nt, r as at, u as lt } from "./mermaid-GHXKKRXX-Bb3nq6cF.js";
1
+ import { g as Ge } from "./chunk-55IACEB6-D0_e3QRv.js";
2
+ import { s as ze } from "./chunk-2J33WTMH-Chgh4n6n.js";
3
+ import { _ as h, G as Ye, b as Xe, a as Je, s as Ze, g as et, q as tt, t as st, c as ke, l as Ne, B as it, F as rt, p as nt, r as at, u as lt } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
4
4
  globalThis.process = globalThis.process || { env: {} };
5
5
  globalThis.global = globalThis.global || globalThis;
6
6
  var qe = (function() {
@@ -885,4 +885,4 @@ var mt = /* @__PURE__ */ h(async function(e, u, o, n) {
885
885
  export {
886
886
  Rt as diagram
887
887
  };
888
- //# sourceMappingURL=requirementDiagram-4Y6WPE33-BPUkO56k.js.map
888
+ //# sourceMappingURL=requirementDiagram-4Y6WPE33-DE8meVq8.js.map
@@ -1,4 +1,4 @@
1
- import { q as kt, t as mt, s as xt, g as _t, b as vt, a as bt, _ as y, c as ot, C as St, d as G, ai as wt, B as Lt, k as Et } from "./mermaid-GHXKKRXX-Bb3nq6cF.js";
1
+ import { q as kt, t as mt, s as xt, g as _t, b as vt, a as bt, _ as y, c as ot, C as St, d as G, ai as wt, B as Lt, k as Et } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
2
  import { o as Tt } from "./ordinal-D0x7izaa.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
@@ -859,4 +859,4 @@ var ge = {
859
859
  export {
860
860
  ge as diagram
861
861
  };
862
- //# sourceMappingURL=sankeyDiagram-5OEKKPKP-ekNfY75x.js.map
862
+ //# sourceMappingURL=sankeyDiagram-5OEKKPKP-rGv9060J.js.map
@@ -1,6 +1,6 @@
1
- import { _ as g, o as tr, c as $, d as Mt, l as at, j as Ce, e as er, f as rr, k as P, b as ke, s as ar, q as sr, a as ir, g as nr, t as or, v as cr, J as lr, B as hr, i as Bt, u as Z, a5 as Q, a6 as wt, a7 as Me, a8 as dr, G as Yt, a9 as Tr, aa as Be } from "./mermaid-GHXKKRXX-Bb3nq6cF.js";
2
- import { a as pr, b as ee, g as dt, d as Er, e as re, f as ae } from "./chunk-ND2GUHAM-DUfRBvcM.js";
3
- import { I as ur } from "./chunk-QZHKN3VN-ZyFUERub.js";
1
+ import { _ as g, o as tr, c as $, d as Mt, l as at, j as Ce, e as er, f as rr, k as P, b as ke, s as ar, q as sr, a as ir, g as nr, t as or, v as cr, J as lr, B as hr, i as Bt, u as Z, a5 as Q, a6 as wt, a7 as Me, a8 as dr, G as Yt, a9 as Tr, aa as Be } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
+ import { a as pr, b as ee, g as dt, d as Er, e as re, f as ae } from "./chunk-ND2GUHAM-Di6RJblt.js";
3
+ import { I as ur } from "./chunk-QZHKN3VN-Cii0zOyK.js";
4
4
  globalThis.process = globalThis.process || { env: {} };
5
5
  globalThis.global = globalThis.global || globalThis;
6
6
  var $t = (function() {
@@ -2894,4 +2894,4 @@ var ra = /* @__PURE__ */ g(async function(e, t, a) {
2894
2894
  export {
2895
2895
  Ta as diagram
2896
2896
  };
2897
- //# sourceMappingURL=sequenceDiagram-3UESZ5HK-CyVmC9Rm.js.map
2897
+ //# sourceMappingURL=sequenceDiagram-3UESZ5HK-CYZCqSg5.js.map
@@ -1,5 +1,5 @@
1
- import { s as R, a as W, S as N } from "./chunk-AQP2D5EJ-D00bX5Fy.js";
2
- import { _ as f, c as t, d as M, l as S, e as P, k as z, ac as _, ad as U, a9 as C, u as F } from "./mermaid-GHXKKRXX-Bb3nq6cF.js";
1
+ import { s as R, a as W, S as N } from "./chunk-AQP2D5EJ-CAz4YEpg.js";
2
+ import { _ as f, c as t, d as M, l as S, e as P, k as z, ac as _, ad as U, a9 as C, u as F } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
3
3
  import { G as O } from "./graph-BZLHvygk.js";
4
4
  import { l as J } from "./layout-Bu6nRdWm.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
@@ -263,4 +263,4 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
263
263
  export {
264
264
  ot as diagram
265
265
  };
266
- //# sourceMappingURL=stateDiagram-AJRCARHV-DFkc559m.js.map
266
+ //# sourceMappingURL=stateDiagram-AJRCARHV-7PfYQio8.js.map
@@ -1,5 +1,5 @@
1
- import { s as e, b as r, a as s, S as t } from "./chunk-AQP2D5EJ-D00bX5Fy.js";
2
- import { _ as l } from "./mermaid-GHXKKRXX-Bb3nq6cF.js";
1
+ import { s as e, b as r, a as s, S as t } from "./chunk-AQP2D5EJ-CAz4YEpg.js";
2
+ import { _ as l } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var b = {
@@ -16,4 +16,4 @@ var b = {
16
16
  export {
17
17
  b as diagram
18
18
  };
19
- //# sourceMappingURL=stateDiagram-v2-BHNVJYJU-DyEtRcsV.js.map
19
+ //# sourceMappingURL=stateDiagram-v2-BHNVJYJU-Bc8Y618M.js.map
@@ -1,5 +1,5 @@
1
- import { _ as o, G as gt, af as Rt, ag as Ct, ah as Wt, c as pt, l as E, N as Pt, a7 as Bt, ai as ft, d as U, F as Vt, aj as Ft, B as zt } from "./mermaid-GHXKKRXX-Bb3nq6cF.js";
2
- import { d as ot } from "./arc-CMhGaHbE.js";
1
+ import { _ as o, G as gt, af as Rt, ag as Ct, ah as Wt, c as pt, l as E, N as Pt, a7 as Bt, ai as ft, d as U, F as Vt, aj as Ft, B as zt } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
+ import { d as ot } from "./arc-6I9bTNTk.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var tt = (function() {
@@ -1055,4 +1055,4 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
1055
1055
  export {
1056
1056
  me as diagram
1057
1057
  };
1058
- //# sourceMappingURL=timeline-definition-PNZ67QCA-BDLP-x66.js.map
1058
+ //# sourceMappingURL=timeline-definition-PNZ67QCA-DDLIgmb4.js.map
@@ -1,4 +1,4 @@
1
- import { aX as Gt, s as Wt, g as Kt, t as Ht, q as Xt, a as Yt, b as Zt, _ as w, G as wt, N as Jt, d as ot, ao as Qt, af as $t, ag as te, ah as ee, e as ne, B as se, I as ie, K as oe } from "./mermaid-GHXKKRXX-Bb3nq6cF.js";
1
+ import { aX as Gt, s as Wt, g as Kt, t as Ht, q as Xt, a as Yt, b as Zt, _ as w, G as wt, N as Jt, d as ot, ao as Qt, af as $t, ag as te, ah as ee, e as ne, B as se, I as ie, K as oe } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  const kt = (t, n) => Gt(t, "a", -n), _t = 1e-10;
@@ -1557,4 +1557,4 @@ var qe = { draw: Ve }, Ge = {
1557
1557
  export {
1558
1558
  Ge as diagram
1559
1559
  };
1560
- //# sourceMappingURL=vennDiagram-CIIHVFJN-Bvhzsn8q.js.map
1560
+ //# sourceMappingURL=vennDiagram-CIIHVFJN-BPKi69Hn.js.map
@@ -1,5 +1,5 @@
1
- import { s as St, g as Mt, t as Nt, q as Tt, a as zt, b as Lt, _ as u, a4 as At, G as Xt, I as U, l as K, N as Et, e as Yt, B as It, c as j } from "./mermaid-GHXKKRXX-Bb3nq6cF.js";
2
- import { p as Bt } from "./chunk-4BX2VUAB-DtucQWno.js";
1
+ import { s as St, g as Mt, t as Nt, q as Tt, a as zt, b as Lt, _ as u, a4 as At, G as Xt, I as U, l as K, N as Et, e as Yt, B as It, c as j } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
+ import { p as Bt } from "./chunk-4BX2VUAB-BR7BZW6m.js";
3
3
  import { p as Ft } from "./wardley-L42UT6IY-HA1eSIS_.js";
4
4
  globalThis.process = globalThis.process || { env: {} };
5
5
  globalThis.global = globalThis.global || globalThis;
@@ -678,4 +678,4 @@ var Dt = {
678
678
  export {
679
679
  Qt as diagram
680
680
  };
681
- //# sourceMappingURL=wardleyDiagram-YWT4CUSO-SKdyvNF1.js.map
681
+ //# sourceMappingURL=wardleyDiagram-YWT4CUSO-Dumz_-ib.js.map
@@ -1,7 +1,7 @@
1
- import { s as ei, g as si, t as Lt, q as ni, a as ai, b as oi, _ as a, l as Et, N as ri, e as hi, B as li, G as dt, i as ci, I as It, K as ui, a4 as gi, ap as xi, ac as Rt } from "./mermaid-GHXKKRXX-Bb3nq6cF.js";
1
+ import { s as ei, g as si, t as Lt, q as ni, a as ai, b as oi, _ as a, l as Et, N as ri, e as hi, B as li, G as dt, i as ci, I as It, K as ui, a4 as gi, ap as xi, ac as Rt } from "./mermaid-GHXKKRXX-P_Te0BTc.js";
2
2
  import { i as di } from "./init-BOu0eQYQ.js";
3
3
  import { o as fi } from "./ordinal-D0x7izaa.js";
4
- import { l as Dt } from "./linear-Deqp7k-y.js";
4
+ import { l as Dt } from "./linear-azN-TF0f.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
6
6
  globalThis.global = globalThis.global || globalThis;
7
7
  function pi(t, i, e) {
@@ -1372,4 +1372,4 @@ var Ti = /* @__PURE__ */ a(function() {
1372
1372
  export {
1373
1373
  Mi as diagram
1374
1374
  };
1375
- //# sourceMappingURL=xychartDiagram-2RQKCTM6-DHchnrpW.js.map
1375
+ //# sourceMappingURL=xychartDiagram-2RQKCTM6-DQGacrwk.js.map
@@ -1,10 +1,19 @@
1
1
  /**
2
- * Renders the active brand mark. When the theme supplies a `logo` data-URL we
3
- * render it in an `<img>` (SVG-in-img can't execute script — safe). With no
4
- * logo (or an empty string) we fall back to the built-in Belong mark.
2
+ * Renders the active brand mark, in precedence order:
3
+ *
4
+ * 1. `logo` — a safe `data:` URL, rendered in an `<img>` (SVG-in-img
5
+ * can't execute script — safe; the value is perimeter-guarded
6
+ * upstream by `isSafeLogoDataUrl`).
7
+ * 2. `initials` — a 1–3 letter chip on the brand primary colour, when the
8
+ * tenant supplied initials but no logo.
9
+ * 3. baked BelongMark — the built-in fallback when neither is present.
10
+ *
11
+ * The initials chip reads `--color-primary` / `--color-primary-foreground` from
12
+ * the dock's projected theme vars, so it re-tints per tenant automatically.
5
13
  */
6
- export declare function BrandMark({ logo, size, alt, className, }: {
14
+ export declare function BrandMark({ logo, initials, size, alt, className, }: {
7
15
  logo?: string;
16
+ initials?: string;
8
17
  size?: number;
9
18
  alt?: string;
10
19
  className?: string;
@@ -0,0 +1,6 @@
1
+ export declare const HeavyPreview: ({ resourcePath, filename, }: {
2
+ /** Bearer-authed API path prefix owning the preview endpoints, e.g.
3
+ * `/v1/files/<fileId>` or `/v1/artifacts/<artifactId>`. */
4
+ readonly resourcePath: string;
5
+ readonly filename: string;
6
+ }) => import("react").JSX.Element;
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * Pure media-type → preview-render decision for the artifact preview panel.
3
3
  *
4
- * Delegates to `filePreviewKind` and maps `heavy` (office formats requiring
5
- * the LibreOffice converter the panel lacks) to `download`. The panel renders
6
- * html/pdf/markdown/code/images inline; sql renders as inline code;
7
- * everything else is download-only.
4
+ * Delegates to `filePreviewKind` and maps `heavy` (office formats) to `office`.
5
+ * The panel renders html/pdf/markdown/code/images inline; sql renders as inline
6
+ * code; office files are rendered via the artifact preview endpoints (server-side
7
+ * LibreOffice conversion); everything else is download-only.
8
8
  * Exported + unit tested because it's the part most likely to regress.
9
9
  */
10
- export type PreviewContentKind = "html" | "pdf" | "markdown" | "image" | "json" | "csv" | "sql" | "text" | "download";
10
+ export type PreviewContentKind = "html" | "pdf" | "markdown" | "image" | "json" | "csv" | "sql" | "text" | "office" | "download";
11
11
  export declare const previewContentKind: (mimeType: string) => PreviewContentKind;
12
12
  /** Whether the panel can show an inline preview (vs. download-only). Pure. */
13
13
  export declare const isPreviewable: (mimeType: string) => boolean;
@@ -1,4 +1,7 @@
1
- import { TaskScheduleRun } from '../../api/task-schedules.ts';
1
+ import { TaskScheduleDetail, TaskScheduleRun } from '../../api/task-schedules.ts';
2
+ export declare const CustomEmailIndicator: (props: {
3
+ readonly notification: TaskScheduleDetail["notification"];
4
+ }) => import("react").JSX.Element | null;
2
5
  export declare const RunCard: (props: {
3
6
  readonly run: TaskScheduleRun;
4
7
  readonly scheduleTitle: string;
@@ -1,4 +1,6 @@
1
1
  import { RecurrenceKind, TaskScheduleDetail } from '../../api/task-schedules.ts';
2
+ /** Default the interval-minutes control lands on before the user picks (BEL-157). */
3
+ export declare const DEFAULT_INTERVAL_MINUTES = 10;
2
4
  export type ScheduleDialogInputs = {
3
5
  readonly title: string;
4
6
  readonly message: string;
@@ -6,6 +8,9 @@ export type ScheduleDialogInputs = {
6
8
  readonly time: string;
7
9
  readonly timezone: string;
8
10
  readonly recurrence: RecurrenceKind;
11
+ /** Only meaningful when `recurrence === "interval"`; carried always so the
12
+ * control keeps its value while the user toggles kinds. */
13
+ readonly intervalMinutes: number;
9
14
  };
10
15
  export declare const scheduleDialogInputs: (schedule: TaskScheduleDetail) => ScheduleDialogInputs;
11
- export declare const scheduleTimeShapeChanged: (schedule: TaskScheduleDetail, input: Pick<ScheduleDialogInputs, "date" | "time" | "timezone" | "recurrence">) => boolean;
16
+ export declare const scheduleTimeShapeChanged: (schedule: TaskScheduleDetail, input: Pick<ScheduleDialogInputs, "date" | "time" | "timezone" | "recurrence" | "intervalMinutes">) => boolean;
@@ -15,10 +15,14 @@ export declare const recurrenceSummaryParams: (input: {
15
15
  readonly referenceIso: string;
16
16
  readonly timezone: string;
17
17
  readonly locale: Locale;
18
+ /** Interval width — only read for the `interval` kind. */
19
+ readonly intervalMinutes: number | null;
18
20
  }) => {
19
- readonly key: `scheduled.summary${"Once" | "Daily" | "Weekdays" | "Weekly"}`;
21
+ readonly key: `scheduled.summary${"Once" | "Daily" | "Weekdays" | "Weekly" | "Interval" | "Manual"}`;
20
22
  readonly time: string;
21
23
  readonly day: string;
24
+ /** Interval width for the `Interval` message (0 for other kinds). */
25
+ readonly minutes: number;
22
26
  };
23
27
  /** Viewer-relative phrasing for an instant ("in 3 days", "tomorrow"). */
24
28
  export declare const relativeToNow: (iso: string, locale: Locale, nowMs?: number) => string;
@@ -86,6 +86,8 @@ export type MenuCopy = {
86
86
  * "start from a skill" index that replaces the generic suggestion chips). */
87
87
  export type SkillsPanelCopy = {
88
88
  readonly heading: string;
89
+ /** The "All" group filter chip (shown when skills span multiple groups). */
90
+ readonly all: string;
89
91
  /** Footer when the table is truncated: "+N more — type / to see all". */
90
92
  readonly more: (hiddenCount: number) => string;
91
93
  /** Footer when every skill fits: how to reach the full index later. */
@@ -3,7 +3,9 @@ export type Locale = BelongLocale;
3
3
  export declare const DEFAULT_LOCALE: Locale;
4
4
  /** Every locale the dock ships, in toggle/picker order. The one place to
5
5
  * register a new language — the Zod perimeter check and every locale
6
- * picker (rail cycle button, avatar menu, welcome card) read from here. */
6
+ * picker (rail cycle button, avatar menu, welcome card) read from here.
7
+ * Tied to the codec's `DOCK_LOCALES`: the `satisfies` below pins SDK ⊆
8
+ * codec at compile time and locale.test.ts asserts full set equality. */
7
9
  export declare const SUPPORTED_LOCALES: readonly ["en", "es", "pt"];
8
10
  /** Narrow an untrusted value (attribute, storage, navigator) to a Locale. */
9
11
  export declare const parseLocale: (value: unknown) => Locale | null;
@@ -1 +1,7 @@
1
- export declare const isSafeLogoDataUrl: (value: string) => boolean;
1
+ /**
2
+ * Brand-logo perimeter guard (§4). The definitions moved to the shared
3
+ * `@belong/codec/theme` contract so the server (publish-time + `loadTheme`) and
4
+ * the SDK enforce the SAME safe-logo rule. This module re-exports them so
5
+ * existing SDK imports (`embed/theme.ts`, `logo.test.ts`) stay stable.
6
+ */
7
+ export { SAFE_LOGO_PREFIXES, isSafeLogoDataUrl } from '@belong/codec/theme';
@@ -43,21 +43,56 @@ export declare const parseBuiltinCommand: (draft: string) => BuiltinCommand | nu
43
43
  * The slash menu's option list: built-ins merged ahead of the skills, ranked
44
44
  * by {@link filterSkills} (prefix matches first; input order — built-ins
45
45
  * before skills — breaks ties within each bucket).
46
+ *
47
+ * `includeBuiltins` (default `true`) gates the built-in group. Built-ins are
48
+ * parsed by {@link parseBuiltinCommand} against the SUBMITTED draft, which
49
+ * only recognizes a LEADING `/command` — a mid-message token (`please
50
+ * /clear`) can never match one. Offering `/clear` there is a dead end: the
51
+ * picked token splices `please /clear ` into the draft, which then posts as
52
+ * raw text instead of running the command. Callers pass `false` for a
53
+ * mid-message token (caller determines "leading" from the token's `start`
54
+ * offset); the voice `invoke_skill` resolver (chat.tsx) always dispatches a
55
+ * synthesized leading `/name` and keeps the default.
46
56
  */
47
- export declare const filterSlashOptions: (skills: readonly SkillSummary[], query: string) => readonly SkillSummary[];
48
- /** The token after a leading `/`, or null when not in slash-command mode. */
49
- export declare const slashQuery: (draft: string) => string | null;
57
+ export declare const filterSlashOptions: (skills: readonly SkillSummary[], query: string, includeBuiltins?: boolean) => readonly SkillSummary[];
58
+ /** An active `/`-command token: the `/` at [start], caret at [end], `query` between. */
59
+ export type SlashTokenMatch = {
60
+ readonly query: string;
61
+ readonly start: number;
62
+ readonly end: number;
63
+ };
64
+ /**
65
+ * Detect a `/command` being typed at `caret` within `text` — ANYWHERE in the
66
+ * draft, not just at the start (mirrors {@link atMentionMatch}). The `/` must
67
+ * start the text or follow whitespace (so `https://x` and `a/b` never
68
+ * trigger), and the run from `/` to the caret must contain no whitespace.
69
+ */
70
+ export declare const slashTokenMatch: (text: string, caret: number) => SlashTokenMatch | null;
50
71
  /**
51
- * Parse a submitted draft that begins with a picked skill token (`/<name> …`).
52
- * Returns the matched skill and the remaining message text when `<name>` is one
53
- * of the known skills, else null (so a normal message — or a slash token that
54
- * is not a real skill — is sent unchanged). The skill is carried structurally
55
- * to the backend; the leading `/<name>` is never sent as text (it collides with
56
- * the Claude Agent SDK runtime's own slash-command parser).
72
+ * Replace the matched `/query` token with `/<name> ` (trailing space commits
73
+ * the pick); returns the new draft + caret past the space. A space already at
74
+ * the splice point is absorbed. Mirrors {@link applyMention}.
75
+ */
76
+ export declare const applySlashCommand: (text: string, match: SlashTokenMatch, name: string) => {
77
+ readonly text: string;
78
+ readonly caret: number;
79
+ };
80
+ /**
81
+ * Extract the FIRST `/name` token — anywhere in the draft — matching a known
82
+ * skill. Returns the skill + the draft with the token spliced out, or null
83
+ * (the draft posts unchanged). The skill travels structurally; the token text
84
+ * never reaches the runtime (its slash parser would reject it).
57
85
  */
58
86
  export declare const parseSlashSubmission: (draft: string, skills: readonly SkillSummary[]) => {
59
87
  readonly skill: string;
60
88
  readonly text: string;
61
89
  } | null;
90
+ /**
91
+ * Workspace-tree commands are parsed by the WORKER-side runtime, which only
92
+ * recognizes a LEADING `/command`. A known command token found mid-message is
93
+ * hoisted to the front (rest of the draft becomes its arguments) so
94
+ * "/command works anywhere" holds for commands too.
95
+ */
96
+ export declare const hoistCommandSubmission: (draft: string, commands: readonly CommandSummary[]) => string;
62
97
  /** Name-prefix matches first, then other name/description substring matches. */
63
98
  export declare const filterSkills: (skills: readonly SkillSummary[], query: string) => readonly SkillSummary[];
@@ -54,18 +54,9 @@ export declare const en: {
54
54
  readonly browserAwaitProcessed: "Waited for processing";
55
55
  readonly browserAssertCreated: "Checked for an existing resource";
56
56
  readonly failedBadge: "failed";
57
- readonly failedCount_one: "{{count}} failed";
58
- readonly failedCount_other: "{{count}} failed";
59
- readonly workedOnPageSteps_one: "Worked on the page · {{count}} step";
60
- readonly workedOnPageSteps_other: "Worked on the page · {{count}} steps";
57
+ readonly executingTasks: "Working on it…";
61
58
  readonly workedSteps_one: "Worked · {{count}} step";
62
59
  readonly workedSteps_other: "Worked · {{count}} steps";
63
- readonly workingSteps_one: "Working… · {{count}} step";
64
- readonly workingSteps_other: "Working… · {{count}} steps";
65
- readonly ranCommands_one: "Ran {{count}} command";
66
- readonly ranCommands_other: "Ran {{count}} commands";
67
- readonly runningCommands_one: "Running {{count}} command…";
68
- readonly runningCommands_other: "Running {{count}} commands…";
69
60
  readonly open: "Open";
70
61
  readonly reconnectNeeded: "The {{provider}} session needs reconnecting to continue.";
71
62
  readonly reconnect: "Reconnect";
@@ -115,15 +106,25 @@ export declare const en: {
115
106
  readonly lastRun: "Last run {{time}}";
116
107
  readonly dayAtTime: "{{day}} at {{time}}";
117
108
  readonly pausedNotice: "Paused — runs won't start until you resume.";
109
+ readonly customEmailLabel: "Custom email enabled";
110
+ readonly customEmailDescription: "Each run reads the latest version of this template and sends an email only when its condition matches.";
111
+ readonly customEmailTemplate: "HTML template";
118
112
  readonly summaryOnce: "Once on {{time}}";
119
113
  readonly summaryDaily: "Daily at {{time}}";
120
114
  readonly summaryWeekdays: "Weekdays at {{time}}";
121
115
  readonly summaryWeekly: "Every {{day}} at {{time}}";
116
+ readonly summaryInterval: "Every {{minutes}} min";
117
+ readonly summaryManual: "Manual only";
122
118
  readonly timezoneSuffix: "({{timezone}})";
123
119
  readonly recurrenceNone: "Does not repeat";
124
120
  readonly recurrenceDaily: "Daily";
125
121
  readonly recurrenceWeekdays: "Weekdays (Mon–Fri)";
126
122
  readonly recurrenceWeekly: "Weekly";
123
+ readonly recurrenceInterval: "Custom interval";
124
+ readonly recurrenceManual: "Manual only";
125
+ readonly intervalLabel: "Run every (minutes)";
126
+ readonly intervalHint: "Between 1 and 1440 minutes.";
127
+ readonly manualHint: "Runs only when you trigger it — never automatically.";
127
128
  readonly dialogCreateTitle: "New scheduled task";
128
129
  readonly dialogEditTitle: "Edit scheduled task";
129
130
  readonly dialogHint: "You can change this later.";
@@ -354,6 +355,7 @@ export declare const en: {
354
355
  readonly terminalExitCode: "exit {{exitCode}}";
355
356
  readonly terminalFailed: "failed";
356
357
  readonly terminalRunning: "running…";
358
+ readonly terminalStillRunning: "still running…";
357
359
  readonly copyCommand: "Copy command";
358
360
  readonly waitingForOutput: "waiting for output…";
359
361
  readonly previousBranch: "Previous branch";
@@ -42,6 +42,7 @@ export declare const aiElementsEn: {
42
42
  readonly terminalExitCode: "exit {{exitCode}}";
43
43
  readonly terminalFailed: "failed";
44
44
  readonly terminalRunning: "running…";
45
+ readonly terminalStillRunning: "still running…";
45
46
  readonly copyCommand: "Copy command";
46
47
  readonly waitingForOutput: "waiting for output…";
47
48
  readonly previousBranch: "Previous branch";
@@ -92,6 +93,7 @@ export declare const aiElementsEs: {
92
93
  terminalExitCode: string;
93
94
  terminalFailed: string;
94
95
  terminalRunning: string;
96
+ terminalStillRunning: string;
95
97
  copyCommand: string;
96
98
  waitingForOutput: string;
97
99
  previousBranch: string;
@@ -142,6 +144,7 @@ export declare const aiElementsPt: {
142
144
  terminalExitCode: string;
143
145
  terminalFailed: string;
144
146
  terminalRunning: string;
147
+ terminalStillRunning: string;
145
148
  copyCommand: string;
146
149
  waitingForOutput: string;
147
150
  previousBranch: string;
@@ -23,15 +23,25 @@ export declare const scheduledEn: {
23
23
  readonly lastRun: "Last run {{time}}";
24
24
  readonly dayAtTime: "{{day}} at {{time}}";
25
25
  readonly pausedNotice: "Paused — runs won't start until you resume.";
26
+ readonly customEmailLabel: "Custom email enabled";
27
+ readonly customEmailDescription: "Each run reads the latest version of this template and sends an email only when its condition matches.";
28
+ readonly customEmailTemplate: "HTML template";
26
29
  readonly summaryOnce: "Once on {{time}}";
27
30
  readonly summaryDaily: "Daily at {{time}}";
28
31
  readonly summaryWeekdays: "Weekdays at {{time}}";
29
32
  readonly summaryWeekly: "Every {{day}} at {{time}}";
33
+ readonly summaryInterval: "Every {{minutes}} min";
34
+ readonly summaryManual: "Manual only";
30
35
  readonly timezoneSuffix: "({{timezone}})";
31
36
  readonly recurrenceNone: "Does not repeat";
32
37
  readonly recurrenceDaily: "Daily";
33
38
  readonly recurrenceWeekdays: "Weekdays (Mon–Fri)";
34
39
  readonly recurrenceWeekly: "Weekly";
40
+ readonly recurrenceInterval: "Custom interval";
41
+ readonly recurrenceManual: "Manual only";
42
+ readonly intervalLabel: "Run every (minutes)";
43
+ readonly intervalHint: "Between 1 and 1440 minutes.";
44
+ readonly manualHint: "Runs only when you trigger it — never automatically.";
35
45
  readonly dialogCreateTitle: "New scheduled task";
36
46
  readonly dialogEditTitle: "Edit scheduled task";
37
47
  readonly dialogHint: "You can change this later.";
@@ -107,15 +117,25 @@ export declare const scheduledEs: {
107
117
  lastRun: string;
108
118
  dayAtTime: string;
109
119
  pausedNotice: string;
120
+ customEmailLabel: string;
121
+ customEmailDescription: string;
122
+ customEmailTemplate: string;
110
123
  summaryOnce: string;
111
124
  summaryDaily: string;
112
125
  summaryWeekdays: string;
113
126
  summaryWeekly: string;
127
+ summaryInterval: string;
128
+ summaryManual: string;
114
129
  timezoneSuffix: string;
115
130
  recurrenceNone: string;
116
131
  recurrenceDaily: string;
117
132
  recurrenceWeekdays: string;
118
133
  recurrenceWeekly: string;
134
+ recurrenceInterval: string;
135
+ recurrenceManual: string;
136
+ intervalLabel: string;
137
+ intervalHint: string;
138
+ manualHint: string;
119
139
  dialogCreateTitle: string;
120
140
  dialogEditTitle: string;
121
141
  dialogHint: string;
@@ -191,15 +211,25 @@ export declare const scheduledPt: {
191
211
  lastRun: string;
192
212
  dayAtTime: string;
193
213
  pausedNotice: string;
214
+ customEmailLabel: string;
215
+ customEmailDescription: string;
216
+ customEmailTemplate: string;
194
217
  summaryOnce: string;
195
218
  summaryDaily: string;
196
219
  summaryWeekdays: string;
197
220
  summaryWeekly: string;
221
+ summaryInterval: string;
222
+ summaryManual: string;
198
223
  timezoneSuffix: string;
199
224
  recurrenceNone: string;
200
225
  recurrenceDaily: string;
201
226
  recurrenceWeekdays: string;
202
227
  recurrenceWeekly: string;
228
+ recurrenceInterval: string;
229
+ recurrenceManual: string;
230
+ intervalLabel: string;
231
+ intervalHint: string;
232
+ manualHint: string;
203
233
  dialogCreateTitle: string;
204
234
  dialogEditTitle: string;
205
235
  dialogHint: string;
@@ -54,18 +54,9 @@ export declare const streamEn: {
54
54
  readonly browserAwaitProcessed: "Waited for processing";
55
55
  readonly browserAssertCreated: "Checked for an existing resource";
56
56
  readonly failedBadge: "failed";
57
- readonly failedCount_one: "{{count}} failed";
58
- readonly failedCount_other: "{{count}} failed";
59
- readonly workedOnPageSteps_one: "Worked on the page · {{count}} step";
60
- readonly workedOnPageSteps_other: "Worked on the page · {{count}} steps";
57
+ readonly executingTasks: "Working on it…";
61
58
  readonly workedSteps_one: "Worked · {{count}} step";
62
59
  readonly workedSteps_other: "Worked · {{count}} steps";
63
- readonly workingSteps_one: "Working… · {{count}} step";
64
- readonly workingSteps_other: "Working… · {{count}} steps";
65
- readonly ranCommands_one: "Ran {{count}} command";
66
- readonly ranCommands_other: "Ran {{count}} commands";
67
- readonly runningCommands_one: "Running {{count}} command…";
68
- readonly runningCommands_other: "Running {{count}} commands…";
69
60
  readonly open: "Open";
70
61
  readonly reconnectNeeded: "The {{provider}} session needs reconnecting to continue.";
71
62
  readonly reconnect: "Reconnect";
@@ -122,18 +113,9 @@ export declare const streamEs: {
122
113
  browserAwaitProcessed: string;
123
114
  browserAssertCreated: string;
124
115
  failedBadge: string;
125
- failedCount_one: string;
126
- failedCount_other: string;
127
- workedOnPageSteps_one: string;
128
- workedOnPageSteps_other: string;
116
+ executingTasks: string;
129
117
  workedSteps_one: string;
130
118
  workedSteps_other: string;
131
- workingSteps_one: string;
132
- workingSteps_other: string;
133
- ranCommands_one: string;
134
- ranCommands_other: string;
135
- runningCommands_one: string;
136
- runningCommands_other: string;
137
119
  open: string;
138
120
  reconnectNeeded: string;
139
121
  reconnect: string;
@@ -190,18 +172,9 @@ export declare const streamPt: {
190
172
  browserAwaitProcessed: string;
191
173
  browserAssertCreated: string;
192
174
  failedBadge: string;
193
- failedCount_one: string;
194
- failedCount_other: string;
195
- workedOnPageSteps_one: string;
196
- workedOnPageSteps_other: string;
175
+ executingTasks: string;
197
176
  workedSteps_one: string;
198
177
  workedSteps_other: string;
199
- workingSteps_one: string;
200
- workingSteps_other: string;
201
- ranCommands_one: string;
202
- ranCommands_other: string;
203
- runningCommands_one: string;
204
- runningCommands_other: string;
205
178
  open: string;
206
179
  reconnectNeeded: string;
207
180
  reconnect: string;