@belonguniverseai/react-sdk 0.1.4 → 0.1.6

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 (70) hide show
  1. package/dist/api/client.d.ts +122 -1
  2. package/dist/browser/control-channel.d.ts +9 -0
  3. package/dist/component/BelongWidget.d.ts +31 -1
  4. package/dist/component/{arc-BEnKmFiH.js → arc-CTDwT0LX.js} +2 -2
  5. package/dist/component/{architectureDiagram-3BPJPVTR-qrW4PiqE.js → architectureDiagram-3BPJPVTR-osyB2zKw.js} +3 -3
  6. package/dist/component/{blockDiagram-GPEHLZMM-Cy83RTvZ.js → blockDiagram-GPEHLZMM-ChWpzkC_.js} +4 -4
  7. package/dist/component/{c4Diagram-AAUBKEIU-DA1KAAqR.js → c4Diagram-AAUBKEIU-TBt2Sr1T.js} +3 -3
  8. package/dist/component/{channel-S3CulQua.js → channel-DKYVGzgk.js} +2 -2
  9. package/dist/component/{chunk-2J33WTMH-B3IpUX0y.js → chunk-2J33WTMH-D-qMyfG9.js} +2 -2
  10. package/dist/component/{chunk-4BX2VUAB-TXwXVoCn.js → chunk-4BX2VUAB-BYTeOCro.js} +2 -2
  11. package/dist/component/{chunk-55IACEB6-TgAuWAzl.js → chunk-55IACEB6-CkLaQSjG.js} +2 -2
  12. package/dist/component/{chunk-727SXJPM-CRzAhEpU.js → chunk-727SXJPM-CzkWgEIS.js} +6 -6
  13. package/dist/component/{chunk-AQP2D5EJ-BGyYD9fu.js → chunk-AQP2D5EJ-d-zIc-67.js} +4 -4
  14. package/dist/component/{chunk-FMBD7UC4-DMPGLPzn.js → chunk-FMBD7UC4-amGyEMTp.js} +2 -2
  15. package/dist/component/{chunk-ND2GUHAM-D4Pq2Sbn.js → chunk-ND2GUHAM-DjPCor9N.js} +2 -2
  16. package/dist/component/{chunk-QZHKN3VN-pAuUtuaS.js → chunk-QZHKN3VN-B0LrqJFz.js} +2 -2
  17. package/dist/component/{classDiagram-4FO5ZUOK-Cfk5JVma.js → classDiagram-4FO5ZUOK-BLW37dmc.js} +3 -3
  18. package/dist/component/{classDiagram-v2-Q7XG4LA2-Cfk5JVma.js → classDiagram-v2-Q7XG4LA2-BLW37dmc.js} +3 -3
  19. package/dist/component/{cose-bilkent-S5V4N54A-DDqAk-Nd.js → cose-bilkent-S5V4N54A-BrAZZB3S.js} +2 -2
  20. package/dist/component/{dagre-BM42HDAG-CRWiZgwY.js → dagre-BM42HDAG-lt_pmFeQ.js} +2 -2
  21. package/dist/component/{diagram-2AECGRRQ-vfIORQjw.js → diagram-2AECGRRQ-DfMdC1rS.js} +3 -3
  22. package/dist/component/{diagram-5GNKFQAL-BrdNWhYp.js → diagram-5GNKFQAL-CORXCu1y.js} +4 -4
  23. package/dist/component/{diagram-KO2AKTUF-BzvQZ4om.js → diagram-KO2AKTUF-Dt8oiVky.js} +3 -3
  24. package/dist/component/{diagram-LMA3HP47-ByWVR7eR.js → diagram-LMA3HP47-Bu-XSRd6.js} +3 -3
  25. package/dist/component/{diagram-OG6HWLK6-DFJUF0-3.js → diagram-OG6HWLK6-DiOgJz8h.js} +4 -4
  26. package/dist/component/{erDiagram-TEJ5UH35-h-b8M9my.js → erDiagram-TEJ5UH35-DSrXX--n.js} +5 -5
  27. package/dist/component/{flowDiagram-I6XJVG4X-Bs5-0VOV.js → flowDiagram-I6XJVG4X-D1E_ZfMU.js} +7 -7
  28. package/dist/component/{ganttDiagram-6RSMTGT7-BFOggcmT.js → ganttDiagram-6RSMTGT7-BzGCGwAi.js} +3 -3
  29. package/dist/component/{gitGraphDiagram-PVQCEYII-DqyxmsbF.js → gitGraphDiagram-PVQCEYII-C6qUOG7K.js} +4 -4
  30. package/dist/component/{highlighted-body-OFNGDK62-Bdj8cutJ.js → highlighted-body-OFNGDK62-D1SvZ8C_.js} +2 -2
  31. package/dist/component/index.js +1 -1
  32. package/dist/component/{infoDiagram-5YYISTIA-8md68U3E.js → infoDiagram-5YYISTIA-D0l96um1.js} +2 -2
  33. package/dist/component/{ishikawaDiagram-YF4QCWOH-C3xT9wjK.js → ishikawaDiagram-YF4QCWOH-BDHAOBaC.js} +2 -2
  34. package/dist/component/{journeyDiagram-JHISSGLW-BbHXf52q.js → journeyDiagram-JHISSGLW-BtN73bIc.js} +5 -5
  35. package/dist/component/{kanban-definition-UN3LZRKU-Xcxe9Aqi.js → kanban-definition-UN3LZRKU-Dll6IAhM.js} +3 -3
  36. package/dist/component/{linear-tnf14jhv.js → linear-ChreRr3h.js} +2 -2
  37. package/dist/component/{mermaid-GHXKKRXX-DRKI1NOg.js → mermaid-GHXKKRXX-C0Oq2bpl.js} +16134 -15530
  38. package/dist/component/{mindmap-definition-RKZ34NQL-DT2YOYJT.js → mindmap-definition-RKZ34NQL-DC9K87bN.js} +4 -4
  39. package/dist/component/{pieDiagram-4H26LBE5-DnaT-EHy.js → pieDiagram-4H26LBE5-BNGHaTmE.js} +4 -4
  40. package/dist/component/{quadrantDiagram-W4KKPZXB-Chj0SIr_.js → quadrantDiagram-W4KKPZXB-D23AXzE2.js} +3 -3
  41. package/dist/component/{requirementDiagram-4Y6WPE33-C8P86Vfk.js → requirementDiagram-4Y6WPE33-DRe6Bcy7.js} +4 -4
  42. package/dist/component/{sankeyDiagram-5OEKKPKP-BTV3aQxb.js → sankeyDiagram-5OEKKPKP-Ca--29t-.js} +2 -2
  43. package/dist/component/{sequenceDiagram-3UESZ5HK-CszXtNuQ.js → sequenceDiagram-3UESZ5HK-Cv6WVN5T.js} +4 -4
  44. package/dist/component/{stateDiagram-AJRCARHV-BPKVLcMj.js → stateDiagram-AJRCARHV-Ba_3WUjf.js} +3 -3
  45. package/dist/component/{stateDiagram-v2-BHNVJYJU-CAAXRt1C.js → stateDiagram-v2-BHNVJYJU-C8G1MQa8.js} +3 -3
  46. package/dist/component/{timeline-definition-PNZ67QCA-CqzXrhgH.js → timeline-definition-PNZ67QCA-Bfh6fz9g.js} +3 -3
  47. package/dist/component/{vennDiagram-CIIHVFJN-Cvb9lpke.js → vennDiagram-CIIHVFJN-D1U-PuFV.js} +2 -2
  48. package/dist/component/{wardleyDiagram-YWT4CUSO-BzPLaYx7.js → wardleyDiagram-YWT4CUSO-DTwXmrGn.js} +3 -3
  49. package/dist/component/{xychartDiagram-2RQKCTM6-C50_ldFc.js → xychartDiagram-2RQKCTM6-Dy8C7cbo.js} +3 -3
  50. package/dist/embed/copy.d.ts +1 -0
  51. package/dist/embed/global.d.ts +7 -4
  52. package/dist/embed/locale.d.ts +4 -0
  53. package/dist/embed/tab-id.d.ts +33 -0
  54. package/dist/embed/workspace-scope.d.ts +15 -4
  55. package/dist/i18n/messages/pt.d.ts +3 -0
  56. package/dist/i18n/messages/surfaces/agentGrant.d.ts +19 -0
  57. package/dist/i18n/messages/surfaces/aiElements.d.ts +50 -0
  58. package/dist/i18n/messages/surfaces/app.d.ts +15 -0
  59. package/dist/i18n/messages/surfaces/embedMisc.d.ts +49 -0
  60. package/dist/i18n/messages/surfaces/feedback.d.ts +9 -0
  61. package/dist/i18n/messages/surfaces/files.d.ts +37 -0
  62. package/dist/i18n/messages/surfaces/header.d.ts +15 -0
  63. package/dist/i18n/messages/surfaces/login.d.ts +8 -0
  64. package/dist/i18n/messages/surfaces/plan.d.ts +17 -0
  65. package/dist/i18n/messages/surfaces/sessions.d.ts +21 -0
  66. package/dist/i18n/messages/surfaces/stream.d.ts +68 -0
  67. package/dist/i18n/messages/surfaces/usage.d.ts +10 -0
  68. package/dist/stream/stream-state-store.d.ts +27 -0
  69. package/dist/types/public.d.ts +8 -5
  70. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { g as oe } from "./chunk-55IACEB6-TgAuWAzl.js";
