@belonguniverseai/react-sdk 0.1.5 → 0.1.7

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 (109) hide show
  1. package/dist/api/agent-grants.d.ts +18 -23
  2. package/dist/api/client.d.ts +1215 -75
  3. package/dist/api/query-keys.d.ts +5 -0
  4. package/dist/api/task-schedules.d.ts +313 -0
  5. package/dist/app/dock-outlet.d.ts +18 -0
  6. package/dist/browser/control-channel.d.ts +9 -0
  7. package/dist/component/{arc-qZMtTEQp.js → arc-D26RO7cK.js} +2 -2
  8. package/dist/component/{architectureDiagram-3BPJPVTR-CtO601Ty.js → architectureDiagram-3BPJPVTR-uiXhyHDF.js} +3 -3
  9. package/dist/component/{blockDiagram-GPEHLZMM-fKkEUEDS.js → blockDiagram-GPEHLZMM-Bm1HEObg.js} +4 -4
  10. package/dist/component/{c4Diagram-AAUBKEIU-KqgmAa9H.js → c4Diagram-AAUBKEIU-BypAuFIJ.js} +3 -3
  11. package/dist/component/{channel-Cd6udgmU.js → channel-MvxNOfHS.js} +2 -2
  12. package/dist/component/{chunk-2J33WTMH-MaLtoDSx.js → chunk-2J33WTMH-MxAoh_Eu.js} +2 -2
  13. package/dist/component/{chunk-4BX2VUAB-DdDabPei.js → chunk-4BX2VUAB-BHpzlyda.js} +2 -2
  14. package/dist/component/{chunk-55IACEB6-DHQfY7ay.js → chunk-55IACEB6-igXCAYDB.js} +2 -2
  15. package/dist/component/{chunk-727SXJPM-DIUibY9s.js → chunk-727SXJPM-BPq4W66f.js} +6 -6
  16. package/dist/component/{chunk-AQP2D5EJ-Bohmsf7Z.js → chunk-AQP2D5EJ-Y9AksdXf.js} +4 -4
  17. package/dist/component/{chunk-FMBD7UC4-CiCh8Wxm.js → chunk-FMBD7UC4-DHrfutng.js} +2 -2
  18. package/dist/component/{chunk-ND2GUHAM-DLKe9Qxr.js → chunk-ND2GUHAM-Ch9c4OTL.js} +2 -2
  19. package/dist/component/{chunk-QZHKN3VN-BEosEHjT.js → chunk-QZHKN3VN-DCe5OD8b.js} +2 -2
  20. package/dist/component/{classDiagram-4FO5ZUOK-5yoauZso.js → classDiagram-4FO5ZUOK-wW5NdcaU.js} +3 -3
  21. package/dist/component/{classDiagram-v2-Q7XG4LA2-5yoauZso.js → classDiagram-v2-Q7XG4LA2-wW5NdcaU.js} +3 -3
  22. package/dist/component/{cose-bilkent-S5V4N54A-ZvjOc5yF.js → cose-bilkent-S5V4N54A-BkRr9q6q.js} +2 -2
  23. package/dist/component/{dagre-BM42HDAG-BirvIeWT.js → dagre-BM42HDAG-BaUecTLo.js} +2 -2
  24. package/dist/component/{diagram-2AECGRRQ-DbK75uYi.js → diagram-2AECGRRQ-BaAo02me.js} +3 -3
  25. package/dist/component/{diagram-5GNKFQAL-Xyau_WDx.js → diagram-5GNKFQAL-DKerYV9c.js} +4 -4
  26. package/dist/component/{diagram-KO2AKTUF-jGJhlVoS.js → diagram-KO2AKTUF-jeKVSHu1.js} +3 -3
  27. package/dist/component/{diagram-LMA3HP47-BIZKHEj8.js → diagram-LMA3HP47-wsR18sOb.js} +3 -3
  28. package/dist/component/{diagram-OG6HWLK6-SsKVgkRq.js → diagram-OG6HWLK6-D6kALGxL.js} +4 -4
  29. package/dist/component/{erDiagram-TEJ5UH35-CD_3Nxu_.js → erDiagram-TEJ5UH35-CQb_EY79.js} +5 -5
  30. package/dist/component/{flowDiagram-I6XJVG4X-Dim5dbSa.js → flowDiagram-I6XJVG4X-B52f9IhS.js} +7 -7
  31. package/dist/component/{ganttDiagram-6RSMTGT7-BHK-3XlP.js → ganttDiagram-6RSMTGT7-B6szKgV7.js} +3 -3
  32. package/dist/component/{gitGraphDiagram-PVQCEYII-Ckff9fHa.js → gitGraphDiagram-PVQCEYII-Cso6Oo6v.js} +4 -4
  33. package/dist/component/{highlighted-body-OFNGDK62-pHPkIg3d.js → highlighted-body-OFNGDK62-CD0QHket.js} +2 -2
  34. package/dist/component/index-Dips44uG.js +2208 -0
  35. package/dist/component/index.js +2 -2
  36. package/dist/component/{infoDiagram-5YYISTIA-Dp_rhKDP.js → infoDiagram-5YYISTIA-BGNkBFoP.js} +2 -2
  37. package/dist/component/{ishikawaDiagram-YF4QCWOH-Ch_zRlUM.js → ishikawaDiagram-YF4QCWOH-CDk8KSNE.js} +2 -2
  38. package/dist/component/{journeyDiagram-JHISSGLW-DLWP05FC.js → journeyDiagram-JHISSGLW-lPfVcAq5.js} +5 -5
  39. package/dist/component/{kanban-definition-UN3LZRKU-BRgTurbj.js → kanban-definition-UN3LZRKU-DN_BkNHr.js} +3 -3
  40. package/dist/component/{linear-b7BWY2Ku.js → linear-C9Fv-7qu.js} +2 -2
  41. package/dist/component/{mermaid-GHXKKRXX-BU0A6vGx.js → mermaid-GHXKKRXX-bJrxMXXe.js} +36152 -32029
  42. package/dist/component/{mindmap-definition-RKZ34NQL-BgBw2ubB.js → mindmap-definition-RKZ34NQL-Duh3XRoZ.js} +4 -4
  43. package/dist/component/{pieDiagram-4H26LBE5-Dr-5pVKk.js → pieDiagram-4H26LBE5-BkKLjdAW.js} +4 -4
  44. package/dist/component/{quadrantDiagram-W4KKPZXB-BG4QvalE.js → quadrantDiagram-W4KKPZXB-DAvb8fUN.js} +3 -3
  45. package/dist/component/{requirementDiagram-4Y6WPE33-BEJzZeiL.js → requirementDiagram-4Y6WPE33-BtRuiyP2.js} +4 -4
  46. package/dist/component/{sankeyDiagram-5OEKKPKP-0Oohwww8.js → sankeyDiagram-5OEKKPKP-N0AD4yPI.js} +2 -2
  47. package/dist/component/{sequenceDiagram-3UESZ5HK-D-GdC1ck.js → sequenceDiagram-3UESZ5HK-BHfCscqu.js} +4 -4
  48. package/dist/component/{stateDiagram-AJRCARHV-DhNmn4mf.js → stateDiagram-AJRCARHV-CogCGofy.js} +3 -3
  49. package/dist/component/{stateDiagram-v2-BHNVJYJU-XFoNYMc3.js → stateDiagram-v2-BHNVJYJU-B1mCX7fI.js} +3 -3
  50. package/dist/component/{timeline-definition-PNZ67QCA-CEOHBCWh.js → timeline-definition-PNZ67QCA-CCbxae4K.js} +3 -3
  51. package/dist/component/{vennDiagram-CIIHVFJN-BLCN_trc.js → vennDiagram-CIIHVFJN-4A3Z5NhT.js} +2 -2
  52. package/dist/component/{wardleyDiagram-YWT4CUSO-BbDSTDli.js → wardleyDiagram-YWT4CUSO-D2FUxcv8.js} +3 -3
  53. package/dist/component/{xychartDiagram-2RQKCTM6-BHKWkvbW.js → xychartDiagram-2RQKCTM6-DELqVNap.js} +3 -3
  54. package/dist/components/embed/AgentGrantAutoConnect.d.ts +1 -0
  55. package/dist/components/embed/CapabilityHints.d.ts +4 -1
  56. package/dist/components/embed/EmbedConversation.d.ts +11 -11
  57. package/dist/components/embed/EmbedRail.d.ts +1 -1
  58. package/dist/components/embed/FilePreview.d.ts +7 -2
  59. package/dist/components/embed/FilePreviewDialog.d.ts +6 -2
  60. package/dist/components/embed/HtmlPreviewFrame.d.ts +7 -0
  61. package/dist/components/embed/MentionInput.d.ts +8 -1
  62. package/dist/components/embed/PreviewContent.d.ts +9 -21
  63. package/dist/components/embed/WelcomeIntro.d.ts +5 -3
  64. package/dist/components/embed/WelcomeSkills.d.ts +7 -0
  65. package/dist/components/embed/file-preview-kind.d.ts +7 -3
  66. package/dist/components/embed/onboarding-story-dock.d.ts +5 -2
  67. package/dist/components/embed/preview-content-kind.d.ts +5 -7
  68. package/dist/components/embed/use-inline-preview-url.d.ts +20 -0
  69. package/dist/components/scheduled/ConfirmDeleteScheduleDialog.d.ts +7 -0
  70. package/dist/components/scheduled/ScheduleDialog.d.ts +13 -0
  71. package/dist/components/scheduled/ScheduledDetailSurface.d.ts +8 -0
  72. package/dist/components/scheduled/ScheduledListSurface.d.ts +7 -0
  73. package/dist/components/scheduled/TimezoneCombobox.d.ts +7 -0
  74. package/dist/components/scheduled/schedule-dialog-model.d.ts +11 -0
  75. package/dist/components/scheduled/schedule-format.d.ts +38 -0
  76. package/dist/embed/agent-grant-refresh.d.ts +7 -7
  77. package/dist/embed/composer-submit.d.ts +7 -0
  78. package/dist/embed/copy.d.ts +93 -15
  79. package/dist/embed/dock-state.d.ts +1 -1
  80. package/dist/embed/locale.d.ts +4 -0
  81. package/dist/embed/slash-commands.d.ts +20 -6
  82. package/dist/embed/tab-id.d.ts +33 -0
  83. package/dist/embed/task-schedule-command.d.ts +32 -0
  84. package/dist/embed/task-schedule-store.d.ts +29 -0
  85. package/dist/embed/theme-preview-params.d.ts +2 -0
  86. package/dist/embed/voice-narration.d.ts +15 -0
  87. package/dist/i18n/messages/en.d.ts +106 -22
  88. package/dist/i18n/messages/pt.d.ts +3 -0
  89. package/dist/i18n/messages/surfaces/aiElements.d.ts +50 -0
  90. package/dist/i18n/messages/surfaces/app.d.ts +15 -0
  91. package/dist/i18n/messages/surfaces/embedMisc.d.ts +45 -8
  92. package/dist/i18n/messages/surfaces/feedback.d.ts +9 -0
  93. package/dist/i18n/messages/surfaces/files.d.ts +37 -0
  94. package/dist/i18n/messages/surfaces/header.d.ts +24 -0
  95. package/dist/i18n/messages/surfaces/login.d.ts +8 -0
  96. package/dist/i18n/messages/surfaces/plan.d.ts +17 -0
  97. package/dist/i18n/messages/surfaces/scheduled.d.ts +253 -0
  98. package/dist/i18n/messages/surfaces/sessions.d.ts +21 -0
  99. package/dist/i18n/messages/surfaces/stream.d.ts +68 -0
  100. package/dist/i18n/messages/surfaces/usage.d.ts +10 -0
  101. package/dist/lib/use-debounced-value.d.ts +2 -0
  102. package/dist/routes/chat.d.ts +3 -2
  103. package/dist/routes/scheduled-detail.d.ts +2 -0
  104. package/dist/routes/scheduled.d.ts +2 -0
  105. package/dist/stream/stream-state-store.d.ts +36 -0
  106. package/dist/types/public.d.ts +45 -10
  107. package/package.json +1 -1
  108. package/dist/components/embed/AgentGrantCard.d.ts +0 -27
  109. package/dist/i18n/messages/surfaces/agentGrant.d.ts +0 -39
