@belonguniverseai/react-sdk 0.6.35 → 0.6.36

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 (81) hide show
  1. package/dist/api/client.d.ts +70 -1
  2. package/dist/api/connectors.d.ts +11 -0
  3. package/dist/api/proactive.d.ts +12 -0
  4. package/dist/api/questions.d.ts +1 -1
  5. package/dist/component/{abnfDiagram-N423BO3Z-CRZoFiVH.js → abnfDiagram-N423BO3Z-MW1sjWF3.js} +4 -4
  6. package/dist/component/{architectureDiagram-T3A2C74G-CaRtqw4X.js → architectureDiagram-T3A2C74G-D4zEznoY.js} +6 -6
  7. package/dist/component/{blockDiagram-VBNYF7ZC-BK04msnb.js → blockDiagram-VBNYF7ZC-D2DFmlFt.js} +8 -8
  8. package/dist/component/{c4Diagram-5PPSVZJV-BMDcb-rm.js → c4Diagram-5PPSVZJV-DoWWto3C.js} +4 -4
  9. package/dist/component/{channel-Da7DEnT8.js → channel-CIsNkq5U.js} +2 -2
  10. package/dist/component/{chunk-2GRJ4B5K-CxwwCtK7.js → chunk-2GRJ4B5K-CnMQg92_.js} +2 -2
  11. package/dist/component/{chunk-3NCLNEKW-C6R8qHlR.js → chunk-3NCLNEKW-XZE2nq5d.js} +2 -2
  12. package/dist/component/{chunk-4I5QYGJK-Ccf8L2Bk.js → chunk-4I5QYGJK-C29IIa92.js} +2 -2
  13. package/dist/component/{chunk-5RXB4S5H-V2z-LyAY.js → chunk-5RXB4S5H-D8CsdioM.js} +6 -6
  14. package/dist/component/{chunk-6Q2QTUOP-C6GL9-4r.js → chunk-6Q2QTUOP-DC00GcIz.js} +3 -3
  15. package/dist/component/{chunk-7Z6QIM7H-BV6R4sWE.js → chunk-7Z6QIM7H-CZdOhSC_.js} +8 -8
  16. package/dist/component/{chunk-GF5L2VYU-DAD1p6ak.js → chunk-GF5L2VYU-C0kC9EFc.js} +6 -6
  17. package/dist/component/{chunk-I66GZJ75-DEykrnbu.js → chunk-I66GZJ75-CSlLT2qZ.js} +2 -2
  18. package/dist/component/{chunk-J7OUQ5F2-CEWcOukY.js → chunk-J7OUQ5F2-CvsOm6iD.js} +7 -7
  19. package/dist/component/{chunk-JQJVKLGR-DCAX80x3.js → chunk-JQJVKLGR-BQqtcBTx.js} +8 -8
  20. package/dist/component/{chunk-KBJHAD2P-Bk8hJC_U.js → chunk-KBJHAD2P-BhdypO-1.js} +2 -2
  21. package/dist/component/{chunk-NSK5VX7P-D-saWvpt.js → chunk-NSK5VX7P-B-NXFyTF.js} +2 -2
  22. package/dist/component/{chunk-QR6OTTB3-CMv_Vw9A.js → chunk-QR6OTTB3-CdOd5La0.js} +7 -7
  23. package/dist/component/{chunk-UBXNYLIW-BfXPFCA1.js → chunk-UBXNYLIW-C93te6n-.js} +3 -3
  24. package/dist/component/{chunk-W5SLKNZC-BL-VPYuH.js → chunk-W5SLKNZC-CeanpCwB.js} +2 -2
  25. package/dist/component/{chunk-WRU74C26-BXxIvhYq.js → chunk-WRU74C26-KDh3Ch4s.js} +4 -4
  26. package/dist/component/{classDiagram-JCYQIIEL-CRKRQjr4.js → classDiagram-JCYQIIEL-CW1C-vZp.js} +13 -13
  27. package/dist/component/{classDiagram-v2-OCEON4UE-ltwXlVlU.js → classDiagram-v2-OCEON4UE-BsHRjtZz.js} +13 -13
  28. package/dist/component/{component-BNq6d1iV.js → component-kD4tjup5.js} +17329 -17081
  29. package/dist/component/{cynefinDiagram-MW4NZA55-Bju0bDR1.js → cynefinDiagram-MW4NZA55-CKE4kPxj.js} +4 -4
  30. package/dist/component/{dagre-VZM6K2ZE-fMS2g5Lt.js → dagre-VZM6K2ZE-CxrlpA3T.js} +9 -9
  31. package/dist/component/{diagram-7IWD3JNH-CoDJAyv-.js → diagram-7IWD3JNH-BdXx0oAi.js} +5 -5
  32. package/dist/component/{diagram-B4RE2ZJO-nioVFGn5.js → diagram-B4RE2ZJO-N1vzbmbv.js} +3 -3
  33. package/dist/component/{diagram-LBJQPF4R-BuBX2Dz0.js → diagram-LBJQPF4R-BdNgG1dp.js} +4 -4
  34. package/dist/component/{diagram-Q27KOJAE-D6amwUDE.js → diagram-Q27KOJAE-fEVWom6c.js} +6 -6
  35. package/dist/component/{diagram-UB23O5K3-BfBhBu7Y.js → diagram-UB23O5K3-D3ddRmV-.js} +4 -4
  36. package/dist/component/{ebnfDiagram-BXEA7PRR-Cy3CaiTX.js → ebnfDiagram-BXEA7PRR-BIkX9XAm.js} +4 -4
  37. package/dist/component/{erDiagram-JOGREHBK-BUomkKWY.js → erDiagram-JOGREHBK-G5VfRzQe.js} +12 -12
  38. package/dist/component/flowDiagram-UKHOOZJN-Dg8Abi8D.js +19 -0
  39. package/dist/component/{ganttDiagram-PKOTCBZU-BWWeGylo.js → ganttDiagram-PKOTCBZU-DFVPgVsX.js} +3 -3
  40. package/dist/component/{gitGraphDiagram-DS77QQ5N-BFNi8KrJ.js → gitGraphDiagram-DS77QQ5N-GPr8zrQa.js} +3 -3
  41. package/dist/component/index.js +2 -2
  42. package/dist/component/{infoDiagram-6WML65LV-Ba4nVdwJ.js → infoDiagram-6WML65LV-C7cW9Pmn.js} +3 -3
  43. package/dist/component/{ishikawaDiagram-WSZJBQD7-JBSR3acP.js → ishikawaDiagram-WSZJBQD7-C97lV7eR.js} +4 -4
  44. package/dist/component/{journeyDiagram-NVQOT4AX-BAGUQhvd.js → journeyDiagram-NVQOT4AX-DXvUjmFx.js} +3 -3
  45. package/dist/component/{kanban-definition-27J2QSJJ-CIBw8XVT.js → kanban-definition-27J2QSJJ-BilK0rhq.js} +9 -9
  46. package/dist/component/{line-BPXxX2mb.js → line-DEbULRtQ.js} +2 -2
  47. package/dist/component/{mindmap-definition-FAOFIHXS-ZwmeO9Ju.js → mindmap-definition-FAOFIHXS-DNrFtLr_.js} +11 -11
  48. package/dist/component/{pegDiagram-VL7TDLO6-g6cHkKXH.js → pegDiagram-VL7TDLO6-jB_WWZvp.js} +4 -4
  49. package/dist/component/{pieDiagram-7S7Q4E2Y-6if4UZeA.js → pieDiagram-7S7Q4E2Y-DmztszhT.js} +4 -4
  50. package/dist/component/{quadrantDiagram-CIZ2JOQS-DW9Wi1_3.js → quadrantDiagram-CIZ2JOQS-DHHhsaLJ.js} +2 -2
  51. package/dist/component/{railroadDiagram-AXF67PYL-DRKsvNWu.js → railroadDiagram-AXF67PYL-BiovbKaT.js} +4 -4
  52. package/dist/component/{requirementDiagram-LRYGKXZP-CKtakT6g.js → requirementDiagram-LRYGKXZP-6xc4arWd.js} +11 -11
  53. package/dist/component/{sankeyDiagram-W5VNT64P-B-oejkos.js → sankeyDiagram-W5VNT64P-BEybtkf5.js} +2 -2
  54. package/dist/component/{sequenceDiagram-SI44F4Z6-3RmdhrrK.js → sequenceDiagram-SI44F4Z6-DqDJ9hHB.js} +4 -4
  55. package/dist/component/{stateDiagram-OKZ733FA-ChwQeLFK.js → stateDiagram-OKZ733FA-BA3wN58t.js} +14 -14
  56. package/dist/component/{stateDiagram-v2-UEYNNEHI-Cu0mGIbX.js → stateDiagram-v2-UEYNNEHI-B83V6gam.js} +13 -13
  57. package/dist/component/{swimlanes-SLNWSIFB-B1f2ZxW_.js → swimlanes-SLNWSIFB-BbF2sVb0.js} +9 -9
  58. package/dist/component/{swimlanesDiagram-ULZ7WXOC-CspwK4RG.js → swimlanesDiagram-ULZ7WXOC-C00S5fih.js} +13 -13
  59. package/dist/component/{timeline-definition-Z64GVDOM-Bg9gKcBJ.js → timeline-definition-Z64GVDOM-GRQm4yUr.js} +4 -4
  60. package/dist/component/{vennDiagram-T6HMQDX7-BS7jr5XD.js → vennDiagram-T6HMQDX7-D824lwM6.js} +4 -4
  61. package/dist/component/{wardleyDiagram-T6FBY63Y-DVm3XZBO.js → wardleyDiagram-T6FBY63Y-CXnuXYy5.js} +4 -4
  62. package/dist/component/{xychartDiagram-ELKLHX3M-Cg8qYbc9.js → xychartDiagram-ELKLHX3M-B_Y0TM5t.js} +7 -7
  63. package/dist/components/embed/QuestionCard.d.ts +5 -5
  64. package/dist/components/pinned/profile/ProfileActivityTab.d.ts +2 -0
  65. package/dist/components/pinned/profile/ProfileSourcesTab.d.ts +9 -1
  66. package/dist/components/ui/dialog.d.ts +2 -1
  67. package/dist/embed/issue-report-bus.d.ts +2 -0
  68. package/dist/embed/screen-capture.d.ts +1 -2
  69. package/dist/i18n/messages/en.d.ts +16 -1
  70. package/dist/i18n/messages/surfaces/connectors.d.ts +8 -0
  71. package/dist/i18n/messages/surfaces/feedback.d.ts +12 -0
  72. package/dist/i18n/messages/surfaces/pinned.d.ts +36 -0
  73. package/dist/i18n/messages/surfaces/settings.d.ts +4 -0
  74. package/dist/i18n/messages/surfaces/stream.d.ts +1 -1
  75. package/dist/routes/chat/question-parts.d.ts +9 -12
  76. package/dist/routes/chat/queued-messages.d.ts +1 -0
  77. package/dist/stream/belong-chat-transport.d.ts +1 -0
  78. package/dist/stream/belong-data-parts.d.ts +5 -0
  79. package/dist/stream/pending-question-store.d.ts +7 -3
  80. package/package.json +1 -1
  81. package/dist/component/flowDiagram-UKHOOZJN-C0aiK5kF.js +0 -19