2
- import { s as ae } from "./chunk-2J33WTMH-B3IpUX0y.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-DRKI1NOg.js";
1
+ import { g as oe } from "./chunk-55IACEB6-CkLaQSjG.js";
2
+ import { s as ae } from "./chunk-2J33WTMH-D-qMyfG9.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-C0Oq2bpl.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-DT2YOYJT.js.map
833
+ //# sourceMappingURL=mindmap-definition-RKZ34NQL-DC9K87bN.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-DRKI1NOg.js";
2
- import { p as gt } from "./chunk-4BX2VUAB-TXwXVoCn.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-C0Oq2bpl.js";
2
+ import { p as gt } from "./chunk-4BX2VUAB-BYTeOCro.js";
3
3
  import { p as dt } from "./wardley-L42UT6IY-HA1eSIS_.js";
4
- import { d as P } from "./arc-BEnKmFiH.js";
4
+ import { d as P } from "./arc-CTDwT0LX.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-DnaT-EHy.js.map
166
+ //# sourceMappingURL=pieDiagram-4H26LBE5-BNGHaTmE.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-DRKI1NOg.js";
2
- import { l as te } from "./linear-tnf14jhv.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-C0Oq2bpl.js";
2
+ import { l as te } from "./linear-ChreRr3h.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-Chj0SIr_.js.map
1033
+ //# sourceMappingURL=quadrantDiagram-W4KKPZXB-D23AXzE2.js.map
@@ -1,6 +1,6 @@
1
- import { g as Ge } from "./chunk-55IACEB6-TgAuWAzl.js";
2
- import { s as ze } from "./chunk-2J33WTMH-B3IpUX0y.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-DRKI1NOg.js";
1
+ import { g as Ge } from "./chunk-55IACEB6-CkLaQSjG.js";
2
+ import { s as ze } from "./chunk-2J33WTMH-D-qMyfG9.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-C0Oq2bpl.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-C8P86Vfk.js.map
888
+ //# sourceMappingURL=requirementDiagram-4Y6WPE33-DRe6Bcy7.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-DRKI1NOg.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-C0Oq2bpl.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-BTV3aQxb.js.map
862
+ //# sourceMappingURL=sankeyDiagram-5OEKKPKP-Ca--29t-.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-DRKI1NOg.js";
2
- import { a as pr, b as ee, g as dt, d as Er, e as re, f as ae } from "./chunk-ND2GUHAM-D4Pq2Sbn.js";
3
- import { I as ur } from "./chunk-QZHKN3VN-pAuUtuaS.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-C0Oq2bpl.js";
2
+ import { a as pr, b as ee, g as dt, d as Er, e as re, f as ae } from "./chunk-ND2GUHAM-DjPCor9N.js";
3
+ import { I as ur } from "./chunk-QZHKN3VN-B0LrqJFz.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-CszXtNuQ.js.map
2897
+ //# sourceMappingURL=sequenceDiagram-3UESZ5HK-Cv6WVN5T.js.map
@@ -1,5 +1,5 @@
1
- import { s as R, a as W, S as N } from "./chunk-AQP2D5EJ-BGyYD9fu.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-DRKI1NOg.js";
1
+ import { s as R, a as W, S as N } from "./chunk-AQP2D5EJ-d-zIc-67.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-C0Oq2bpl.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-BPKVLcMj.js.map
266
+ //# sourceMappingURL=stateDiagram-AJRCARHV-Ba_3WUjf.js.map
@@ -1,5 +1,5 @@
1
- import { s as e, b as r, a as s, S as t } from "./chunk-AQP2D5EJ-BGyYD9fu.js";
2
- import { _ as l } from "./mermaid-GHXKKRXX-DRKI1NOg.js";
1
+ import { s as e, b as r, a as s, S as t } from "./chunk-AQP2D5EJ-d-zIc-67.js";
2
+ import { _ as l } from "./mermaid-GHXKKRXX-C0Oq2bpl.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-CAAXRt1C.js.map
19
+ //# sourceMappingURL=stateDiagram-v2-BHNVJYJU-C8G1MQa8.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-DRKI1NOg.js";
2
- import { d as ot } from "./arc-BEnKmFiH.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-C0Oq2bpl.js";
2
+ import { d as ot } from "./arc-CTDwT0LX.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-CqzXrhgH.js.map
1058
+ //# sourceMappingURL=timeline-definition-PNZ67QCA-Bfh6fz9g.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-DRKI1NOg.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-C0Oq2bpl.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-Cvb9lpke.js.map
1560
+ //# sourceMappingURL=vennDiagram-CIIHVFJN-D1U-PuFV.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-DRKI1NOg.js";
2
- import { p as Bt } from "./chunk-4BX2VUAB-TXwXVoCn.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-C0Oq2bpl.js";
2
+ import { p as Bt } from "./chunk-4BX2VUAB-BYTeOCro.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-BzPLaYx7.js.map
681
+ //# sourceMappingURL=wardleyDiagram-YWT4CUSO-DTwXmrGn.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-DRKI1NOg.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-C0Oq2bpl.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-tnf14jhv.js";
4
+ import { l as Dt } from "./linear-ChreRr3h.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-C50_ldFc.js.map
1375
+ //# sourceMappingURL=xychartDiagram-2RQKCTM6-Dy8C7cbo.js.map
@@ -64,6 +64,7 @@ export type DockCopy = {
64
64
  readonly label: string;
65
65
  readonly english: string;
66
66
  readonly spanish: string;
67
+ readonly portuguese: string;
67
68
  };