@@ -17,3 +17,12 @@ export declare const feedbackEs: {
17
17
  send: string;
18
18
  };
19
19
  };
20
+ export declare const feedbackPt: {
21
+ feedback: {
22
+ goodResponse: string;
23
+ badResponse: string;
24
+ reasonPlaceholder: string;
25
+ skip: string;
26
+ send: string;
27
+ };
28
+ };
@@ -73,3 +73,40 @@ export declare const filesEs: {
73
73
  attachmentFallback: string;
74
74
  };
75
75
  };
76
+ export declare const filesPt: {
77
+ files: {
78
+ refreshFiles: string;
79
+ searchDocumentsPlaceholder: string;
80
+ searchDocuments: string;
81
+ noFilesYet: string;
82
+ noFilesHint: string;
83
+ uploading: string;
84
+ dropFilesOrBrowse: string;
85
+ supportedTypes: string;
86
+ previewFile: string;
87
+ downloadFile: string;
88
+ uploadedInConversation: string;
89
+ noInlinePreview: string;
90
+ download: string;
91
+ loadingPreview: string;
92
+ truncatedNotice: string;
93
+ previewGenerateFailed: string;
94
+ previewTooLong: string;
95
+ previewUnavailable: string;
96
+ generatingPreview: string;
97
+ pageAlt: string;
98
+ previewOf: string;
99
+ searchWorkspacePlaceholder: string;
100
+ searchWorkspace: string;
101
+ workspaceFiles: string;
102
+ refresh: string;
103
+ refreshWorkspaceFiles: string;
104
+ workspaceEmpty: string;
105
+ noMatches: string;
106
+ ageJustNow: string;
107
+ ageMinutes: string;
108
+ ageHours: string;
109
+ ageDays: string;
110
+ attachmentFallback: string;
111
+ };
112
+ };
@@ -4,12 +4,15 @@ export declare const headerEn: {
4
4
  readonly byBelong: "by Belong";
5
5
  readonly navChat: "Chat";
6
6
  readonly navFiles: "Files";
7
+ readonly navScheduled: "Scheduled";
7
8
  readonly chatPlanRunning: "Chat — plan running, {{completed}} of {{total}} steps done";
8
9
  readonly devMode: "Dev mode";
9
10
  readonly devModeTitle: "Dev mode (belong:dev)";
10
11
  readonly muteReplies: "Mute replies";
11
12
  readonly readRepliesAloud: "Read replies aloud";
12
13
  readonly speechNotSupported: "Speech not supported";
14
+ readonly railVoiceToggle: "Voice replies on/off — hold {{key}} to talk";
15
+ readonly hotkeyHint: "Hold {{key}} to talk — chat can stay closed";
13
16
  readonly expand: "Expand";
14
17
  readonly collapse: "Collapse";
15
18
  };
