@belonguniverseai/react-sdk 0.6.22 → 0.6.24

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 (163) hide show
  1. package/dist/api/account-connectors.d.ts +2 -2
  2. package/dist/api/api-keys.d.ts +22 -0
  3. package/dist/api/client-identity.d.ts +12 -0
  4. package/dist/api/client.d.ts +1983 -49
  5. package/dist/api/mutations.d.ts +9 -1
  6. package/dist/api/query-keys.d.ts +9 -0
  7. package/dist/api/session-end.d.ts +2 -0
  8. package/dist/api/skill-library.d.ts +81 -0
  9. package/dist/api/skills.d.ts +1 -1
  10. package/dist/api/task-schedule-sharing.d.ts +166 -0
  11. package/dist/api/task-schedules.d.ts +23 -1
  12. package/dist/app/BelongDock.d.ts +0 -28
  13. package/dist/app/dock-demo-features.d.ts +13 -0
  14. package/dist/app/dock-demo-transport.d.ts +37 -0
  15. package/dist/app/dock-story-data.d.ts +116 -0
  16. package/dist/component/THIRD_PARTY_NOTICES.txt +24 -0
  17. package/dist/component/{abnfDiagram-N423BO3Z-D4mVRMw9.js → abnfDiagram-N423BO3Z-BZFjrvGh.js} +4 -4
  18. package/dist/component/{arc-GBp6w3tF.js → arc-R371iLQK.js} +2 -2
  19. package/dist/component/{architectureDiagram-T3A2C74G-Cxm-USYQ.js → architectureDiagram-T3A2C74G-CcH5CU8G.js} +3 -3
  20. package/dist/component/{blockDiagram-VBNYF7ZC-BAiLpxJf.js → blockDiagram-VBNYF7ZC-CO21oaME.js} +4 -4
  21. package/dist/component/{c4Diagram-5PPSVZJV-Sy6sLJOj.js → c4Diagram-5PPSVZJV-DFdczxGA.js} +3 -3
  22. package/dist/component/{channel-DPbaAkCI.js → channel-CTk2u27P.js} +2 -2
  23. package/dist/component/{chunk-2GRJ4B5K-8r8YJzCc.js → chunk-2GRJ4B5K-DLJBmRlE.js} +2 -2
  24. package/dist/component/{chunk-2Q5K7J3B-RZqny7-R.js → chunk-2Q5K7J3B-Dn9FHNcv.js} +2 -2
  25. package/dist/component/{chunk-5RXB4S5H-QFCY9Dtl.js → chunk-5RXB4S5H-C0lJsrjg.js} +5 -5
  26. package/dist/component/{chunk-5VM5RSS4-BG8q5ODa.js → chunk-5VM5RSS4-DphP3gZj.js} +2 -2
  27. package/dist/component/{chunk-6Q2QTUOP-D6ec2nI7.js → chunk-6Q2QTUOP-oYZ6WlsT.js} +2 -2
  28. package/dist/component/{chunk-GF5L2VYU-D7yROYf0.js → chunk-GF5L2VYU-CX1jApqq.js} +6 -6
  29. package/dist/component/{chunk-JWPE2WC7-CmGlHqne.js → chunk-JWPE2WC7-BsHiqT8c.js} +2 -2
  30. package/dist/component/{chunk-KBJHAD2P-W03s7swc.js → chunk-KBJHAD2P-JEN3NVHE.js} +2 -2
  31. package/dist/component/{chunk-RYQCIY6F-D0oyMUJ7.js → chunk-RYQCIY6F-BJlZTS0d.js} +2 -2
  32. package/dist/component/{chunk-XXDRQBXY-D4s0eyp4.js → chunk-XXDRQBXY-CftGkCaP.js} +2 -2
  33. package/dist/component/{classDiagram-JCYQIIEL-DwNAC2XG.js → classDiagram-JCYQIIEL-BEAw2s9m.js} +3 -3
  34. package/dist/component/{classDiagram-v2-OCEON4UE-DwNAC2XG.js → classDiagram-v2-OCEON4UE-BEAw2s9m.js} +3 -3
  35. package/dist/component/{cose-bilkent-JH36ORCC-DhGvXDdi.js → cose-bilkent-JH36ORCC-5g5ZQ1kH.js} +2 -2
  36. package/dist/component/{cynefinDiagram-MW4NZA55-BCUeX7pB.js → cynefinDiagram-MW4NZA55-C0wLlDn3.js} +3 -3
  37. package/dist/component/{dagre-VZM6K2ZE-DWofHoga.js → dagre-VZM6K2ZE-V9qiC6Cs.js} +3 -3
  38. package/dist/component/{diagram-7IWD3JNH-DjCFF_Dr.js → diagram-7IWD3JNH-D-KPwOWp.js} +4 -4
  39. package/dist/component/{diagram-B4RE2ZJO-CSovrpFW.js → diagram-B4RE2ZJO-CMiB6Lwu.js} +3 -3
  40. package/dist/component/{diagram-LBJQPF4R-Cgpae-sR.js → diagram-LBJQPF4R-ve7EbpGW.js} +3 -3
  41. package/dist/component/{diagram-Q27KOJAE-DikMPfLU.js → diagram-Q27KOJAE-DRINzJd4.js} +4 -4
  42. package/dist/component/{diagram-UB23O5K3-sQU6rZbO.js → diagram-UB23O5K3-CL0SSPI6.js} +3 -3
  43. package/dist/component/{ebnfDiagram-BXEA7PRR-B9t8-G8R.js → ebnfDiagram-BXEA7PRR-BgU6lPC0.js} +4 -4
  44. package/dist/component/{erDiagram-JOGREHBK-DKg1HhSl.js → erDiagram-JOGREHBK-BDuqW50a.js} +5 -5
  45. package/dist/component/{flowDiagram-UKHOOZJN-BO8jpT1D.js → flowDiagram-UKHOOZJN-KisN8EgK.js} +7 -7
  46. package/dist/component/{ganttDiagram-PKOTCBZU-BPXYyB9Q.js → ganttDiagram-PKOTCBZU-kZrnta4w.js} +3 -3
  47. package/dist/component/{gitGraphDiagram-DS77QQ5N-BjVLFBUS.js → gitGraphDiagram-DS77QQ5N-Dy1S71_C.js} +4 -4
  48. package/dist/component/{highlighted-body-OFNGDK62-BKot66c3.js → highlighted-body-OFNGDK62-ChNAP6R7.js} +2 -2
  49. package/dist/component/index.js +2 -2
  50. package/dist/component/{infoDiagram-6WML65LV-BkAC5Bwv.js → infoDiagram-6WML65LV-C3CmzQkI.js} +2 -2
  51. package/dist/component/{ishikawaDiagram-WSZJBQD7-oplkIs_t.js → ishikawaDiagram-WSZJBQD7-DBHVF-fV.js} +2 -2
  52. package/dist/component/{journeyDiagram-NVQOT4AX-CuliMCSv.js → journeyDiagram-NVQOT4AX-Cg3e2eDS.js} +5 -5
  53. package/dist/component/{kanban-definition-27J2QSJJ-DdzOdEiL.js → kanban-definition-27J2QSJJ-tIaMkhvn.js} +3 -3
  54. package/dist/component/{linear-zZDwdGmK.js → linear-DQ23phHp.js} +2 -2
  55. package/dist/component/{mermaid-GHXKKRXX-aX5umm-y.js → mermaid-GHXKKRXX-CssTT3y2.js} +115414 -109032
  56. package/dist/component/{mindmap-definition-FAOFIHXS-DD2HF9oE.js → mindmap-definition-FAOFIHXS-oSuksV41.js} +4 -4
  57. package/dist/component/{pegDiagram-VL7TDLO6-DyiDl9bF.js → pegDiagram-VL7TDLO6-GLxZEQlj.js} +4 -4
  58. package/dist/component/{pieDiagram-7S7Q4E2Y-DflxKS_B.js → pieDiagram-7S7Q4E2Y-4ghKg2jt.js} +4 -4
  59. package/dist/component/{quadrantDiagram-CIZ2JOQS-nwwayVOP.js → quadrantDiagram-CIZ2JOQS-DOnM2yX5.js} +3 -3
  60. package/dist/component/{railroadDiagram-AXF67PYL-BTtD2eN9.js → railroadDiagram-AXF67PYL-DCf1AdeI.js} +4 -4
  61. package/dist/component/{requirementDiagram-LRYGKXZP-B37q1LKL.js → requirementDiagram-LRYGKXZP-BgUTRz25.js} +4 -4
  62. package/dist/component/{sankeyDiagram-W5VNT64P-zY0W9eje.js → sankeyDiagram-W5VNT64P-93-3TiEZ.js} +2 -2
  63. package/dist/component/{sequenceDiagram-SI44F4Z6-CmQiqB8F.js → sequenceDiagram-SI44F4Z6-CjdXsQGo.js} +4 -4
  64. package/dist/component/{sizeCapture-X5ZJPWSS-dF3FvIT8.js → sizeCapture-X5ZJPWSS-BZcfJFgu.js} +2 -2
  65. package/dist/component/{stateDiagram-OKZ733FA-CX61F3L0.js → stateDiagram-OKZ733FA-DqZxP_LE.js} +3 -3
  66. package/dist/component/{stateDiagram-v2-UEYNNEHI-DnFZhhu3.js → stateDiagram-v2-UEYNNEHI-bW3Xpzm_.js} +3 -3
  67. package/dist/component/{swimlanes-SLNWSIFB-CX9XGBvw.js → swimlanes-SLNWSIFB-BCid9HHX.js} +4 -4
  68. package/dist/component/{swimlanesDiagram-ULZ7WXOC-Bqkgx7qk.js → swimlanesDiagram-ULZ7WXOC-CUXpjQTA.js} +3 -3
  69. package/dist/component/{timeline-definition-Z64GVDOM-BUX4OSm1.js → timeline-definition-Z64GVDOM-Cl9JeVlC.js} +3 -3
  70. package/dist/component/{vennDiagram-T6HMQDX7-BpVOq4Rh.js → vennDiagram-T6HMQDX7-A8wa9sfS.js} +2 -2
  71. package/dist/component/{wardleyDiagram-T6FBY63Y-BUDGa8Mv.js → wardleyDiagram-T6FBY63Y-CYjNVqXL.js} +3 -3
  72. package/dist/component/{xychartDiagram-ELKLHX3M-FIA_LnIu.js → xychartDiagram-ELKLHX3M-CWTWyqQ8.js} +3 -3
  73. package/dist/components/ai-elements/markdown-repair-samples.d.ts +27 -0
  74. package/dist/components/ai-elements/message.d.ts +2 -2
  75. package/dist/components/ai-elements/prompt-input.d.ts +3 -1
  76. package/dist/components/ai-elements/task.d.ts +2 -1
  77. package/dist/components/ai-elements/terminal-task.d.ts +2 -1
  78. package/dist/components/connectors/portal-theme.d.ts +2 -8
  79. package/dist/components/embed/AgentChatIcon.d.ts +1 -1
  80. package/dist/components/embed/AgentPhaseIcon.d.ts +16 -14
  81. package/dist/components/embed/ApiKeysSettings.d.ts +1 -0
  82. package/dist/components/embed/BetaBadge.d.ts +8 -10
  83. package/dist/components/embed/ChatTitleEditor.d.ts +17 -0
  84. package/dist/components/embed/ComposerContext.d.ts +9 -0
  85. package/dist/components/embed/EmbedAvatar.d.ts +17 -18
  86. package/dist/components/embed/EmbedComposer.d.ts +3 -1
  87. package/dist/components/embed/EmbedHeader.d.ts +20 -31
  88. package/dist/components/embed/EmbedRail.d.ts +12 -9
  89. package/dist/components/embed/EmbedSessions.d.ts +10 -12
  90. package/dist/components/embed/GoalComposeSheet.d.ts +2 -1
  91. package/dist/components/embed/LegalShortDisclaimer.d.ts +6 -8
  92. package/dist/components/embed/MentionInput.d.ts +9 -3
  93. package/dist/components/embed/MobileNavBar.d.ts +12 -10
  94. package/dist/components/embed/OnboardingOverlay.d.ts +3 -1
  95. package/dist/components/embed/OnboardingTour.d.ts +1 -10
  96. package/dist/components/embed/OnboardingWelcome.d.ts +1 -11
  97. package/dist/components/embed/PlanPanel.d.ts +3 -1
  98. package/dist/components/embed/PreviewPanel.d.ts +3 -1
  99. package/dist/components/embed/SessionSwitcher.d.ts +12 -0
  100. package/dist/components/embed/SubagentAvatar.d.ts +8 -0
  101. package/dist/components/embed/WorkspacePane.d.ts +3 -1
  102. package/dist/components/embed/context-occupancy.d.ts +15 -0
  103. package/dist/components/embed/navigation-layout.d.ts +7 -0
  104. package/dist/components/embed/rail-flags.d.ts +4 -11
  105. package/dist/components/embed/use-agent-identity.d.ts +1 -0
  106. package/dist/components/embed/use-prompt-invocations.d.ts +6 -1
  107. package/dist/components/prompts/PromptPreviewDialog.d.ts +10 -0
  108. package/dist/components/prompts/PromptsListSurface.d.ts +4 -4
  109. package/dist/components/scheduled/ConfirmDeleteScheduleDialog.d.ts +1 -0
  110. package/dist/components/scheduled/ScheduleDialog.d.ts +4 -0
  111. package/dist/components/scheduled/ScheduledDetailSurface.d.ts +1 -0
  112. package/dist/components/scheduled/ScheduledHeader.d.ts +3 -0
  113. package/dist/components/scheduled/ScheduledListSurface.d.ts +1 -1
  114. package/dist/components/scheduled/ShareScheduleDialog.d.ts +10 -0
  115. package/dist/components/scheduled/SharedSchedulesSurface.d.ts +1 -0
  116. package/dist/components/scheduled/schedule-dialog-model.d.ts +5 -2
  117. package/dist/components/skills/EditSkillDialog.d.ts +8 -0
  118. package/dist/components/skills/SkillDiscover.d.ts +1 -0
  119. package/dist/components/skills/SkillsListSurface.d.ts +8 -4
  120. package/dist/components/skills/skill-refusal-copy.d.ts +8 -0
  121. package/dist/components/ui/card.d.ts +1 -1
  122. package/dist/components/ui/dialog.d.ts +1 -1
  123. package/dist/components/ui/dropdown-menu.d.ts +2 -2
  124. package/dist/components/ui/hover-card.d.ts +1 -1
  125. package/dist/components/ui/popover.d.ts +1 -1
  126. package/dist/components/ui/select.d.ts +1 -1
  127. package/dist/components/ui/shadow-dialog-focus.d.ts +5 -0
  128. package/dist/components/ui/tooltip.d.ts +1 -1
  129. package/dist/embed/brand-marks.d.ts +3 -3
  130. package/dist/embed/conversation-scroll.d.ts +18 -0
  131. package/dist/embed/copy.d.ts +8 -3
  132. package/dist/embed/legal-disclaimer.d.ts +5 -1
  133. package/dist/embed/library-composer.d.ts +24 -0
  134. package/dist/embed/library-navigation.d.ts +6 -0
  135. package/dist/embed/portal-container.d.ts +17 -16
  136. package/dist/embed/presets.d.ts +2 -2
  137. package/dist/embed/schedule-invitation.d.ts +5 -0
  138. package/dist/embed/use-session-draft.d.ts +11 -0
  139. package/dist/embed/voice-call-lines.d.ts +14 -5
  140. package/dist/i18n/messages/en.d.ts +248 -9
  141. package/dist/i18n/messages/surfaces/files.d.ts +4 -0
  142. package/dist/i18n/messages/surfaces/header.d.ts +4 -0
  143. package/dist/i18n/messages/surfaces/navigation.d.ts +149 -0
  144. package/dist/i18n/messages/surfaces/prompts.d.ts +56 -5
  145. package/dist/i18n/messages/surfaces/scheduled.d.ts +233 -1
  146. package/dist/i18n/messages/surfaces/sessions.d.ts +16 -0
  147. package/dist/i18n/messages/surfaces/settings.d.ts +229 -0
  148. package/dist/i18n/messages/surfaces/skills.d.ts +157 -6
  149. package/dist/i18n/messages/surfaces/stream.d.ts +109 -0
  150. package/dist/i18n/messages/surfaces/usage.d.ts +40 -16
  151. package/dist/i18n/messages/surfaces/workspace.d.ts +7 -5
  152. package/dist/routes/chat/draft-updaters.d.ts +16 -0
  153. package/dist/routes/chat/use-session-goal.d.ts +1 -0
  154. package/dist/routes/chat.d.ts +2 -1
  155. package/dist/routes/library.d.ts +4 -0
  156. package/dist/stream/agent-deliverable-path.d.ts +1 -0
  157. package/dist/stream/ai-sdk-part-renderers.d.ts +4 -8
  158. package/dist/stream/belong-chat-transport.d.ts +16 -1
  159. package/dist/stream/belong-data-parts.d.ts +9 -3
  160. package/dist/stream/subagent-lanes.d.ts +3 -2
  161. package/dist/types/public.d.ts +11 -0
  162. package/package.json +1 -1
  163. package/dist/components/ai-elements/reasoning.d.ts +0 -26
