@arbidocs/sdk 0.5.129 → 0.5.131

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/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { a4 as ConfigStore, a1 as CliConfig, a2 as CliCredentials, _ as ChatSession, cC as SkippedFile, ds as UploadResult, t as AuthHeaders, dl as UploadBatchResult, dq as UploadOptions, dm as UploadDirectOptions, dn as UploadDirectResult, cq as SUPPORTED_EXTENSIONS, bk as MailAttachment, S as ChatCryptoContext } from './browser-1yrAECmt.cjs';
2
- export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, u as AuthMode, v as AuthenticatedClient, B as BookingConfirmation, w as BookingPage, x as BookingPageWriteBody, y as BookingRequestBody, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, $ as CitationSummary, a0 as CitationToolSources, a3 as CommandDescriptor, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, an as DOC_TERMINAL_STATUSES, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, az as DecryptedChat, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DiagnoseOptions, aD as DirectModelUsage, aE as DocInfo, aF as DocInfoMap, aG as DocNameMap, aH as DocumentAutomationAction, aI as DocumentListFields, aJ as DocumentListOrder, aK as DocumentSelector, aL as DocumentWaiter, aM as DocumentWaiterOptions, aN as DriveSyncProgress, aO as DriveSyncSummary, aP as DuplicateContactError, aQ as ENTITY_KINDS, aR as EditScope, aS as EntityKind, aT as EventCreateBody, aU as EventPatchBody, aV as FLAT_TAG_KINDS, aZ as FindTimeParams, a_ as FormattedWsMessage, a$ as FreeBusyEntry, b0 as FullContextSelection, b1 as GOOGLE_VENDORS, b2 as HolidayCountry, b3 as HouseTemplateCandidate, b4 as IMANAGE_VENDORS, b5 as IdentityErrorCode, b6 as IdentityPurchase, b7 as IdentityState, b8 as IdentityStatus, b9 as ImportResult, ba as InvitationRead, bb as JsonSchemaOutputFormat, bc as LinkedRun, bd as ListAllOptions, be as ListEventsParams, bg as ListPaginatedOptions, bh as MAILBOX_SYNC_VENDORS, bi as MAX_RETRIEVE_DOC_IDS, bj as MICROSOFT_VENDORS, bl as MessageLevel, bm as ModelConnection, bn as OAuthAccountKind, bo as OutputItemDone, bp as OverlayItem, bq as OverlayLayerName, br as PRESENCE_KINDS, bs as PROMPT_CONTEXT_CHARS, bt as ParsedResponse, bu as ParsedSlashCommand, bv as ParsedStructuredResponse, bw as PendingAuthResponse, bx as PersonKey, by as PersonalConnectionInput, bz as PlanStepsError, bA as PlanWorkRequest, bB as ProductResponse, bC as ProjectAddonKind, bD as ProjectAddonSettingsRequest, bE as ProjectBudget, bF as ProjectCheckoutRequest, bG as ProjectConversationUsageResponse, bH as ProjectCreateOptions, bI as ProjectDetails, bJ as ProjectEventKind, bK as ProjectEventResponse, bL as ProjectInvoicesResponse, bM as ProjectNextPeriodAddonsRequest, bN as ProjectPlanChangeRequest, bO as ProjectQuoteRequest, bP as ProjectResponse, bQ as ProjectUpdateRequest, bR as ProjectUsageResponse, bS as PublicBookingError, bT as PublicBookingPage, bU as QuotaExceeded, bV as RaisedSignal, bW as RawResponseEvent, bX as ReconnectOptions, bY as ReconnectableWsConnection, bZ as ResolvedCitation, b_ as ResolvedRecipient, b$ as RespondParams, c0 as RespondPartstat, c1 as Response, c2 as ResponseCreateRequest, c3 as ResponseCreateResult, c4 as ResponseHandle, c5 as ResponseSnapshot, c6 as ResponseStart, c7 as ResponseStartOptions, c8 as ResponseStream, c9 as ResponseStreamEvent, ca as ResponseTools, cb as RoomCreateBody, cc as RoomQuery, cd as RoomRead, ce as RunProgress, cf as RunStats, cg as RunStep, ch as RunWaitingOn, ci as SHAREPOINT_VENDORS, cj as SSEEvent, ck as SSEStreamCallbacks, cl as SSEStreamOutcome, cm as SSEStreamResult, cn as STEP_FIELD_OPTION_TONES, co as STOP_ID_WAIT_MS, cp as STOP_REPEAT_WINDOW_MS, cr as ScopedTarget, cs as SearchChunk, ct as SecureMailCompose, cu as SecureMailSend, cv as SecureMailSender, cw as SendBack, cx as SetupDiagnostic, cy as SetupReport, cz as ShareRead, cA as ShareRole, cB as SkillSummary, cD as SlackConnectionStatus, cE as StepActionRequest, cF as StepActivityEvent, cG as StepAssignee, cH as StepDisplay, cI as StepField, cJ as StepFieldOption, cK as StepFieldOptionTone, cL as StepKind, cM as StepPhase, cN as StepSignal, cO as StepSignalWhen, cP as StepState, cQ as StepStatus, cR as SubagentBranchRecord, cS as SubagentLaneInfo, cT as SubmitBackgroundQueryOptions, cU as SubscribeParams, cV as SupportRating, cW as SupportTicket, cX as SupportTicketInput, cY as SyncTriggerResult, cZ as TAG_KINDS, c_ as TAG_NESTING_MAX_DEPTH, c$ as TagChange, d0 as TagFieldDefinition, d1 as TagGroup, d2 as TagKind, d3 as TagKindField, d4 as TagKindSchema, d5 as TagLinks, d6 as TagListQuery, d7 as TagNode, d8 as TagResponse, d9 as TagScope, da as TagTreeRow, db as TaskPlan, dc as TaskPlanStep, dd as TaxQuoteResponse, de as Thread, df as ThreadsResponse, dg as TimeSuggestion, dh as TurnRequest, di as UpdateConversationRequest, dk as UpdateWorkflowRequest, dp as UploadDocumentsOptions, dr as UploadProgressListener, dt as UsageBreakdown, du as UserConnectorEntry, dv as UserDailyUsageResponse, dw as UserInfo, dx as WebSocketAuthError, dy as WeeklyHoursSpec, dz as WorkStatus, dA as WorkflowAuthMode, dB as WorkflowResponse, dC as WorkflowRunHistoryResponse, dD as WorkflowRunResponse, dE as WorkspaceConflict, dF as WorkspaceContext, dG as WorkspaceOpenResponse, dH as WorkspaceResponse, dI as WsConnection, dJ as account, dK as agentconfig, dL as agents, dM as appendTranscriptionHints, dN as assistant, dO as authenticatedFetch, dP as bookPublicSlot, dQ as buildCitationChunkData, dR as buildDocNameMap, dS as buildDocumentTools, dT as buildFactsContextTool, dU as buildRetrievalChunkTool, dV as buildRetrievalFullContextTool, dW as buildRetrievalTocTool, dX as buildTurnRequest, dY as calendar, dZ as calls, d_ as canTagHaveParent, d$ as cancelPublicBooking, e0 as capabilities, e1 as chats, e2 as composeConfiguration, e3 as composeTools, e4 as computeRunStats, e5 as connectErrorMessage, e6 as connectWebSocket, e7 as connectWithReconnect, e8 as connectors, e9 as contacts, ea as continuityPrompt, eb as conversations, ec as countCitations, ed as createAuthenticatedClient, ee as createDocumentWaiter, ef as createIndexAssigner, eg as databases, eh as defaultKindForFormat, ei as diagnoseSetup, ej as doctags, ek as documentTools, el as documents, em as estimateDraftTokens, en as extractDocumentIdsFromMessages, eo as extractFactIdsFromMessages, ep as extractSubagentLanes, eq as facts, er as files, es as filterDocumentTags, et as filterSkills, eu as findLeafForTaskMessage, ev as findMainSiblingLeaf, ew as findReplyTarget, ex as findSubagentRunId, ey as flattenTagTree, ez as formatAgentStepLabel, eA as formatFileSize, eB as formatGbp, eC as formatGbpPerMillionTokens, eD as formatItemLabel, eE as formatStreamSummary, eF as formatTokens, eG as formatUserName, eH as formatWorkspaceChoices, eI as formatWsMessage, eJ as generateEncryptedWorkspaceKey, eK as generateNewWorkspaceKey, eL as getAgentStepLabel, eM as getAttachableRunId, eN as getChildTags, eO as getContextRemainingPercent, eP as getContextUsedPercent, eQ as getContextUsedTokens, eR as getCurrentStep, eS as getEligibleParentTags, eT as getErrorCode, eU as getErrorMessage, eV as getPublicBookingPage, eW as getRawWorkspaceKey, eX as getRunToAttach, eY as getRunToCancel, eZ as getStepDisplay, e_ as getStepTool, e$ as getSubagentBranchRecord, f0 as getTagDescendantIds, f1 as health, f2 as houseTemplates, f3 as hydrateAgentSteps, f5 as identityErrorCode, f4 as identityVerification, f6 as instructions, f7 as isAnnotationTag, f8 as isConnectorVendorVisible, f9 as isDriveSyncVendor, fa as isEntityTag, fb as isFlatKind, fc as isLabelTag, fd as isMailboxSyncVendor, fe as isNearAiUsageBudget, ff as isPresenceTag, fg as isSharePointVendor, fh as isSharedSkill, fi as isTraceItem, fj as mail, fk as mcpTools, fl as mergeAgentSteps, fm as modelConnections, fn as notifications, fo as parseSSEEvents, fp as parseSlashCommand, fq as parseSlashTokenInProgress, fr as parseStructuredResponse, fs as performPasswordLogin, ft as performSigningKeyLogin, fu as performSsoDeviceFlowLogin, fv as pickMainThread, fw as profile, fx as progressFetch, fy as projects, fz as quotaExceededFrom, fA as quotaFromStreamError, fB as reduceOutputItem, fC as refusalReason, fD as requireData, fE as requireOk, fF as resolveAuth, fG as resolveCitations, fH as resolveSummary, fI as resolveWorkspace, fJ as responses, fK as searchChunks, fL as secureMail, fM as selectFullContextDocument, fN as selectWorkspace, fO as selectWorkspaceById, fP as sessions, fQ as settings, fR as signatureRequests, fS as sliceToSubagentThread, fT as streamSSE, fU as stripCitationMarkdown, fV as subagentJobLabel, fW as summarizeCitations, fX as support, fY as tagUseCount, fZ as tags, f_ as tagsForScope, f$ as tagsOfGroup, g0 as topLevelAgentSteps, g1 as uploadSkill, g2 as usdToGbp, g3 as work, g4 as workflowSteps, g5 as workflows, g6 as workspaceConflictOf, g7 as workspaces, g8 as wouldCreateTagCycle } from './browser-1yrAECmt.cjs';
1
+ import { a8 as ConfigStore, a5 as CliConfig, a6 as CliCredentials, a2 as ChatSession, cG as SkippedFile, dw as UploadResult, x as AuthHeaders, dq as UploadBatchResult, du as UploadOptions, dr as UploadDirectOptions, ds as UploadDirectResult, cu as SUPPORTED_EXTENSIONS, bo as MailAttachment, W as ChatCryptoContext } from './browser-CKJhq6gt.cjs';
2
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, v as AttendeeRead, w as AuthContext, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a3 as CitationSummary, a4 as CitationToolSources, a7 as CommandDescriptor, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, ar as DOC_TERMINAL_STATUSES, as as DRIVE_SYNC_VENDORS, at as Database, au as DatabaseAggregateRequest, av as DatabaseAggregateResult, aw as DatabaseColumn, ax as DatabaseColumnWrite, ay as DatabaseImportResult, az as DatabaseRow, aA as DatabaseRowPage, aB as DatabaseRowsQuery, aC as DateTimeSpec, aD as DecryptedChat, aE as DecryptedChatMessage, aF as DeploymentHouseTemplate, aG as DiagnoseOptions, aH as DirectModelUsage, aI as DocInfo, aJ as DocInfoMap, aK as DocNameMap, aL as DocumentAutomationAction, aM as DocumentListFields, aN as DocumentListOrder, aO as DocumentSelector, aP as DocumentWaiter, aQ as DocumentWaiterOptions, aR as DriveSyncProgress, aS as DriveSyncSummary, aT as DuplicateContactError, aU as ENTITY_KINDS, aV as EditScope, aW as EntityKind, aX as EventCreateBody, aY as EventPatchBody, aZ as FLAT_TAG_KINDS, b1 as FindTimeParams, b2 as FormattedWsMessage, b3 as FreeBusyEntry, b4 as FullContextSelection, b5 as GOOGLE_VENDORS, b6 as HolidayCountry, b7 as HouseTemplateCandidate, b8 as IMANAGE_VENDORS, b9 as IdentityErrorCode, ba as IdentityPurchase, bb as IdentityState, bc as IdentityStatus, bd as ImportResult, be as InvitationRead, bf as JsonSchemaOutputFormat, bg as LinkedRun, bh as ListAllOptions, bi as ListEventsParams, bk as ListPaginatedOptions, bl as MAILBOX_SYNC_VENDORS, bm as MAX_RETRIEVE_DOC_IDS, bn as MICROSOFT_VENDORS, bp as MessageLevel, bq as ModelConnection, br as OAuthAccountKind, bs as OutputItemDone, bt as OverlayItem, bu as OverlayLayerName, bv as PRESENCE_KINDS, bw as PROMPT_CONTEXT_CHARS, bx as ParsedResponse, by as ParsedSlashCommand, bz as ParsedStructuredResponse, bA as PendingAuthResponse, bB as PersonKey, bC as PersonalConnectionInput, bD as PlanStepsError, bE as PlanWorkRequest, bF as ProductResponse, bG as ProjectAddonKind, bH as ProjectAddonSettingsRequest, bI as ProjectBudget, bJ as ProjectCheckoutRequest, bK as ProjectConversationUsageResponse, bL as ProjectCreateOptions, bM as ProjectDetails, bN as ProjectEventKind, bO as ProjectEventResponse, bP as ProjectInvoicesResponse, bQ as ProjectNextPeriodAddonsRequest, bR as ProjectPlanChangeRequest, bS as ProjectQuoteRequest, bT as ProjectResponse, bU as ProjectUpdateRequest, bV as ProjectUsageResponse, bW as PublicBookingError, bX as PublicBookingPage, bY as QuotaExceeded, bZ as RaisedSignal, b_ as RawResponseEvent, b$ as ReconnectOptions, c0 as ReconnectableWsConnection, c1 as ResolvedCitation, c2 as ResolvedRecipient, c3 as RespondParams, c4 as RespondPartstat, c5 as Response, c6 as ResponseCreateRequest, c7 as ResponseCreateResult, c8 as ResponseHandle, c9 as ResponseSnapshot, ca as ResponseStart, cb as ResponseStartOptions, cc as ResponseStream, cd as ResponseStreamEvent, ce as ResponseTools, cf as RoomCreateBody, cg as RoomQuery, ch as RoomRead, ci as RunProgress, cj as RunStats, ck as RunStep, cl as RunWaitingOn, cm as SHAREPOINT_VENDORS, cn as SSEEvent, co as SSEStreamCallbacks, cp as SSEStreamOutcome, cq as SSEStreamResult, cr as STEP_FIELD_OPTION_TONES, cs as STOP_ID_WAIT_MS, ct as STOP_REPEAT_WINDOW_MS, cv as ScopedTarget, cw as SearchChunk, cx as SecureMailCompose, cy as SecureMailSend, cz as SecureMailSender, cA as SendBack, cB as SetupDiagnostic, cC as SetupReport, cD as ShareRead, cE as ShareRole, cF as SkillSummary, cH as SlackConnectionStatus, cI as StepActionRequest, cJ as StepActivityEvent, cK as StepAssignee, cL as StepDisplay, cM as StepField, cN as StepFieldOption, cO as StepFieldOptionTone, cP as StepKind, cQ as StepPhase, cR as StepSignal, cS as StepSignalWhen, cT as StepState, cU as StepStatus, cV as SubagentBranchRecord, cW as SubagentLaneInfo, cX as SubmitBackgroundQueryOptions, cY as SubscribeParams, cZ as SupportRating, c_ as SupportTicket, c$ as SupportTicketInput, d0 as SyncTriggerResult, d1 as TAG_KINDS, d2 as TAG_NESTING_MAX_DEPTH, d3 as TagChange, d4 as TagFieldDefinition, d5 as TagGroup, d6 as TagKind, d7 as TagKindField, d8 as TagKindSchema, d9 as TagLinks, da as TagListQuery, db as TagNode, dc as TagResponse, dd as TagScope, de as TagTreeRow, df as TaskPlan, dg as TaskPlanStep, dh as TaxQuoteResponse, di as Thread, dj as ThreadsResponse, dk as TimeSuggestion, dl as TurnRequest, dm as UpdateConversationRequest, dp as UpdateWorkflowRequest, dt as UploadDocumentsOptions, dv as UploadProgressListener, dx as UsageBreakdown, dy as UserConnectorEntry, dz as UserDailyUsageResponse, dA as UserInfo, dB as WebSocketAuthError, dC as WeeklyHoursSpec, dD as WorkStatus, dE as WorkflowAuthMode, dF as WorkflowResponse, dG as WorkflowRunHistoryResponse, dH as WorkflowRunResponse, dI as WorkspaceConflict, dJ as WorkspaceContext, dK as WorkspaceOpenResponse, dL as WorkspaceResponse, dM as WsConnection, dN as account, dO as agentconfig, dP as agents, dQ as appendTranscriptionHints, dR as assistant, dS as authenticatedFetch, dT as bookPublicSlot, dU as buildCitationChunkData, dV as buildDocNameMap, dW as buildDocumentTools, dX as buildFactsContextTool, dY as buildRetrievalChunkTool, dZ as buildRetrievalFullContextTool, d_ as buildRetrievalTocTool, d$ as buildTurnRequest, e0 as calendar, e1 as calls, e2 as canTagHaveParent, e3 as cancelPublicBooking, e4 as capabilities, e5 as chats, e6 as composeConfiguration, e7 as composeTools, e8 as computeRunStats, e9 as connectErrorMessage, ea as connectWebSocket, eb as connectWithReconnect, ec as connectors, ed as contacts, ee as continuityPrompt, ef as conversations, eg as countCitations, eh as createAuthenticatedClient, ei as createDocumentWaiter, ej as createIndexAssigner, ek as databases, el as defaultKindForFormat, em as diagnoseSetup, en as doctags, eo as documentTools, ep as documents, eq as estimateDraftTokens, er as extractDocumentIdsFromMessages, es as extractFactIdsFromMessages, et as extractSubagentLanes, eu as facts, ev as files, ew as filterDocumentTags, ex as filterSkills, ey as findLeafForTaskMessage, ez as findMainSiblingLeaf, eA as findReplyTarget, eB as findSubagentRunId, eC as flattenTagTree, eD as formatAgentStepLabel, eE as formatFileSize, eF as formatGbp, eG as formatGbpPerMillionTokens, eH as formatItemLabel, eI as formatStreamSummary, eJ as formatTokens, eK as formatUserName, eL as formatWorkspaceChoices, eM as formatWsMessage, eN as generateEncryptedWorkspaceKey, eO as generateNewWorkspaceKey, eP as getAgentStepLabel, eQ as getAttachableRunId, eR as getChildTags, eS as getContextRemainingPercent, eT as getContextUsedPercent, eU as getContextUsedTokens, eV as getCurrentStep, eW as getEligibleParentTags, eX as getErrorCode, eY as getErrorMessage, eZ as getPublicBookingPage, e_ as getRawWorkspaceKey, e$ as getRunToAttach, f0 as getRunToCancel, f1 as getStepDisplay, f2 as getStepTool, f3 as getSubagentBranchRecord, f4 as getTagDescendantIds, f5 as health, f6 as houseTemplates, f7 as hydrateAgentSteps, f9 as identityErrorCode, f8 as identityVerification, fa as instructions, fb as isAnnotationTag, fc as isConnectorVendorVisible, fd as isDriveSyncVendor, fe as isEntityTag, ff as isFlatKind, fg as isLabelTag, fh as isMailboxSyncVendor, fi as isNearAiUsageBudget, fj as isPresenceTag, fk as isSharePointVendor, fl as isSharedSkill, fm as isTraceItem, fn as mail, fo as mcpTools, fp as mergeAgentSteps, fq as modelConnections, fr as notifications, fs as parseSSEEvents, ft as parseSlashCommand, fu as parseSlashTokenInProgress, fv as parseStructuredResponse, fw as performPasswordLogin, fx as performSigningKeyLogin, fy as performSsoDeviceFlowLogin, fz as pickMainThread, fA as profile, fB as progressFetch, fC as projects, fD as quotaExceededFrom, fE as quotaFromStreamError, fF as reduceOutputItem, fG as refusalReason, fH as requireData, fI as requireOk, fJ as resolveAuth, fK as resolveCitations, fL as resolveSummary, fM as resolveWorkspace, fN as responses, fO as searchChunks, fP as secureMail, fQ as selectFullContextDocument, fR as selectWorkspace, fS as selectWorkspaceById, fT as sessions, fU as settings, fV as signatureRequests, fW as sliceToSubagentThread, fX as streamSSE, fY as stripCitationMarkdown, fZ as subagentJobLabel, f_ as summarizeCitations, f$ as support, g0 as tagUseCount, g1 as tags, g2 as tagsForScope, g3 as tagsOfGroup, g4 as topLevelAgentSteps, g5 as uploadSkill, g6 as usdToGbp, g7 as work, g8 as workflowSteps, g9 as workflows, ga as workspaceAssistant, gb as workspaceConflictOf, gc as workspaces, gd as wouldCreateTagCycle } from './browser-CKJhq6gt.cjs';
3
3
  import { SessionPersistence, ArbiClient, components } from '@arbidocs/client';
