@belonguniverseai/react-sdk 0.6.7 → 0.6.8

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 (69) hide show
  1. package/dist/api/client.d.ts +203 -0
  2. package/dist/api/connectors.d.ts +88 -0
  3. package/dist/api/query-keys.d.ts +1 -0
  4. package/dist/component/{abnfDiagram-N423BO3Z-CZS71qjo.js → abnfDiagram-N423BO3Z-DAMVrmeh.js} +4 -4
  5. package/dist/component/{arc-CztymUZ_.js → arc-Gc-Ug7JA.js} +2 -2
  6. package/dist/component/{architectureDiagram-T3A2C74G-Dg9ZE0Qp.js → architectureDiagram-T3A2C74G-DEETzZJN.js} +3 -3
  7. package/dist/component/{blockDiagram-VBNYF7ZC-DngLqsTJ.js → blockDiagram-VBNYF7ZC-B63eqqq8.js} +4 -4
  8. package/dist/component/{c4Diagram-5PPSVZJV-Dv9PRH6O.js → c4Diagram-5PPSVZJV-B1BOYc8g.js} +3 -3
  9. package/dist/component/{channel-Cy1msWjd.js → channel-PLzmp3cE.js} +2 -2
  10. package/dist/component/{chunk-2GRJ4B5K-BP6YBz9_.js → chunk-2GRJ4B5K-B6eq3oGl.js} +2 -2
  11. package/dist/component/{chunk-2Q5K7J3B-BfWYZyaV.js → chunk-2Q5K7J3B-B7muvlHI.js} +2 -2
  12. package/dist/component/{chunk-5RXB4S5H-Wn88BCO0.js → chunk-5RXB4S5H-DwKu1vp-.js} +5 -5
  13. package/dist/component/{chunk-5VM5RSS4-CXdsy-yn.js → chunk-5VM5RSS4-DfsJf4Z4.js} +2 -2
  14. package/dist/component/{chunk-6Q2QTUOP-DSge-zbv.js → chunk-6Q2QTUOP-CeaiyGYA.js} +2 -2
  15. package/dist/component/{chunk-GF5L2VYU-7kov7TtI.js → chunk-GF5L2VYU-CNmM7mNX.js} +6 -6
  16. package/dist/component/{chunk-JWPE2WC7-BKBsGsHG.js → chunk-JWPE2WC7-BzOJ0gSs.js} +2 -2
  17. package/dist/component/{chunk-KBJHAD2P-CZBTReK1.js → chunk-KBJHAD2P-B_0sEXXZ.js} +2 -2
  18. package/dist/component/{chunk-RYQCIY6F-DanZm73E.js → chunk-RYQCIY6F-CzrE1hmt.js} +2 -2
  19. package/dist/component/{chunk-XXDRQBXY-K9dZrAbB.js → chunk-XXDRQBXY-BUnNxHRd.js} +2 -2
  20. package/dist/component/{classDiagram-JCYQIIEL-DgVNXgGq.js → classDiagram-JCYQIIEL-9VG4K9gL.js} +3 -3
  21. package/dist/component/{classDiagram-v2-OCEON4UE-DgVNXgGq.js → classDiagram-v2-OCEON4UE-9VG4K9gL.js} +3 -3
  22. package/dist/component/{cose-bilkent-JH36ORCC-CNh7W_Rr.js → cose-bilkent-JH36ORCC-_cCdJsPR.js} +2 -2
  23. package/dist/component/{cynefinDiagram-MW4NZA55-BBxdfZii.js → cynefinDiagram-MW4NZA55-DrosRrWG.js} +3 -3
  24. package/dist/component/{dagre-VZM6K2ZE-D6mkmclz.js → dagre-VZM6K2ZE-DVXWVoHI.js} +3 -3
  25. package/dist/component/{diagram-7IWD3JNH-EoPRghAe.js → diagram-7IWD3JNH-BvdLH-gr.js} +4 -4
  26. package/dist/component/{diagram-B4RE2ZJO-Ck-EIN4V.js → diagram-B4RE2ZJO-yq2kxzf4.js} +3 -3
  27. package/dist/component/{diagram-LBJQPF4R-CFJ1IxnO.js → diagram-LBJQPF4R-DjZj7wKC.js} +3 -3
  28. package/dist/component/{diagram-Q27KOJAE-xtJbi8_k.js → diagram-Q27KOJAE-DjV3mMFp.js} +4 -4
  29. package/dist/component/{diagram-UB23O5K3-CL4MaOzz.js → diagram-UB23O5K3-DG73tqIa.js} +3 -3
  30. package/dist/component/{ebnfDiagram-BXEA7PRR-BkyoJuZH.js → ebnfDiagram-BXEA7PRR-TI3Mi84Z.js} +4 -4
  31. package/dist/component/{erDiagram-JOGREHBK-BIXrNwQY.js → erDiagram-JOGREHBK-p28VOtOG.js} +5 -5
  32. package/dist/component/{flowDiagram-UKHOOZJN-D0Mrp2sk.js → flowDiagram-UKHOOZJN-DptddxZK.js} +7 -7
  33. package/dist/component/{ganttDiagram-PKOTCBZU-Bk57vzJC.js → ganttDiagram-PKOTCBZU-CPBYUclk.js} +3 -3
  34. package/dist/component/{gitGraphDiagram-DS77QQ5N-CCpx-kXh.js → gitGraphDiagram-DS77QQ5N-DDJEly11.js} +4 -4
  35. package/dist/component/{highlighted-body-OFNGDK62-B6vAKr9s.js → highlighted-body-OFNGDK62-DmArOVtb.js} +2 -2
  36. package/dist/component/index.js +2 -2
  37. package/dist/component/{infoDiagram-6WML65LV-KlVle315.js → infoDiagram-6WML65LV-fa5NoEep.js} +2 -2
  38. package/dist/component/{ishikawaDiagram-WSZJBQD7-Bi7sbuio.js → ishikawaDiagram-WSZJBQD7-D19tW2EN.js} +2 -2
  39. package/dist/component/{journeyDiagram-NVQOT4AX-Bve0TBmQ.js → journeyDiagram-NVQOT4AX-BMjN5JId.js} +5 -5
  40. package/dist/component/{kanban-definition-27J2QSJJ-BznMypxI.js → kanban-definition-27J2QSJJ-DpEZoYj2.js} +3 -3
  41. package/dist/component/{linear-Db0zTzeX.js → linear-BlZm6_oy.js} +2 -2
  42. package/dist/component/{mermaid-GHXKKRXX-DRvjpCT4.js → mermaid-GHXKKRXX-p-OyUfKz.js} +32536 -31776
  43. package/dist/component/{mindmap-definition-FAOFIHXS-DC-W6F5t.js → mindmap-definition-FAOFIHXS-CZooOHo7.js} +4 -4
  44. package/dist/component/{pegDiagram-VL7TDLO6-DN4TVY9N.js → pegDiagram-VL7TDLO6-BgsgvnUj.js} +4 -4
  45. package/dist/component/{pieDiagram-7S7Q4E2Y-TgcBFjjO.js → pieDiagram-7S7Q4E2Y-BMc5yYJ4.js} +4 -4
  46. package/dist/component/{quadrantDiagram-CIZ2JOQS-CkM5IhjU.js → quadrantDiagram-CIZ2JOQS-2w1cEVRE.js} +3 -3
  47. package/dist/component/{railroadDiagram-AXF67PYL-DxiLraF5.js → railroadDiagram-AXF67PYL-DoiX2thq.js} +4 -4
  48. package/dist/component/{requirementDiagram-LRYGKXZP-nQo-Mina.js → requirementDiagram-LRYGKXZP-CTB2STpc.js} +4 -4
  49. package/dist/component/{sankeyDiagram-W5VNT64P-4KllqWbF.js → sankeyDiagram-W5VNT64P-9xxjcZWi.js} +2 -2
  50. package/dist/component/{sequenceDiagram-SI44F4Z6-Ddb1e9Vc.js → sequenceDiagram-SI44F4Z6-mkS0lJ2i.js} +4 -4
  51. package/dist/component/{sizeCapture-X5ZJPWSS-cOyVP5iN.js → sizeCapture-X5ZJPWSS-BoQhOM5q.js} +2 -2
  52. package/dist/component/{stateDiagram-OKZ733FA-77JC1AgC.js → stateDiagram-OKZ733FA-BC9-EQhL.js} +3 -3
  53. package/dist/component/{stateDiagram-v2-UEYNNEHI-CASTwYVj.js → stateDiagram-v2-UEYNNEHI-DtIgdpQz.js} +3 -3
  54. package/dist/component/{swimlanes-SLNWSIFB-DlzxVctq.js → swimlanes-SLNWSIFB-Dt29sUod.js} +4 -4
  55. package/dist/component/{swimlanesDiagram-ULZ7WXOC-BQv0GPEC.js → swimlanesDiagram-ULZ7WXOC-XhpcM99S.js} +3 -3
  56. package/dist/component/{timeline-definition-Z64GVDOM-snpoPkCw.js → timeline-definition-Z64GVDOM-BaSPNtp7.js} +3 -3
  57. package/dist/component/{vennDiagram-T6HMQDX7-CQ3oA8fU.js → vennDiagram-T6HMQDX7-DEh8MevO.js} +2 -2
  58. package/dist/component/{wardleyDiagram-T6FBY63Y-BPE-lH8K.js → wardleyDiagram-T6FBY63Y-DAL7SU3o.js} +3 -3
  59. package/dist/component/{xychartDiagram-ELKLHX3M-DOiVr_f-.js → xychartDiagram-ELKLHX3M-Cde-mFmr.js} +3 -3
  60. package/dist/components/connectors/ConnectorAuthFields.d.ts +11 -1
  61. package/dist/components/connectors/ConnectorMarketplaceDialog.d.ts +9 -0
  62. package/dist/components/connectors/ConnectorsListSurface.d.ts +6 -0
  63. package/dist/components/connectors/NewConnectorDialog.d.ts +5 -42
  64. package/dist/components/connectors/connector-copy.d.ts +24 -4
  65. package/dist/components/connectors/connector-form.d.ts +52 -0
  66. package/dist/components/embed/save-prompt-name.d.ts +20 -7
  67. package/dist/i18n/messages/en.d.ts +43 -2
  68. package/dist/i18n/messages/surfaces/connectors.d.ts +125 -2
  69. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { g as oe } from "./chunk-XXDRQBXY-K9dZrAbB.js";