68
69
  readonly menu: MenuCopy;
69
70
  readonly intro: {
@@ -29,10 +29,13 @@ export declare const peekPanelEnabled: () => boolean;
29
29
  */
30
30
  export declare const peekAgentGrantConfig: () => AgentGrantConfig | null;
31
31
  /**
32
- * The CURRENT scope: resolved by the workspace-scope store (host override ▸
33
- * live URL param ▸ static init value — see embed/workspace-scope.ts, which
34
- * the whole dock keys off). Null = no grant config or no workspace in effect
35
- * grant surface hidden.
32
+ * The CURRENT grant scope. A workspace in effect (host override ▸ live URL param
33
+ * ▸ static init value — see embed/workspace-scope.ts) IS the trigger: the dock
34
+ * then offers its delegated CLI grant for that workspace, so a host that only
35
+ * sets a workspace (the widget's `workspace` prop / `setWorkspace`) gets a
36
+ * per-workspace grant WITHOUT naming a provider. The provider comes from an
37
+ * explicit `agentGrant` config when the host set one (e.g. a non-default
38
+ * provider), else the default. Null = no workspace in effect → surface hidden.
36
39
  */
37
40
  export declare const resolveAgentGrantScope: () => {
38
41
  provider: string;
@@ -1,6 +1,10 @@
1
1
  import { BelongLocale } from '../types/public.ts';
2
2
  export type Locale = BelongLocale;
3
3
  export declare const DEFAULT_LOCALE: Locale;
4
+ /** Every locale the dock ships, in toggle/picker order. The one place to
5
+ * register a new language — the Zod perimeter check and every locale
6
+ * picker (rail cycle button, avatar menu, welcome card) read from here. */
7
+ export declare const SUPPORTED_LOCALES: readonly ["en", "es", "pt"];
4
8
  /** Narrow an untrusted value (attribute, storage, navigator) to a Locale. */
5
9
  export declare const parseLocale: (value: unknown) => Locale | null;
6
10
  /**
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Per-tab identity for tab-aware browser-control routing (§ multi-tab).
3
+ *
4
+ * Each open dock tab needs a stable-for-its-lifetime id so the cloud relay can
5
+ * hold one live browser-control socket PER TAB and route a run's `browser_*`
6
+ * commands to the RIGHT tab (the one showing that run's session).
7
+ *
8
+ * The id is generated ONCE PER PAGE LOAD and held in module scope — NOT in
9
+ * `sessionStorage`. That is deliberate:
10
+ *
11
+ * • Each browser tab is its own JS realm, so a module-level value is already
12
+ * per-tab. "Duplicate Tab" / `window.open` CLONE `sessionStorage`, which
13
+ * would hand two physical tabs the SAME persisted id and collapse per-tab
14
+ * routing — an in-memory value can't be cloned, so every page realm
15
+ * (including a duplicate) gets a distinct id.
16
+ * • Stability across a page RELOAD isn't needed: a reload tears down the
17
+ * browser-control SSE anyway, and the control channel re-registers with a
18
+ * fresh id; routing follows because the session→tab binding is re-pointed
19
+ * on that re-register (the reloaded tab restores its session from
20
+ * `sessionStorage` per §41, then re-binds). The old id's presence key
21
+ * simply decays via its TTL.
22
+ *
23
+ * So the id is purely a live-socket routing handle, and per-page-load identity
24
+ * is exactly the right lifetime.
25
+ */
26
+ /**
27
+ * The current tab's id, minted lazily on first use and reused for the rest of
28
+ * this page load. Every reconnect within the page reuses it (so the cloud
29
+ * refreshes ONE presence key rather than churning a new one per attempt).
30
+ */
31
+ export declare const getTabId: () => string;
32
+ /** Test-only: forget the cached id so the next {@link getTabId} re-mints. */
33
+ export declare const __resetTabIdForTest: () => void;
@@ -34,11 +34,22 @@ export declare const configureWorkspaceScope: (input: {
34
34
  readonly staticId?: string | null;
35
35
  }) => void;
36
36
  /**
37
- * Imperative host switch (`belong.setWorkspace`) wins over URL tracking
38
- * until cleared with `null`, and notifies synchronously (no poll latency).
39
- * An invalid id is rejected with a warning and leaves the scope unchanged —
40
- * a host bug must never silently break the dock.
37
+ * Imperative host switch (`belong.setWorkspace` / the widget's `workspace`
38
+ * prop) wins over URL tracking, notifies synchronously (no poll latency).
39
+ * Calling it AT ALL engages tracking: a `null` id means "tracking on, no
40
+ * workspace loaded" `missing` (scoped surfaces disable) when there's no
41
+ * URL/static to fall back to, NOT the legacy unscoped view. An invalid id is
42
+ * rejected with a warning and leaves the scope unchanged — a host bug must
43
+ * never silently break the dock. Use {@link clearHostWorkspace} to fully
44
+ * disengage (component unmount).
41
45
  */
42
46
  export declare const setHostWorkspace: (id: string | null) => void;
47
+ /**
48
+ * Fully disengage imperative workspace control (component unmount, or a host
49
+ * that stopped passing the `workspace` prop): drop the override AND stop
50
+ * tracking, so the scope falls back to any URL/static config, or
51
+ * `unconfigured` when there is none. Leaves the URL/static config untouched.
52
+ */
53
+ export declare const clearHostWorkspace: () => void;
43
54
  /** Test-only: reset config + override and re-seed the snapshot. Keeps listeners. */
44
55
  export declare const __resetWorkspaceScopeForTest: () => void;
@@ -0,0 +1,3 @@
1
+ import { EnMessages } from './en.ts';
2
+ import { LocaleMessages } from './types.ts';
3
+ export declare const pt: LocaleMessages<EnMessages>;
@@ -37,3 +37,22 @@ export declare const agentGrantEs: {
37
37
  errorGeneric: string;
38
38
  };
39
39
  };
40
+ export declare const agentGrantPt: {
41
+ agentGrant: {
42
+ headlineExpired: string;
43
+ headlineRevoked: string;
44
+ headlineNone: string;
45
+ body: string;
46
+ connected: string;
47
+ connectedUntil: string;
48
+ disconnect: string;
49
+ ctaAllow: string;
50
+ ctaReconnect: string;
51
+ notNow: string;
52
+ errorNotScopeMember: string;
53
+ errorScopeSessionLimit: string;
54
+ errorAuthTokenAlreadyUsed: string;
55
+ errorGrantRejected: string;
56
+ errorGeneric: string;
57
+ };
58
+ };
@@ -99,3 +99,53 @@ export declare const aiElementsEs: {
99
99
  branchPage: string;
100
100
  };
101
101
  };