4
4
  export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
5
5
  export { b as AgentStepEvent, d as ArtifactEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, R as ResponseCompletedEvent, g as ResponseContentPartAddedEvent, h as ResponseCreatedEvent, i as ResponseFailedEvent, j as ResponseOutputItemAddedEvent, k as ResponseOutputItemDoneEvent, l as ResponseOutputTextDeltaEvent, m as ResponseOutputTextDoneEvent, n as ResponseUsage, S as SSEStreamStartData, T as TokenBudgetContext, U as UserInputRequestEvent, o as UserMessageEvent } from './sse-types-B5Lw0KTC.cjs';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a4 as ConfigStore, a1 as CliConfig, a2 as CliCredentials, _ as ChatSession, cC as SkippedFile, ds as UploadResult, t as AuthHeaders, dl as UploadBatchResult, dq as UploadOptions, dm as UploadDirectOptions, dn as UploadDirectResult, cq as SUPPORTED_EXTENSIONS, bk as MailAttachment, S as ChatCryptoContext } from './browser-hBFgBg_x.js';
2
- export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, u as AuthMode, v as AuthenticatedClient, B as BookingConfirmation, w as BookingPage, x as BookingPageWriteBody, y as BookingRequestBody, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, $ as CitationSummary, a0 as CitationToolSources, a3 as CommandDescriptor, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, an as DOC_TERMINAL_STATUSES, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, az as DecryptedChat, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DiagnoseOptions, aD as DirectModelUsage, aE as DocInfo, aF as DocInfoMap, aG as DocNameMap, aH as DocumentAutomationAction, aI as DocumentListFields, aJ as DocumentListOrder, aK as DocumentSelector, aL as DocumentWaiter, aM as DocumentWaiterOptions, aN as DriveSyncProgress, aO as DriveSyncSummary, aP as DuplicateContactError, aQ as ENTITY_KINDS, aR as EditScope, aS as EntityKind, aT as EventCreateBody, aU as EventPatchBody, aV as FLAT_TAG_KINDS, aZ as FindTimeParams, a_ as FormattedWsMessage, a$ as FreeBusyEntry, b0 as FullContextSelection, b1 as GOOGLE_VENDORS, b2 as HolidayCountry, b3 as HouseTemplateCandidate, b4 as IMANAGE_VENDORS, b5 as IdentityErrorCode, b6 as IdentityPurchase, b7 as IdentityState, b8 as IdentityStatus, b9 as ImportResult, ba as InvitationRead, bb as JsonSchemaOutputFormat, bc as LinkedRun, bd as ListAllOptions, be as ListEventsParams, bg as ListPaginatedOptions, bh as MAILBOX_SYNC_VENDORS, bi as MAX_RETRIEVE_DOC_IDS, bj as MICROSOFT_VENDORS, bl as MessageLevel, bm as ModelConnection, bn as OAuthAccountKind, bo as OutputItemDone, bp as OverlayItem, bq as OverlayLayerName, br as PRESENCE_KINDS, bs as PROMPT_CONTEXT_CHARS, bt as ParsedResponse, bu as ParsedSlashCommand, bv as ParsedStructuredResponse, bw as PendingAuthResponse, bx as PersonKey, by as PersonalConnectionInput, bz as PlanStepsError, bA as PlanWorkRequest, bB as ProductResponse, bC as ProjectAddonKind, bD as ProjectAddonSettingsRequest, bE as ProjectBudget, bF as ProjectCheckoutRequest, bG as ProjectConversationUsageResponse, bH as ProjectCreateOptions, bI as ProjectDetails, bJ as ProjectEventKind, bK as ProjectEventResponse, bL as ProjectInvoicesResponse, bM as ProjectNextPeriodAddonsRequest, bN as ProjectPlanChangeRequest, bO as ProjectQuoteRequest, bP as ProjectResponse, bQ as ProjectUpdateRequest, bR as ProjectUsageResponse, bS as PublicBookingError, bT as PublicBookingPage, bU as QuotaExceeded, bV as RaisedSignal, bW as RawResponseEvent, bX as ReconnectOptions, bY as ReconnectableWsConnection, bZ as ResolvedCitation, b_ as ResolvedRecipient, b$ as RespondParams, c0 as RespondPartstat, c1 as Response, c2 as ResponseCreateRequest, c3 as ResponseCreateResult, c4 as ResponseHandle, c5 as ResponseSnapshot, c6 as ResponseStart, c7 as ResponseStartOptions, c8 as ResponseStream, c9 as ResponseStreamEvent, ca as ResponseTools, cb as RoomCreateBody, cc as RoomQuery, cd as RoomRead, ce as RunProgress, cf as RunStats, cg as RunStep, ch as RunWaitingOn, ci as SHAREPOINT_VENDORS, cj as SSEEvent, ck as SSEStreamCallbacks, cl as SSEStreamOutcome, cm as SSEStreamResult, cn as STEP_FIELD_OPTION_TONES, co as STOP_ID_WAIT_MS, cp as STOP_REPEAT_WINDOW_MS, cr as ScopedTarget, cs as SearchChunk, ct as SecureMailCompose, cu as SecureMailSend, cv as SecureMailSender, cw as SendBack, cx as SetupDiagnostic, cy as SetupReport, cz as ShareRead, cA as ShareRole, cB as SkillSummary, cD as SlackConnectionStatus, cE as StepActionRequest, cF as StepActivityEvent, cG as StepAssignee, cH as StepDisplay, cI as StepField, cJ as StepFieldOption, cK as StepFieldOptionTone, cL as StepKind, cM as StepPhase, cN as StepSignal, cO as StepSignalWhen, cP as StepState, cQ as StepStatus, cR as SubagentBranchRecord, cS as SubagentLaneInfo, cT as SubmitBackgroundQueryOptions, cU as SubscribeParams, cV as SupportRating, cW as SupportTicket, cX as SupportTicketInput, cY as SyncTriggerResult, cZ as TAG_KINDS, c_ as TAG_NESTING_MAX_DEPTH, c$ as TagChange, d0 as TagFieldDefinition, d1 as TagGroup, d2 as TagKind, d3 as TagKindField, d4 as TagKindSchema, d5 as TagLinks, d6 as TagListQuery, d7 as TagNode, d8 as TagResponse, d9 as TagScope, da as TagTreeRow, db as TaskPlan, dc as TaskPlanStep, dd as TaxQuoteResponse, de as Thread, df as ThreadsResponse, dg as TimeSuggestion, dh as TurnRequest, di as UpdateConversationRequest, dk as UpdateWorkflowRequest, dp as UploadDocumentsOptions, dr as UploadProgressListener, dt as UsageBreakdown, du as UserConnectorEntry, dv as UserDailyUsageResponse, dw as UserInfo, dx as WebSocketAuthError, dy as WeeklyHoursSpec, dz as WorkStatus, dA as WorkflowAuthMode, dB as WorkflowResponse, dC as WorkflowRunHistoryResponse, dD as WorkflowRunResponse, dE as WorkspaceConflict, dF as WorkspaceContext, dG as WorkspaceOpenResponse, dH as WorkspaceResponse, dI as WsConnection, dJ as account, dK as agentconfig, dL as agents, dM as appendTranscriptionHints, dN as assistant, dO as authenticatedFetch, dP as bookPublicSlot, dQ as buildCitationChunkData, dR as buildDocNameMap, dS as buildDocumentTools, dT as buildFactsContextTool, dU as buildRetrievalChunkTool, dV as buildRetrievalFullContextTool, dW as buildRetrievalTocTool, dX as buildTurnRequest, dY as calendar, dZ as calls, d_ as canTagHaveParent, d$ as cancelPublicBooking, e0 as capabilities, e1 as chats, e2 as composeConfiguration, e3 as composeTools, e4 as computeRunStats, e5 as connectErrorMessage, e6 as connectWebSocket, e7 as connectWithReconnect, e8 as connectors, e9 as contacts, ea as continuityPrompt, eb as conversations, ec as countCitations, ed as createAuthenticatedClient, ee as createDocumentWaiter, ef as createIndexAssigner, eg as databases, eh as defaultKindForFormat, ei as diagnoseSetup, ej as doctags, ek as documentTools, el as documents, em as estimateDraftTokens, en as extractDocumentIdsFromMessages, eo as extractFactIdsFromMessages, ep as extractSubagentLanes, eq as facts, er as files, es as filterDocumentTags, et as filterSkills, eu as findLeafForTaskMessage, ev as findMainSiblingLeaf, ew as findReplyTarget, ex as findSubagentRunId, ey as flattenTagTree, ez as formatAgentStepLabel, eA as formatFileSize, eB as formatGbp, eC as formatGbpPerMillionTokens, eD as formatItemLabel, eE as formatStreamSummary, eF as formatTokens, eG as formatUserName, eH as formatWorkspaceChoices, eI as formatWsMessage, eJ as generateEncryptedWorkspaceKey, eK as generateNewWorkspaceKey, eL as getAgentStepLabel, eM as getAttachableRunId, eN as getChildTags, eO as getContextRemainingPercent, eP as getContextUsedPercent, eQ as getContextUsedTokens, eR as getCurrentStep, eS as getEligibleParentTags, eT as getErrorCode, eU as getErrorMessage, eV as getPublicBookingPage, eW as getRawWorkspaceKey, eX as getRunToAttach, eY as getRunToCancel, eZ as getStepDisplay, e_ as getStepTool, e$ as getSubagentBranchRecord, f0 as getTagDescendantIds, f1 as health, f2 as houseTemplates, f3 as hydrateAgentSteps, f5 as identityErrorCode, f4 as identityVerification, f6 as instructions, f7 as isAnnotationTag, f8 as isConnectorVendorVisible, f9 as isDriveSyncVendor, fa as isEntityTag, fb as isFlatKind, fc as isLabelTag, fd as isMailboxSyncVendor, fe as isNearAiUsageBudget, ff as isPresenceTag, fg as isSharePointVendor, fh as isSharedSkill, fi as isTraceItem, fj as mail, fk as mcpTools, fl as mergeAgentSteps, fm as modelConnections, fn as notifications, fo as parseSSEEvents, fp as parseSlashCommand, fq as parseSlashTokenInProgress, fr as parseStructuredResponse, fs as performPasswordLogin, ft as performSigningKeyLogin, fu as performSsoDeviceFlowLogin, fv as pickMainThread, fw as profile, fx as progressFetch, fy as projects, fz as quotaExceededFrom, fA as quotaFromStreamError, fB as reduceOutputItem, fC as refusalReason, fD as requireData, fE as requireOk, fF as resolveAuth, fG as resolveCitations, fH as resolveSummary, fI as resolveWorkspace, fJ as responses, fK as searchChunks, fL as secureMail, fM as selectFullContextDocument, fN as selectWorkspace, fO as selectWorkspaceById, fP as sessions, fQ as settings, fR as signatureRequests, fS as sliceToSubagentThread, fT as streamSSE, fU as stripCitationMarkdown, fV as subagentJobLabel, fW as summarizeCitations, fX as support, fY as tagUseCount, fZ as tags, f_ as tagsForScope, f$ as tagsOfGroup, g0 as topLevelAgentSteps, g1 as uploadSkill, g2 as usdToGbp, g3 as work, g4 as workflowSteps, g5 as workflows, g6 as workspaceConflictOf, g7 as workspaces, g8 as wouldCreateTagCycle } from './browser-hBFgBg_x.js';
1
+ import { a8 as ConfigStore, a5 as CliConfig, a6 as CliCredentials, a2 as ChatSession, cG as SkippedFile, dw as UploadResult, x as AuthHeaders, dq as UploadBatchResult, du as UploadOptions, dr as UploadDirectOptions, ds as UploadDirectResult, cu as SUPPORTED_EXTENSIONS, bo as MailAttachment, W as ChatCryptoContext } from './browser-DtCCYgwL.js';
2
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, v as AttendeeRead, w as AuthContext, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a3 as CitationSummary, a4 as CitationToolSources, a7 as CommandDescriptor, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, ar as DOC_TERMINAL_STATUSES, as as DRIVE_SYNC_VENDORS, at as Database, au as DatabaseAggregateRequest, av as DatabaseAggregateResult, aw as DatabaseColumn, ax as DatabaseColumnWrite, ay as DatabaseImportResult, az as DatabaseRow, aA as DatabaseRowPage, aB as DatabaseRowsQuery, aC as DateTimeSpec, aD as DecryptedChat, aE as DecryptedChatMessage, aF as DeploymentHouseTemplate, aG as DiagnoseOptions, aH as DirectModelUsage, aI as DocInfo, aJ as DocInfoMap, aK as DocNameMap, aL as DocumentAutomationAction, aM as DocumentListFields, aN as DocumentListOrder, aO as DocumentSelector, aP as DocumentWaiter, aQ as DocumentWaiterOptions, aR as DriveSyncProgress, aS as DriveSyncSummary, aT as DuplicateContactError, aU as ENTITY_KINDS, aV as EditScope, aW as EntityKind, aX as EventCreateBody, aY as EventPatchBody, aZ as FLAT_TAG_KINDS, b1 as FindTimeParams, b2 as FormattedWsMessage, b3 as FreeBusyEntry, b4 as FullContextSelection, b5 as GOOGLE_VENDORS, b6 as HolidayCountry, b7 as HouseTemplateCandidate, b8 as IMANAGE_VENDORS, b9 as IdentityErrorCode, ba as IdentityPurchase, bb as IdentityState, bc as IdentityStatus, bd as ImportResult, be as InvitationRead, bf as JsonSchemaOutputFormat, bg as LinkedRun, bh as ListAllOptions, bi as ListEventsParams, bk as ListPaginatedOptions, bl as MAILBOX_SYNC_VENDORS, bm as MAX_RETRIEVE_DOC_IDS, bn as MICROSOFT_VENDORS, bp as MessageLevel, bq as ModelConnection, br as OAuthAccountKind, bs as OutputItemDone, bt as OverlayItem, bu as OverlayLayerName, bv as PRESENCE_KINDS, bw as PROMPT_CONTEXT_CHARS, bx as ParsedResponse, by as ParsedSlashCommand, bz as ParsedStructuredResponse, bA as PendingAuthResponse, bB as PersonKey, bC as PersonalConnectionInput, bD as PlanStepsError, bE as PlanWorkRequest, bF as ProductResponse, bG as ProjectAddonKind, bH as ProjectAddonSettingsRequest, bI as ProjectBudget, bJ as ProjectCheckoutRequest, bK as ProjectConversationUsageResponse, bL as ProjectCreateOptions, bM as ProjectDetails, bN as ProjectEventKind, bO as ProjectEventResponse, bP as ProjectInvoicesResponse, bQ as ProjectNextPeriodAddonsRequest, bR as ProjectPlanChangeRequest, bS as ProjectQuoteRequest, bT as ProjectResponse, bU as ProjectUpdateRequest, bV as ProjectUsageResponse, bW as PublicBookingError, bX as PublicBookingPage, bY as QuotaExceeded, bZ as RaisedSignal, b_ as RawResponseEvent, b$ as ReconnectOptions, c0 as ReconnectableWsConnection, c1 as ResolvedCitation, c2 as ResolvedRecipient, c3 as RespondParams, c4 as RespondPartstat, c5 as Response, c6 as ResponseCreateRequest, c7 as ResponseCreateResult, c8 as ResponseHandle, c9 as ResponseSnapshot, ca as ResponseStart, cb as ResponseStartOptions, cc as ResponseStream, cd as ResponseStreamEvent, ce as ResponseTools, cf as RoomCreateBody, cg as RoomQuery, ch as RoomRead, ci as RunProgress, cj as RunStats, ck as RunStep, cl as RunWaitingOn, cm as SHAREPOINT_VENDORS, cn as SSEEvent, co as SSEStreamCallbacks, cp as SSEStreamOutcome, cq as SSEStreamResult, cr as STEP_FIELD_OPTION_TONES, cs as STOP_ID_WAIT_MS, ct as STOP_REPEAT_WINDOW_MS, cv as ScopedTarget, cw as SearchChunk, cx as SecureMailCompose, cy as SecureMailSend, cz as SecureMailSender, cA as SendBack, cB as SetupDiagnostic, cC as SetupReport, cD as ShareRead, cE as ShareRole, cF as SkillSummary, cH as SlackConnectionStatus, cI as StepActionRequest, cJ as StepActivityEvent, cK as StepAssignee, cL as StepDisplay, cM as StepField, cN as StepFieldOption, cO as StepFieldOptionTone, cP as StepKind, cQ as StepPhase, cR as StepSignal, cS as StepSignalWhen, cT as StepState, cU as StepStatus, cV as SubagentBranchRecord, cW as SubagentLaneInfo, cX as SubmitBackgroundQueryOptions, cY as SubscribeParams, cZ as SupportRating, c_ as SupportTicket, c$ as SupportTicketInput, d0 as SyncTriggerResult, d1 as TAG_KINDS, d2 as TAG_NESTING_MAX_DEPTH, d3 as TagChange, d4 as TagFieldDefinition, d5 as TagGroup, d6 as TagKind, d7 as TagKindField, d8 as TagKindSchema, d9 as TagLinks, da as TagListQuery, db as TagNode, dc as TagResponse, dd as TagScope, de as TagTreeRow, df as TaskPlan, dg as TaskPlanStep, dh as TaxQuoteResponse, di as Thread, dj as ThreadsResponse, dk as TimeSuggestion, dl as TurnRequest, dm as UpdateConversationRequest, dp as UpdateWorkflowRequest, dt as UploadDocumentsOptions, dv as UploadProgressListener, dx as UsageBreakdown, dy as UserConnectorEntry, dz as UserDailyUsageResponse, dA as UserInfo, dB as WebSocketAuthError, dC as WeeklyHoursSpec, dD as WorkStatus, dE as WorkflowAuthMode, dF as WorkflowResponse, dG as WorkflowRunHistoryResponse, dH as WorkflowRunResponse, dI as WorkspaceConflict, dJ as WorkspaceContext, dK as WorkspaceOpenResponse, dL as WorkspaceResponse, dM as WsConnection, dN as account, dO as agentconfig, dP as agents, dQ as appendTranscriptionHints, dR as assistant, dS as authenticatedFetch, dT as bookPublicSlot, dU as buildCitationChunkData, dV as buildDocNameMap, dW as buildDocumentTools, dX as buildFactsContextTool, dY as buildRetrievalChunkTool, dZ as buildRetrievalFullContextTool, d_ as buildRetrievalTocTool, d$ as buildTurnRequest, e0 as calendar, e1 as calls, e2 as canTagHaveParent, e3 as cancelPublicBooking, e4 as capabilities, e5 as chats, e6 as composeConfiguration, e7 as composeTools, e8 as computeRunStats, e9 as connectErrorMessage, ea as connectWebSocket, eb as connectWithReconnect, ec as connectors, ed as contacts, ee as continuityPrompt, ef as conversations, eg as countCitations, eh as createAuthenticatedClient, ei as createDocumentWaiter, ej as createIndexAssigner, ek as databases, el as defaultKindForFormat, em as diagnoseSetup, en as doctags, eo as documentTools, ep as documents, eq as estimateDraftTokens, er as extractDocumentIdsFromMessages, es as extractFactIdsFromMessages, et as extractSubagentLanes, eu as facts, ev as files, ew as filterDocumentTags, ex as filterSkills, ey as findLeafForTaskMessage, ez as findMainSiblingLeaf, eA as findReplyTarget, eB as findSubagentRunId, eC as flattenTagTree, eD as formatAgentStepLabel, eE as formatFileSize, eF as formatGbp, eG as formatGbpPerMillionTokens, eH as formatItemLabel, eI as formatStreamSummary, eJ as formatTokens, eK as formatUserName, eL as formatWorkspaceChoices, eM as formatWsMessage, eN as generateEncryptedWorkspaceKey, eO as generateNewWorkspaceKey, eP as getAgentStepLabel, eQ as getAttachableRunId, eR as getChildTags, eS as getContextRemainingPercent, eT as getContextUsedPercent, eU as getContextUsedTokens, eV as getCurrentStep, eW as getEligibleParentTags, eX as getErrorCode, eY as getErrorMessage, eZ as getPublicBookingPage, e_ as getRawWorkspaceKey, e$ as getRunToAttach, f0 as getRunToCancel, f1 as getStepDisplay, f2 as getStepTool, f3 as getSubagentBranchRecord, f4 as getTagDescendantIds, f5 as health, f6 as houseTemplates, f7 as hydrateAgentSteps, f9 as identityErrorCode, f8 as identityVerification, fa as instructions, fb as isAnnotationTag, fc as isConnectorVendorVisible, fd as isDriveSyncVendor, fe as isEntityTag, ff as isFlatKind, fg as isLabelTag, fh as isMailboxSyncVendor, fi as isNearAiUsageBudget, fj as isPresenceTag, fk as isSharePointVendor, fl as isSharedSkill, fm as isTraceItem, fn as mail, fo as mcpTools, fp as mergeAgentSteps, fq as modelConnections, fr as notifications, fs as parseSSEEvents, ft as parseSlashCommand, fu as parseSlashTokenInProgress, fv as parseStructuredResponse, fw as performPasswordLogin, fx as performSigningKeyLogin, fy as performSsoDeviceFlowLogin, fz as pickMainThread, fA as profile, fB as progressFetch, fC as projects, fD as quotaExceededFrom, fE as quotaFromStreamError, fF as reduceOutputItem, fG as refusalReason, fH as requireData, fI as requireOk, fJ as resolveAuth, fK as resolveCitations, fL as resolveSummary, fM as resolveWorkspace, fN as responses, fO as searchChunks, fP as secureMail, fQ as selectFullContextDocument, fR as selectWorkspace, fS as selectWorkspaceById, fT as sessions, fU as settings, fV as signatureRequests, fW as sliceToSubagentThread, fX as streamSSE, fY as stripCitationMarkdown, fZ as subagentJobLabel, f_ as summarizeCitations, f$ as support, g0 as tagUseCount, g1 as tags, g2 as tagsForScope, g3 as tagsOfGroup, g4 as topLevelAgentSteps, g5 as uploadSkill, g6 as usdToGbp, g7 as work, g8 as workflowSteps, g9 as workflows, ga as workspaceAssistant, gb as workspaceConflictOf, gc as workspaces, gd as wouldCreateTagCycle } from './browser-DtCCYgwL.js';
3
3
  import { SessionPersistence, ArbiClient, components } from '@arbidocs/client';