@@ -19,12 +22,33 @@ export declare const headerEs: {
19
22
  byBelong: string;
20
23
  navChat: string;
21
24
  navFiles: string;
25
+ navScheduled: string;
22
26
  chatPlanRunning: string;
23
27
  devMode: string;
24
28
  devModeTitle: string;
25
29
  muteReplies: string;
26
30
  readRepliesAloud: string;
27
31
  speechNotSupported: string;
32
+ railVoiceToggle: string;
33
+ hotkeyHint: string;
34
+ expand: string;
35
+ collapse: string;
36
+ };
37
+ };
38
+ export declare const headerPt: {
39
+ header: {
40
+ byBelong: string;
41
+ navChat: string;
42
+ navFiles: string;
43
+ navScheduled: string;
44
+ chatPlanRunning: string;
45
+ devMode: string;
46
+ devModeTitle: string;
47
+ muteReplies: string;
48
+ readRepliesAloud: string;
49
+ speechNotSupported: string;
50
+ railVoiceToggle: string;
51
+ hotkeyHint: string;
28
52
  expand: string;
29
53
  collapse: string;
30
54
  };
@@ -15,3 +15,11 @@ export declare const loginEs: {
15
15
  signIn: string;
16
16
  };
17
17
  };
18
+ export declare const loginPt: {
19
+ login: {
20
+ welcome: string;
21
+ byBelong: string;
22
+ signInPrompt: string;
23
+ signIn: string;
24
+ };
25
+ };
@@ -33,3 +33,20 @@ export declare const planEs: {
33
33
  reject: string;
34
34
  };
