@belonguniverseai/react-sdk 0.6.14 → 0.6.15

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 (64) hide show
  1. package/dist/api/agent-grant-status.d.ts +20 -0
  2. package/dist/api/agent-grants.d.ts +95 -38
  3. package/dist/api/client.d.ts +122 -2
  4. package/dist/component/{abnfDiagram-N423BO3Z-NaCsxUzn.js → abnfDiagram-N423BO3Z-BHtc0bvC.js} +4 -4
  5. package/dist/component/{arc-DcLjFLQl.js → arc-Cm9wcWlx.js} +2 -2
  6. package/dist/component/{architectureDiagram-T3A2C74G-CqDJMq5W.js → architectureDiagram-T3A2C74G-B5Uz6lDY.js} +3 -3
  7. package/dist/component/{blockDiagram-VBNYF7ZC-BOVlayo-.js → blockDiagram-VBNYF7ZC-DtXwzBny.js} +4 -4
  8. package/dist/component/{c4Diagram-5PPSVZJV-x2J83ild.js → c4Diagram-5PPSVZJV-BvFhvePm.js} +3 -3
  9. package/dist/component/{channel-DdfWkupw.js → channel-D3rCn2In.js} +2 -2
  10. package/dist/component/{chunk-2GRJ4B5K-Cq82o0X4.js → chunk-2GRJ4B5K-BrKpH2JP.js} +2 -2
  11. package/dist/component/{chunk-2Q5K7J3B-A09eI9PF.js → chunk-2Q5K7J3B-BN7qA4Zt.js} +2 -2
  12. package/dist/component/{chunk-5RXB4S5H-CVzff0h3.js → chunk-5RXB4S5H-xmyGOu7k.js} +5 -5
  13. package/dist/component/{chunk-5VM5RSS4-BMUzO1Yf.js → chunk-5VM5RSS4-Bo9mNteC.js} +2 -2
  14. package/dist/component/{chunk-6Q2QTUOP-DvEP1W3s.js → chunk-6Q2QTUOP-o1oblyO-.js} +2 -2
  15. package/dist/component/{chunk-GF5L2VYU--iFTuQXR.js → chunk-GF5L2VYU-CBhzNfdK.js} +6 -6
  16. package/dist/component/{chunk-JWPE2WC7-DVacLGSp.js → chunk-JWPE2WC7-CRCYILZC.js} +2 -2
  17. package/dist/component/{chunk-KBJHAD2P-CsPWEvTV.js → chunk-KBJHAD2P-CC4Una6D.js} +2 -2
  18. package/dist/component/{chunk-RYQCIY6F-DghjJm8u.js → chunk-RYQCIY6F--pWAXq1Z.js} +2 -2
  19. package/dist/component/{chunk-XXDRQBXY-CFAd8CCP.js → chunk-XXDRQBXY-DuNREPyH.js} +2 -2
  20. package/dist/component/{classDiagram-JCYQIIEL-CghXyV1L.js → classDiagram-JCYQIIEL-Hok8J7EG.js} +3 -3
  21. package/dist/component/{classDiagram-v2-OCEON4UE-CghXyV1L.js → classDiagram-v2-OCEON4UE-Hok8J7EG.js} +3 -3
  22. package/dist/component/{cose-bilkent-JH36ORCC-BMpdcx49.js → cose-bilkent-JH36ORCC-BfqjApDt.js} +2 -2
  23. package/dist/component/{cynefinDiagram-MW4NZA55-D2TuXxi6.js → cynefinDiagram-MW4NZA55-BJZ-okQI.js} +3 -3
  24. package/dist/component/{dagre-VZM6K2ZE-CFJjbr_k.js → dagre-VZM6K2ZE-6H6WAA1H.js} +3 -3
  25. package/dist/component/{diagram-7IWD3JNH-BHAvaju5.js → diagram-7IWD3JNH-BQQttfZd.js} +4 -4
  26. package/dist/component/{diagram-B4RE2ZJO-BNDTIOLy.js → diagram-B4RE2ZJO-Cb17vtkY.js} +3 -3
  27. package/dist/component/{diagram-LBJQPF4R-Bu_f3J2T.js → diagram-LBJQPF4R-DnfooUZj.js} +3 -3
  28. package/dist/component/{diagram-Q27KOJAE-GfK-VzVy.js → diagram-Q27KOJAE-BUHBKgXu.js} +4 -4
  29. package/dist/component/{diagram-UB23O5K3-HPu2U74r.js → diagram-UB23O5K3-B9W7R9HH.js} +3 -3
  30. package/dist/component/{ebnfDiagram-BXEA7PRR-BTNZWzRn.js → ebnfDiagram-BXEA7PRR-CzDJ9VKS.js} +4 -4
  31. package/dist/component/{erDiagram-JOGREHBK-Cur7QmvG.js → erDiagram-JOGREHBK-CiKy87rC.js} +5 -5
  32. package/dist/component/{flowDiagram-UKHOOZJN-CoMX_VjR.js → flowDiagram-UKHOOZJN-BJXlwNPw.js} +7 -7
  33. package/dist/component/{ganttDiagram-PKOTCBZU-DkfQB1Og.js → ganttDiagram-PKOTCBZU-DTKr0mnS.js} +3 -3
  34. package/dist/component/{gitGraphDiagram-DS77QQ5N-AvEWoqV9.js → gitGraphDiagram-DS77QQ5N-BqE9LM8q.js} +4 -4
  35. package/dist/component/{highlighted-body-OFNGDK62-BjGOXO77.js → highlighted-body-OFNGDK62-CIm9H1Wq.js} +2 -2
  36. package/dist/component/index.js +1 -1
  37. package/dist/component/{infoDiagram-6WML65LV-C1d3h-Nb.js → infoDiagram-6WML65LV-DFm8QCR-.js} +2 -2
  38. package/dist/component/{ishikawaDiagram-WSZJBQD7-D-aoYgNB.js → ishikawaDiagram-WSZJBQD7-Dzu5X93V.js} +2 -2
  39. package/dist/component/{journeyDiagram-NVQOT4AX-CZiogznz.js → journeyDiagram-NVQOT4AX-B2jpJoxA.js} +5 -5
  40. package/dist/component/{kanban-definition-27J2QSJJ-DTRBswOj.js → kanban-definition-27J2QSJJ-DqqjEEqN.js} +3 -3
  41. package/dist/component/{linear-BLNBNKRy.js → linear-VKGrBjVp.js} +2 -2
  42. package/dist/component/{mermaid-GHXKKRXX-CefWzb33.js → mermaid-GHXKKRXX-CvjBCI1T.js} +18311 -18149
  43. package/dist/component/{mindmap-definition-FAOFIHXS-DFVR-z89.js → mindmap-definition-FAOFIHXS-BxXZphfo.js} +4 -4
  44. package/dist/component/{pegDiagram-VL7TDLO6-B1G8ZemH.js → pegDiagram-VL7TDLO6-BB6KBO45.js} +4 -4
  45. package/dist/component/{pieDiagram-7S7Q4E2Y-C93lVPKA.js → pieDiagram-7S7Q4E2Y-BhUDtn0U.js} +4 -4
  46. package/dist/component/{quadrantDiagram-CIZ2JOQS-D3IpSIHL.js → quadrantDiagram-CIZ2JOQS-BekTYpN9.js} +3 -3
  47. package/dist/component/{railroadDiagram-AXF67PYL-CGb_UJbc.js → railroadDiagram-AXF67PYL-NkCqFfeB.js} +4 -4
  48. package/dist/component/{requirementDiagram-LRYGKXZP-I0a_lY8Z.js → requirementDiagram-LRYGKXZP-DgUbvazW.js} +4 -4
  49. package/dist/component/{sankeyDiagram-W5VNT64P-BO3ZoVE0.js → sankeyDiagram-W5VNT64P-BaS-5dxg.js} +2 -2
  50. package/dist/component/{sequenceDiagram-SI44F4Z6-Cm9van6N.js → sequenceDiagram-SI44F4Z6-Brxy8LqB.js} +4 -4
  51. package/dist/component/{sizeCapture-X5ZJPWSS-C3cBgV49.js → sizeCapture-X5ZJPWSS-D3PazIzZ.js} +2 -2
  52. package/dist/component/{stateDiagram-OKZ733FA-p8Eai-50.js → stateDiagram-OKZ733FA-DzRMa7xz.js} +3 -3
  53. package/dist/component/{stateDiagram-v2-UEYNNEHI-BSgwoFue.js → stateDiagram-v2-UEYNNEHI-5JRd_Kex.js} +3 -3
  54. package/dist/component/{swimlanes-SLNWSIFB-BzCCYFnU.js → swimlanes-SLNWSIFB-DZR-oUnN.js} +4 -4
  55. package/dist/component/{swimlanesDiagram-ULZ7WXOC-fvuNRxgt.js → swimlanesDiagram-ULZ7WXOC-Dn9jdzUC.js} +3 -3
  56. package/dist/component/{timeline-definition-Z64GVDOM-CR-kM3Gp.js → timeline-definition-Z64GVDOM-BTWa173z.js} +3 -3
  57. package/dist/component/{vennDiagram-T6HMQDX7-CxnJCEHP.js → vennDiagram-T6HMQDX7-BwE-iIK-.js} +2 -2
  58. package/dist/component/{wardleyDiagram-T6FBY63Y-ieTS-hMd.js → wardleyDiagram-T6FBY63Y-H_pDULPZ.js} +3 -3
  59. package/dist/component/{xychartDiagram-ELKLHX3M-DScTUzeU.js → xychartDiagram-ELKLHX3M-DNBPqOgR.js} +3 -3
  60. package/dist/components/embed/AgentGrantAutoConnect.d.ts +35 -0
  61. package/dist/embed/agent-grant-lock.d.ts +14 -0
  62. package/dist/embed/agent-grant-refresh.d.ts +1 -1
  63. package/dist/embed/voice/session-create.d.ts +15 -4
  64. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { g as oe } from "./chunk-XXDRQBXY-CFAd8CCP.js";