102
+ export declare const aiElementsPt: {
103
+ aiElements: {
104
+ statusAwaitingApproval: string;
105
+ statusResponded: string;
106
+ statusRunning: string;
107
+ statusPending: string;
108
+ statusCompleted: string;
109
+ statusDenied: string;
110
+ statusError: string;
111
+ toolParameters: string;
112
+ toolError: string;
113
+ toolResult: string;
114
+ thinking: string;
115
+ thoughtForAFewSeconds: string;
116
+ thoughtForSeconds: string;
117
+ addPhotosOrFiles: string;
118
+ takeScreenshot: string;
119
+ errorNoFilesMatch: string;
120
+ errorFilesExceedSize: string;
121
+ errorTooManyFiles: string;
122
+ textareaPlaceholder: string;
123
+ uploadFiles: string;
124
+ stop: string;
125
+ submit: string;
126
+ attachmentSource: string;
127
+ attachmentImage: string;
128
+ attachmentFallback: string;
129
+ remove: string;
130
+ noAttachments: string;
131
+ noMessagesYet: string;
132
+ startConversation: string;
133
+ copy: string;
134
+ copied: string;
135
+ openExternalLink: string;
136
+ openLinkDescriptionPrefix: string;
137
+ openLinkDescriptionSuffix: string;
138
+ cancel: string;
139
+ openLink: string;
140
+ terminalDone: string;
141
+ terminalExitOk: string;
142
+ terminalExitCode: string;
143
+ terminalFailed: string;
144
+ terminalRunning: string;
145
+ copyCommand: string;
146
+ waitingForOutput: string;
147
+ previousBranch: string;
148
+ nextBranch: string;
149
+ branchPage: string;
150
+ };
151
+ };
@@ -29,3 +29,18 @@ export declare const appEs: {
29
29
  resizeChat: string;
30
30
  };