2
- import { s as ae } from "./chunk-KBJHAD2P-CZBTReK1.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-DRvjpCT4.js";
1
+ import { g as oe } from "./chunk-XXDRQBXY-BUnNxHRd.js";
2
+ import { s as ae } from "./chunk-KBJHAD2P-B_0sEXXZ.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-p-OyUfKz.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-DC-W6F5t.js.map
833
+ //# sourceMappingURL=mindmap-definition-FAOFIHXS-CZooOHo7.js.map
@@ -1,6 +1,6 @@
1
- import { g as i, r as m, d as a } from "./chunk-6Q2QTUOP-DSge-zbv.js";
2
- import { p } from "./chunk-JWPE2WC7-BKBsGsHG.js";
3
- import { _ as t, l as o } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { g as i, r as m, d as a } from "./chunk-6Q2QTUOP-CeaiyGYA.js";
2
+ import { p } from "./chunk-JWPE2WC7-BzOJ0gSs.js";
3
+ import { _ as t, l as o } from "./mermaid-GHXKKRXX-p-OyUfKz.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-DN4TVY9N.js.map
98
+ //# sourceMappingURL=pegDiagram-VL7TDLO6-BgsgvnUj.js.map
@@ -1,7 +1,7 @@
1
- import { p as at } from "./chunk-JWPE2WC7-BKBsGsHG.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-DRvjpCT4.js";
1
+ import { p as at } from "./chunk-JWPE2WC7-BzOJ0gSs.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-p-OyUfKz.js";
3
3
  import { p as vt } from "./cynefin-VYW2F7L2-DAyxamLw.js";
