@belonguniverseai/react-sdk 0.6.15 → 0.6.16

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 (68) hide show
  1. package/dist/api/client.d.ts +180 -0
  2. package/dist/api/questions.d.ts +41 -0
  3. package/dist/component/{abnfDiagram-N423BO3Z-BHtc0bvC.js → abnfDiagram-N423BO3Z-OROjdfGy.js} +4 -4
  4. package/dist/component/{arc-Cm9wcWlx.js → arc-BV89erXj.js} +2 -2
  5. package/dist/component/{architectureDiagram-T3A2C74G-B5Uz6lDY.js → architectureDiagram-T3A2C74G-DvC153Pa.js} +3 -3
  6. package/dist/component/{blockDiagram-VBNYF7ZC-DtXwzBny.js → blockDiagram-VBNYF7ZC-BhY_gBxr.js} +4 -4
  7. package/dist/component/{c4Diagram-5PPSVZJV-BvFhvePm.js → c4Diagram-5PPSVZJV-l_KLeHXr.js} +3 -3
  8. package/dist/component/{channel-D3rCn2In.js → channel-C04d5zF_.js} +2 -2
  9. package/dist/component/{chunk-2GRJ4B5K-BrKpH2JP.js → chunk-2GRJ4B5K-CEWW_4Iw.js} +2 -2
  10. package/dist/component/{chunk-2Q5K7J3B-BN7qA4Zt.js → chunk-2Q5K7J3B-CB6VkgEJ.js} +2 -2
  11. package/dist/component/{chunk-5RXB4S5H-xmyGOu7k.js → chunk-5RXB4S5H-FAQX8NS6.js} +5 -5
  12. package/dist/component/{chunk-5VM5RSS4-Bo9mNteC.js → chunk-5VM5RSS4-L_UXpqco.js} +2 -2
  13. package/dist/component/{chunk-6Q2QTUOP-o1oblyO-.js → chunk-6Q2QTUOP-Dodzsg9f.js} +2 -2
  14. package/dist/component/{chunk-GF5L2VYU-CBhzNfdK.js → chunk-GF5L2VYU-B6YkOr2d.js} +6 -6
  15. package/dist/component/{chunk-JWPE2WC7-CRCYILZC.js → chunk-JWPE2WC7-BzhR8Ja-.js} +2 -2
  16. package/dist/component/{chunk-KBJHAD2P-CC4Una6D.js → chunk-KBJHAD2P-D7S_ui4V.js} +2 -2
  17. package/dist/component/{chunk-RYQCIY6F--pWAXq1Z.js → chunk-RYQCIY6F-BRnTO8_F.js} +2 -2
  18. package/dist/component/{chunk-XXDRQBXY-DuNREPyH.js → chunk-XXDRQBXY-C7_5LZDu.js} +2 -2
  19. package/dist/component/{classDiagram-JCYQIIEL-Hok8J7EG.js → classDiagram-JCYQIIEL-D3MdI_KC.js} +3 -3
  20. package/dist/component/{classDiagram-v2-OCEON4UE-Hok8J7EG.js → classDiagram-v2-OCEON4UE-D3MdI_KC.js} +3 -3
  21. package/dist/component/{cose-bilkent-JH36ORCC-BfqjApDt.js → cose-bilkent-JH36ORCC-BEuo9qsi.js} +2 -2
  22. package/dist/component/{cynefinDiagram-MW4NZA55-BJZ-okQI.js → cynefinDiagram-MW4NZA55-BfhAjv0p.js} +3 -3
  23. package/dist/component/{dagre-VZM6K2ZE-6H6WAA1H.js → dagre-VZM6K2ZE-DdaRxW4J.js} +3 -3
  24. package/dist/component/{diagram-7IWD3JNH-BQQttfZd.js → diagram-7IWD3JNH-BFbU8Ovo.js} +4 -4
  25. package/dist/component/{diagram-B4RE2ZJO-Cb17vtkY.js → diagram-B4RE2ZJO-CdPb_acC.js} +3 -3
  26. package/dist/component/{diagram-LBJQPF4R-DnfooUZj.js → diagram-LBJQPF4R-Bo8o8x70.js} +3 -3
  27. package/dist/component/{diagram-Q27KOJAE-BUHBKgXu.js → diagram-Q27KOJAE-CugDzXxZ.js} +4 -4
  28. package/dist/component/{diagram-UB23O5K3-B9W7R9HH.js → diagram-UB23O5K3-CYHh9d2Z.js} +3 -3
  29. package/dist/component/{ebnfDiagram-BXEA7PRR-CzDJ9VKS.js → ebnfDiagram-BXEA7PRR-CdqVlgbh.js} +4 -4
  30. package/dist/component/{erDiagram-JOGREHBK-CiKy87rC.js → erDiagram-JOGREHBK-CMh6xOk6.js} +5 -5
  31. package/dist/component/{flowDiagram-UKHOOZJN-BJXlwNPw.js → flowDiagram-UKHOOZJN-ttP65F-a.js} +7 -7
  32. package/dist/component/{ganttDiagram-PKOTCBZU-DTKr0mnS.js → ganttDiagram-PKOTCBZU-CSTsjgxH.js} +3 -3
  33. package/dist/component/{gitGraphDiagram-DS77QQ5N-BqE9LM8q.js → gitGraphDiagram-DS77QQ5N-BtXqSxkQ.js} +4 -4
  34. package/dist/component/{highlighted-body-OFNGDK62-CIm9H1Wq.js → highlighted-body-OFNGDK62-CIltS1BE.js} +2 -2
  35. package/dist/component/index.js +2 -2
  36. package/dist/component/{infoDiagram-6WML65LV-DFm8QCR-.js → infoDiagram-6WML65LV-FqIIsY32.js} +2 -2
  37. package/dist/component/{ishikawaDiagram-WSZJBQD7-Dzu5X93V.js → ishikawaDiagram-WSZJBQD7-BA78Hm4p.js} +2 -2
  38. package/dist/component/{journeyDiagram-NVQOT4AX-B2jpJoxA.js → journeyDiagram-NVQOT4AX-Bu99yxhx.js} +5 -5
  39. package/dist/component/{kanban-definition-27J2QSJJ-DqqjEEqN.js → kanban-definition-27J2QSJJ-CTf66i07.js} +3 -3
  40. package/dist/component/{linear-VKGrBjVp.js → linear-Cr5nCYH-.js} +2 -2
  41. package/dist/component/{mermaid-GHXKKRXX-CvjBCI1T.js → mermaid-GHXKKRXX-Da5y0Kes.js} +35048 -34729
  42. package/dist/component/{mindmap-definition-FAOFIHXS-BxXZphfo.js → mindmap-definition-FAOFIHXS-CQ5erfft.js} +4 -4
  43. package/dist/component/{pegDiagram-VL7TDLO6-BB6KBO45.js → pegDiagram-VL7TDLO6-BP4d3yNS.js} +4 -4
  44. package/dist/component/{pieDiagram-7S7Q4E2Y-BhUDtn0U.js → pieDiagram-7S7Q4E2Y-BvhLQABG.js} +4 -4
  45. package/dist/component/{quadrantDiagram-CIZ2JOQS-BekTYpN9.js → quadrantDiagram-CIZ2JOQS-DEtpNVeI.js} +3 -3
  46. package/dist/component/{railroadDiagram-AXF67PYL-NkCqFfeB.js → railroadDiagram-AXF67PYL-BQ1Tz2JD.js} +4 -4
  47. package/dist/component/{requirementDiagram-LRYGKXZP-DgUbvazW.js → requirementDiagram-LRYGKXZP-DaubiNmJ.js} +4 -4
  48. package/dist/component/{sankeyDiagram-W5VNT64P-BaS-5dxg.js → sankeyDiagram-W5VNT64P-BHuCT4HV.js} +2 -2
  49. package/dist/component/{sequenceDiagram-SI44F4Z6-Brxy8LqB.js → sequenceDiagram-SI44F4Z6-Dds6EZRB.js} +4 -4
  50. package/dist/component/{sizeCapture-X5ZJPWSS-D3PazIzZ.js → sizeCapture-X5ZJPWSS-DgUmHwfK.js} +2 -2
  51. package/dist/component/{stateDiagram-OKZ733FA-DzRMa7xz.js → stateDiagram-OKZ733FA-DIKGff3C.js} +3 -3
  52. package/dist/component/{stateDiagram-v2-UEYNNEHI-5JRd_Kex.js → stateDiagram-v2-UEYNNEHI-D-W1YrbI.js} +3 -3
  53. package/dist/component/{swimlanes-SLNWSIFB-DZR-oUnN.js → swimlanes-SLNWSIFB-B0g61P7R.js} +4 -4
  54. package/dist/component/{swimlanesDiagram-ULZ7WXOC-Dn9jdzUC.js → swimlanesDiagram-ULZ7WXOC-4-qQ_GG9.js} +3 -3
  55. package/dist/component/{timeline-definition-Z64GVDOM-BTWa173z.js → timeline-definition-Z64GVDOM-Df_xk-8z.js} +3 -3
  56. package/dist/component/{vennDiagram-T6HMQDX7-BwE-iIK-.js → vennDiagram-T6HMQDX7-Ce74weIb.js} +2 -2
  57. package/dist/component/{wardleyDiagram-T6FBY63Y-H_pDULPZ.js → wardleyDiagram-T6FBY63Y-CMZ9e32m.js} +3 -3
  58. package/dist/component/{xychartDiagram-ELKLHX3M-DNBPqOgR.js → xychartDiagram-ELKLHX3M-DgbdZWSQ.js} +3 -3
  59. package/dist/components/connectors/ConnectorBrandLogo.d.ts +1 -1
  60. package/dist/components/embed/EmbedComposer.d.ts +6 -1
  61. package/dist/components/embed/QuestionCard.d.ts +25 -0
  62. package/dist/embed/copy.d.ts +3 -0
  63. package/dist/i18n/messages/en.d.ts +19 -1
  64. package/dist/i18n/messages/surfaces/stream.d.ts +58 -3
  65. package/dist/stream/belong-chat-transport.d.ts +44 -36
  66. package/dist/stream/belong-data-parts.d.ts +36 -29
  67. package/dist/stream/pending-question-store.d.ts +22 -0
  68. package/package.json +1 -1