31
31
  };
32
+ export declare const appPt: {
33
+ app: {
34
+ uploadNoWorkspace: string;
35
+ uploadTooLarge: string;
36
+ uploadFailed: string;
37
+ sentFilesOne: string;
38
+ sentFilesOther: string;
39
+ uploadAriaLabel: string;
40
+ uploading: string;
41
+ dropFiles: string;
42
+ supportsFormats: string;
43
+ viewTitleFiles: string;
44
+ resizeChat: string;
45
+ };
46
+ };
@@ -98,3 +98,52 @@ export declare const embedMiscEs: {
98
98
  stop: string;
99
99
  };
100
100
  };
101
+ export declare const embedMiscPt: {
102
+ embed: {
103
+ yourSkills: string;
104
+ skillsMenuLabel: string;
105
+ minimizeSkills: string;
106
+ expandSkills: string;
107
+ workspaceFilesMenuLabel: string;
108
+ previewFile: string;
109
+ downloadFile: string;
110
+ refresh: string;
111
+ refreshWorkspaceFiles: string;
112
+ searchWorkspace: string;
113
+ searchWorkspaceFiles: string;
114
+ workspaceCreateHint: string;
115
+ workspaceLoadError: string;
116
+ workspaceNoFiles: string;
117
+ workspaceNoMatches: string;
118
+ csvEmpty: string;
119
+ csvRowLimit: string;
120
+ preview: string;
121
+ exitFullscreen: string;
122
+ fullscreen: string;
123
+ closePreview: string;
124
+ nothingToPreview: string;
125
+ resizePreview: string;
126
+ previewTruncated: string;
127
+ noInlinePreview: string;
128
+ thisFile: string;
129
+ download: string;
130
+ loadingPreview: string;
131
+ poweredByBelong: string;
132
+ devDefault: string;
133
+ devModelIdPlaceholder: string;
134
+ devModelIdTitle: string;
135
+ devBadge: string;
136
+ devRuntimeLabel: string;
137
+ devModelLabel: string;
138
+ closeDevMode: string;
139
+ deployedAt: string;
140
+ devOverrideActive: string;
141
+ micUnmuted: string;
142
+ micMuted: string;
143
+ agentWorking: string;
144
+ clearChat: string;
145
+ clearChatTooltip: string;
146
+ clear: string;
147
+ stop: string;
148
+ };
149
+ };
@@ -17,3 +17,12 @@ export declare const feedbackEs: {
17
17
  send: string;
18
18
  };