@@ -12,8 +12,7 @@
12
12
  * • cross-origin images and cross-origin iframes come out blank;
13
13
  * • this is a re-render of the DOM, not a photograph of pixels — a canvas
14
14
  * element or an unusual CSS feature can differ from what the user saw;
15
- * • it costs a beat on a large page, which is why capture runs on the click
16
- * and the dialog opens after it.
15
+ * • it costs a beat on a large page, so capture runs on Send, after the progress indicator paints.
17
16
  *
18
17
  * DEVICE PIXEL RATIO: snapdom's `toCanvas` defaults `dpr` to
19
18
  * `window.devicePixelRatio || 1` and multiplies the OUTPUT canvas dimensions
@@ -90,7 +90,7 @@ export declare const en: {
90
90
  readonly selectedCount_other: "{{count}} selected";
91
91
  readonly answer: "Answer";
92
92
  readonly next: "Next";
93
- readonly questionDetachedHint: "Belong moved on — your answer will be sent as a new message";
93
+ readonly questionDetachedHint: "Answer whenever you're ready. Work that doesn't need this carries on.";
94
94
  readonly toolActivityLabel: "Tool activity";
95
95
  readonly toolShellRunning: "Running a command";
96
96
  readonly toolShellDone: "Ran a command";
@@ -460,6 +460,7 @@ export declare const en: {
460
460
  proactiveCheckNow: string;
461
461
  proactiveChecking: string;
462
462
  proactiveNothingNew: string;
463
+ proactiveCheckError: string;
463
464
  proactiveEmailTitle: string;
464
465
  proactiveEmailBody: string;
465
466
  proactiveEmailSaveError: string;
@@ -957,6 +958,15 @@ export declare const en: {
957
958
  readonly sourceListening: "Listening";
958
959
  readonly sourceConnect: "Connect";
959
960
  readonly sourceNotConnected: "Not connected";
961
+ readonly sourceCantRead: "Can't read";
962
+ readonly sourceFailingSince: "Failing since {{since}}";
963
+ readonly sourceLastWorked: "last read {{time}}";
964
+ readonly sourceNeverWorked: "no read has worked yet";
965
+ readonly sourceLastRead: "Last read {{time}}";
966
+ readonly sourceWhyNeedsRefresh: "{{app}} changed its tools. Press Refresh on it in Connectors to start reading it again.";
967
+ readonly sourceWhyNeedsSignIn: "The connection to {{app}} needs signing in again, in Connectors.";
968
+ readonly sourceWhyUnavailable: "{{app}} isn't answering. It's tried again on every check.";
969
+ readonly sourceOpenConnectors: "Open Connectors";
960
970
  readonly sourceGmail: "Unread email sent to you, leaving out marketing and mailing lists";
961
971
  readonly sourceSlack: "Direct messages, mentions and channel messages you haven't answered";
962
972
  readonly sourceCalendar: "Invitations for the next 24 hours you haven't answered";
@@ -1133,6 +1143,9 @@ export declare const en: {
1133
1143
  readonly cancel: "Cancel";
1134
1144
  readonly send: "Send";
1135
1145
  readonly sending: "Sending…";
1146
+ readonly capturing: "Taking screenshot…";
1147
+ readonly collecting: "Collecting session details…";
1148
+ readonly captureOnSend: "Include a screenshot (captured when you send)";
1136
1149
  readonly failed: "Couldn't send the report. Try again.";
1137
1150
  readonly failedScreenshot: "Couldn't send the report — the screenshot didn't go through. Try again without it.";
1138
1151
  readonly reportThis: "Report this with a screenshot";
@@ -1284,6 +1297,8 @@ export declare const en: {
1284
1297
  readonly statusConnected: "Connected";
1285
1298
  readonly needsAttention: "Needs attention";
1286
1299
  readonly statusError: "Couldn't connect";
1300
+ readonly statusNeedsRefresh: "Needs a refresh";
1301
+ readonly statusNewTools: "New tools available";
1287
1302
  readonly statusOff: "Off";
1288
1303
  readonly enabledLabel: "Available to the agent";
1289
1304
  readonly addTitle: "Add custom connector";
@@ -126,6 +126,8 @@ export declare const connectorsEn: {
126
126
  readonly statusConnected: "Connected";
127
127
  readonly needsAttention: "Needs attention";
128
128
  readonly statusError: "Couldn't connect";
129
+ readonly statusNeedsRefresh: "Needs a refresh";
130
+ readonly statusNewTools: "New tools available";
129
131
  readonly statusOff: "Off";
130
132
  readonly enabledLabel: "Available to the agent";
131
133
  readonly addTitle: "Add custom connector";
@@ -362,6 +364,8 @@ export declare const connectorsEs: {
362
364
  statusConnected: string;
363
365
  needsAttention: string;
364
366
  statusError: string;
367
+ statusNeedsRefresh: string;
368
+ statusNewTools: string;
365
369
  statusOff: string;
366
370
  enabledLabel: string;
367
371
  addTitle: string;
@@ -597,6 +601,8 @@ export declare const connectorsPt: {
597
601
  statusConnected: string;
598
602
  needsAttention: string;
599
603
  statusError: string;
604
+ statusNeedsRefresh: string;
605
+ statusNewTools: string;
600
606
  statusOff: string;
601
607
  enabledLabel: string;
602
608
  addTitle: string;
@@ -832,6 +838,8 @@ export declare const connectorsIt: {
832
838
  statusConnected: string;
833
839
  needsAttention: string;
834
840
  statusError: string;
841
+ statusNeedsRefresh: string;
842
+ statusNewTools: string;
835
843
  statusOff: string;
836
844
  enabledLabel: string;
837
845
  addTitle: string;
@@ -26,6 +26,9 @@ export declare const feedbackEn: {
26
26
  readonly cancel: "Cancel";
27
27
  readonly send: "Send";
28
28
  readonly sending: "Sending…";
29
+ readonly capturing: "Taking screenshot…";
30
+ readonly collecting: "Collecting session details…";
31
+ readonly captureOnSend: "Include a screenshot (captured when you send)";
29
32
  readonly failed: "Couldn't send the report. Try again.";
30
33
  readonly failedScreenshot: "Couldn't send the report — the screenshot didn't go through. Try again without it.";
31
34
  readonly reportThis: "Report this with a screenshot";
@@ -59,6 +62,9 @@ export declare const feedbackEs: {
59
62
  cancel: string;
60
63
  send: string;
61
64
  sending: string;
65
+ capturing: string;
66
+ collecting: string;
67
+ captureOnSend: string;
62
68
  failed: string;
63
69
  failedScreenshot: string;
64
70
  reportThis: string;
@@ -92,6 +98,9 @@ export declare const feedbackPt: {
92
98
  cancel: string;
93
99
  send: string;
94
100
  sending: string;
101
+ capturing: string;
102
+ collecting: string;
103
+ captureOnSend: string;
95
104
  failed: string;
96
105
  failedScreenshot: string;
97
106
  reportThis: string;
@@ -125,6 +134,9 @@ export declare const feedbackIt: {
125
134
  cancel: string;
126
135
  send: string;
127
136
  sending: string;
137
+ capturing: string;
138
+ collecting: string;
139
+ captureOnSend: string;
128
140
  failed: string;
129
141
  failedScreenshot: string;
130
142
  reportThis: string;
@@ -63,6 +63,15 @@ export declare const pinnedEn: {
63
63
  readonly sourceListening: "Listening";
64
64
  readonly sourceConnect: "Connect";
65
65
  readonly sourceNotConnected: "Not connected";
66
+ readonly sourceCantRead: "Can't read";
67
+ readonly sourceFailingSince: "Failing since {{since}}";
68
+ readonly sourceLastWorked: "last read {{time}}";
69
+ readonly sourceNeverWorked: "no read has worked yet";
70
+ readonly sourceLastRead: "Last read {{time}}";
71
+ readonly sourceWhyNeedsRefresh: "{{app}} changed its tools. Press Refresh on it in Connectors to start reading it again.";
72
+ readonly sourceWhyNeedsSignIn: "The connection to {{app}} needs signing in again, in Connectors.";
73
+ readonly sourceWhyUnavailable: "{{app}} isn't answering. It's tried again on every check.";
74
+ readonly sourceOpenConnectors: "Open Connectors";
66
75
  readonly sourceGmail: "Unread email sent to you, leaving out marketing and mailing lists";
67
76
  readonly sourceSlack: "Direct messages, mentions and channel messages you haven't answered";
68
77
  readonly sourceCalendar: "Invitations for the next 24 hours you haven't answered";
@@ -144,6 +153,15 @@ export declare const pinnedEs: {
144
153
  readonly sourceListening: "Escuchando";
145
154
  readonly sourceConnect: "Conectar";
146
155
  readonly sourceNotConnected: "Sin conectar";
156
+ readonly sourceCantRead: "No se puede leer";
157
+ readonly sourceFailingSince: "Falla desde {{since}}";
158
+ readonly sourceLastWorked: "última lectura {{time}}";
159
+ readonly sourceNeverWorked: "ninguna lectura ha funcionado aún";
160
+ readonly sourceLastRead: "Última lectura {{time}}";
161
+ readonly sourceWhyNeedsRefresh: "{{app}} cambió sus herramientas. Pulsa Actualizar en {{app}}, en Conectores, para que vuelva a leerlo.";
162
+ readonly sourceWhyNeedsSignIn: "La conexión con {{app}} necesita que vuelvas a iniciar sesión, en Conectores.";
163
+ readonly sourceWhyUnavailable: "{{app}} no responde. Se vuelve a intentar en cada revisión.";
164
+ readonly sourceOpenConnectors: "Abrir Conectores";
147
165
  readonly sourceGmail: "Correos sin leer enviados a ti, sin marketing ni listas de correo";
148
166
  readonly sourceSlack: "Mensajes directos, menciones y mensajes de canales que no has respondido";
149
167
  readonly sourceCalendar: "Invitaciones de las próximas 24 horas que no has respondido";
@@ -225,6 +243,15 @@ export declare const pinnedPt: {
225
243
  readonly sourceListening: "Acompanhando";
226
244
  readonly sourceConnect: "Conectar";
227
245
  readonly sourceNotConnected: "Não conectado";
246
+ readonly sourceCantRead: "Não consegue ler";
247
+ readonly sourceFailingSince: "Falhando desde {{since}}";
248
+ readonly sourceLastWorked: "última leitura {{time}}";
249
+ readonly sourceNeverWorked: "nenhuma leitura funcionou ainda";
250
+ readonly sourceLastRead: "Última leitura {{time}}";
251
+ readonly sourceWhyNeedsRefresh: "O {{app}} mudou suas ferramentas. Toque em Atualizar no {{app}}, em Conectores, para voltar a lê-lo.";
252
+ readonly sourceWhyNeedsSignIn: "A conexão com o {{app}} precisa de um novo login, em Conectores.";
253
+ readonly sourceWhyUnavailable: "O {{app}} não está respondendo. Ele tenta de novo a cada verificação.";
254
+ readonly sourceOpenConnectors: "Abrir Conectores";
228
255
  readonly sourceGmail: "E-mails não lidos enviados a você, sem marketing nem listas de e-mail";
229
256
  readonly sourceSlack: "Mensagens diretas, menções e mensagens de canais que você não respondeu";
230
257
  readonly sourceCalendar: "Convites das próximas 24 horas que você não respondeu";
@@ -306,6 +333,15 @@ export declare const pinnedIt: {
306
333
  readonly sourceListening: "In ascolto";
307
334
  readonly sourceConnect: "Collega";
308
335
  readonly sourceNotConnected: "Non collegato";
336
+ readonly sourceCantRead: "Non riesce a leggere";
337
+ readonly sourceFailingSince: "Non funziona da {{since}}";
338
+ readonly sourceLastWorked: "ultima lettura {{time}}";
339
+ readonly sourceNeverWorked: "nessuna lettura è ancora riuscita";
340
+ readonly sourceLastRead: "Ultima lettura {{time}}";
341
+ readonly sourceWhyNeedsRefresh: "{{app}} ha cambiato i suoi strumenti. Premi Aggiorna su {{app}}, in Connettori, per tornare a leggerlo.";
342
+ readonly sourceWhyNeedsSignIn: "Il collegamento con {{app}} richiede un nuovo accesso, in Connettori.";
343
+ readonly sourceWhyUnavailable: "{{app}} non risponde. Si riprova a ogni controllo.";
344
+ readonly sourceOpenConnectors: "Apri Connettori";
309
345
  readonly sourceGmail: "Email non lette inviate a te, escluse marketing e mailing list";
310
346
  readonly sourceSlack: "Messaggi diretti, menzioni e messaggi nei canali a cui non hai risposto";
311
347
  readonly sourceCalendar: "Inviti delle prossime 24 ore a cui non hai risposto";
@@ -79,6 +79,7 @@ export declare const settingsEn: {
79
79
  proactiveCheckNow: string;
80
80
  proactiveChecking: string;
81
81
  proactiveNothingNew: string;
82
+ proactiveCheckError: string;
82
83
  proactiveEmailTitle: string;
83
84
  proactiveEmailBody: string;
84
85
  proactiveEmailSaveError: string;
@@ -185,6 +186,7 @@ export declare const settingsEs: {
185
186
  proactiveCheckNow: string;
186
187
  proactiveChecking: string;
187
188
  proactiveNothingNew: string;
189
+ proactiveCheckError: string;
188
190
  proactiveEmailTitle: string;
189
191
  proactiveEmailBody: string;
190
192
  proactiveEmailSaveError: string;
@@ -291,6 +293,7 @@ export declare const settingsPt: {
291
293
  proactiveCheckNow: string;
292
294
  proactiveChecking: string;
293
295
  proactiveNothingNew: string;
296
+ proactiveCheckError: string;
294
297
  proactiveEmailTitle: string;
295
298
  proactiveEmailBody: string;
296
299
  proactiveEmailSaveError: string;
@@ -397,6 +400,7 @@ export declare const settingsIt: {
397
400
  proactiveCheckNow: string;
398
401
  proactiveChecking: string;
399
402
  proactiveNothingNew: string;
403
+ proactiveCheckError: string;
400
404
  proactiveEmailTitle: string;
401
405
  proactiveEmailBody: string;
402
406
  proactiveEmailSaveError: string;
@@ -56,7 +56,7 @@ export declare const streamEn: {
56
56
  readonly selectedCount_other: "{{count}} selected";
57
57
  readonly answer: "Answer";
58
58
  readonly next: "Next";
59
- readonly questionDetachedHint: "Belong moved on — your answer will be sent as a new message";
59
+ readonly questionDetachedHint: "Answer whenever you're ready. Work that doesn't need this carries on.";
60
60
  readonly toolActivityLabel: "Tool activity";
61
61
  readonly toolShellRunning: "Running a command";
62
62
  readonly toolShellDone: "Ran a command";
@@ -1,21 +1,18 @@
1
1
  import { AnswerQuestionResult } from '../../api/questions.ts';
2
2
  import { BelongUIMessage, ChoiceRequestData } from '../../stream/belong-data-parts.ts';
3
3
  /**
4
- * Plan 013 — rewrite the transcript's `data-choice-request` part for one
5
- * question with its resolved shape, so the record reads exactly as it will
6
- * after a reload (the history patch) without waiting for the wire; the live
7
- * same-id part that follows overwrites it with the identical state. Every
8
- * other message keeps its identity (no churn for the renderers).
4
+ * A question's answer travels as a user message whose text opens by telling the
5
+ * model which card it answers (`renderLateAnswerText`, question.service.ts).
6
+ * The person who answered reads only what they said. Display only: the stored
7
+ * text is what the queued-reply reconcile matches against.
9
8
  */
10
- export declare const patchChoicePart: (messages: readonly BelongUIMessage[], resolved: ChoiceRequestData) => BelongUIMessage[];
9
+ export declare const answerMessageDisplayText: (text: string) => string;
11
10
  /**
12
- * Plan 013 — Stop's local un-arm: the newest `pending` question flips to
13
- * `cancelled`, exactly as the server's abort path flips its row. Walks the
14
- * transcript itself rather than the derived card: X only HIDES a card in
15
- * this tab, and a question hidden here is still cancelled by Stop — the
16
- * record must read the same as it will after a reload (§41).
11
+ * A reload between an answer and the end of the turn that was running reads the
12
+ * answer's row above that turn's live reply, where nothing would move it. True
13
+ * when the screen reads that way, so the run's end can read the order back.
17
14
  */
18
- export declare const cancelPendingQuestion: (messages: readonly BelongUIMessage[]) => BelongUIMessage[];
15
+ export declare const answerRowAboveLiveReply: (messages: readonly BelongUIMessage[]) => boolean;
19
16
  /**
20
17
  * Plan 013 — the part as the server's 409 says it settled: the row of record
21
18
  * (another tab's answer / reply, a Stop's `cancelled`, a dismissal), which is
@@ -11,5 +11,6 @@ export type QueuedMessage = {
11
11
  });
12
12
  export declare const queuedTurnHasReply: (history: readonly BelongUIMessage[], text: string) => boolean;
13
13
  export declare const dropQueuedLandedIn: (history: readonly BelongUIMessage[]) => (prev: readonly QueuedMessage[]) => readonly QueuedMessage[];
14
+ export declare const dropQueuedRead: (clientId: string) => (prev: readonly QueuedMessage[]) => readonly QueuedMessage[];
14
15
  export declare const markQueuedFailed: (clientId: string) => (prev: readonly QueuedMessage[]) => readonly QueuedMessage[];
15
16
  export declare const markQueuedQuotaRefused: (clientId: string, notice: QuotaNoticeData) => (prev: readonly QueuedMessage[]) => readonly QueuedMessage[];
@@ -301,6 +301,7 @@ export declare const wireStreamPartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
301
301
  kind: z.ZodLiteral<"skipped">;
302
302
  }, z.core.$strip>], "kind">>>;
303
303
  reply: z.ZodOptional<z.ZodString>;
304
+ answerMessageId: z.ZodOptional<z.ZodString>;
304
305
  }, z.core.$strip>;
305
306
  }, z.core.$strip>, z.ZodObject<{
306
307
  type: z.ZodLiteral<"data-goal">;
@@ -116,6 +116,11 @@ export type ChoiceRequestData = {
116
116
  readonly answers?: Readonly<Record<string, ChoiceAnswer>> | undefined;
117
117
  /** The composer text when the user replied in chat instead of choosing. */
118
118
  readonly reply?: string | undefined;
119
+ /**
120
+ * The message the answer travelled as, when the running turn read it at its
121
+ * next step (steering). Its "Queued" chip goes: the card shows the answer.
122
+ */
123
+ readonly answerMessageId?: string | undefined;
119
124
  };
120
125
  /**
121
126
  * Optional fields declared with explicit `| undefined` so Zod's
@@ -1,7 +1,11 @@
1
1
  import { BelongUIMessage, ChoiceRequestData } from './belong-data-parts.ts';
2
2
  /** Snapshot — identity is stable until the set changes (useSyncExternalStore). */
3
3
  export declare const peekHiddenQuestions: () => ReadonlySet<string>;
4
- export declare const subscribeHiddenQuestions: (listener: () => void) => (() => void);
4
+ /** Snapshot — identity is stable until an answer settles a card. */
5
+ export declare const peekSettledQuestions: () => ReadonlyMap<string, ChoiceRequestData>;
6
+ /** The card as the server says it now reads: this tab's answer, or the 409's row of record. */
7
+ export declare const settleQuestion: (resolved: ChoiceRequestData) => void;
8
+ export declare const subscribeQuestionCards: (listener: () => void) => (() => void);
5
9
  export declare const isQuestionHidden: (questionRequestId: string) => boolean;
6
10
  export declare const hideQuestion: (questionRequestId: string) => void;
7
11
  export declare const unhideQuestion: (questionRequestId: string) => void;
@@ -17,6 +21,6 @@ export declare const __resetPendingQuestionStoreForTest: () => void;
17
21
  * The LAST occurrence of each question id wins before "newest" is decided: a
18
22
  * restored history part and a resumed stream's re-emit of the same question
19
23
  * (§40 re-attach) can sit in different messages, and only the later one
20
- * carries the current state.
24
+ * carries the current state, unless this tab has settled it since.
21
25
  */
22
- export declare const selectActiveQuestion: (messages: readonly BelongUIMessage[], hiddenIds: ReadonlySet<string>) => ChoiceRequestData | null;
26
+ export declare const selectActiveQuestion: (messages: readonly BelongUIMessage[], hiddenIds: ReadonlySet<string>, settledById?: ReadonlyMap<string, ChoiceRequestData>) => ChoiceRequestData | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@belonguniverseai/react-sdk",
3
- "version": "0.6.35",
3
+ "version": "0.6.36",
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",
@@ -1,19 +0,0 @@
1
- globalThis.process = globalThis.process || { env: {} }, globalThis.global = globalThis.global || globalThis;
2
- import "./chunk-Y2CYZVJY-CiUSrfaV.js";
3
- import "./src-CKo8cHWB.js";
4
- import "./chunk-I66GZJ75-DEykrnbu.js";
5
- import "./chunk-NSK5VX7P-D-saWvpt.js";
6
- import "./chunk-ZIRB5QZD-DmX0SXRC.js";
7
- import "./chunk-W5SLKNZC-BL-VPYuH.js";
8
- import "./chunk-UBXNYLIW-BfXPFCA1.js";
9
- import "./chunk-4I5QYGJK-Ccf8L2Bk.js";
10
- import "./chunk-WRU74C26-BXxIvhYq.js";
11
- import "./chunk-QR6OTTB3-CMv_Vw9A.js";
12
- import "./chunk-7BUUIJ7U-DJJ8ycYS.js";
13
- import "./chunk-7Z6QIM7H-BV6R4sWE.js";
14
- import "./chunk-J7OUQ5F2-CEWcOukY.js";
15
- import "./chunk-5VM5RSS4-BuOiQaWo.js";
16
- import "./chunk-2GRJ4B5K-CxwwCtK7.js";
17
- import "./chunk-XXDRQBXY-BP7ld7ls.js";
18
- import "./chunk-KBJHAD2P-Bk8hJC_U.js";
19
- export { n as diagram } from "./chunk-JQJVKLGR-DCAX80x3.js";