@@ -1,22 +1,46 @@
1
1
  /**
2
2
  * Skills rail surface (skill library spec §11): the list, the inline on/off
3
- * switch, download/delete, and the upload dialog.
3
+ * switch, download/delete, the upload dialog, and the View / Edit dialog.
4
4
  *
5
5
  * Copy names the PRODUCT only (§42): never SKILL.md, bundle, sandbox,
6
6
  * frontmatter, archive or workspace plumbing. File extensions are the one
7
7
  * technical word kept, because the user must pick a file by them.
8
8
  *
9
- * Terminology follows the shipped `/` menu section this surface feeds
10
- * (`embed.yourSkills`): en "Skills", es/pt "Habilidades", it "Skill". Two
11
- * names for one thing would read as two features.
9
+ * Product terms stay in English in every locale: "Skills" and "Prompts".
10
+ * Keep navigation, the `/` menu, dialogs and activity labels consistent.
12
11
  *
13
12
  * Nothing here is phrased as breakage: a failed toggle, download or delete is
14
- * an ordinary moment rendered orange (§42); only a refused upload inside the
15
- * dialog is red.
13
+ * an ordinary moment rendered orange (§42); only a refused upload or edit
14
+ * inside its dialog is red.
15
+ *
16
+ * The edit copy points at the lines the user can SEE in the editor: in es/pt/it
17
+ * the `name` / `description` line keys stay in English, because that is what
18
+ * the instructions literally say.
16
19
  */