19
19
  };
20
+ export declare const feedbackPt: {
21
+ feedback: {
22
+ goodResponse: string;
23
+ badResponse: string;
24
+ reasonPlaceholder: string;
25
+ skip: string;
26
+ send: string;
27
+ };
28
+ };
@@ -73,3 +73,40 @@ export declare const filesEs: {
73
73
  attachmentFallback: string;
74
74
  };
75
75
  };
76
+ export declare const filesPt: {
77
+ files: {
78
+ refreshFiles: string;
79
+ searchDocumentsPlaceholder: string;
80
+ searchDocuments: string;
81
+ noFilesYet: string;
82
+ noFilesHint: string;
83
+ uploading: string;
84
+ dropFilesOrBrowse: string;
85
+ supportedTypes: string;
86
+ previewFile: string;
87
+ downloadFile: string;
88
+ uploadedInConversation: string;
89
+ noInlinePreview: string;
90
+ download: string;
91
+ loadingPreview: string;
92
+ truncatedNotice: string;
93
+ previewGenerateFailed: string;
94
+ previewTooLong: string;
95
+ previewUnavailable: string;
96
+ generatingPreview: string;
97
+ pageAlt: string;
98
+ previewOf: string;
99
+ searchWorkspacePlaceholder: string;
100
+ searchWorkspace: string;
101
+ workspaceFiles: string;
102
+ refresh: string;
103
+ refreshWorkspaceFiles: string;
104
+ workspaceEmpty: string;
105
+ noMatches: string;
106
+ ageJustNow: string;
107
+ ageMinutes: string;
108
+ ageHours: string;
109
+ ageDays: string;
110
+ attachmentFallback: string;
111
+ };
112
+ };
@@ -29,3 +29,18 @@ export declare const headerEs: {
29
29
  collapse: string;
30
30
  };
