@belonguniverseai/react-sdk 0.6.27 → 0.6.29

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 (143) hide show
  1. package/README.md +43 -4
  2. package/dist/api/account-scope.d.ts +75 -0
  3. package/dist/api/artifact-actions.d.ts +0 -1
  4. package/dist/api/auth-errors.d.ts +21 -0
  5. package/dist/api/client-identity.d.ts +3 -1
  6. package/dist/api/client.d.ts +1394 -162
  7. package/dist/api/goals.d.ts +19 -2
  8. package/dist/api/live-artifacts.d.ts +197 -0
  9. package/dist/api/my-usage.d.ts +28 -0
  10. package/dist/api/queries.d.ts +6 -4
  11. package/dist/api/query-keys.d.ts +44 -3
  12. package/dist/api/task-schedule-sharing.d.ts +18 -3
  13. package/dist/api/task-schedules.d.ts +76 -12
  14. package/dist/app/VoiceOverlay.d.ts +4 -3
  15. package/dist/app/dock-story-data.d.ts +19 -1
  16. package/dist/browser/control-channel.d.ts +9 -0
  17. package/dist/browser/dom-bridge.d.ts +2 -0
  18. package/dist/component/BelongWidget.d.ts +17 -4
  19. package/dist/component/{abnfDiagram-N423BO3Z-DrnjkZwk.js → abnfDiagram-N423BO3Z-BvL7baZ-.js} +4 -4
  20. package/dist/component/{arc-CLchGzOM.js → arc-DVUroP2Z.js} +2 -2
  21. package/dist/component/{architectureDiagram-T3A2C74G-Du8PLen3.js → architectureDiagram-T3A2C74G-CYt93mxs.js} +3 -3
  22. package/dist/component/{blockDiagram-VBNYF7ZC-BxmYbrlL.js → blockDiagram-VBNYF7ZC-yST7U8Pb.js} +4 -4
  23. package/dist/component/{c4Diagram-5PPSVZJV-DHiwlK7l.js → c4Diagram-5PPSVZJV-BHz6Efx3.js} +3 -3
  24. package/dist/component/{channel-C2eeNEMi.js → channel-CKTqNdN4.js} +2 -2
  25. package/dist/component/{chunk-2GRJ4B5K-D6I_U4nB.js → chunk-2GRJ4B5K-Bw2zHHAm.js} +2 -2
  26. package/dist/component/{chunk-2Q5K7J3B-BR3JSmNI.js → chunk-2Q5K7J3B-DpBuF73m.js} +2 -2
  27. package/dist/component/{chunk-5RXB4S5H-DcmzyncC.js → chunk-5RXB4S5H-dxBtwi1p.js} +5 -5
  28. package/dist/component/{chunk-5VM5RSS4-8ww1xEAz.js → chunk-5VM5RSS4-BOTqM1Rc.js} +2 -2
  29. package/dist/component/{chunk-6Q2QTUOP-Chlg3gnC.js → chunk-6Q2QTUOP-DjMXJhRD.js} +2 -2
  30. package/dist/component/{chunk-GF5L2VYU-CgKydjVC.js → chunk-GF5L2VYU-CGpnSfXM.js} +6 -6
  31. package/dist/component/{chunk-JWPE2WC7-13zVpFYT.js → chunk-JWPE2WC7-L5aYKPho.js} +2 -2
  32. package/dist/component/{chunk-KBJHAD2P-CP28c_dJ.js → chunk-KBJHAD2P-DH2RFBaF.js} +2 -2
  33. package/dist/component/{chunk-RYQCIY6F-CaHaa77d.js → chunk-RYQCIY6F-QPgRO0s7.js} +2 -2
  34. package/dist/component/{chunk-XXDRQBXY-Cd0yVkqx.js → chunk-XXDRQBXY-C1ezaFpA.js} +2 -2
  35. package/dist/component/{classDiagram-JCYQIIEL-Bn0740dK.js → classDiagram-JCYQIIEL-Dx7Qx836.js} +3 -3
  36. package/dist/component/{classDiagram-v2-OCEON4UE-Bn0740dK.js → classDiagram-v2-OCEON4UE-Dx7Qx836.js} +3 -3
  37. package/dist/component/{cose-bilkent-JH36ORCC-Y6CvxIe4.js → cose-bilkent-JH36ORCC-Bem1eaLJ.js} +2 -2
  38. package/dist/component/{cynefinDiagram-MW4NZA55-BJ_o5gyM.js → cynefinDiagram-MW4NZA55-DF15EWOu.js} +3 -3
  39. package/dist/component/{dagre-VZM6K2ZE-Ce_ZLKlj.js → dagre-VZM6K2ZE-BVzwev7l.js} +3 -3
  40. package/dist/component/{diagram-7IWD3JNH-K8E_XdII.js → diagram-7IWD3JNH-DzQhKX_v.js} +4 -4
  41. package/dist/component/{diagram-B4RE2ZJO-DZGs1RuF.js → diagram-B4RE2ZJO-DnHINfhE.js} +3 -3
  42. package/dist/component/{diagram-LBJQPF4R-CzKPOqJK.js → diagram-LBJQPF4R-CPqE_GwY.js} +3 -3
  43. package/dist/component/{diagram-Q27KOJAE-UItKj-dk.js → diagram-Q27KOJAE-BjpvfqhL.js} +4 -4
  44. package/dist/component/{diagram-UB23O5K3-ZxBLx0B9.js → diagram-UB23O5K3-BcYqFjqI.js} +3 -3
  45. package/dist/component/{ebnfDiagram-BXEA7PRR-BIS2pIB5.js → ebnfDiagram-BXEA7PRR-DoqGcWGx.js} +4 -4
  46. package/dist/component/{erDiagram-JOGREHBK-BNZB6-ZZ.js → erDiagram-JOGREHBK-DGrj5tIK.js} +5 -5
  47. package/dist/component/{flowDiagram-UKHOOZJN-B8H3ZNjd.js → flowDiagram-UKHOOZJN-B8OuOrVY.js} +7 -7
  48. package/dist/component/{ganttDiagram-PKOTCBZU-2JJJVAY-.js → ganttDiagram-PKOTCBZU-BaxSqTVY.js} +3 -3
  49. package/dist/component/{gitGraphDiagram-DS77QQ5N-BVWxsX1D.js → gitGraphDiagram-DS77QQ5N-W1Sqa3Hc.js} +4 -4
  50. package/dist/component/{highlighted-body-OFNGDK62-CmQzAJHd.js → highlighted-body-OFNGDK62-Cf1UqcGe.js} +2 -2
  51. package/dist/component/index.d.ts +1 -0
  52. package/dist/component/index.js +2 -2
  53. package/dist/component/{infoDiagram-6WML65LV-B-7B2PTM.js → infoDiagram-6WML65LV-BS0JlYPr.js} +2 -2
  54. package/dist/component/{ishikawaDiagram-WSZJBQD7-DgjY91jV.js → ishikawaDiagram-WSZJBQD7-Df_NzOQV.js} +2 -2
  55. package/dist/component/{journeyDiagram-NVQOT4AX-fkb_5H2H.js → journeyDiagram-NVQOT4AX-JWKvZ6rc.js} +5 -5
  56. package/dist/component/{kanban-definition-27J2QSJJ-ZRQERkli.js → kanban-definition-27J2QSJJ-DMvICKAB.js} +3 -3
  57. package/dist/component/{linear-DX0_iAiu.js → linear-D02U2fTS.js} +2 -2
  58. package/dist/component/{mermaid-GHXKKRXX-BhURR8Q_.js → mermaid-GHXKKRXX-B7CJJdoE.js} +51487 -47044
  59. package/dist/component/{mindmap-definition-FAOFIHXS-Duc36TEr.js → mindmap-definition-FAOFIHXS-AzTh8oju.js} +4 -4
  60. package/dist/component/{pegDiagram-VL7TDLO6-Egcz9GLB.js → pegDiagram-VL7TDLO6-DSCzZs_w.js} +4 -4
  61. package/dist/component/{pieDiagram-7S7Q4E2Y-DEe2GHp7.js → pieDiagram-7S7Q4E2Y-CEByr6BB.js} +4 -4
  62. package/dist/component/{quadrantDiagram-CIZ2JOQS-DNfio-6s.js → quadrantDiagram-CIZ2JOQS-BrWOf-GT.js} +3 -3
  63. package/dist/component/{railroadDiagram-AXF67PYL-B3lRYedY.js → railroadDiagram-AXF67PYL-DRtsV2gM.js} +4 -4
  64. package/dist/component/{requirementDiagram-LRYGKXZP-DYYxC0Cg.js → requirementDiagram-LRYGKXZP-_WwAo7AE.js} +4 -4
  65. package/dist/component/{sankeyDiagram-W5VNT64P-CKQNueMs.js → sankeyDiagram-W5VNT64P-DBxP3yyK.js} +2 -2
  66. package/dist/component/{sequenceDiagram-SI44F4Z6-ChF8pgI7.js → sequenceDiagram-SI44F4Z6-B3SNXrpC.js} +4 -4
  67. package/dist/component/{sizeCapture-X5ZJPWSS-BQyVznxb.js → sizeCapture-X5ZJPWSS-D5G8pyPC.js} +2 -2
  68. package/dist/component/{stateDiagram-OKZ733FA-CAVOTaJQ.js → stateDiagram-OKZ733FA-C4UZwsoc.js} +3 -3
  69. package/dist/component/{stateDiagram-v2-UEYNNEHI-rGNqHCbu.js → stateDiagram-v2-UEYNNEHI-DIYB5q15.js} +3 -3
  70. package/dist/component/{swimlanes-SLNWSIFB-j8tXsaid.js → swimlanes-SLNWSIFB-Cc9yJXTh.js} +4 -4
  71. package/dist/component/{swimlanesDiagram-ULZ7WXOC-CsbepRMA.js → swimlanesDiagram-ULZ7WXOC-DsGPiJ-s.js} +3 -3
  72. package/dist/component/{timeline-definition-Z64GVDOM-nCRE1AQh.js → timeline-definition-Z64GVDOM-Dr4-iAeD.js} +3 -3
  73. package/dist/component/{vennDiagram-T6HMQDX7-C3ubGm9c.js → vennDiagram-T6HMQDX7-ZiaZ9jYw.js} +2 -2
  74. package/dist/component/{wardleyDiagram-T6FBY63Y-mKT8yN1z.js → wardleyDiagram-T6FBY63Y-KdF37MT-.js} +3 -3
  75. package/dist/component/{xychartDiagram-ELKLHX3M-D5AF8jgv.js → xychartDiagram-ELKLHX3M-NH_bOKPL.js} +3 -3
  76. package/dist/components/artifacts/ArtifactDetailSurface.d.ts +37 -0
  77. package/dist/components/artifacts/ArtifactMeta.d.ts +10 -0
  78. package/dist/components/artifacts/ArtifactsListSurface.d.ts +11 -0
  79. package/dist/components/artifacts/BindScheduleDialog.d.ts +39 -0
  80. package/dist/components/artifacts/ConfirmDeleteArtifactDialog.d.ts +9 -0
  81. package/dist/components/artifacts/ConfirmReshareDialog.d.ts +24 -0
  82. package/dist/components/artifacts/artifact-format.d.ts +38 -0
  83. package/dist/components/artifacts/open-artifact-version.d.ts +16 -0
  84. package/dist/components/artifacts/use-artifact-actions.d.ts +32 -0
  85. package/dist/components/embed/ComposerContext.d.ts +11 -7
  86. package/dist/components/embed/EmbedComposer.d.ts +7 -1
  87. package/dist/components/embed/EmbedRail.d.ts +9 -2
  88. package/dist/components/embed/GoalRefusalCard.d.ts +5 -1
  89. package/dist/components/embed/MobileNavBar.d.ts +2 -1
  90. package/dist/components/embed/ResponseModeDial.d.ts +11 -0
  91. package/dist/components/embed/SessionStatsPanel.d.ts +3 -0
  92. package/dist/components/embed/UsageSettings.d.ts +11 -0
  93. package/dist/components/embed/format-compact-number.d.ts +8 -0
  94. package/dist/components/embed/use-artifact-operation-notices.d.ts +1 -0
  95. package/dist/components/scheduled/ConfirmRunPausedScheduleDialog.d.ts +18 -0
  96. package/dist/components/scheduled/EmailCopiesFields.d.ts +19 -0
  97. package/dist/components/scheduled/ScheduledDetailSurface.d.ts +2 -1
  98. package/dist/components/scheduled/use-run-now-with-confirmation.d.ts +17 -0
  99. package/dist/embed/artifact-action-bridge.d.ts +13 -3
  100. package/dist/embed/artifact-remint-budget.d.ts +5 -0
  101. package/dist/embed/copy.d.ts +13 -18
  102. package/dist/embed/dock-state.d.ts +1 -1
  103. package/dist/embed/global.d.ts +2 -0
  104. package/dist/embed/goal-edit-command.d.ts +6 -5
  105. package/dist/embed/plan-decision-text.d.ts +1 -0
  106. package/dist/embed/presets.d.ts +1 -0
  107. package/dist/embed/response-mode.d.ts +48 -0
  108. package/dist/embed/theme.d.ts +5 -0
  109. package/dist/embed/voice-config.d.ts +22 -31
  110. package/dist/embed/voice-prefs.d.ts +18 -34
  111. package/dist/i18n/messages/en.d.ts +146 -7
  112. package/dist/i18n/messages/surfaces/artifacts.d.ts +304 -0
  113. package/dist/i18n/messages/surfaces/feedback.d.ts +12 -0
  114. package/dist/i18n/messages/surfaces/header.d.ts +4 -0
  115. package/dist/i18n/messages/surfaces/myUsage.d.ts +75 -0
  116. package/dist/i18n/messages/surfaces/plan.d.ts +4 -0
  117. package/dist/i18n/messages/surfaces/scheduled.d.ts +53 -1
  118. package/dist/i18n/messages/surfaces/settings.d.ts +12 -0
  119. package/dist/i18n/messages/surfaces/stats.d.ts +4 -12
  120. package/dist/i18n/messages/surfaces/stream.d.ts +88 -0
  121. package/dist/i18n/messages/surfaces/usage.d.ts +1 -9
  122. package/dist/infrastructure/telemetry/first-response-timing.d.ts +51 -0
  123. package/dist/lib/tab-control-store.d.ts +14 -0
  124. package/dist/lib/tab-leadership.d.ts +9 -24
  125. package/dist/lib/use-now.d.ts +32 -0
  126. package/dist/lib/use-tab-leadership.d.ts +5 -7
  127. package/dist/routes/artifact-detail.d.ts +2 -0
  128. package/dist/routes/artifacts.d.ts +2 -0
  129. package/dist/routes/chat/history-merge.d.ts +53 -0
  130. package/dist/routes/chat/history-paging.d.ts +25 -6
  131. package/dist/routes/chat/transcript-row.d.ts +1 -0
  132. package/dist/routes/chat/use-catch-up-on-return.d.ts +70 -0
  133. package/dist/routes/chat/use-return-to-page.d.ts +7 -0
  134. package/dist/stream/belong-chat-transport.d.ts +38 -8
  135. package/dist/stream/belong-data-parts.d.ts +10 -0
  136. package/dist/stream/dispatch-once.d.ts +1 -1
  137. package/dist/stream/message-parts.d.ts +3 -1
  138. package/dist/stream/queued-message-outbox.d.ts +6 -0
  139. package/dist/stream/select-session-usage.d.ts +9 -0
  140. package/dist/stream/session-control-context.d.ts +7 -0
  141. package/dist/stream/session-stats-csv.d.ts +7 -9
  142. package/dist/types/public.d.ts +16 -9
  143. package/package.json +1 -1