@@ -1,6 +1,6 @@
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";
1
+ import { g as oe } from "./chunk-XXDRQBXY-C7_5LZDu.js";
2
+ import { s as ae } from "./chunk-KBJHAD2P-D7S_ui4V.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-Da5y0Kes.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-BxXZphfo.js.map
833
+ //# sourceMappingURL=mindmap-definition-FAOFIHXS-CQ5erfft.js.map
@@ -1,6 +1,6 @@
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";
1
+ import { g as i, r as m, d as a } from "./chunk-6Q2QTUOP-Dodzsg9f.js";
2
+ import { p } from "./chunk-JWPE2WC7-BzhR8Ja-.js";
3
+ import { _ as t, l as o } from "./mermaid-GHXKKRXX-Da5y0Kes.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-BB6KBO45.js.map
98
+ //# sourceMappingURL=pegDiagram-VL7TDLO6-BP4d3yNS.js.map
@@ -1,7 +1,7 @@
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";
1
+ import { p as at } from "./chunk-JWPE2WC7-BzhR8Ja-.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-Da5y0Kes.js";
3
3
  import { p as vt } from "./cynefin-VYW2F7L2-DAyxamLw.js";
4
- import { d as X } from "./arc-Cm9wcWlx.js";
4
+ import { d as X } from "./arc-BV89erXj.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-BhUDtn0U.js.map
210
+ //# sourceMappingURL=pieDiagram-7S7Q4E2Y-BvhLQABG.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-CvjBCI1T.js";
2
- import { l as te } from "./linear-VKGrBjVp.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-Da5y0Kes.js";
2
+ import { l as te } from "./linear-Cr5nCYH-.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-BekTYpN9.js.map
1032
+ //# sourceMappingURL=quadrantDiagram-CIZ2JOQS-DEtpNVeI.js.map
@@ -1,6 +1,6 @@
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";
1
+ import { g as o, r as i, d as t } from "./chunk-6Q2QTUOP-Dodzsg9f.js";
2
+ import { p } from "./chunk-JWPE2WC7-BzhR8Ja-.js";
3
+ import { _ as l, l as n } from "./mermaid-GHXKKRXX-Da5y0Kes.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-NkCqFfeB.js.map
80
+ //# sourceMappingURL=railroadDiagram-AXF67PYL-BQ1Tz2JD.js.map
@@ -1,6 +1,6 @@
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";
1
+ import { g as ze } from "./chunk-XXDRQBXY-C7_5LZDu.js";
2
+ import { s as Ge } from "./chunk-KBJHAD2P-D7S_ui4V.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-Da5y0Kes.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-DgUbvazW.js.map
888
+ //# sourceMappingURL=requirementDiagram-LRYGKXZP-DaubiNmJ.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-CvjBCI1T.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-Da5y0Kes.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-BaS-5dxg.js.map
862
+ //# sourceMappingURL=sankeyDiagram-W5VNT64P-BHuCT4HV.js.map
@@ -1,6 +1,6 @@
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";
1
+ import { I as tr } from "./chunk-2Q5K7J3B-CB6VkgEJ.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-Da5y0Kes.js";
3
+ import { a as Er, b as ae, g as dt, d as ur, c as se, e as ie } from "./chunk-2GRJ4B5K-CEWW_4Iw.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-Brxy8LqB.js.map
2894
+ //# sourceMappingURL=sequenceDiagram-SI44F4Z6-Dds6EZRB.js.map
@@ -1,4 +1,4 @@
1
- import { _ as t } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
1
+ import { _ as t } from "./mermaid-GHXKKRXX-Da5y0Kes.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-D3PazIzZ.js.map
49
+ //# sourceMappingURL=sizeCapture-X5ZJPWSS-DgUmHwfK.js.map
@@ -1,5 +1,5 @@
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";
1
+ import { s as R, a as W, S as N } from "./chunk-5RXB4S5H-FAQX8NS6.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-Da5y0Kes.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-DzRMa7xz.js.map
266
+ //# sourceMappingURL=stateDiagram-OKZ733FA-DIKGff3C.js.map
@@ -1,5 +1,5 @@
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";
1
+ import { s as e, b as r, a as s, S as t } from "./chunk-5RXB4S5H-FAQX8NS6.js";
2
+ import { _ as l } from "./mermaid-GHXKKRXX-Da5y0Kes.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-5JRd_Kex.js.map
19
+ //# sourceMappingURL=stateDiagram-v2-UEYNNEHI-D-W1YrbI.js.map
@@ -1,5 +1,5 @@
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";
1
+ import { c as Tr } from "./chunk-RYQCIY6F-BRnTO8_F.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-Da5y0Kes.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-D3PazIzZ.js");
27
+ const { captureNodeSizes: I } = await import("./sizeCapture-X5ZJPWSS-DgUmHwfK.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-DZR-oUnN.js.map
5335
+ //# sourceMappingURL=swimlanes-SLNWSIFB-B0g61P7R.js.map
@@ -1,5 +1,5 @@
1
- import { c as e, s as a } from "./flowDiagram-UKHOOZJN-BJXlwNPw.js";
2
- import { _ as s } from "./mermaid-GHXKKRXX-CvjBCI1T.js";
1
+ import { c as e, s as a } from "./flowDiagram-UKHOOZJN-ttP65F-a.js";
2
+ import { _ as s } from "./mermaid-GHXKKRXX-Da5y0Kes.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-Dn9jdzUC.js.map
16
+ //# sourceMappingURL=swimlanesDiagram-ULZ7WXOC-4-qQ_GG9.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-CvjBCI1T.js";
2
- import { d as ot } from "./arc-Cm9wcWlx.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-Da5y0Kes.js";
2
+ import { d as ot } from "./arc-BV89erXj.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-BTWa173z.js.map
1058
+ //# sourceMappingURL=timeline-definition-Z64GVDOM-Df_xk-8z.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-CvjBCI1T.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-Da5y0Kes.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-BwE-iIK-.js.map
1581
+ //# sourceMappingURL=vennDiagram-T6HMQDX7-Ce74weIb.js.map
@@ -1,5 +1,5 @@
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";
1
+ import { p as St } from "./chunk-JWPE2WC7-BzhR8Ja-.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-Da5y0Kes.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-H_pDULPZ.js.map
681
+ //# sourceMappingURL=wardleyDiagram-T6FBY63Y-CMZ9e32m.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-CvjBCI1T.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-Da5y0Kes.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-VKGrBjVp.js";
4
+ import { l as vt } from "./linear-Cr5nCYH-.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-DNBPqOgR.js.map
1421
+ //# sourceMappingURL=xychartDiagram-ELKLHX3M-DgbdZWSQ.js.map
@@ -1,6 +1,6 @@
1
1
  /** Product marks used by the connector marketplace.
2
2
  *
3
- * These are local SVGs so the embedded dock never depends on a third-party
3
+ * These are local marks so the embedded dock never depends on a third-party
4
4
  * image host (or the host app's CSP) to render a connector. Unknown catalog
5
5
  * keys fall back to a neutral initial instead of pretending another product's
6
6
  * mark belongs to them.
@@ -5,7 +5,7 @@ import { SkillSummary } from '../../api/skills.ts';
5
5
  import { PrePromptSummary } from '../../api/pre-prompts.ts';
6
6
  import { WorkspaceFile } from '../../api/workspace-files.ts';
7
7
  import { UsageMeterProps } from './UsageMeter.tsx';
8
- export declare function EmbedComposer({ draft, suggestion, status, submitting, disabled, voiceSupported, voiceConfigured, listening, theme, palette, skills, prompts, workspaceFiles, mode, onModeChange, onDraftChange, onMentionOpen, onSaveAsPrompt, onSubmit, onStop, usage, }: Readonly<{
8
+ export declare function EmbedComposer({ draft, suggestion, status, submitting, disabled, voiceSupported, voiceConfigured, listening, theme, palette, skills, prompts, workspaceFiles, mode, onModeChange, onDraftChange, onMentionOpen, onSaveAsPrompt, onSubmit, onStop, usage, pendingQuestion, }: Readonly<{
9
9
  draft: string;
10
10
  /** BEL-255 — ghost text painted over an EMPTY draft (the locale opening
11
11
  * question on a brand-new chat). Tab completes it into the draft; typing
@@ -48,4 +48,9 @@ export declare function EmbedComposer({ draft, suggestion, status, submitting, d
48
48
  onStop: () => void;
49
49
  /** F3 — context/cost meter data (null hides the meter). */
50
50
  usage: UsageMeterProps["usage"];
51
+ /** Plan 013 — the agent's question card is pending above the composer: the
52
+ * placeholder invites a direct reply, and a non-empty draft sends (the
53
+ * reply answers the question in chat) instead of stopping the run. An
54
+ * empty draft keeps the button as Stop. */
55
+ pendingQuestion?: boolean;
51
56
  }>): import("react").JSX.Element;