31
31
  };
32
+ export declare const headerPt: {
33
+ header: {
34
+ byBelong: string;
35
+ navChat: string;
36
+ navFiles: string;
37
+ chatPlanRunning: string;
38
+ devMode: string;
39
+ devModeTitle: string;
40
+ muteReplies: string;
41
+ readRepliesAloud: string;
42
+ speechNotSupported: string;
43
+ expand: string;
44
+ collapse: string;
45
+ };
46
+ };
@@ -15,3 +15,11 @@ export declare const loginEs: {
15
15
  signIn: string;
16
16
  };
17
17
  };
18
+ export declare const loginPt: {
19
+ login: {
20
+ welcome: string;
21
+ byBelong: string;
22
+ signInPrompt: string;
23
+ signIn: string;
24
+ };
25
+ };
@@ -33,3 +33,20 @@ export declare const planEs: {
33
33
  reject: string;
34
34
  };
35
35
  };
36
+ export declare const planPt: {
37
+ plan: {
38
+ cueReady: string;
39
+ fallbackTitle: string;
40
+ closeLabel: string;
41
+ emptyState: string;
42
+ resizeLabel: string;
43
+ stepCompleted: string;
44
+ stepFailed: string;
45
+ stepPending: string;
46
+ progressDone: string;
47
+ failedPrefix: string;
48
+ failedHelp: string;
49
+ approveAndRun: string;
50
+ reject: string;
51
+ };
52
+ };
@@ -41,3 +41,24 @@ export declare const sessionsEs: {
41
41
  updated: string;
42
42
  };