@@ -0,0 +1,75 @@
1
+ /**
2
+ * The Settings → Usage view (plan 018): the user's own consumption.
3
+ *
4
+ * The figure is weighted tokens internally, but users only ever see "tokens":
5
+ * no copy here may say "weighted" (or "ponderados"), name the formula, or hint
6
+ * that token kinds count differently.
7
+ */
8
+ export declare const myUsageEn: {
9
+ readonly myUsage: {
10
+ readonly thisMonth: "This month";
11
+ readonly today: "Today";
12
+ readonly last30Days: "Last 30 days";
13
+ readonly unit: "tokens";
14
+ readonly explainer: "Tokens measure all the work the agent does for you. Days are counted in UTC.";
15
+ readonly dayValue: "{{date}}: {{tokens}} tokens";
16
+ readonly chartLabel: "Tokens per day over the last 30 days";
17
+ readonly empty: "No usage in the last 30 days.";
18
+ readonly updated: "Updated {{time}} UTC";
19
+ readonly loading: "Loading your usage…";
20
+ readonly loadError: "Couldn't load your usage.";
21
+ readonly retry: "Try again";
22
+ readonly unavailable: "Usage isn't available here yet.";
23
+ };
24
+ };
25
+ export declare const myUsageEs: {
26
+ myUsage: {
27
+ thisMonth: string;
28
+ today: string;
29
+ last30Days: string;
30
+ unit: string;
31
+ explainer: string;
32
+ dayValue: string;
33
+ chartLabel: string;
34
+ empty: string;
35
+ updated: string;
36
+ loading: string;
37
+ loadError: string;
38
+ retry: string;
39
+ unavailable: string;
40
+ };
41
+ };
42
+ export declare const myUsagePt: {
43
+ myUsage: {
44
+ thisMonth: string;
45
+ today: string;
46
+ last30Days: string;
47
+ unit: string;
48
+ explainer: string;
49
+ dayValue: string;
50
+ chartLabel: string;
51
+ empty: string;
52
+ updated: string;
53
+ loading: string;
54
+ loadError: string;
55
+ retry: string;
56
+ unavailable: string;
57
+ };
58
+ };
59
+ export declare const myUsageIt: {
60
+ myUsage: {
61
+ thisMonth: string;
62
+ today: string;
63
+ last30Days: string;
64
+ unit: string;
65
+ explainer: string;
66
+ dayValue: string;
67
+ chartLabel: string;
68
+ empty: string;
69
+ updated: string;
70
+ loading: string;
71
+ loadError: string;
72
+ retry: string;
73
+ unavailable: string;
74
+ };
75
+ };
@@ -12,6 +12,7 @@ export declare const planEn: {
12
12
  readonly progressDone: "done";
13
13
  readonly failedPrefix: "Failed:";
14
14
  readonly failedHelp: "Tell me what to do";
15
+ readonly runThisPlan: "Run this plan";
15
16
  readonly approveAndRun: "Approve & run";
16
17
  readonly reject: "Reject";
17
18
  };