35
35
  };
36
+ export declare const planPt: {
37
+ plan: {
38
+ cueReady: string;
39
+ fallbackTitle: string;
40
+ closeLabel: string;
41
+ emptyState: string;
42
+ resizeLabel: string;
43
+ stepCompleted: string;
44
+ stepFailed: string;
45
+ stepPending: string;
46
+ progressDone: string;
47
+ failedPrefix: string;
48
+ failedHelp: string;
49
+ approveAndRun: string;
50
+ reject: string;
51
+ };
52
+ };
@@ -0,0 +1,253 @@
1
+ /** Scheduled surface strings (rail view: list, create/edit dialog, detail, runs). */
2
+ export declare const scheduledEn: {
3
+ readonly scheduled: {
4
+ readonly viewTitle: "Scheduled";
5
+ readonly subtitle: "Run work automatically, even when you're away";
6
+ readonly newTask: "New scheduled task";
7
+ readonly searchPlaceholder: "Search scheduled tasks";
8
+ readonly filterAll: "All";
9
+ readonly filterUpcoming: "Upcoming";
10
+ readonly filterCompleted: "Completed";
11
+ readonly loading: "Loading scheduled tasks…";
12
+ readonly empty: "No scheduled tasks yet";
13
+ readonly emptyHint: "Create one to run a prompt later — once or on a repeating schedule.";
14
+ readonly noResults: "No matches for “{{q}}”";
15
+ readonly loadError: "Couldn't load scheduled tasks.";
16
+ readonly loadMore: "Load more";
17
+ readonly statusActive: "Active";
18
+ readonly statusPaused: "Paused";
19
+ readonly statusCompleted: "Completed";
20
+ readonly statusUpcoming: "Upcoming";
21
+ readonly nextRun: "Next run {{time}}";
22
+ readonly nextRunIn: "Next run {{when}}";
23
+ readonly lastRun: "Last run {{time}}";
24
+ readonly dayAtTime: "{{day}} at {{time}}";
25
+ readonly pausedNotice: "Paused — runs won't start until you resume.";
26
+ readonly summaryOnce: "Once on {{time}}";
27
+ readonly summaryDaily: "Daily at {{time}}";
28
+ readonly summaryWeekdays: "Weekdays at {{time}}";
29
+ readonly summaryWeekly: "Every {{day}} at {{time}}";
30
+ readonly timezoneSuffix: "({{timezone}})";
31
+ readonly recurrenceNone: "Does not repeat";
32
+ readonly recurrenceDaily: "Daily";
33
+ readonly recurrenceWeekdays: "Weekdays (Mon–Fri)";
34
+ readonly recurrenceWeekly: "Weekly";
35
+ readonly dialogCreateTitle: "New scheduled task";
36
+ readonly dialogEditTitle: "Edit scheduled task";
37
+ readonly dialogHint: "You can change this later.";
38
+ readonly promptLabel: "What should the agent do?";
39
+ readonly promptPlaceholder: "Include everything the agent needs — each run starts a fresh conversation.";
40
+ readonly titleLabel: "Title (optional)";
41
+ readonly titlePlaceholder: "Shown in your scheduled list";
42
+ readonly whenLabel: "When";
43
+ readonly dateLabel: "Date";
44
+ readonly timeLabel: "Time";
45
+ readonly repeatLabel: "Repeat";
46
+ readonly timezoneLabel: "Timezone";
47
+ readonly timezoneSearchPlaceholder: "Search timezones…";
48
+ readonly timezoneNoMatch: "No matching timezone";
49
+ readonly create: "Create scheduled task";
50
+ readonly saveChanges: "Save changes";
51
+ readonly cancel: "Cancel";
52
+ readonly errorPromptRequired: "Write a prompt for the scheduled run.";
53
+ readonly errorPastTime: "Pick a time in the future.";
54
+ readonly errorTooFar: "Pick a time within the next year.";
55
+ readonly errorCreateFailed: "Couldn't create the schedule — try again.";
56
+ readonly errorUpdateFailed: "Couldn't save the changes — try again.";
57
+ readonly back: "Back to scheduled";
58
+ readonly pause: "Pause";
59
+ readonly resume: "Resume";
60
+ readonly resumedCompleted: "Its time already passed, so this one-time task is now completed.";
61
+ readonly runNow: "Run now";
62
+ readonly runNowStarted: "Run started — it will appear below.";
63
+ readonly edit: "Edit";
64
+ readonly delete: "Delete";
65
+ readonly deleteConfirmTitle: "Delete this scheduled task?";
66
+ readonly deleteConfirmBody: "Future runs are cancelled. Past runs and their conversations stay in your history.";
67
+ readonly deleteConfirm: "Delete";
68
+ readonly actionsMenu: "Schedule actions";
69
+ readonly actionFailed: "That didn't work — refresh and try again.";
70
+ readonly runsHeading: "Runs";
71
+ readonly runsCount_one: "{{count}} run";
72
+ readonly runsCount_other: "{{count}} runs";
73
+ readonly runsEmpty: "No runs yet — the first one appears here after it starts.";
74
+ readonly runsLoadError: "Couldn't load runs.";
75
+ readonly runStatusRunning: "Running";
76
+ readonly runStatusNeedsAttention: "Needs attention";
77
+ readonly runStatusCompleted: "Completed";
78
+ readonly runStatusFailed: "Failed";
79
+ readonly runNeedsAttentionHint: "Waiting for your input.";
80
+ readonly manualRun: "Manual run";
81
+ readonly openRun: "Open this run's conversation";
82
+ readonly detailLoadError: "Couldn't load this scheduled task.";
83
+ readonly detailGone: "This scheduled task no longer exists.";
84
+ };
85
+ };
86
+ export declare const scheduledEs: {
87
+ scheduled: {
88
+ viewTitle: string;
89
+ subtitle: string;
90
+ newTask: string;
91
+ searchPlaceholder: string;
92
+ filterAll: string;
93
+ filterUpcoming: string;
94
+ filterCompleted: string;
95
+ loading: string;
96
+ empty: string;
97
+ emptyHint: string;
98
+ noResults: string;
99
+ loadError: string;
100
+ loadMore: string;
101
+ statusActive: string;
102
+ statusPaused: string;
103
+ statusCompleted: string;
104
+ statusUpcoming: string;
105
+ nextRun: string;
106
+ nextRunIn: string;
107
+ lastRun: string;
108
+ dayAtTime: string;
109
+ pausedNotice: string;
110
+ summaryOnce: string;
111
+ summaryDaily: string;
112
+ summaryWeekdays: string;
113
+ summaryWeekly: string;
114
+ timezoneSuffix: string;
115
+ recurrenceNone: string;
116
+ recurrenceDaily: string;
117
+ recurrenceWeekdays: string;
118
+ recurrenceWeekly: string;
119
+ dialogCreateTitle: string;
120
+ dialogEditTitle: string;
121
+ dialogHint: string;
122
+ promptLabel: string;
123
+ promptPlaceholder: string;
124
+ titleLabel: string;
125
+ titlePlaceholder: string;
126
+ whenLabel: string;
127
+ dateLabel: string;
128
+ timeLabel: string;
129
+ repeatLabel: string;
130
+ timezoneLabel: string;
131
+ timezoneSearchPlaceholder: string;
132
+ timezoneNoMatch: string;
133
+ create: string;
134
+ saveChanges: string;
135
+ cancel: string;
136
+ errorPromptRequired: string;
137
+ errorPastTime: string;
138
+ errorTooFar: string;
139
+ errorCreateFailed: string;
140
+ errorUpdateFailed: string;
141
+ back: string;
142
+ pause: string;
143
+ resume: string;
144
+ resumedCompleted: string;
145
+ runNow: string;
146
+ runNowStarted: string;
147
+ edit: string;
148
+ delete: string;
149
+ deleteConfirmTitle: string;
150
+ deleteConfirmBody: string;
151
+ deleteConfirm: string;
152
+ actionsMenu: string;
153
+ actionFailed: string;
154
+ runsHeading: string;
155
+ runsCount_one: string;
156
+ runsCount_other: string;
157
+ runsEmpty: string;
158
+ runsLoadError: string;
159
+ runStatusRunning: string;
160
+ runStatusNeedsAttention: string;
161
+ runStatusCompleted: string;
162
+ runStatusFailed: string;
163
+ runNeedsAttentionHint: string;
164
+ manualRun: string;
165
+ openRun: string;
166
+ detailLoadError: string;
167
+ detailGone: string;
168
+ };
169
+ };
170
+ export declare const scheduledPt: {
171
+ scheduled: {
172
+ viewTitle: string;
173
+ subtitle: string;
174
+ newTask: string;
175
+ searchPlaceholder: string;
176
+ filterAll: string;
177
+ filterUpcoming: string;
178
+ filterCompleted: string;
179
+ loading: string;
180
+ empty: string;
181
+ emptyHint: string;
182
+ noResults: string;
183
+ loadError: string;
184
+ loadMore: string;
185
+ statusActive: string;
186
+ statusPaused: string;
187
+ statusCompleted: string;
188
+ statusUpcoming: string;
189
+ nextRun: string;
190
+ nextRunIn: string;
191
+ lastRun: string;
192
+ dayAtTime: string;
193
+ pausedNotice: string;
194
+ summaryOnce: string;
195
+ summaryDaily: string;
196
+ summaryWeekdays: string;
197
+ summaryWeekly: string;
198
+ timezoneSuffix: string;
199
+ recurrenceNone: string;
200
+ recurrenceDaily: string;
201
+ recurrenceWeekdays: string;
202
+ recurrenceWeekly: string;
203
+ dialogCreateTitle: string;
204
+ dialogEditTitle: string;
205
+ dialogHint: string;
206
+ promptLabel: string;
207
+ promptPlaceholder: string;
208
+ titleLabel: string;
209
+ titlePlaceholder: string;
210
+ whenLabel: string;
211
+ dateLabel: string;
212
+ timeLabel: string;
213
+ repeatLabel: string;
214
+ timezoneLabel: string;
215
+ timezoneSearchPlaceholder: string;
216
+ timezoneNoMatch: string;
217
+ create: string;
218
+ saveChanges: string;
219
+ cancel: string;
220
+ errorPromptRequired: string;
221
+ errorPastTime: string;
222
+ errorTooFar: string;
223
+ errorCreateFailed: string;
224
+ errorUpdateFailed: string;
225
+ back: string;
226
+ pause: string;
227
+ resume: string;
228
+ resumedCompleted: string;
229
+ runNow: string;
230
+ runNowStarted: string;
231
+ edit: string;
232
+ delete: string;
233
+ deleteConfirmTitle: string;
234
+ deleteConfirmBody: string;
235
+ deleteConfirm: string;
236
+ actionsMenu: string;
237
+ actionFailed: string;
238
+ runsHeading: string;
239
+ runsCount_one: string;
240
+ runsCount_other: string;
241
+ runsEmpty: string;
242
+ runsLoadError: string;
243
+ runStatusRunning: string;
244
+ runStatusNeedsAttention: string;
245
+ runStatusCompleted: string;
246
+ runStatusFailed: string;
247
+ runNeedsAttentionHint: string;
248
+ manualRun: string;
249
+ openRun: string;
250
+ detailLoadError: string;
251
+ detailGone: string;
252
+ };
253
+ };
@@ -41,3 +41,24 @@ export declare const sessionsEs: {
41
41
  updated: string;
42
42
  };
