@arbidocs/react 0.5.3 → 0.5.4

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 (39) hide show
  1. package/dist/artifacts/index.cjs +4 -4
  2. package/dist/artifacts/index.js +3 -3
  3. package/dist/calls/livekit/index.cjs +43 -43
  4. package/dist/calls/livekit/index.js +4 -4
  5. package/dist/{chunk-O4IWCDEJ.cjs → chunk-2M4B4FFA.cjs} +3 -3
  6. package/dist/{chunk-O4IWCDEJ.cjs.map → chunk-2M4B4FFA.cjs.map} +1 -1
  7. package/dist/{chunk-XZT5ET3N.cjs → chunk-IFPSLIRL.cjs} +19 -5
  8. package/dist/chunk-IFPSLIRL.cjs.map +1 -0
  9. package/dist/{chunk-FEHIY22A.cjs → chunk-J62MWU4O.cjs} +6 -6
  10. package/dist/{chunk-FEHIY22A.cjs.map → chunk-J62MWU4O.cjs.map} +1 -1
  11. package/dist/{chunk-DGMK3EUN.js → chunk-QVGAUQSD.js} +135 -16
  12. package/dist/chunk-QVGAUQSD.js.map +1 -0
  13. package/dist/{chunk-ZI2VJOID.cjs → chunk-TYZFRV7P.cjs} +145 -16
  14. package/dist/chunk-TYZFRV7P.cjs.map +1 -0
  15. package/dist/{chunk-U7A6DMQO.js → chunk-X2OC2LCD.js} +19 -5
  16. package/dist/chunk-X2OC2LCD.js.map +1 -0
  17. package/dist/{chunk-ILBWEZ3J.js → chunk-Y3LBWRXS.js} +4 -4
  18. package/dist/{chunk-ILBWEZ3J.js.map → chunk-Y3LBWRXS.js.map} +1 -1
  19. package/dist/{chunk-5JR64WMK.js → chunk-YWYCEEBF.js} +3 -3
  20. package/dist/{chunk-5JR64WMK.js.map → chunk-YWYCEEBF.js.map} +1 -1
  21. package/dist/document-tools/index.cjs +42 -42
  22. package/dist/document-tools/index.js +4 -4
  23. package/dist/index.cjs +619 -551
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/{index.d-Bvp6rKNo.d.ts → index.d-C_Fa1zTU.d.cts} +85 -20
  26. package/dist/{index.d-Bvp6rKNo.d.cts → index.d-C_Fa1zTU.d.ts} +85 -20
  27. package/dist/index.d.cts +23 -3
  28. package/dist/index.d.ts +23 -3
  29. package/dist/index.js +45 -18
  30. package/dist/index.js.map +1 -1
  31. package/dist/shell/index.cjs +64 -24
  32. package/dist/shell/index.d.cts +1 -1
  33. package/dist/shell/index.d.ts +1 -1
  34. package/dist/shell/index.js +1 -1
  35. package/package.json +3 -3
  36. package/dist/chunk-DGMK3EUN.js.map +0 -1
  37. package/dist/chunk-U7A6DMQO.js.map +0 -1
  38. package/dist/chunk-XZT5ET3N.cjs.map +0 -1
  39. package/dist/chunk-ZI2VJOID.cjs.map +0 -1