@@ -0,0 +1,25 @@
1
+ import { QuestionContinuation } from '../../api/questions.ts';
2
+ import { ChoiceRequestData } from '../../stream/belong-data-parts.ts';
3
+ export type QuestionCardProps = {
4
+ readonly data: ChoiceRequestData;
5
+ readonly apiBaseUrl: string;
6
+ /** Read-only card (a follower tab): every control but X is inert. */
7
+ readonly disabled?: boolean | undefined;
8
+ /** The X — hide the card locally. Nothing is posted. */
9
+ readonly onHide: () => void;
10
+ /**
11
+ * The part as it will read once the server confirms: `answered` with the
12
+ * posted answers on a 200; on a 409, the ROW OF RECORD the server sent back
13
+ * (`cancelled` after a Stop, someone else's `answered` with their answers /
14
+ * reply, `dismissed`). ChatRoute patches the transcript so the record reads
15
+ * the same as it will after a reload (§41) without waiting for the wire.
16
+ */
17
+ readonly onResolved?: ((resolved: ChoiceRequestData) => void) | undefined;
18
+ /**
19
+ * A LATE answer (the row was `detached`) was delivered as a new user
20
+ * message and started a new turn: ChatRoute appends that bubble and follows
21
+ * the run live, so the reply streams in without a reload.
22
+ */
23
+ readonly onContinuation?: ((continuation: QuestionContinuation) => void) | undefined;
24
+ };
25
+ export declare const QuestionCard: ({ data, apiBaseUrl, disabled, onHide, onResolved, onContinuation, }: QuestionCardProps) => import("react").JSX.Element | null;
@@ -152,6 +152,9 @@ export type DockCopy = {
152
152
  readonly composer: {
153
153
  readonly placeholderDefault: Readonly<Record<DockCopyVariant, string>>;
154
154
  readonly placeholderPlan: Readonly<Record<DockCopyVariant, string>>;
155
+ /** Plan 013 — while the agent's question card is pending above the
156
+ * composer, a typed send answers it in chat instead of choosing. */
157
+ readonly placeholderReply: Readonly<Record<DockCopyVariant, string>>;
155
158
  readonly voiceHint: (keyLabel: string) => string;
156
159
  /** Mobile variant — no physical keyboard, so no push-to-talk key. */
157
160
  readonly voiceHintTouch: string;
@@ -45,9 +45,26 @@ export declare const en: {
45
45
  readonly submitError: "That didn't go through — {{message}}. Try again.";
46
46
  readonly errorServerAnswered: "the server answered {{status}}";
47
47
  readonly errorRequestUnreachable: "the request didn't reach the server";
48
- readonly answered: "answered";
49
48
  readonly alreadyAnswered: "already answered";
49
+ readonly questionPending: "Waiting for your answer";
50
+ readonly questionSkipped: "skipped";
51
+ readonly questionClosed: "closed without answering";
52
+ readonly questionDetached: "still open — answer it or reply in the chat";
53
+ readonly questionCancelled: "cancelled";
54
+ readonly youReplied: "You replied: {{reply}}";
50
55
  readonly submit: "Submit";
56
+ readonly questionOf: "{{n}} of {{total}}";
57
+ readonly previousQuestion: "Previous question";
58
+ readonly nextQuestion: "Next question";
59
+ readonly close: "Close";
60
+ readonly somethingElse: "Something else";
61
+ readonly typeYourAnswer: "Type your answer…";
62
+ readonly skip: "Skip";
63
+ readonly selectedCount_one: "{{count}} selected";
64
+ readonly selectedCount_other: "{{count}} selected";
65
+ readonly answer: "Answer";
66
+ readonly next: "Next";
67
+ readonly questionDetachedHint: "Belong moved on — your answer will be sent as a new message";
51
68
  readonly toolShellRunning: "Running a command";
52
69
  readonly toolShellDone: "Ran a command";
53
70
  readonly toolShellFailed: "A command didn't complete";
@@ -87,6 +104,7 @@ export declare const en: {
87
104
  readonly actionMadePlan: "Put a plan together";
88
105
  readonly actionCheckedRules: "Checked the rules";
89
106
  readonly actionScheduledTask: "Set up a scheduled task";
107
+ readonly actionAskedQuestion: "Asked a question";
90
108
  readonly actionGeneric: "Worked on it";
91
109
  readonly executingTasks: "Working on it…";
92
110
  readonly workedSteps_one: "Worked · {{count}} step";
@@ -29,9 +29,26 @@ export declare const streamEn: {
29
29
  readonly submitError: "That didn't go through — {{message}}. Try again.";
30
30
  readonly errorServerAnswered: "the server answered {{status}}";
31
31
  readonly errorRequestUnreachable: "the request didn't reach the server";
32
- readonly answered: "answered";
33
32
  readonly alreadyAnswered: "already answered";
33
+ readonly questionPending: "Waiting for your answer";
34
+ readonly questionSkipped: "skipped";
35
+ readonly questionClosed: "closed without answering";
36
+ readonly questionDetached: "still open — answer it or reply in the chat";
37
+ readonly questionCancelled: "cancelled";
38
+ readonly youReplied: "You replied: {{reply}}";
34
39
  readonly submit: "Submit";
40
+ readonly questionOf: "{{n}} of {{total}}";
41
+ readonly previousQuestion: "Previous question";
42
+ readonly nextQuestion: "Next question";
43
+ readonly close: "Close";
44
+ readonly somethingElse: "Something else";
45
+ readonly typeYourAnswer: "Type your answer…";
46
+ readonly skip: "Skip";
47
+ readonly selectedCount_one: "{{count}} selected";
48
+ readonly selectedCount_other: "{{count}} selected";
49
+ readonly answer: "Answer";
50
+ readonly next: "Next";
51
+ readonly questionDetachedHint: "Belong moved on — your answer will be sent as a new message";
35
52
  readonly toolShellRunning: "Running a command";
36
53
  readonly toolShellDone: "Ran a command";
37
54
  readonly toolShellFailed: "A command didn't complete";
@@ -71,6 +88,8 @@ export declare const streamEn: {
71
88
  readonly actionMadePlan: "Put a plan together";
72
89
  readonly actionCheckedRules: "Checked the rules";
73
90
  readonly actionScheduledTask: "Set up a scheduled task";
91
+ /** Plan 013 — `ask_user_question` / `AskUserQuestion`. */
92
+ readonly actionAskedQuestion: "Asked a question";
74
93
  /** A tool this build has no copy for — a neutral line, never its name. */
75
94
  readonly actionGeneric: "Worked on it";
76
95
  readonly executingTasks: "Working on it…";
@@ -120,9 +139,26 @@ export declare const streamEs: {
120
139
  submitError: string;
121
140
  errorServerAnswered: string;
122
141
  errorRequestUnreachable: string;
123
- answered: string;
124
142
  alreadyAnswered: string;
143
+ questionPending: string;
144
+ questionSkipped: string;
145
+ questionClosed: string;
146
+ questionDetached: string;
147
+ questionCancelled: string;
148
+ youReplied: string;
125
149
  submit: string;
150
+ questionOf: string;
151
+ previousQuestion: string;
152
+ nextQuestion: string;
153
+ close: string;
154
+ somethingElse: string;
155
+ typeYourAnswer: string;
156
+ skip: string;
157
+ selectedCount_one: string;
158
+ selectedCount_other: string;
159
+ answer: string;
160
+ next: string;
161
+ questionDetachedHint: string;
126
162
  toolShellRunning: string;
127
163
  toolShellDone: string;
128
164
  toolShellFailed: string;
@@ -162,6 +198,7 @@ export declare const streamEs: {
162
198
  actionMadePlan: string;
163
199
  actionCheckedRules: string;
164
200
  actionScheduledTask: string;
201
+ actionAskedQuestion: string;
165
202
  actionGeneric: string;
166
203
  executingTasks: string;
167
204
  workedSteps_one: string;
@@ -209,9 +246,26 @@ export declare const streamPt: {
209
246
  submitError: string;
210
247
  errorServerAnswered: string;
211
248
  errorRequestUnreachable: string;
212
- answered: string;
213
249
  alreadyAnswered: string;
250
+ questionPending: string;
251
+ questionSkipped: string;
252
+ questionClosed: string;
253
+ questionDetached: string;
254
+ questionCancelled: string;
255
+ youReplied: string;
214
256
  submit: string;
257
+ questionOf: string;
258
+ previousQuestion: string;
259
+ nextQuestion: string;
260
+ close: string;
261
+ somethingElse: string;
262
+ typeYourAnswer: string;
263
+ skip: string;
264
+ selectedCount_one: string;
265
+ selectedCount_other: string;
266
+ answer: string;
267
+ next: string;
268
+ questionDetachedHint: string;
215
269
  toolShellRunning: string;
216
270
  toolShellDone: string;
217
271
  toolShellFailed: string;
@@ -251,6 +305,7 @@ export declare const streamPt: {
251
305
  actionMadePlan: string;
252
306
  actionCheckedRules: string;
253
307
  actionScheduledTask: string;
308
+ actionAskedQuestion: string;
254
309
  actionGeneric: string;
255
310
  executingTasks: string;
256
311
  workedSteps_one: string;
@@ -9,6 +9,23 @@ declare const cancelRunResponseSchema: z.ZodObject<{
9
9
  }, z.core.$strip>>>;
10
10
  }, z.core.$strip>;
11
11
  export type RecalledQueuedMessage = z.infer<typeof cancelRunResponseSchema>["recalledMessages"][number];
12
+ export declare const choiceAnswerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
13
+ kind: z.ZodLiteral<"options">;
14
+ optionIds: z.ZodArray<z.ZodString>;
15
+ text: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ kind: z.ZodLiteral<"text">;
18
+ text: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ kind: z.ZodLiteral<"skipped">;
21
+ }, z.core.$strip>], "kind">;
22
+ export declare const choiceStateSchema: z.ZodEnum<{
23
+ pending: "pending";
24
+ detached: "detached";
25
+ answered: "answered";
26
+ dismissed: "dismissed";
27
+ cancelled: "cancelled";
28
+ }>;
12
29
  /**
13
30
  * The wire/stored part union. Exported so the history loader (chat.tsx) can
14
31
  * validate persisted assistant parts against the SAME shapes the live stream
@@ -188,47 +205,38 @@ export declare const wireStreamPartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
188
205
  }, z.core.$strip>, z.ZodObject<{
189
206
  type: z.ZodLiteral<"data-choice-request">;
190
207
  id: z.ZodString;
191
- data: z.ZodDiscriminatedUnion<[z.ZodObject<{
192
- mode: z.ZodLiteral<"single">;
193
- uiActionRequestId: z.ZodString;
194
- question: z.ZodString;
195
- options: z.ZodArray<z.ZodObject<{
196
- id: z.ZodString;
197
- label: z.ZodString;
198
- description: z.ZodOptional<z.ZodString>;
199
- }, z.core.$strip>>;
208
+ data: z.ZodObject<{
209
+ questionRequestId: z.ZodString;
200
210
  state: z.ZodEnum<{
201
211
  pending: "pending";
202
- expired: "expired";
203
- resolved: "resolved";
212
+ detached: "detached";
213
+ answered: "answered";
214
+ dismissed: "dismissed";
215
+ cancelled: "cancelled";
204
216
  }>;
205
- }, z.core.$strip>, z.ZodObject<{
206
- mode: z.ZodLiteral<"multi">;
207
- uiActionRequestId: z.ZodString;
208
- question: z.ZodString;
209
- options: z.ZodArray<z.ZodObject<{
217
+ questions: z.ZodArray<z.ZodObject<{
210
218
  id: z.ZodString;
211
- label: z.ZodString;
212
- description: z.ZodOptional<z.ZodString>;
219
+ question: z.ZodString;
220
+ header: z.ZodString;
221
+ multiSelect: z.ZodBoolean;
222
+ options: z.ZodArray<z.ZodObject<{
223
+ id: z.ZodString;
224
+ label: z.ZodString;
225
+ description: z.ZodString;
226
+ }, z.core.$strip>>;
213
227
  }, z.core.$strip>>;
214
- state: z.ZodEnum<{
215
- pending: "pending";
216
- expired: "expired";
217
- resolved: "resolved";
218
- }>;
219
- minChoicesCount: z.ZodOptional<z.ZodNumber>;
220
- maxChoicesCount: z.ZodOptional<z.ZodNumber>;
221
- }, z.core.$strip>, z.ZodObject<{
222
- mode: z.ZodLiteral<"open">;
223
- uiActionRequestId: z.ZodString;
224
- question: z.ZodString;
225
- state: z.ZodEnum<{
226
- pending: "pending";
227
- expired: "expired";
228
- resolved: "resolved";
229
- }>;
230
- placeholder: z.ZodOptional<z.ZodString>;
231
- }, z.core.$strip>], "mode">;
228
+ answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
229
+ kind: z.ZodLiteral<"options">;
230
+ optionIds: z.ZodArray<z.ZodString>;
231
+ text: z.ZodOptional<z.ZodString>;
232
+ }, z.core.$strip>, z.ZodObject<{
233
+ kind: z.ZodLiteral<"text">;
234
+ text: z.ZodString;
235
+ }, z.core.$strip>, z.ZodObject<{
236
+ kind: z.ZodLiteral<"skipped">;
237
+ }, z.core.$strip>], "kind">>>;
238
+ reply: z.ZodOptional<z.ZodString>;
239
+ }, z.core.$strip>;
232
240
  }, z.core.$strip>], "type">;
233
241
  /** A request was 401'd twice (once with a freshly re-read token): the host
234
242
  * session is expired — the dock must surface re-auth, not retry forever. */