@belonguniverseai/react-sdk 0.6.23 → 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.
- package/dist/api/client.d.ts +265 -29
- package/dist/api/mutations.d.ts +9 -1
- package/dist/api/query-keys.d.ts +8 -0
- package/dist/api/skill-library.d.ts +81 -0
- package/dist/component/{abnfDiagram-N423BO3Z-bM1BoI0O.js → abnfDiagram-N423BO3Z-BZFjrvGh.js} +4 -4
- package/dist/component/{arc-DaSgre52.js → arc-R371iLQK.js} +2 -2
- package/dist/component/{architectureDiagram-T3A2C74G-avMCXzQw.js → architectureDiagram-T3A2C74G-CcH5CU8G.js} +3 -3
- package/dist/component/{blockDiagram-VBNYF7ZC-Cg6EDrdt.js → blockDiagram-VBNYF7ZC-CO21oaME.js} +4 -4
- package/dist/component/{c4Diagram-5PPSVZJV-DhUs6wdK.js → c4Diagram-5PPSVZJV-DFdczxGA.js} +3 -3
- package/dist/component/{channel-DlmuDpcv.js → channel-CTk2u27P.js} +2 -2
- package/dist/component/{chunk-2GRJ4B5K-Drdf-9Az.js → chunk-2GRJ4B5K-DLJBmRlE.js} +2 -2
- package/dist/component/{chunk-2Q5K7J3B-CG6mCJjr.js → chunk-2Q5K7J3B-Dn9FHNcv.js} +2 -2
- package/dist/component/{chunk-5RXB4S5H-DYJwqjr4.js → chunk-5RXB4S5H-C0lJsrjg.js} +5 -5
- package/dist/component/{chunk-5VM5RSS4-B21XfkBj.js → chunk-5VM5RSS4-DphP3gZj.js} +2 -2
- package/dist/component/{chunk-6Q2QTUOP-DZkWqf90.js → chunk-6Q2QTUOP-oYZ6WlsT.js} +2 -2
- package/dist/component/{chunk-GF5L2VYU-5hBEo1f5.js → chunk-GF5L2VYU-CX1jApqq.js} +6 -6
- package/dist/component/{chunk-JWPE2WC7-DAn-TcDC.js → chunk-JWPE2WC7-BsHiqT8c.js} +2 -2
- package/dist/component/{chunk-KBJHAD2P-CEMDhN2A.js → chunk-KBJHAD2P-JEN3NVHE.js} +2 -2
- package/dist/component/{chunk-RYQCIY6F-BWL1otLK.js → chunk-RYQCIY6F-BJlZTS0d.js} +2 -2
- package/dist/component/{chunk-XXDRQBXY-D0TWnqlD.js → chunk-XXDRQBXY-CftGkCaP.js} +2 -2
- package/dist/component/{classDiagram-JCYQIIEL-CjU-7xK0.js → classDiagram-JCYQIIEL-BEAw2s9m.js} +3 -3
- package/dist/component/{classDiagram-v2-OCEON4UE-CjU-7xK0.js → classDiagram-v2-OCEON4UE-BEAw2s9m.js} +3 -3
- package/dist/component/{cose-bilkent-JH36ORCC-MkPQhZKJ.js → cose-bilkent-JH36ORCC-5g5ZQ1kH.js} +2 -2
- package/dist/component/{cynefinDiagram-MW4NZA55-Wf-Eh_MR.js → cynefinDiagram-MW4NZA55-C0wLlDn3.js} +3 -3
- package/dist/component/{dagre-VZM6K2ZE-D1ND11ws.js → dagre-VZM6K2ZE-V9qiC6Cs.js} +3 -3
- package/dist/component/{diagram-7IWD3JNH-ChO63Ikp.js → diagram-7IWD3JNH-D-KPwOWp.js} +4 -4
- package/dist/component/{diagram-B4RE2ZJO-CFVIZBxd.js → diagram-B4RE2ZJO-CMiB6Lwu.js} +3 -3
- package/dist/component/{diagram-LBJQPF4R-BFErKt-H.js → diagram-LBJQPF4R-ve7EbpGW.js} +3 -3
- package/dist/component/{diagram-Q27KOJAE-3EA2fDKz.js → diagram-Q27KOJAE-DRINzJd4.js} +4 -4
- package/dist/component/{diagram-UB23O5K3-D914yr1r.js → diagram-UB23O5K3-CL0SSPI6.js} +3 -3
- package/dist/component/{ebnfDiagram-BXEA7PRR-BlRDglJm.js → ebnfDiagram-BXEA7PRR-BgU6lPC0.js} +4 -4
- package/dist/component/{erDiagram-JOGREHBK-BgHUzm41.js → erDiagram-JOGREHBK-BDuqW50a.js} +5 -5
- package/dist/component/{flowDiagram-UKHOOZJN-Cf42sXVK.js → flowDiagram-UKHOOZJN-KisN8EgK.js} +7 -7
- package/dist/component/{ganttDiagram-PKOTCBZU-Bqai8Nqw.js → ganttDiagram-PKOTCBZU-kZrnta4w.js} +3 -3
- package/dist/component/{gitGraphDiagram-DS77QQ5N-M6yX_E4b.js → gitGraphDiagram-DS77QQ5N-Dy1S71_C.js} +4 -4
- package/dist/component/{highlighted-body-OFNGDK62-C2rmuXAs.js → highlighted-body-OFNGDK62-ChNAP6R7.js} +2 -2
- package/dist/component/index.js +2 -2
- package/dist/component/{infoDiagram-6WML65LV-Bk4qDfY4.js → infoDiagram-6WML65LV-C3CmzQkI.js} +2 -2
- package/dist/component/{ishikawaDiagram-WSZJBQD7-CQ0-i0XP.js → ishikawaDiagram-WSZJBQD7-DBHVF-fV.js} +2 -2
- package/dist/component/{journeyDiagram-NVQOT4AX-CK9lX22d.js → journeyDiagram-NVQOT4AX-Cg3e2eDS.js} +5 -5
- package/dist/component/{kanban-definition-27J2QSJJ-CrIKfzfe.js → kanban-definition-27J2QSJJ-tIaMkhvn.js} +3 -3
- package/dist/component/{linear-CzN3Xd3g.js → linear-DQ23phHp.js} +2 -2
- package/dist/component/{mermaid-GHXKKRXX-B-ea5OKA.js → mermaid-GHXKKRXX-CssTT3y2.js} +33886 -33272
- package/dist/component/{mindmap-definition-FAOFIHXS-DUDsEObz.js → mindmap-definition-FAOFIHXS-oSuksV41.js} +4 -4
- package/dist/component/{pegDiagram-VL7TDLO6-DFJ-rOLH.js → pegDiagram-VL7TDLO6-GLxZEQlj.js} +4 -4
- package/dist/component/{pieDiagram-7S7Q4E2Y-OwliOUdN.js → pieDiagram-7S7Q4E2Y-4ghKg2jt.js} +4 -4
- package/dist/component/{quadrantDiagram-CIZ2JOQS-CLKxzqPi.js → quadrantDiagram-CIZ2JOQS-DOnM2yX5.js} +3 -3
- package/dist/component/{railroadDiagram-AXF67PYL-_jBOX7-D.js → railroadDiagram-AXF67PYL-DCf1AdeI.js} +4 -4
- package/dist/component/{requirementDiagram-LRYGKXZP-CxfMaDPH.js → requirementDiagram-LRYGKXZP-BgUTRz25.js} +4 -4
- package/dist/component/{sankeyDiagram-W5VNT64P-D-qOUzh7.js → sankeyDiagram-W5VNT64P-93-3TiEZ.js} +2 -2
- package/dist/component/{sequenceDiagram-SI44F4Z6-B57h29Ae.js → sequenceDiagram-SI44F4Z6-CjdXsQGo.js} +4 -4
- package/dist/component/{sizeCapture-X5ZJPWSS-DlIoKfk1.js → sizeCapture-X5ZJPWSS-BZcfJFgu.js} +2 -2
- package/dist/component/{stateDiagram-OKZ733FA-CNNoDNwB.js → stateDiagram-OKZ733FA-DqZxP_LE.js} +3 -3
- package/dist/component/{stateDiagram-v2-UEYNNEHI-xYjW9R-s.js → stateDiagram-v2-UEYNNEHI-bW3Xpzm_.js} +3 -3
- package/dist/component/{swimlanes-SLNWSIFB-Chjr6NCU.js → swimlanes-SLNWSIFB-BCid9HHX.js} +4 -4
- package/dist/component/{swimlanesDiagram-ULZ7WXOC-A9mWwnCX.js → swimlanesDiagram-ULZ7WXOC-CUXpjQTA.js} +3 -3
- package/dist/component/{timeline-definition-Z64GVDOM-DldyCd1l.js → timeline-definition-Z64GVDOM-Cl9JeVlC.js} +3 -3
- package/dist/component/{vennDiagram-T6HMQDX7-BGfiPWG2.js → vennDiagram-T6HMQDX7-A8wa9sfS.js} +2 -2
- package/dist/component/{wardleyDiagram-T6FBY63Y-Bzn9DJ27.js → wardleyDiagram-T6FBY63Y-CYjNVqXL.js} +3 -3
- package/dist/component/{xychartDiagram-ELKLHX3M-nMaNgT12.js → xychartDiagram-ELKLHX3M-CWTWyqQ8.js} +3 -3
- package/dist/components/ai-elements/markdown-repair-samples.d.ts +27 -0
- package/dist/components/embed/ChatTitleEditor.d.ts +17 -0
- package/dist/components/embed/ComposerContext.d.ts +7 -7
- package/dist/components/embed/EmbedAvatar.d.ts +1 -3
- package/dist/components/embed/EmbedHeader.d.ts +14 -2
- package/dist/components/embed/context-occupancy.d.ts +15 -0
- package/dist/components/embed/use-agent-identity.d.ts +1 -0
- package/dist/components/skills/EditSkillDialog.d.ts +8 -0
- package/dist/components/skills/SkillsListSurface.d.ts +3 -2
- package/dist/components/skills/skill-refusal-copy.d.ts +8 -0
- package/dist/embed/conversation-scroll.d.ts +18 -0
- package/dist/embed/copy.d.ts +0 -1
- package/dist/embed/voice-call-lines.d.ts +14 -5
- package/dist/i18n/messages/en.d.ts +20 -12
- package/dist/i18n/messages/surfaces/skills.d.ts +71 -3
- package/dist/i18n/messages/surfaces/usage.d.ts +12 -44
- package/dist/i18n/messages/surfaces/workspace.d.ts +7 -5
- package/dist/routes/chat/draft-updaters.d.ts +16 -0
- package/dist/stream/agent-deliverable-path.d.ts +1 -0
- package/dist/stream/belong-chat-transport.d.ts +1 -1
- package/dist/types/public.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Skills rail surface (skill library spec §11): the list, the inline on/off
|
|
3
|
-
* switch, download/delete, and the
|
|
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
|
|
@@ -10,8 +10,12 @@
|
|
|
10
10
|
* Keep navigation, the `/` menu, dialogs and activity labels consistent.
|
|
11
11
|
*
|
|
12
12
|
* Nothing here is phrased as breakage: a failed toggle, download or delete is
|
|
13
|
-
* an ordinary moment rendered orange (§42); only a refused upload
|
|
14
|
-
* 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.
|
|
15
19
|
*/
|
|
16
20
|
export declare const skillsEn: {
|
|
17
21
|
readonly skills: {
|
|
@@ -82,6 +86,22 @@ export declare const skillsEn: {
|
|
|
82
86
|
readonly deleteDescription: "{{name}} will be removed, and the assistant will stop using it in this workspace.";
|
|
83
87
|
readonly deleteConfirm: "Delete";
|
|
84
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.";
|
|
85
105
|
};
|
|
86
106
|
};
|
|
87
107
|
export declare const skillsEs: {
|
|
@@ -153,6 +173,22 @@ export declare const skillsEs: {
|
|
|
153
173
|
deleteDescription: string;
|
|
154
174
|
deleteConfirm: string;
|
|
155
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;
|
|
156
192
|
};
|
|
157
193
|
};
|
|
158
194
|
export declare const skillsPt: {
|
|
@@ -224,6 +260,22 @@ export declare const skillsPt: {
|
|
|
224
260
|
deleteDescription: string;
|
|
225
261
|
deleteConfirm: string;
|
|
226
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;
|
|
227
279
|
};
|
|
228
280
|
};
|
|
229
281
|
export declare const skillsIt: {
|
|
@@ -295,5 +347,21 @@ export declare const skillsIt: {
|
|
|
295
347
|
deleteDescription: string;
|
|
296
348
|
deleteConfirm: string;
|
|
297
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;
|
|
298
366
|
};
|
|
299
367
|
};
|
|
@@ -3,22 +3,12 @@ export declare const usageEn: {
|
|
|
3
3
|
readonly usage: {
|
|
4
4
|
readonly expandComposer: "Expand message input";
|
|
5
5
|
readonly collapseComposer: "Compact message input";
|
|
6
|
-
readonly filesShort_one: "{{count}} file";
|
|
7
|
-
readonly filesShort_other: "{{count}} files";
|
|
8
6
|
readonly contextTitle: "Context for this message";
|
|
9
|
-
readonly filesToSend: "Files to send";
|
|
10
|
-
readonly attachedFiles_one: "{{count}} file attached";
|
|
11
|
-
readonly attachedFiles_other: "{{count}} files attached";
|
|
12
|
-
readonly filesNote: "These files will be sent with your next message.";
|
|
13
|
-
readonly emptyFiles: "Attach files to include them in your next message.";
|
|
14
7
|
readonly pageNote: "Page label only; this control does not attach page contents.";
|
|
15
8
|
readonly removeFile: "Remove {{name}}";
|
|
16
9
|
readonly closeContext: "Close context";
|
|
17
10
|
readonly currentPage: "Current page";
|
|
18
|
-
readonly tooltip: "Auto-compacts at {{chars}} chars; {{tokens}} tokens used this session";
|
|
19
11
|
readonly windowTooltip: "Context window: {{used}} of {{window}} tokens used ({{pct}}%)";
|
|
20
|
-
readonly context: "Context {{pct}}%";
|
|
21
|
-
readonly tokens: "{{count}} tokens";
|
|
22
12
|
readonly inOut: "Input {{in}} · output {{out}}";
|
|
23
13
|
readonly turnsThisSessionOne: "{{count}} turn this session";
|
|
24
14
|
readonly turnsThisSessionOther: "{{count}} turns this session";
|
|
@@ -33,32 +23,24 @@ export declare const usageEn: {
|
|
|
33
23
|
};
|
|
34
24
|
readonly freeSpace: "Free space";
|
|
35
25
|
readonly estimateNote: "Breakdown is estimated; the total is as reported by the model.";
|
|
36
|
-
readonly sessionTokens: "{{tokens}} tokens this session";
|
|
37
26
|
readonly cacheLine: "Cache: {{read}} read · {{write}} written";
|
|
38
27
|
readonly autoCompact: "Auto-compact: {{pct}}% of budget";
|
|
39
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.";
|
|
40
32
|
};
|
|
41
33
|
};
|
|
42
34
|
export declare const usageEs: {
|
|
43
35
|
usage: {
|
|
44
36
|
expandComposer: string;
|
|
45
37
|
collapseComposer: string;
|
|
46
|
-
filesShort_one: string;
|
|
47
|
-
filesShort_other: string;
|
|
48
38
|
contextTitle: string;
|
|
49
|
-
filesToSend: string;
|
|
50
|
-
attachedFiles_one: string;
|
|
51
|
-
attachedFiles_other: string;
|
|
52
|
-
filesNote: string;
|
|
53
|
-
emptyFiles: string;
|
|
54
39
|
pageNote: string;
|
|
55
40
|
removeFile: string;
|
|
56
41
|
closeContext: string;
|
|
57
42
|
currentPage: string;
|
|
58
|
-
tooltip: string;
|
|
59
43
|
windowTooltip: string;
|
|
60
|
-
context: string;
|
|
61
|
-
tokens: string;
|
|
62
44
|
inOut: string;
|
|
63
45
|
turnsThisSessionOne: string;
|
|
64
46
|
turnsThisSessionOther: string;
|
|
@@ -73,32 +55,24 @@ export declare const usageEs: {
|
|
|
73
55
|
};
|
|
74
56
|
freeSpace: string;
|
|
75
57
|
estimateNote: string;
|
|
76
|
-
sessionTokens: string;
|
|
77
58
|
cacheLine: string;
|
|
78
59
|
autoCompact: string;
|
|
79
60
|
};
|
|
61
|
+
compactionLabel: string;
|
|
62
|
+
chatTotal: string;
|
|
63
|
+
chatTotalNote: string;
|
|
80
64
|
};
|
|
81
65
|
};
|
|
82
66
|
export declare const usagePt: {
|
|
83
67
|
usage: {
|
|
84
68
|
expandComposer: string;
|
|
85
69
|
collapseComposer: string;
|
|
86
|
-
filesShort_one: string;
|
|
87
|
-
filesShort_other: string;
|
|
88
70
|
contextTitle: string;
|
|
89
|
-
filesToSend: string;
|
|
90
|
-
attachedFiles_one: string;
|
|
91
|
-
attachedFiles_other: string;
|
|
92
|
-
filesNote: string;
|
|
93
|
-
emptyFiles: string;
|
|
94
71
|
pageNote: string;
|
|
95
72
|
removeFile: string;
|
|
96
73
|
closeContext: string;
|
|
97
74
|
currentPage: string;
|
|
98
|
-
tooltip: string;
|
|
99
75
|
windowTooltip: string;
|
|
100
|
-
context: string;
|
|
101
|
-
tokens: string;
|
|
102
76
|
inOut: string;
|
|
103
77
|
turnsThisSessionOne: string;
|
|
104
78
|
turnsThisSessionOther: string;
|
|
@@ -113,32 +87,24 @@ export declare const usagePt: {
|
|
|
113
87
|
};
|
|
114
88
|
freeSpace: string;
|
|
115
89
|
estimateNote: string;
|
|
116
|
-
sessionTokens: string;
|
|
117
90
|
cacheLine: string;
|
|
118
91
|
autoCompact: string;
|
|
119
92
|
};
|
|
93
|
+
compactionLabel: string;
|
|
94
|
+
chatTotal: string;
|
|
95
|
+
chatTotalNote: string;
|
|
120
96
|
};
|
|
121
97
|
};
|
|
122
98
|
export declare const usageIt: {
|
|
123
99
|
usage: {
|
|
124
100
|
expandComposer: string;
|
|
125
101
|
collapseComposer: string;
|
|
126
|
-
filesShort_one: string;
|
|
127
|
-
filesShort_other: string;
|
|
128
102
|
contextTitle: string;
|
|
129
|
-
filesToSend: string;
|
|
130
|
-
attachedFiles_one: string;
|
|
131
|
-
attachedFiles_other: string;
|
|
132
|
-
filesNote: string;
|
|
133
|
-
emptyFiles: string;
|
|
134
103
|
pageNote: string;
|
|
135
104
|
removeFile: string;
|
|
136
105
|
closeContext: string;
|
|
137
106
|
currentPage: string;
|
|
138
|
-
tooltip: string;
|
|
139
107
|
windowTooltip: string;
|
|
140
|
-
context: string;
|
|
141
|
-
tokens: string;
|
|
142
108
|
inOut: string;
|
|
143
109
|
turnsThisSessionOne: string;
|
|
144
110
|
turnsThisSessionOther: string;
|
|
@@ -153,9 +119,11 @@ export declare const usageIt: {
|
|
|
153
119
|
};
|
|
154
120
|
freeSpace: string;
|
|
155
121
|
estimateNote: string;
|
|
156
|
-
sessionTokens: string;
|
|
157
122
|
cacheLine: string;
|
|
158
123
|
autoCompact: string;
|
|
159
124
|
};
|
|
125
|
+
compactionLabel: string;
|
|
126
|
+
chatTotal: string;
|
|
127
|
+
chatTotalNote: string;
|
|
160
128
|
};
|
|
161
129
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/** Fullscreen workspace pane strings (spec 2026-09-02). §42: the copy names the
|
|
2
|
-
* product only
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isAgentDeliverablePath: (path: string) => boolean;
|
|
@@ -510,7 +510,7 @@ export declare class BelongChatTransport implements ChatTransport<BelongUIMessag
|
|
|
510
510
|
/** Includes an outstanding SSE handshake and the transport's retry loop,
|
|
511
511
|
* which can own the Session before useChat reports `streaming`. */
|
|
512
512
|
get hasLiveStream(): boolean;
|
|
513
|
-
/**
|
|
513
|
+
/** Forget an unavailable session so the next send creates a fresh one. */
|
|
514
514
|
reset(): void;
|
|
515
515
|
/**
|
|
516
516
|
* Best-effort server-side cancel of an in-flight run. `useChat`'s `stop()`
|
package/dist/types/public.d.ts
CHANGED
|
@@ -27,7 +27,18 @@ export type BelongThemePalette = {
|
|
|
27
27
|
readonly destructiveForeground: string;
|
|
28
28
|
readonly userBubble: string;
|
|
29
29
|
readonly userBubbleForeground: string;
|
|
30
|
+
/**
|
|
31
|
+
* Kept for compatibility, no longer painted: the agent's replies render as
|
|
32
|
+
* flush text on `background` (the user's message keeps its bubble). Still
|
|
33
|
+
* accepted and still projected as `--belong-agent-bubble-bg`, so existing
|
|
34
|
+
* themes validate unchanged and host CSS reading the var keeps working.
|
|
35
|
+
*/
|
|
30
36
|
readonly assistantBubble: string;
|
|
37
|
+
/**
|
|
38
|
+
* Text colour of the agent's replies (`--belong-agent-bubble-fg`). Since the
|
|
39
|
+
* reply has no bubble, it sits on `background`, so pick it for contrast
|
|
40
|
+
* against `background`; the built-in presets use `foreground`.
|
|
41
|
+
*/
|
|
31
42
|
readonly assistantBubbleForeground: string;
|
|
32
43
|
};
|
|
33
44
|
export type BelongThemeBrand = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@belonguniverseai/react-sdk",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.24",
|
|
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",
|