@@ -117,25 +117,28 @@ declare function mentionFromHref(href: string | null | undefined): {
117
117
  declare function hasMessageBody(value: string, recipientLabel?: string): boolean;
118
118
 
119
119
  /**
120
- * Drafting mode: the saved document open beside the chat is what a chat turn is about.
120
+ * Drafting mode: the documents open beside the chat, and which one a chat turn drafts in.
121
121
  *
122
- * A viewer registers the document it shows (`useRegisterOpenDocument`); every assistant turn names
123
- * it (`active_artifact_ext_id`, read with `takeOpenDocumentForTurn` as the question is sent), so the
124
- * server binds the live document to the turn: a Word document is read on demand and edited as
125
- * tracked changes in the open editor, and what the assistant saves becomes a child version of it.
126
- * The request carries a reference, never the content.
122
+ * A viewer registers the document it shows (`useRegisterOpenDocument`). Being open binds nothing:
123
+ * a turn names a document (`active_artifact_ext_id`, read with `takeDocumentForTurn` as the
124
+ * question is sent) only when its thread is bound to it (`./thread-document`: started from the
125
+ * document, or attached in that thread), when the document was made in that thread, or when the
126
+ * open document is ambient (an email draft open in the composer). The server then binds the live
127
+ * document to the turn: a Word document is read on demand and edited as tracked changes in the
128
+ * open editor, and what the assistant saves becomes a child version of it. The request carries a
129
+ * reference, never the content.
127
130
  *
128
- * The open document is always the subject, also while one of its earlier versions is on screen
131
+ * The named document is always the subject, also while one of its earlier versions is on screen
129
132
  * read-only: a version still names its document. Sending a turn then returns the viewer to the live
130
133
  * document (`showLive`), where the assistant's edits appear as they are made. (Pinning a specific
131
134
  * version as a source is a separate feature: it does not go through here.)
132
135
  *
133
136
  * A module-level registry (not React context), like `useChatSurface`, so a viewer and a chat agree
134
- * wherever they sit in the tree; the most recently opened document wins and closing it hands back
135
- * to the one before. It is not the session state's viewing document (`useArbiSessionState`): it
136
- * holds what mounted viewers can draft in (saved documents only, with the callback that shows the
137
- * live one again), and a turn reads it outside React. A viewer on the session's viewing document
138
- * passes that as `shownId` (it may be a version reference, resolved here the same way as
137
+ * wherever they sit in the tree; the most recently opened document is on top and closing it hands
138
+ * back to the one before. It is not the session state's viewing document (`useArbiSessionState`):
139
+ * it holds what mounted viewers can draft in (saved documents only, with the callback that shows
140
+ * the live one again), and a turn reads it outside React. A viewer on the session's viewing
141
+ * document passes that as `shownId` (it may be a version reference, resolved here the same way as
139
142
  * `selectViewingDocumentId` does).
140
143
  */
141
144
  /** What a viewer knows about the document it shows. */
@@ -169,23 +172,85 @@ interface OpenDocumentRegistration {
169
172
  showLive?: () => void;
170
173
  /** The workspace the document belongs to; a chat in another workspace does not draft in it. */
171
174
  workspaceId?: string | null;
175
+ /** The thread the document was made in: that thread drafts in it without being bound to it. */
176
+ conversationId?: string | null;
177
+ /**
178
+ * Drafted in by whichever chat is beside it, bound or not (an email draft open in the composer:
179
+ * the composer is a drafting surface of its own).
180
+ */
181
+ ambient?: boolean;
172
182
  }
173
183
  /**
174
184
  * Registers the document a viewer shows as the open document while the caller is mounted and
175
185
  * `documentId` is set. Pass `savedDocumentIdFor(...)`, or the id of a document known to be saved.
176
186
  */
177
187
  declare function useRegisterOpenDocument(registration: OpenDocumentRegistration): void;
178
- /** The open document's id, or null. Re-renders when another document opens or it closes. */
179
- declare function useOpenDocumentId(): string | null;
188
+ /** The open document's id (the most recently opened), or null. Re-renders when it changes. */
189
+ declare function useOpenDocumentId(options?: {
190
+ workspaceId?: string | null;
191
+ }): string | null;
192
+ /** The open document's id (the most recently opened); with `workspaceId`, only one of it. */
193
+ declare function openDocumentId(options?: {
194
+ workspaceId?: string | null;
195
+ }): string | null;
196
+ /** What a turn is about to be sent in: its conversation and the document its thread is bound to. */
197
+ interface TurnDocumentInput {
198
+ /** The thread's bound document (`threadDocumentId` / the session's `newChatDocumentId`). */
199
+ boundDocumentId: string | null | undefined;
200
+ /** The conversation (null: a new chat). */
201
+ conversationId: string | null | undefined;
202
+ /** The chat's workspace: an open document of another workspace is never picked up. */
203
+ workspaceId?: string | null;
204
+ }
205
+ /** The document a turn sent now would draft in, or null. Re-renders as documents open and close. */
206
+ declare function useTurnDocumentId(input: TurnDocumentInput): string | null;
180
207
  /**
181
208
  * The document an assistant turn about to be sent drafts in, or null. Call it once per turn as the
182
209
  * question is sent: when an earlier version of the document is on screen, the viewer returns to the
183
- * live document, where the assistant's edits appear. With `workspaceId`, a document registered in
184
- * another workspace is not named (and its viewer is left alone).
210
+ * live document, where the assistant's edits appear.
185
211
  */
186
- declare function takeOpenDocumentForTurn(options?: {
187
- workspaceId?: string | null;
188
- }): string | null;
212
+ declare function takeDocumentForTurn(input: TurnDocumentInput): string | null;
213
+
214
+ /**
215
+ * A thread's document: the one document a conversation drafts in, part of the conversation.
216
+ *
217
+ * A thread is bound to a document only when it was started from it ("Chat about this document" in
218
+ * the viewer) or the person attached it in that thread. Only that thread names it on its turns
219
+ * (`active_artifact_ext_id`), on every turn and after a reload. A document merely open or docked
220
+ * beside the chat binds nothing: a new chat (the ask bar, the new-chat button, the thread
221
+ * launcher, home) starts unbound, so a question there never becomes an edit of whatever is open.
222
+ *
223
+ * A new chat's binding is the session's `newChatDocumentId` (opening a new chat clears it); the
224
+ * first turn moves it here, under the conversation's id. Saved threads' bindings are kept on the
225
+ * device (`localStorage`), so a reload keeps them.
226
+ */
227
+ /** What this module needs of the session store (structural: the shell entry stays light). */
228
+ interface NewChatSession {
229
+ getState(): {
230
+ conversationId: string | null;
231
+ newChatDocumentId: string | null;
232
+ };
233
+ setNewChatDocumentId(documentId: string | null): void;
234
+ }
235
+ declare function subscribeThreadDocuments(listener: () => void): () => void;
236
+ /** The document a saved conversation is bound to, or null. */
237
+ declare function threadDocumentId(conversationId: string | null | undefined): string | null;
238
+ /** Bind a saved conversation to a document, or (null) unbind it. */
239
+ declare function bindThreadDocument(conversationId: string, documentId: string | null): void;
240
+ /** The most recently bound conversation of a document, or null. */
241
+ declare function latestThreadOfDocument(documentId: string): string | null;
242
+ /** The document the open conversation is bound to (its saved binding, or the new chat's). */
243
+ declare function boundDocumentOf(state: ReturnType<NewChatSession['getState']>): string | null;
244
+ /**
245
+ * A new chat got its server id: the document it was bound to is now the conversation's. Call it
246
+ * beside `session.moveConversation('new', id)`; `documentId` is the binding its first turn was sent
247
+ * with (default: the session's new-chat binding).
248
+ */
249
+ declare function adoptNewChatDocument(session: NewChatSession, conversationId: string, documentId?: string | null): void;
250
+ /** Test seam: forget every binding (and what is stored). */
251
+ declare function resetThreadDocumentsForTests(): void;
252
+ /** Test seam: read the stored bindings again, as a reload does. */
253
+ declare function reloadThreadDocumentsForTests(): void;
189
254
 
190
255
  /**
191
256
  * A search's state outside any component: the query last searched, its passages, and whether it
@@ -387,4 +452,4 @@ declare function NotificationBell({ renderTrigger, onNavigate, onSelectNotificat
387
452
 
388
453
  declare function Toaster({ toastOptions, ...props }: ToasterProps): React$1.JSX.Element;
389
454
 
390
- export { type AppNotification as A, persistNotifyHistory as B, persistSearchSession as C, DEFAULT_NOTIFY_TONE as D, requestSearch as E, savedDocumentIdFor as F, seedNotifications as G, type HostConfigRecord as H, selectUnread as I, sharedSearchSession as J, takeOpenDocumentForTurn as K, takePendingSearch as L, MAX_SESSION_NOTIFICATIONS as M, NotificationBell as N, type OpenDocumentRegistration as O, toMessageMentions as P, useHostConfigRecord as Q, useNotify as R, type SavedDocumentInput as S, Toaster as T, useOpenDocumentId as U, useRegisterOpenDocument as V, ArbiHost as a, type ArbiHostConnection as b, type ArbiHostProps as c, MENTION_HREF_PREFIX as d, type MentionCandidate as e, type MentionKind as f, type MessageMentionRef as g, type NotificationBellProps as h, type NotificationBellTriggerState as i, type NotifyConfig as j, type NotifyOptions as k, type NotifyVariant as l, type SearchSession as m, type SearchSessionState as n, type SearchStatus as o, clearSearchSession as p, configureNotify as q, createSearchSession as r, extractMentions as s, filterMentionCandidates as t, findMentionQuery as u, hasMessageBody as v, insertMention as w, linkMentions as x, mentionFromHref as y, notify as z };
455
+ export { toMessageMentions as $, type AppNotification as A, insertMention as B, latestThreadOfDocument as C, DEFAULT_NOTIFY_TONE as D, linkMentions as E, mentionFromHref as F, notify as G, type HostConfigRecord as H, openDocumentId as I, persistNotifyHistory as J, persistSearchSession as K, reloadThreadDocumentsForTests as L, MAX_SESSION_NOTIFICATIONS as M, NotificationBell as N, type OpenDocumentRegistration as O, requestSearch as P, resetThreadDocumentsForTests as Q, savedDocumentIdFor as R, type SavedDocumentInput as S, Toaster as T, seedNotifications as U, selectUnread as V, sharedSearchSession as W, subscribeThreadDocuments as X, takeDocumentForTurn as Y, takePendingSearch as Z, threadDocumentId as _, ArbiHost as a, useHostConfigRecord as a0, useNotify as a1, useOpenDocumentId as a2, useRegisterOpenDocument as a3, useTurnDocumentId as a4, type ArbiHostConnection as b, type ArbiHostProps as c, MENTION_HREF_PREFIX as d, type MentionCandidate as e, type MentionKind as f, type MessageMentionRef as g, type NotificationBellProps as h, type NotificationBellTriggerState as i, type NotifyConfig as j, type NotifyOptions as k, type NotifyVariant as l, type SearchSession as m, type SearchSessionState as n, type SearchStatus as o, type TurnDocumentInput as p, adoptNewChatDocument as q, bindThreadDocument as r, boundDocumentOf as s, clearSearchSession as t, configureNotify as u, createSearchSession as v, extractMentions as w, filterMentionCandidates as x, findMentionQuery as y, hasMessageBody as z };
@@ -117,25 +117,28 @@ declare function mentionFromHref(href: string | null | undefined): {
117
117
  declare function hasMessageBody(value: string, recipientLabel?: string): boolean;
118
118
 
119
119
  /**
120
- * Drafting mode: the saved document open beside the chat is what a chat turn is about.
120
+ * Drafting mode: the documents open beside the chat, and which one a chat turn drafts in.
121
121
  *
122
- * A viewer registers the document it shows (`useRegisterOpenDocument`); every assistant turn names
123
- * it (`active_artifact_ext_id`, read with `takeOpenDocumentForTurn` as the question is sent), so the
124
- * server binds the live document to the turn: a Word document is read on demand and edited as
125
- * tracked changes in the open editor, and what the assistant saves becomes a child version of it.
126
- * The request carries a reference, never the content.
122
+ * A viewer registers the document it shows (`useRegisterOpenDocument`). Being open binds nothing:
123
+ * a turn names a document (`active_artifact_ext_id`, read with `takeDocumentForTurn` as the
124
+ * question is sent) only when its thread is bound to it (`./thread-document`: started from the
125
+ * document, or attached in that thread), when the document was made in that thread, or when the
126
+ * open document is ambient (an email draft open in the composer). The server then binds the live
127
+ * document to the turn: a Word document is read on demand and edited as tracked changes in the
128
+ * open editor, and what the assistant saves becomes a child version of it. The request carries a
129
+ * reference, never the content.
127
130
  *
128
- * The open document is always the subject, also while one of its earlier versions is on screen
131
+ * The named document is always the subject, also while one of its earlier versions is on screen
129
132
  * read-only: a version still names its document. Sending a turn then returns the viewer to the live
130
133
  * document (`showLive`), where the assistant's edits appear as they are made. (Pinning a specific
131
134
  * version as a source is a separate feature: it does not go through here.)
132
135
  *
133
136
  * A module-level registry (not React context), like `useChatSurface`, so a viewer and a chat agree
134
- * wherever they sit in the tree; the most recently opened document wins and closing it hands back
135
- * to the one before. It is not the session state's viewing document (`useArbiSessionState`): it
136
- * holds what mounted viewers can draft in (saved documents only, with the callback that shows the
137
- * live one again), and a turn reads it outside React. A viewer on the session's viewing document
138
- * passes that as `shownId` (it may be a version reference, resolved here the same way as
137
+ * wherever they sit in the tree; the most recently opened document is on top and closing it hands
138
+ * back to the one before. It is not the session state's viewing document (`useArbiSessionState`):
139
+ * it holds what mounted viewers can draft in (saved documents only, with the callback that shows
140
+ * the live one again), and a turn reads it outside React. A viewer on the session's viewing
141
+ * document passes that as `shownId` (it may be a version reference, resolved here the same way as
139
142
  * `selectViewingDocumentId` does).
140
143
  */
141
144
  /** What a viewer knows about the document it shows. */
@@ -169,23 +172,85 @@ interface OpenDocumentRegistration {
169
172
  showLive?: () => void;
170
173
  /** The workspace the document belongs to; a chat in another workspace does not draft in it. */
171
174
  workspaceId?: string | null;
175
+ /** The thread the document was made in: that thread drafts in it without being bound to it. */
176
+ conversationId?: string | null;
177
+ /**
178
+ * Drafted in by whichever chat is beside it, bound or not (an email draft open in the composer:
179
+ * the composer is a drafting surface of its own).
180
+ */
181
+ ambient?: boolean;
172
182
  }
173
183
  /**
174
184
  * Registers the document a viewer shows as the open document while the caller is mounted and
175
185
  * `documentId` is set. Pass `savedDocumentIdFor(...)`, or the id of a document known to be saved.
176
186
  */
177
187
  declare function useRegisterOpenDocument(registration: OpenDocumentRegistration): void;
178
- /** The open document's id, or null. Re-renders when another document opens or it closes. */
179
- declare function useOpenDocumentId(): string | null;
188
+ /** The open document's id (the most recently opened), or null. Re-renders when it changes. */
189
+ declare function useOpenDocumentId(options?: {
190
+ workspaceId?: string | null;
191
+ }): string | null;
192
+ /** The open document's id (the most recently opened); with `workspaceId`, only one of it. */
193
+ declare function openDocumentId(options?: {
194
+ workspaceId?: string | null;
195
+ }): string | null;
196
+ /** What a turn is about to be sent in: its conversation and the document its thread is bound to. */
197
+ interface TurnDocumentInput {
198
+ /** The thread's bound document (`threadDocumentId` / the session's `newChatDocumentId`). */
199
+ boundDocumentId: string | null | undefined;
200
+ /** The conversation (null: a new chat). */
201
+ conversationId: string | null | undefined;
202
+ /** The chat's workspace: an open document of another workspace is never picked up. */
203
+ workspaceId?: string | null;
204
+ }
205
+ /** The document a turn sent now would draft in, or null. Re-renders as documents open and close. */
206
+ declare function useTurnDocumentId(input: TurnDocumentInput): string | null;
180
207
  /**
181
208
  * The document an assistant turn about to be sent drafts in, or null. Call it once per turn as the
182
209
  * question is sent: when an earlier version of the document is on screen, the viewer returns to the
183
- * live document, where the assistant's edits appear. With `workspaceId`, a document registered in
184
- * another workspace is not named (and its viewer is left alone).
210
+ * live document, where the assistant's edits appear.
185
211
  */
186
- declare function takeOpenDocumentForTurn(options?: {
187
- workspaceId?: string | null;
188
- }): string | null;
212
+ declare function takeDocumentForTurn(input: TurnDocumentInput): string | null;
213
+
214
+ /**
215
+ * A thread's document: the one document a conversation drafts in, part of the conversation.
216
+ *
217
+ * A thread is bound to a document only when it was started from it ("Chat about this document" in
218
+ * the viewer) or the person attached it in that thread. Only that thread names it on its turns
219
+ * (`active_artifact_ext_id`), on every turn and after a reload. A document merely open or docked
220
+ * beside the chat binds nothing: a new chat (the ask bar, the new-chat button, the thread
221
+ * launcher, home) starts unbound, so a question there never becomes an edit of whatever is open.
222
+ *
223
+ * A new chat's binding is the session's `newChatDocumentId` (opening a new chat clears it); the
224
+ * first turn moves it here, under the conversation's id. Saved threads' bindings are kept on the
225
+ * device (`localStorage`), so a reload keeps them.
226
+ */
227
+ /** What this module needs of the session store (structural: the shell entry stays light). */
228
+ interface NewChatSession {
229
+ getState(): {
230
+ conversationId: string | null;
231
+ newChatDocumentId: string | null;
232
+ };
233
+ setNewChatDocumentId(documentId: string | null): void;
234
+ }
235
+ declare function subscribeThreadDocuments(listener: () => void): () => void;
236
+ /** The document a saved conversation is bound to, or null. */
237
+ declare function threadDocumentId(conversationId: string | null | undefined): string | null;
238
+ /** Bind a saved conversation to a document, or (null) unbind it. */
239
+ declare function bindThreadDocument(conversationId: string, documentId: string | null): void;
240
+ /** The most recently bound conversation of a document, or null. */
241
+ declare function latestThreadOfDocument(documentId: string): string | null;
242
+ /** The document the open conversation is bound to (its saved binding, or the new chat's). */
243
+ declare function boundDocumentOf(state: ReturnType<NewChatSession['getState']>): string | null;
244
+ /**
245
+ * A new chat got its server id: the document it was bound to is now the conversation's. Call it
246
+ * beside `session.moveConversation('new', id)`; `documentId` is the binding its first turn was sent
247
+ * with (default: the session's new-chat binding).
248
+ */
249
+ declare function adoptNewChatDocument(session: NewChatSession, conversationId: string, documentId?: string | null): void;
250
+ /** Test seam: forget every binding (and what is stored). */
251
+ declare function resetThreadDocumentsForTests(): void;
252
+ /** Test seam: read the stored bindings again, as a reload does. */
253
+ declare function reloadThreadDocumentsForTests(): void;
189
254
 
190
255
  /**
191
256
  * A search's state outside any component: the query last searched, its passages, and whether it
@@ -387,4 +452,4 @@ declare function NotificationBell({ renderTrigger, onNavigate, onSelectNotificat
387
452
 
388
453
  declare function Toaster({ toastOptions, ...props }: ToasterProps): React$1.JSX.Element;
389
454
 
390
- export { type AppNotification as A, persistNotifyHistory as B, persistSearchSession as C, DEFAULT_NOTIFY_TONE as D, requestSearch as E, savedDocumentIdFor as F, seedNotifications as G, type HostConfigRecord as H, selectUnread as I, sharedSearchSession as J, takeOpenDocumentForTurn as K, takePendingSearch as L, MAX_SESSION_NOTIFICATIONS as M, NotificationBell as N, type OpenDocumentRegistration as O, toMessageMentions as P, useHostConfigRecord as Q, useNotify as R, type SavedDocumentInput as S, Toaster as T, useOpenDocumentId as U, useRegisterOpenDocument as V, ArbiHost as a, type ArbiHostConnection as b, type ArbiHostProps as c, MENTION_HREF_PREFIX as d, type MentionCandidate as e, type MentionKind as f, type MessageMentionRef as g, type NotificationBellProps as h, type NotificationBellTriggerState as i, type NotifyConfig as j, type NotifyOptions as k, type NotifyVariant as l, type SearchSession as m, type SearchSessionState as n, type SearchStatus as o, clearSearchSession as p, configureNotify as q, createSearchSession as r, extractMentions as s, filterMentionCandidates as t, findMentionQuery as u, hasMessageBody as v, insertMention as w, linkMentions as x, mentionFromHref as y, notify as z };
455
+ export { toMessageMentions as $, type AppNotification as A, insertMention as B, latestThreadOfDocument as C, DEFAULT_NOTIFY_TONE as D, linkMentions as E, mentionFromHref as F, notify as G, type HostConfigRecord as H, openDocumentId as I, persistNotifyHistory as J, persistSearchSession as K, reloadThreadDocumentsForTests as L, MAX_SESSION_NOTIFICATIONS as M, NotificationBell as N, type OpenDocumentRegistration as O, requestSearch as P, resetThreadDocumentsForTests as Q, savedDocumentIdFor as R, type SavedDocumentInput as S, Toaster as T, seedNotifications as U, selectUnread as V, sharedSearchSession as W, subscribeThreadDocuments as X, takeDocumentForTurn as Y, takePendingSearch as Z, threadDocumentId as _, ArbiHost as a, useHostConfigRecord as a0, useNotify as a1, useOpenDocumentId as a2, useRegisterOpenDocument as a3, useTurnDocumentId as a4, type ArbiHostConnection as b, type ArbiHostProps as c, MENTION_HREF_PREFIX as d, type MentionCandidate as e, type MentionKind as f, type MessageMentionRef as g, type NotificationBellProps as h, type NotificationBellTriggerState as i, type NotifyConfig as j, type NotifyOptions as k, type NotifyVariant as l, type SearchSession as m, type SearchSessionState as n, type SearchStatus as o, type TurnDocumentInput as p, adoptNewChatDocument as q, bindThreadDocument as r, boundDocumentOf as s, clearSearchSession as t, configureNotify as u, createSearchSession as v, extractMentions as w, filterMentionCandidates as x, findMentionQuery as y, hasMessageBody as z };
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { b as ArbiHostConnection, H as HostConfigRecord, c as ArbiHostProps, e as MentionCandidate, o as SearchStatus, m as SearchSession, l as NotifyVariant } from './index.d-Bvp6rKNo.cjs';
2
- export { A as AppNotification, D as DEFAULT_NOTIFY_TONE, M as MAX_SESSION_NOTIFICATIONS, d as MENTION_HREF_PREFIX, f as MentionKind, g as MessageMentionRef, N as NotificationBell, h as NotificationBellProps, i as NotificationBellTriggerState, j as NotifyConfig, k as NotifyOptions, O as OpenDocumentRegistration, S as SavedDocumentInput, n as SearchSessionState, T as Toaster, p as clearSearchSession, q as configureNotify, r as createSearchSession, s as extractMentions, t as filterMentionCandidates, u as findMentionQuery, v as hasMessageBody, w as insertMention, x as linkMentions, y as mentionFromHref, z as notify, B as persistNotifyHistory, C as persistSearchSession, E as requestSearch, F as savedDocumentIdFor, G as seedNotifications, I as selectUnread, J as sharedSearchSession, K as takeOpenDocumentForTurn, L as takePendingSearch, P as toMessageMentions, Q as useHostConfigRecord, R as useNotify, U as useOpenDocumentId, V as useRegisterOpenDocument } from './index.d-Bvp6rKNo.cjs';
1
+ import { b as ArbiHostConnection, H as HostConfigRecord, c as ArbiHostProps, e as MentionCandidate, o as SearchStatus, m as SearchSession, l as NotifyVariant } from './index.d-C_Fa1zTU.cjs';
2
+ export { A as AppNotification, D as DEFAULT_NOTIFY_TONE, M as MAX_SESSION_NOTIFICATIONS, d as MENTION_HREF_PREFIX, f as MentionKind, g as MessageMentionRef, N as NotificationBell, h as NotificationBellProps, i as NotificationBellTriggerState, j as NotifyConfig, k as NotifyOptions, O as OpenDocumentRegistration, S as SavedDocumentInput, n as SearchSessionState, T as Toaster, p as TurnDocumentInput, q as adoptNewChatDocument, r as bindThreadDocument, s as boundDocumentOf, t as clearSearchSession, u as configureNotify, v as createSearchSession, w as extractMentions, x as filterMentionCandidates, y as findMentionQuery, z as hasMessageBody, B as insertMention, C as latestThreadOfDocument, E as linkMentions, F as mentionFromHref, G as notify, I as openDocumentId, J as persistNotifyHistory, K as persistSearchSession, L as reloadThreadDocumentsForTests, P as requestSearch, Q as resetThreadDocumentsForTests, R as savedDocumentIdFor, U as seedNotifications, V as selectUnread, W as sharedSearchSession, X as subscribeThreadDocuments, Y as takeDocumentForTurn, Z as takePendingSearch, _ as threadDocumentId, $ as toMessageMentions, a0 as useHostConfigRecord, a1 as useNotify, a2 as useOpenDocumentId, a3 as useRegisterOpenDocument, a4 as useTurnDocumentId } from './index.d-C_Fa1zTU.cjs';
3
3
  import * as _arbidocs_sdk_browser from '@arbidocs/sdk/browser';
4
4
  import { LoginProfile, Arbi, EventCreateBody, ScopedTarget, EventPatchBody, RespondParams, ArtifactEvent, MailDraftSSEEvent, QuotaExceeded, ProbeAnswerEvent, AskRequest, AgentStepEvent, ChatMessage, OutputItemDone, UserInputRequestEvent, MessageQueuedEvent, UserMessageEvent, SSEStreamStartData, MessageMetadataPayload, DeferredInterjectionEvent, AgentControlStateEvent, TokenBudgetContext, Thread, workspaces, SSEStreamResult, AskHandlers, TagListQuery, ListFactsOptions, UpdateFactRequest, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, ConversationResponse, tags, TagResponse, TagKind, TagKindSchema, TagChange, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, ProjectResponse, ProjectCreateOptions, ProjectAddonKind, ProjectPlanChangeRequest, ProjectCheckoutRequest, ProjectQuoteRequest, ProjectAddonSettingsRequest, ProjectNextPeriodAddonsRequest, contacts, settings, account, ListEventsParams, CalendarWindow, OverlayLayerName, RoomCreateBody, CalendarEvent, FindTimeParams, RoomQuery, ShareRole, CalendarUpdate, OAuthAccountKind, CalendarAccount, CalDavConnectBody, calls, SearchChunk, chats, UploadDocumentsOptions, UploadResult } from '@arbidocs/sdk/browser';
5
5
  export { ACCOUNT_VENDOR, AccountSyncResult, ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AskHandlers, AskRequest, AttendeeRead, AuthMode, BookingConfirmation, BookingPage, BookingPageWriteBody, BookingRequestBody, BridgeTokensOptions, CalDavConnectBody, CalDavProfile, CalendarAccount, CalendarAccountKind, CalendarCreateBody, CalendarEvent, CalendarRead, CalendarSettings, CalendarSettingsBody, CalendarUpdate, CalendarWindow, ConnectorCatalogEntry, ConnectorFolder, ConnectorSyncProgress, ConnectorSyncStatus, ConnectorVendorKey, ConnectorVisibilitySettings, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, DEFAULT_AI_USD_PER_GBP, DRIVE_SYNC_VENDORS, DateTimeSpec, DriveSyncProgress, DriveSyncSummary, EditScope, EventCreateBody, EventPatchBody, FactResponse, FactSearchRequest, FactSearchResponse, FindTimeParams, FreeBusyEntry, GOOGLE_VENDORS, HolidayCountry, IMANAGE_VENDORS, ImportResult, InvitationRead, ListEventsParams, LoginProfile, MAILBOX_SYNC_VENDORS, MAX_RETRIEVE_DOC_IDS, MICROSOFT_VENDORS, MessageMetadataPayload, OAuthAccountKind, OutputTokensDetails, OverlayItem, OverlayLayerName, PendingAuthResponse, PersonKey, PlanWorkRequest, ProductResponse, ProjectAddonKind, ProjectCheckoutRequest, ProjectInvoicesResponse, ProjectPlanChangeRequest, ProjectQuoteRequest, ProjectResponse, ProjectUsageResponse, PublicBookingError, PublicBookingPage, RespondParams, RespondPartstat, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, RoomCreateBody, RoomQuery, RoomRead, SHAREPOINT_VENDORS, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, ScopedTarget, SearchChunk, ShareRead, ShareRole, SkillSummary, SlackConnectionStatus, SubscribeParams, SyncTriggerResult, TaskPlan, TaxQuoteResponse, TimeSuggestion, UpdateConversationRequest, UpdateWorkflowRequest, UserConnectorEntry, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WeeklyHoursSpec, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse, bookPublicSlot, cancelPublicBooking, connectErrorMessage, formatGbp, formatGbpPerMillionTokens, getPublicBookingPage, isConnectorVendorVisible, isDriveSyncVendor, isMailboxSyncVendor, isSharePointVendor, usdToGbp } from '@arbidocs/sdk/browser';
@@ -1116,6 +1116,13 @@ interface ArbiSessionState extends AgentControlMaps {
1116
1116
  agentId: string;
1117
1117
  workspaceId: string;
1118
1118
  } | null;
1119
+ /**
1120
+ * The document a new chat about to start is bound to (`doc-…`): set only by starting a chat from
1121
+ * a document ("Chat about this document") or attaching it in the new chat, never by a document
1122
+ * merely being open. Starting another new chat clears it; the first turn moves it to the
1123
+ * conversation (`chat/thread-document`).
1124
+ */
1125
+ newChatDocumentId: string | null;
1119
1126
  /** Each answer's timer, saved when it stops showing (`<conversation id>:<message id>`). */
1120
1127
  messageTimers: Readonly<Record<string, ArbiMessageTimer>>;
1121
1128
  }