4
- import { d as X } from "./arc-CztymUZ_.js";
4
+ import { d as X } from "./arc-Gc-Ug7JA.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-TgcBFjjO.js.map
210
+ //# sourceMappingURL=pieDiagram-7S7Q4E2Y-BMc5yYJ4.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-DRvjpCT4.js";
2
- import { l as te } from "./linear-Db0zTzeX.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-p-OyUfKz.js";
2
+ import { l as te } from "./linear-BlZm6_oy.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-CkM5IhjU.js.map
1032
+ //# sourceMappingURL=quadrantDiagram-CIZ2JOQS-2w1cEVRE.js.map
@@ -1,6 +1,6 @@
1
- import { g as o, r as i, d as t } from "./chunk-6Q2QTUOP-DSge-zbv.js";
2
- import { p } from "./chunk-JWPE2WC7-BKBsGsHG.js";
3
- import { _ as l, l as n } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { g as o, r as i, d as t } from "./chunk-6Q2QTUOP-CeaiyGYA.js";
2
+ import { p } from "./chunk-JWPE2WC7-BzOJ0gSs.js";
3
+ import { _ as l, l as n } from "./mermaid-GHXKKRXX-p-OyUfKz.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-DxiLraF5.js.map
80
+ //# sourceMappingURL=railroadDiagram-AXF67PYL-DoiX2thq.js.map
@@ -1,6 +1,6 @@
1
- import { g as ze } from "./chunk-XXDRQBXY-K9dZrAbB.js";
2
- import { s as Ge } from "./chunk-KBJHAD2P-CZBTReK1.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-DRvjpCT4.js";
1
+ import { g as ze } from "./chunk-XXDRQBXY-BUnNxHRd.js";
2
+ import { s as Ge } from "./chunk-KBJHAD2P-B_0sEXXZ.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-p-OyUfKz.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-nQo-Mina.js.map
888
+ //# sourceMappingURL=requirementDiagram-LRYGKXZP-CTB2STpc.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-DRvjpCT4.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-p-OyUfKz.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-4KllqWbF.js.map
862
+ //# sourceMappingURL=sankeyDiagram-W5VNT64P-9xxjcZWi.js.map
@@ -1,6 +1,6 @@
1
- import { I as tr } from "./chunk-2Q5K7J3B-BfWYZyaV.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-DRvjpCT4.js";
3
- import { a as Er, b as ae, g as dt, d as ur, c as se, e as ie } from "./chunk-2GRJ4B5K-BP6YBz9_.js";
1
+ import { I as tr } from "./chunk-2Q5K7J3B-B7muvlHI.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-p-OyUfKz.js";
3
+ import { a as Er, b as ae, g as dt, d as ur, c as se, e as ie } from "./chunk-2GRJ4B5K-B6eq3oGl.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-Ddb1e9Vc.js.map
2894
+ //# sourceMappingURL=sequenceDiagram-SI44F4Z6-mkS0lJ2i.js.map
@@ -1,4 +1,4 @@
1
- import { _ as t } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { _ as t } from "./mermaid-GHXKKRXX-p-OyUfKz.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-cOyVP5iN.js.map
49
+ //# sourceMappingURL=sizeCapture-X5ZJPWSS-BoQhOM5q.js.map
@@ -1,5 +1,5 @@
1
- import { s as R, a as W, S as N } from "./chunk-5RXB4S5H-Wn88BCO0.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-DRvjpCT4.js";
1
+ import { s as R, a as W, S as N } from "./chunk-5RXB4S5H-DwKu1vp-.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-p-OyUfKz.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-77JC1AgC.js.map
266
+ //# sourceMappingURL=stateDiagram-OKZ733FA-BC9-EQhL.js.map
@@ -1,5 +1,5 @@
1
- import { s as e, b as r, a as s, S as t } from "./chunk-5RXB4S5H-Wn88BCO0.js";
2
- import { _ as l } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { s as e, b as r, a as s, S as t } from "./chunk-5RXB4S5H-DwKu1vp-.js";
2
+ import { _ as l } from "./mermaid-GHXKKRXX-p-OyUfKz.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-CASTwYVj.js.map
19
+ //# sourceMappingURL=stateDiagram-v2-UEYNNEHI-DtIgdpQz.js.map
@@ -1,5 +1,5 @@
1
- import { c as Tr } from "./chunk-RYQCIY6F-DanZm73E.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-DRvjpCT4.js";
1
+ import { c as Tr } from "./chunk-RYQCIY6F-CzrE1hmt.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-p-OyUfKz.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-cOyVP5iN.js");
27
+ const { captureNodeSizes: I } = await import("./sizeCapture-X5ZJPWSS-BoQhOM5q.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-DlzxVctq.js.map
5335
+ //# sourceMappingURL=swimlanes-SLNWSIFB-Dt29sUod.js.map
@@ -1,5 +1,5 @@
1
- import { c as e, s as a } from "./flowDiagram-UKHOOZJN-D0Mrp2sk.js";
2
- import { _ as s } from "./mermaid-GHXKKRXX-DRvjpCT4.js";
1
+ import { c as e, s as a } from "./flowDiagram-UKHOOZJN-DptddxZK.js";
2
+ import { _ as s } from "./mermaid-GHXKKRXX-p-OyUfKz.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-BQv0GPEC.js.map
16
+ //# sourceMappingURL=swimlanesDiagram-ULZ7WXOC-XhpcM99S.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-DRvjpCT4.js";
2
- import { d as ot } from "./arc-CztymUZ_.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-p-OyUfKz.js";
2
+ import { d as ot } from "./arc-Gc-Ug7JA.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-snpoPkCw.js.map
1058
+ //# sourceMappingURL=timeline-definition-Z64GVDOM-BaSPNtp7.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-DRvjpCT4.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-p-OyUfKz.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-CQ3oA8fU.js.map
1581
+ //# sourceMappingURL=vennDiagram-T6HMQDX7-DEh8MevO.js.map
@@ -1,5 +1,5 @@
1
- import { p as St } from "./chunk-JWPE2WC7-BKBsGsHG.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-DRvjpCT4.js";
1
+ import { p as St } from "./chunk-JWPE2WC7-BzOJ0gSs.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-p-OyUfKz.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-BPE-lH8K.js.map
681
+ //# sourceMappingURL=wardleyDiagram-T6FBY63Y-DAL7SU3o.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-DRvjpCT4.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-p-OyUfKz.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-Db0zTzeX.js";
4
+ import { l as vt } from "./linear-BlZm6_oy.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-DOiVr_f-.js.map
1421
+ //# sourceMappingURL=xychartDiagram-ELKLHX3M-Cde-mFmr.js.map
@@ -1,8 +1,18 @@
1
1
  import { ConnectorAuthDraft } from './connector-form.ts';
2
- export declare const ConnectorAuthFields: ({ auth, disabled, allowOAuth, onChange, }: {
2
+ export declare const ConnectorAuthFields: ({ auth, disabled, allowOAuth, appCredentialsRequired, onChange, }: {
3
3
  readonly auth: ConnectorAuthDraft;
4
4
  readonly disabled?: boolean;
5
5
  /** ADD only — see the module doc on why an edit does not offer it. */
6
6
  readonly allowOAuth?: boolean;
7
+ /**
8
+ * This particular app will NOT register us on its own (no RFC 7591
9
+ * endpoint). If the user chooses sign-in instead of the token-first default,
10
+ * app credentials are required, so unfold their box and replace the usual
11
+ * "nothing to type here" hint.
12
+ *
13
+ * Known only where an address has been asked (`connector-probe.ts`), so the
14
+ * edit form and every un-probed address keep the folded default.
15
+ */
16
+ readonly appCredentialsRequired?: boolean;
7
17
  readonly onChange: (next: ConnectorAuthDraft) => void;
8
18
  }) => import("react").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { ConnectorCatalogEntry, ConnectorSummary } from '../../api/connectors.ts';
2
+ export declare const ConnectorMarketplaceDialog: ({ open, onOpenChange, connectors, onSelect, onOpenConnected, onCustom, }: {
3
+ readonly open: boolean;
4
+ readonly onOpenChange: (open: boolean) => void;
5
+ readonly connectors: readonly ConnectorSummary[];
6
+ readonly onSelect: (entry: ConnectorCatalogEntry) => void;
7
+ readonly onOpenConnected: (connectorId: string) => void;
8
+ readonly onCustom: () => void;
9
+ }) => import("react").JSX.Element;
@@ -27,5 +27,11 @@
27
27
  * NOTHING HERE IS RED (§42). A connector that needs reconnecting, or whose
28
28
  * last check failed, is orange — these are ordinary things that happen to a
29
29
  * working product, and red would say Belong is broken.
30
+ *
31
+ * A row that needs attention carries its own WAY OUT, beside the menu rather
32
+ * than inside it: Reconnect for a user grant (the sign-in window), Enter
33
+ * credentials for one that was typed (the edit form, opened on the spot). The
34
+ * menu keeps both as well — this is a shortcut to the action the row is
35
+ * already asking for, not a second place to look.
30
36
  */
31
37
  export declare const ConnectorsListSurface: () => import("react").JSX.Element;
@@ -1,47 +1,10 @@
1
- /**
2
- * Add a connector name it, give it the address the provider published, and
3
- * (behind Advanced) whatever credential it wants.
4
- *
5
- * Shaped on `NewPromptDialog`: controlled `open`, manual field state, a busy
6
- * footer, every rule delegated to a pure model (`connector-form.ts`), and the
7
- * outcome matched exhaustively so a new failure the routes start returning is
8
- * a compile error here rather than a silent "couldn't save".
9
- *
10
- * Four things this dialog does that its prompt sibling does not:
11
- *
12
- * • DISCOVERY IS SYNCHRONOUS. A successful create already knows the tools, so
13
- * the surface can open the new connector's details immediately (`onCreated`)
14
- * and show what the agent just gained. Nothing to poll.
15
- *
16
- * • …EXCEPT WHEN THE USER SIGNS IN THROUGH THE APP. That one create writes a
17
- * needs-attention row with no tools, because the credential is a sign-in
18
- * window away. The dialog then STAYS OPEN and drives the whole flow itself
19
- * (`useConnectorOAuthConnect`) — open the window, watch the connector, close
20
- * on success — so the user experiences one action, not two. A dialog that
21
- * closed on create would leave them looking at a connector that says it
22
- * needs attention and no clue that they were mid-sign-in.
23
- *
24
- * • THE RISK GATE. Adding a connector hands a third party the ability to act
25
- * with the user's data. That is a decision, not a form field, so Add stays
26
- * disabled until the sentence is acknowledged — and the sentence names what
27
- * is actually being granted rather than warning in the abstract. It is TWO
28
- * lines: what the user is agreeing to, then, muted underneath, the thing
29
- * only we can tell them — that we cannot vouch for this app or for what it
30
- * does to the answers.
31
- *
32
- * • THE ADDRESS IS FINAL. `serverUrl` cannot be edited afterwards (a different
33
- * address is a different server, with different tools and a different trust
34
- * decision), so the field says so while it can still be changed. `transport`
35
- * is final for the same reason and is therefore offered HERE ONLY, behind
36
- * Advanced — this is the last moment either can be chosen.
37
- *
38
- * `clientConnectorId` is minted ONCE per open: `retry-fetch.ts` deliberately
39
- * re-sends POSTs, so without it a retried create whose first attempt landed
40
- * comes back as "that name is taken" — by the connector the user just added.
41
- */
42
- export declare const NewConnectorDialog: ({ open, onOpenChange, onCreated, }: {
1
+ import { ConnectorCatalogEntry } from '../../api/connectors.ts';
2
+ export declare const NewConnectorDialog: ({ open, onOpenChange, onCreated, preset, onBack, }: {
43
3
  readonly open: boolean;
44
4
  readonly onOpenChange: (open: boolean) => void;
45
5
  /** The new connector's id, so the surface can show what it just discovered. */
46
6
  readonly onCreated?: (connectorId: string) => void;
7
+ /** A DB-owned marketplace entry. Identity and endpoint are shown read-only. */
8
+ readonly preset?: ConnectorCatalogEntry;
9
+ readonly onBack?: () => void;
47
10
  }) => import("react").JSX.Element;
@@ -1,17 +1,37 @@
1
1
  import { TFunction } from 'i18next';
2
- import { ConnectorDiscoveryFailure, CreateConnectorOutcome, DeleteConnectorOutcome, RefreshConnectorOutcome, UpdateConnectorOutcome } from '../../api/connectors.ts';
2
+ import { ConnectorDiscoveryFailure, ConnectorSummary, CreateConnectorOutcome, DeleteConnectorOutcome, ProbeConnectorOutcome, RefreshConnectorOutcome, UpdateConnectorOutcome } from '../../api/connectors.ts';
3
3
  import { ConnectorFormProblem } from './connector-form.ts';
4
4
  export type ConnectorNotice = {
5
5
  readonly text: string;
6
- /** The provider's own words, when there are any worth showing. */
7
- readonly detail?: string;
8
6
  };
9
7
  /** Why a discovery attempt produced no tools, in the user's terms. */
10
8
  export declare const discoveryFailureText: (t: TFunction, failure: ConnectorDiscoveryFailure) => string;
9
+ /**
10
+ * The one line under the address, once we have asked the app what it wants.
11
+ *
12
+ * `tone` is the whole editorial decision here, and it is NOT a severity: a
13
+ * probe never fails an operation, it answers a question the user was about to
14
+ * guess at. `notice` (orange, never red — §42) marks the two answers with
15
+ * something for the user to DO — paste a token, create an app at the provider
16
+ * — plus an address that did not answer at all; everything else is muted,
17
+ * because "signs you in, nothing to type" is good news, not an alert.
18
+ */
19
+ type ConnectorProbeHint = {
20
+ readonly text: string;
21
+ readonly tone: "muted" | "notice";
22
+ };
23
+ export declare const probeOutcomeHint: (t: TFunction, outcome: ProbeConnectorOutcome) => ConnectorProbeHint;
11
24
  /** What the FORM itself refuses, before anything is sent. */
12
25
  export declare const formProblemText: (t: TFunction, problem: ConnectorFormProblem) => string;
13
26
  /** `null` = it worked; the caller closes and invalidates. */
14
27
  export declare const createOutcomeNotice: (t: TFunction, outcome: CreateConnectorOutcome) => ConnectorNotice | null;
15
28
  export declare const updateOutcomeNotice: (t: TFunction, outcome: UpdateConnectorOutcome) => ConnectorNotice | null;
16
- export declare const refreshOutcomeNotice: (t: TFunction, outcome: RefreshConnectorOutcome) => ConnectorNotice | null;
29
+ /**
30
+ * `authMode` is passed for ONE arm — an unreadable credential — because the
31
+ * way back genuinely differs by mode: a user grant is signed in again (there
32
+ * is nothing to type), a pasted one is typed again. Saying "enter them again"
33
+ * to someone holding a user grant names an action that does not exist.
34
+ */
35
+ export declare const refreshOutcomeNotice: (t: TFunction, outcome: RefreshConnectorOutcome, authMode?: ConnectorSummary["authMode"]) => ConnectorNotice | null;
17
36
  export declare const deleteOutcomeNotice: (t: TFunction, outcome: DeleteConnectorOutcome) => ConnectorNotice | null;
37
+ export {};
@@ -87,6 +87,9 @@ export type ConnectorFormDraft = {
87
87
  * passes the STORED one straight back through (it cannot be changed). */
88
88
  readonly transport: ConnectorTransport;
89
89
  readonly auth: ConnectorAuthDraft;
90
+ /** The probe found no dynamic registration endpoint. Only matters when the
91
+ * user overrides the token-first suggestion and chooses sign-in. */
92
+ readonly signInNeedsClientId: boolean;
90
93
  };
91
94
  /**
92
95
  * What is wrong with the draft. A discriminated union rather than a message
@@ -132,6 +135,11 @@ export type ConnectorFormProblem = {
132
135
  * that went wrong, and the server refuses it too. */
133
136
  | {
134
137
  readonly kind: "oauth_client_id_missing";
138
+ }
139
+ /** Sign-in cannot start because this provider will not dynamically register
140
+ * Belong and the draft carries no already-registered app id. */
141
+ | {
142
+ readonly kind: "oauth_client_id_required";
135
143
  } | {
136
144
  readonly kind: "oauth_client_id_too_long";
137
145
  } | {
@@ -227,6 +235,50 @@ export type ConnectorCredentialValidation = {
227
235
  * the user typed and may need to recognise.
228
236
  */
229
237
  export declare const connectorServerOrigin: (serverUrl: string) => string;
238
+ /**
239
+ * Is this address worth ASKING about yet? True only for something that would
240
+ * survive the form's own url check, so a half-typed `https://a` never becomes
241
+ * a request — the probe fires on a paste, and a request per keystroke would be
242
+ * a request per keystroke to somebody else's server.
243
+ */
244
+ export declare const isProbableConnectorUrl: (serverUrl: string) => boolean;
245
+ /**
246
+ * The credential form a probed address should OPEN on.
247
+ *
248
+ * Deliberately returns a BLANK draft of the suggested mode rather than one
249
+ * pre-filled from discovery. The two values discovery could hand over — a
250
+ * client id and a scope line — are exactly the two the server re-derives on
251
+ * its own at sign-in time (`connector-oauth.ts` prefers the row's pinned scope
252
+ * and falls back to the server's), so writing them into the form would pin
253
+ * today's answer to a row that outlives it, in a field the user did not type.
254
+ *
255
+ * A suggestion is a STARTING POINT: the caller applies it only while the user
256
+ * has not chosen a mode themselves, and the Advanced select stays the override.
257
+ */
258
+ export declare const authDraftForSuggestion: (suggestion: {
259
+ readonly mode: "none";
260
+ } | {
261
+ readonly mode: "oauth";
262
+ readonly registration: "dynamic" | "client_id_required";
263
+ readonly authorizationServerOrigin: string;
264
+ } | {
265
+ readonly mode: "bearer";
266
+ }) => ConnectorAuthDraft;
267
+ /**
268
+ * Does the suggested credential need the user to TYPE something before Add can
269
+ * work? That is the question Advanced's fold answers wrongly by default: a
270
+ * pasted token and a provider-console client id both live behind it, and a
271
+ * folded field the form is waiting on reads as a form that refuses to submit
272
+ * for no reason.
273
+ */
274
+ export declare const suggestionNeedsInput: (suggestion: {
275
+ readonly mode: "none";
276
+ } | {
277
+ readonly mode: "oauth";
278
+ readonly registration: "dynamic" | "client_id_required";
279
+ } | {
280
+ readonly mode: "bearer";
281
+ }) => boolean;
230
282
  /** Validate the auth half alone. Accepts every mode the CREATE form offers. */
231
283
  export declare const validateConnectorAuth: (auth: ConnectorAuthDraft) => ConnectorAuthValidation;
232
284
  /**
@@ -3,14 +3,19 @@
3
3
  * `schedule-dialog-model.ts` uses: every rule lives here, the component holds
4
4
  * none of the branching.
5
5
  *
6
- * Two jobs. `slugifyPromptName` turns whatever the user types into the
6
+ * Three jobs. `slugifyPromptName` turns whatever the user types into the
7
7
  * lowercase slug the server accepts (rejecting instead would punish anyone who
8
- * types a normal title). `validatePromptName` answers the ticket's open
9
- * save-time UX question: a name already owned by a builtin, a tenant skill, a
10
- * workspace command, or another saved prompt is BLOCKED and the reason NAMES
11
- * which one because the client merge resolves precedence by dropping the
12
- * shadowed prompt, so saving one would produce a prompt that never appears in
13
- * `/`. That reads as data loss, and the user has no way to discover it.
8
+ * types a normal title). `slugifyPromptNameWhileTyping` is its per-keystroke
9
+ * sibling: identical except it KEEPS a trailing dash, because a controlled
10
+ * input that re-runs the canonical slugify on every keystroke deletes the `-`
11
+ * the user just typed ("recon-" "recon") which made a hyphenated name like
12
+ * `recon-overview` impossible to TYPE even though pasting it worked.
13
+ * `validatePromptName` answers the ticket's open save-time UX question: a name
14
+ * already owned by a builtin, a tenant skill, a workspace command, or another
15
+ * saved prompt is BLOCKED and the reason NAMES which one — because the client
16
+ * merge resolves precedence by dropping the shadowed prompt, so saving one
17
+ * would produce a prompt that never appears in `/`. That reads as data loss,
18
+ * and the user has no way to discover it.
14
19
  */
15
20
  /** Server bound — `pre-prompt.schemas.ts`'s `MAX_PRE_PROMPT_NAME_CHARS`. */
16
21
  export declare const MAX_PROMPT_NAME_CHARS = 64;
@@ -19,6 +24,14 @@ export declare const MAX_PROMPT_NAME_CHARS = 64;
19
24
  * the server's ceiling (then re-trim, since the cut can land on a dash).
20
25
  */
21
26
  export declare const slugifyPromptName: (raw: string) => string;
27
+ /**
28
+ * The per-keystroke transform for the controlled name inputs: same pipeline as
29
+ * `slugifyPromptName` but the trailing dash SURVIVES, so the `-` the user just
30
+ * typed is still there when the next letter lands. Dialogs validate and submit
31
+ * the canonical `slugifyPromptName` of the field, so the kept dash never
32
+ * reaches the server.
33
+ */
34
+ export declare const slugifyPromptNameWhileTyping: (raw: string) => string;
22
35
  /** Which kind of existing entry already owns a name the user typed. */
23
36
  export type PromptNameOwner = "builtin" | "skill" | "command" | "prompt";
24
37
  type PromptNameValidation = {