2
- import { s as ae } from "./chunk-KBJHAD2P-CsPWEvTV.js";
3
- import { _ as l, l as C, v as ce, x as le, z as he, E as G, c as B, i as F, b9 as de, ad as ge, ae as ue, af as pe } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { g as oe } from "./chunk-XXDRQBXY-DuNREPyH.js";
2
+ import { s as ae } from "./chunk-KBJHAD2P-CC4Una6D.js";
3
+ import { _ as l, l as C, v as ce, x as le, z as he, E as G, c as B, i as F, b9 as de, ad as ge, ae as ue, af as pe } from "./mermaid-GHXKKRXX-CvjBCI1T.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-FAOFIHXS-DFVR-z89.js.map
833
+ //# sourceMappingURL=mindmap-definition-FAOFIHXS-BxXZphfo.js.map
@@ -1,6 +1,6 @@
1
- import { g as i, r as m, d as a } from "./chunk-6Q2QTUOP-DvEP1W3s.js";
2
- import { p } from "./chunk-JWPE2WC7-DVacLGSp.js";
3
- import { _ as t, l as o } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { g as i, r as m, d as a } from "./chunk-6Q2QTUOP-o1oblyO-.js";
2
+ import { p } from "./chunk-JWPE2WC7-CRCYILZC.js";
3
+ import { _ as t, l as o } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
4
4
  import { M as u, d as c } from "./cynefin-VYW2F7L2-DAyxamLw.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