@@ -1210,6 +1217,8 @@ interface ArbiSessionStore {
1210
1217
  agentId: string;
1211
1218
  workspaceId: string;
1212
1219
  } | null): void;
1220
+ /** Bind the new chat to a document (null: unbound). Opening a new chat's tab clears it. */
1221
+ setNewChatDocumentId(documentId: string | null): void;
1213
1222
  /** Edit a question: the composer holds it (its draft and line come back on cancel). */
1214
1223
  startEditing(messageId: string, content: string): void;
1215
1224
  /** Leave the edit: the composer gets its draft back, and the view the line it was on. */
@@ -1861,6 +1870,11 @@ interface StreamState {
1861
1870
  * person reload the page to see a label the model just created.
1862
1871
  */
1863
1872
  factsTouched: boolean;
1873
+ /**
1874
+ * The document the turn's thread is bound to, sent with it: a new chat's binding becomes the
1875
+ * conversation's once the server names it.
1876
+ */
1877
+ threadDocumentId?: string | null;
1864
1878
  /** The server confirmed this turn's user message: it is stored, so the turn exists there. */
1865
1879
  userMessageId?: string | null;
1866
1880
  /**
@@ -1891,6 +1905,12 @@ declare function createStreamHandlers(ctx: StreamHandlerContext, params: StreamH
1891
1905
  /** The stream handlers of this host's chat (its cache, session and chat host). */
1892
1906
  declare function useStreamHandlers(): (params: StreamHandlerParams) => StreamHandlers;
1893
1907
 
1908
+ /** The open conversation's bound document, and how to bind or (null) unbind it. */
1909
+ declare function useThreadDocument(): {
1910
+ documentId: string | null;
1911
+ bind: (documentId: string | null) => void;
1912
+ };
1913
+
1894
1914
  /**
1895
1915
  * Who can be @mentioned in a conversation, which mode it is in, and how a message is routed: to
1896
1916
  * ARBI (a turn) or to the people in the thread (a comment). The send path reads the caches here, so
@@ -14142,4 +14162,4 @@ declare function finishEntityExtraction(docIds: readonly string[]): void;
14142
14162
  /** The documents being extracted now. */
14143
14163
  declare function useEntityExtractionDocIds(): readonly string[];
14144
14164
 
14145
- export { AGENT_CONTROL_COMMANDS, ALLOWED_PORTAL_ORIGINS, ASSISTANT_MENTION_LABEL, AUDIO_MIME_PREFERENCE, AUTO_CHAT_MODEL, type AccessRequestPayload, type AccessRequestRecipient, type AccountClient, type AccountClientContextValue, type AccountHost, type AccountSession, type AccountSignOutOptions, ActiveCall, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AddWorkspaceMembersRequest, type AgentAccessMode, type AgentConfigSections, type AgentControlMaps, AgentDmStatus, type AgentQuestionRef, type AgentRunControlState, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, type ApplyCallEventOptions, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatHost, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversation, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDocumentViewerState, type ArbiDraftStorage, ArbiHost, type ArbiHostConfig, ArbiHostConnection, ArbiHostProps, type ArbiMessageTimer, type ArbiSessionState, type ArbiSessionStatus, type ArbiSessionStore, type ArbiSessionStoreOptions, type ArbiSignedInSession, type ArbiThreadTab, type ArbiThreadView, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWorkspaceStatus, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AskAgain, type AspectOption, type AssignDocTagsInput, type AssistantMode, AudIcon, type AudioPiece, type AvatarCrop, type AvatarFileProblem, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, type BranchNavigation, type BranchPoint, type BuildArchiveInput, type BuiltArchive, CALL_MODERATION_TOPIC, CONVERSATION_SWITCH_MEASURE, type CalendarConnectorSupport, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, type CalendarWriteOp, type CallInviteContact, type CallMutedNotice, type CallRoomEvents, type CallSlotMode, type CallUserPillProps, type CallsHost, ChatBubble, type ChatBubbleProps, ChatMemberKey, type ChatPost, ChatResponse, type ChatSummary, ChatThreadMessage, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, type ConfigUpdate, type ConversationActionsInput, type ConversationEvent, ConversationList, type ConversationListProps, ConversationScope, type ConversationScopeProps, type CreateProjectVars, type CreateTagInput, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, type DescribeServerNotificationOptions, DictateContextValue, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, type DocumentHostActions, type DocumentPerson, DocumentReview, type DocumentReviewProps, type DocumentRowChange, type DocumentStartItem, type DocumentsSupport, type DraftKeyValueStore, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, EXPORT_SAMPLE_RATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, type EntitledFeature, EntityIconComponent, type ExportDownloadRequest, type ExportFileKind, type ExtractedZip, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, FIRST_TOKEN_MEASURE, type FactListFilter, type FeatureEntitlements, type FeatureRefusal, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, type GenerateDocTagsInput, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HostConfigRecord, HtmlIcon, IN_FLIGHT_DOCUMENT_STATUSES, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, IncomingCall, InlineMicButton, type InlineMicButtonProps, JoinChoices, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MAX_THREAD_TABS, MIN_NARRATION_DWELL_MS, MIN_QUEUED_MESSAGE_VISIBILITY_MS, MUTED_DEDUPE_MS, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailHost, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, MeetingChatRef, MeetingChatTarget, MentionCandidate, type MessageArtifact, MessageArtifactCard, type MessageTimerResult, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type ModeratedTrack, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OpenAIIcon, type OpenedRecording, type OptimisticDocumentEdit, type OrderResolver, PLAYBACK_LOOKAHEAD_MS, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, type PeopleDirectory, type Person, PhotoCapture, type PhotoCaptureProps, type ProcessingTask, type ProfileView, type ProjectsUsageAggregate, type QueuedCalendarWrite, type QueuedDocument, type QueuedMessage, type QueuedMessages, type QuoteResolver, RECORDING_SEGMENTER, RUN_WINDOW_MS, type RecordedChunk, type RecordingWindow, type RefreshDocumentsOptions, type RefusedUploadFile, type RelatedDocs, type RelatedDocsMap, type RelevancePatch, type RemoveDocTagsInput, type RenderMarkdown, type RequestAccessOptions, SEGMENT_FRAME_MS, SEGMENT_PRE_ROLL_MS, SHORT_PIECE_MERGE_GAP_MS, SIGNATURE_NOTIFICATION_TYPES, SIMILARITY_THRESHOLD, SLOW_AFTER_MS, STILL_WORKING, type SaveAgentConfigVars, type SealedDraftStorageOptions, type SearchMode, SearchSession, SearchStatus, SegmenterConfig, type SemanticSearch, type SemanticSearchOptions, type SendMessageOptions, type SequencedRow, type SequencedTask, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, type StartTaskQuery, type StreamHandlerContext, type StreamHandlerParams, type StreamHandlers, type StreamState, type SwitchWorkspaceTarget, TRANSFER_POLL_MS, TaskThreadPendingError, type ThreadAccessors, type ThreadItem, type TimelinePart, type ToolResponses, type TrackCutter, type TrackPiece, type TranscriptExportLine, type TranscriptLineRef, type TranscriptSegmentMarker, type TransferConflictPolicy, type TransferKind, type TransferMode, type TransferPlan, type TransferScope, type TransferStatus, type TurnTools, TxtIcon, TypingIndicator, UPLOAD_ACCEPT, UPLOAD_MAX_FILE_SIZE, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadFilesInput, type UploadFilesProgress, type UploadFilesResult, type UploadFromUrlsInput, type UploadFromUrlsResult, type UploadRefusal, type UploadUrlsInput, type UsageTotals, type UseArbiShellWorkspacesOptions, type UseAskAgainOptions, type UseAvatarCropOptions, type UseCameraStreamResult, type UseConversationOptions, type UseDeleteAccountFlowOptions, type UseDownloadDocumentsOptions, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseMessageTimerOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseSwitchWorkspaceResult, type UseVideoRecorderResult, type UserResponse, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORK_NOTIFICATION_LABELS, type WorkspaceDocument, type WorkspaceExport, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceRole, type WorkspaceSwitchContext, type WorkspaceUpdate, XlsIcon, type ZipExtractor, __resetPendingFinalCommitsForTests, __resetStreamingTokenBufferForTests, acceptRing, accountPath, addAssistantMessageToCache, addConversationToList, addUserMessageToCache, adjustTagCounts, agentControl, aliasTakenMessage, allConversationThreads, annotateThread, announceMailDraftReplaced, appendTokenToMessage, applyCallEvent, applyConversationEvent, applyFinalContextToMessage, applyOptimisticDocumentEdit, applyOutputItemToMessage, arbiAccountClient, arbiMailClient, archiveName, archivedWorkspaceMessage, buildDocumentMetadataRows, buildMentionCandidates, buildPendingFirstTurn, buildWorkspaceArchive, cachedAssistantMode, cachedMentionCandidates, cachedQuotaUsedUp, callLink, callNotificationMeta, captureFrameAsBlob, chatTranscriptRef, classifyMediaError, clearLoadingState, clearSealedDrafts, clearUserInputRequest, clockTime, commitFinalMessage, completeQueuedUserMessageByContent, compositeFiles, compositeTrack, connectOAuthCalendarAccount, connectorErrorStatus, connectorReturnTo, conversationKey, createArbiSessionStore, createChunkedRecorder, createMailClient, createMutedNotifier, createSealedDraftStorage, createStreamHandlers, createTrackCutter, createWorkspaceSwitch, cropImage, cutAtPauses, dayKey, declineRing, decodeMono16k, defaultMailAlias, deploymentUserMeta, describeActivity, describeServerNotification, discardStreamingTokensForMessage, disconnectAttachedRun, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, dropTagFromCachedDocuments, encodeWav, ensureAssistantMessageLoading, entitlementRefusal, extensionFor, extractZipFile, fallbackFileName, fetchPart, fileAttachment, fileSafe, filesFromDrop, findConversation, finishEntityExtraction, floatToWav, flushStreamingTokens, forgetDocuments, forgetUploadedDocumentFolder, formatConfigValidationError, formatElapsed, formatIdentityPrice, formatRelativeTime, formatTranscriptMarkdown, getCachedDocuments, getInterjectionText, getNotificationTypeMeta, getOrphanedLastMessage, getRelatedLabels, getRelatedTotal, getRunStartedAt, getThreadsQueryKey, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasPendingFinalCommit, hasRecordingTranscript, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateCall, invalidateConversationActivity, invalidateConversationDetails, invalidateConversationLists, invalidateTagData, invalidateTagTables, isActivityKey, isAliasTakenError, isCommentToPeople, isConversationListKey, isConversationShared, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isFullConfig, isKnownSoloConversation, isMessageRunning, isOfflineReadableArbiQuery, isOrphanedUserMessage, isQueuedCalendarWrite, isRecordingSegmentId, isReplayableArbiMutation, isRestorableArbiQueryOnline, isRowNewer, isSignatureNotificationType, isStaleTaskUpdate, isTransferFinished, isTransferResumable, isUsageMetered, isWorkspaceArchivedError, isWorkspaceGuestOf, isWorkspaceNotificationType, isZipFile, joinFromPreJoin, mailDraftIdFromContent, mailJson, markMessageAsFailed, markNarrationSettled, mergeHostConfig, mountDiditVerification, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, nextAliasSuggestion, nextViewingDocument, notificationUserName, onCallEvent, openAccessRequest, openCall, openRecording, parseActivityContent, parseDeleteAccountBlockers, partKey, partsDue, patchCachedDocument, patchConversation, patchConversationList, patchDocuments, patchWorkspaceTags, pendingChatModelSave, peopleDirectory, personOfUser, pickRecentWorkspaces, pickRecorderMimeType, playheadAt, postRecordingDocsToThread, postTranscriptToThread, prepareUploadFiles, queuedMessages, recordingFiles, recordingWindowsOf, redlineStats, refreshDocuments, refuseChatWhenOffline, registerArbiMutationDefaults, registerAttachedRun, removeConversationFromLists, removeSettledNarration, resetCalendarAccountSyncState, resetMessageContent, resolveActiveWorkspace, resolveConfigModel, resolveDocumentStatus, resolveReplyTarget, rollbackOptimisticDocumentEdit, safePortalUrl, saveRecordingFilesToThread, schedulePart, selectDraft, selectIsGenerating, selectViewingDocumentId, setCachedDocument, setMessageContent, setUserInputRequest, settledByRows, signatureNotificationPhrase, signatureRequestMeta, sortTranscriptMessages, sortedParts, speakerTracks, speakerWav, splitIntoFiles, standalone, startChatCall, startContactsCall, startDmCall, startEntityExtraction, startThreadCall, startsMediaFile, stopDocumentsLoading, stripSpeakerPrefix, subscribeDocumentReads, subscribeDocumentRows, supersedeLiveTranscript, supersededTranscriptLines, supportsHouseTemplates, textToArtifact, threadEndingAtContains, threadTabId, threadTranscriptLines, threadTranscriptRef, timelineDurationMs, timelineOf, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, transcribeRecording, transcriptSegmentOf, updateMessageWithMetadata, updateUserMessageInCache, updateUserMessageStateInCache, uploadFolderOf, uploadedDocumentFolder, upsertDocuments, useAccountClient, useActOnStep, useActivity, useAddChatMembers, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentDmStatus, useAgentModels, useAgentRunControl, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAnswerAgentQuestion, useApplyChatModel, useArbi, useArbiConnected, useArbiDocumentSync, useArbiHost, useArbiSession, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAskAgain, useAssignDocTags, useAssistantQuery, useAuthorizeLimits, useAutoSendDraft, useAvailableModels, useAvatarCrop, useBookingPages, useBranchNavigation, useBuiltinCommands, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCall, useCallInviteLinks, useCallLiveUpdates, useCallRecording, useCallRecordings, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCameraStream, useCanCreateProjects, useCanEditShared, useCanHostCalls, useCancelDriveSync, useCancelMailboxSync, useCancelProjectSubscription, useCancelWorkspaceTransfer, useChangeProjectPlan, useChargeWatch, useChatLiveUpdates, useChatPost, useChatSummaries, useChatThread, useChatUnreadTotal, useChats, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfig, useConfigSchema, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectRunStream, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversation, useConversationActions, useConversationActivity, useConversationData, useConversationDocuments, useConversationIsShared, useConversationItems, useConversationPendingAuth, useConversationThreads, useConversationTurn, useConversationUsage, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateEvent, useCreateFact, useCreateFacts, useCreateGroupChat, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteChatMessage, useDeleteConfig, useDeleteContact, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteMessage, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDocument, useDocumentAutoAdd, useDocumentHostActions, useDocumentPendingSync, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsById, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useEntitlements, useEntityExtractionDocIds, useExtractEntities, useFacts, useFetchCalendarEvent, useFilteredProjects, useFinaliseTranslation, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useImportContacts, useInvalidateAfterTransfer, useInvalidateProjects, useInvalidateTagData, useInviteContacts, useIsCreatingTag, useIsEntitled, useIsSlow, useIsWorkspaceOwner, useLinkContact, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMailboxFolders, useMailboxSyncProgress, useMarkChatRead, useMarkNotificationsRead, useMcpTools, useMeetingReadOnly, useMentionCandidates, useMessageDetails, useMessageTimer, useMoveEvent, useMyConnectors, useNameEditor, useNotificationPreferences, useNotifications, useNotifyConversation, useOfflineDocumentIds, useOpenCallMeetingChat, useOpenSelectedWorkspace, useOpenViewerDocumentId, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePeople, usePeopleSearch, usePlanQuote, usePlanWork, usePlanWorkspaceTransfer, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingPortal, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRecordingActions, useRecordingWindows, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshProject, useRelatedDocuments, useRemoveChatMember, useRemoveDocTags, useRemoveWorkspaceMembers, useRenameChat, useRenameFolder, useRequestEmailChange, useRequestWorkspaceAccess, useRespondToEvent, useResumeCalendarAccountConnect, useResumeWorkspaceTransfer, useRevokeAgentAccess, useRevokeCallInviteLink, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveConfig, useSaveConfigField, useSaveMailDraft, useSaveSkill, useSaveToThread, useSearchContacts, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useServerCallsEnabled, useSessions, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSignedInSession, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartTaskQuery, useStartWorkspaceTransfer, useStreamHandlers, useSubscribeCalendar, useSwitchWorkspace, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThinkingContent, useThumbnails, useTopUpFirmPool, useTriggerDriveSync, useTriggerMailboxSync, useUnreadByPeer, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadFiles, useUploadFromUrls, useUploadSkillFiles, useUploadUrls, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkItems, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceExportDownload, useWorkspaceNotificationLevel, useWorkspaceRole, useWorkspaceTransfer, useWorkspaceTransfers, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, waitForResponseId, withRelativePath, workflowStepOf, workspaceHouseTemplateId, writeSamples };
14165
+ export { AGENT_CONTROL_COMMANDS, ALLOWED_PORTAL_ORIGINS, ASSISTANT_MENTION_LABEL, AUDIO_MIME_PREFERENCE, AUTO_CHAT_MODEL, type AccessRequestPayload, type AccessRequestRecipient, type AccountClient, type AccountClientContextValue, type AccountHost, type AccountSession, type AccountSignOutOptions, ActiveCall, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AddWorkspaceMembersRequest, type AgentAccessMode, type AgentConfigSections, type AgentControlMaps, AgentDmStatus, type AgentQuestionRef, type AgentRunControlState, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, type ApplyCallEventOptions, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatHost, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, type ArbiConversation, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDocumentViewerState, type ArbiDraftStorage, ArbiHost, type ArbiHostConfig, ArbiHostConnection, ArbiHostProps, type ArbiMessageTimer, type ArbiSessionState, type ArbiSessionStatus, type ArbiSessionStore, type ArbiSessionStoreOptions, type ArbiSignedInSession, type ArbiThreadTab, type ArbiThreadView, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWorkspaceStatus, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AskAgain, type AspectOption, type AssignDocTagsInput, type AssistantMode, AudIcon, type AudioPiece, type AvatarCrop, type AvatarFileProblem, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, type BranchNavigation, type BranchPoint, type BuildArchiveInput, type BuiltArchive, CALL_MODERATION_TOPIC, CONVERSATION_SWITCH_MEASURE, type CalendarConnectorSupport, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, type CalendarWriteOp, type CallInviteContact, type CallMutedNotice, type CallRoomEvents, type CallSlotMode, type CallUserPillProps, type CallsHost, ChatBubble, type ChatBubbleProps, ChatMemberKey, type ChatPost, ChatResponse, type ChatSummary, ChatThreadMessage, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, type ConfigUpdate, type ConversationActionsInput, type ConversationEvent, ConversationList, type ConversationListProps, ConversationScope, type ConversationScopeProps, type CreateProjectVars, type CreateTagInput, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, type DescribeServerNotificationOptions, DictateContextValue, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, type DocumentHostActions, type DocumentPerson, DocumentReview, type DocumentReviewProps, type DocumentRowChange, type DocumentStartItem, type DocumentsSupport, type DraftKeyValueStore, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, EXPORT_SAMPLE_RATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, type EntitledFeature, EntityIconComponent, type ExportDownloadRequest, type ExportFileKind, type ExtractedZip, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, FIRST_TOKEN_MEASURE, type FactListFilter, type FeatureEntitlements, type FeatureRefusal, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, type GenerateDocTagsInput, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HostConfigRecord, HtmlIcon, IN_FLIGHT_DOCUMENT_STATUSES, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, IncomingCall, InlineMicButton, type InlineMicButtonProps, JoinChoices, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MAX_THREAD_TABS, MIN_NARRATION_DWELL_MS, MIN_QUEUED_MESSAGE_VISIBILITY_MS, MUTED_DEDUPE_MS, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailHost, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, MeetingChatRef, MeetingChatTarget, MentionCandidate, type MessageArtifact, MessageArtifactCard, type MessageTimerResult, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type ModeratedTrack, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OpenAIIcon, type OpenedRecording, type OptimisticDocumentEdit, type OrderResolver, PLAYBACK_LOOKAHEAD_MS, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, type PeopleDirectory, type Person, PhotoCapture, type PhotoCaptureProps, type ProcessingTask, type ProfileView, type ProjectsUsageAggregate, type QueuedCalendarWrite, type QueuedDocument, type QueuedMessage, type QueuedMessages, type QuoteResolver, RECORDING_SEGMENTER, RUN_WINDOW_MS, type RecordedChunk, type RecordingWindow, type RefreshDocumentsOptions, type RefusedUploadFile, type RelatedDocs, type RelatedDocsMap, type RelevancePatch, type RemoveDocTagsInput, type RenderMarkdown, type RequestAccessOptions, SEGMENT_FRAME_MS, SEGMENT_PRE_ROLL_MS, SHORT_PIECE_MERGE_GAP_MS, SIGNATURE_NOTIFICATION_TYPES, SIMILARITY_THRESHOLD, SLOW_AFTER_MS, STILL_WORKING, type SaveAgentConfigVars, type SealedDraftStorageOptions, type SearchMode, SearchSession, SearchStatus, SegmenterConfig, type SemanticSearch, type SemanticSearchOptions, type SendMessageOptions, type SequencedRow, type SequencedTask, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, type StartTaskQuery, type StreamHandlerContext, type StreamHandlerParams, type StreamHandlers, type StreamState, type SwitchWorkspaceTarget, TRANSFER_POLL_MS, TaskThreadPendingError, type ThreadAccessors, type ThreadItem, type TimelinePart, type ToolResponses, type TrackCutter, type TrackPiece, type TranscriptExportLine, type TranscriptLineRef, type TranscriptSegmentMarker, type TransferConflictPolicy, type TransferKind, type TransferMode, type TransferPlan, type TransferScope, type TransferStatus, type TurnTools, TxtIcon, TypingIndicator, UPLOAD_ACCEPT, UPLOAD_MAX_FILE_SIZE, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadFilesInput, type UploadFilesProgress, type UploadFilesResult, type UploadFromUrlsInput, type UploadFromUrlsResult, type UploadRefusal, type UploadUrlsInput, type UsageTotals, type UseArbiShellWorkspacesOptions, type UseAskAgainOptions, type UseAvatarCropOptions, type UseCameraStreamResult, type UseConversationOptions, type UseDeleteAccountFlowOptions, type UseDownloadDocumentsOptions, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseMessageTimerOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseSwitchWorkspaceResult, type UseVideoRecorderResult, type UserResponse, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORK_NOTIFICATION_LABELS, type WorkspaceDocument, type WorkspaceExport, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceRole, type WorkspaceSwitchContext, type WorkspaceUpdate, XlsIcon, type ZipExtractor, __resetPendingFinalCommitsForTests, __resetStreamingTokenBufferForTests, acceptRing, accountPath, addAssistantMessageToCache, addConversationToList, addUserMessageToCache, adjustTagCounts, agentControl, aliasTakenMessage, allConversationThreads, annotateThread, announceMailDraftReplaced, appendTokenToMessage, applyCallEvent, applyConversationEvent, applyFinalContextToMessage, applyOptimisticDocumentEdit, applyOutputItemToMessage, arbiAccountClient, arbiMailClient, archiveName, archivedWorkspaceMessage, buildDocumentMetadataRows, buildMentionCandidates, buildPendingFirstTurn, buildWorkspaceArchive, cachedAssistantMode, cachedMentionCandidates, cachedQuotaUsedUp, callLink, callNotificationMeta, captureFrameAsBlob, chatTranscriptRef, classifyMediaError, clearLoadingState, clearSealedDrafts, clearUserInputRequest, clockTime, commitFinalMessage, completeQueuedUserMessageByContent, compositeFiles, compositeTrack, connectOAuthCalendarAccount, connectorErrorStatus, connectorReturnTo, conversationKey, createArbiSessionStore, createChunkedRecorder, createMailClient, createMutedNotifier, createSealedDraftStorage, createStreamHandlers, createTrackCutter, createWorkspaceSwitch, cropImage, cutAtPauses, dayKey, declineRing, decodeMono16k, defaultMailAlias, deploymentUserMeta, describeActivity, describeServerNotification, discardStreamingTokensForMessage, disconnectAttachedRun, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, dropTagFromCachedDocuments, encodeWav, ensureAssistantMessageLoading, entitlementRefusal, extensionFor, extractZipFile, fallbackFileName, fetchPart, fileAttachment, fileSafe, filesFromDrop, findConversation, finishEntityExtraction, floatToWav, flushStreamingTokens, forgetDocuments, forgetUploadedDocumentFolder, formatConfigValidationError, formatElapsed, formatIdentityPrice, formatRelativeTime, formatTranscriptMarkdown, getCachedDocuments, getInterjectionText, getNotificationTypeMeta, getOrphanedLastMessage, getRelatedLabels, getRelatedTotal, getRunStartedAt, getThreadsQueryKey, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasPendingFinalCommit, hasRecordingTranscript, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateCall, invalidateConversationActivity, invalidateConversationDetails, invalidateConversationLists, invalidateTagData, invalidateTagTables, isActivityKey, isAliasTakenError, isCommentToPeople, isConversationListKey, isConversationShared, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isFullConfig, isKnownSoloConversation, isMessageRunning, isOfflineReadableArbiQuery, isOrphanedUserMessage, isQueuedCalendarWrite, isRecordingSegmentId, isReplayableArbiMutation, isRestorableArbiQueryOnline, isRowNewer, isSignatureNotificationType, isStaleTaskUpdate, isTransferFinished, isTransferResumable, isUsageMetered, isWorkspaceArchivedError, isWorkspaceGuestOf, isWorkspaceNotificationType, isZipFile, joinFromPreJoin, mailDraftIdFromContent, mailJson, markMessageAsFailed, markNarrationSettled, mergeHostConfig, mountDiditVerification, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, nextAliasSuggestion, nextViewingDocument, notificationUserName, onCallEvent, openAccessRequest, openCall, openRecording, parseActivityContent, parseDeleteAccountBlockers, partKey, partsDue, patchCachedDocument, patchConversation, patchConversationList, patchDocuments, patchWorkspaceTags, pendingChatModelSave, peopleDirectory, personOfUser, pickRecentWorkspaces, pickRecorderMimeType, playheadAt, postRecordingDocsToThread, postTranscriptToThread, prepareUploadFiles, queuedMessages, recordingFiles, recordingWindowsOf, redlineStats, refreshDocuments, refuseChatWhenOffline, registerArbiMutationDefaults, registerAttachedRun, removeConversationFromLists, removeSettledNarration, resetCalendarAccountSyncState, resetMessageContent, resolveActiveWorkspace, resolveConfigModel, resolveDocumentStatus, resolveReplyTarget, rollbackOptimisticDocumentEdit, safePortalUrl, saveRecordingFilesToThread, schedulePart, selectDraft, selectIsGenerating, selectViewingDocumentId, setCachedDocument, setMessageContent, setUserInputRequest, settledByRows, signatureNotificationPhrase, signatureRequestMeta, sortTranscriptMessages, sortedParts, speakerTracks, speakerWav, splitIntoFiles, standalone, startChatCall, startContactsCall, startDmCall, startEntityExtraction, startThreadCall, startsMediaFile, stopDocumentsLoading, stripSpeakerPrefix, subscribeDocumentReads, subscribeDocumentRows, supersedeLiveTranscript, supersededTranscriptLines, supportsHouseTemplates, textToArtifact, threadEndingAtContains, threadTabId, threadTranscriptLines, threadTranscriptRef, timelineDurationMs, timelineOf, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, transcribeRecording, transcriptSegmentOf, updateMessageWithMetadata, updateUserMessageInCache, updateUserMessageStateInCache, uploadFolderOf, uploadedDocumentFolder, upsertDocuments, useAccountClient, useActOnStep, useActivity, useAddChatMembers, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentDmStatus, useAgentModels, useAgentRunControl, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAnswerAgentQuestion, useApplyChatModel, useArbi, useArbiConnected, useArbiDocumentSync, useArbiHost, useArbiSession, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAskAgain, useAssignDocTags, useAssistantQuery, useAuthorizeLimits, useAutoSendDraft, useAvailableModels, useAvatarCrop, useBookingPages, useBranchNavigation, useBuiltinCommands, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCall, useCallInviteLinks, useCallLiveUpdates, useCallRecording, useCallRecordings, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCameraStream, useCanCreateProjects, useCanEditShared, useCanHostCalls, useCancelDriveSync, useCancelMailboxSync, useCancelProjectSubscription, useCancelWorkspaceTransfer, useChangeProjectPlan, useChargeWatch, useChatLiveUpdates, useChatPost, useChatSummaries, useChatThread, useChatUnreadTotal, useChats, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfig, useConfigSchema, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectRunStream, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversation, useConversationActions, useConversationActivity, useConversationData, useConversationDocuments, useConversationIsShared, useConversationItems, useConversationPendingAuth, useConversationThreads, useConversationTurn, useConversationUsage, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateEvent, useCreateFact, useCreateFacts, useCreateGroupChat, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteChatMessage, useDeleteConfig, useDeleteContact, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteMessage, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDocument, useDocumentAutoAdd, useDocumentHostActions, useDocumentPendingSync, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsById, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useEntitlements, useEntityExtractionDocIds, useExtractEntities, useFacts, useFetchCalendarEvent, useFilteredProjects, useFinaliseTranslation, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useImportContacts, useInvalidateAfterTransfer, useInvalidateProjects, useInvalidateTagData, useInviteContacts, useIsCreatingTag, useIsEntitled, useIsSlow, useIsWorkspaceOwner, useLinkContact, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMailboxFolders, useMailboxSyncProgress, useMarkChatRead, useMarkNotificationsRead, useMcpTools, useMeetingReadOnly, useMentionCandidates, useMessageDetails, useMessageTimer, useMoveEvent, useMyConnectors, useNameEditor, useNotificationPreferences, useNotifications, useNotifyConversation, useOfflineDocumentIds, useOpenCallMeetingChat, useOpenSelectedWorkspace, useOpenViewerDocumentId, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePeople, usePeopleSearch, usePlanQuote, usePlanWork, usePlanWorkspaceTransfer, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingPortal, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRecordingActions, useRecordingWindows, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshProject, useRelatedDocuments, useRemoveChatMember, useRemoveDocTags, useRemoveWorkspaceMembers, useRenameChat, useRenameFolder, useRequestEmailChange, useRequestWorkspaceAccess, useRespondToEvent, useResumeCalendarAccountConnect, useResumeWorkspaceTransfer, useRevokeAgentAccess, useRevokeCallInviteLink, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveConfig, useSaveConfigField, useSaveMailDraft, useSaveSkill, useSaveToThread, useSearchContacts, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useServerCallsEnabled, useSessions, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSignedInSession, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartTaskQuery, useStartWorkspaceTransfer, useStreamHandlers, useSubscribeCalendar, useSwitchWorkspace, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThinkingContent, useThreadDocument, useThumbnails, useTopUpFirmPool, useTriggerDriveSync, useTriggerMailboxSync, useUnreadByPeer, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadFiles, useUploadFromUrls, useUploadSkillFiles, useUploadUrls, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkItems, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceExportDownload, useWorkspaceNotificationLevel, useWorkspaceRole, useWorkspaceTransfer, useWorkspaceTransfers, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, waitForResponseId, withRelativePath, workflowStepOf, workspaceHouseTemplateId, writeSamples };