43
43
  };
44
+ export declare const sessionsPt: {
45
+ sessions: {
46
+ chats: string;
47
+ newChat: string;
48
+ noChatsYet: string;
49
+ untitledChat: string;
50
+ confirmDelete: string;
51
+ cancelDelete: string;
52
+ deleteChat: string;
53
+ renameChat: string;
54
+ chatName: string;
55
+ saveName: string;
56
+ cancelRename: string;
57
+ recentSessions: string;
58
+ loading: string;
59
+ failedToLoad: string;
60
+ noSessionsYet: string;
61
+ untitledSession: string;
62
+ updated: string;
63
+ };
64
+ };
@@ -142,3 +142,71 @@ export declare const streamEs: {
142
142
  retry: string;
143
143
  };
144
144
  };
145
+ export declare const streamPt: {
146
+ stream: {
147
+ copyOutput: string;
148
+ terminalOutput: string;
149
+ skillChip: string;
150
+ failedSuffix: string;
151
+ approvalRequired: string;
152
+ approve: string;
153
+ requestChanges: string;
154
+ reject: string;
155
+ approving: string;
156
+ rejecting: string;
157
+ sending: string;
158
+ decisionApproved: string;
159
+ decisionRejected: string;
160
+ decisionAmendRequested: string;
161
+ expired: string;
162
+ alreadyResolved: string;
163
+ alwaysAllowTool: string;
164
+ alwaysAllowAction: string;
165
+ submitError: string;
166
+ errorServerAnswered: string;
167
+ errorRequestUnreachable: string;
168
+ answered: string;
169
+ alreadyAnswered: string;
170
+ submit: string;
171
+ toolShellRunning: string;
172
+ toolShellDone: string;
173
+ toolShellFailed: string;
174
+ toolShellDetail: string;
175
+ toolApprovalRunning: string;
176
+ toolApprovalDone: string;
177
+ toolApprovalFailed: string;
178
+ toolApprovalDetail: string;
179
+ toolGenericRunning: string;
180
+ toolGenericDone: string;
181
+ toolGenericFailed: string;
182
+ toolGenericDetail: string;
183
+ browserSnapshot: string;
184
+ browserRead: string;
185
+ browserClick: string;
186
+ browserType: string;
187
+ browserNavigate: string;
188
+ browserSelfTest: string;
189
+ browserResolveResource: string;
190
+ browserAwaitProcessed: string;
191
+ browserAssertCreated: string;
192
+ failedBadge: string;
193
+ failedCount_one: string;
194
+ failedCount_other: string;
195
+ workedOnPageSteps_one: string;
196
+ workedOnPageSteps_other: string;
197
+ workedSteps_one: string;
198
+ workedSteps_other: string;
199
+ workingSteps_one: string;
200
+ workingSteps_other: string;
201
+ ranCommands_one: string;
202
+ ranCommands_other: string;
203
+ runningCommands_one: string;
204
+ runningCommands_other: string;
205
+ open: string;
206
+ reconnectNeeded: string;
207
+ reconnect: string;
208
+ reconnecting: string;
209
+ reconnected: string;
210
+ retry: string;
211
+ };
212
+ };
@@ -19,3 +19,13 @@ export declare const usageEs: {
19
19
  turnsThisSessionOther: string;
20
20
  };