43
43
  };
44
+ export declare const sessionsPt: {
45
+ sessions: {
46
+ chats: string;
47
+ newChat: string;
48
+ noChatsYet: string;
49
+ untitledChat: string;
50
+ confirmDelete: string;
51
+ cancelDelete: string;
52
+ deleteChat: string;
53
+ renameChat: string;
54
+ chatName: string;
55
+ saveName: string;
56
+ cancelRename: string;
57
+ recentSessions: string;
58
+ loading: string;
59
+ failedToLoad: string;
60
+ noSessionsYet: string;
61
+ untitledSession: string;
62
+ updated: string;
63
+ };
64
+ };
@@ -142,3 +142,71 @@ export declare const streamEs: {
142
142
  retry: string;
143
143
  };
144
144
  };
145
+ export declare const streamPt: {
146
+ stream: {
147
+ copyOutput: string;
148
+ terminalOutput: string;
149
+ skillChip: string;
150
+ failedSuffix: string;
151
+ approvalRequired: string;
152
+ approve: string;
153
+ requestChanges: string;
154
+ reject: string;
155
+ approving: string;
156
+ rejecting: string;
157
+ sending: string;
158
+ decisionApproved: string;
159
+ decisionRejected: string;
160
+ decisionAmendRequested: string;
161
+ expired: string;
162
+ alreadyResolved: string;
163
+ alwaysAllowTool: string;
164
+ alwaysAllowAction: string;
165
+ submitError: string;
166
+ errorServerAnswered: string;
167
+ errorRequestUnreachable: string;
168
+ answered: string;
169
+ alreadyAnswered: string;
170
+ submit: string;
171
+ toolShellRunning: string;
172
+ toolShellDone: string;
173
+ toolShellFailed: string;
174
+ toolShellDetail: string;
175
+ toolApprovalRunning: string;
176
+ toolApprovalDone: string;
177
+ toolApprovalFailed: string;
178
+ toolApprovalDetail: string;
179
+ toolGenericRunning: string;
180
+ toolGenericDone: string;
181
+ toolGenericFailed: string;
182
+ toolGenericDetail: string;
183
+ browserSnapshot: string;
184
+ browserRead: string;
185
+ browserClick: string;
186
+ browserType: string;
187
+ browserNavigate: string;
188
+ browserSelfTest: string;
189
+ browserResolveResource: string;
190
+ browserAwaitProcessed: string;
191
+ browserAssertCreated: string;
192
+ failedBadge: string;
193
+ failedCount_one: string;
194
+ failedCount_other: string;
195
+ workedOnPageSteps_one: string;
196
+ workedOnPageSteps_other: string;
197
+ workedSteps_one: string;
198
+ 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
+ open: string;
206
+ reconnectNeeded: string;
207
+ reconnect: string;
208
+ reconnecting: string;
209
+ reconnected: string;
210
+ retry: string;
211
+ };
212
+ };