@arbidocs/sdk 0.5.58 → 0.5.60
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 +27 -5
- package/dist/{browser-ENBx11nT.d.cts → browser-BuRU9RVU.d.cts} +7 -2
- package/dist/{browser-BX1E63gK.d.ts → browser-GyBIGRNQ.d.ts} +7 -2
- package/dist/browser.cjs +1 -0
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +2 -2
- package/dist/browser.d.ts +2 -2
- package/dist/browser.js +1 -0
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/examples/node-response.mjs +36 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -26,10 +26,9 @@ await arbi.assistant.ask(
|
|
|
26
26
|
)
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
Node.js needs no IndexedDB polyfill. Keys stay in memory for this SDK instance unless you supply an explicit persistence adapter:
|
|
30
30
|
|
|
31
31
|
```typescript
|
|
32
|
-
import 'fake-indexeddb/auto'
|
|
33
32
|
import { Arbi } from '@arbidocs/sdk'
|
|
34
33
|
```
|
|
35
34
|
|
|
@@ -87,7 +86,7 @@ const result = await arbi.assistant.ask(
|
|
|
87
86
|
|
|
88
87
|
## Session recovery
|
|
89
88
|
|
|
90
|
-
|
|
89
|
+
Browsers persist the signing key encrypted in IndexedDB. Without IndexedDB, each SDK client keeps its own key in memory; it is not shared with other instances or saved to disk. Recover a session without a password:
|
|
91
90
|
|
|
92
91
|
```typescript
|
|
93
92
|
await arbi.loginWithKey('user@example.com', signingKeyBase64)
|
|
@@ -100,7 +99,7 @@ The SDK also auto-recovers on 401 responses using the stored key.
|
|
|
100
99
|
- **Zero-knowledge auth** — passwords never leave the client
|
|
101
100
|
- **E2E workspace encryption** — symmetric keys wrapped with your public key
|
|
102
101
|
- **Encrypted key storage** — private keys in IndexedDB encrypted with non-extractable AES-GCM
|
|
103
|
-
- **
|
|
102
|
+
- **Session cleanup** — logout ends the live session; the stored identity supports offline unlock and default storage is cleared on logout-everywhere
|
|
104
103
|
|
|
105
104
|
## React
|
|
106
105
|
|
|
@@ -109,7 +108,7 @@ For React apps, use `@arbidocs/react` instead — it wraps this SDK with hooks a
|
|
|
109
108
|
## Requirements
|
|
110
109
|
|
|
111
110
|
- **Browser**: Any modern browser with Web Crypto API
|
|
112
|
-
- **Node.js**:
|
|
111
|
+
- **Node.js**: native fetch/Web Crypto runtime; Node 22+ is used by the executable example and package smoke check (no `fake-indexeddb` needed)
|
|
113
112
|
- **TypeScript**: 5.0+ (optional)
|
|
114
113
|
|
|
115
114
|
## Automations
|
|
@@ -213,6 +212,29 @@ startup frame is needed. The iterator buffers at most 256 frames, covering exist
|
|
|
213
212
|
control fixtures; overflow rejects its reads with code `RESPONSE_EVENT_OVERFLOW`, while snapshot
|
|
214
213
|
reduction continues. Return/break the iterator to release its buffer; a second iterator is rejected.
|
|
215
214
|
|
|
215
|
+
|
|
216
|
+
### Node example and package check
|
|
217
|
+
|
|
218
|
+
Run [examples/node-response.mjs](examples/node-response.mjs) with Node 22+ after installing
|
|
219
|
+
`@arbidocs/sdk` (`node node_modules/@arbidocs/sdk/examples/node-response.mjs`). Set `ARBI_URL`, `ARBI_EMAIL`, `ARBI_PASSWORD` and `ARBI_WORKSPACE_ID`;
|
|
220
|
+
`ARBI_QUESTION` is optional. It explicitly selects the current workspace, submits one Responses
|
|
221
|
+
turn, distinguishes disconnect from completion and refetches an accepted response rather than
|
|
222
|
+
resubmitting it. Ctrl-C detaches the reader; it does not claim to cancel background execution.
|
|
223
|
+
|
|
224
|
+
Default Node storage lasts only for that client instance. For persistence across process restarts,
|
|
225
|
+
pass `persistence: { getSession, saveSession, clearSession }` to `Arbi` or `createArbiClient`.
|
|
226
|
+
The existing `SessionPersistence` interface is retained; `clearSession` is optional for existing
|
|
227
|
+
adapters and is invoked by logout-everywhere when provided. Protect keys in any custom persistent
|
|
228
|
+
store. Normal logout retains the stored identity for the existing offline-unlock behavior;
|
|
229
|
+
logout-everywhere clears the default memory adapter. Browser encrypted storage remains unchanged.
|
|
230
|
+
|
|
231
|
+
Repository maintainers can run `node scripts/sdk-node-smoke.mjs` after building the client and SDK.
|
|
232
|
+
It packs both packages, installs their tarballs/runtime dependencies in a fresh temporary npm
|
|
233
|
+
consumer, checks ESM/CommonJS/browser/testing imports and exercises key login, recovery and
|
|
234
|
+
Responses over a local fake fetch. It requires the npm registry for dependencies, no deployment
|
|
235
|
+
credentials, and no IndexedDB polyfill. It verifies package/runtime behavior, not backend access
|
|
236
|
+
control or live deployment integration.
|
|
237
|
+
|
|
216
238
|
### Configuring HTTP transport
|
|
217
239
|
|
|
218
240
|
React Query still manages React caches, mutations and refetching. The SDK transport underneath
|
|
@@ -1947,6 +1947,8 @@ declare namespace houseTemplate {
|
|
|
1947
1947
|
*/
|
|
1948
1948
|
|
|
1949
1949
|
type WorkspaceUpdateRequest$1 = components['schemas']['WorkspaceUpdateRequest'];
|
|
1950
|
+
/** A workspace as the API lists it (`/v1/user/workspaces`), with its stats and members. */
|
|
1951
|
+
type WorkspaceResponse = components['schemas']['WorkspaceResponse'];
|
|
1950
1952
|
declare function listWorkspaces(arbi: ArbiClient): Promise<{
|
|
1951
1953
|
external_id: string;
|
|
1952
1954
|
name: string;
|
|
@@ -2422,6 +2424,7 @@ type workspaces_TransferStatus = TransferStatus;
|
|
|
2422
2424
|
type workspaces_WorkspaceActivityOptions = WorkspaceActivityOptions;
|
|
2423
2425
|
type workspaces_WorkspaceArchive = WorkspaceArchive;
|
|
2424
2426
|
type workspaces_WorkspaceExport = WorkspaceExport;
|
|
2427
|
+
type workspaces_WorkspaceResponse = WorkspaceResponse;
|
|
2425
2428
|
declare const workspaces_addWorkspaceMembers: typeof addWorkspaceMembers;
|
|
2426
2429
|
declare const workspaces_addWorkspaceMembersBody: typeof addWorkspaceMembersBody;
|
|
2427
2430
|
declare const workspaces_addWorkspaceUsers: typeof addWorkspaceUsers;
|
|
@@ -2449,7 +2452,7 @@ declare const workspaces_startWorkspaceTransfer: typeof startWorkspaceTransfer;
|
|
|
2449
2452
|
declare const workspaces_unarchiveWorkspace: typeof unarchiveWorkspace;
|
|
2450
2453
|
declare const workspaces_updateWorkspace: typeof updateWorkspace;
|
|
2451
2454
|
declare namespace workspaces {
|
|
2452
|
-
export { type workspaces_AddWorkspaceMembersRequest as AddWorkspaceMembersRequest, workspaces_EXTERNAL_ACCESS_SECONDS as EXTERNAL_ACCESS_SECONDS, type workspaces_TransferConflictPolicy as TransferConflictPolicy, type workspaces_TransferKind as TransferKind, type workspaces_TransferMode as TransferMode, type workspaces_TransferPlan as TransferPlan, type workspaces_TransferScope as TransferScope, type workspaces_TransferStatus as TransferStatus, type workspaces_WorkspaceActivityOptions as WorkspaceActivityOptions, type workspaces_WorkspaceArchive as WorkspaceArchive, type workspaces_WorkspaceExport as WorkspaceExport, workspaces_addWorkspaceMembers as addWorkspaceMembers, workspaces_addWorkspaceMembersBody as addWorkspaceMembersBody, workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_archiveWorkspace as archiveWorkspace, workspaces_cancelWorkspaceTransfer as cancelWorkspaceTransfer, workspaces_copyDocuments as copyDocuments, workspaces_createWorkspace as createWorkspace, workspaces_deleteWorkspaces as deleteWorkspaces, workspaces_exportWorkspaceData as exportWorkspaceData, workspaces_getWorkspaceAccessStatus as getWorkspaceAccessStatus, workspaces_getWorkspaceActivity as getWorkspaceActivity, workspaces_getWorkspaceArchive as getWorkspaceArchive, workspaces_getWorkspaceTransfer as getWorkspaceTransfer, workspaces_grantTemporaryWorkspaceAccess as grantTemporaryWorkspaceAccess, workspaces_listWorkspaceTransfers as listWorkspaceTransfers, workspaces_listWorkspaceUsers as listWorkspaceUsers, workspaces_listWorkspaces as listWorkspaces, workspaces_moveWorkspaceToProject as moveWorkspaceToProject, workspaces_planWorkspaceTransfer as planWorkspaceTransfer, workspaces_primeWorkspaceKey as primeWorkspaceKey, workspaces_removeWorkspaceUsers as removeWorkspaceUsers, workspaces_resumeWorkspaceTransfer as resumeWorkspaceTransfer, workspaces_setUserRole as setUserRole, workspaces_startWorkspaceTransfer as startWorkspaceTransfer, workspaces_unarchiveWorkspace as unarchiveWorkspace, workspaces_updateWorkspace as updateWorkspace };
|
|
2455
|
+
export { type workspaces_AddWorkspaceMembersRequest as AddWorkspaceMembersRequest, workspaces_EXTERNAL_ACCESS_SECONDS as EXTERNAL_ACCESS_SECONDS, type workspaces_TransferConflictPolicy as TransferConflictPolicy, type workspaces_TransferKind as TransferKind, type workspaces_TransferMode as TransferMode, type workspaces_TransferPlan as TransferPlan, type workspaces_TransferScope as TransferScope, type workspaces_TransferStatus as TransferStatus, type workspaces_WorkspaceActivityOptions as WorkspaceActivityOptions, type workspaces_WorkspaceArchive as WorkspaceArchive, type workspaces_WorkspaceExport as WorkspaceExport, type workspaces_WorkspaceResponse as WorkspaceResponse, workspaces_addWorkspaceMembers as addWorkspaceMembers, workspaces_addWorkspaceMembersBody as addWorkspaceMembersBody, workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_archiveWorkspace as archiveWorkspace, workspaces_cancelWorkspaceTransfer as cancelWorkspaceTransfer, workspaces_copyDocuments as copyDocuments, workspaces_createWorkspace as createWorkspace, workspaces_deleteWorkspaces as deleteWorkspaces, workspaces_exportWorkspaceData as exportWorkspaceData, workspaces_getWorkspaceAccessStatus as getWorkspaceAccessStatus, workspaces_getWorkspaceActivity as getWorkspaceActivity, workspaces_getWorkspaceArchive as getWorkspaceArchive, workspaces_getWorkspaceTransfer as getWorkspaceTransfer, workspaces_grantTemporaryWorkspaceAccess as grantTemporaryWorkspaceAccess, workspaces_listWorkspaceTransfers as listWorkspaceTransfers, workspaces_listWorkspaceUsers as listWorkspaceUsers, workspaces_listWorkspaces as listWorkspaces, workspaces_moveWorkspaceToProject as moveWorkspaceToProject, workspaces_planWorkspaceTransfer as planWorkspaceTransfer, workspaces_primeWorkspaceKey as primeWorkspaceKey, workspaces_removeWorkspaceUsers as removeWorkspaceUsers, workspaces_resumeWorkspaceTransfer as resumeWorkspaceTransfer, workspaces_setUserRole as setUserRole, workspaces_startWorkspaceTransfer as startWorkspaceTransfer, workspaces_unarchiveWorkspace as unarchiveWorkspace, workspaces_updateWorkspace as updateWorkspace };
|
|
2453
2456
|
}
|
|
2454
2457
|
|
|
2455
2458
|
/**
|
|
@@ -7958,6 +7961,8 @@ type ConfigUpdateData$1 = components['schemas']['ConfigUpdateData'];
|
|
|
7958
7961
|
type WorkspaceOpenResponse = components['schemas']['WorkspaceOpenResponse'];
|
|
7959
7962
|
|
|
7960
7963
|
interface ArbiOptions {
|
|
7964
|
+
/** Optional key persistence. Defaults to encrypted browser storage or per-client Node memory. Ignored with a host session. */
|
|
7965
|
+
persistence?: SessionPersistence;
|
|
7961
7966
|
/** Shared HTTP configuration. With a host session, configure its client instead. */
|
|
7962
7967
|
transport?: HttpTransportOptions;
|
|
7963
7968
|
/** Backend API URL (e.g. 'https://arbi.mycompany.com') */
|
|
@@ -17217,4 +17222,4 @@ declare function getAttachableRunId(messages: readonly RunMessage[]): string | n
|
|
|
17217
17222
|
*/
|
|
17218
17223
|
declare function getRunToAttach(localGeneration: LocalGeneration | undefined, messages: readonly RunMessage[]): string | null;
|
|
17219
17224
|
|
|
17220
|
-
export { type CliCredentials as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalendarAccountKind as D, type CalendarCreateBody as E, type CalendarEvent as F, type CalendarKeys as G, type CalendarRead as H, type CalendarSettings as I, type CalendarSettingsBody as J, type CalendarUpdate as K, type CalendarWindow as L, CallApiError as M, type ChatAttachmentFile as N, type ChatAttachmentInput as O, type ChatCryptoContext as P, type ChatKeyRing as Q, type ChatKind as R, type ChatMemberKey as S, type ChatMemberResponse as T, type ChatMessage as U, type ChatMessageResponse as V, type ChatResponse as W, type ChatSession as X, type CitationSummary as Y, type CitationToolSources as Z, type CliConfig as _, type AccountSyncResult as a, type IdentityState as a$, type CommandDescriptor as a0, type ConfigStore as a1, type ConnectOptions as a2, type ConnectorCatalogEntry as a3, type ConnectorFolder as a4, type ConnectorSyncProgress as a5, type ConnectorSyncStatus as a6, type ConnectorVendorKey as a7, type ConnectorVisibilitySettings as a8, type ContextUsage as a9, type DocumentListFields as aA, type DocumentListOrder as aB, type DocumentSelector as aC, type DocumentWaiter as aD, type DocumentWaiterOptions as aE, type DriveSyncProgress as aF, type DriveSyncSummary as aG, DuplicateContactError as aH, ENTITY_KINDS as aI, type EditScope as aJ, type EntityKind as aK, type EventCreateBody as aL, type EventPatchBody as aM, FLAT_TAG_KINDS as aN, type FactResponse as aO, type FactSearchRequest as aP, type FactSearchResponse as aQ, type FindTimeParams as aR, type FormattedWsMessage as aS, type FreeBusyEntry as aT, type FullContextSelection as aU, GOOGLE_VENDORS as aV, type HolidayCountry as aW, type HouseTemplateCandidate as aX, IMANAGE_VENDORS as aY, type IdentityErrorCode as aZ, type IdentityPurchase as a_, type ConversationResponse as aa, type ConversationUsageResponse as ab, type CreateFactRequest as ac, type CreateFactsRequest as ad, type CreateWorkRequest as ae, type CreateWorkflowRequest as af, DEFAULT_AI_USD_PER_GBP as ag, DOC_TERMINAL_STATUSES as ah, DRIVE_SYNC_VENDORS as ai, type Database as aj, type DatabaseAggregateRequest as ak, type DatabaseAggregateResult as al, type DatabaseColumn as am, type DatabaseColumnWrite as an, type DatabaseImportResult as ao, type DatabaseRow as ap, type DatabaseRowPage as aq, type DatabaseRowsQuery as ar, type DateTimeSpec as as, type DecryptedChat as at, type DecryptedChatMessage as au, type DeploymentHouseTemplate as av, type DocInfo as aw, type DocInfoMap as ax, type DocNameMap as ay, type DocumentAutomationAction as az, type ActivityKind as b, SHAREPOINT_VENDORS as b$, type IdentityStatus as b0, type ImportResult as b1, type InvitationRead as b2, type LinkedRun as b3, type ListAllOptions as b4, type ListEventsParams as b5, type ListFactsOptions as b6, type ListPaginatedOptions as b7, MAILBOX_SYNC_VENDORS as b8, MAX_RETRIEVE_DOC_IDS as b9, type ProjectPlanChangeRequest as bA, type ProjectQuoteRequest as bB, type ProjectResponse as bC, type ProjectUpdateRequest as bD, type ProjectUsageResponse as bE, PublicBookingError as bF, type PublicBookingPage as bG, type QuotaExceeded as bH, type RaisedSignal as bI, type RawResponseEvent as bJ, type ReconnectOptions as bK, type ReconnectableWsConnection as bL, type ResolvedCitation as bM, type ResolvedRecipient as bN, type RespondParams as bO, type RespondPartstat as bP, type ResponseHandle as bQ, type ResponseSnapshot as bR, type ResponseStart as bS, type ResponseStartOptions as bT, type RoomCreateBody as bU, type RoomQuery as bV, type RoomRead as bW, type RunProgress as bX, type RunStats as bY, type RunStep as bZ, type RunWaitingOn as b_, MICROSOFT_VENDORS as ba, type MailAttachment as bb, type MessageLevel as bc, type OAuthAccountKind as bd, type OutputItemDone as be, type OverlayItem as bf, type OverlayLayerName as bg, PRESENCE_KINDS as bh, PROMPT_CONTEXT_CHARS as bi, type ParsedSlashCommand as bj, type PendingAuthResponse as bk, type PersonKey as bl, PlanStepsError as bm, type PlanWorkRequest as bn, type ProductResponse as bo, type ProjectAddonKind as bp, type ProjectAddonSettingsRequest as bq, type ProjectBudget as br, type ProjectCheckoutRequest as bs, type ProjectConversationUsageResponse as bt, type ProjectCreateOptions as bu, type ProjectDetails as bv, type ProjectEventKind as bw, type ProjectEventResponse as bx, type ProjectInvoicesResponse as by, type ProjectNextPeriodAddonsRequest as bz, type ActivityResponse as c, type UploadProgressListener as c$, type SSEEvent as c0, type SSEStreamCallbacks as c1, type SSEStreamOutcome as c2, type SSEStreamResult as c3, STEP_FIELD_OPTION_TONES as c4, STOP_ID_WAIT_MS as c5, STOP_REPEAT_WINDOW_MS as c6, SUPPORTED_EXTENSIONS as c7, type ScopedTarget as c8, type SearchChunk as c9, type TagChange as cA, type TagFieldDefinition as cB, type TagGroup as cC, type TagKind as cD, type TagKindField as cE, type TagKindSchema as cF, type TagLinks as cG, type TagListQuery as cH, type TagNode as cI, type TagResponse as cJ, type TagScope as cK, type TagTreeRow as cL, type TaskPlan as cM, type TaskPlanStep as cN, type TaxQuoteResponse as cO, type Thread as cP, type ThreadsResponse as cQ, type TimeSuggestion as cR, type TurnRequest as cS, type UpdateConversationRequest as cT, type UpdateFactRequest as cU, type UpdateWorkflowRequest as cV, type UploadBatchResult as cW, type UploadDirectOptions as cX, type UploadDirectResult as cY, type UploadDocumentsOptions as cZ, type UploadOptions as c_, type SendBack as ca, type ShareRead as cb, type ShareRole as cc, type SkillSummary as cd, type SkippedFile as ce, type SlackConnectionStatus as cf, type StepActionRequest as cg, type StepActivityEvent as ch, type StepAssignee as ci, type StepDisplay as cj, type StepField as ck, type StepFieldOption as cl, type StepFieldOptionTone as cm, type StepKind as cn, type StepPhase as co, type StepSignal as cp, type StepSignalWhen as cq, type StepState as cr, type StepStatus as cs, type SubagentBranchRecord as ct, type SubagentLaneInfo as cu, type SubmitBackgroundQueryOptions as cv, type SubscribeParams as cw, type SyncTriggerResult as cx, TAG_KINDS as cy, TAG_NESTING_MAX_DEPTH as cz, Arbi as d, findSubagentRunId as d$, type UploadResult as d0, type UsageBreakdown as d1, type UserConnectorEntry as d2, type UserDailyUsageResponse as d3, type UserInfo as d4, WebSocketAuthError as d5, type WeeklyHoursSpec as d6, type WorkStatus as d7, type WorkflowAuthMode as d8, type WorkflowResponse as d9, computeRunStats as dA, connectErrorMessage as dB, connectWebSocket as dC, connectWithReconnect as dD, connectors as dE, contacts as dF, continuityPrompt as dG, conversations as dH, countCitations as dI, createAuthenticatedClient as dJ, createDocumentWaiter as dK, createIndexAssigner as dL, databases as dM, defaultKindForFormat as dN, doctags as dO, documents as dP, estimateDraftTokens as dQ, extractDocumentIdsFromMessages as dR, extractFactIdsFromMessages as dS, extractSubagentLanes as dT, facts as dU, files as dV, filterDocumentTags as dW, filterSkills as dX, findLeafForTaskMessage as dY, findMainSiblingLeaf as dZ, findReplyTarget as d_, type WorkflowRunHistoryResponse as da, type WorkflowRunResponse as db, type WorkspaceContext as dc, type WorkspaceOpenResponse as dd, type WsConnection as de, account as df, agentconfig as dg, agents as dh, appendTranscriptionHints as di, assistant as dj, authenticatedFetch as dk, bookPublicSlot as dl, buildCitationChunkData as dm, buildDocNameMap as dn, buildDocumentTools as dp, buildFactsContextTool as dq, buildRetrievalChunkTool as dr, buildRetrievalFullContextTool as ds, buildRetrievalTocTool as dt, buildTurnRequest as du, calendar as dv, calls as dw, canTagHaveParent as dx, cancelPublicBooking as dy, chats as dz, ArbiApiError as e, reduceOutputItem as e$, flattenTagTree as e0, formatAgentStepLabel as e1, formatFileSize as e2, formatGbp as e3, formatGbpPerMillionTokens as e4, formatItemLabel as e5, formatStreamSummary as e6, formatTokens as e7, formatUserName as e8, formatWorkspaceChoices as e9, isAnnotationTag as eA, isConnectorVendorVisible as eB, isDriveSyncVendor as eC, isEntityTag as eD, isFlatKind as eE, isLabelTag as eF, isMailboxSyncVendor as eG, isNearAiUsageBudget as eH, isPresenceTag as eI, isSharePointVendor as eJ, isSharedSkill as eK, isTraceItem as eL, mail as eM, mergeAgentSteps as eN, notifications as eO, parseSSEEvents as eP, parseSlashCommand as eQ, parseSlashTokenInProgress as eR, performPasswordLogin as eS, performSigningKeyLogin as eT, performSsoDeviceFlowLogin as eU, pickMainThread as eV, profile as eW, progressFetch as eX, projects as eY, quotaExceededFrom as eZ, quotaFromStreamError as e_, formatWsMessage as ea, generateEncryptedWorkspaceKey as eb, generateNewWorkspaceKey as ec, getAgentStepLabel as ed, getAttachableRunId as ee, getChildTags as ef, getContextRemainingPercent as eg, getContextUsedPercent as eh, getContextUsedTokens as ei, getCurrentStep as ej, getEligibleParentTags as ek, getErrorCode as el, getErrorMessage as em, getPublicBookingPage as en, getRawWorkspaceKey as eo, getRunToAttach as ep, getRunToCancel as eq, getStepDisplay as er, getStepTool as es, getSubagentBranchRecord as et, getTagDescendantIds as eu, health as ev, houseTemplate as ew, hydrateAgentSteps as ex, identity as ey, identityErrorCode as ez, ArbiError as f, refusalReason as f0, requireData as f1, requireOk as f2, resolveAuth as f3, resolveCitations as f4, resolveSummary as f5, resolveWorkspace as f6, responses as f7, searchChunks as f8, selectFullContextDocument as f9, selectWorkspace as fa, selectWorkspaceById as fb, sessions as fc, settings as fd, signatureRequests as fe, sliceToSubagentThread as ff, streamSSE as fg, stripCitationMarkdown as fh, subagentJobLabel as fi, summarizeCitations as fj, tagUseCount as fk, tags as fl, tagsForScope as fm, tagsOfGroup as fn, topLevelAgentSteps as fo, uploadSkill as fp, usdToGbp as fq, work as fr, workflowSteps as fs, workflows as ft, workspaces as fu, wouldCreateTagCycle as fv, type ArbiErrorOptions as g, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiTransportError as k, ArbiWorkspaceChangedError as l, ArbiWorkspaceSupersededError as m, type AskHandlers as n, type AskRequest as o, type AttendeeRead as p, type AuthContext as q, type AuthHeaders as r, type AuthMode as s, type AuthenticatedClient as t, type BookingPage as u, type BookingPageWriteBody as v, type BookingRequestBody as w, type BridgeTokensOptions as x, type CalDavProfile as y, type CalendarAccount as z };
|
|
17225
|
+
export { type CliCredentials as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalendarAccountKind as D, type CalendarCreateBody as E, type CalendarEvent as F, type CalendarKeys as G, type CalendarRead as H, type CalendarSettings as I, type CalendarSettingsBody as J, type CalendarUpdate as K, type CalendarWindow as L, CallApiError as M, type ChatAttachmentFile as N, type ChatAttachmentInput as O, type ChatCryptoContext as P, type ChatKeyRing as Q, type ChatKind as R, type ChatMemberKey as S, type ChatMemberResponse as T, type ChatMessage as U, type ChatMessageResponse as V, type ChatResponse as W, type ChatSession as X, type CitationSummary as Y, type CitationToolSources as Z, type CliConfig as _, type AccountSyncResult as a, type IdentityState as a$, type CommandDescriptor as a0, type ConfigStore as a1, type ConnectOptions as a2, type ConnectorCatalogEntry as a3, type ConnectorFolder as a4, type ConnectorSyncProgress as a5, type ConnectorSyncStatus as a6, type ConnectorVendorKey as a7, type ConnectorVisibilitySettings as a8, type ContextUsage as a9, type DocumentListFields as aA, type DocumentListOrder as aB, type DocumentSelector as aC, type DocumentWaiter as aD, type DocumentWaiterOptions as aE, type DriveSyncProgress as aF, type DriveSyncSummary as aG, DuplicateContactError as aH, ENTITY_KINDS as aI, type EditScope as aJ, type EntityKind as aK, type EventCreateBody as aL, type EventPatchBody as aM, FLAT_TAG_KINDS as aN, type FactResponse as aO, type FactSearchRequest as aP, type FactSearchResponse as aQ, type FindTimeParams as aR, type FormattedWsMessage as aS, type FreeBusyEntry as aT, type FullContextSelection as aU, GOOGLE_VENDORS as aV, type HolidayCountry as aW, type HouseTemplateCandidate as aX, IMANAGE_VENDORS as aY, type IdentityErrorCode as aZ, type IdentityPurchase as a_, type ConversationResponse as aa, type ConversationUsageResponse as ab, type CreateFactRequest as ac, type CreateFactsRequest as ad, type CreateWorkRequest as ae, type CreateWorkflowRequest as af, DEFAULT_AI_USD_PER_GBP as ag, DOC_TERMINAL_STATUSES as ah, DRIVE_SYNC_VENDORS as ai, type Database as aj, type DatabaseAggregateRequest as ak, type DatabaseAggregateResult as al, type DatabaseColumn as am, type DatabaseColumnWrite as an, type DatabaseImportResult as ao, type DatabaseRow as ap, type DatabaseRowPage as aq, type DatabaseRowsQuery as ar, type DateTimeSpec as as, type DecryptedChat as at, type DecryptedChatMessage as au, type DeploymentHouseTemplate as av, type DocInfo as aw, type DocInfoMap as ax, type DocNameMap as ay, type DocumentAutomationAction as az, type ActivityKind as b, SHAREPOINT_VENDORS as b$, type IdentityStatus as b0, type ImportResult as b1, type InvitationRead as b2, type LinkedRun as b3, type ListAllOptions as b4, type ListEventsParams as b5, type ListFactsOptions as b6, type ListPaginatedOptions as b7, MAILBOX_SYNC_VENDORS as b8, MAX_RETRIEVE_DOC_IDS as b9, type ProjectPlanChangeRequest as bA, type ProjectQuoteRequest as bB, type ProjectResponse as bC, type ProjectUpdateRequest as bD, type ProjectUsageResponse as bE, PublicBookingError as bF, type PublicBookingPage as bG, type QuotaExceeded as bH, type RaisedSignal as bI, type RawResponseEvent as bJ, type ReconnectOptions as bK, type ReconnectableWsConnection as bL, type ResolvedCitation as bM, type ResolvedRecipient as bN, type RespondParams as bO, type RespondPartstat as bP, type ResponseHandle as bQ, type ResponseSnapshot as bR, type ResponseStart as bS, type ResponseStartOptions as bT, type RoomCreateBody as bU, type RoomQuery as bV, type RoomRead as bW, type RunProgress as bX, type RunStats as bY, type RunStep as bZ, type RunWaitingOn as b_, MICROSOFT_VENDORS as ba, type MailAttachment as bb, type MessageLevel as bc, type OAuthAccountKind as bd, type OutputItemDone as be, type OverlayItem as bf, type OverlayLayerName as bg, PRESENCE_KINDS as bh, PROMPT_CONTEXT_CHARS as bi, type ParsedSlashCommand as bj, type PendingAuthResponse as bk, type PersonKey as bl, PlanStepsError as bm, type PlanWorkRequest as bn, type ProductResponse as bo, type ProjectAddonKind as bp, type ProjectAddonSettingsRequest as bq, type ProjectBudget as br, type ProjectCheckoutRequest as bs, type ProjectConversationUsageResponse as bt, type ProjectCreateOptions as bu, type ProjectDetails as bv, type ProjectEventKind as bw, type ProjectEventResponse as bx, type ProjectInvoicesResponse as by, type ProjectNextPeriodAddonsRequest as bz, type ActivityResponse as c, type UploadProgressListener as c$, type SSEEvent as c0, type SSEStreamCallbacks as c1, type SSEStreamOutcome as c2, type SSEStreamResult as c3, STEP_FIELD_OPTION_TONES as c4, STOP_ID_WAIT_MS as c5, STOP_REPEAT_WINDOW_MS as c6, SUPPORTED_EXTENSIONS as c7, type ScopedTarget as c8, type SearchChunk as c9, type TagChange as cA, type TagFieldDefinition as cB, type TagGroup as cC, type TagKind as cD, type TagKindField as cE, type TagKindSchema as cF, type TagLinks as cG, type TagListQuery as cH, type TagNode as cI, type TagResponse as cJ, type TagScope as cK, type TagTreeRow as cL, type TaskPlan as cM, type TaskPlanStep as cN, type TaxQuoteResponse as cO, type Thread as cP, type ThreadsResponse as cQ, type TimeSuggestion as cR, type TurnRequest as cS, type UpdateConversationRequest as cT, type UpdateFactRequest as cU, type UpdateWorkflowRequest as cV, type UploadBatchResult as cW, type UploadDirectOptions as cX, type UploadDirectResult as cY, type UploadDocumentsOptions as cZ, type UploadOptions as c_, type SendBack as ca, type ShareRead as cb, type ShareRole as cc, type SkillSummary as cd, type SkippedFile as ce, type SlackConnectionStatus as cf, type StepActionRequest as cg, type StepActivityEvent as ch, type StepAssignee as ci, type StepDisplay as cj, type StepField as ck, type StepFieldOption as cl, type StepFieldOptionTone as cm, type StepKind as cn, type StepPhase as co, type StepSignal as cp, type StepSignalWhen as cq, type StepState as cr, type StepStatus as cs, type SubagentBranchRecord as ct, type SubagentLaneInfo as cu, type SubmitBackgroundQueryOptions as cv, type SubscribeParams as cw, type SyncTriggerResult as cx, TAG_KINDS as cy, TAG_NESTING_MAX_DEPTH as cz, Arbi as d, findReplyTarget as d$, type UploadResult as d0, type UsageBreakdown as d1, type UserConnectorEntry as d2, type UserDailyUsageResponse as d3, type UserInfo as d4, WebSocketAuthError as d5, type WeeklyHoursSpec as d6, type WorkStatus as d7, type WorkflowAuthMode as d8, type WorkflowResponse as d9, chats as dA, computeRunStats as dB, connectErrorMessage as dC, connectWebSocket as dD, connectWithReconnect as dE, connectors as dF, contacts as dG, continuityPrompt as dH, conversations as dI, countCitations as dJ, createAuthenticatedClient as dK, createDocumentWaiter as dL, createIndexAssigner as dM, databases as dN, defaultKindForFormat as dO, doctags as dP, documents as dQ, estimateDraftTokens as dR, extractDocumentIdsFromMessages as dS, extractFactIdsFromMessages as dT, extractSubagentLanes as dU, facts as dV, files as dW, filterDocumentTags as dX, filterSkills as dY, findLeafForTaskMessage as dZ, findMainSiblingLeaf as d_, type WorkflowRunHistoryResponse as da, type WorkflowRunResponse as db, type WorkspaceContext as dc, type WorkspaceOpenResponse as dd, type WorkspaceResponse as de, type WsConnection as df, account as dg, agentconfig as dh, agents as di, appendTranscriptionHints as dj, assistant as dk, authenticatedFetch as dl, bookPublicSlot as dm, buildCitationChunkData as dn, buildDocNameMap as dp, buildDocumentTools as dq, buildFactsContextTool as dr, buildRetrievalChunkTool as ds, buildRetrievalFullContextTool as dt, buildRetrievalTocTool as du, buildTurnRequest as dv, calendar as dw, calls as dx, canTagHaveParent as dy, cancelPublicBooking as dz, ArbiApiError as e, quotaFromStreamError as e$, findSubagentRunId as e0, flattenTagTree as e1, formatAgentStepLabel as e2, formatFileSize as e3, formatGbp as e4, formatGbpPerMillionTokens as e5, formatItemLabel as e6, formatStreamSummary as e7, formatTokens as e8, formatUserName as e9, identityErrorCode as eA, isAnnotationTag as eB, isConnectorVendorVisible as eC, isDriveSyncVendor as eD, isEntityTag as eE, isFlatKind as eF, isLabelTag as eG, isMailboxSyncVendor as eH, isNearAiUsageBudget as eI, isPresenceTag as eJ, isSharePointVendor as eK, isSharedSkill as eL, isTraceItem as eM, mail as eN, mergeAgentSteps as eO, notifications as eP, parseSSEEvents as eQ, parseSlashCommand as eR, parseSlashTokenInProgress as eS, performPasswordLogin as eT, performSigningKeyLogin as eU, performSsoDeviceFlowLogin as eV, pickMainThread as eW, profile as eX, progressFetch as eY, projects as eZ, quotaExceededFrom as e_, formatWorkspaceChoices as ea, formatWsMessage as eb, generateEncryptedWorkspaceKey as ec, generateNewWorkspaceKey as ed, getAgentStepLabel as ee, getAttachableRunId as ef, getChildTags as eg, getContextRemainingPercent as eh, getContextUsedPercent as ei, getContextUsedTokens as ej, getCurrentStep as ek, getEligibleParentTags as el, getErrorCode as em, getErrorMessage as en, getPublicBookingPage as eo, getRawWorkspaceKey as ep, getRunToAttach as eq, getRunToCancel as er, getStepDisplay as es, getStepTool as et, getSubagentBranchRecord as eu, getTagDescendantIds as ev, health as ew, houseTemplate as ex, hydrateAgentSteps as ey, identity as ez, ArbiError as f, reduceOutputItem as f0, refusalReason as f1, requireData as f2, requireOk as f3, resolveAuth as f4, resolveCitations as f5, resolveSummary as f6, resolveWorkspace as f7, responses as f8, searchChunks as f9, selectFullContextDocument as fa, selectWorkspace as fb, selectWorkspaceById as fc, sessions as fd, settings as fe, signatureRequests as ff, sliceToSubagentThread as fg, streamSSE as fh, stripCitationMarkdown as fi, subagentJobLabel as fj, summarizeCitations as fk, tagUseCount as fl, tags as fm, tagsForScope as fn, tagsOfGroup as fo, topLevelAgentSteps as fp, uploadSkill as fq, usdToGbp as fr, work as fs, workflowSteps as ft, workflows as fu, workspaces as fv, wouldCreateTagCycle as fw, type ArbiErrorOptions as g, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiTransportError as k, ArbiWorkspaceChangedError as l, ArbiWorkspaceSupersededError as m, type AskHandlers as n, type AskRequest as o, type AttendeeRead as p, type AuthContext as q, type AuthHeaders as r, type AuthMode as s, type AuthenticatedClient as t, type BookingPage as u, type BookingPageWriteBody as v, type BookingRequestBody as w, type BridgeTokensOptions as x, type CalDavProfile as y, type CalendarAccount as z };
|
|
@@ -1947,6 +1947,8 @@ declare namespace houseTemplate {
|
|
|
1947
1947
|
*/
|
|
1948
1948
|
|
|
1949
1949
|
type WorkspaceUpdateRequest$1 = components['schemas']['WorkspaceUpdateRequest'];
|
|
1950
|
+
/** A workspace as the API lists it (`/v1/user/workspaces`), with its stats and members. */
|
|
1951
|
+
type WorkspaceResponse = components['schemas']['WorkspaceResponse'];
|
|
1950
1952
|
declare function listWorkspaces(arbi: ArbiClient): Promise<{
|
|
1951
1953
|
external_id: string;
|
|
1952
1954
|
name: string;
|
|
@@ -2422,6 +2424,7 @@ type workspaces_TransferStatus = TransferStatus;
|
|
|
2422
2424
|
type workspaces_WorkspaceActivityOptions = WorkspaceActivityOptions;
|
|
2423
2425
|
type workspaces_WorkspaceArchive = WorkspaceArchive;
|
|
2424
2426
|
type workspaces_WorkspaceExport = WorkspaceExport;
|
|
2427
|
+
type workspaces_WorkspaceResponse = WorkspaceResponse;
|
|
2425
2428
|
declare const workspaces_addWorkspaceMembers: typeof addWorkspaceMembers;
|
|
2426
2429
|
declare const workspaces_addWorkspaceMembersBody: typeof addWorkspaceMembersBody;
|
|
2427
2430
|
declare const workspaces_addWorkspaceUsers: typeof addWorkspaceUsers;
|
|
@@ -2449,7 +2452,7 @@ declare const workspaces_startWorkspaceTransfer: typeof startWorkspaceTransfer;
|
|
|
2449
2452
|
declare const workspaces_unarchiveWorkspace: typeof unarchiveWorkspace;
|
|
2450
2453
|
declare const workspaces_updateWorkspace: typeof updateWorkspace;
|
|
2451
2454
|
declare namespace workspaces {
|
|
2452
|
-
export { type workspaces_AddWorkspaceMembersRequest as AddWorkspaceMembersRequest, workspaces_EXTERNAL_ACCESS_SECONDS as EXTERNAL_ACCESS_SECONDS, type workspaces_TransferConflictPolicy as TransferConflictPolicy, type workspaces_TransferKind as TransferKind, type workspaces_TransferMode as TransferMode, type workspaces_TransferPlan as TransferPlan, type workspaces_TransferScope as TransferScope, type workspaces_TransferStatus as TransferStatus, type workspaces_WorkspaceActivityOptions as WorkspaceActivityOptions, type workspaces_WorkspaceArchive as WorkspaceArchive, type workspaces_WorkspaceExport as WorkspaceExport, workspaces_addWorkspaceMembers as addWorkspaceMembers, workspaces_addWorkspaceMembersBody as addWorkspaceMembersBody, workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_archiveWorkspace as archiveWorkspace, workspaces_cancelWorkspaceTransfer as cancelWorkspaceTransfer, workspaces_copyDocuments as copyDocuments, workspaces_createWorkspace as createWorkspace, workspaces_deleteWorkspaces as deleteWorkspaces, workspaces_exportWorkspaceData as exportWorkspaceData, workspaces_getWorkspaceAccessStatus as getWorkspaceAccessStatus, workspaces_getWorkspaceActivity as getWorkspaceActivity, workspaces_getWorkspaceArchive as getWorkspaceArchive, workspaces_getWorkspaceTransfer as getWorkspaceTransfer, workspaces_grantTemporaryWorkspaceAccess as grantTemporaryWorkspaceAccess, workspaces_listWorkspaceTransfers as listWorkspaceTransfers, workspaces_listWorkspaceUsers as listWorkspaceUsers, workspaces_listWorkspaces as listWorkspaces, workspaces_moveWorkspaceToProject as moveWorkspaceToProject, workspaces_planWorkspaceTransfer as planWorkspaceTransfer, workspaces_primeWorkspaceKey as primeWorkspaceKey, workspaces_removeWorkspaceUsers as removeWorkspaceUsers, workspaces_resumeWorkspaceTransfer as resumeWorkspaceTransfer, workspaces_setUserRole as setUserRole, workspaces_startWorkspaceTransfer as startWorkspaceTransfer, workspaces_unarchiveWorkspace as unarchiveWorkspace, workspaces_updateWorkspace as updateWorkspace };
|
|
2455
|
+
export { type workspaces_AddWorkspaceMembersRequest as AddWorkspaceMembersRequest, workspaces_EXTERNAL_ACCESS_SECONDS as EXTERNAL_ACCESS_SECONDS, type workspaces_TransferConflictPolicy as TransferConflictPolicy, type workspaces_TransferKind as TransferKind, type workspaces_TransferMode as TransferMode, type workspaces_TransferPlan as TransferPlan, type workspaces_TransferScope as TransferScope, type workspaces_TransferStatus as TransferStatus, type workspaces_WorkspaceActivityOptions as WorkspaceActivityOptions, type workspaces_WorkspaceArchive as WorkspaceArchive, type workspaces_WorkspaceExport as WorkspaceExport, type workspaces_WorkspaceResponse as WorkspaceResponse, workspaces_addWorkspaceMembers as addWorkspaceMembers, workspaces_addWorkspaceMembersBody as addWorkspaceMembersBody, workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_archiveWorkspace as archiveWorkspace, workspaces_cancelWorkspaceTransfer as cancelWorkspaceTransfer, workspaces_copyDocuments as copyDocuments, workspaces_createWorkspace as createWorkspace, workspaces_deleteWorkspaces as deleteWorkspaces, workspaces_exportWorkspaceData as exportWorkspaceData, workspaces_getWorkspaceAccessStatus as getWorkspaceAccessStatus, workspaces_getWorkspaceActivity as getWorkspaceActivity, workspaces_getWorkspaceArchive as getWorkspaceArchive, workspaces_getWorkspaceTransfer as getWorkspaceTransfer, workspaces_grantTemporaryWorkspaceAccess as grantTemporaryWorkspaceAccess, workspaces_listWorkspaceTransfers as listWorkspaceTransfers, workspaces_listWorkspaceUsers as listWorkspaceUsers, workspaces_listWorkspaces as listWorkspaces, workspaces_moveWorkspaceToProject as moveWorkspaceToProject, workspaces_planWorkspaceTransfer as planWorkspaceTransfer, workspaces_primeWorkspaceKey as primeWorkspaceKey, workspaces_removeWorkspaceUsers as removeWorkspaceUsers, workspaces_resumeWorkspaceTransfer as resumeWorkspaceTransfer, workspaces_setUserRole as setUserRole, workspaces_startWorkspaceTransfer as startWorkspaceTransfer, workspaces_unarchiveWorkspace as unarchiveWorkspace, workspaces_updateWorkspace as updateWorkspace };
|
|
2453
2456
|
}
|
|
2454
2457
|
|
|
2455
2458
|
/**
|
|
@@ -7958,6 +7961,8 @@ type ConfigUpdateData$1 = components['schemas']['ConfigUpdateData'];
|
|
|
7958
7961
|
type WorkspaceOpenResponse = components['schemas']['WorkspaceOpenResponse'];
|
|
7959
7962
|
|
|
7960
7963
|
interface ArbiOptions {
|
|
7964
|
+
/** Optional key persistence. Defaults to encrypted browser storage or per-client Node memory. Ignored with a host session. */
|
|
7965
|
+
persistence?: SessionPersistence;
|
|
7961
7966
|
/** Shared HTTP configuration. With a host session, configure its client instead. */
|
|
7962
7967
|
transport?: HttpTransportOptions;
|
|
7963
7968
|
/** Backend API URL (e.g. 'https://arbi.mycompany.com') */
|
|
@@ -17217,4 +17222,4 @@ declare function getAttachableRunId(messages: readonly RunMessage[]): string | n
|
|
|
17217
17222
|
*/
|
|
17218
17223
|
declare function getRunToAttach(localGeneration: LocalGeneration | undefined, messages: readonly RunMessage[]): string | null;
|
|
17219
17224
|
|
|
17220
|
-
export { type CliCredentials as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalendarAccountKind as D, type CalendarCreateBody as E, type CalendarEvent as F, type CalendarKeys as G, type CalendarRead as H, type CalendarSettings as I, type CalendarSettingsBody as J, type CalendarUpdate as K, type CalendarWindow as L, CallApiError as M, type ChatAttachmentFile as N, type ChatAttachmentInput as O, type ChatCryptoContext as P, type ChatKeyRing as Q, type ChatKind as R, type ChatMemberKey as S, type ChatMemberResponse as T, type ChatMessage as U, type ChatMessageResponse as V, type ChatResponse as W, type ChatSession as X, type CitationSummary as Y, type CitationToolSources as Z, type CliConfig as _, type AccountSyncResult as a, type IdentityState as a$, type CommandDescriptor as a0, type ConfigStore as a1, type ConnectOptions as a2, type ConnectorCatalogEntry as a3, type ConnectorFolder as a4, type ConnectorSyncProgress as a5, type ConnectorSyncStatus as a6, type ConnectorVendorKey as a7, type ConnectorVisibilitySettings as a8, type ContextUsage as a9, type DocumentListFields as aA, type DocumentListOrder as aB, type DocumentSelector as aC, type DocumentWaiter as aD, type DocumentWaiterOptions as aE, type DriveSyncProgress as aF, type DriveSyncSummary as aG, DuplicateContactError as aH, ENTITY_KINDS as aI, type EditScope as aJ, type EntityKind as aK, type EventCreateBody as aL, type EventPatchBody as aM, FLAT_TAG_KINDS as aN, type FactResponse as aO, type FactSearchRequest as aP, type FactSearchResponse as aQ, type FindTimeParams as aR, type FormattedWsMessage as aS, type FreeBusyEntry as aT, type FullContextSelection as aU, GOOGLE_VENDORS as aV, type HolidayCountry as aW, type HouseTemplateCandidate as aX, IMANAGE_VENDORS as aY, type IdentityErrorCode as aZ, type IdentityPurchase as a_, type ConversationResponse as aa, type ConversationUsageResponse as ab, type CreateFactRequest as ac, type CreateFactsRequest as ad, type CreateWorkRequest as ae, type CreateWorkflowRequest as af, DEFAULT_AI_USD_PER_GBP as ag, DOC_TERMINAL_STATUSES as ah, DRIVE_SYNC_VENDORS as ai, type Database as aj, type DatabaseAggregateRequest as ak, type DatabaseAggregateResult as al, type DatabaseColumn as am, type DatabaseColumnWrite as an, type DatabaseImportResult as ao, type DatabaseRow as ap, type DatabaseRowPage as aq, type DatabaseRowsQuery as ar, type DateTimeSpec as as, type DecryptedChat as at, type DecryptedChatMessage as au, type DeploymentHouseTemplate as av, type DocInfo as aw, type DocInfoMap as ax, type DocNameMap as ay, type DocumentAutomationAction as az, type ActivityKind as b, SHAREPOINT_VENDORS as b$, type IdentityStatus as b0, type ImportResult as b1, type InvitationRead as b2, type LinkedRun as b3, type ListAllOptions as b4, type ListEventsParams as b5, type ListFactsOptions as b6, type ListPaginatedOptions as b7, MAILBOX_SYNC_VENDORS as b8, MAX_RETRIEVE_DOC_IDS as b9, type ProjectPlanChangeRequest as bA, type ProjectQuoteRequest as bB, type ProjectResponse as bC, type ProjectUpdateRequest as bD, type ProjectUsageResponse as bE, PublicBookingError as bF, type PublicBookingPage as bG, type QuotaExceeded as bH, type RaisedSignal as bI, type RawResponseEvent as bJ, type ReconnectOptions as bK, type ReconnectableWsConnection as bL, type ResolvedCitation as bM, type ResolvedRecipient as bN, type RespondParams as bO, type RespondPartstat as bP, type ResponseHandle as bQ, type ResponseSnapshot as bR, type ResponseStart as bS, type ResponseStartOptions as bT, type RoomCreateBody as bU, type RoomQuery as bV, type RoomRead as bW, type RunProgress as bX, type RunStats as bY, type RunStep as bZ, type RunWaitingOn as b_, MICROSOFT_VENDORS as ba, type MailAttachment as bb, type MessageLevel as bc, type OAuthAccountKind as bd, type OutputItemDone as be, type OverlayItem as bf, type OverlayLayerName as bg, PRESENCE_KINDS as bh, PROMPT_CONTEXT_CHARS as bi, type ParsedSlashCommand as bj, type PendingAuthResponse as bk, type PersonKey as bl, PlanStepsError as bm, type PlanWorkRequest as bn, type ProductResponse as bo, type ProjectAddonKind as bp, type ProjectAddonSettingsRequest as bq, type ProjectBudget as br, type ProjectCheckoutRequest as bs, type ProjectConversationUsageResponse as bt, type ProjectCreateOptions as bu, type ProjectDetails as bv, type ProjectEventKind as bw, type ProjectEventResponse as bx, type ProjectInvoicesResponse as by, type ProjectNextPeriodAddonsRequest as bz, type ActivityResponse as c, type UploadProgressListener as c$, type SSEEvent as c0, type SSEStreamCallbacks as c1, type SSEStreamOutcome as c2, type SSEStreamResult as c3, STEP_FIELD_OPTION_TONES as c4, STOP_ID_WAIT_MS as c5, STOP_REPEAT_WINDOW_MS as c6, SUPPORTED_EXTENSIONS as c7, type ScopedTarget as c8, type SearchChunk as c9, type TagChange as cA, type TagFieldDefinition as cB, type TagGroup as cC, type TagKind as cD, type TagKindField as cE, type TagKindSchema as cF, type TagLinks as cG, type TagListQuery as cH, type TagNode as cI, type TagResponse as cJ, type TagScope as cK, type TagTreeRow as cL, type TaskPlan as cM, type TaskPlanStep as cN, type TaxQuoteResponse as cO, type Thread as cP, type ThreadsResponse as cQ, type TimeSuggestion as cR, type TurnRequest as cS, type UpdateConversationRequest as cT, type UpdateFactRequest as cU, type UpdateWorkflowRequest as cV, type UploadBatchResult as cW, type UploadDirectOptions as cX, type UploadDirectResult as cY, type UploadDocumentsOptions as cZ, type UploadOptions as c_, type SendBack as ca, type ShareRead as cb, type ShareRole as cc, type SkillSummary as cd, type SkippedFile as ce, type SlackConnectionStatus as cf, type StepActionRequest as cg, type StepActivityEvent as ch, type StepAssignee as ci, type StepDisplay as cj, type StepField as ck, type StepFieldOption as cl, type StepFieldOptionTone as cm, type StepKind as cn, type StepPhase as co, type StepSignal as cp, type StepSignalWhen as cq, type StepState as cr, type StepStatus as cs, type SubagentBranchRecord as ct, type SubagentLaneInfo as cu, type SubmitBackgroundQueryOptions as cv, type SubscribeParams as cw, type SyncTriggerResult as cx, TAG_KINDS as cy, TAG_NESTING_MAX_DEPTH as cz, Arbi as d, findSubagentRunId as d$, type UploadResult as d0, type UsageBreakdown as d1, type UserConnectorEntry as d2, type UserDailyUsageResponse as d3, type UserInfo as d4, WebSocketAuthError as d5, type WeeklyHoursSpec as d6, type WorkStatus as d7, type WorkflowAuthMode as d8, type WorkflowResponse as d9, computeRunStats as dA, connectErrorMessage as dB, connectWebSocket as dC, connectWithReconnect as dD, connectors as dE, contacts as dF, continuityPrompt as dG, conversations as dH, countCitations as dI, createAuthenticatedClient as dJ, createDocumentWaiter as dK, createIndexAssigner as dL, databases as dM, defaultKindForFormat as dN, doctags as dO, documents as dP, estimateDraftTokens as dQ, extractDocumentIdsFromMessages as dR, extractFactIdsFromMessages as dS, extractSubagentLanes as dT, facts as dU, files as dV, filterDocumentTags as dW, filterSkills as dX, findLeafForTaskMessage as dY, findMainSiblingLeaf as dZ, findReplyTarget as d_, type WorkflowRunHistoryResponse as da, type WorkflowRunResponse as db, type WorkspaceContext as dc, type WorkspaceOpenResponse as dd, type WsConnection as de, account as df, agentconfig as dg, agents as dh, appendTranscriptionHints as di, assistant as dj, authenticatedFetch as dk, bookPublicSlot as dl, buildCitationChunkData as dm, buildDocNameMap as dn, buildDocumentTools as dp, buildFactsContextTool as dq, buildRetrievalChunkTool as dr, buildRetrievalFullContextTool as ds, buildRetrievalTocTool as dt, buildTurnRequest as du, calendar as dv, calls as dw, canTagHaveParent as dx, cancelPublicBooking as dy, chats as dz, ArbiApiError as e, reduceOutputItem as e$, flattenTagTree as e0, formatAgentStepLabel as e1, formatFileSize as e2, formatGbp as e3, formatGbpPerMillionTokens as e4, formatItemLabel as e5, formatStreamSummary as e6, formatTokens as e7, formatUserName as e8, formatWorkspaceChoices as e9, isAnnotationTag as eA, isConnectorVendorVisible as eB, isDriveSyncVendor as eC, isEntityTag as eD, isFlatKind as eE, isLabelTag as eF, isMailboxSyncVendor as eG, isNearAiUsageBudget as eH, isPresenceTag as eI, isSharePointVendor as eJ, isSharedSkill as eK, isTraceItem as eL, mail as eM, mergeAgentSteps as eN, notifications as eO, parseSSEEvents as eP, parseSlashCommand as eQ, parseSlashTokenInProgress as eR, performPasswordLogin as eS, performSigningKeyLogin as eT, performSsoDeviceFlowLogin as eU, pickMainThread as eV, profile as eW, progressFetch as eX, projects as eY, quotaExceededFrom as eZ, quotaFromStreamError as e_, formatWsMessage as ea, generateEncryptedWorkspaceKey as eb, generateNewWorkspaceKey as ec, getAgentStepLabel as ed, getAttachableRunId as ee, getChildTags as ef, getContextRemainingPercent as eg, getContextUsedPercent as eh, getContextUsedTokens as ei, getCurrentStep as ej, getEligibleParentTags as ek, getErrorCode as el, getErrorMessage as em, getPublicBookingPage as en, getRawWorkspaceKey as eo, getRunToAttach as ep, getRunToCancel as eq, getStepDisplay as er, getStepTool as es, getSubagentBranchRecord as et, getTagDescendantIds as eu, health as ev, houseTemplate as ew, hydrateAgentSteps as ex, identity as ey, identityErrorCode as ez, ArbiError as f, refusalReason as f0, requireData as f1, requireOk as f2, resolveAuth as f3, resolveCitations as f4, resolveSummary as f5, resolveWorkspace as f6, responses as f7, searchChunks as f8, selectFullContextDocument as f9, selectWorkspace as fa, selectWorkspaceById as fb, sessions as fc, settings as fd, signatureRequests as fe, sliceToSubagentThread as ff, streamSSE as fg, stripCitationMarkdown as fh, subagentJobLabel as fi, summarizeCitations as fj, tagUseCount as fk, tags as fl, tagsForScope as fm, tagsOfGroup as fn, topLevelAgentSteps as fo, uploadSkill as fp, usdToGbp as fq, work as fr, workflowSteps as fs, workflows as ft, workspaces as fu, wouldCreateTagCycle as fv, type ArbiErrorOptions as g, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiTransportError as k, ArbiWorkspaceChangedError as l, ArbiWorkspaceSupersededError as m, type AskHandlers as n, type AskRequest as o, type AttendeeRead as p, type AuthContext as q, type AuthHeaders as r, type AuthMode as s, type AuthenticatedClient as t, type BookingPage as u, type BookingPageWriteBody as v, type BookingRequestBody as w, type BridgeTokensOptions as x, type CalDavProfile as y, type CalendarAccount as z };
|
|
17225
|
+
export { type CliCredentials as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalendarAccountKind as D, type CalendarCreateBody as E, type CalendarEvent as F, type CalendarKeys as G, type CalendarRead as H, type CalendarSettings as I, type CalendarSettingsBody as J, type CalendarUpdate as K, type CalendarWindow as L, CallApiError as M, type ChatAttachmentFile as N, type ChatAttachmentInput as O, type ChatCryptoContext as P, type ChatKeyRing as Q, type ChatKind as R, type ChatMemberKey as S, type ChatMemberResponse as T, type ChatMessage as U, type ChatMessageResponse as V, type ChatResponse as W, type ChatSession as X, type CitationSummary as Y, type CitationToolSources as Z, type CliConfig as _, type AccountSyncResult as a, type IdentityState as a$, type CommandDescriptor as a0, type ConfigStore as a1, type ConnectOptions as a2, type ConnectorCatalogEntry as a3, type ConnectorFolder as a4, type ConnectorSyncProgress as a5, type ConnectorSyncStatus as a6, type ConnectorVendorKey as a7, type ConnectorVisibilitySettings as a8, type ContextUsage as a9, type DocumentListFields as aA, type DocumentListOrder as aB, type DocumentSelector as aC, type DocumentWaiter as aD, type DocumentWaiterOptions as aE, type DriveSyncProgress as aF, type DriveSyncSummary as aG, DuplicateContactError as aH, ENTITY_KINDS as aI, type EditScope as aJ, type EntityKind as aK, type EventCreateBody as aL, type EventPatchBody as aM, FLAT_TAG_KINDS as aN, type FactResponse as aO, type FactSearchRequest as aP, type FactSearchResponse as aQ, type FindTimeParams as aR, type FormattedWsMessage as aS, type FreeBusyEntry as aT, type FullContextSelection as aU, GOOGLE_VENDORS as aV, type HolidayCountry as aW, type HouseTemplateCandidate as aX, IMANAGE_VENDORS as aY, type IdentityErrorCode as aZ, type IdentityPurchase as a_, type ConversationResponse as aa, type ConversationUsageResponse as ab, type CreateFactRequest as ac, type CreateFactsRequest as ad, type CreateWorkRequest as ae, type CreateWorkflowRequest as af, DEFAULT_AI_USD_PER_GBP as ag, DOC_TERMINAL_STATUSES as ah, DRIVE_SYNC_VENDORS as ai, type Database as aj, type DatabaseAggregateRequest as ak, type DatabaseAggregateResult as al, type DatabaseColumn as am, type DatabaseColumnWrite as an, type DatabaseImportResult as ao, type DatabaseRow as ap, type DatabaseRowPage as aq, type DatabaseRowsQuery as ar, type DateTimeSpec as as, type DecryptedChat as at, type DecryptedChatMessage as au, type DeploymentHouseTemplate as av, type DocInfo as aw, type DocInfoMap as ax, type DocNameMap as ay, type DocumentAutomationAction as az, type ActivityKind as b, SHAREPOINT_VENDORS as b$, type IdentityStatus as b0, type ImportResult as b1, type InvitationRead as b2, type LinkedRun as b3, type ListAllOptions as b4, type ListEventsParams as b5, type ListFactsOptions as b6, type ListPaginatedOptions as b7, MAILBOX_SYNC_VENDORS as b8, MAX_RETRIEVE_DOC_IDS as b9, type ProjectPlanChangeRequest as bA, type ProjectQuoteRequest as bB, type ProjectResponse as bC, type ProjectUpdateRequest as bD, type ProjectUsageResponse as bE, PublicBookingError as bF, type PublicBookingPage as bG, type QuotaExceeded as bH, type RaisedSignal as bI, type RawResponseEvent as bJ, type ReconnectOptions as bK, type ReconnectableWsConnection as bL, type ResolvedCitation as bM, type ResolvedRecipient as bN, type RespondParams as bO, type RespondPartstat as bP, type ResponseHandle as bQ, type ResponseSnapshot as bR, type ResponseStart as bS, type ResponseStartOptions as bT, type RoomCreateBody as bU, type RoomQuery as bV, type RoomRead as bW, type RunProgress as bX, type RunStats as bY, type RunStep as bZ, type RunWaitingOn as b_, MICROSOFT_VENDORS as ba, type MailAttachment as bb, type MessageLevel as bc, type OAuthAccountKind as bd, type OutputItemDone as be, type OverlayItem as bf, type OverlayLayerName as bg, PRESENCE_KINDS as bh, PROMPT_CONTEXT_CHARS as bi, type ParsedSlashCommand as bj, type PendingAuthResponse as bk, type PersonKey as bl, PlanStepsError as bm, type PlanWorkRequest as bn, type ProductResponse as bo, type ProjectAddonKind as bp, type ProjectAddonSettingsRequest as bq, type ProjectBudget as br, type ProjectCheckoutRequest as bs, type ProjectConversationUsageResponse as bt, type ProjectCreateOptions as bu, type ProjectDetails as bv, type ProjectEventKind as bw, type ProjectEventResponse as bx, type ProjectInvoicesResponse as by, type ProjectNextPeriodAddonsRequest as bz, type ActivityResponse as c, type UploadProgressListener as c$, type SSEEvent as c0, type SSEStreamCallbacks as c1, type SSEStreamOutcome as c2, type SSEStreamResult as c3, STEP_FIELD_OPTION_TONES as c4, STOP_ID_WAIT_MS as c5, STOP_REPEAT_WINDOW_MS as c6, SUPPORTED_EXTENSIONS as c7, type ScopedTarget as c8, type SearchChunk as c9, type TagChange as cA, type TagFieldDefinition as cB, type TagGroup as cC, type TagKind as cD, type TagKindField as cE, type TagKindSchema as cF, type TagLinks as cG, type TagListQuery as cH, type TagNode as cI, type TagResponse as cJ, type TagScope as cK, type TagTreeRow as cL, type TaskPlan as cM, type TaskPlanStep as cN, type TaxQuoteResponse as cO, type Thread as cP, type ThreadsResponse as cQ, type TimeSuggestion as cR, type TurnRequest as cS, type UpdateConversationRequest as cT, type UpdateFactRequest as cU, type UpdateWorkflowRequest as cV, type UploadBatchResult as cW, type UploadDirectOptions as cX, type UploadDirectResult as cY, type UploadDocumentsOptions as cZ, type UploadOptions as c_, type SendBack as ca, type ShareRead as cb, type ShareRole as cc, type SkillSummary as cd, type SkippedFile as ce, type SlackConnectionStatus as cf, type StepActionRequest as cg, type StepActivityEvent as ch, type StepAssignee as ci, type StepDisplay as cj, type StepField as ck, type StepFieldOption as cl, type StepFieldOptionTone as cm, type StepKind as cn, type StepPhase as co, type StepSignal as cp, type StepSignalWhen as cq, type StepState as cr, type StepStatus as cs, type SubagentBranchRecord as ct, type SubagentLaneInfo as cu, type SubmitBackgroundQueryOptions as cv, type SubscribeParams as cw, type SyncTriggerResult as cx, TAG_KINDS as cy, TAG_NESTING_MAX_DEPTH as cz, Arbi as d, findReplyTarget as d$, type UploadResult as d0, type UsageBreakdown as d1, type UserConnectorEntry as d2, type UserDailyUsageResponse as d3, type UserInfo as d4, WebSocketAuthError as d5, type WeeklyHoursSpec as d6, type WorkStatus as d7, type WorkflowAuthMode as d8, type WorkflowResponse as d9, chats as dA, computeRunStats as dB, connectErrorMessage as dC, connectWebSocket as dD, connectWithReconnect as dE, connectors as dF, contacts as dG, continuityPrompt as dH, conversations as dI, countCitations as dJ, createAuthenticatedClient as dK, createDocumentWaiter as dL, createIndexAssigner as dM, databases as dN, defaultKindForFormat as dO, doctags as dP, documents as dQ, estimateDraftTokens as dR, extractDocumentIdsFromMessages as dS, extractFactIdsFromMessages as dT, extractSubagentLanes as dU, facts as dV, files as dW, filterDocumentTags as dX, filterSkills as dY, findLeafForTaskMessage as dZ, findMainSiblingLeaf as d_, type WorkflowRunHistoryResponse as da, type WorkflowRunResponse as db, type WorkspaceContext as dc, type WorkspaceOpenResponse as dd, type WorkspaceResponse as de, type WsConnection as df, account as dg, agentconfig as dh, agents as di, appendTranscriptionHints as dj, assistant as dk, authenticatedFetch as dl, bookPublicSlot as dm, buildCitationChunkData as dn, buildDocNameMap as dp, buildDocumentTools as dq, buildFactsContextTool as dr, buildRetrievalChunkTool as ds, buildRetrievalFullContextTool as dt, buildRetrievalTocTool as du, buildTurnRequest as dv, calendar as dw, calls as dx, canTagHaveParent as dy, cancelPublicBooking as dz, ArbiApiError as e, quotaFromStreamError as e$, findSubagentRunId as e0, flattenTagTree as e1, formatAgentStepLabel as e2, formatFileSize as e3, formatGbp as e4, formatGbpPerMillionTokens as e5, formatItemLabel as e6, formatStreamSummary as e7, formatTokens as e8, formatUserName as e9, identityErrorCode as eA, isAnnotationTag as eB, isConnectorVendorVisible as eC, isDriveSyncVendor as eD, isEntityTag as eE, isFlatKind as eF, isLabelTag as eG, isMailboxSyncVendor as eH, isNearAiUsageBudget as eI, isPresenceTag as eJ, isSharePointVendor as eK, isSharedSkill as eL, isTraceItem as eM, mail as eN, mergeAgentSteps as eO, notifications as eP, parseSSEEvents as eQ, parseSlashCommand as eR, parseSlashTokenInProgress as eS, performPasswordLogin as eT, performSigningKeyLogin as eU, performSsoDeviceFlowLogin as eV, pickMainThread as eW, profile as eX, progressFetch as eY, projects as eZ, quotaExceededFrom as e_, formatWorkspaceChoices as ea, formatWsMessage as eb, generateEncryptedWorkspaceKey as ec, generateNewWorkspaceKey as ed, getAgentStepLabel as ee, getAttachableRunId as ef, getChildTags as eg, getContextRemainingPercent as eh, getContextUsedPercent as ei, getContextUsedTokens as ej, getCurrentStep as ek, getEligibleParentTags as el, getErrorCode as em, getErrorMessage as en, getPublicBookingPage as eo, getRawWorkspaceKey as ep, getRunToAttach as eq, getRunToCancel as er, getStepDisplay as es, getStepTool as et, getSubagentBranchRecord as eu, getTagDescendantIds as ev, health as ew, houseTemplate as ex, hydrateAgentSteps as ey, identity as ez, ArbiError as f, reduceOutputItem as f0, refusalReason as f1, requireData as f2, requireOk as f3, resolveAuth as f4, resolveCitations as f5, resolveSummary as f6, resolveWorkspace as f7, responses as f8, searchChunks as f9, selectFullContextDocument as fa, selectWorkspace as fb, selectWorkspaceById as fc, sessions as fd, settings as fe, signatureRequests as ff, sliceToSubagentThread as fg, streamSSE as fh, stripCitationMarkdown as fi, subagentJobLabel as fj, summarizeCitations as fk, tagUseCount as fl, tags as fm, tagsForScope as fn, tagsOfGroup as fo, topLevelAgentSteps as fp, uploadSkill as fq, usdToGbp as fr, work as fs, workflowSteps as ft, workflows as fu, workspaces as fv, wouldCreateTagCycle as fw, type ArbiErrorOptions as g, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiTransportError as k, ArbiWorkspaceChangedError as l, ArbiWorkspaceSupersededError as m, type AskHandlers as n, type AskRequest as o, type AttendeeRead as p, type AuthContext as q, type AuthHeaders as r, type AuthMode as s, type AuthenticatedClient as t, type BookingPage as u, type BookingPageWriteBody as v, type BookingRequestBody as w, type BridgeTokensOptions as x, type CalDavProfile as y, type CalendarAccount as z };
|
package/dist/browser.cjs
CHANGED
|
@@ -10673,6 +10673,7 @@ var Arbi = class {
|
|
|
10673
10673
|
baseUrl: this.options.url,
|
|
10674
10674
|
deploymentDomain: domain,
|
|
10675
10675
|
credentials: this.options.credentials ?? "omit",
|
|
10676
|
+
persistence: this.options.persistence,
|
|
10676
10677
|
transport: this.options.transport,
|
|
10677
10678
|
session: client.createSessionManager({ storage: this.options.sessionStorage }),
|
|
10678
10679
|
// A silent re-login rotates the server session key: keep ours in step, or the next
|