@arbidocs/react 0.5.72 → 0.5.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -66
- package/dist/artifacts/index.cjs +2 -2
- package/dist/artifacts/index.js +1 -1
- package/dist/calls/livekit/index.cjs +41 -41
- package/dist/calls/livekit/index.js +2 -2
- package/dist/{chunk-M3SB5TZB.js → chunk-6PNLCGMJ.js} +3 -3
- package/dist/{chunk-M3SB5TZB.js.map → chunk-6PNLCGMJ.js.map} +1 -1
- package/dist/{chunk-RS6UUPD2.cjs → chunk-BF7ABX3X.cjs} +875 -633
- package/dist/chunk-BF7ABX3X.cjs.map +1 -0
- package/dist/{chunk-HXITD6DN.cjs → chunk-C5SVEWPU.cjs} +5 -5
- package/dist/{chunk-HXITD6DN.cjs.map → chunk-C5SVEWPU.cjs.map} +1 -1
- package/dist/{chunk-QGOYIYLI.js → chunk-YWU7HEHL.js} +870 -634
- package/dist/chunk-YWU7HEHL.js.map +1 -0
- package/dist/index.cjs +499 -424
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +359 -235
- package/dist/index.d.ts +359 -235
- package/dist/index.js +61 -10
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-QGOYIYLI.js.map +0 -1
- package/dist/chunk-RS6UUPD2.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -807,6 +807,67 @@ declare function aliasTakenMessage(alias: string, suggestion: string, domain: st
|
|
|
807
807
|
/** The draft a `mail_draft_ready` notification is about (its content is `{"mail_id": …}`). */
|
|
808
808
|
declare function mailDraftIdFromContent(content: string | null | undefined): string | undefined;
|
|
809
809
|
|
|
810
|
+
/**
|
|
811
|
+
* The live state of a running turn that is not in the threads cache: follow-ups waiting in the
|
|
812
|
+
* agent bar's queue box, and the run-control state (pause / resume / report). Both are keyed by the
|
|
813
|
+
* streaming answer's id (the response id) and live in the session (`ArbiSessionState`); these are
|
|
814
|
+
* the pure updates every session store applies.
|
|
815
|
+
*/
|
|
816
|
+
|
|
817
|
+
/** A follow-up the person sent while a turn ran, shown in the agent bar until it is its own turn. */
|
|
818
|
+
interface QueuedMessage {
|
|
819
|
+
/** The client's own id, unique across turns. */
|
|
820
|
+
clientId: string;
|
|
821
|
+
content: string;
|
|
822
|
+
/** The stored user message, once the server confirmed the follow-up. */
|
|
823
|
+
serverId: string | null;
|
|
824
|
+
acknowledged: boolean;
|
|
825
|
+
/** When it was queued (epoch ms): a follow-up stays readable for a moment. */
|
|
826
|
+
createdAt: number;
|
|
827
|
+
}
|
|
828
|
+
/** Queued follow-ups per running answer (response id). */
|
|
829
|
+
type QueuedMessages = Readonly<Record<string, readonly QueuedMessage[]>>;
|
|
830
|
+
/**
|
|
831
|
+
* Control state of a running agent turn:
|
|
832
|
+
* - `running` normal streaming.
|
|
833
|
+
* - `pausing` the person sent /pause; awaiting the server's confirmed halt (optimistic).
|
|
834
|
+
* - `paused` the server confirmed the loop halted at a boundary.
|
|
835
|
+
* - `resuming` the person sent /resume; awaiting the stream to flow again (optimistic).
|
|
836
|
+
*/
|
|
837
|
+
type AgentRunControlState = 'running' | 'pausing' | 'paused' | 'resuming';
|
|
838
|
+
/** How long a confirmed follow-up stays in the queue box at least, so it can be read. */
|
|
839
|
+
declare const MIN_QUEUED_MESSAGE_VISIBILITY_MS = 800;
|
|
840
|
+
/** The queue updates. Client ids are unique, so the per-entry ones find it under any turn. */
|
|
841
|
+
declare const queuedMessages: {
|
|
842
|
+
add: (q: QueuedMessages, responseId: string, message: QueuedMessage) => QueuedMessages;
|
|
843
|
+
acknowledge: (q: QueuedMessages, clientId: string, serverId: string | null) => QueuedMessages;
|
|
844
|
+
remove: (q: QueuedMessages, clientId: string) => QueuedMessages;
|
|
845
|
+
removeByServerId: (q: QueuedMessages, serverId: string) => QueuedMessages;
|
|
846
|
+
removeByContent: (q: QueuedMessages, responseId: string, content: string) => QueuedMessages;
|
|
847
|
+
/** Take out the prompts a steering interjection delivered into the run. */
|
|
848
|
+
consume: (q: QueuedMessages, responseId: string, combinedContent: string) => QueuedMessages;
|
|
849
|
+
clear: (q: QueuedMessages, responseId: string) => QueuedMessages;
|
|
850
|
+
/** Move the entries still waiting on a finished turn to the turn that is now running. */
|
|
851
|
+
move: (q: QueuedMessages, fromResponseId: string, toResponseId: string) => QueuedMessages;
|
|
852
|
+
/** Find a queued follow-up by its client id, under whichever turn holds it. */
|
|
853
|
+
find: (q: QueuedMessages, clientId: string) => QueuedMessage | undefined;
|
|
854
|
+
};
|
|
855
|
+
/** The transient control state of the running turns, per response id. */
|
|
856
|
+
interface AgentControlMaps {
|
|
857
|
+
agentControlStates: Readonly<Record<string, AgentRunControlState>>;
|
|
858
|
+
agentProbeAnswers: Readonly<Record<string, ProbeAnswerEvent>>;
|
|
859
|
+
agentProbePending: Readonly<Record<string, boolean>>;
|
|
860
|
+
}
|
|
861
|
+
/** The control updates. */
|
|
862
|
+
declare const agentControl: {
|
|
863
|
+
setState: (c: AgentControlMaps, id: string, state: AgentRunControlState) => AgentControlMaps;
|
|
864
|
+
/** A probe answered: the latest answer, and nothing pending any more. */
|
|
865
|
+
setProbeAnswer: (c: AgentControlMaps, id: string, probe: ProbeAnswerEvent) => AgentControlMaps;
|
|
866
|
+
setProbePending: (c: AgentControlMaps, id: string, pending: boolean) => AgentControlMaps;
|
|
867
|
+
/** The turn is over: drop its control state. */
|
|
868
|
+
clear: (c: AgentControlMaps, id: string) => AgentControlMaps;
|
|
869
|
+
};
|
|
870
|
+
|
|
810
871
|
/**
|
|
811
872
|
* The composers' drafts kept across reloads: stored locally and encrypted, sealed to the signed-in
|
|
812
873
|
* person's own key like the other data kept on the device, so nothing typed is readable at rest.
|
|
@@ -927,9 +988,10 @@ declare function createStoragePersist<T>({ storage, key, parse, migrate, delayMs
|
|
|
927
988
|
|
|
928
989
|
/**
|
|
929
990
|
* The thread tabs: the conversations open in the Threads page (`ConnectedThreadTabs` shows them),
|
|
930
|
-
* each with the composer it was left with, so switching back finds its line, its
|
|
931
|
-
* its
|
|
932
|
-
* (without what was typed: a host keeps
|
|
991
|
+
* each with the composer it was left with, so switching back finds its line, its edit, its model and
|
|
992
|
+
* its scroll position (its draft is the chat state's, kept per conversation: `ArbiChatState.drafts`).
|
|
993
|
+
* They are part of the layout's `tabs` and kept across reloads (without what was typed: a host keeps
|
|
994
|
+
* drafts sealed, `ArbiDraftStorage`).
|
|
933
995
|
*
|
|
934
996
|
* The changes here are pure: each takes the tabs and the composer being left, and says what the
|
|
935
997
|
* composer shows next, so a session store (the in-memory one, or a host's adapter over its own
|
|
@@ -939,11 +1001,9 @@ declare function createStoragePersist<T>({ storage, key, parse, migrate, delayMs
|
|
|
939
1001
|
interface ArbiThreadTabView {
|
|
940
1002
|
/** The message the conversation continued from (its line). */
|
|
941
1003
|
cursor: string | null;
|
|
942
|
-
/** What was typed (kept in memory only; never in the saved layout). */
|
|
943
|
-
draft: string;
|
|
944
1004
|
/** The question being edited, or null. */
|
|
945
1005
|
editingMessageId: string | null;
|
|
946
|
-
/** The draft the edit put aside (in memory only
|
|
1006
|
+
/** The draft the edit put aside (in memory only; never in the saved layout). */
|
|
947
1007
|
preEditDraft: string | null;
|
|
948
1008
|
/** The line the edit put aside. */
|
|
949
1009
|
preEditCursor: string | null;
|
|
@@ -1162,8 +1222,6 @@ interface ArbiThreadTabsController {
|
|
|
1162
1222
|
/** The tab of `fromId` is now `toId`'s (a new chat got its id). */
|
|
1163
1223
|
rename(fromId: string, toId: string): void;
|
|
1164
1224
|
clear(): void;
|
|
1165
|
-
/** Fill in the tabs' drafts kept elsewhere, where none is typed. */
|
|
1166
|
-
restoreDrafts(drafts: Readonly<Record<string, string>>): void;
|
|
1167
1225
|
/** The scroll position the last tab switch brought back (once; null after). */
|
|
1168
1226
|
consumeScrollRestore(): number | null;
|
|
1169
1227
|
}
|
|
@@ -1187,165 +1245,25 @@ interface ArbiLayoutStoreOptions {
|
|
|
1187
1245
|
declare function createArbiLayoutStore({ persist, initial, }?: ArbiLayoutStoreOptions): ArbiLayoutStore;
|
|
1188
1246
|
|
|
1189
1247
|
/**
|
|
1190
|
-
* The session's
|
|
1191
|
-
*
|
|
1248
|
+
* The session's chat state: the open conversation and its composer (line, draft, edit, model), the
|
|
1249
|
+
* turns running in each conversation, the documents and facts in each conversation's context, and
|
|
1250
|
+
* the agent bar's queue and run control. One implementation for every host: the in-memory session
|
|
1251
|
+
* store is built on it, and so is ARBI-frontend's (which keeps it across reloads).
|
|
1192
1252
|
*
|
|
1193
|
-
* The
|
|
1194
|
-
*
|
|
1195
|
-
*
|
|
1196
|
-
* `useOpenSelectedWorkspace` opens the kept selection again.
|
|
1197
|
-
*/
|
|
1198
|
-
|
|
1199
|
-
/** Where the selection is kept across reloads. */
|
|
1200
|
-
interface ArbiWorkspaceStorage {
|
|
1201
|
-
load(): string | null;
|
|
1202
|
-
save(workspaceId: string | null): void;
|
|
1203
|
-
}
|
|
1204
|
-
/** The selection and its status. */
|
|
1205
|
-
interface ArbiWorkspaceState {
|
|
1206
|
-
workspaceId: string | null;
|
|
1207
|
-
workspaceStatus: ArbiWorkspaceStatus;
|
|
1208
|
-
}
|
|
1209
|
-
interface ArbiWorkspaceStore {
|
|
1210
|
-
getState(): ArbiWorkspaceState;
|
|
1211
|
-
subscribe(listener: () => void): () => void;
|
|
1212
|
-
setWorkspaceId(workspaceId: string | null): void;
|
|
1213
|
-
setWorkspaceStatus(status: ArbiWorkspaceStatus): void;
|
|
1214
|
-
/** No workspace, closed (a sign-in or sign-out: the next person starts on the workspace list). */
|
|
1215
|
-
reset(): void;
|
|
1216
|
-
}
|
|
1217
|
-
interface ArbiWorkspaceStoreOptions {
|
|
1218
|
-
storage?: ArbiWorkspaceStorage;
|
|
1219
|
-
/** The selection to start with instead of the kept one. */
|
|
1220
|
-
workspaceId?: string | null;
|
|
1221
|
-
}
|
|
1222
|
-
declare function createArbiWorkspaceStore({ storage, workspaceId, }?: ArbiWorkspaceStoreOptions): ArbiWorkspaceStore;
|
|
1223
|
-
/** The sessionStorage key of the selection (per tab). */
|
|
1224
|
-
declare const WORKSPACE_STORAGE_KEY = "arbi_workspace_id";
|
|
1225
|
-
/** The localStorage key of when each workspace was last opened (per browser). */
|
|
1226
|
-
declare const WORKSPACE_LAST_OPENED_KEY = "arbi_workspace_last_opened";
|
|
1227
|
-
interface BrowserWorkspaceStorageOptions {
|
|
1228
|
-
/** Default {@link WORKSPACE_STORAGE_KEY}. */
|
|
1229
|
-
key?: string;
|
|
1230
|
-
/** Default {@link WORKSPACE_LAST_OPENED_KEY}. */
|
|
1231
|
-
lastOpenedKey?: string;
|
|
1232
|
-
}
|
|
1233
|
-
/**
|
|
1234
|
-
* The browser's: the selection per tab (sessionStorage), and when each workspace was last opened
|
|
1235
|
-
* per browser (localStorage, read with {@link readWorkspaceLastOpened}: "recently opened" is a
|
|
1236
|
-
* history that outlives a tab, the selection deliberately does not).
|
|
1237
|
-
*/
|
|
1238
|
-
declare function browserWorkspaceStorage({ key, lastOpenedKey, }?: BrowserWorkspaceStorageOptions): ArbiWorkspaceStorage;
|
|
1239
|
-
/** When each workspace was last opened in this browser (`external_id` → epoch ms). */
|
|
1240
|
-
declare function readWorkspaceLastOpened(lastOpenedKey?: string): Record<string, number>;
|
|
1241
|
-
|
|
1242
|
-
/**
|
|
1243
|
-
* The live state of a running turn that is not in the threads cache: follow-ups waiting in the
|
|
1244
|
-
* agent bar's queue box, and the run-control state (pause / resume / report). Both are keyed by the
|
|
1245
|
-
* streaming answer's id (the response id) and live in the session (`ArbiSessionState`); these are
|
|
1246
|
-
* the pure updates every session store applies.
|
|
1247
|
-
*/
|
|
1248
|
-
|
|
1249
|
-
/** A follow-up the person sent while a turn ran, shown in the agent bar until it is its own turn. */
|
|
1250
|
-
interface QueuedMessage {
|
|
1251
|
-
/** The client's own id, unique across turns. */
|
|
1252
|
-
clientId: string;
|
|
1253
|
-
content: string;
|
|
1254
|
-
/** The stored user message, once the server confirmed the follow-up. */
|
|
1255
|
-
serverId: string | null;
|
|
1256
|
-
acknowledged: boolean;
|
|
1257
|
-
/** When it was queued (epoch ms): a follow-up stays readable for a moment. */
|
|
1258
|
-
createdAt: number;
|
|
1259
|
-
}
|
|
1260
|
-
/** Queued follow-ups per running answer (response id). */
|
|
1261
|
-
type QueuedMessages = Readonly<Record<string, readonly QueuedMessage[]>>;
|
|
1262
|
-
/**
|
|
1263
|
-
* Control state of a running agent turn:
|
|
1264
|
-
* - `running` normal streaming.
|
|
1265
|
-
* - `pausing` the person sent /pause; awaiting the server's confirmed halt (optimistic).
|
|
1266
|
-
* - `paused` the server confirmed the loop halted at a boundary.
|
|
1267
|
-
* - `resuming` the person sent /resume; awaiting the stream to flow again (optimistic).
|
|
1268
|
-
*/
|
|
1269
|
-
type AgentRunControlState = 'running' | 'pausing' | 'paused' | 'resuming';
|
|
1270
|
-
/** How long a confirmed follow-up stays in the queue box at least, so it can be read. */
|
|
1271
|
-
declare const MIN_QUEUED_MESSAGE_VISIBILITY_MS = 800;
|
|
1272
|
-
/** The queue updates. Client ids are unique, so the per-entry ones find it under any turn. */
|
|
1273
|
-
declare const queuedMessages: {
|
|
1274
|
-
add: (q: QueuedMessages, responseId: string, message: QueuedMessage) => QueuedMessages;
|
|
1275
|
-
acknowledge: (q: QueuedMessages, clientId: string, serverId: string | null) => QueuedMessages;
|
|
1276
|
-
remove: (q: QueuedMessages, clientId: string) => QueuedMessages;
|
|
1277
|
-
removeByServerId: (q: QueuedMessages, serverId: string) => QueuedMessages;
|
|
1278
|
-
removeByContent: (q: QueuedMessages, responseId: string, content: string) => QueuedMessages;
|
|
1279
|
-
/** Take out the prompts a steering interjection delivered into the run. */
|
|
1280
|
-
consume: (q: QueuedMessages, responseId: string, combinedContent: string) => QueuedMessages;
|
|
1281
|
-
clear: (q: QueuedMessages, responseId: string) => QueuedMessages;
|
|
1282
|
-
/** Move the entries still waiting on a finished turn to the turn that is now running. */
|
|
1283
|
-
move: (q: QueuedMessages, fromResponseId: string, toResponseId: string) => QueuedMessages;
|
|
1284
|
-
/** Find a queued follow-up by its client id, under whichever turn holds it. */
|
|
1285
|
-
find: (q: QueuedMessages, clientId: string) => QueuedMessage | undefined;
|
|
1286
|
-
};
|
|
1287
|
-
/** The transient control state of the running turns, per response id. */
|
|
1288
|
-
interface AgentControlMaps {
|
|
1289
|
-
agentControlStates: Readonly<Record<string, AgentRunControlState>>;
|
|
1290
|
-
agentProbeAnswers: Readonly<Record<string, ProbeAnswerEvent>>;
|
|
1291
|
-
agentProbePending: Readonly<Record<string, boolean>>;
|
|
1292
|
-
}
|
|
1293
|
-
/** The control updates. */
|
|
1294
|
-
declare const agentControl: {
|
|
1295
|
-
setState: (c: AgentControlMaps, id: string, state: AgentRunControlState) => AgentControlMaps;
|
|
1296
|
-
/** A probe answered: the latest answer, and nothing pending any more. */
|
|
1297
|
-
setProbeAnswer: (c: AgentControlMaps, id: string, probe: ProbeAnswerEvent) => AgentControlMaps;
|
|
1298
|
-
setProbePending: (c: AgentControlMaps, id: string, pending: boolean) => AgentControlMaps;
|
|
1299
|
-
/** The turn is over: drop its control state. */
|
|
1300
|
-
clear: (c: AgentControlMaps, id: string) => AgentControlMaps;
|
|
1301
|
-
};
|
|
1302
|
-
|
|
1303
|
-
/**
|
|
1304
|
-
* The session state every block reads and writes: the selected workspace, the current conversation,
|
|
1305
|
-
* the document being viewed, the document selection, generation per conversation, Personal
|
|
1306
|
-
* Assistant mode and the documents in each conversation.
|
|
1253
|
+
* The open composer and the thread tabs move together: a thread tab change (`openThreadTab` and the
|
|
1254
|
+
* like) is the layout's (`layout.threads`) applied here, and readers are told once, after both have
|
|
1255
|
+
* moved ({@link ArbiChatStore.batch}), so none sees a tab over another tab's conversation.
|
|
1307
1256
|
*
|
|
1308
|
-
*
|
|
1309
|
-
*
|
|
1310
|
-
* {@link
|
|
1311
|
-
* Other hosts use {@link createArbiSessionStore}, an in-memory store.
|
|
1257
|
+
* Kept across reloads (with a `persist`): the open conversation and its line, the context documents
|
|
1258
|
+
* and facts, each agent chat's agent and the chosen model. The drafts are kept apart, sealed to the
|
|
1259
|
+
* person ({@link ArbiDraftStorage}); everything else lives for the visit.
|
|
1312
1260
|
*/
|
|
1313
1261
|
|
|
1314
|
-
/** The document being viewed. */
|
|
1315
|
-
interface ArbiViewingDocument {
|
|
1316
|
-
/** The document (`doc-…`), or a version reference (`doc-…@v2`) while an earlier version shows. */
|
|
1317
|
-
id: string;
|
|
1318
|
-
/** The page being read, when known. */
|
|
1319
|
-
page: number | null;
|
|
1320
|
-
/** The passage being read, when one is. */
|
|
1321
|
-
passageId: string | null;
|
|
1322
|
-
}
|
|
1323
|
-
/** A tab of the document viewer. */
|
|
1324
|
-
type ArbiViewerTab = 'pdf' | 'edit' | 'html' | 'docx' | 'xlsx' | 'versions' | 'preview';
|
|
1325
|
-
/**
|
|
1326
|
-
* The document viewer's own state, shared with whatever opens documents (a citation opens the text
|
|
1327
|
-
* view, Compare from a documents list opens the redline): the open tab, the document compared with
|
|
1328
|
-
* the one viewed, and a tab asked for when a document was opened (applied once it has loaded).
|
|
1329
|
-
*/
|
|
1330
|
-
interface ArbiDocumentViewerState {
|
|
1331
|
-
tab: ArbiViewerTab;
|
|
1332
|
-
/** The document (or version reference) compared with the viewed one, or null. */
|
|
1333
|
-
compareId: string | null;
|
|
1334
|
-
/** A tab to show once `documentId` has loaded (a signature request opens on the PDF). */
|
|
1335
|
-
tabRequest: {
|
|
1336
|
-
documentId: string;
|
|
1337
|
-
tab: ArbiViewerTab;
|
|
1338
|
-
} | null;
|
|
1339
|
-
/** The text view's size, a multiplier of the normal size: a reading preference. */
|
|
1340
|
-
textScale: number;
|
|
1341
|
-
/** A phone user picked the PDF by hand: documents stop opening on the text view. */
|
|
1342
|
-
phonePdfChosen: boolean;
|
|
1343
|
-
}
|
|
1344
1262
|
/** Generation in one conversation. */
|
|
1345
1263
|
interface ArbiConversationGeneration {
|
|
1346
1264
|
isGenerating: boolean;
|
|
1347
1265
|
error: string | null;
|
|
1348
|
-
/** When the running turn started (epoch ms). */
|
|
1266
|
+
/** When the running turn started (epoch ms), once the server named its answer. */
|
|
1349
1267
|
startTime: number | null;
|
|
1350
1268
|
/** The answer being streamed (its response id), once the server named it. */
|
|
1351
1269
|
streamingAssistantId?: string | null;
|
|
@@ -1361,22 +1279,16 @@ interface ArbiConversationDocument {
|
|
|
1361
1279
|
docId: string;
|
|
1362
1280
|
isPinned: boolean;
|
|
1363
1281
|
}
|
|
1364
|
-
/**
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
/** Whether it is open on the server session (`useSwitchWorkspace` moves it). */
|
|
1373
|
-
workspaceStatus: ArbiWorkspaceStatus;
|
|
1282
|
+
/** An answer's timer: when its run started (epoch ms) and how long it took (seconds). */
|
|
1283
|
+
interface ArbiMessageTimer {
|
|
1284
|
+
startTime: number;
|
|
1285
|
+
elapsedTime: number;
|
|
1286
|
+
}
|
|
1287
|
+
/** A send's structured tools (`MessageInput.tools`). */
|
|
1288
|
+
type TurnTools = components['schemas']['MessageInput']['tools'];
|
|
1289
|
+
interface ArbiChatState extends AgentControlMaps {
|
|
1374
1290
|
/** The open conversation, or null for a new one / none. */
|
|
1375
1291
|
conversationId: string | null;
|
|
1376
|
-
viewingDocument: ArbiViewingDocument | null;
|
|
1377
|
-
documentViewer: ArbiDocumentViewerState;
|
|
1378
|
-
/** The documents selected in document lists. */
|
|
1379
|
-
selectedDocumentIds: readonly string[];
|
|
1380
1292
|
/** Generation state per conversation id. */
|
|
1381
1293
|
generating: Readonly<Record<string, ArbiConversationGeneration>>;
|
|
1382
1294
|
/** Personal Assistant mode for new conversations. */
|
|
@@ -1385,14 +1297,12 @@ interface ArbiSessionState extends AgentControlMaps, ArbiLayoutState {
|
|
|
1385
1297
|
conversationDocuments: Readonly<Record<string, readonly ArbiConversationDocument[]>>;
|
|
1386
1298
|
/**
|
|
1387
1299
|
* Per conversation id: true while an empty chat follows the workspace's documents (set by
|
|
1388
|
-
*
|
|
1300
|
+
* `useDocumentAutoAdd`); any other change of its documents is a choice and turns it off.
|
|
1389
1301
|
* Missing for a selection made before this was recorded.
|
|
1390
1302
|
*/
|
|
1391
1303
|
conversationDocumentAutoAdd: Readonly<Record<string, boolean>>;
|
|
1392
1304
|
/** The facts in each conversation's context, per conversation id (`new` for a new chat). */
|
|
1393
1305
|
conversationFacts: Readonly<Record<string, readonly string[]>>;
|
|
1394
|
-
/** The document read in full with each turn (one at a time). */
|
|
1395
|
-
pinnedDocumentId: string | null;
|
|
1396
1306
|
/** The message the open conversation continues from: the leaf of the line being viewed. */
|
|
1397
1307
|
cursor: string | null;
|
|
1398
1308
|
/** A follow-up the backend suggested for a conversation, offered in its composer. */
|
|
@@ -1403,9 +1313,9 @@ interface ArbiSessionState extends AgentControlMaps, ArbiLayoutState {
|
|
|
1403
1313
|
/** Follow-ups waiting in a running turn's agent bar, per response id. */
|
|
1404
1314
|
queuedMessages: QueuedMessages;
|
|
1405
1315
|
/**
|
|
1406
|
-
* What is typed in each
|
|
1407
|
-
*
|
|
1408
|
-
*
|
|
1316
|
+
* What is typed in each composer, per conversation id (`new` for a new chat): the open one's
|
|
1317
|
+
* (`selectDraft`) and each open thread tab's. A host may keep them across reloads, stored locally
|
|
1318
|
+
* and encrypted ({@link ArbiDraftStorage}).
|
|
1409
1319
|
*/
|
|
1410
1320
|
drafts: Readonly<Record<string, string>>;
|
|
1411
1321
|
/** The question being edited in the open conversation (sent as a new branch), or null. */
|
|
@@ -1444,62 +1354,26 @@ interface ArbiSessionState extends AgentControlMaps, ArbiLayoutState {
|
|
|
1444
1354
|
/** Each answer's timer, saved when it stops showing (`<conversation id>:<message id>`). */
|
|
1445
1355
|
messageTimers: Readonly<Record<string, ArbiMessageTimer>>;
|
|
1446
1356
|
}
|
|
1447
|
-
/**
|
|
1448
|
-
interface
|
|
1449
|
-
|
|
1450
|
-
elapsedTime: number;
|
|
1451
|
-
}
|
|
1452
|
-
/** A send's structured tools (`MessageInput.tools`). */
|
|
1453
|
-
type TurnTools = components['schemas']['MessageInput']['tools'];
|
|
1454
|
-
/** What to view: page and passage are left unchanged when omitted. */
|
|
1455
|
-
interface ArbiViewingDocumentInput {
|
|
1456
|
-
id: string;
|
|
1457
|
-
page?: number | null;
|
|
1458
|
-
passageId?: string | null;
|
|
1459
|
-
}
|
|
1460
|
-
interface ArbiSessionStore extends ArbiLayoutActions {
|
|
1461
|
-
/** The current state. The same object until something in it changes. */
|
|
1462
|
-
getState(): ArbiSessionState;
|
|
1463
|
-
/** Resolves once the saved layout has been read (at once when none is kept). */
|
|
1464
|
-
layoutHydrated(): Promise<void>;
|
|
1465
|
-
/** Whether the saved layout has been read. */
|
|
1466
|
-
isLayoutHydrated(): boolean;
|
|
1467
|
-
/** Be told when the state may have changed. Returns the unsubscribe. */
|
|
1468
|
-
subscribe(listener: () => void): () => void;
|
|
1469
|
-
setWorkspaceId(id: string | null): void;
|
|
1470
|
-
setWorkspaceStatus(status: ArbiWorkspaceStatus): void;
|
|
1471
|
-
/**
|
|
1472
|
-
* Drop everything scoped to the workspace being left (the open conversation and its generation,
|
|
1473
|
-
* the viewed document, the selection, the context documents and facts), before a switch. A host
|
|
1474
|
-
* with workspace-scoped state of its own clears that too.
|
|
1475
|
-
*/
|
|
1476
|
-
leaveWorkspace(): void;
|
|
1357
|
+
/** The chat's changes: every session store has them (`ArbiSessionStore`). */
|
|
1358
|
+
interface ArbiChatActions {
|
|
1359
|
+
/** Open a conversation in its thread tab (null: a new chat), as `openThreadTab`. */
|
|
1477
1360
|
setConversationId(id: string | null): void;
|
|
1478
|
-
/**
|
|
1479
|
-
* View a document, or none. Viewing another document resets the page; `page` and `passageId`
|
|
1480
|
-
* set them when given.
|
|
1481
|
-
*/
|
|
1482
|
-
setViewingDocument(document: ArbiViewingDocumentInput | null): void;
|
|
1483
|
-
/** Change the document viewer's state; fields not given stay. */
|
|
1484
|
-
setDocumentViewer(change: Partial<ArbiDocumentViewerState>): void;
|
|
1485
|
-
setSelectedDocumentIds(ids: string[]): void;
|
|
1486
1361
|
/** Start or end a conversation's turn; `abortController` is its local stream, which Stop aborts. */
|
|
1487
1362
|
setConversationGenerating(conversationId: string, isGenerating: boolean, abortController?: AbortController | null): void;
|
|
1488
1363
|
setPaMode(enabled: boolean): void;
|
|
1489
1364
|
/** Set a conversation's documents; `autoAdd` marks an automatic pick (default: the user's). */
|
|
1490
1365
|
setConversationDocuments(conversationId: string, documents: ArbiConversationDocument[], autoAdd?: boolean): void;
|
|
1491
1366
|
setConversationFacts(conversationId: string, factIds: string[]): void;
|
|
1492
|
-
setPinnedDocumentId(id: string | null): void;
|
|
1493
1367
|
/** The answer a conversation is streaming; `startTime` defaults to now (a re-attach passes the run's). */
|
|
1494
1368
|
setStreamingAssistantId(conversationId: string, assistantId: string, startTime?: number): void;
|
|
1495
1369
|
setBackendElapsed(conversationId: string, seconds: number): void;
|
|
1496
1370
|
/**
|
|
1497
|
-
* A new chat got its server id: its generation, documents and
|
|
1498
|
-
* `toId`, and it stays the open conversation.
|
|
1371
|
+
* A new chat got its server id: its generation, documents, facts, draft and tab move from
|
|
1372
|
+
* `fromId` (`new`) to `toId`, and it stays the open conversation.
|
|
1499
1373
|
*/
|
|
1500
1374
|
moveConversation(fromId: string, toId: string): void;
|
|
1501
1375
|
setCursor(messageId: string | null): void;
|
|
1502
|
-
setSuggestedQuery(suggestion:
|
|
1376
|
+
setSuggestedQuery(suggestion: ArbiChatState['suggestedQuery']): void;
|
|
1503
1377
|
addQueuedMessage(responseId: string, message: QueuedMessage): void;
|
|
1504
1378
|
acknowledgeQueuedMessage(clientId: string, serverId: string | null): void;
|
|
1505
1379
|
removeQueuedMessage(clientId: string): void;
|
|
@@ -1518,7 +1392,7 @@ interface ArbiSessionStore extends ArbiLayoutActions {
|
|
|
1518
1392
|
setChatModelName(model: string | undefined): void;
|
|
1519
1393
|
/**
|
|
1520
1394
|
* Show a conversation in its thread tab (null: a new chat) at its latest message, opening the tab
|
|
1521
|
-
* when it is not open (`tabs.threads`). Returns the tab's id.
|
|
1395
|
+
* when it is not open (`tabs.threads`); it is also the Threads page's tab. Returns the tab's id.
|
|
1522
1396
|
*/
|
|
1523
1397
|
openThreadTab(conversationId: string | null): string;
|
|
1524
1398
|
/** Close a thread tab; closing the one on screen shows the one beside it, else the thread list. */
|
|
@@ -1555,21 +1429,272 @@ interface ArbiSessionStore extends ArbiLayoutActions {
|
|
|
1555
1429
|
clearConversationError(conversationId: string): void;
|
|
1556
1430
|
/** Stop the conversation's local stream and end its turn. */
|
|
1557
1431
|
abortConversationGeneration(conversationId: string): void;
|
|
1558
|
-
/**
|
|
1432
|
+
/**
|
|
1433
|
+
* Leave the open conversation for a new one (its conversation was deleted): no line, edit, model
|
|
1434
|
+
* or document binding, Personal Assistant mode off.
|
|
1435
|
+
*/
|
|
1559
1436
|
startNewConversation(): void;
|
|
1560
1437
|
}
|
|
1438
|
+
interface ArbiChatStore extends ArbiChatActions {
|
|
1439
|
+
/** The current state. The same object until something in it changes. */
|
|
1440
|
+
getState(): ArbiChatState;
|
|
1441
|
+
/** Be told after each change (once per batch). Returns the unsubscribe. */
|
|
1442
|
+
subscribe(listener: () => void): () => void;
|
|
1443
|
+
/**
|
|
1444
|
+
* `listener`, told after the batch running when it is called (at once outside one): a session
|
|
1445
|
+
* store subscribes its readers to the layout and the rest through this, so a thread tab change
|
|
1446
|
+
* reaches them once.
|
|
1447
|
+
*/
|
|
1448
|
+
settled(listener: () => void): () => void;
|
|
1449
|
+
/** Drop a reader's notification still waiting for a batch to end (it unsubscribed). */
|
|
1450
|
+
forget(listener: () => void): void;
|
|
1451
|
+
/** Run `change`, telling readers once when it is done. */
|
|
1452
|
+
batch<T>(change: () => T): T;
|
|
1453
|
+
/** Resolves once the saved chat state has been read (at once without a `persist`). */
|
|
1454
|
+
hydrated(): Promise<void>;
|
|
1455
|
+
isHydrated(): boolean;
|
|
1456
|
+
/**
|
|
1457
|
+
* Bring back the saved drafts once they can be opened (the person's key is there once signed in
|
|
1458
|
+
* and a workspace is open); a draft typed meanwhile wins over its saved copy. Safe to call often.
|
|
1459
|
+
*/
|
|
1460
|
+
restoreDrafts(): void;
|
|
1461
|
+
/**
|
|
1462
|
+
* The workspace is being left: its turns stop (the server finishes them), and its conversation,
|
|
1463
|
+
* composers, thread tabs, facts, timers and the new chat's documents are dropped. Saved
|
|
1464
|
+
* conversations keep their documents.
|
|
1465
|
+
*/
|
|
1466
|
+
leave(): void;
|
|
1467
|
+
/**
|
|
1468
|
+
* Start over (sign-in, sign-out): everything is dropped and every running turn stopped, except
|
|
1469
|
+
* the agent chats' agents, which another person's sign-in drops.
|
|
1470
|
+
*/
|
|
1471
|
+
reset(): void;
|
|
1472
|
+
}
|
|
1473
|
+
/** What is kept across reloads. */
|
|
1474
|
+
interface ArbiSavedChat {
|
|
1475
|
+
version: 1;
|
|
1476
|
+
/** The pieces an earlier build's own saved state was brought in for (the host's migration). */
|
|
1477
|
+
migrated: string[];
|
|
1478
|
+
conversationId: string | null;
|
|
1479
|
+
cursor: string | null;
|
|
1480
|
+
conversationDocuments: Record<string, ArbiConversationDocument[]>;
|
|
1481
|
+
conversationDocumentAutoAdd: Record<string, boolean>;
|
|
1482
|
+
conversationFacts: Record<string, string[]>;
|
|
1483
|
+
agentChatOwners: Record<string, string>;
|
|
1484
|
+
/** Who the agent chats belong to (null: not known, as in an earlier build's save). */
|
|
1485
|
+
agentChatOwnersUser: string | null;
|
|
1486
|
+
chatModel: string | null;
|
|
1487
|
+
}
|
|
1488
|
+
declare const EMPTY_CHAT_STATE: ArbiChatState;
|
|
1489
|
+
/**
|
|
1490
|
+
* A saved chat state as this build reads it: whatever an earlier or a broken save left is dropped
|
|
1491
|
+
* rather than read. Never throws; null when there is nothing usable.
|
|
1492
|
+
*/
|
|
1493
|
+
declare function parseSavedChat(saved: unknown): ArbiSavedChat | null;
|
|
1494
|
+
/** What of a chat state is saved. */
|
|
1495
|
+
declare function savedChatOf(state: ArbiChatState, migrated: string[], agentChatOwnersUser?: string | null): ArbiSavedChat;
|
|
1496
|
+
interface ArbiChatStoreOptions {
|
|
1497
|
+
/** The layout whose thread tabs the composer moves with. */
|
|
1498
|
+
layout: ArbiLayoutStore;
|
|
1499
|
+
/** Keep the open conversation, the context and the model across reloads. */
|
|
1500
|
+
persist?: ArbiSessionPersist<ArbiSavedChat>;
|
|
1501
|
+
/** Keep the composers' drafts across reloads (see `createSealedDraftStorage`). */
|
|
1502
|
+
draftStorage?: ArbiDraftStorage;
|
|
1503
|
+
/** Where the open conversation is scrolled to, saved with its tab when another one shows. */
|
|
1504
|
+
scrollTop?: () => number | null;
|
|
1505
|
+
/**
|
|
1506
|
+
* The signed-in user (default: the draft storage's owner). The agent chats' agents are kept over a
|
|
1507
|
+
* sign-in of the same person and dropped when another person signs in.
|
|
1508
|
+
*/
|
|
1509
|
+
user?: () => string | null;
|
|
1510
|
+
/** The state to start from (unit tests, a host's initial state); a saved one fills it in. */
|
|
1511
|
+
initial?: Partial<ArbiChatState>;
|
|
1512
|
+
}
|
|
1513
|
+
declare function createArbiChatStore({ layout, persist, draftStorage, scrollTop, user, initial, }: ArbiChatStoreOptions): ArbiChatStore;
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* The session's selected workspace (`workspaceId`) and where it stands on the server session
|
|
1517
|
+
* (`workspaceStatus`). `useSwitchWorkspace` moves both; a session store reads them from here.
|
|
1518
|
+
*
|
|
1519
|
+
* The selection is kept per tab (sessionStorage), so a reload stays in the workspace and each tab
|
|
1520
|
+
* can be in a different one; a new sign-in starts with none ({@link ArbiWorkspaceStore.reset}).
|
|
1521
|
+
* The status is never kept: after a reload the server session is new, and
|
|
1522
|
+
* `useOpenSelectedWorkspace` opens the kept selection again.
|
|
1523
|
+
*/
|
|
1524
|
+
|
|
1525
|
+
/** Where the selection is kept across reloads. */
|
|
1526
|
+
interface ArbiWorkspaceStorage {
|
|
1527
|
+
load(): string | null;
|
|
1528
|
+
save(workspaceId: string | null): void;
|
|
1529
|
+
}
|
|
1530
|
+
/** The selection and its status. */
|
|
1531
|
+
interface ArbiWorkspaceState {
|
|
1532
|
+
workspaceId: string | null;
|
|
1533
|
+
workspaceStatus: ArbiWorkspaceStatus;
|
|
1534
|
+
}
|
|
1535
|
+
interface ArbiWorkspaceStore {
|
|
1536
|
+
getState(): ArbiWorkspaceState;
|
|
1537
|
+
subscribe(listener: () => void): () => void;
|
|
1538
|
+
setWorkspaceId(workspaceId: string | null): void;
|
|
1539
|
+
setWorkspaceStatus(status: ArbiWorkspaceStatus): void;
|
|
1540
|
+
/** No workspace, closed (a sign-in or sign-out: the next person starts on the workspace list). */
|
|
1541
|
+
reset(): void;
|
|
1542
|
+
}
|
|
1543
|
+
interface ArbiWorkspaceStoreOptions {
|
|
1544
|
+
storage?: ArbiWorkspaceStorage;
|
|
1545
|
+
/** The selection to start with instead of the kept one. */
|
|
1546
|
+
workspaceId?: string | null;
|
|
1547
|
+
}
|
|
1548
|
+
declare function createArbiWorkspaceStore({ storage, workspaceId, }?: ArbiWorkspaceStoreOptions): ArbiWorkspaceStore;
|
|
1549
|
+
/** The sessionStorage key of the selection (per tab). */
|
|
1550
|
+
declare const WORKSPACE_STORAGE_KEY = "arbi_workspace_id";
|
|
1551
|
+
/** The localStorage key of when each workspace was last opened (per browser). */
|
|
1552
|
+
declare const WORKSPACE_LAST_OPENED_KEY = "arbi_workspace_last_opened";
|
|
1553
|
+
interface BrowserWorkspaceStorageOptions {
|
|
1554
|
+
/** Default {@link WORKSPACE_STORAGE_KEY}. */
|
|
1555
|
+
key?: string;
|
|
1556
|
+
/** Default {@link WORKSPACE_LAST_OPENED_KEY}. */
|
|
1557
|
+
lastOpenedKey?: string;
|
|
1558
|
+
}
|
|
1559
|
+
/**
|
|
1560
|
+
* The browser's: the selection per tab (sessionStorage), and when each workspace was last opened
|
|
1561
|
+
* per browser (localStorage, read with {@link readWorkspaceLastOpened}: "recently opened" is a
|
|
1562
|
+
* history that outlives a tab, the selection deliberately does not).
|
|
1563
|
+
*/
|
|
1564
|
+
declare function browserWorkspaceStorage({ key, lastOpenedKey, }?: BrowserWorkspaceStorageOptions): ArbiWorkspaceStorage;
|
|
1565
|
+
/** When each workspace was last opened in this browser (`external_id` → epoch ms). */
|
|
1566
|
+
declare function readWorkspaceLastOpened(lastOpenedKey?: string): Record<string, number>;
|
|
1567
|
+
|
|
1568
|
+
/**
|
|
1569
|
+
* The session state every block reads and writes: the selected workspace, the layout, the chat (the
|
|
1570
|
+
* open conversation and its composer, generation per conversation, the context documents and facts)
|
|
1571
|
+
* and the documents being viewed and selected.
|
|
1572
|
+
*
|
|
1573
|
+
* An {@link ArbiSessionStore} is the adapter a host gives as its configuration's `session`. It is
|
|
1574
|
+
* made of parts ({@link composeArbiSessionStore}): the layout (`createArbiLayoutStore`), the
|
|
1575
|
+
* workspace (`createArbiWorkspaceStore`), the chat (`createArbiChatStore`) and the documents
|
|
1576
|
+
* ({@link createArbiDocumentSessionStore}, or a host's own over its state). Hosts without state of
|
|
1577
|
+
* their own use {@link createArbiSessionStore}, every part in memory.
|
|
1578
|
+
*/
|
|
1579
|
+
|
|
1580
|
+
/** The document being viewed. */
|
|
1581
|
+
interface ArbiViewingDocument {
|
|
1582
|
+
/** The document (`doc-…`), or a version reference (`doc-…@v2`) while an earlier version shows. */
|
|
1583
|
+
id: string;
|
|
1584
|
+
/** The page being read, when known. */
|
|
1585
|
+
page: number | null;
|
|
1586
|
+
/** The passage being read, when one is. */
|
|
1587
|
+
passageId: string | null;
|
|
1588
|
+
}
|
|
1589
|
+
/** A tab of the document viewer. */
|
|
1590
|
+
type ArbiViewerTab = 'pdf' | 'edit' | 'html' | 'docx' | 'xlsx' | 'versions' | 'preview';
|
|
1591
|
+
/**
|
|
1592
|
+
* The document viewer's own state, shared with whatever opens documents (a citation opens the text
|
|
1593
|
+
* view, Compare from a documents list opens the redline): the open tab, the document compared with
|
|
1594
|
+
* the one viewed, and a tab asked for when a document was opened (applied once it has loaded).
|
|
1595
|
+
*/
|
|
1596
|
+
interface ArbiDocumentViewerState {
|
|
1597
|
+
tab: ArbiViewerTab;
|
|
1598
|
+
/** The document (or version reference) compared with the viewed one, or null. */
|
|
1599
|
+
compareId: string | null;
|
|
1600
|
+
/** A tab to show once `documentId` has loaded (a signature request opens on the PDF). */
|
|
1601
|
+
tabRequest: {
|
|
1602
|
+
documentId: string;
|
|
1603
|
+
tab: ArbiViewerTab;
|
|
1604
|
+
} | null;
|
|
1605
|
+
/** The text view's size, a multiplier of the normal size: a reading preference. */
|
|
1606
|
+
textScale: number;
|
|
1607
|
+
/** A phone user picked the PDF by hand: documents stop opening on the text view. */
|
|
1608
|
+
phonePdfChosen: boolean;
|
|
1609
|
+
}
|
|
1610
|
+
/**
|
|
1611
|
+
* Where the selected workspace stands on the server session: `opening` while a switch waits for
|
|
1612
|
+
* `/open` (the host may cover the page), `open` once workspace-scoped requests may run.
|
|
1613
|
+
*/
|
|
1614
|
+
type ArbiWorkspaceStatus = 'closed' | 'opening' | 'open';
|
|
1615
|
+
/** The documents being viewed and selected. */
|
|
1616
|
+
interface ArbiDocumentSessionState {
|
|
1617
|
+
viewingDocument: ArbiViewingDocument | null;
|
|
1618
|
+
documentViewer: ArbiDocumentViewerState;
|
|
1619
|
+
/** The documents selected in document lists. */
|
|
1620
|
+
selectedDocumentIds: readonly string[];
|
|
1621
|
+
/** The document read in full with each turn (one at a time). */
|
|
1622
|
+
pinnedDocumentId: string | null;
|
|
1623
|
+
}
|
|
1624
|
+
interface ArbiSessionState extends ArbiChatState, ArbiDocumentSessionState, ArbiLayoutState, ArbiWorkspaceState {
|
|
1625
|
+
}
|
|
1626
|
+
/** What to view: page and passage are left unchanged when omitted. */
|
|
1627
|
+
interface ArbiViewingDocumentInput {
|
|
1628
|
+
id: string;
|
|
1629
|
+
page?: number | null;
|
|
1630
|
+
passageId?: string | null;
|
|
1631
|
+
}
|
|
1632
|
+
/** The documents' changes. */
|
|
1633
|
+
interface ArbiDocumentSessionActions {
|
|
1634
|
+
/**
|
|
1635
|
+
* View a document, or none. Viewing another document resets the page; `page` and `passageId`
|
|
1636
|
+
* set them when given.
|
|
1637
|
+
*/
|
|
1638
|
+
setViewingDocument(document: ArbiViewingDocumentInput | null): void;
|
|
1639
|
+
/** Change the document viewer's state; fields not given stay. */
|
|
1640
|
+
setDocumentViewer(change: Partial<ArbiDocumentViewerState>): void;
|
|
1641
|
+
setSelectedDocumentIds(ids: string[]): void;
|
|
1642
|
+
setPinnedDocumentId(id: string | null): void;
|
|
1643
|
+
}
|
|
1644
|
+
/** The documents part of a session store. */
|
|
1645
|
+
interface ArbiDocumentSessionStore extends ArbiDocumentSessionActions {
|
|
1646
|
+
/** The current state. The same object until something in it changes. */
|
|
1647
|
+
getState(): ArbiDocumentSessionState;
|
|
1648
|
+
subscribe(listener: () => void): () => void;
|
|
1649
|
+
/** The workspace is being left: nothing is viewed, selected or pinned. */
|
|
1650
|
+
leave(): void;
|
|
1651
|
+
}
|
|
1652
|
+
interface ArbiSessionStore extends ArbiLayoutActions, ArbiChatActions, ArbiDocumentSessionActions {
|
|
1653
|
+
/** The current state. The same object until something in it changes. */
|
|
1654
|
+
getState(): ArbiSessionState;
|
|
1655
|
+
/** Resolves once the saved layout has been read (at once when none is kept). */
|
|
1656
|
+
layoutHydrated(): Promise<void>;
|
|
1657
|
+
/** Whether the saved layout has been read. */
|
|
1658
|
+
isLayoutHydrated(): boolean;
|
|
1659
|
+
/** Be told when the state may have changed. Returns the unsubscribe. */
|
|
1660
|
+
subscribe(listener: () => void): () => void;
|
|
1661
|
+
setWorkspaceId(id: string | null): void;
|
|
1662
|
+
setWorkspaceStatus(status: ArbiWorkspaceStatus): void;
|
|
1663
|
+
/**
|
|
1664
|
+
* Drop everything scoped to the workspace being left (the open conversation and its generation,
|
|
1665
|
+
* the thread tabs, the viewed document, the selection, the context documents and facts), before a
|
|
1666
|
+
* switch. A host with workspace-scoped state of its own clears that too.
|
|
1667
|
+
*/
|
|
1668
|
+
leaveWorkspace(): void;
|
|
1669
|
+
}
|
|
1561
1670
|
declare const DEFAULT_DOCUMENT_VIEWER_STATE: ArbiDocumentViewerState;
|
|
1562
1671
|
declare const EMPTY_SESSION_STATE: ArbiSessionState;
|
|
1563
1672
|
/** The viewed document itself (`doc-…`), also while one of its earlier versions is on screen. */
|
|
1564
1673
|
declare const selectViewingDocumentId: (state: ArbiSessionState) => string | null;
|
|
1565
1674
|
/** The conversation key drafts and context are kept under: its id, or `new` for a new chat. */
|
|
1566
|
-
declare const conversationKey: (state:
|
|
1675
|
+
declare const conversationKey: (state: Pick<ArbiChatState, "conversationId">) => string;
|
|
1567
1676
|
/** What is typed in the open conversation's composer. */
|
|
1568
|
-
declare const selectDraft: (state:
|
|
1677
|
+
declare const selectDraft: (state: Pick<ArbiChatState, "conversationId" | "drafts">) => string;
|
|
1569
1678
|
/** Whether `conversationId` is generating. */
|
|
1570
|
-
declare const selectIsGenerating: (conversationId: string | null | undefined) => (state:
|
|
1679
|
+
declare const selectIsGenerating: (conversationId: string | null | undefined) => (state: Pick<ArbiChatState, "generating">) => boolean;
|
|
1571
1680
|
/** The next viewing document, given the current one (shared by every store implementation). */
|
|
1572
1681
|
declare function nextViewingDocument(current: ArbiViewingDocument | null, input: ArbiViewingDocumentInput | null): ArbiViewingDocument | null;
|
|
1682
|
+
/** The documents part in memory. */
|
|
1683
|
+
declare function createArbiDocumentSessionStore(initial?: Partial<ArbiDocumentSessionState>): ArbiDocumentSessionStore;
|
|
1684
|
+
/** The layout actions of a session store, on its layout store. */
|
|
1685
|
+
declare function layoutActionsOf(layout: ArbiLayoutStore): ArbiLayoutActions;
|
|
1686
|
+
/** The parts a session store is made of. */
|
|
1687
|
+
interface ArbiSessionParts {
|
|
1688
|
+
layout: ArbiLayoutStore;
|
|
1689
|
+
workspace: ArbiWorkspaceStore;
|
|
1690
|
+
chat: ArbiChatStore;
|
|
1691
|
+
documents: ArbiDocumentSessionStore;
|
|
1692
|
+
}
|
|
1693
|
+
/**
|
|
1694
|
+
* A session store made of its parts: its state is theirs, and readers are told once per change (a
|
|
1695
|
+
* thread tab change moves the layout and the chat: once, after both).
|
|
1696
|
+
*/
|
|
1697
|
+
declare function composeArbiSessionStore({ layout, workspace, chat, documents, }: ArbiSessionParts): ArbiSessionStore;
|
|
1573
1698
|
/** Options of {@link createArbiSessionStore}. */
|
|
1574
1699
|
interface ArbiSessionStoreOptions {
|
|
1575
1700
|
/** Keep the composers' drafts across reloads (see {@link createSealedDraftStorage}). */
|
|
@@ -1583,8 +1708,7 @@ interface ArbiSessionStoreOptions {
|
|
|
1583
1708
|
*/
|
|
1584
1709
|
workspace?: ArbiWorkspaceStore;
|
|
1585
1710
|
}
|
|
1586
|
-
/**
|
|
1587
|
-
declare function layoutActionsOf(layout: ArbiLayoutStore): ArbiLayoutActions;
|
|
1711
|
+
/** An in-memory session store: the default for hosts without state of their own. */
|
|
1588
1712
|
declare function createArbiSessionStore(initial?: Partial<ArbiSessionState>, { draftStorage, persist, workspace, }?: ArbiSessionStoreOptions): ArbiSessionStore;
|
|
1589
1713
|
|
|
1590
1714
|
/** A PATCH of the user settings: only the fields given change (lists are sent whole). */
|
|
@@ -3901,7 +4025,7 @@ declare function useConversations(workspaceId: string | undefined, options?: {
|
|
|
3901
4025
|
} | {
|
|
3902
4026
|
type: "tabular_review";
|
|
3903
4027
|
tags: string[];
|
|
3904
|
-
documents: "
|
|
4028
|
+
documents: "workspace" | "run_uploads" | (string | {
|
|
3905
4029
|
step?: string | null | undefined;
|
|
3906
4030
|
input?: string | null | undefined;
|
|
3907
4031
|
})[];
|
|
@@ -6699,7 +6823,7 @@ declare function useConversationItems(): {
|
|
|
6699
6823
|
} | {
|
|
6700
6824
|
type: "tabular_review";
|
|
6701
6825
|
tags: string[];
|
|
6702
|
-
documents: "
|
|
6826
|
+
documents: "workspace" | "run_uploads" | (string | {
|
|
6703
6827
|
step?: string | null | undefined;
|
|
6704
6828
|
input?: string | null | undefined;
|
|
6705
6829
|
})[];
|
|
@@ -6842,7 +6966,7 @@ declare function useConversationItems(): {
|
|
|
6842
6966
|
} | {
|
|
6843
6967
|
type: "tabular_review";
|
|
6844
6968
|
tags: string[];
|
|
6845
|
-
documents: "
|
|
6969
|
+
documents: "workspace" | "run_uploads" | (string | {
|
|
6846
6970
|
step?: string | null | undefined;
|
|
6847
6971
|
input?: string | null | undefined;
|
|
6848
6972
|
})[];
|
|
@@ -6986,7 +7110,7 @@ declare function useConversationItems(): {
|
|
|
6986
7110
|
} | {
|
|
6987
7111
|
type: "tabular_review";
|
|
6988
7112
|
tags: string[];
|
|
6989
|
-
documents: "
|
|
7113
|
+
documents: "workspace" | "run_uploads" | (string | {
|
|
6990
7114
|
step?: string | null | undefined;
|
|
6991
7115
|
input?: string | null | undefined;
|
|
6992
7116
|
})[];
|
|
@@ -7134,7 +7258,7 @@ declare function useWorkItems(): {
|
|
|
7134
7258
|
} | {
|
|
7135
7259
|
type: "tabular_review";
|
|
7136
7260
|
tags: string[];
|
|
7137
|
-
documents: "
|
|
7261
|
+
documents: "workspace" | "run_uploads" | (string | {
|
|
7138
7262
|
step?: string | null | undefined;
|
|
7139
7263
|
input?: string | null | undefined;
|
|
7140
7264
|
})[];
|
|
@@ -7278,7 +7402,7 @@ declare function useWorkItems(): {
|
|
|
7278
7402
|
} | {
|
|
7279
7403
|
type: "tabular_review";
|
|
7280
7404
|
tags: string[];
|
|
7281
|
-
documents: "
|
|
7405
|
+
documents: "workspace" | "run_uploads" | (string | {
|
|
7282
7406
|
step?: string | null | undefined;
|
|
7283
7407
|
input?: string | null | undefined;
|
|
7284
7408
|
})[];
|
|
@@ -16142,4 +16266,4 @@ declare function finishEntityExtraction(docIds: readonly string[]): void;
|
|
|
16142
16266
|
/** The documents being extracted now. */
|
|
16143
16267
|
declare function useEntityExtractionDocIds(): readonly string[];
|
|
16144
16268
|
|
|
16145
|
-
export { AGENT_CONTROL_COMMANDS, AGGREGATE_FIELDS, ALLOWED_PORTAL_ORIGINS, ARCHIVE_POLL_MS, 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 AggregateOp, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppNotification, 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 ArbiDmTab, type ArbiDocumentViewerState, type ArbiDraftStorage, type ArbiFeature, type ArbiFeatures, type ArbiGridLayoutState, ArbiHost, type ArbiHostConfig, ArbiHostConnection, ArbiHostProps, type ArbiKeyValueStorage, type ArbiLayoutActions, type ArbiLayoutState, type ArbiLayoutStore, type ArbiLayoutStoreOptions, type ArbiMessageTimer, type ArbiPanelMode, type ArbiPanelsState, type ArbiSavedLayout, type ArbiSessionPersist, type ArbiSessionState, type ArbiSessionStatus, type ArbiSessionStore, type ArbiSessionStoreOptions, type ArbiShellState, type ArbiSidebarState, type ArbiSignedInSession, type ArbiTabsState, type ArbiThreadComposer, type ArbiThreadTab, type ArbiThreadTabShow, type ArbiThreadTabView, type ArbiThreadTabsController, type ArbiThreadTabsState, type ArbiThreadView, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, type ArbiViewsState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWorkspaceState, type ArbiWorkspaceStatus, type ArbiWorkspaceStorage, type ArbiWorkspaceStore, type ArbiWorkspaceStoreOptions, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AskAgain, type AspectOption, type AssignDocTagsInput, type AssistantMode, AudIcon, type AudioPiece, type AvatarCrop, type AvatarFileProblem, BOOT_GATE_TIMEOUT_MS, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, BUILTIN_DATA_SOURCES, type BranchNavigation, type BranchPoint, type BrowserWorkspaceStorageOptions, type BuildArchiveInput, type BuiltArchive, CALL_MODERATION_TOPIC, CONVERSATION_SWITCH_MEASURE, type CalendarConnectorSupport, type CalendarNotificationMeta, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, type CalendarWriteOp, type CallInviteContact, type CallMutedNotice, type CallRoomEvents, type CallSlotMode, type CallUserPillProps, type CallsHost, type ChartSpec, type ChartType, type ChatArrival, 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 ConversationsSourceLabels, type CreateProjectVars, type CreateSkillPackOptions, type CreateTagInput, type CreateWorkspaceVars, type CreatedProject, type CropArea, type CropOutput, type CropResult, type CurrentWorkspace, DATABASE_RELATION_PICK_LIMIT, DATABASE_ROWS_PAGE, DEFAULT_ASPECT_OPTIONS, DEFAULT_CONVERSATIONS_SOURCE_LABELS, DEFAULT_DATABASE_SOURCE_LABELS, DEFAULT_DOCUMENTS_SOURCE_LABELS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_PROJECTS_SOURCE_LABELS, DEFAULT_USAGE_SOURCE_LABELS, DEFAULT_WORKSPACES_SOURCE_LABELS, DISMISSED_TASK_TTL_MS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, type DashboardSpec, type DashboardStore, type DashboardsHost, type DataSource, type DataSourceFieldsState, type DataSourceOption, type DataSourceParam, type DataSourceParams, type DataSourceRef, type DataSourceRegistry, type DatabaseAggregateRequest, type DatabaseAggregateResult, type DatabaseDashboardStoreOptions, type DatabaseSourceLabels, type Dataset, type DatasetField, type DatasetFieldType, type DatasetFilter, type DatasetOrder, type DatasetQuery, type DatasetRow, type DatasetSort, type DatasetState, type DatasetValue, DateSeparator, type DateSeparatorProps, type DebouncedWriter, type DebouncedWriterOptions, type DeleteAccountBlocker, type DeleteAccountFlow, type DeletedDocument, type DeletedDocumentsPage, type DescribeCalendarNotificationOptions, 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 DocumentsSourceLabels, type DocumentsSupport, type DraftKeyValueStore, DraftTitleControls, type DraftTitleControlsProps, EMPTY_GROUP_LABEL, EMPTY_SESSION_STATE, EXPORT_SAMPLE_RATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, type EntitledFeature, EntityIconComponent, EntityVocabulary, type ExportDownloadRequest, type ExportFileKind, type ExtractedZip, FACTS_SEARCH_VIEW, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, FIRST_TOKEN_MEASURE, type FactListFilter, type FactSearchHit, type FactsSearch, type FactsSearchState, type FeatureEntitlements, type FeatureRefusal, type FeatureSource, type FeatureSwitch, FileIcon, type FilterOp, 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, type InstallSkillPackVariables, JoinChoices, LIVE_UPDATE_TYPES, LinkedInIcon, type LiveTask, type LocalFeatureStore, type LocalFeatureStoreOptions, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MAX_DASHBOARD_SPEC_CHARS, MAX_SERIES, MAX_THREAD_TABS, MIN_NARRATION_DWELL_MS, MIN_QUEUED_MESSAGE_VISIBILITY_MS, MODEL_GROUP_LABELS, 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, type OfflineDocumentRecord, OpenAIIcon, type OpenedRecording, type OptimisticDocumentEdit, type OrderResolver, PENDING_SYNC_PREDICATE, PLAYBACK_LOOKAHEAD_MS, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type PanelDatasetState, type PanelSpec, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, type PendingSyncItem, type PeopleDirectory, type Person, PhotoCapture, type PhotoCaptureProps, type ProcessingTask, type ProfileView, type ProjectsSourceLabels, type ProjectsSourceOptions, type ProjectsUsageAggregate, type QueuedCalendarWrite, type QueuedMessage, type QueuedMessages, type QuoteResolver, RECORDING_SEGMENTER, RUN_WINDOW_MS, type RawPending, type RecordedChunk, type RecordingWindow, type RefusedUploadFile, type RelatedDocs, type RelatedDocsMap, type RelevancePatch, type RemoveDocTagsInput, type RenderMarkdown, type RequestAccessOptions, type RowsSourceDefinition, type RowsState, 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 SavedDashboard, type SealedDraftStorageOptions, type SearchMode, SearchSession, SearchStatus, SegmenterConfig, type SemanticSearch, type SemanticSearchOptions, type SendMessageOptions, type SequencedRow, type SequencedTask, type ServerNotificationBellOptions, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, type SkillPack, type SkillPackEntry, type StartTaskQuery, StorageActionError, type StorageActions, type StorageDeploymentUsage, type StorageItem, type StorageItemKind, type StorageItemState, type StorageItemsQuery, type StorageKindUsage, type StoragePersistOptions, type StorageProjectUsage, type StorageScope, type StorageSnapshot, type StreamHandlerContext, type StreamHandlerParams, type StreamHandlers, type StreamState, type SwitchWorkspaceTarget, TRANSFER_POLL_MS, type TableView, type TableViewTable, TaskThreadPendingError, type ThreadAccessors, ThreadBinding, type ThreadItem, type TimeBucket, 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 TurnTarget, type TurnTools, TxtIcon, TypingIndicator, UPLOAD_ACCEPT, UPLOAD_MAX_FILE_SIZE, type UnarchiveEstimate, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadFilesInput, type UploadFilesProgress, type UploadFilesResult, type UploadFromUrlsInput, type UploadFromUrlsResult, type UploadRefusal, type UploadUrlsInput, type UsageSourceLabels, type UsageTotals, type UseArbiShellWorkspacesOptions, type UseAskAgainOptions, type UseAvatarCropOptions, type UseCameraStreamResult, type UseConversationOptions, type UseDeleteAccountFlowOptions, type UseDownloadDocumentsOptions, type UseEmailChangeOptions, type UseFactsSearchOptions, type UseIdentityVerificationFlowOptions, type UseMessageTimerOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseSwitchWorkspaceResult, type UseVideoRecorderResult, type UserResponse, type UserSettingFlag, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORKSPACE_LAST_OPENED_KEY, WORKSPACE_STORAGE_KEY, WORK_NOTIFICATION_LABELS, type WorkspaceArchive, type WorkspaceArchiveState, type WorkspaceDocument, type WorkspaceExport, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceProcessing, type WorkspaceRole, type WorkspaceSwitchContext, type WorkspaceUpdate, type WorkspacesSourceLabels, XlsIcon, type ZipExtractor, __resetPendingFinalCommitsForTests, __resetStreamingTokenBufferForTests, acceptRing, accountPath, addAssistantMessageToCache, addConversationToList, addUserMessageToCache, adjustTagCounts, adoptNewChatDocument, agentControl, aggregateDataset, aliasTakenMessage, allConversationThreads, annotateThread, announceMailDraftReplaced, appendTokenToMessage, applyCallEvent, applyConversationEvent, applyFinalContextToMessage, applyLiveUpdate, applyNotificationRow, applyOptimisticDocumentEdit, applyOutputItemToMessage, applyTaskEvent, arbiAccountClient, arbiMailClient, archiveName, archivedWorkspaceMessage, bindThreadDocument, boundDocumentOf, browserWorkspaceStorage, bucketOf, bucketRange, buildDocumentMetadataRows, buildMentionCandidates, buildPendingFirstTurn, buildPendingSyncItem, buildWorkspaceArchive, cacheThreadBinding, cachedAssistantMode, cachedMentionCandidates, cachedQuotaUsedUp, calendarNotificationMeta, callLink, callNotificationMeta, captureFrameAsBlob, chatTranscriptRef, classifyMediaError, clearLoadingState, clearSealedDrafts, clearUserInputRequest, clockTime, closePanelIn, commitFinalMessage, completeQueuedUserMessageByContent, compositeFiles, compositeTrack, connectOAuthCalendarAccount, connectorErrorStatus, connectorReturnTo, conversationKey, createArbiLayoutStore, createArbiSessionStore, createArbiWorkspaceStore, createChunkedRecorder, createConversationsSource, createDataSourceRegistry, createDatabaseSource, createDebouncedWriter, createDocumentsSource, createLocalFeatureStore, createMailClient, createMemoryDashboardStore, createMutedNotifier, createProjectsSource, createSealedDraftStorage, createSkillPack, createStoragePersist, createStreamHandlers, createTrackCutter, createUsageSource, createWorkspaceSwitch, createWorkspacesSource, cropImage, cutAtPauses, dayKey, declineRing, decodeMono16k, defaultLayoutState, defaultMailAlias, defineRowsSource, deploymentUserMeta, describeActivity, describeCalendarNotification, describeServerNotification, discardStreamingTokensForMessage, disconnectAttachedRun, dmTabId, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, dropTagFromCachedDocuments, encodeWav, ensureAssistantMessageLoading, entitlementRefusal, extensionFor, extractZipFile, fallbackFileName, fetchPart, fileAttachment, fileSafe, filesFromDrop, fillTimeGaps, filterRows, findConversation, finishEntityExtraction, floatToWav, flushOnPageExit, flushStreamingTokens, forgetDocuments, forgetUploadedDocumentFolder, formatConfigValidationError, formatElapsed, formatIdentityPrice, formatTranscriptMarkdown, getCachedDocuments, getInterjectionText, getNotificationTypeMeta, getOfflineDocument, getOrphanedLastMessage, getRelatedLabels, getRelatedTotal, getRunStartedAt, getThreadsQueryKey, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasPendingFinalCommit, hasRecordingTranscript, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateCall, invalidateConversationActivity, invalidateConversationDetails, invalidateConversationLists, invalidateTagData, invalidateTagTables, isActivityKey, isAliasTakenError, isArchiveMoving, isCommentToPeople, isConversationListKey, isConversationShared, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isFullConfig, isMessageRunning, isNotificationRow, isOfflineReadableArbiQuery, isOrphanedUserMessage, isPanelOpen, isQueuedCalendarWrite, isRecordingSegmentId, isReplayableArbiMutation, isRestorableArbiQueryOnline, isRowNewer, isSignatureNotificationType, isStaleTaskUpdate, isTableViewOf, isTransferFinished, isTransferResumable, isUsageMetered, isWorkspaceArchivedError, isWorkspaceGuestOf, isWorkspaceNotificationType, isZipFile, joinFromPreJoin, layoutActionsOf, loadOfflineDocument, mailDraftIdFromContent, mailJson, markMessageAsFailed, markNarrationSettled, mergeHostConfig, migrateLegacyThreadDocuments, mountDiditVerification, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, nextAliasSuggestion, nextViewingDocument, notificationUserName, onCallEvent, openAccessRequest, openCall, openPanelIn, openRecording, panelPlace, parseActivityContent, parseDashboardSpec, parseDeleteAccountBlockers, parseSavedLayout, partKey, partsDue, patchCachedDocument, patchConversation, patchConversationList, patchDocuments, patchWorkspaceTags, pendingChatModelSave, peopleDirectory, personOfUser, pickRecentWorkspaces, pickRecorderMimeType, playheadAt, postRecordingDocsToThread, postTranscriptToThread, prepareUploadFiles, queryOfChart, queuedMessages, readLocalFeature, readWorkspaceLastOpened, recordingFiles, recordingWindowsOf, recordsOf, redlineStats, refreshDocuments, refuseChatWhenOffline, registerArbiMutationDefaults, registerAttachedRun, removeConversationFromLists, removeSettledNarration, requestPersistentStorage, resetCalendarAccountSyncState, resetMessageContent, resolveActiveWorkspace, resolveConfigModel, resolveDocumentStatus, resolveReplyTarget, restoreLayout, rollbackOptimisticDocumentEdit, safePortalUrl, saveRecordingFilesToThread, savedLayoutOf, schedulePart, selectDraft, selectIsGenerating, selectViewingDocumentId, serializeDashboardSpec, serverCallsExperimental, serverNotificationBellEntry, 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, threadBinding, threadEndingAtContains, threadTabId, threadTranscriptLines, threadTranscriptRef, timelineDurationMs, timelineOf, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, transcribeRecording, transcriptSegmentOf, updateMessageWithMetadata, updateUserMessageInCache, updateUserMessageStateInCache, uploadFolderOf, uploadedDocumentFolder, upsertDocuments, useAccountClient, useActOnStep, useActiveConfigId, useActivity, useAddChatMembers, useAddDatabaseRows, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentDmStatus, useAgentModels, useAgentRunControl, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAnswerAgentQuestion, useApplyChatModel, useArbi, useArbiConnected, useArbiHost, useArbiSession, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArchiveProgressPolling, useArchiveWorkspace, useAskAgain, useAssignDocTags, useAssistantQuery, useAuthorizeLimits, useAutoSendDraft, useAvailableModels, useAvatarCrop, useBookingPages, useBootTimeout, useBoxRole, useBranchNavigation, useBuiltinCommands, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCall, useCallInviteLinks, useCallRecording, useCallRecordings, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCameraStream, useCanCreateProjects, useCanEditShared, useCanHostCalls, useCancelDriveSync, useCancelMailboxSync, useCancelManyPendingSync, useCancelProjectSubscription, useCancelWorkspaceTransfer, useChangeProjectPlan, useChargeWatch, useChatArrivals, useChatPost, useChatSummaries, useChatThread, useChatUnreadTotal, useChats, useClaimNativeAlias, useClaimSecureMail, useCloseAgentSession, useCommandPalette, useConfig, useConfigSchema, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectRunStream, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversation, useConversationActions, useConversationActivity, useConversationData, useConversationDocuments, useConversationIsShared, useConversationItems, useConversationPendingAuth, useConversationSearch, useConversationThreads, useConversationTurn, useConversationUsage, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateDatabase, useCreateEvent, useCreateFact, useCreateFacts, useCreateGroupChat, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCreateWorkspace, useCurrentSessionId, useCurrentUser, useCurrentWorkspace, useDashboardStore, useDataSources, useDatabase, useDatabaseAggregate, useDatabaseDashboardStore, useDatabaseRows, useDatabases, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteChatMessage, useDeleteConfig, useDeleteContact, useDeleteConversation, useDeleteDashboard, useDeleteDatabase, useDeleteDatabaseRows, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteMessage, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectModelUsage, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDismissedTips, useDocument, useDocumentAutoAdd, useDocumentHostActions, useDocumentPendingSync, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsById, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useEntitlements, useEntityExtractionDocIds, useExportDatabase, useExtractEntities, useFacts, useFactsSearch, useFeature, useFeatureSwitch, useFetchCalendarEvent, useFilteredProjects, useFinaliseTranslation, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useImportContacts, useImportDatabase, useImportDatabaseRows, useInstallSkillPack, useInvalidateAfterTransfer, useInvalidateProjects, useInvalidateStorage, useInvalidateTagData, useInviteContacts, useIsCreatingTag, useIsEntitled, useIsSlow, useIsWorkspaceOwner, useKeepDocumentsOffline, useLinkContact, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMailboxFolders, useMailboxSyncProgress, useMarkChatRead, useMarkDocumentShared, useMarkNotificationsRead, useMcpTools, useMeetingReadOnly, useMentionCandidates, useMessageDetails, useMessageTimer, useModelConnections, useMoveEvent, useMoveWorkspaceToProject, useMyConnectors, useNameEditor, useNotificationPreferences, useNotifications, useNotifyConversation, useOfflineDocumentIds, useOpenCallMeetingChat, useOpenSelectedWorkspace, useOpenViewerDocumentId, usePanelDataset, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePendingSyncCounts, usePendingSyncItems, usePeople, usePeopleSearch, usePlanQuote, usePlanWork, usePlanWorkspaceTransfer, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingPortal, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRecordingActions, useRecordingWindows, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshDocuments, useRefreshProject, useRelatedDocuments, useRemoveChatMember, useRemoveDocTags, useRemoveDocumentsOffline, useRemoveModelConnection, useRemoveWorkspaceMembers, useRenameChat, useRenameFolder, useRequestEmailChange, useRequestWorkspaceAccess, useRespondToEvent, useResumeCalendarAccountConnect, useResumeWorkspaceTransfer, useRevokeAgentAccess, useRevokeCallInviteLink, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveConfig, useSaveConfigField, useSaveDashboard, useSaveMailDraft, useSaveModelConnection, useSaveSkill, useSaveToThread, useSavedDashboards, useSearchContacts, useSearchDatabaseRows, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useServerCallsEnabled, useServerCallsExperimental, useSessionPageTab, useSessionView, useSessions, useSetDeploymentHouseTemplate, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSignedInSession, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartTaskQuery, useStartWorkspaceTransfer, useStorageActions, useStorageItemNames, useStorageItems, useStorageProjects, useStorageSnapshots, useStreamHandlers, useSubscribeCalendar, useSwitchWorkspace, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThinkingContent, useThreadDocument, useThumbnails, useTopUpFirmPool, useTransientView, useTriggerDriveSync, useTriggerMailboxSync, useUnarchiveWorkspace, useUnlockModelConnections, useUnreadByPeer, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDatabase, useUpdateDatabaseRow, 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, useWorkspaceArchive, useWorkspaceDocs, useWorkspaceExportDownload, useWorkspaceNotificationLevel, useWorkspaceProcessing, useWorkspaceRole, useWorkspaceTransfer, useWorkspaceTransfers, useWorkspaceTrash, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, viewsOfTable, waitForResponseId, wipeOfflineDocuments, withRelativePath, workflowStepOf, workspaceHouseTemplateId, writeSamples };
|
|
16269
|
+
export { AGENT_CONTROL_COMMANDS, AGGREGATE_FIELDS, ALLOWED_PORTAL_ORIGINS, ARCHIVE_POLL_MS, 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 AggregateOp, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppNotification, AppleIcon, type ApplyCallEventOptions, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChatActions, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatHost, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatState, type ArbiChatStore, type ArbiChatStoreOptions, type ArbiChatThread, type ArbiConversation, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDmTab, type ArbiDocumentSessionActions, type ArbiDocumentSessionState, type ArbiDocumentSessionStore, type ArbiDocumentViewerState, type ArbiDraftStorage, type ArbiFeature, type ArbiFeatures, type ArbiGridLayoutState, ArbiHost, type ArbiHostConfig, ArbiHostConnection, ArbiHostProps, type ArbiKeyValueStorage, type ArbiLayoutActions, type ArbiLayoutState, type ArbiLayoutStore, type ArbiLayoutStoreOptions, type ArbiMessageTimer, type ArbiPanelMode, type ArbiPanelsState, type ArbiSavedChat, type ArbiSavedLayout, type ArbiSessionParts, type ArbiSessionPersist, type ArbiSessionState, type ArbiSessionStatus, type ArbiSessionStore, type ArbiSessionStoreOptions, type ArbiShellState, type ArbiSidebarState, type ArbiSignedInSession, type ArbiTabsState, type ArbiThreadComposer, type ArbiThreadTab, type ArbiThreadTabShow, type ArbiThreadTabView, type ArbiThreadTabsController, type ArbiThreadTabsState, type ArbiThreadView, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, type ArbiViewsState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWorkspaceState, type ArbiWorkspaceStatus, type ArbiWorkspaceStorage, type ArbiWorkspaceStore, type ArbiWorkspaceStoreOptions, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AskAgain, type AspectOption, type AssignDocTagsInput, type AssistantMode, AudIcon, type AudioPiece, type AvatarCrop, type AvatarFileProblem, BOOT_GATE_TIMEOUT_MS, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, BUILTIN_DATA_SOURCES, type BranchNavigation, type BranchPoint, type BrowserWorkspaceStorageOptions, type BuildArchiveInput, type BuiltArchive, CALL_MODERATION_TOPIC, CONVERSATION_SWITCH_MEASURE, type CalendarConnectorSupport, type CalendarNotificationMeta, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, type CalendarWriteOp, type CallInviteContact, type CallMutedNotice, type CallRoomEvents, type CallSlotMode, type CallUserPillProps, type CallsHost, type ChartSpec, type ChartType, type ChatArrival, 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 ConversationsSourceLabels, type CreateProjectVars, type CreateSkillPackOptions, type CreateTagInput, type CreateWorkspaceVars, type CreatedProject, type CropArea, type CropOutput, type CropResult, type CurrentWorkspace, DATABASE_RELATION_PICK_LIMIT, DATABASE_ROWS_PAGE, DEFAULT_ASPECT_OPTIONS, DEFAULT_CONVERSATIONS_SOURCE_LABELS, DEFAULT_DATABASE_SOURCE_LABELS, DEFAULT_DOCUMENTS_SOURCE_LABELS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_PROJECTS_SOURCE_LABELS, DEFAULT_USAGE_SOURCE_LABELS, DEFAULT_WORKSPACES_SOURCE_LABELS, DISMISSED_TASK_TTL_MS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, type DashboardSpec, type DashboardStore, type DashboardsHost, type DataSource, type DataSourceFieldsState, type DataSourceOption, type DataSourceParam, type DataSourceParams, type DataSourceRef, type DataSourceRegistry, type DatabaseAggregateRequest, type DatabaseAggregateResult, type DatabaseDashboardStoreOptions, type DatabaseSourceLabels, type Dataset, type DatasetField, type DatasetFieldType, type DatasetFilter, type DatasetOrder, type DatasetQuery, type DatasetRow, type DatasetSort, type DatasetState, type DatasetValue, DateSeparator, type DateSeparatorProps, type DebouncedWriter, type DebouncedWriterOptions, type DeleteAccountBlocker, type DeleteAccountFlow, type DeletedDocument, type DeletedDocumentsPage, type DescribeCalendarNotificationOptions, 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 DocumentsSourceLabels, type DocumentsSupport, type DraftKeyValueStore, DraftTitleControls, type DraftTitleControlsProps, EMPTY_CHAT_STATE, EMPTY_GROUP_LABEL, EMPTY_SESSION_STATE, EXPORT_SAMPLE_RATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, type EntitledFeature, EntityIconComponent, EntityVocabulary, type ExportDownloadRequest, type ExportFileKind, type ExtractedZip, FACTS_SEARCH_VIEW, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, FIRST_TOKEN_MEASURE, type FactListFilter, type FactSearchHit, type FactsSearch, type FactsSearchState, type FeatureEntitlements, type FeatureRefusal, type FeatureSource, type FeatureSwitch, FileIcon, type FilterOp, 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, type InstallSkillPackVariables, JoinChoices, LIVE_UPDATE_TYPES, LinkedInIcon, type LiveTask, type LocalFeatureStore, type LocalFeatureStoreOptions, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MAX_DASHBOARD_SPEC_CHARS, MAX_SERIES, MAX_THREAD_TABS, MIN_NARRATION_DWELL_MS, MIN_QUEUED_MESSAGE_VISIBILITY_MS, MODEL_GROUP_LABELS, 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, type OfflineDocumentRecord, OpenAIIcon, type OpenedRecording, type OptimisticDocumentEdit, type OrderResolver, PENDING_SYNC_PREDICATE, PLAYBACK_LOOKAHEAD_MS, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type PanelDatasetState, type PanelSpec, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, type PendingSyncItem, type PeopleDirectory, type Person, PhotoCapture, type PhotoCaptureProps, type ProcessingTask, type ProfileView, type ProjectsSourceLabels, type ProjectsSourceOptions, type ProjectsUsageAggregate, type QueuedCalendarWrite, type QueuedMessage, type QueuedMessages, type QuoteResolver, RECORDING_SEGMENTER, RUN_WINDOW_MS, type RawPending, type RecordedChunk, type RecordingWindow, type RefusedUploadFile, type RelatedDocs, type RelatedDocsMap, type RelevancePatch, type RemoveDocTagsInput, type RenderMarkdown, type RequestAccessOptions, type RowsSourceDefinition, type RowsState, 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 SavedDashboard, type SealedDraftStorageOptions, type SearchMode, SearchSession, SearchStatus, SegmenterConfig, type SemanticSearch, type SemanticSearchOptions, type SendMessageOptions, type SequencedRow, type SequencedTask, type ServerNotificationBellOptions, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, type SkillPack, type SkillPackEntry, type StartTaskQuery, StorageActionError, type StorageActions, type StorageDeploymentUsage, type StorageItem, type StorageItemKind, type StorageItemState, type StorageItemsQuery, type StorageKindUsage, type StoragePersistOptions, type StorageProjectUsage, type StorageScope, type StorageSnapshot, type StreamHandlerContext, type StreamHandlerParams, type StreamHandlers, type StreamState, type SwitchWorkspaceTarget, TRANSFER_POLL_MS, type TableView, type TableViewTable, TaskThreadPendingError, type ThreadAccessors, ThreadBinding, type ThreadItem, type TimeBucket, 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 TurnTarget, type TurnTools, TxtIcon, TypingIndicator, UPLOAD_ACCEPT, UPLOAD_MAX_FILE_SIZE, type UnarchiveEstimate, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadFilesInput, type UploadFilesProgress, type UploadFilesResult, type UploadFromUrlsInput, type UploadFromUrlsResult, type UploadRefusal, type UploadUrlsInput, type UsageSourceLabels, type UsageTotals, type UseArbiShellWorkspacesOptions, type UseAskAgainOptions, type UseAvatarCropOptions, type UseCameraStreamResult, type UseConversationOptions, type UseDeleteAccountFlowOptions, type UseDownloadDocumentsOptions, type UseEmailChangeOptions, type UseFactsSearchOptions, type UseIdentityVerificationFlowOptions, type UseMessageTimerOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseSwitchWorkspaceResult, type UseVideoRecorderResult, type UserResponse, type UserSettingFlag, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORKSPACE_LAST_OPENED_KEY, WORKSPACE_STORAGE_KEY, WORK_NOTIFICATION_LABELS, type WorkspaceArchive, type WorkspaceArchiveState, type WorkspaceDocument, type WorkspaceExport, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceProcessing, type WorkspaceRole, type WorkspaceSwitchContext, type WorkspaceUpdate, type WorkspacesSourceLabels, XlsIcon, type ZipExtractor, __resetPendingFinalCommitsForTests, __resetStreamingTokenBufferForTests, acceptRing, accountPath, addAssistantMessageToCache, addConversationToList, addUserMessageToCache, adjustTagCounts, adoptNewChatDocument, agentControl, aggregateDataset, aliasTakenMessage, allConversationThreads, annotateThread, announceMailDraftReplaced, appendTokenToMessage, applyCallEvent, applyConversationEvent, applyFinalContextToMessage, applyLiveUpdate, applyNotificationRow, applyOptimisticDocumentEdit, applyOutputItemToMessage, applyTaskEvent, arbiAccountClient, arbiMailClient, archiveName, archivedWorkspaceMessage, bindThreadDocument, boundDocumentOf, browserWorkspaceStorage, bucketOf, bucketRange, buildDocumentMetadataRows, buildMentionCandidates, buildPendingFirstTurn, buildPendingSyncItem, buildWorkspaceArchive, cacheThreadBinding, cachedAssistantMode, cachedMentionCandidates, cachedQuotaUsedUp, calendarNotificationMeta, callLink, callNotificationMeta, captureFrameAsBlob, chatTranscriptRef, classifyMediaError, clearLoadingState, clearSealedDrafts, clearUserInputRequest, clockTime, closePanelIn, commitFinalMessage, completeQueuedUserMessageByContent, composeArbiSessionStore, compositeFiles, compositeTrack, connectOAuthCalendarAccount, connectorErrorStatus, connectorReturnTo, conversationKey, createArbiChatStore, createArbiDocumentSessionStore, createArbiLayoutStore, createArbiSessionStore, createArbiWorkspaceStore, createChunkedRecorder, createConversationsSource, createDataSourceRegistry, createDatabaseSource, createDebouncedWriter, createDocumentsSource, createLocalFeatureStore, createMailClient, createMemoryDashboardStore, createMutedNotifier, createProjectsSource, createSealedDraftStorage, createSkillPack, createStoragePersist, createStreamHandlers, createTrackCutter, createUsageSource, createWorkspaceSwitch, createWorkspacesSource, cropImage, cutAtPauses, dayKey, declineRing, decodeMono16k, defaultLayoutState, defaultMailAlias, defineRowsSource, deploymentUserMeta, describeActivity, describeCalendarNotification, describeServerNotification, discardStreamingTokensForMessage, disconnectAttachedRun, dmTabId, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, dropTagFromCachedDocuments, encodeWav, ensureAssistantMessageLoading, entitlementRefusal, extensionFor, extractZipFile, fallbackFileName, fetchPart, fileAttachment, fileSafe, filesFromDrop, fillTimeGaps, filterRows, findConversation, finishEntityExtraction, floatToWav, flushOnPageExit, flushStreamingTokens, forgetDocuments, forgetUploadedDocumentFolder, formatConfigValidationError, formatElapsed, formatIdentityPrice, formatTranscriptMarkdown, getCachedDocuments, getInterjectionText, getNotificationTypeMeta, getOfflineDocument, getOrphanedLastMessage, getRelatedLabels, getRelatedTotal, getRunStartedAt, getThreadsQueryKey, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasPendingFinalCommit, hasRecordingTranscript, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateCall, invalidateConversationActivity, invalidateConversationDetails, invalidateConversationLists, invalidateTagData, invalidateTagTables, isActivityKey, isAliasTakenError, isArchiveMoving, isCommentToPeople, isConversationListKey, isConversationShared, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isFullConfig, isMessageRunning, isNotificationRow, isOfflineReadableArbiQuery, isOrphanedUserMessage, isPanelOpen, isQueuedCalendarWrite, isRecordingSegmentId, isReplayableArbiMutation, isRestorableArbiQueryOnline, isRowNewer, isSignatureNotificationType, isStaleTaskUpdate, isTableViewOf, isTransferFinished, isTransferResumable, isUsageMetered, isWorkspaceArchivedError, isWorkspaceGuestOf, isWorkspaceNotificationType, isZipFile, joinFromPreJoin, layoutActionsOf, loadOfflineDocument, mailDraftIdFromContent, mailJson, markMessageAsFailed, markNarrationSettled, mergeHostConfig, migrateLegacyThreadDocuments, mountDiditVerification, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, nextAliasSuggestion, nextViewingDocument, notificationUserName, onCallEvent, openAccessRequest, openCall, openPanelIn, openRecording, panelPlace, parseActivityContent, parseDashboardSpec, parseDeleteAccountBlockers, parseSavedChat, parseSavedLayout, partKey, partsDue, patchCachedDocument, patchConversation, patchConversationList, patchDocuments, patchWorkspaceTags, pendingChatModelSave, peopleDirectory, personOfUser, pickRecentWorkspaces, pickRecorderMimeType, playheadAt, postRecordingDocsToThread, postTranscriptToThread, prepareUploadFiles, queryOfChart, queuedMessages, readLocalFeature, readWorkspaceLastOpened, recordingFiles, recordingWindowsOf, recordsOf, redlineStats, refreshDocuments, refuseChatWhenOffline, registerArbiMutationDefaults, registerAttachedRun, removeConversationFromLists, removeSettledNarration, requestPersistentStorage, resetCalendarAccountSyncState, resetMessageContent, resolveActiveWorkspace, resolveConfigModel, resolveDocumentStatus, resolveReplyTarget, restoreLayout, rollbackOptimisticDocumentEdit, safePortalUrl, saveRecordingFilesToThread, savedChatOf, savedLayoutOf, schedulePart, selectDraft, selectIsGenerating, selectViewingDocumentId, serializeDashboardSpec, serverCallsExperimental, serverNotificationBellEntry, 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, threadBinding, threadEndingAtContains, threadTabId, threadTranscriptLines, threadTranscriptRef, timelineDurationMs, timelineOf, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, transcribeRecording, transcriptSegmentOf, updateMessageWithMetadata, updateUserMessageInCache, updateUserMessageStateInCache, uploadFolderOf, uploadedDocumentFolder, upsertDocuments, useAccountClient, useActOnStep, useActiveConfigId, useActivity, useAddChatMembers, useAddDatabaseRows, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentDmStatus, useAgentModels, useAgentRunControl, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAnswerAgentQuestion, useApplyChatModel, useArbi, useArbiConnected, useArbiHost, useArbiSession, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArchiveProgressPolling, useArchiveWorkspace, useAskAgain, useAssignDocTags, useAssistantQuery, useAuthorizeLimits, useAutoSendDraft, useAvailableModels, useAvatarCrop, useBookingPages, useBootTimeout, useBoxRole, useBranchNavigation, useBuiltinCommands, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCall, useCallInviteLinks, useCallRecording, useCallRecordings, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCameraStream, useCanCreateProjects, useCanEditShared, useCanHostCalls, useCancelDriveSync, useCancelMailboxSync, useCancelManyPendingSync, useCancelProjectSubscription, useCancelWorkspaceTransfer, useChangeProjectPlan, useChargeWatch, useChatArrivals, useChatPost, useChatSummaries, useChatThread, useChatUnreadTotal, useChats, useClaimNativeAlias, useClaimSecureMail, useCloseAgentSession, useCommandPalette, useConfig, useConfigSchema, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectRunStream, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversation, useConversationActions, useConversationActivity, useConversationData, useConversationDocuments, useConversationIsShared, useConversationItems, useConversationPendingAuth, useConversationSearch, useConversationThreads, useConversationTurn, useConversationUsage, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateDatabase, useCreateEvent, useCreateFact, useCreateFacts, useCreateGroupChat, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCreateWorkspace, useCurrentSessionId, useCurrentUser, useCurrentWorkspace, useDashboardStore, useDataSources, useDatabase, useDatabaseAggregate, useDatabaseDashboardStore, useDatabaseRows, useDatabases, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteChatMessage, useDeleteConfig, useDeleteContact, useDeleteConversation, useDeleteDashboard, useDeleteDatabase, useDeleteDatabaseRows, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteMessage, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectModelUsage, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDismissedTips, useDocument, useDocumentAutoAdd, useDocumentHostActions, useDocumentPendingSync, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsById, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useEntitlements, useEntityExtractionDocIds, useExportDatabase, useExtractEntities, useFacts, useFactsSearch, useFeature, useFeatureSwitch, useFetchCalendarEvent, useFilteredProjects, useFinaliseTranslation, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useImportContacts, useImportDatabase, useImportDatabaseRows, useInstallSkillPack, useInvalidateAfterTransfer, useInvalidateProjects, useInvalidateStorage, useInvalidateTagData, useInviteContacts, useIsCreatingTag, useIsEntitled, useIsSlow, useIsWorkspaceOwner, useKeepDocumentsOffline, useLinkContact, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMailboxFolders, useMailboxSyncProgress, useMarkChatRead, useMarkDocumentShared, useMarkNotificationsRead, useMcpTools, useMeetingReadOnly, useMentionCandidates, useMessageDetails, useMessageTimer, useModelConnections, useMoveEvent, useMoveWorkspaceToProject, useMyConnectors, useNameEditor, useNotificationPreferences, useNotifications, useNotifyConversation, useOfflineDocumentIds, useOpenCallMeetingChat, useOpenSelectedWorkspace, useOpenViewerDocumentId, usePanelDataset, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePendingSyncCounts, usePendingSyncItems, usePeople, usePeopleSearch, usePlanQuote, usePlanWork, usePlanWorkspaceTransfer, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingPortal, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRecordingActions, useRecordingWindows, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshDocuments, useRefreshProject, useRelatedDocuments, useRemoveChatMember, useRemoveDocTags, useRemoveDocumentsOffline, useRemoveModelConnection, useRemoveWorkspaceMembers, useRenameChat, useRenameFolder, useRequestEmailChange, useRequestWorkspaceAccess, useRespondToEvent, useResumeCalendarAccountConnect, useResumeWorkspaceTransfer, useRevokeAgentAccess, useRevokeCallInviteLink, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveConfig, useSaveConfigField, useSaveDashboard, useSaveMailDraft, useSaveModelConnection, useSaveSkill, useSaveToThread, useSavedDashboards, useSearchContacts, useSearchDatabaseRows, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useServerCallsEnabled, useServerCallsExperimental, useSessionPageTab, useSessionView, useSessions, useSetDeploymentHouseTemplate, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSignedInSession, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartTaskQuery, useStartWorkspaceTransfer, useStorageActions, useStorageItemNames, useStorageItems, useStorageProjects, useStorageSnapshots, useStreamHandlers, useSubscribeCalendar, useSwitchWorkspace, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThinkingContent, useThreadDocument, useThumbnails, useTopUpFirmPool, useTransientView, useTriggerDriveSync, useTriggerMailboxSync, useUnarchiveWorkspace, useUnlockModelConnections, useUnreadByPeer, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDatabase, useUpdateDatabaseRow, 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, useWorkspaceArchive, useWorkspaceDocs, useWorkspaceExportDownload, useWorkspaceNotificationLevel, useWorkspaceProcessing, useWorkspaceRole, useWorkspaceTransfer, useWorkspaceTransfers, useWorkspaceTrash, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, viewsOfTable, waitForResponseId, wipeOfflineDocuments, withRelativePath, workflowStepOf, workspaceHouseTemplateId, writeSamples };
|