21
21
  };
22
+ export declare const usagePt: {
23
+ usage: {
24
+ tooltip: string;
25
+ context: string;
26
+ tokens: string;
27
+ lastTurn: string;
28
+ turnsThisSessionOne: string;
29
+ turnsThisSessionOther: string;
30
+ };
31
+ };
@@ -0,0 +1,2 @@
1
+ /** Trailing-edge debounce for fast-changing inputs (e.g. server-side search). */
2
+ export declare const useDebouncedValue: <T>(value: T, delayMs?: number) => T;
@@ -25,6 +25,7 @@ export type QueuedMessage = {
25
25
  readonly submittedAt: number;
26
26
  readonly state: "queued" | "failed";
27
27
  };
28
- export declare const ChatRoute: ({ sessionId }?: {
29
- sessionId?: string;
28
+ export declare const ChatRoute: ({ sessionId, reconcileBackgroundRun, }?: {
29
+ readonly sessionId?: string;
30
+ readonly reconcileBackgroundRun?: boolean;
30
31
  }) => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** /scheduled/:taskScheduleId — one schedule's detail + run history. */
2
+ export declare const ScheduledDetailRoute: () => import("react").JSX.Element;
@@ -0,0 +1,2 @@
1
+ /** /scheduled — the Scheduled list view (rail tab). */
2
+ export declare const ScheduledRoute: () => import("react").JSX.Element;
@@ -30,8 +30,29 @@ declare const streamStateSchema: z.ZodObject<{
30
30
  lastEventId: string | null;
31
31
  }>;
32
32
  export type PersistedStreamState = z.infer<typeof streamStateSchema>;
33
+ /**
34
+ * The tab's active stream state.
35
+ *
36
+ * Reads the AUTHORITATIVE per-tab record from `sessionStorage`. On a brand-new
37
+ * tab (no record yet AND this tab hasn't already decided), adopts the SHARED
38
+ * localStorage seed's `sessionId` — with a null run cursor, so the new tab opens
39
+ * the most-recent conversation from history rather than resuming another tab's
40
+ * live run. The adoption is one-time: it marks the tab "seeded" so a later
41
+ * read (e.g. after a New-chat clear) doesn't re-adopt.
42
+ *
43
+ * A record present at the FIRST read of this page realm is provenance-checked
44
+ * (see the duplicate-tab block above): a duplicated tab keeps the session but
45
+ * is demoted off the live run cursor.
46
+ */
33
47
  export declare const readStreamState: (workspaceId?: string | null) => PersistedStreamState | null;
34
48
  export declare const writeStreamState: (state: Omit<PersistedStreamState, "updatedAt">, workspaceId?: string | null) => void;
49
+ /**
50
+ * Clear THIS TAB's pointer (New chat). Removes only the per-tab sessionStorage
51
+ * record and marks the tab "seeded" so a reload stays blank instead of
52
+ * re-adopting the shared seed. The localStorage seed is deliberately left
53
+ * intact: another tab's most-recent conversation, and the next brand-new tab's
54
+ * starting point, must not be wiped by one tab starting a fresh chat.
55
+ */
35
56
  export declare const clearStreamState: (workspaceId?: string | null) => void;
36
57
  /**
37
58
  * Like {@link readStreamState}, but only returns state fresh enough that its
@@ -49,6 +70,15 @@ export declare const readResumableStreamState: (workspaceId?: string | null) =>
49
70
  * the pointer entirely, so a fresh `belong-chat-<id>` is generated (New chat).
50
71
  */
51
72
  export declare const setActiveSessionId: (sessionId: string | null) => void;
73
+ /**
74
+ * Select a conversation together with a known live Belong run. Scheduled
75
+ * occurrences start outside `BelongChatTransport`, so their run cursor enters
76
+ * the normal reload/resume path here when the user explicitly opens one.
77
+ */
78
+ export declare const setActiveRunStream: (input: {
79
+ readonly sessionId: string;
80
+ readonly runId: string;
81
+ }) => void;
52
82
  /**
53
83
  * Subscribe to active-session-pointer changes. Pairs with
54
84
  * {@link peekActiveSessionId} for `useSyncExternalStore`. Returns an
@@ -64,4 +94,10 @@ export declare const subscribeStreamState: (listener: () => void) => (() => void
64
94
  * memo cache needed).
65
95
  */
66
96
  export declare const peekActiveSessionId: () => string | null;
97
+ /** Test-only: forget the per-tab seed cache + provenance state (does NOT touch
98
+ * Web Storage — a test clears sessionStorage/localStorage itself). */
99
+ export declare const __resetStreamStateStoreForTest: () => void;
100
+ /** Test-only: pin the navigation type the duplicate-tab check sees (jsdom has
101
+ * no PerformanceNavigationTiming entry, so tests set it explicitly). */
102
+ export declare const __setNavigationTypeForTest: (type: "reload" | "back_forward" | "navigate") => void;
67
103
  export {};
@@ -39,6 +39,25 @@ export type BelongThemeBrand = {
39
39
  * back to the default Belong mark when absent. Validated at the perimeter. */
40
40
  readonly logo?: string;
41
41
  };
42
+ /**
43
+ * Per-locale override of the domain-specific welcome copy (BEL-135). The dock
44
+ * ships GENERIC assistant copy by default; a tenant with domain vocabulary
45
+ * (e.g. Simetrik's "reconciliations") supplies it here — via its theme preset
46
+ * or its published `theme.json` — so the default stays neutral for every host.
47
+ * Only these four fields are overridable; the rest of the dock chrome is
48
+ * product-agnostic and never carries tenant vocabulary.
49
+ */
50
+ export type DockWelcomeCopy = {
51
+ /** Welcome-card subtitle. */
52
+ readonly subtitle?: string;
53
+ /** Welcome-card capability LABELS (icons keep their DOCK_COPY position). */
54
+ readonly capabilities?: readonly string[];
55
+ /** Empty-state intro body. */
56
+ readonly introBody?: string;
57
+ /** Quick-start suggestion chips. */
58
+ readonly suggestions?: readonly string[];
59
+ };
60
+ export type DockCopyOverride = Partial<Record<BelongLocale, DockWelcomeCopy>>;
42
61
  export type BelongTheme = {
43
62
  readonly mode: BelongThemeMode;
44
63
  readonly side: BelongThemeSide;
@@ -57,6 +76,8 @@ export type BelongTheme = {
57
76
  readonly accent?: string;
58
77
  /** Custom CSS custom-property overrides, projected last so they win over theme vars. */
59
78
  readonly cssVars?: Record<string, string>;
79
+ /** Per-locale welcome-copy override (BEL-135); absent → generic dock copy. */
80
+ readonly copy?: DockCopyOverride;
60
81
  };
61
82
  /**
62
83
  * Deep-partial of `BelongTheme`. Every layer is optional so a caller
@@ -79,14 +100,24 @@ export type PartialBelongTheme = {
79
100
  readonly accent?: string;
80
101
  /** Custom CSS custom-property overrides, projected last so they win over theme vars. */
81
102
  readonly cssVars?: Record<string, string>;
103
+ /** Per-locale welcome-copy override (BEL-135). */
104
+ readonly copy?: DockCopyOverride;
82
105
  };
83
106
  /** Built-in theme presets selectable via `belong.applyPreset(name)`. */
84
107
  export type PresetName = "belong" | "simetrik" | "custom";
85
108
  /** UI languages the dock ships. `setLocale` / `init({ locale })` accept these. */
86
- export type BelongLocale = "en" | "es";
109
+ export type BelongLocale = "en" | "es" | "pt";
87
110
  export type BelongInitInput = {
88
111
  /** Belong cloud base URL, e.g. `https://api.belong.host` or `http://localhost:8787`. */
89
112
  readonly apiBaseUrl: string;
113
+ /**
114
+ * Public tenant slug (BEL-129, multi-tenant deployments). Used for
115
+ * boot-time, unauthenticated surfaces only — the theme fetch adds
116
+ * `?tenant=<slug>` and every request carries it as `X-Belong-Tenant`
117
+ * (observability). Authenticated routes derive the tenant from the JWT;
118
+ * this value can never escalate. Omit on single-tenant deployments.
119
+ */
120
+ readonly tenant?: string;
90
121
  /**
91
122
  * Dock UI language. When omitted the dock auto-detects: a stored user choice
92
123
  * ▸ the browser language ▸ English. Set it to default the deployment's
@@ -131,13 +162,17 @@ export type BelongInitInput = {
131
162
  readonly ttsChunkGapMs?: number;
132
163
  };
133
164
  /**
134
- * Agent-grant (delegated CLI session) host context. The grant surface follows
135
- * the ACTIVE WORKSPACE: whenever one is in scope — via `scopeExternalId` /
136
- * `scopeUrlParam` here, or `setWorkspace` — the dock offers the consent card
137
- * ("allow the agent to act on my behalf") for it, using the default provider.
138
- * This object is OPTIONAL: set it only to pick a non-default `provider` or to
139
- * track the workspace from a URL param. With no workspace in scope at all, the
140
- * grant surface stays hidden.
165
+ * Agent-grant (delegated CLI session) host context. The grant follows the
166
+ * ACTIVE WORKSPACE: whenever one is in scope — via `scopeExternalId` /
167
+ * `scopeUrlParam` here, or `setWorkspace` — the dock silently establishes and
168
+ * refreshes a delegated CLI session for it (using the default provider), with
169
+ * NO user-facing UI. There is no consent card, connect button, or expiry
170
+ * banner: the session connects on first use and re-grants itself before
171
+ * expiry, in every execution mode. It is non-blocking — chat works without a
172
+ * grant (the agent falls back to CLI device-login in the terminal). This
173
+ * object is OPTIONAL: set it only to pick a non-default `provider` or to track
174
+ * the workspace from a URL param. With no workspace in scope at all, no grant
175
+ * is attempted.
141
176
  */
142
177
  readonly agentGrant?: {
143
178
  /** Grant provider key. Defaults to `"simetrik"`. */
@@ -147,8 +182,8 @@ export type BelongInitInput = {
147
182
  /**
148
183
  * Track the scope LIVE from this page-URL search param (e.g. `"w"`,
149
184
  * Simetrik's active-workspace param). When the host SPA switches
150
- * workspace, the dock re-prompts consent for the new one — a grant is
151
- * single-workspace, so each workspace needs its own. Takes precedence
185
+ * workspace, the dock silently connects the new one — a grant is
186
+ * single-workspace, so each workspace gets its own. Takes precedence
152
187
  * over a static `scopeExternalId` whenever the param is present.
153
188
  */
154
189
  readonly scopeUrlParam?: string;