@@ -30,6 +31,7 @@ export declare const planEs: {
30
31
  failedPrefix: string;
31
32
  failedHelp: string;
32
33
  approveAndRun: string;
34
+ runThisPlan: string;
33
35
  reject: string;
34
36
  };
35
37
  };
@@ -47,6 +49,7 @@ export declare const planPt: {
47
49
  failedPrefix: string;
48
50
  failedHelp: string;
49
51
  approveAndRun: string;
52
+ runThisPlan: string;
50
53
  reject: string;
51
54
  };
52
55
  };
@@ -64,6 +67,7 @@ export declare const planIt: {
64
67
  failedPrefix: string;
65
68
  failedHelp: string;
66
69
  approveAndRun: string;
70
+ runThisPlan: string;
67
71
  reject: string;
68
72
  };
69
73
  };
@@ -57,6 +57,7 @@ export declare const scheduledEn: {
57
57
  readonly sharedConflict: "Someone updated this task while you were editing. Your text is still here. Copy any changes you want to keep, then reopen the editor to load the latest version.";
58
58
  readonly sharedReadOnly: "You no longer have edit access. Your unsaved changes are still here.";
59
59
  readonly templateUnavailable: "The linked HTML template could not be read. Ask the owner to restore it, then resume this task.";
60
+ readonly cliReconnectRequired: "Simetrik couldn't be reached during this run. It reconnects on its own the next time you open Simetrik.";
60
61
  readonly viewTitle: "Scheduled";
61
62
  readonly subtitle: "Run work automatically, even when you're away";
62
63
  readonly newTask: "New task";
@@ -80,7 +81,7 @@ export declare const scheduledEn: {
80
81
  readonly nextRunIn: "Next run {{when}}";
81
82
  readonly lastRun: "Last run {{time}}";
82
83
  readonly dayAtTime: "{{day}} at {{time}}";
83
- readonly pausedNotice: "Paused — runs won't start until you resume.";
84
+ readonly pausedNotice: "Paused — scheduled runs won't start until you resume. Run now still runs it once.";
84
85
  readonly scheduleIdLabel: "Schedule ID";
85
86
  readonly copyScheduleId: "Copy ID";
86
87
  readonly customEmailLabel: "Custom email enabled";
@@ -91,6 +92,15 @@ export declare const scheduledEn: {
91
92
  readonly sharedRecipients: "Shared recipients";
92
93
  readonly sharedRecipientsHelp: "Sent only from the owner’s original task. Shared delivery pauses when that task is paused.";
93
94
  readonly errorRecipientsInvalid: "Enter valid, unique email addresses.";
95
+ readonly errorEmailAddressingInvalid: "This combination of shared and local email settings is invalid. Combined CC and BCC lists allow 50 addresses each; Reply-To allows 10. Extra local CC/BCC recipients need a To address that is not already covered by shared delivery.";
96
+ readonly emailCopiesToggle: "Add CC, BCC or Reply-To";
97
+ readonly emailCopiesLabel: "CC, BCC and Reply-To";
98
+ readonly emailCc: "CC";
99
+ readonly emailBcc: "BCC";
100
+ readonly emailReplyTo: "Reply-To";
101
+ readonly emailCopiesHelp: "Everyone sees the CC addresses, BCC stays hidden, and replies go to Reply-To. Separate addresses with commas.";
102
+ readonly sharedEmailCopies: "Shared CC, BCC and Reply-To";
103
+ readonly sharedEmailCopiesHelp: "Added only to the owner’s original task email, like shared recipients. Each person can also add their own.";
94
104
  readonly emailAccountRecipient: "Schedule owner's account email";
95
105
  readonly teamsDeliveryLabel: "Microsoft Teams delivery approved";
96
106
  readonly teamsStatusActive: "Active";
@@ -147,6 +157,8 @@ export declare const scheduledEn: {
147
157
  readonly resumedCompleted: "Its time already passed, so this one-time task is now completed.";
148
158
  readonly runNow: "Run now";
149
159
  readonly runNowStarted: "Run started — it will appear below.";
160
+ readonly runPausedConfirmTitle: "Run this paused task now?";
161
+ readonly runPausedConfirmBody: "This task is paused. It will run once now, including its emails, and stay paused.";
150
162
  readonly edit: "Edit";
151
163
  readonly delete: "Delete";
152
164
  readonly deleteConfirmTitle: "Delete this scheduled task?";
@@ -165,6 +177,7 @@ export declare const scheduledEn: {
165
177
  readonly runStatusFailed: "Failed";
166
178
  readonly runNeedsAttentionHint: "Waiting for your input.";
167
179
  readonly manualRun: "Manual run";
180
+ readonly manualRunPaused: "Manual run while paused";
168
181
  readonly openRun: "Open this run's conversation";
169
182
  readonly detailLoadError: "Couldn't load this scheduled task.";
170
183
  readonly detailGone: "This scheduled task no longer exists.";
@@ -228,6 +241,7 @@ export declare const scheduledEs: {
228
241
  sharedConflict: string;
229
242
  sharedReadOnly: string;
230
243
  templateUnavailable: string;
244
+ cliReconnectRequired: string;
231
245
  viewTitle: string;
232
246
  subtitle: string;
233
247
  newTask: string;
@@ -262,6 +276,15 @@ export declare const scheduledEs: {
262
276
  sharedRecipients: string;
263
277
  sharedRecipientsHelp: string;
264
278
  errorRecipientsInvalid: string;
279
+ errorEmailAddressingInvalid: string;
280
+ emailCopiesToggle: string;
281
+ emailCopiesLabel: string;
282
+ emailCc: string;
283
+ emailBcc: string;
284
+ emailReplyTo: string;
285
+ emailCopiesHelp: string;
286
+ sharedEmailCopies: string;
287
+ sharedEmailCopiesHelp: string;
265
288
  emailAccountRecipient: string;
266
289
  teamsDeliveryLabel: string;
267
290
  teamsStatusActive: string;
@@ -318,6 +341,8 @@ export declare const scheduledEs: {
318
341
  resumedCompleted: string;
319
342
  runNow: string;
320
343
  runNowStarted: string;
344
+ runPausedConfirmTitle: string;
345
+ runPausedConfirmBody: string;
321
346
  edit: string;
322
347
  delete: string;
323
348
  deleteConfirmTitle: string;
@@ -336,6 +361,7 @@ export declare const scheduledEs: {
336
361
  runStatusFailed: string;
337
362
  runNeedsAttentionHint: string;
338
363
  manualRun: string;
364
+ manualRunPaused: string;
339
365
  openRun: string;
340
366
  detailLoadError: string;
341
367
  detailGone: string;
@@ -399,6 +425,7 @@ export declare const scheduledPt: {
399
425
  sharedConflict: string;
400
426
  sharedReadOnly: string;
401
427
  templateUnavailable: string;
428
+ cliReconnectRequired: string;
402
429
  viewTitle: string;
403
430
  subtitle: string;
404
431
  newTask: string;
@@ -433,6 +460,15 @@ export declare const scheduledPt: {
433
460
  sharedRecipients: string;
434
461
  sharedRecipientsHelp: string;
435
462
  errorRecipientsInvalid: string;
463
+ errorEmailAddressingInvalid: string;
464
+ emailCopiesToggle: string;
465
+ emailCopiesLabel: string;
466
+ emailCc: string;
467
+ emailBcc: string;
468
+ emailReplyTo: string;
469
+ emailCopiesHelp: string;
470
+ sharedEmailCopies: string;
471
+ sharedEmailCopiesHelp: string;
436
472
  emailAccountRecipient: string;
437
473
  teamsDeliveryLabel: string;
438
474
  teamsStatusActive: string;
@@ -489,6 +525,8 @@ export declare const scheduledPt: {
489
525
  resumedCompleted: string;
490
526
  runNow: string;
491
527
  runNowStarted: string;
528
+ runPausedConfirmTitle: string;
529
+ runPausedConfirmBody: string;
492
530
  edit: string;
493
531
  delete: string;
494
532
  deleteConfirmTitle: string;
@@ -507,6 +545,7 @@ export declare const scheduledPt: {
507
545
  runStatusFailed: string;
508
546
  runNeedsAttentionHint: string;
509
547
  manualRun: string;
548
+ manualRunPaused: string;
510
549
  openRun: string;
511
550
  detailLoadError: string;
512
551
  detailGone: string;
@@ -570,6 +609,7 @@ export declare const scheduledIt: {
570
609
  sharedConflict: string;
571
610
  sharedReadOnly: string;
572
611
  templateUnavailable: string;
612
+ cliReconnectRequired: string;
573
613
  viewTitle: string;
574
614
  subtitle: string;
575
615
  newTask: string;
@@ -604,6 +644,15 @@ export declare const scheduledIt: {
604
644
  sharedRecipients: string;
605
645
  sharedRecipientsHelp: string;
606
646
  errorRecipientsInvalid: string;
647
+ errorEmailAddressingInvalid: string;
648
+ emailCopiesToggle: string;
649
+ emailCopiesLabel: string;
650
+ emailCc: string;
651
+ emailBcc: string;
652
+ emailReplyTo: string;
653
+ emailCopiesHelp: string;
654
+ sharedEmailCopies: string;
655
+ sharedEmailCopiesHelp: string;
607
656
  emailAccountRecipient: string;
608
657
  teamsDeliveryLabel: string;
609
658
  teamsStatusActive: string;
@@ -660,6 +709,8 @@ export declare const scheduledIt: {
660
709
  resumedCompleted: string;
661
710
  runNow: string;
662
711
  runNowStarted: string;
712
+ runPausedConfirmTitle: string;
713
+ runPausedConfirmBody: string;
663
714
  edit: string;
664
715
  delete: string;
665
716
  deleteConfirmTitle: string;
@@ -678,6 +729,7 @@ export declare const scheduledIt: {
678
729
  runStatusFailed: string;
679
730
  runNeedsAttentionHint: string;
680
731
  manualRun: string;
732
+ manualRunPaused: string;
681
733
  openRun: string;
682
734
  detailLoadError: string;
683
735
  detailGone: string;
@@ -14,6 +14,8 @@ export declare const settingsEn: {
14
14
  voiceDescription: string;
15
15
  history: string;
16
16
  historyDescription: string;
17
+ usage: string;
18
+ usageDescription: string;
17
19
  about: string;
18
20
  aboutDescription: string;
19
21
  apiKeys: string;
@@ -46,6 +48,7 @@ export declare const settingsEn: {
46
48
  light: string;
47
49
  dark: string;
48
50
  presetDescription: string;
51
+ tenantDefault: string;
49
52
  advancedAppearance: string;
50
53
  advancedDescription: string;
51
54
  readRepliesDescription: string;
@@ -75,6 +78,8 @@ export declare const settingsEs: {
75
78
  voiceDescription: string;
76
79
  history: string;
77
80
  historyDescription: string;
81
+ usage: string;
82
+ usageDescription: string;
78
83
  about: string;
79
84
  aboutDescription: string;
80
85
  apiKeys: string;
@@ -107,6 +112,7 @@ export declare const settingsEs: {
107
112
  light: string;
108
113
  dark: string;
109
114
  presetDescription: string;
115
+ tenantDefault: string;
110
116
  advancedAppearance: string;
111
117
  advancedDescription: string;
112
118
  readRepliesDescription: string;
@@ -136,6 +142,8 @@ export declare const settingsPt: {
136
142
  voiceDescription: string;
137
143
  history: string;
138
144
  historyDescription: string;
145
+ usage: string;
146
+ usageDescription: string;
139
147
  about: string;
140
148
  aboutDescription: string;
141
149
  apiKeys: string;
@@ -168,6 +176,7 @@ export declare const settingsPt: {
168
176
  light: string;
169
177
  dark: string;
170
178
  presetDescription: string;
179
+ tenantDefault: string;
171
180
  advancedAppearance: string;
172
181
  advancedDescription: string;
173
182
  readRepliesDescription: string;
@@ -197,6 +206,8 @@ export declare const settingsIt: {
197
206
  voiceDescription: string;
198
207
  history: string;
199
208
  historyDescription: string;
209
+ usage: string;
210
+ usageDescription: string;
200
211
  about: string;
201
212
  aboutDescription: string;
202
213
  apiKeys: string;
@@ -229,6 +240,7 @@ export declare const settingsIt: {
229
240
  light: string;
230
241
  dark: string;
231
242
  presetDescription: string;
243
+ tenantDefault: string;
232
244
  advancedAppearance: string;
233
245
  advancedDescription: string;
234
246
  readRepliesDescription: string;
@@ -2,9 +2,7 @@
2
2
  export declare const statsEn: {
3
3
  readonly stats: {
4
4
  readonly title: "Session stats";
5
- readonly input: "Input";
6
- readonly output: "Output";
7
- readonly total: "Total";
5
+ readonly tokens: "Tokens";
8
6
  readonly timeRunning: "Time running";
9
7
  readonly turns: "Turns";
10
8
  readonly toolCalls: "Tool calls";
@@ -20,9 +18,7 @@ export declare const statsEn: {
20
18
  export declare const statsEs: {
21
19
  stats: {
22
20
  title: string;
23
- input: string;
24
- output: string;
25
- total: string;
21
+ tokens: string;
26
22
  timeRunning: string;
27
23
  turns: string;
28
24
  toolCalls: string;
@@ -38,9 +34,7 @@ export declare const statsEs: {
38
34
  export declare const statsPt: {
39
35
  stats: {
40
36
  title: string;
41
- input: string;
42
- output: string;
43
- total: string;
37
+ tokens: string;
44
38
  timeRunning: string;
45
39
  turns: string;
46
40
  toolCalls: string;
@@ -56,9 +50,7 @@ export declare const statsPt: {
56
50
  export declare const statsIt: {
57
51
  stats: {
58
52
  title: string;
59
- input: string;
60
- output: string;
61
- total: string;
53
+ tokens: string;
62
54
  timeRunning: string;
63
55
  turns: string;
64
56
  toolCalls: string;
@@ -78,14 +78,35 @@ export declare const streamEn: {
78
78
  readonly toolForgetDone: "Forgot a note";
79
79
  readonly toolForgetFailed: "Couldn't forget the note";
80
80
  readonly toolForgetDetail: "Deleted a saved note about you.";
81
+ readonly toolUsageRunning: "Checking your usage";
82
+ readonly toolUsageDone: "Checked your usage";
83
+ readonly toolUsageFailed: "Couldn't check your usage";
84
+ readonly toolUsageDetail: "Looked up how many tokens you've used.";
81
85
  readonly toolCheckBackgroundRunning: "Checking a background command";
82
86
  readonly toolCheckBackgroundDone: "Checked a background command";
83
87
  readonly toolCheckBackgroundFailed: "Couldn't check the background command";
84
88
  readonly toolCheckBackgroundDetail: "Read what a command running in the background wrote.";
89
+ readonly toolWaitBackgroundRunning: "Waiting for a background command";
90
+ readonly toolWaitBackgroundDone: "Waited for a background command";
91
+ readonly toolWaitBackgroundFailed: "Couldn't wait for the background command";
92
+ readonly toolWaitBackgroundDetail: "Waited for a command running in the background to finish.";
85
93
  readonly toolStopBackgroundRunning: "Stopping a background command";
86
94
  readonly toolStopBackgroundDone: "Stopped a background command";
87
95
  readonly toolStopBackgroundFailed: "Couldn't stop the background command";
88
96
  readonly toolStopBackgroundDetail: "Stopped a command that was running in the background.";
97
+ readonly toolReadFileRunning: "Reading {{file}}";
98
+ readonly toolReadFileDone: "Read {{file}}";
99
+ readonly toolReadFileFailed: "Couldn't read {{file}}";
100
+ readonly toolReadFileDetail: "Read {{path}}.";
101
+ readonly toolWriteFileRunning: "Writing {{file}}";
102
+ readonly toolWriteFileDone: "Wrote {{file}}";
103
+ readonly toolWriteFileFailed: "Couldn't write {{file}}";
104
+ readonly toolWriteFileDetail: "Wrote {{path}}.";
105
+ readonly toolEditFileRunning: "Editing {{file}}";
106
+ readonly toolEditFileDone: "Edited {{file}}";
107
+ readonly toolEditFileFailed: "Couldn't edit {{file}}";
108
+ readonly toolEditFileDetail: "Edited {{path}}.";
109
+ readonly toolFileUnnamed: "a file";
89
110
  readonly toolSaveSkillRunning: "Saving a skill";
90
111
  readonly toolSaveSkillDone: "Saved a skill";
91
112
  readonly toolSaveSkillFailed: "Couldn't save the skill";
@@ -110,6 +131,7 @@ export declare const streamEn: {
110
131
  readonly browserRefreshView: "Refreshed the page";
111
132
  readonly failedBadge: "failed";
112
133
  readonly actionReadFile: "Read a file";
134
+ readonly actionCheckedUsage: "Checked your usage";
113
135
  readonly actionWroteFile: "Updated a file";
114
136
  readonly actionPublishedArtifact: "Put a report on screen";
115
137
  readonly actionLookedUpSkill: "Looked up a skill";
@@ -263,14 +285,35 @@ export declare const streamEs: {
263
285
  toolForgetDone: string;
264
286
  toolForgetFailed: string;
265
287
  toolForgetDetail: string;
288
+ toolUsageRunning: string;
289
+ toolUsageDone: string;
290
+ toolUsageFailed: string;
291
+ toolUsageDetail: string;
266
292
  toolCheckBackgroundRunning: string;
267
293
  toolCheckBackgroundDone: string;
268
294
  toolCheckBackgroundFailed: string;
269
295
  toolCheckBackgroundDetail: string;
296
+ toolWaitBackgroundRunning: string;
297
+ toolWaitBackgroundDone: string;
298
+ toolWaitBackgroundFailed: string;
299
+ toolWaitBackgroundDetail: string;
270
300
  toolStopBackgroundRunning: string;
271
301
  toolStopBackgroundDone: string;
272
302
  toolStopBackgroundFailed: string;
273
303
  toolStopBackgroundDetail: string;
304
+ toolReadFileRunning: string;
305
+ toolReadFileDone: string;
306
+ toolReadFileFailed: string;
307
+ toolReadFileDetail: string;
308
+ toolWriteFileRunning: string;
309
+ toolWriteFileDone: string;
310
+ toolWriteFileFailed: string;
311
+ toolWriteFileDetail: string;
312
+ toolEditFileRunning: string;
313
+ toolEditFileDone: string;
314
+ toolEditFileFailed: string;
315
+ toolEditFileDetail: string;
316
+ toolFileUnnamed: string;
274
317
  toolSaveSkillRunning: string;
275
318
  toolSaveSkillDone: string;
276
319
  toolSaveSkillFailed: string;
@@ -295,6 +338,7 @@ export declare const streamEs: {
295
338
  browserRefreshView: string;
296
339
  failedBadge: string;
297
340
  actionReadFile: string;
341
+ actionCheckedUsage: string;
298
342
  actionWroteFile: string;
299
343
  actionPublishedArtifact: string;
300
344
  actionLookedUpSkill: string;
@@ -445,14 +489,35 @@ export declare const streamPt: {
445
489
  toolForgetDone: string;
446
490
  toolForgetFailed: string;
447
491
  toolForgetDetail: string;
492
+ toolUsageRunning: string;
493
+ toolUsageDone: string;
494
+ toolUsageFailed: string;
495
+ toolUsageDetail: string;
448
496
  toolCheckBackgroundRunning: string;
449
497
  toolCheckBackgroundDone: string;
450
498
  toolCheckBackgroundFailed: string;
451
499
  toolCheckBackgroundDetail: string;
500
+ toolWaitBackgroundRunning: string;
501
+ toolWaitBackgroundDone: string;
502
+ toolWaitBackgroundFailed: string;
503
+ toolWaitBackgroundDetail: string;
452
504
  toolStopBackgroundRunning: string;
453
505
  toolStopBackgroundDone: string;
454
506
  toolStopBackgroundFailed: string;
455
507
  toolStopBackgroundDetail: string;
508
+ toolReadFileRunning: string;
509
+ toolReadFileDone: string;
510
+ toolReadFileFailed: string;
511
+ toolReadFileDetail: string;
512
+ toolWriteFileRunning: string;
513
+ toolWriteFileDone: string;
514
+ toolWriteFileFailed: string;
515
+ toolWriteFileDetail: string;
516
+ toolEditFileRunning: string;
517
+ toolEditFileDone: string;
518
+ toolEditFileFailed: string;
519
+ toolEditFileDetail: string;
520
+ toolFileUnnamed: string;
456
521
  toolSaveSkillRunning: string;
457
522
  toolSaveSkillDone: string;
458
523
  toolSaveSkillFailed: string;
@@ -477,6 +542,7 @@ export declare const streamPt: {
477
542
  browserRefreshView: string;
478
543
  failedBadge: string;
479
544
  actionReadFile: string;
545
+ actionCheckedUsage: string;
480
546
  actionWroteFile: string;
481
547
  actionPublishedArtifact: string;
482
548
  actionLookedUpSkill: string;
@@ -627,14 +693,35 @@ export declare const streamIt: {
627
693
  toolForgetDone: string;
628
694
  toolForgetFailed: string;
629
695
  toolForgetDetail: string;
696
+ toolUsageRunning: string;
697
+ toolUsageDone: string;
698
+ toolUsageFailed: string;
699
+ toolUsageDetail: string;
630
700
  toolCheckBackgroundRunning: string;
631
701
  toolCheckBackgroundDone: string;
632
702
  toolCheckBackgroundFailed: string;
633
703
  toolCheckBackgroundDetail: string;
704
+ toolWaitBackgroundRunning: string;
705
+ toolWaitBackgroundDone: string;
706
+ toolWaitBackgroundFailed: string;
707
+ toolWaitBackgroundDetail: string;
634
708
  toolStopBackgroundRunning: string;
635
709
  toolStopBackgroundDone: string;
636
710
  toolStopBackgroundFailed: string;
637
711
  toolStopBackgroundDetail: string;
712
+ toolReadFileRunning: string;
713
+ toolReadFileDone: string;
714
+ toolReadFileFailed: string;
715
+ toolReadFileDetail: string;
716
+ toolWriteFileRunning: string;
717
+ toolWriteFileDone: string;
718
+ toolWriteFileFailed: string;
719
+ toolWriteFileDetail: string;
720
+ toolEditFileRunning: string;
721
+ toolEditFileDone: string;
722
+ toolEditFileFailed: string;
723
+ toolEditFileDetail: string;
724
+ toolFileUnnamed: string;
638
725
  toolSaveSkillRunning: string;
639
726
  toolSaveSkillDone: string;
640
727
  toolSaveSkillFailed: string;
@@ -659,6 +746,7 @@ export declare const streamIt: {
659
746
  browserRefreshView: string;
660
747
  failedBadge: string;
661
748
  actionReadFile: string;
749
+ actionCheckedUsage: string;
662
750
  actionWroteFile: string;
663
751
  actionPublishedArtifact: string;
664
752
  actionLookedUpSkill: string;
@@ -4,12 +4,11 @@ export declare const usageEn: {
4
4
  readonly expandComposer: "Expand message input";
5
5
  readonly collapseComposer: "Compact message input";
6
6
  readonly contextTitle: "Context for this message";
7
- readonly pageNote: "Page label only; this control does not attach page contents.";
7
+ readonly pageNote: "The agent receives this page name with your message, not the page contents.";
8
8
  readonly removeFile: "Remove {{name}}";
9
9
  readonly closeContext: "Close context";
10
10
  readonly currentPage: "Current page";
11
11
  readonly windowTooltip: "Context window: {{used}} of {{window}} tokens used ({{pct}}%)";
12
- readonly inOut: "Input {{in}} · output {{out}}";
13
12
  readonly turnsThisSessionOne: "{{count}} turn this session";
14
13
  readonly turnsThisSessionOther: "{{count}} turns this session";
15
14
  readonly panel: {
@@ -23,7 +22,6 @@ export declare const usageEn: {
23
22
  };
24
23
  readonly freeSpace: "Free space";
25
24
  readonly estimateNote: "Breakdown is estimated; the total is as reported by the model.";
26
- readonly cacheLine: "Cache: {{read}} read · {{write}} written";
27
25
  readonly autoCompact: "Auto-compact: {{pct}}% of budget";
28
26
  };
29
27
  readonly compactionLabel: "Auto-compact: {{used}} of {{limit}} characters used ({{pct}}%)";
@@ -41,7 +39,6 @@ export declare const usageEs: {
41
39
  closeContext: string;
42
40
  currentPage: string;
43
41
  windowTooltip: string;
44
- inOut: string;
45
42
  turnsThisSessionOne: string;
46
43
  turnsThisSessionOther: string;
47
44
  panel: {
@@ -55,7 +52,6 @@ export declare const usageEs: {
55
52
  };
56
53
  freeSpace: string;
57
54
  estimateNote: string;
58
- cacheLine: string;
59
55
  autoCompact: string;
60
56
  };
61
57
  compactionLabel: string;
@@ -73,7 +69,6 @@ export declare const usagePt: {
73
69
  closeContext: string;
74
70
  currentPage: string;
75
71
  windowTooltip: string;
76
- inOut: string;
77
72
  turnsThisSessionOne: string;
78
73
  turnsThisSessionOther: string;
79
74
  panel: {
@@ -87,7 +82,6 @@ export declare const usagePt: {
87
82
  };
88
83
  freeSpace: string;
89
84
  estimateNote: string;
90
- cacheLine: string;
91
85
  autoCompact: string;
92
86
  };
93
87
  compactionLabel: string;
@@ -105,7 +99,6 @@ export declare const usageIt: {
105
99
  closeContext: string;
106
100
  currentPage: string;
107
101
  windowTooltip: string;
108
- inOut: string;
109
102
  turnsThisSessionOne: string;
110
103
  turnsThisSessionOther: string;
111
104
  panel: {
@@ -119,7 +112,6 @@ export declare const usageIt: {
119
112
  };
120
113
  freeSpace: string;
121
114
  estimateNote: string;
122
- cacheLine: string;
123
115
  autoCompact: string;
124
116
  };
125
117
  compactionLabel: string;
@@ -0,0 +1,51 @@
1
+ import { z } from 'zod';
2
+ export type FirstResponseKey = {
3
+ readonly sessionId: string;
4
+ readonly runId: string;
5
+ readonly clientMessageId: string;
6
+ };
7
+ export type FirstResponseObservation = FirstResponseKey & {
8
+ readonly phase: "acknowledgment" | "main";
9
+ };
10
+ export type FirstResponseSample = FirstResponseObservation & {
11
+ readonly postAcceptedMs: number;
12
+ readonly deliveryMs: number;
13
+ readonly renderMs?: number;
14
+ };
15
+ export declare const firstResponseObservationsSchema: z.ZodArray<z.ZodObject<{
16
+ sessionId: z.ZodString;
17
+ runId: z.ZodString;
18
+ clientMessageId: z.ZodString;
19
+ phase: z.ZodEnum<{
20
+ acknowledgment: "acknowledgment";
21
+ main: "main";
22
+ }>;
23
+ }, z.core.$strip>>;
24
+ /** One bounded registry per transport; history and reconnect never create entries. */
25
+ export declare const createFirstResponseTiming: (input: {
26
+ readonly nowMs: () => number;
27
+ readonly report: (sample: FirstResponseSample) => void;
28
+ }) => {
29
+ start: ({ clientMessageId }: {
30
+ readonly clientMessageId: string;
31
+ }) => void;
32
+ accepted: (key: FirstResponseKey & {
33
+ readonly sourceMessageId: string;
34
+ }) => void;
35
+ observations: (key: {
36
+ readonly sessionId: string;
37
+ readonly runId: string;
38
+ readonly sourceMessageIds: readonly string[];
39
+ readonly phase: FirstResponseObservation["phase"];
40
+ }) => readonly FirstResponseObservation[];
41
+ delivered: (observation: FirstResponseObservation) => void;
42
+ rendered: (observation: FirstResponseObservation) => void;
43
+ cancel: ({ clientMessageId }: {
44
+ readonly clientMessageId: string;
45
+ }) => void;
46
+ finishRun: (key: {
47
+ readonly sessionId: string;
48
+ readonly runId: string;
49
+ }) => void;
50
+ };
51
+ export declare const reportFirstResponseSample: (sample: FirstResponseSample) => void;