6
6
  globalThis.global = globalThis.global || globalThis;
@@ -95,4 +95,4 @@ var f = c().RailroadPeg.parser.LangiumParser, l = /* @__PURE__ */ t((e) => {
95
95
  export {
96
96
  S as diagram
97
97
  };
98
- //# sourceMappingURL=pegDiagram-VL7TDLO6-B1G8ZemH.js.map
98
+ //# sourceMappingURL=pegDiagram-VL7TDLO6-BB6KBO45.js.map
@@ -1,7 +1,7 @@
1
- import { p as at } from "./chunk-JWPE2WC7-DVacLGSp.js";
2
- import { V as D, K as P, b8 as rt, g as nt, s as it, a as ot, b as st, p as lt, o as ct, _ as d, l as B, c as gt, D as ut, G as dt, a4 as ht, e as pt, q as ft, E as mt } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { p as at } from "./chunk-JWPE2WC7-CRCYILZC.js";
2
+ import { V as D, K as P, b8 as rt, g as nt, s as it, a as ot, b as st, p as lt, o as ct, _ as d, l as B, c as gt, D as ut, G as dt, a4 as ht, e as pt, q as ft, E as mt } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
3
3
  import { p as vt } from "./cynefin-VYW2F7L2-DAyxamLw.js";
4
- import { d as X } from "./arc-DcLjFLQl.js";
4
+ import { d as X } from "./arc-Cm9wcWlx.js";
5
5
  import { o as xt } from "./ordinal-D0x7izaa.js";
6
6
  globalThis.process = globalThis.process || { env: {} };
7
7
  globalThis.global = globalThis.global || globalThis;
@@ -207,4 +207,4 @@ var At = mt.pie, I = {
207
207
  export {
208
208
  It as diagram
209
209
  };
210
- //# sourceMappingURL=pieDiagram-7S7Q4E2Y-C93lVPKA.js.map
210
+ //# sourceMappingURL=pieDiagram-7S7Q4E2Y-BhUDtn0U.js.map
@@ -1,5 +1,5 @@
1
- import { s as Se, g as _e, p as ee, o as Ae, a as ke, b as Fe, _ as r, c as Et, l as qt, d as vt, e as Pe, q as ve, E as z, i as Ce, Z as Le } from "./mermaid-GHXKKRXX-CefWzb33.js";
2
- import { l as te } from "./linear-BLNBNKRy.js";
1
+ import { s as Se, g as _e, p as ee, o as Ae, a as ke, b as Fe, _ as r, c as Et, l as qt, d as vt, e as Pe, q as ve, E as z, i as Ce, Z as Le } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
2
+ import { l as te } from "./linear-VKGrBjVp.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var Ct = (function() {
@@ -1029,4 +1029,4 @@ var ze = /* @__PURE__ */ r(function() {
1029
1029
  export {
1030
1030
  Ne as diagram
1031
1031
  };
1032
- //# sourceMappingURL=quadrantDiagram-CIZ2JOQS-D3IpSIHL.js.map
1032
+ //# sourceMappingURL=quadrantDiagram-CIZ2JOQS-BekTYpN9.js.map
@@ -1,6 +1,6 @@
1
- import { g as o, r as i, d as t } from "./chunk-6Q2QTUOP-DvEP1W3s.js";
2
- import { p } from "./chunk-JWPE2WC7-DVacLGSp.js";
3
- import { _ as l, l as n } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { g as o, r as i, d as t } from "./chunk-6Q2QTUOP-o1oblyO-.js";
2
+ import { p } from "./chunk-JWPE2WC7-CRCYILZC.js";
3
+ import { _ as l, l as n } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
4
4
  import { M as m, c as u } from "./cynefin-VYW2F7L2-DAyxamLw.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
6
6
  globalThis.global = globalThis.global || globalThis;
@@ -77,4 +77,4 @@ var d = u().Railroad.parser.LangiumParser, a = /* @__PURE__ */ l((e) => {
77
77
  export {
78
78
  E as diagram
79
79
  };
80
- //# sourceMappingURL=railroadDiagram-AXF67PYL-CGb_UJbc.js.map
80
+ //# sourceMappingURL=railroadDiagram-AXF67PYL-NkCqFfeB.js.map
@@ -1,6 +1,6 @@
1
- import { g as ze } from "./chunk-XXDRQBXY-CFAd8CCP.js";
2
- import { s as Ge } from "./chunk-KBJHAD2P-CsPWEvTV.js";
3
- import { _ as h, z as Ye, b as Xe, a as Je, s as Ze, g as et, o as tt, p as st, c as ke, l as Ne, q as it, u as rt, v as nt, x as at, y as lt } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { g as ze } from "./chunk-XXDRQBXY-DuNREPyH.js";
2
+ import { s as Ge } from "./chunk-KBJHAD2P-CC4Una6D.js";
3
+ import { _ as h, z as Ye, b as Xe, a as Je, s as Ze, g as et, o as tt, p as st, c as ke, l as Ne, q as it, u as rt, v as nt, x as at, y as lt } from "./mermaid-GHXKKRXX-CvjBCI1T.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-LRYGKXZP-I0a_lY8Z.js.map
888
+ //# sourceMappingURL=requirementDiagram-LRYGKXZP-DgUbvazW.js.map
@@ -1,4 +1,4 @@
1
- import { o as kt, p as mt, s as xt, g as _t, b as vt, a as bt, _ as y, c as ot, bc as St, d as G, ag as wt, q as Lt, k as Et } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { o as kt, p as mt, s as xt, g as _t, b as vt, a as bt, _ as y, c as ot, bc as St, d as G, ag as wt, q as Lt, k as Et } from "./mermaid-GHXKKRXX-CvjBCI1T.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-W5VNT64P-BO3ZoVE0.js.map
862
+ //# sourceMappingURL=sankeyDiagram-W5VNT64P-BaS-5dxg.js.map
@@ -1,6 +1,6 @@
1
- import { I as tr } from "./chunk-2Q5K7J3B-A09eI9PF.js";
2
- import { _ as x, $ as er, c as $, d as Vt, l as at, j as Ce, e as rr, f as ar, k as N, b as ke, s as sr, o as ir, a as nr, g as or, p as cr, a0 as lr, a1 as hr, q as dr, i as Yt, y as Z, a2 as Q, a3 as Pt, a4 as Me, a5 as Tr, z as Kt, a6 as pr, a7 as Be } from "./mermaid-GHXKKRXX-CefWzb33.js";
3
- import { a as Er, b as ae, g as dt, d as ur, c as se, e as ie } from "./chunk-2GRJ4B5K-Cq82o0X4.js";
1
+ import { I as tr } from "./chunk-2Q5K7J3B-BN7qA4Zt.js";
2
+ import { _ as x, $ as er, c as $, d as Vt, l as at, j as Ce, e as rr, f as ar, k as N, b as ke, s as sr, o as ir, a as nr, g as or, p as cr, a0 as lr, a1 as hr, q as dr, i as Yt, y as Z, a2 as Q, a3 as Pt, a4 as Me, a5 as Tr, z as Kt, a6 as pr, a7 as Be } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
3
+ import { a as Er, b as ae, g as dt, d as ur, c as se, e as ie } from "./chunk-2GRJ4B5K-BrKpH2JP.js";
4
4
  globalThis.process = globalThis.process || { env: {} };
5
5
  globalThis.global = globalThis.global || globalThis;
6
6
  var te = (function() {
@@ -2891,4 +2891,4 @@ var ra = /* @__PURE__ */ x(async function(e, t, a) {
2891
2891
  export {
2892
2892
  Ta as diagram
2893
2893
  };
2894
- //# sourceMappingURL=sequenceDiagram-SI44F4Z6-Cm9van6N.js.map
2894
+ //# sourceMappingURL=sequenceDiagram-SI44F4Z6-Brxy8LqB.js.map
@@ -1,4 +1,4 @@
1
- import { _ as t } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { _ as t } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  var l = 1;
@@ -46,4 +46,4 @@ export {
46
46
  p as captureNodeSizes,
47
47
  c as shouldCaptureSizes
48
48
  };
49
- //# sourceMappingURL=sizeCapture-X5ZJPWSS-C3cBgV49.js.map
49
+ //# sourceMappingURL=sizeCapture-X5ZJPWSS-D3PazIzZ.js.map
@@ -1,5 +1,5 @@
1
- import { s as R, a as W, S as N } from "./chunk-5RXB4S5H-CVzff0h3.js";
2
- import { _ as f, c as t, d as M, l as S, e as P, k as z, aa as _, ab as U, a6 as C, y as F } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { s as R, a as W, S as N } from "./chunk-5RXB4S5H-xmyGOu7k.js";
2
+ import { _ as f, c as t, d as M, l as S, e as P, k as z, aa as _, ab as U, a6 as C, y as F } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
3
3
  import { G as O } from "./graph-CWpEkm4G.js";
4
4
  import { l as J } from "./layout-Br2UjHRU.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-OKZ733FA-p8Eai-50.js.map
266
+ //# sourceMappingURL=stateDiagram-OKZ733FA-DzRMa7xz.js.map
@@ -1,5 +1,5 @@
1
- import { s as e, b as r, a as s, S as t } from "./chunk-5RXB4S5H-CVzff0h3.js";
2
- import { _ as l } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { s as e, b as r, a as s, S as t } from "./chunk-5RXB4S5H-xmyGOu7k.js";
2
+ import { _ as l } from "./mermaid-GHXKKRXX-CvjBCI1T.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-UEYNNEHI-BSgwoFue.js.map
19
+ //# sourceMappingURL=stateDiagram-v2-UEYNNEHI-5JRd_Kex.js.map
@@ -1,5 +1,5 @@
1
- import { c as Tr } from "./chunk-RYQCIY6F-DghjJm8u.js";
2
- import { ap as Er, aq as wr, ar as Ar, as as Rr, l as Ke, c as Nr, aj as Or, ai as Pr, ak as Br, aw as kr, ay as Fr, z as _r, av as Dr, az as Hr, y as Oe, aA as Ye, _ as d, aB as Ao } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { c as Tr } from "./chunk-RYQCIY6F--pWAXq1Z.js";
2
+ import { ap as Er, aq as wr, ar as Ar, as as Rr, l as Ke, c as Nr, aj as Or, ai as Pr, ak as Br, aw as kr, ay as Fr, z as _r, av as Dr, az as Hr, y as Oe, aA as Ye, _ as d, aB as Ao } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
3
3
  import { G as Xr } from "./graph-CWpEkm4G.js";
4
4
  globalThis.process = globalThis.process || { env: {} };
5
5
  globalThis.global = globalThis.global || globalThis;
@@ -24,7 +24,7 @@ async function Fo(t, e) {
24
24
  for (const I of o)
25
25
  n.setEdge(I.start, I.end, { ...I }, I.id), e.edges.some((p) => p.id === I.id) || e.edges.push(I);
26
26
  if (globalThis.mermaidCaptureSizes) {
27
- const { captureNodeSizes: I } = await import("./sizeCapture-X5ZJPWSS-C3cBgV49.js");
27
+ const { captureNodeSizes: I } = await import("./sizeCapture-X5ZJPWSS-D3PazIzZ.js");
28
28
  I(t, e);
29
29
  }
30
30
  return {
@@ -5332,4 +5332,4 @@ d(Zr, "render");
5332
5332
  export {
5333
5333
  Zr as render
5334
5334
  };
5335
- //# sourceMappingURL=swimlanes-SLNWSIFB-BzCCYFnU.js.map
5335
+ //# sourceMappingURL=swimlanes-SLNWSIFB-DZR-oUnN.js.map
@@ -1,5 +1,5 @@
1
- import { c as e, s as a } from "./flowDiagram-UKHOOZJN-CoMX_VjR.js";
2
- import { _ as s } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { c as e, s as a } from "./flowDiagram-UKHOOZJN-BJXlwNPw.js";
2
+ import { _ as s } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var t = /* @__PURE__ */ s((l) => `${a(l)}
@@ -13,4 +13,4 @@ var t = /* @__PURE__ */ s((l) => `${a(l)}
13
13
  export {
14
14
  g as diagram
15
15
  };
16
- //# sourceMappingURL=swimlanesDiagram-ULZ7WXOC-fvuNRxgt.js.map
16
+ //# sourceMappingURL=swimlanesDiagram-ULZ7WXOC-Dn9jdzUC.js.map
@@ -1,5 +1,5 @@
1
- import { _ as o, z as gt, ad as Rt, ae as Ct, af as Wt, c as pt, l as E, G as Pt, a4 as Bt, ag as ft, d as U, u as Vt, ah as Ft, q as zt } from "./mermaid-GHXKKRXX-CefWzb33.js";
2
- import { d as ot } from "./arc-DcLjFLQl.js";
1
+ import { _ as o, z as gt, ad as Rt, ae as Ct, af as Wt, c as pt, l as E, G as Pt, a4 as Bt, ag as ft, d as U, u as Vt, ah as Ft, q as zt } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
2
+ import { d as ot } from "./arc-Cm9wcWlx.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-Z64GVDOM-CR-kM3Gp.js.map
1058
+ //# sourceMappingURL=timeline-definition-Z64GVDOM-BTWa173z.js.map
@@ -1,4 +1,4 @@
1
- import { b7 as Wt, s as Kt, g as Ht, p as Yt, o as Xt, a as Zt, b as Jt, _ as w, z as wt, G as Qt, d as ot, ao as $t, ad as te, ae as ee, af as ne, e as se, q as ie, D as oe, E as re } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { b7 as Wt, s as Kt, g as Ht, p as Yt, o as Xt, a as Zt, b as Jt, _ as w, z as wt, G as Qt, d as ot, ao as $t, ad as te, ae as ee, af as ne, e as se, q as ie, D as oe, E as re } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  const kt = (t, n) => Wt(t, "a", -n), _t = 1e-10;
@@ -1578,4 +1578,4 @@ var Ue = { draw: qe }, We = {
1578
1578
  export {
1579
1579
  We as diagram
1580
1580
  };
1581
- //# sourceMappingURL=vennDiagram-T6HMQDX7-CxnJCEHP.js.map
1581
+ //# sourceMappingURL=vennDiagram-T6HMQDX7-BwE-iIK-.js.map
@@ -1,5 +1,5 @@
1
- import { p as St } from "./chunk-JWPE2WC7-DVacLGSp.js";
2
- import { s as Mt, g as Nt, p as Tt, o as zt, a as Lt, b as At, _ as u, Z as Xt, z as Et, D as U, l as K, G as Yt, e as It, q as Bt, c as j } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { p as St } from "./chunk-JWPE2WC7-CRCYILZC.js";
2
+ import { s as Mt, g as Nt, p as Tt, o as zt, a as Lt, b as At, _ as u, Z as Xt, z as Et, D as U, l as K, G as Yt, e as It, q as Bt, c as j } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
3
3
  import { p as Ft } from "./cynefin-VYW2F7L2-DAyxamLw.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-T6FBY63Y-ieTS-hMd.js.map
681
+ //# sourceMappingURL=wardleyDiagram-T6FBY63Y-H_pDULPZ.js.map
@@ -1,7 +1,7 @@
1
- import { s as si, g as ai, p as Et, o as ni, a as oi, b as ri, _ as n, l as It, G as hi, e as li, q as ci, z as pt, i as ui, D as Mt, E as gi, Z as xi, aC as di, aa as Dt } from "./mermaid-GHXKKRXX-CefWzb33.js";
1
+ import { s as si, g as ai, p as Et, o as ni, a as oi, b as ri, _ as n, l as It, G as hi, e as li, q as ci, z as pt, i as ui, D as Mt, E as gi, Z as xi, aC as di, aa as Dt } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
2
2
  import { i as fi } from "./init-BOu0eQYQ.js";
3
3
  import { o as pi } from "./ordinal-D0x7izaa.js";
4
- import { l as vt } from "./linear-BLNBNKRy.js";
4
+ import { l as vt } from "./linear-VKGrBjVp.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
6
6
  globalThis.global = globalThis.global || globalThis;
7
7
  function mi(t, i, e) {
@@ -1418,4 +1418,4 @@ var Ti = /* @__PURE__ */ n(function() {
1418
1418
  export {
1419
1419
  zi as diagram
1420
1420
  };
1421
- //# sourceMappingURL=xychartDiagram-ELKLHX3M-DScTUzeU.js.map
1421
+ //# sourceMappingURL=xychartDiagram-ELKLHX3M-DNBPqOgR.js.map
@@ -1 +1,36 @@
1
+ /**
2
+ * Headless agent-grant auto-connect. Renders NOTHING — it exists only to run
3
+ * the delegated CLI session in the background:
4
+ *
5
+ * BEL-75 auto-consent → the first `none`/`expired` grant for a scope is
6
+ * granted automatically (no click).
7
+ * BEL-79 preemptive refresh → a still-ACTIVE grant nearing expiry is silently
8
+ * re-granted on a fresh host JWT before the agent
9
+ * loses it mid-work.
10
+ *
11
+ * The visible consent/status banner (the "connected until <time>" row + the
12
+ * Allow/Reconnect/Disconnect buttons) was removed at the CEO's request: the
13
+ * session must connect and reconnect automatically without ever telling the
14
+ * user or asking for a click. This component keeps that machinery alive; there
15
+ * is no UI.
16
+ *
17
+ * MODE-AGNOSTIC: connect/refresh fire in EVERY execution mode (plan, approve,
18
+ * balanced, bypass). The old design only auto-connected in bypass because the
19
+ * manual consent card was the fallback for the other modes — with the card
20
+ * gone, gating on mode would strand a new user in plan/approve/balanced with no
21
+ * way to establish the first grant (`reconnect_cli` can only refresh an
22
+ * existing session, not create one). `revoked` is the sole exception: it is the
23
+ * backend kill switch (a cap-failure revoke-all) and must never auto-reconnect,
24
+ * or a revoked-→-reconnect-→-revoke loop would burn the user's sessions.
25
+ *
26
+ * Non-blocking: chat works without a grant (the agent falls back to device
27
+ * login in the terminal), and mounting this never blocks chat.
28
+ *
29
+ * The scope (the host's active workspace) comes from the shared workspace-scope
30
+ * store (embed/workspace-scope.ts): switching workspace re-keys the status query
31
+ * — a grant is single-workspace, so the new workspace auto-connects on its own.
32
+ *
33
+ * The grant POST rides the same host web JWT every API call carries; only
34
+ * status + expiry ever come back — never tokens.
35
+ */
1
36
  export declare function AgentGrantAutoConnect(): null;
@@ -0,0 +1,14 @@
1
+ export type AgentGrantLock = {
2
+ readonly runExclusive: <T>(input: {
3
+ readonly provider: string;
4
+ readonly scopeExternalId: string;
5
+ }, operation: () => Promise<T>) => Promise<T>;
6
+ };
7
+ export type AgentGrantLockRequest = <T>(name: string, operation: () => Promise<T>) => Promise<T>;
8
+ export declare const createAgentGrantLock: (requestLock: AgentGrantLockRequest | null) => AgentGrantLock;
9
+ /**
10
+ * Browser-only coalescing. Redis and the durable grant row remain the
11
+ * correctness boundary when Web Locks is unavailable or different devices
12
+ * race the same scope.
13
+ */
14
+ export declare const browserAgentGrantLock: AgentGrantLock;
@@ -1,4 +1,4 @@
1
- import { AgentGrantStatusView } from '../api/agent-grants.ts';
1
+ import { AgentGrantStatusView } from '../api/agent-grant-status.ts';
2
2
  /**
3
3
  * Re-grant once an active grant has this long or less until expiry.
4
4
  * Deliberately larger than the status poll cadence (`grantStatusPollMs`,
@@ -6,10 +6,15 @@
6
6
  * chat transport uses" with no message attached yet; this is that seam, so
7
7
  * neither call site hand-rolls its own `POST /v1/sessions` fetch.
8
8
  *
9
- * Workspace isolation (§28) mirrors `line-dispatch.ts`'s existing behavior:
10
- * the create body carries the effective `workspaceExternalId` (absent when
11
- * the host runs unscoped) so a background OR foreground line opened while the
12
- * host is inside a workspace lands in THAT workspace.
9
+ * Workspace isolation (§28) mirrors the chat transport's semantics
10
+ * (`#createSession` in belong-chat-transport.ts): a `scoped` host stamps the
11
+ * effective `workspaceExternalId` on the create body so a background OR
12
+ * foreground line opened while the host is inside a workspace lands in THAT
13
+ * workspace; an `unconfigured` host (no workspace concept at all) omits the
14
+ * field and keeps full legacy behavior; and a `missing` scope — tracking
15
+ * configured but no workspace resolves right now — REFUSES to mint (BEL-241):
16
+ * a session created in that window lands in the shared legacy root, where its
17
+ * runs execute with no workspace binding at all.
13
18
  */
14
19
  export type CreateSessionOutcome = {
15
20
  readonly status: "created";
@@ -17,6 +22,12 @@ export type CreateSessionOutcome = {
17
22
  } | {
18
23
  readonly status: "failed";
19
24
  readonly httpStatus: number;
25
+ }
26
+ /** Refused before any request left the SDK: workspace tracking is
27
+ * configured but no workspace resolves right now (§19 expected failure —
28
+ * BEL-241). Callers treat it like any mint that produced no session. */
29
+ | {
30
+ readonly status: "workspace_missing";
20
31
  };
21
32
  /**
22
33
  * `title` seeds the session's row in the Chats switcher (e.g. an agent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@belonguniverseai/react-sdk",
3
- "version": "0.6.14",
3
+ "version": "0.6.15",
4
4
  "description": "Belong — embeddable React AI assistant dock. Mount <BelongWidget> in your app tree with getToken dependency-injection auth.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",