4
4
  export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
5
5
  export { b as AgentStepEvent, d as ArtifactEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, R as ResponseCompletedEvent, g as ResponseContentPartAddedEvent, h as ResponseCreatedEvent, i as ResponseFailedEvent, j as ResponseOutputItemAddedEvent, k as ResponseOutputItemDoneEvent, l as ResponseOutputTextDeltaEvent, m as ResponseOutputTextDoneEvent, n as ResponseUsage, S as SSEStreamStartData, T as TokenBudgetContext, U as UserInputRequestEvent, o as UserMessageEvent } from './sse-types-B5Lw0KTC.js';
package/dist/index.js CHANGED
@@ -6356,6 +6356,7 @@ __export(documents_exports, {
6356
6356
  listVersions: () => listVersions,
6357
6357
  mimeFromName: () => mimeFromName,
6358
6358
  presignedPut: () => presignedPut,
6359
+ restoreVersion: () => restoreVersion,
6359
6360
  sanitizeFolderPath: () => sanitizeFolderPath,
6360
6361
  similarDocuments: () => similarDocuments,
6361
6362
  updateDocuments: () => updateDocuments,
@@ -6525,6 +6526,19 @@ async function listVersions(arbi, docId) {
6525
6526
  "Failed to fetch document versions"
6526
6527
  );
6527
6528
  }
6529
+ async function restoreVersion(arbi, docId, version, expectedCurrentVersion, workspaceExtId, signal) {
6530
+ const query2 = {
6531
+ expected_current_version: expectedCurrentVersion,
6532
+ workspace_ext_id: workspaceExtId
6533
+ };
6534
+ return requireData(
6535
+ await arbi.fetch.POST("/v1/document/{document_ext_id}/versions/{n}/restore", {
6536
+ params: { path: { document_ext_id: docId, n: version }, query: query2 },
6537
+ signal
6538
+ }),
6539
+ "Failed to restore document version"
6540
+ );
6541
+ }
6528
6542
  async function finaliseTranslation(arbi, docId) {
6529
6543
  return requireData(
6530
6544
  await arbi.fetch.POST("/v1/document/{document_ext_id}/finalise-translation", {
@@ -7090,6 +7104,62 @@ async function unlockModelConnections(arbi, keys, onlyId) {
7090
7104
  }
7091
7105
  }
7092
7106
 
7107
+ // src/operations/workspace-assistant.ts
7108
+ var workspace_assistant_exports = {};
7109
+ __export(workspace_assistant_exports, {
7110
+ getBrief: () => getBrief,
7111
+ getStatus: () => getStatus,
7112
+ listArrivals: () => listArrivals,
7113
+ markArrivalWrong: () => markArrivalWrong,
7114
+ markMessageDraftSent: () => markMessageDraftSent,
7115
+ updateBrief: () => updateBrief
7116
+ });
7117
+ var FAILED2 = "Could not update the workspace Assistant";
7118
+ async function getBrief(arbi, workspaceExtId) {
7119
+ return requireData(
7120
+ await arbi.fetch.GET("/v1/workspace-assistant/brief", {
7121
+ params: { query: { workspace_ext_id: workspaceExtId } }
7122
+ }),
7123
+ FAILED2
7124
+ );
7125
+ }
7126
+ async function updateBrief(arbi, body) {
7127
+ return requireData(await arbi.fetch.PUT("/v1/workspace-assistant/brief", { body }), FAILED2);
7128
+ }
7129
+ async function listArrivals(arbi, workspaceExtId, limit = 50) {
7130
+ return requireData(
7131
+ await arbi.fetch.GET("/v1/workspace-assistant/arrivals", {
7132
+ params: { query: { workspace_ext_id: workspaceExtId, limit } }
7133
+ }),
7134
+ FAILED2
7135
+ );
7136
+ }
7137
+ async function markArrivalWrong(arbi, arrivalExtId) {
7138
+ return requireData(
7139
+ await arbi.fetch.POST("/v1/workspace-assistant/arrivals/{arrival_ext_id}/wrong", {
7140
+ params: { path: { arrival_ext_id: arrivalExtId } }
7141
+ }),
7142
+ FAILED2
7143
+ );
7144
+ }
7145
+ async function markMessageDraftSent(arbi, arrivalExtId, index) {
7146
+ requireOk(
7147
+ await arbi.fetch.POST(
7148
+ "/v1/workspace-assistant/arrivals/{arrival_ext_id}/message-drafts/{index}/sent",
7149
+ { params: { path: { arrival_ext_id: arrivalExtId, index } } }
7150
+ ),
7151
+ FAILED2
7152
+ );
7153
+ }
7154
+ async function getStatus(arbi, workspaceExtId) {
7155
+ return requireData(
7156
+ await arbi.fetch.GET("/v1/workspace-assistant/status", {
7157
+ params: { query: { workspace_ext_id: workspaceExtId } }
7158
+ }),
7159
+ FAILED2
7160
+ );
7161
+ }
7162
+
7093
7163
  // src/operations/secure-mail.ts
7094
7164
  var secure_mail_exports = {};
7095
7165
  __export(secure_mail_exports, {
@@ -7868,6 +7938,7 @@ __export(contacts_exports, {
7868
7938
  inviteContacts: () => inviteContacts,
7869
7939
  linkContact: () => linkContact,
7870
7940
  listContacts: () => listContacts,
7941
+ referralSummary: () => referralSummary,
7871
7942
  searchContacts: () => searchContacts,
7872
7943
  updateContact: () => updateContact
7873
7944
  });
@@ -7984,6 +8055,12 @@ function groupContactsByStatus(contactList) {
7984
8055
  }
7985
8056
  return { registered, pending, cards };
7986
8057
  }
8058
+ async function referralSummary(client) {
8059
+ return requireData(
8060
+ await client.fetch.GET("/v1/user/referrals"),
8061
+ "Failed to fetch invitation progress"
8062
+ );
8063
+ }
7987
8064
 
7988
8065
  // src/operations/doctags.ts
7989
8066
  var doctags_exports = {};
@@ -9263,7 +9340,7 @@ async function requestDeletion(arbi) {
9263
9340
  var identity_exports = {};
9264
9341
  __export(identity_exports, {
9265
9342
  acceptName: () => acceptName,
9266
- getStatus: () => getStatus,
9343
+ getStatus: () => getStatus2,
9267
9344
  identityErrorCode: () => identityErrorCode,
9268
9345
  purchase: () => purchase,
9269
9346
  refresh: () => refresh,
@@ -9295,7 +9372,7 @@ function unwrap(result, fallback) {
9295
9372
  }
9296
9373
  return result.data;
9297
9374
  }
9298
- async function getStatus(arbi) {
9375
+ async function getStatus2(arbi) {
9299
9376
  return unwrap(await arbi.fetch.GET("/v1/user/identity"), "Failed to load identity verification");
9300
9377
  }
9301
9378
  async function purchase(arbi, projectExtId) {
@@ -12812,7 +12889,7 @@ var Arbi = class {
12812
12889
  // ── Identity verification ─────────────────────────────────────────────
12813
12890
  identity = {
12814
12891
  /** Whether the ID check is offered (Pro plans), its price, and where the user's check stands. */
12815
- status: () => getStatus(this.requireClient()),
12892
+ status: () => getStatus2(this.requireClient()),
12816
12893
  /** Charge the one-time fee to an own Pro project; `requires_action` carries a payment URL. */
12817
12894
  purchase: (projectExtId) => purchase(this.requireClient(), projectExtId),
12818
12895
  /** The Didit session URL to run the web SDK on. */
@@ -12826,7 +12903,7 @@ var Arbi = class {
12826
12903
  /** Take the name on the document as the account name; the profile follows. */
12827
12904
  acceptName: async () => {
12828
12905
  const client = this.requireClient();
12829
- const offered = await getStatus(client);
12906
+ const offered = await getStatus2(client);
12830
12907
  const status = await acceptName(client);
12831
12908
  if (this.userProfile && offered.document_given_name) {
12832
12909
  this.setUserProfile({
@@ -13054,6 +13131,25 @@ var Arbi = class {
13054
13131
  get: (externalIds) => getDocuments(this.requireClient(), externalIds),
13055
13132
  /** Every version of a document, oldest first; `is_current` marks the current one. */
13056
13133
  versions: (docId) => listVersions(this.requireClient(), docId),
13134
+ /** Restore an earlier snapshot as a new version, retaining history and rejecting concurrent edits. */
13135
+ restoreVersion: (docId, version, expectedCurrentVersion) => {
13136
+ const workspaceExtId = this.requireWorkspace();
13137
+ const signal = this.requireClient().auth.sessionSignal();
13138
+ return this.recovering(() => {
13139
+ signal.throwIfAborted();
13140
+ if (this.currentWorkspaceId !== workspaceExtId) {
13141
+ throw new ArbiWorkspaceChangedError(workspaceExtId, "restoring a document in");
13142
+ }
13143
+ return restoreVersion(
13144
+ this.requireClient(),
13145
+ docId,
13146
+ version,
13147
+ expectedCurrentVersion,
13148
+ workspaceExtId,
13149
+ signal
13150
+ );
13151
+ });
13152
+ },
13057
13153
  /** Save a translation's current version as a new PDF document linked to its original. */
13058
13154
  finaliseTranslation: (docId) => finaliseTranslation(this.requireClient(), docId),
13059
13155
  delete: (externalIds) => deleteDocuments(this.requireClient(), externalIds),
@@ -13758,6 +13854,7 @@ var Arbi = class {
13758
13854
  // A card is sealed under its address book's key, which the contacts key bridge carries: without
13759
13855
  // it the server returns `card: null` and refuses card writes.
13760
13856
  contacts = {
13857
+ referrals: () => referralSummary(this.requireClient()),
13761
13858
  list: () => this.withContactKeys((c2) => listContacts(c2)),
13762
13859
  invite: (emails) => inviteContacts(this.requireClient(), emails),
13763
13860
  create: (body) => this.withContactKeys((c2) => createContact(c2, body)),
@@ -14428,6 +14525,17 @@ var Arbi = class {
14428
14525
  /** The documents the open workspace may use as its house template. */
14429
14526
  candidates: () => listHouseTemplateCandidates(this.requireClient())
14430
14527
  };
14528
+ // ── Workspace Assistant ─────────────────────────────────────────────
14529
+ /** The workspace's standing instructions for its Assistant, and what it did with each arrival. */
14530
+ workspaceAssistant = {
14531
+ brief: (workspaceExtId) => getBrief(this.requireClient(), workspaceExtId),
14532
+ updateBrief: (body) => updateBrief(this.requireClient(), body),
14533
+ arrivals: (workspaceExtId, limit) => listArrivals(this.requireClient(), workspaceExtId, limit),
14534
+ status: (workspaceExtId) => getStatus(this.requireClient(), workspaceExtId),
14535
+ markWrong: (arrivalExtId) => markArrivalWrong(this.requireClient(), arrivalExtId),
14536
+ /** Record that a message the Assistant drafted was sent, so it is not offered again. */
14537
+ markMessageSent: (arrivalExtId, index) => markMessageDraftSent(this.requireClient(), arrivalExtId, index)
14538
+ };
14431
14539
  // ── Model connections ───────────────────────────────────────────────
14432
14540
  /**
14433
14541
  * The main agent's OpenAI-compatible endpoints: the box's and the user's own. A personal key is
@@ -16360,6 +16468,6 @@ function composeTools(base, next, mode) {
16360
16468
  return structuredClone(mode === "add" ? { ...base, ...next } : next);
16361
16469
  }
16362
16470
 
16363
- export { ACCOUNT_VENDOR, Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ArbiStructuredOutputError, ArbiTransportError, ArbiWorkspaceChangedError, ArbiWorkspaceSupersededError, ArbiWorkspaceUnavailableError, CallApiError, ClaudeOrchestrator, DEFAULT_AI_USD_PER_GBP, DOC_TERMINAL_STATUSES, DRIVE_SYNC_VENDORS, DuplicateContactError, ENTITY_KINDS, FLAT_TAG_KINDS, FileConfigStore, GOOGLE_VENDORS, IMANAGE_VENDORS, MAILBOX_SYNC_VENDORS, MAX_RETRIEVE_DOC_IDS, MICROSOFT_VENDORS, OpenClawOrchestrator, PRESENCE_KINDS, PROMPT_CONTEXT_CHARS, PlanStepsError, PublicBookingError, ResponseStream, SHAREPOINT_VENDORS, STEP_FIELD_OPTION_TONES, STOP_ID_WAIT_MS, STOP_REPEAT_WINDOW_MS, TAG_KINDS, TAG_NESTING_MAX_DEPTH, WebSocketAuthError, account_exports as account, agentconfig_exports as agentconfig, agents_exports as agents, appendTranscriptionHints, assistant_exports as assistant, authenticatedFetch, bookPublicSlot, buildCitationChunkData, buildDocNameMap, buildDocumentTools, buildFactsContextTool, buildRetrievalChunkTool, buildRetrievalFullContextTool, buildRetrievalTocTool, buildTurnRequest, calendar_exports as calendar, calls_exports as calls, canTagHaveParent, cancelPublicBooking, capabilities, chats_exports as chats, composeConfiguration, composeTools, computeRunStats, connectErrorMessage, connectWebSocket, connectWithReconnect, connectors_exports as connectors, contacts_exports as contacts, continuityPrompt, conversations_exports as conversations, countCitations, createAuthenticatedClient, createDocumentWaiter, createIndexAssigner, databases_exports as databases, defaultKindForFormat, device_flow_exports as deviceFlow, diagnoseSetup, doctags_exports as doctags, documentTools, documents_exports as documents, documents_node_exports as documentsNode, estimateDraftTokens, extractDocumentIdsFromMessages, extractFactIdsFromMessages, extractSubagentLanes, facts_exports as facts, files_exports as files, filterDocumentTags, filterSkills, findLeafForTaskMessage, findMainSiblingLeaf, findReplyTarget, findSubagentRunId, firm_exports as firm, flattenTagTree, formatAgentStepLabel, formatFileSize, formatGbp, formatGbpPerMillionTokens, formatItemLabel, formatStreamSummary, formatTokens, formatUserName, formatWorkspaceChoices, formatWsMessage, generateEncryptedWorkspaceKey, generateNewWorkspaceKey, getAgentStepLabel, getAttachableRunId, getChildTags, getContextRemainingPercent, getContextUsedPercent, getContextUsedTokens, getCurrentStep, getEligibleParentTags, getErrorCode, getErrorMessage, getPublicBookingPage, getRawWorkspaceKey, getRunToAttach, getRunToCancel, getStepDisplay, getStepTool, getSubagentBranchRecord, getTagDescendantIds, health_exports as health, house_template_exports as houseTemplates, hydrateAgentSteps, identityErrorCode, identity_exports as identityVerification, instructions, isAnnotationTag, isConnectorVendorVisible, isDriveSyncVendor, isEntityTag, isFlatKind, isLabelTag, isMailboxSyncVendor, isNearAiUsageBudget, isPresenceTag, isSharePointVendor, isSharedSkill, isTraceItem, listen_exports as listen, mail_exports as mail, mail_node_exports as mailNode, mcpTools, mergeAgentSteps, model_connections_exports as modelConnections, notifications_exports as notifications, parseSSEEvents, parseSlashCommand, parseSlashTokenInProgress, parseStructuredResponse, performPasswordLogin, performSigningKeyLogin, performSsoDeviceFlowLogin, pickMainThread, profile_exports as profile, progressFetch, projects_exports as projects, quotaExceededFrom, quotaFromStreamError, reduceOutputItem, refusalReason, requireData, requireOk, resolveAuth, resolveCitations, resolveSummary, resolveWorkspace, responses_exports as responses, searchChunks, secure_mail_exports as secureMail, selectFullContextDocument, selectWorkspace, selectWorkspaceById, sessions_exports as sessions, settings_exports as settings, signature_requests_exports as signatureRequests, sliceToSubagentThread, startDmListener, streamSSE, stripCitationMarkdown, subagentJobLabel, summarizeCitations, support_exports as support, tagUseCount, tags_exports as tags, tagsForScope, tagsOfGroup, topLevelAgentSteps, uploadSkill, usdToGbp, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspaceConflictOf, workspaces_exports as workspaces, wouldCreateTagCycle };
16471
+ export { ACCOUNT_VENDOR, Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ArbiStructuredOutputError, ArbiTransportError, ArbiWorkspaceChangedError, ArbiWorkspaceSupersededError, ArbiWorkspaceUnavailableError, CallApiError, ClaudeOrchestrator, DEFAULT_AI_USD_PER_GBP, DOC_TERMINAL_STATUSES, DRIVE_SYNC_VENDORS, DuplicateContactError, ENTITY_KINDS, FLAT_TAG_KINDS, FileConfigStore, GOOGLE_VENDORS, IMANAGE_VENDORS, MAILBOX_SYNC_VENDORS, MAX_RETRIEVE_DOC_IDS, MICROSOFT_VENDORS, OpenClawOrchestrator, PRESENCE_KINDS, PROMPT_CONTEXT_CHARS, PlanStepsError, PublicBookingError, ResponseStream, SHAREPOINT_VENDORS, STEP_FIELD_OPTION_TONES, STOP_ID_WAIT_MS, STOP_REPEAT_WINDOW_MS, TAG_KINDS, TAG_NESTING_MAX_DEPTH, WebSocketAuthError, account_exports as account, agentconfig_exports as agentconfig, agents_exports as agents, appendTranscriptionHints, assistant_exports as assistant, authenticatedFetch, bookPublicSlot, buildCitationChunkData, buildDocNameMap, buildDocumentTools, buildFactsContextTool, buildRetrievalChunkTool, buildRetrievalFullContextTool, buildRetrievalTocTool, buildTurnRequest, calendar_exports as calendar, calls_exports as calls, canTagHaveParent, cancelPublicBooking, capabilities, chats_exports as chats, composeConfiguration, composeTools, computeRunStats, connectErrorMessage, connectWebSocket, connectWithReconnect, connectors_exports as connectors, contacts_exports as contacts, continuityPrompt, conversations_exports as conversations, countCitations, createAuthenticatedClient, createDocumentWaiter, createIndexAssigner, databases_exports as databases, defaultKindForFormat, device_flow_exports as deviceFlow, diagnoseSetup, doctags_exports as doctags, documentTools, documents_exports as documents, documents_node_exports as documentsNode, estimateDraftTokens, extractDocumentIdsFromMessages, extractFactIdsFromMessages, extractSubagentLanes, facts_exports as facts, files_exports as files, filterDocumentTags, filterSkills, findLeafForTaskMessage, findMainSiblingLeaf, findReplyTarget, findSubagentRunId, firm_exports as firm, flattenTagTree, formatAgentStepLabel, formatFileSize, formatGbp, formatGbpPerMillionTokens, formatItemLabel, formatStreamSummary, formatTokens, formatUserName, formatWorkspaceChoices, formatWsMessage, generateEncryptedWorkspaceKey, generateNewWorkspaceKey, getAgentStepLabel, getAttachableRunId, getChildTags, getContextRemainingPercent, getContextUsedPercent, getContextUsedTokens, getCurrentStep, getEligibleParentTags, getErrorCode, getErrorMessage, getPublicBookingPage, getRawWorkspaceKey, getRunToAttach, getRunToCancel, getStepDisplay, getStepTool, getSubagentBranchRecord, getTagDescendantIds, health_exports as health, house_template_exports as houseTemplates, hydrateAgentSteps, identityErrorCode, identity_exports as identityVerification, instructions, isAnnotationTag, isConnectorVendorVisible, isDriveSyncVendor, isEntityTag, isFlatKind, isLabelTag, isMailboxSyncVendor, isNearAiUsageBudget, isPresenceTag, isSharePointVendor, isSharedSkill, isTraceItem, listen_exports as listen, mail_exports as mail, mail_node_exports as mailNode, mcpTools, mergeAgentSteps, model_connections_exports as modelConnections, notifications_exports as notifications, parseSSEEvents, parseSlashCommand, parseSlashTokenInProgress, parseStructuredResponse, performPasswordLogin, performSigningKeyLogin, performSsoDeviceFlowLogin, pickMainThread, profile_exports as profile, progressFetch, projects_exports as projects, quotaExceededFrom, quotaFromStreamError, reduceOutputItem, refusalReason, requireData, requireOk, resolveAuth, resolveCitations, resolveSummary, resolveWorkspace, responses_exports as responses, searchChunks, secure_mail_exports as secureMail, selectFullContextDocument, selectWorkspace, selectWorkspaceById, sessions_exports as sessions, settings_exports as settings, signature_requests_exports as signatureRequests, sliceToSubagentThread, startDmListener, streamSSE, stripCitationMarkdown, subagentJobLabel, summarizeCitations, support_exports as support, tagUseCount, tags_exports as tags, tagsForScope, tagsOfGroup, topLevelAgentSteps, uploadSkill, usdToGbp, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspace_assistant_exports as workspaceAssistant, workspaceConflictOf, workspaces_exports as workspaces, wouldCreateTagCycle };
16364
16472
  //# sourceMappingURL=index.js.map
16365
16473
  //# sourceMappingURL=index.js.map