17
20
  export declare const skillsEn: {
18
21
  readonly skills: {
19
22
  readonly viewTitle: "Skills";
23
+ readonly discover: "Discover";
24
+ readonly yourSkills: "Your skills";
25
+ readonly discoverDescription: "Find the right skill for your task.";
26
+ readonly search: "Search skills";
27
+ readonly categories: "Skill categories";
28
+ readonly allCategories: "All";
29
+ readonly companySkills: "Company skills";
30
+ readonly availableHeading: "Available to your agent";
31
+ readonly resultCount: "{{count}} skills";
32
+ readonly available: "Ready to use";
33
+ readonly availableHint: "Already available to your agent. Add it to your chat, describe what you need, and review before sending.";
34
+ readonly useInChat: "Use in chat";
35
+ readonly useUnavailable: "This skill can't be added right now. Close this preview and try again.";
36
+ readonly descriptionFallback: "Ask your agent to help with this task.";
37
+ readonly catalogLoading: "Loading available skills…";
38
+ readonly catalogError: "Couldn't load available skills.";
39
+ readonly catalogEmpty: "No company skills yet";
40
+ readonly catalogEmptyHint: "Company skills will appear here when they become available. You can manage personal skills in Your skills.";
41
+ readonly noResults: "No matching skills";
42
+ readonly noResultsHint: "Try another search or category.";
43
+ readonly clearFilters: "Clear filters";
20
44
  readonly viewDescription: "Teach the assistant how you work. Turn a skill off to keep it without using it.";
21
45
  readonly upload: "Upload";
22
46
  readonly toggleAria: "Use {{name}}";
@@ -62,11 +86,48 @@ export declare const skillsEn: {
62
86
  readonly deleteDescription: "{{name}} will be removed, and the assistant will stop using it in this workspace.";
63
87
  readonly deleteConfirm: "Delete";
64
88
  readonly deleting: "Deleting…";
89
+ readonly viewEdit: "View and edit";
90
+ readonly editIntro: "The instructions the assistant follows. Changing the name at the top renames the skill.";
91
+ readonly editTextAria: "Instructions for {{name}}";
92
+ readonly editFiles: "Also in this skill:";
93
+ readonly editLoading: "Opening this skill…";
94
+ readonly editLoadError: "Couldn't open this skill.";
95
+ readonly editSave: "Save";
96
+ readonly editSaving: "Saving…";
97
+ readonly editStale: "This skill changed since you opened it. Reload to get the latest version — your unsaved changes will be lost.";
98
+ readonly editContentReserved: "These instructions copy one of your company's skills, so they can't be saved as your own.";
99
+ readonly editReload: "Reload";
100
+ readonly editNameTaken: "You already have a skill named {{name}}.";
101
+ readonly editRenameHint: "Change the name at the top and try again.";
102
+ readonly editInvalid: "This isn't a valid skill yet — check the name and description lines at the top.";
103
+ readonly editTooLong: "These instructions are too long. Shorten them and try again.";
104
+ readonly editFailed: "Couldn't save your changes. Try again.";
65
105
  };
66
106
  };
67
107
  export declare const skillsEs: {
68
108
  skills: {
69
109
  viewTitle: string;
110
+ discover: string;
111
+ yourSkills: string;
112
+ discoverDescription: string;
113
+ search: string;
114
+ categories: string;
115
+ allCategories: string;
116
+ companySkills: string;
117
+ availableHeading: string;
118
+ resultCount: string;
119
+ available: string;
120
+ availableHint: string;
121
+ useInChat: string;
122
+ useUnavailable: string;
123
+ descriptionFallback: string;
124
+ catalogLoading: string;
125
+ catalogError: string;
126
+ catalogEmpty: string;
127
+ catalogEmptyHint: string;
128
+ noResults: string;
129
+ noResultsHint: string;
130
+ clearFilters: string;
70
131
  viewDescription: string;
71
132
  upload: string;
72
133
  toggleAria: string;
@@ -112,11 +173,48 @@ export declare const skillsEs: {
112
173
  deleteDescription: string;
113
174
  deleteConfirm: string;
114
175
  deleting: string;
176
+ viewEdit: string;
177
+ editIntro: string;
178
+ editTextAria: string;
179
+ editFiles: string;
180
+ editLoading: string;
181
+ editLoadError: string;
182
+ editSave: string;
183
+ editSaving: string;
184
+ editStale: string;
185
+ editContentReserved: string;
186
+ editReload: string;
187
+ editNameTaken: string;
188
+ editRenameHint: string;
189
+ editInvalid: string;
190
+ editTooLong: string;
191
+ editFailed: string;
115
192
  };
116
193
  };
117
194
  export declare const skillsPt: {
118
195
  skills: {
119
196
  viewTitle: string;
197
+ discover: string;
198
+ yourSkills: string;
199
+ discoverDescription: string;
200
+ search: string;
201
+ categories: string;
202
+ allCategories: string;
203
+ companySkills: string;
204
+ availableHeading: string;
205
+ resultCount: string;
206
+ available: string;
207
+ availableHint: string;
208
+ useInChat: string;
209
+ useUnavailable: string;
210
+ descriptionFallback: string;
211
+ catalogLoading: string;
212
+ catalogError: string;
213
+ catalogEmpty: string;
214
+ catalogEmptyHint: string;
215
+ noResults: string;
216
+ noResultsHint: string;
217
+ clearFilters: string;
120
218
  viewDescription: string;
121
219
  upload: string;
122
220
  toggleAria: string;
@@ -162,11 +260,48 @@ export declare const skillsPt: {
162
260
  deleteDescription: string;
163
261
  deleteConfirm: string;
164
262
  deleting: string;
263
+ viewEdit: string;
264
+ editIntro: string;
265
+ editTextAria: string;
266
+ editFiles: string;
267
+ editLoading: string;
268
+ editLoadError: string;
269
+ editSave: string;
270
+ editSaving: string;
271
+ editStale: string;
272
+ editContentReserved: string;
273
+ editReload: string;
274
+ editNameTaken: string;
275
+ editRenameHint: string;
276
+ editInvalid: string;
277
+ editTooLong: string;
278
+ editFailed: string;
165
279
  };
166
280
  };
167
281
  export declare const skillsIt: {
168
282
  skills: {
169
283
  viewTitle: string;
284
+ discover: string;
285
+ yourSkills: string;
286
+ discoverDescription: string;
287
+ search: string;
288
+ categories: string;
289
+ allCategories: string;
290
+ companySkills: string;
291
+ availableHeading: string;
292
+ resultCount: string;
293
+ available: string;
294
+ availableHint: string;
295
+ useInChat: string;
296
+ useUnavailable: string;
297
+ descriptionFallback: string;
298
+ catalogLoading: string;
299
+ catalogError: string;
300
+ catalogEmpty: string;
301
+ catalogEmptyHint: string;
302
+ noResults: string;
303
+ noResultsHint: string;
304
+ clearFilters: string;
170
305
  viewDescription: string;
171
306
  upload: string;
172
307
  toggleAria: string;
@@ -212,5 +347,21 @@ export declare const skillsIt: {
212
347
  deleteDescription: string;
213
348
  deleteConfirm: string;
214
349
  deleting: string;
350
+ viewEdit: string;
351
+ editIntro: string;
352
+ editTextAria: string;
353
+ editFiles: string;
354
+ editLoading: string;
355
+ editLoadError: string;
356
+ editSave: string;
357
+ editSaving: string;
358
+ editStale: string;
359
+ editContentReserved: string;
360
+ editReload: string;
361
+ editNameTaken: string;
362
+ editRenameHint: string;
363
+ editInvalid: string;
364
+ editTooLong: string;
365
+ editFailed: string;
215
366
  };
216
367
  };
@@ -57,6 +57,7 @@ export declare const streamEn: {
57
57
  readonly answer: "Answer";
58
58
  readonly next: "Next";
59
59
  readonly questionDetachedHint: "Belong moved on — your answer will be sent as a new message";
60
+ readonly toolActivityLabel: "Tool activity";
60
61
  readonly toolShellRunning: "Running a command";
61
62
  readonly toolShellDone: "Ran a command";
62
63
  readonly toolShellFailed: "A command didn't complete";
@@ -115,8 +116,35 @@ export declare const streamEn: {
115
116
  /** A tool this build has no copy for — a neutral line, never its name. */
116
117
  readonly actionGeneric: "Worked on it";
117
118
  readonly executingTasks: "Working on it…";
119
+ readonly usingTool: "Using a tool…";
120
+ readonly loadingSkill: "Loading a skill…";
121
+ readonly thinking: "Thinking…";
122
+ readonly thought: "Reasoning";
118
123
  readonly workedSteps_one: "Worked · {{count}} step";
119
124
  readonly workedSteps_other: "Worked · {{count}} steps";
125
+ readonly subagentsWorking_one: "{{count}} subagent working";
126
+ readonly subagentsWorking_other: "{{count}} subagents working";
127
+ readonly subagentRunning: "Subagent · {{description}}…";
128
+ readonly subagentDone: "Subagent · {{description}}";
129
+ readonly subagentDoneSteps_one: "Subagent · {{description}} · {{count}} step";
130
+ readonly subagentDoneSteps_other: "Subagent · {{description}} · {{count}} steps";
131
+ readonly subagentFailed: "Subagent · {{description}} · didn't finish";
132
+ readonly subagentTimedOut: "Subagent · {{description}} · ran out of time";
133
+ /** Attribution chip on an inner tool card. Attribution, not nesting. */
134
+ readonly subagentVia: "via {{name}}";
135
+ readonly subagentUnknown: "subagent";
136
+ readonly subagentNameLabel: "Agent";
137
+ readonly subagentTaskLabel: "Task";
138
+ readonly subagentStatusLabel: "Status";
139
+ readonly subagentStepsLabel: "Steps";
140
+ readonly subagentResultLabel: "Result";
141
+ readonly subagentUpdateLabel: "Latest update";
142
+ readonly subagentCopyResult: "Copy result";
143
+ readonly subagentStatusWorking: "Working";
144
+ readonly subagentStatusFinished: "Finished";
145
+ readonly subagentStatusFailed: "Did not finish";
146
+ readonly subagentStatusTimedOut: "Ran out of time";
147
+ readonly subagentStatusInactive: "Activity recorded";
120
148
  readonly subagentWorkingCount_one: "Working on it… · {{done}} of {{count}} done";
121
149
  readonly subagentWorkingCount_other: "Working on it… · {{done}} of {{count}} done";
122
150
  readonly subagentWaveFallback_one: "{{count}} running";
@@ -206,6 +234,7 @@ export declare const streamEs: {
206
234
  answer: string;
207
235
  next: string;
208
236
  questionDetachedHint: string;
237
+ toolActivityLabel: string;
209
238
  toolShellRunning: string;
210
239
  toolShellDone: string;
211
240
  toolShellFailed: string;
@@ -262,8 +291,34 @@ export declare const streamEs: {
262
291
  actionAskedQuestion: string;
263
292
  actionGeneric: string;
264
293
  executingTasks: string;
294
+ usingTool: string;
295
+ loadingSkill: string;
296
+ thinking: string;
297
+ thought: string;
265
298
  workedSteps_one: string;
266
299
  workedSteps_other: string;
300
+ subagentsWorking_one: string;
301
+ subagentsWorking_other: string;
302
+ subagentRunning: string;
303
+ subagentDone: string;
304
+ subagentDoneSteps_one: string;
305
+ subagentDoneSteps_other: string;
306
+ subagentFailed: string;
307
+ subagentTimedOut: string;
308
+ subagentVia: string;
309
+ subagentUnknown: string;
310
+ subagentNameLabel: string;
311
+ subagentTaskLabel: string;
312
+ subagentStatusLabel: string;
313
+ subagentStepsLabel: string;
314
+ subagentResultLabel: string;
315
+ subagentUpdateLabel: string;
316
+ subagentCopyResult: string;
317
+ subagentStatusWorking: string;
318
+ subagentStatusFinished: string;
319
+ subagentStatusFailed: string;
320
+ subagentStatusTimedOut: string;
321
+ subagentStatusInactive: string;
267
322
  subagentWorkingCount_one: string;
268
323
  subagentWorkingCount_other: string;
269
324
  subagentWaveFallback_one: string;
@@ -353,6 +408,7 @@ export declare const streamPt: {
353
408
  answer: string;
354
409
  next: string;
355
410
  questionDetachedHint: string;
411
+ toolActivityLabel: string;
356
412
  toolShellRunning: string;
357
413
  toolShellDone: string;
358
414
  toolShellFailed: string;
@@ -409,8 +465,34 @@ export declare const streamPt: {
409
465
  actionAskedQuestion: string;
410
466
  actionGeneric: string;
411
467
  executingTasks: string;
468
+ usingTool: string;
469
+ loadingSkill: string;
470
+ thinking: string;
471
+ thought: string;
412
472
  workedSteps_one: string;
413
473
  workedSteps_other: string;
474
+ subagentsWorking_one: string;
475
+ subagentsWorking_other: string;
476
+ subagentRunning: string;
477
+ subagentDone: string;
478
+ subagentDoneSteps_one: string;
479
+ subagentDoneSteps_other: string;
480
+ subagentFailed: string;
481
+ subagentTimedOut: string;
482
+ subagentVia: string;
483
+ subagentUnknown: string;
484
+ subagentNameLabel: string;
485
+ subagentTaskLabel: string;
486
+ subagentStatusLabel: string;
487
+ subagentStepsLabel: string;
488
+ subagentResultLabel: string;
489
+ subagentUpdateLabel: string;
490
+ subagentCopyResult: string;
491
+ subagentStatusWorking: string;
492
+ subagentStatusFinished: string;
493
+ subagentStatusFailed: string;
494
+ subagentStatusTimedOut: string;
495
+ subagentStatusInactive: string;
414
496
  subagentWorkingCount_one: string;
415
497
  subagentWorkingCount_other: string;
416
498
  subagentWaveFallback_one: string;
@@ -500,6 +582,7 @@ export declare const streamIt: {
500
582
  answer: string;
501
583
  next: string;
502
584
  questionDetachedHint: string;
585
+ toolActivityLabel: string;
503
586
  toolShellRunning: string;
504
587
  toolShellDone: string;
505
588
  toolShellFailed: string;
@@ -556,8 +639,34 @@ export declare const streamIt: {
556
639
  actionAskedQuestion: string;
557
640
  actionGeneric: string;
558
641
  executingTasks: string;
642
+ usingTool: string;
643
+ loadingSkill: string;
644
+ thinking: string;
645
+ thought: string;
559
646
  workedSteps_one: string;
560
647
  workedSteps_other: string;
648
+ subagentsWorking_one: string;
649
+ subagentsWorking_other: string;
650
+ subagentRunning: string;
651
+ subagentDone: string;
652
+ subagentDoneSteps_one: string;
653
+ subagentDoneSteps_other: string;
654
+ subagentFailed: string;
655
+ subagentTimedOut: string;
656
+ subagentVia: string;
657
+ subagentUnknown: string;
658
+ subagentNameLabel: string;
659
+ subagentTaskLabel: string;
660
+ subagentStatusLabel: string;
661
+ subagentStepsLabel: string;
662
+ subagentResultLabel: string;
663
+ subagentUpdateLabel: string;
664
+ subagentCopyResult: string;
665
+ subagentStatusWorking: string;
666
+ subagentStatusFinished: string;
667
+ subagentStatusFailed: string;
668
+ subagentStatusTimedOut: string;
669
+ subagentStatusInactive: string;
561
670
  subagentWorkingCount_one: string;
562
671
  subagentWorkingCount_other: string;
563
672
  subagentWaveFallback_one: string;
@@ -1,10 +1,14 @@
1
1
  /** Usage meter + context-window panel dock strings. */
2
2
  export declare const usageEn: {
3
3
  readonly usage: {
4
- readonly tooltip: "Auto-compacts at {{chars}} chars; {{tokens}} tokens used this session";
4
+ readonly expandComposer: "Expand message input";
5
+ readonly collapseComposer: "Compact message input";
6
+ readonly contextTitle: "Context for this message";
7
+ readonly pageNote: "Page label only; this control does not attach page contents.";
8
+ readonly removeFile: "Remove {{name}}";
9
+ readonly closeContext: "Close context";
10
+ readonly currentPage: "Current page";
5
11
  readonly windowTooltip: "Context window: {{used}} of {{window}} tokens used ({{pct}}%)";
6
- readonly context: "Context {{pct}}%";
7
- readonly tokens: "{{count}} tokens";
8
12
  readonly inOut: "Input {{in}} · output {{out}}";
9
13
  readonly turnsThisSessionOne: "{{count}} turn this session";
10
14
  readonly turnsThisSessionOther: "{{count}} turns this session";
@@ -19,18 +23,24 @@ export declare const usageEn: {
19
23
  };
20
24
  readonly freeSpace: "Free space";
21
25
  readonly estimateNote: "Breakdown is estimated; the total is as reported by the model.";
22
- readonly sessionTokens: "{{tokens}} tokens this session";
23
26
  readonly cacheLine: "Cache: {{read}} read · {{write}} written";
24
27
  readonly autoCompact: "Auto-compact: {{pct}}% of budget";
25
28
  };
29
+ readonly compactionLabel: "Auto-compact: {{used}} of {{limit}} characters used ({{pct}}%)";
30
+ readonly chatTotal: "Used in this chat: {{tokens}} tokens";
31
+ readonly chatTotalNote: "Each reply re-reads the chat, so this grows faster than the context window.";
26
32
  };
27
33
  };
28
34
  export declare const usageEs: {
29
35
  usage: {
30
- tooltip: string;
36
+ expandComposer: string;
37
+ collapseComposer: string;
38
+ contextTitle: string;
39
+ pageNote: string;
40
+ removeFile: string;
41
+ closeContext: string;
42
+ currentPage: string;
31
43
  windowTooltip: string;
32
- context: string;
33
- tokens: string;
34
44
  inOut: string;
35
45
  turnsThisSessionOne: string;
36
46
  turnsThisSessionOther: string;
@@ -45,18 +55,24 @@ export declare const usageEs: {
45
55
  };
46
56
  freeSpace: string;
47
57
  estimateNote: string;
48
- sessionTokens: string;
49
58
  cacheLine: string;
50
59
  autoCompact: string;
51
60
  };
61
+ compactionLabel: string;
62
+ chatTotal: string;
63
+ chatTotalNote: string;
52
64
  };
53
65
  };
54
66
  export declare const usagePt: {
55
67
  usage: {
56
- tooltip: string;
68
+ expandComposer: string;
69
+ collapseComposer: string;
70
+ contextTitle: string;
71
+ pageNote: string;
72
+ removeFile: string;
73
+ closeContext: string;
74
+ currentPage: string;
57
75
  windowTooltip: string;
58
- context: string;
59
- tokens: string;
60
76
  inOut: string;
61
77
  turnsThisSessionOne: string;
62
78
  turnsThisSessionOther: string;
@@ -71,18 +87,24 @@ export declare const usagePt: {
71
87
  };
72
88
  freeSpace: string;
73
89
  estimateNote: string;
74
- sessionTokens: string;
75
90
  cacheLine: string;
76
91
  autoCompact: string;
77
92
  };
93
+ compactionLabel: string;
94
+ chatTotal: string;
95
+ chatTotalNote: string;
78
96
  };
79
97
  };
80
98
  export declare const usageIt: {
81
99
  usage: {
82
- tooltip: string;
100
+ expandComposer: string;
101
+ collapseComposer: string;
102
+ contextTitle: string;
103
+ pageNote: string;
104
+ removeFile: string;
105
+ closeContext: string;
106
+ currentPage: string;
83
107
  windowTooltip: string;
84
- context: string;
85
- tokens: string;
86
108
  inOut: string;
87
109
  turnsThisSessionOne: string;
88
110
  turnsThisSessionOther: string;
@@ -97,9 +119,11 @@ export declare const usageIt: {
97
119
  };
98
120
  freeSpace: string;
99
121
  estimateNote: string;
100
- sessionTokens: string;
101
122
  cacheLine: string;
102
123
  autoCompact: string;
103
124
  };
125
+ compactionLabel: string;
126
+ chatTotal: string;
127
+ chatTotalNote: string;
104
128
  };
105
129
  };
@@ -1,11 +1,13 @@
1
1
  /** Fullscreen workspace pane strings (spec 2026-09-02). §42: the copy names the
2
- * product only — "Belong" — never the pane, the agent, or the dock. */
2
+ * product only, never the pane or the dock. `shownBy`'s `{{name}}` is the
3
+ * tenant's agent identity (`useAgentIdentity`: "Simetrik agent", "Belong
4
+ * agent", or a custom brand), so a Simetrik user is never told "Belong". */
3
5
  export declare const workspaceEn: {
4
6
  readonly workspace: {
5
7
  readonly newItem: "New: {{title}}";
6
8
  readonly close: "Close";
7
9
  readonly download: "Download";
8
- readonly shownByBelong: "Shown by Belong";
10
+ readonly shownBy: "Shown by {{name}}";
9
11
  readonly openedByYou: "You opened this";
10
12
  readonly planTitle: "Plan";
11
13
  readonly subagentsFilterAll: "All {{count}}";
@@ -20,7 +22,7 @@ export declare const workspaceEs: {
20
22
  newItem: string;
21
23
  close: string;
22
24
  download: string;
23
- shownByBelong: string;
25
+ shownBy: string;
24
26
  openedByYou: string;
25
27
  planTitle: string;
26
28
  subagentsFilterAll: string;
@@ -35,7 +37,7 @@ export declare const workspacePt: {
35
37
  newItem: string;
36
38
  close: string;
37
39
  download: string;
38
- shownByBelong: string;
40
+ shownBy: string;
39
41
  openedByYou: string;
40
42
  planTitle: string;
41
43
  subagentsFilterAll: string;
@@ -50,7 +52,7 @@ export declare const workspaceIt: {
50
52
  newItem: string;
51
53
  close: string;
52
54
  download: string;
53
- shownByBelong: string;
55
+ shownBy: string;
54
56
  openedByYou: string;
55
57
  planTitle: string;
56
58
  subagentsFilterAll: string;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * `setDraft` updaters for ChatRoute's programmatic draft writers, moved out of
3
+ * `routes/chat.tsx` verbatim (decomposition ratchet: the route file must not
4
+ * grow). Module-level so the route's callbacks stay within the
5
+ * function-nesting limit.
6
+ *
7
+ * (BEL-255 note: these writers used to be seed-aware, stripping an untouched
8
+ * welcome seed before appending. The welcome question is now a GHOST
9
+ * suggestion the composer paints over an EMPTY draft — it never lives in the
10
+ * draft string — so every programmatic writer composes onto user text only.)
11
+ */
12
+ /** BEL-144 — appends recalled queued-message texts under whatever the user
13
+ * already typed, newline-separated (handleStop's restore). */
14
+ export declare const appendTextsToDraft: (texts: readonly string[]) => (prev: string) => string;
15
+ /** Dictation append (open surface + closed-surface confirm mode). */
16
+ export declare const appendDictationToDraft: (text: string) => (prev: string) => string;
@@ -47,6 +47,7 @@ type GoalComposeSheetProps = {
47
47
  readonly planModeResolved: boolean;
48
48
  readonly onCancel: () => void;
49
49
  readonly onSubmit: (value: GoalComposeValue) => void;
50
+ readonly onReturnFocus: () => void;
50
51
  };
51
52
  /** `openGoalComposeSheet`'s optional prefill — every field optional so a
52
53
  * bare `/goal` (no prefill at all) and "Edit first" (all three) share one
@@ -25,8 +25,9 @@ export type QueuedMessage = {
25
25
  readonly submittedAt: number;
26
26
  readonly state: "queued" | "failed";
27
27
  };
28
- export declare const ChatRoute: ({ sessionId, reconcileBackgroundRun, onOpenGoalView, onOpenFilesView, }?: {
28
+ export declare const ChatRoute: ({ sessionId, draftId, reconcileBackgroundRun, onOpenGoalView, onOpenFilesView, }?: {
29
29
  readonly sessionId?: string;
30
+ readonly draftId?: string;
30
31
  readonly reconcileBackgroundRun?: boolean;
31
32
  /** Put the Goal view on screen (the dock owns navigation — same path the
32
33
  * header pill takes). Omitted in tests and stories, where the row's
@@ -0,0 +1,4 @@
1
+ /** Both old deep links and the new Library URLs share one selection surface. */
2
+ export declare function LibraryRoute({ view }: {
3
+ readonly view: "skills" | "prompts";
4
+ }): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const isAgentDeliverablePath: (path: string) => boolean;
@@ -34,6 +34,9 @@ type TextSegment = {
34
34
  export declare const splitMentionSegments: (text: string) => readonly TextSegment[];
35
35
  export type BelongMessagePart = BelongUIMessage["parts"][number];
36
36
  export type PartRendererProps = {
37
+ /** Only the current part of the active runtime turn is live. A stopped
38
+ * stream may retain a native `streaming` state in the message snapshot. */
39
+ readonly live?: boolean;
37
40
  readonly part: BelongMessagePart;
38
41
  /**
39
42
  * Renders the plan card's "Run this plan" CTA when provided (chat.tsx
@@ -103,14 +106,7 @@ export type PartRendererProps = {
103
106
  */
104
107
  readonly subagents?: SubagentMessageIndex | undefined;
105
108
  };
106
- /**
107
- * The AI SDK's `UIMessagePart` union is open at the patch-version
108
- * boundary, so we cannot use `.exhaustive()` here — `.otherwise(() =>
109
- * null)` keeps unknown variants quiet. The supported types come from
110
- * `BelongDataParts` (above) plus the SDK's built-in `text` and
111
- * `reasoning` parts.
112
- */
113
- export declare const PartRenderer: ({ part, onExecutePlan, onConfirmGoal, onEditGoalProposal, onOpenGoalProposal, isGoalProposalStarted, goalProposalSessionId, historical, onContinueConnector, renderGoalSetCard, goalFileCount, onGoalSchedule, onGoalGetFiles, onGoalStartAnother, onFollowContinuation, subagents, }: PartRendererProps) => import("react").JSX.Element | null;
109
+ export declare const PartRenderer: ({ part, onExecutePlan, onConfirmGoal, onEditGoalProposal, onOpenGoalProposal, isGoalProposalStarted, goalProposalSessionId, historical, live, onContinueConnector, renderGoalSetCard, goalFileCount, onGoalSchedule, onGoalGetFiles, onGoalStartAnother, onFollowContinuation, subagents, }: PartRendererProps) => import("react").JSX.Element | null;
114
110
  export type RenderGroup = {
115
111
  readonly kind: "part";
116
112
  readonly part: BelongMessagePart;
@@ -199,6 +199,17 @@ export declare const wireStreamPartSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
199
199
  title: z.ZodString;
200
200
  mimeType: z.ZodString;
201
201
  }, z.core.$strip>;
202
+ }, z.core.$strip>, z.ZodObject<{
203
+ type: z.ZodLiteral<"data-model-activity">;
204
+ id: z.ZodString;
205
+ data: z.ZodObject<{
206
+ state: z.ZodEnum<{
207
+ waiting: "waiting";
208
+ idle: "idle";
209
+ }>;
210
+ stepIndex: z.ZodNumber;
211
+ elapsedMs: z.ZodNumber;
212
+ }, z.core.$strip>;
202
213
  }, z.core.$strip>, z.ZodObject<{
203
214
  type: z.ZodLiteral<"data-status">;
204
215
  id: z.ZodString;
@@ -454,6 +465,10 @@ export type BelongChatTransportOptions = {
454
465
  readonly foregroundGeneration?: number;
455
466
  };
456
467
  export type StreamContext = {
468
+ modelActivity?: {
469
+ id: string;
470
+ stepIndex: number;
471
+ };
457
472
  /** Stable id we emit on every `text-delta`. Null when no text run is open. */
458
473
  textRunId: string | null;
459
474
  /**
@@ -495,7 +510,7 @@ export declare class BelongChatTransport implements ChatTransport<BelongUIMessag
495
510
  /** Includes an outstanding SSE handshake and the transport's retry loop,
496
511
  * which can own the Session before useChat reports `streaming`. */
497
512
  get hasLiveStream(): boolean;
498
- /** Drop the cached session so the next `sendMessages` creates a new one. */
513
+ /** Forget an unavailable session so the next send creates a fresh one. */
499
514
  reset(): void;
500
515
  /**
501
516
  * Best-effort server-side cancel of an in-flight run. `useChat`'s `stop()`