@arbidocs/sdk 0.5.152 → 0.5.154

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 { a8 as ConfigStore, a5 as CliConfig, a6 as CliCredentials, a2 as ChatSession, cM as SkippedFile, dG as UploadResult, x as AuthHeaders, dA as UploadBatchResult, dE as UploadOptions, dB as UploadDirectOptions, dC as UploadDirectResult, cA as SUPPORTED_EXTENSIONS, bp as MailAttachment, W as ChatCryptoContext } from './browser-C-SMeI_V.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 DOCUMENTS_VIEW_TARGET, as as DOC_TERMINAL_STATUSES, at as DRIVE_SYNC_VENDORS, au as Database, av as DatabaseAggregateRequest, aw as DatabaseAggregateResult, ax as DatabaseColumn, ay as DatabaseColumnWrite, az as DatabaseImportResult, aA as DatabaseRow, aB as DatabaseRowPage, aC as DatabaseRowsQuery, aD as DateTimeSpec, aE as DecryptedChat, aF as DecryptedChatMessage, aG as DeploymentHouseTemplate, aH as DiagnoseOptions, aI as DirectModelUsage, aJ as DocInfo, aK as DocInfoMap, aL as DocNameMap, aM as DocumentAutomationAction, aN as DocumentListFields, aO as DocumentListOrder, aP as DocumentSelector, aQ as DocumentWaiter, aR as DocumentWaiterOptions, aS as DriveSyncProgress, aT as DriveSyncSummary, aU as DuplicateContactError, aV as ENTITY_KINDS, aW as EditScope, aX as EntityKind, aY as EventCreateBody, aZ as EventPatchBody, a_ as FLAT_TAG_KINDS, b2 as FindTimeParams, b3 as FormattedWsMessage, b4 as FreeBusyEntry, b5 as FullContextSelection, b6 as GOOGLE_VENDORS, b7 as HolidayCountry, b8 as HouseTemplateCandidate, b9 as IMANAGE_VENDORS, ba as IdentityErrorCode, bb as IdentityPurchase, bc as IdentityState, bd as IdentityStatus, be as ImportResult, bf as InvitationRead, bg as JsonSchemaOutputFormat, bh as LinkedRun, bi as ListAllOptions, bj as ListEventsParams, bl as ListPaginatedOptions, bm as MAILBOX_SYNC_VENDORS, bn as MAX_RETRIEVE_DOC_IDS, bo as MICROSOFT_VENDORS, bq as MessageLevel, br as ModelConnection, bs as OAuthAccountKind, bt as OutputItemDone, bu as OverlayItem, bv as OverlayLayerName, bw as PRESENCE_KINDS, bx as PROMPT_CONTEXT_CHARS, by as Page, bz as PagePrivateContentError, bA as PageRecord, bB as PageSpecWire, bC as PageViewRef, bD as ParsedResponse, bE as ParsedSlashCommand, bF as ParsedStructuredResponse, bG as PendingAuthResponse, bH as PersonKey, bI as PersonalConnectionInput, bJ as PlanStepsError, bK as PlanWorkRequest, bL as ProductResponse, bM as ProjectAddonKind, bN as ProjectAddonSettingsRequest, bO as ProjectBudget, bP as ProjectCheckoutRequest, bQ as ProjectConversationUsageResponse, bR as ProjectCreateOptions, bS as ProjectDetails, bT as ProjectEventKind, bU as ProjectEventResponse, bV as ProjectInvoicesResponse, bW as ProjectNextPeriodAddonsRequest, bX as ProjectPlanChangeRequest, bY as ProjectQuoteRequest, bZ as ProjectResponse, b_ as ProjectUpdateRequest, b$ as ProjectUsageResponse, c0 as PublicBookingError, c1 as PublicBookingPage, c2 as QuotaExceeded, c3 as RaisedSignal, c4 as RawResponseEvent, c5 as ReconnectOptions, c6 as ReconnectableWsConnection, c7 as ResolvedCitation, c8 as ResolvedRecipient, c9 as RespondParams, ca as RespondPartstat, cb as Response, cc as ResponseCreateRequest, cd as ResponseCreateResult, ce as ResponseHandle, cf as ResponseSnapshot, cg as ResponseStart, ch as ResponseStartOptions, ci as ResponseStream, cj as ResponseStreamEvent, ck as ResponseTools, cl as RoomCreateBody, cm as RoomQuery, cn as RoomRead, co as RunProgress, cp as RunStats, cq as RunStep, cr as RunWaitingOn, cs as SHAREPOINT_VENDORS, ct as SSEEvent, cu as SSEStreamCallbacks, cv as SSEStreamOutcome, cw as SSEStreamResult, cx as STEP_FIELD_OPTION_TONES, cy as STOP_ID_WAIT_MS, cz as STOP_REPEAT_WINDOW_MS, cB as ScopedTarget, cC as SearchChunk, cD as SecureMailCompose, cE as SecureMailSend, cF as SecureMailSender, cG as SendBack, cH as SetupDiagnostic, cI as SetupReport, cJ as ShareRead, cK as ShareRole, cL as SkillSummary, cN as SlackConnectionStatus, cO as StepActionRequest, cP as StepActivityEvent, cQ as StepAssignee, cR as StepDisplay, cS as StepField, cT as StepFieldOption, cU as StepFieldOptionTone, cV as StepKind, cW as StepPhase, cX as StepSignal, cY as StepSignalWhen, cZ as StepState, c_ as StepStatus, c$ as SubagentBranchRecord, d0 as SubagentLaneInfo, d1 as SubmitBackgroundQueryOptions, d2 as SubscribeParams, d3 as SupportRating, d4 as SupportTicket, d5 as SupportTicketInput, d6 as SyncTriggerResult, d7 as TAG_KINDS, d8 as TAG_NESTING_MAX_DEPTH, d9 as TableViewFilter, da as TableViewRecord, db as TableViewSpec, dc as TableViewTarget, dd as TagChange, de as TagFieldDefinition, df as TagGroup, dg as TagKind, dh as TagKindField, di as TagKindSchema, dj as TagLinks, dk as TagListQuery, dl as TagNode, dm as TagResponse, dn as TagScope, dp as TagTreeRow, dq as TaskPlan, dr as TaskPlanStep, ds as TaxQuoteResponse, dt as Thread, du as ThreadsResponse, dv as TimeSuggestion, dw as TurnRequest, dx as UpdateConversationRequest, dz as UpdateWorkflowRequest, dD as UploadDocumentsOptions, dF as UploadProgressListener, dH as UsageBreakdown, dI as UserConnectorEntry, dJ as UserDailyUsageResponse, dK as UserInfo, dL as WebSocketAuthError, dM as WeeklyHoursSpec, dN as WorkStatus, dO as WorkflowAuthMode, dP as WorkflowResponse, dQ as WorkflowRunHistoryResponse, dR as WorkflowRunResponse, dS as WorkspaceConflict, dT as WorkspaceContext, dU as WorkspaceOpenResponse, dV as WorkspaceResponse, dW as WsConnection, dX as account, dY as agentconfig, dZ as agents, d_ as appendTranscriptionHints, d$ as assistant, e0 as authenticatedFetch, e1 as bookPublicSlot, e2 as buildCitationChunkData, e3 as buildDocNameMap, e4 as buildDocumentTools, e5 as buildFactsContextTool, e6 as buildRetrievalChunkTool, e7 as buildRetrievalFullContextTool, e8 as buildRetrievalTocTool, e9 as buildTurnRequest, ea as calendar, eb as calls, ec as canTagHaveParent, ed as cancelPublicBooking, ee as capabilities, ef as chats, eg as composeConfiguration, eh as composeTools, ei as computeRunStats, ej as connectErrorMessage, ek as connectWebSocket, el as connectWithReconnect, em as connectors, en as contacts, eo as continuityPrompt, ep as conversations, eq as countCitations, er as createAuthenticatedClient, es as createDocumentWaiter, et as createIndexAssigner, eu as databases, ev as defaultKindForFormat, ew as diagnoseSetup, ex as doctags, ey as documentTools, ez as documents, eA as estimateDraftTokens, eB as extractDocumentIdsFromMessages, eC as extractFactIdsFromMessages, eD as extractSubagentLanes, eE as facts, eF as files, eG as filterDocumentTags, eH as filterSkills, eI as filterText, eJ as findLeafForTaskMessage, eK as findMainSiblingLeaf, eL as findReplyTarget, eM as findSubagentRunId, eN as flattenTagTree, eO as formatAgentStepLabel, eP as formatFileSize, eQ as formatGbp, eR as formatGbpPerMillionTokens, eS as formatItemLabel, eT as formatStreamSummary, eU as formatTokens, eV as formatUserName, eW as formatWorkspaceChoices, eX as formatWsMessage, eY as generateEncryptedWorkspaceKey, eZ as generateNewWorkspaceKey, e_ as getAgentStepLabel, e$ as getAttachableRunId, f0 as getChildTags, f1 as getContextRemainingPercent, f2 as getContextUsedPercent, f3 as getContextUsedTokens, f4 as getCurrentStep, f5 as getEligibleParentTags, f6 as getErrorCode, f7 as getErrorMessage, f8 as getPublicBookingPage, f9 as getRawWorkspaceKey, fa as getRunToAttach, fb as getRunToCancel, fc as getStepDisplay, fd as getStepTool, fe as getSubagentBranchRecord, ff as getTagDescendantIds, fg as health, fh as houseTemplates, fi as hydrateAgentSteps, fk as identityErrorCode, fj as identityVerification, fl as instructions, fm as isAnnotationTag, fn as isConnectorVendorVisible, fo as isDriveSyncVendor, fp as isEntityTag, fq as isFlatKind, fr as isLabelTag, fs as isMailboxSyncVendor, ft as isNearAiUsageBudget, fu as isPresenceTag, fv as isSharePointVendor, fw as isSharedSkill, fx as isTraceItem, fy as mail, fz as mcpTools, fA as mergeAgentSteps, fB as modelConnections, fC as notifications, fD as pages, fE as parseSSEEvents, fF as parseSlashCommand, fG as parseSlashTokenInProgress, fH as parseStructuredResponse, fI as performPasswordLogin, fJ as performSigningKeyLogin, fK as performSsoDeviceFlowLogin, fL as pickMainThread, fM as profile, fN as progressFetch, fO as projects, fP as quotaExceededFrom, fQ as quotaFromStreamError, fR as reduceOutputItem, fS as refusalReason, fT as requireData, fU as requireOk, fV as resolveAuth, fW as resolveCitations, fX as resolveSummary, fY as resolveWorkspace, fZ as responses, f_ as searchChunks, f$ as secureMail, g0 as selectFullContextDocument, g1 as selectWorkspace, g2 as selectWorkspaceById, g3 as sessions, g4 as settings, g5 as signatureRequests, g6 as sliceToSubagentThread, g7 as streamSSE, g8 as stripCitationMarkdown, g9 as subagentJobLabel, ga as summarizeCitations, gb as support, gc as tagUseCount, gd as tags, ge as tagsForScope, gf as tagsOfGroup, gg as topLevelAgentSteps, gh as uploadSkill, gi as usdToGbp, gj as views, gk as work, gl as workflowSteps, gm as workflows, gn as workspaceAssistant, go as workspaceConflictOf, gp as workspaces, gq as wouldCreateTagCycle } from './browser-C-SMeI_V.cjs';
1
+ import { aa as ConfigStore, a7 as CliConfig, a8 as CliCredentials, a4 as ChatSession, cQ as SkippedFile, dM as UploadResult, y as AuthHeaders, dG as UploadBatchResult, dK as UploadOptions, dH as UploadDirectOptions, dI as UploadDirectResult, cE as SUPPORTED_EXTENSIONS, bs as MailAttachment, Y as ChatCryptoContext } from './browser-Dk_nISGa.cjs';
2
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as AgendaBlockConfig, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorOptions, i as ArbiHostSession, j as ArbiOptions, k as ArbiSessionExpiredError, l as ArbiStructuredOutputError, m as ArbiTransportError, n as ArbiWorkspaceChangedError, o as ArbiWorkspaceSupersededError, p as ArbiWorkspaceUnavailableError, q as AskHandlers, r as AskRequest, s as AssistantArrival, t as AssistantBrief, u as AssistantBriefInput, w as AttendeeRead, x as AuthContext, z as AuthMode, B as AuthenticatedClient, C as BookingConfirmation, D as BookingPage, E as BookingPageWriteBody, F as BookingRequestBody, G as BridgeTokensOptions, H as CalDavConnectBody, I as CalDavProfile, J as CalendarAccount, K as CalendarAccountKind, L as CalendarCreateBody, M as CalendarEvent, N as CalendarKeys, O as CalendarRead, P as CalendarSettings, Q as CalendarSettingsBody, R as CalendarUpdate, S as CalendarWindow, T as CallApiError, U as Capabilities, V as CarouselBlockConfig, W as ChatAttachmentFile, X as ChatAttachmentInput, Z as ChatKeyRing, _ as ChatKind, $ as ChatMemberKey, a0 as ChatMemberResponse, a1 as ChatMessage, a2 as ChatMessageResponse, a3 as ChatResponse, a5 as CitationSummary, a6 as CitationToolSources, a9 as CommandDescriptor, ab as Configuration, ac as ConfigurationPatch, ad as ConnectOptions, ae as ConnectionModel, af as ConnectorCatalogEntry, ag as ConnectorFolder, ah as ConnectorSyncProgress, ai as ConnectorSyncStatus, aj as ConnectorVendorKey, ak as ConnectorVisibilitySettings, al as ContextUsage, am as ConversationResponse, an as ConversationUsageResponse, aq as CreateWorkRequest, ar as CreateWorkflowRequest, as as DEFAULT_AI_USD_PER_GBP, at as DOCUMENTS_VIEW_TARGET, au as DOC_TERMINAL_STATUSES, av as DRIVE_SYNC_VENDORS, aw as Database, ax as DatabaseAggregateRequest, ay as DatabaseAggregateResult, az as DatabaseColumn, aA as DatabaseColumnWrite, aB as DatabaseImportResult, aC as DatabaseRow, aD as DatabaseRowPage, aE as DatabaseRowsQuery, aF as DateTimeSpec, aG as DecryptedChat, aH as DecryptedChatMessage, aI as DeploymentHouseTemplate, aJ as DiagnoseOptions, aK as DirectModelUsage, aL as DocInfo, aM as DocInfoMap, aN as DocNameMap, aO as DocumentAutomationAction, aP as DocumentListFields, aQ as DocumentListOrder, aR as DocumentSelector, aS as DocumentWaiter, aT as DocumentWaiterOptions, aU as DriveSyncProgress, aV as DriveSyncSummary, aW as DuplicateContactError, aX as ENTITY_KINDS, aY as EditScope, aZ as EntityKind, a_ as EventCreateBody, a$ as EventPatchBody, b0 as FLAT_TAG_KINDS, b4 as FindTimeParams, b5 as FormattedWsMessage, b6 as FreeBusyEntry, b7 as FullContextSelection, b8 as GOOGLE_VENDORS, b9 as HolidayCountry, ba as HouseTemplateCandidate, bb as IMANAGE_VENDORS, bc as IdentityErrorCode, bd as IdentityPurchase, be as IdentityState, bf as IdentityStatus, bg as ImportResult, bh as InvitationRead, bi as JsonSchemaOutputFormat, bj as LinkedRun, bk as ListAllOptions, bl as ListBlockConfig, bm as ListEventsParams, bo as ListPaginatedOptions, bp as MAILBOX_SYNC_VENDORS, bq as MAX_RETRIEVE_DOC_IDS, br as MICROSOFT_VENDORS, bt as MessageLevel, bu as ModelConnection, bv as OAuthAccountKind, bw as OutputItemDone, bx as OverlayItem, by as OverlayLayerName, bz as PRESENCE_KINDS, bA as PROMPT_CONTEXT_CHARS, bB as Page, bC as PagePrivateContentError, bD as PageRecord, bE as PageSpecWire, bF as PageViewRef, bG as ParsedResponse, bH as ParsedSlashCommand, bI as ParsedStructuredResponse, bJ as PendingAuthResponse, bK as PersonKey, bL as PersonalConnectionInput, bM as PlanStepsError, bN as PlanWorkRequest, bO as ProductResponse, bP as ProjectAddonKind, bQ as ProjectAddonSettingsRequest, bR as ProjectBudget, bS as ProjectCheckoutRequest, bT as ProjectConversationUsageResponse, bU as ProjectCreateOptions, bV as ProjectDetails, bW as ProjectEventKind, bX as ProjectEventResponse, bY as ProjectInvoicesResponse, bZ as ProjectNextPeriodAddonsRequest, b_ as ProjectPlanChangeRequest, b$ as ProjectQuoteRequest, c0 as ProjectResponse, c1 as ProjectUpdateRequest, c2 as ProjectUsageResponse, c3 as ProjectsUsageResponse, c4 as PublicBookingError, c5 as PublicBookingPage, c6 as QuotaExceeded, c7 as RaisedSignal, c8 as RawResponseEvent, c9 as ReconnectOptions, ca as ReconnectableWsConnection, cb as ResolvedCitation, cc as ResolvedRecipient, cd as RespondParams, ce as RespondPartstat, cf as Response, cg as ResponseCreateRequest, ch as ResponseCreateResult, ci as ResponseHandle, cj as ResponseSnapshot, ck as ResponseStart, cl as ResponseStartOptions, cm as ResponseStream, cn as ResponseStreamEvent, co as ResponseTools, cp as RoomCreateBody, cq as RoomQuery, cr as RoomRead, cs as RunProgress, ct as RunStats, cu as RunStep, cv as RunWaitingOn, cw as SHAREPOINT_VENDORS, cx as SSEEvent, cy as SSEStreamCallbacks, cz as SSEStreamOutcome, cA as SSEStreamResult, cB as STEP_FIELD_OPTION_TONES, cC as STOP_ID_WAIT_MS, cD as STOP_REPEAT_WINDOW_MS, cF as ScopedTarget, cG as SearchChunk, cH as SecureMailCompose, cI as SecureMailSend, cJ as SecureMailSender, cK as SendBack, cL as SetupDiagnostic, cM as SetupReport, cN as ShareRead, cO as ShareRole, cP as SkillSummary, cR as SlackConnectionStatus, cS as StartBlockConfig, cT as StepActionRequest, cU as StepActivityEvent, cV as StepAssignee, cW as StepDisplay, cX as StepField, cY as StepFieldOption, cZ as StepFieldOptionTone, c_ as StepKind, c$ as StepPhase, d0 as StepSignal, d1 as StepSignalWhen, d2 as StepState, d3 as StepStatus, d4 as SubagentBranchRecord, d5 as SubagentLaneInfo, d6 as SubmitBackgroundQueryOptions, d7 as SubscribeParams, d8 as SupportRating, d9 as SupportTicket, da as SupportTicketInput, db as SyncTriggerResult, dc as TAG_KINDS, dd as TAG_NESTING_MAX_DEPTH, de as TableViewFilter, df as TableViewRecord, dg as TableViewRows, dh as TableViewSpec, di as TableViewTarget, dj as TagChange, dk as TagFieldDefinition, dl as TagGroup, dm as TagKind, dn as TagKindField, dp as TagKindSchema, dq as TagLinks, dr as TagListQuery, ds as TagNode, dt as TagResponse, du as TagScope, dv as TagTreeRow, dw as TaskPlan, dx as TaskPlanStep, dy as TaxQuoteResponse, dz as Thread, dA as ThreadsResponse, dB as TimeSuggestion, dC as TurnRequest, dD as UpdateConversationRequest, dF as UpdateWorkflowRequest, dJ as UploadDocumentsOptions, dL as UploadProgressListener, dN as UsageBreakdown, dO as UserConnectorEntry, dP as UserDailyUsageResponse, dQ as UserInfo, dR as WebSocketAuthError, dS as WeeklyHoursSpec, dT as WorkStatus, dU as WorkflowAuthMode, dV as WorkflowResponse, dW as WorkflowRunHistoryResponse, dX as WorkflowRunResponse, dY as WorkspaceAggregateQuery, dZ as WorkspaceAggregateResult, d_ as WorkspaceConflict, d$ as WorkspaceContext, e0 as WorkspaceOpenResponse, e1 as WorkspaceResponse, e2 as WsConnection, e3 as account, e4 as agentconfig, e5 as agents, e6 as appendTranscriptionHints, e7 as assistant, e8 as authenticatedFetch, e9 as bookPublicSlot, ea as buildCitationChunkData, eb as buildDocNameMap, ec as buildDocumentTools, ed as buildFactsContextTool, ee as buildRetrievalChunkTool, ef as buildRetrievalFullContextTool, eg as buildRetrievalTocTool, eh as buildTurnRequest, ei as calendar, ej as calls, ek as canTagHaveParent, el as cancelPublicBooking, em as capabilities, en as chats, eo as composeConfiguration, ep as composeTools, eq as computeRunStats, er as connectErrorMessage, es as connectWebSocket, et as connectWithReconnect, eu as connectors, ev as contacts, ew as continuityPrompt, ex as conversations, ey as countCitations, ez as createAuthenticatedClient, eA as createDocumentWaiter, eB as createIndexAssigner, eC as databases, eD as defaultKindForFormat, eE as diagnoseSetup, eF as doctags, eG as documentTools, eH as documents, eI as estimateDraftTokens, eJ as extractDocumentIdsFromMessages, eK as extractFactIdsFromMessages, eL as extractSubagentLanes, eM as facts, eN as files, eO as filterDocumentTags, eP as filterSkills, eQ as filterText, eR as findLeafForTaskMessage, eS as findMainSiblingLeaf, eT as findReplyTarget, eU as findSubagentRunId, eV as flattenTagTree, eW as formatAgentStepLabel, eX as formatFileSize, eY as formatGbp, eZ as formatGbpPerMillionTokens, e_ as formatItemLabel, e$ as formatStreamSummary, f0 as formatTokens, f1 as formatUserName, f2 as formatWorkspaceChoices, f3 as formatWsMessage, f4 as generateEncryptedWorkspaceKey, f5 as generateNewWorkspaceKey, f6 as getAgentStepLabel, f7 as getAttachableRunId, f8 as getChildTags, f9 as getContextRemainingPercent, fa as getContextUsedPercent, fb as getContextUsedTokens, fc as getCurrentStep, fd as getEligibleParentTags, fe as getErrorCode, ff as getErrorMessage, fg as getPublicBookingPage, fh as getRawWorkspaceKey, fi as getRunToAttach, fj as getRunToCancel, fk as getStepDisplay, fl as getStepTool, fm as getSubagentBranchRecord, fn as getTagDescendantIds, fo as health, fp as houseTemplates, fq as hydrateAgentSteps, fs as identityErrorCode, fr as identityVerification, ft as instructions, fu as isAnnotationTag, fv as isConnectorVendorVisible, fw as isDriveSyncVendor, fx as isEntityTag, fy as isFlatKind, fz as isLabelTag, fA as isMailboxSyncVendor, fB as isNearAiUsageBudget, fC as isPresenceTag, fD as isSharePointVendor, fE as isSharedSkill, fF as isTraceItem, fG as mail, fH as mcpTools, fI as mergeAgentSteps, fJ as modelConnections, fK as notifications, fL as pages, fM as parseSSEEvents, fN as parseSlashCommand, fO as parseSlashTokenInProgress, fP as parseStructuredResponse, fQ as performPasswordLogin, fR as performSigningKeyLogin, fS as performSsoDeviceFlowLogin, fT as pickMainThread, fU as profile, fV as progressFetch, fW as projects, fX as quotaExceededFrom, fY as quotaFromStreamError, fZ as reduceOutputItem, f_ as refusalReason, f$ as requireData, g0 as requireOk, g1 as resolveAuth, g2 as resolveCitations, g3 as resolveSummary, g4 as resolveWorkspace, g5 as responses, g6 as searchChunks, g7 as secureMail, g8 as selectFullContextDocument, g9 as selectWorkspace, ga as selectWorkspaceById, gb as sessions, gc as settings, gd as signatureRequests, ge as sliceToSubagentThread, gf as streamSSE, gg as stripCitationMarkdown, gh as subagentJobLabel, gi as summarizeCitations, gj as support, gk as tagUseCount, gl as tags, gm as tagsForScope, gn as tagsOfGroup, go as topLevelAgentSteps, gp as uploadSkill, gq as usdToGbp, gr as views, gs as work, gt as workflowSteps, gu as workflows, gv as workspaceAssistant, gw as workspaceConflictOf, gx as workspaces, gy as wouldCreateTagCycle } from './browser-Dk_nISGa.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 { a8 as ConfigStore, a5 as CliConfig, a6 as CliCredentials, a2 as ChatSession, cM as SkippedFile, dG as UploadResult, x as AuthHeaders, dA as UploadBatchResult, dE as UploadOptions, dB as UploadDirectOptions, dC as UploadDirectResult, cA as SUPPORTED_EXTENSIONS, bp as MailAttachment, W as ChatCryptoContext } from './browser-BeaN-7Ro.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 DOCUMENTS_VIEW_TARGET, as as DOC_TERMINAL_STATUSES, at as DRIVE_SYNC_VENDORS, au as Database, av as DatabaseAggregateRequest, aw as DatabaseAggregateResult, ax as DatabaseColumn, ay as DatabaseColumnWrite, az as DatabaseImportResult, aA as DatabaseRow, aB as DatabaseRowPage, aC as DatabaseRowsQuery, aD as DateTimeSpec, aE as DecryptedChat, aF as DecryptedChatMessage, aG as DeploymentHouseTemplate, aH as DiagnoseOptions, aI as DirectModelUsage, aJ as DocInfo, aK as DocInfoMap, aL as DocNameMap, aM as DocumentAutomationAction, aN as DocumentListFields, aO as DocumentListOrder, aP as DocumentSelector, aQ as DocumentWaiter, aR as DocumentWaiterOptions, aS as DriveSyncProgress, aT as DriveSyncSummary, aU as DuplicateContactError, aV as ENTITY_KINDS, aW as EditScope, aX as EntityKind, aY as EventCreateBody, aZ as EventPatchBody, a_ as FLAT_TAG_KINDS, b2 as FindTimeParams, b3 as FormattedWsMessage, b4 as FreeBusyEntry, b5 as FullContextSelection, b6 as GOOGLE_VENDORS, b7 as HolidayCountry, b8 as HouseTemplateCandidate, b9 as IMANAGE_VENDORS, ba as IdentityErrorCode, bb as IdentityPurchase, bc as IdentityState, bd as IdentityStatus, be as ImportResult, bf as InvitationRead, bg as JsonSchemaOutputFormat, bh as LinkedRun, bi as ListAllOptions, bj as ListEventsParams, bl as ListPaginatedOptions, bm as MAILBOX_SYNC_VENDORS, bn as MAX_RETRIEVE_DOC_IDS, bo as MICROSOFT_VENDORS, bq as MessageLevel, br as ModelConnection, bs as OAuthAccountKind, bt as OutputItemDone, bu as OverlayItem, bv as OverlayLayerName, bw as PRESENCE_KINDS, bx as PROMPT_CONTEXT_CHARS, by as Page, bz as PagePrivateContentError, bA as PageRecord, bB as PageSpecWire, bC as PageViewRef, bD as ParsedResponse, bE as ParsedSlashCommand, bF as ParsedStructuredResponse, bG as PendingAuthResponse, bH as PersonKey, bI as PersonalConnectionInput, bJ as PlanStepsError, bK as PlanWorkRequest, bL as ProductResponse, bM as ProjectAddonKind, bN as ProjectAddonSettingsRequest, bO as ProjectBudget, bP as ProjectCheckoutRequest, bQ as ProjectConversationUsageResponse, bR as ProjectCreateOptions, bS as ProjectDetails, bT as ProjectEventKind, bU as ProjectEventResponse, bV as ProjectInvoicesResponse, bW as ProjectNextPeriodAddonsRequest, bX as ProjectPlanChangeRequest, bY as ProjectQuoteRequest, bZ as ProjectResponse, b_ as ProjectUpdateRequest, b$ as ProjectUsageResponse, c0 as PublicBookingError, c1 as PublicBookingPage, c2 as QuotaExceeded, c3 as RaisedSignal, c4 as RawResponseEvent, c5 as ReconnectOptions, c6 as ReconnectableWsConnection, c7 as ResolvedCitation, c8 as ResolvedRecipient, c9 as RespondParams, ca as RespondPartstat, cb as Response, cc as ResponseCreateRequest, cd as ResponseCreateResult, ce as ResponseHandle, cf as ResponseSnapshot, cg as ResponseStart, ch as ResponseStartOptions, ci as ResponseStream, cj as ResponseStreamEvent, ck as ResponseTools, cl as RoomCreateBody, cm as RoomQuery, cn as RoomRead, co as RunProgress, cp as RunStats, cq as RunStep, cr as RunWaitingOn, cs as SHAREPOINT_VENDORS, ct as SSEEvent, cu as SSEStreamCallbacks, cv as SSEStreamOutcome, cw as SSEStreamResult, cx as STEP_FIELD_OPTION_TONES, cy as STOP_ID_WAIT_MS, cz as STOP_REPEAT_WINDOW_MS, cB as ScopedTarget, cC as SearchChunk, cD as SecureMailCompose, cE as SecureMailSend, cF as SecureMailSender, cG as SendBack, cH as SetupDiagnostic, cI as SetupReport, cJ as ShareRead, cK as ShareRole, cL as SkillSummary, cN as SlackConnectionStatus, cO as StepActionRequest, cP as StepActivityEvent, cQ as StepAssignee, cR as StepDisplay, cS as StepField, cT as StepFieldOption, cU as StepFieldOptionTone, cV as StepKind, cW as StepPhase, cX as StepSignal, cY as StepSignalWhen, cZ as StepState, c_ as StepStatus, c$ as SubagentBranchRecord, d0 as SubagentLaneInfo, d1 as SubmitBackgroundQueryOptions, d2 as SubscribeParams, d3 as SupportRating, d4 as SupportTicket, d5 as SupportTicketInput, d6 as SyncTriggerResult, d7 as TAG_KINDS, d8 as TAG_NESTING_MAX_DEPTH, d9 as TableViewFilter, da as TableViewRecord, db as TableViewSpec, dc as TableViewTarget, dd as TagChange, de as TagFieldDefinition, df as TagGroup, dg as TagKind, dh as TagKindField, di as TagKindSchema, dj as TagLinks, dk as TagListQuery, dl as TagNode, dm as TagResponse, dn as TagScope, dp as TagTreeRow, dq as TaskPlan, dr as TaskPlanStep, ds as TaxQuoteResponse, dt as Thread, du as ThreadsResponse, dv as TimeSuggestion, dw as TurnRequest, dx as UpdateConversationRequest, dz as UpdateWorkflowRequest, dD as UploadDocumentsOptions, dF as UploadProgressListener, dH as UsageBreakdown, dI as UserConnectorEntry, dJ as UserDailyUsageResponse, dK as UserInfo, dL as WebSocketAuthError, dM as WeeklyHoursSpec, dN as WorkStatus, dO as WorkflowAuthMode, dP as WorkflowResponse, dQ as WorkflowRunHistoryResponse, dR as WorkflowRunResponse, dS as WorkspaceConflict, dT as WorkspaceContext, dU as WorkspaceOpenResponse, dV as WorkspaceResponse, dW as WsConnection, dX as account, dY as agentconfig, dZ as agents, d_ as appendTranscriptionHints, d$ as assistant, e0 as authenticatedFetch, e1 as bookPublicSlot, e2 as buildCitationChunkData, e3 as buildDocNameMap, e4 as buildDocumentTools, e5 as buildFactsContextTool, e6 as buildRetrievalChunkTool, e7 as buildRetrievalFullContextTool, e8 as buildRetrievalTocTool, e9 as buildTurnRequest, ea as calendar, eb as calls, ec as canTagHaveParent, ed as cancelPublicBooking, ee as capabilities, ef as chats, eg as composeConfiguration, eh as composeTools, ei as computeRunStats, ej as connectErrorMessage, ek as connectWebSocket, el as connectWithReconnect, em as connectors, en as contacts, eo as continuityPrompt, ep as conversations, eq as countCitations, er as createAuthenticatedClient, es as createDocumentWaiter, et as createIndexAssigner, eu as databases, ev as defaultKindForFormat, ew as diagnoseSetup, ex as doctags, ey as documentTools, ez as documents, eA as estimateDraftTokens, eB as extractDocumentIdsFromMessages, eC as extractFactIdsFromMessages, eD as extractSubagentLanes, eE as facts, eF as files, eG as filterDocumentTags, eH as filterSkills, eI as filterText, eJ as findLeafForTaskMessage, eK as findMainSiblingLeaf, eL as findReplyTarget, eM as findSubagentRunId, eN as flattenTagTree, eO as formatAgentStepLabel, eP as formatFileSize, eQ as formatGbp, eR as formatGbpPerMillionTokens, eS as formatItemLabel, eT as formatStreamSummary, eU as formatTokens, eV as formatUserName, eW as formatWorkspaceChoices, eX as formatWsMessage, eY as generateEncryptedWorkspaceKey, eZ as generateNewWorkspaceKey, e_ as getAgentStepLabel, e$ as getAttachableRunId, f0 as getChildTags, f1 as getContextRemainingPercent, f2 as getContextUsedPercent, f3 as getContextUsedTokens, f4 as getCurrentStep, f5 as getEligibleParentTags, f6 as getErrorCode, f7 as getErrorMessage, f8 as getPublicBookingPage, f9 as getRawWorkspaceKey, fa as getRunToAttach, fb as getRunToCancel, fc as getStepDisplay, fd as getStepTool, fe as getSubagentBranchRecord, ff as getTagDescendantIds, fg as health, fh as houseTemplates, fi as hydrateAgentSteps, fk as identityErrorCode, fj as identityVerification, fl as instructions, fm as isAnnotationTag, fn as isConnectorVendorVisible, fo as isDriveSyncVendor, fp as isEntityTag, fq as isFlatKind, fr as isLabelTag, fs as isMailboxSyncVendor, ft as isNearAiUsageBudget, fu as isPresenceTag, fv as isSharePointVendor, fw as isSharedSkill, fx as isTraceItem, fy as mail, fz as mcpTools, fA as mergeAgentSteps, fB as modelConnections, fC as notifications, fD as pages, fE as parseSSEEvents, fF as parseSlashCommand, fG as parseSlashTokenInProgress, fH as parseStructuredResponse, fI as performPasswordLogin, fJ as performSigningKeyLogin, fK as performSsoDeviceFlowLogin, fL as pickMainThread, fM as profile, fN as progressFetch, fO as projects, fP as quotaExceededFrom, fQ as quotaFromStreamError, fR as reduceOutputItem, fS as refusalReason, fT as requireData, fU as requireOk, fV as resolveAuth, fW as resolveCitations, fX as resolveSummary, fY as resolveWorkspace, fZ as responses, f_ as searchChunks, f$ as secureMail, g0 as selectFullContextDocument, g1 as selectWorkspace, g2 as selectWorkspaceById, g3 as sessions, g4 as settings, g5 as signatureRequests, g6 as sliceToSubagentThread, g7 as streamSSE, g8 as stripCitationMarkdown, g9 as subagentJobLabel, ga as summarizeCitations, gb as support, gc as tagUseCount, gd as tags, ge as tagsForScope, gf as tagsOfGroup, gg as topLevelAgentSteps, gh as uploadSkill, gi as usdToGbp, gj as views, gk as work, gl as workflowSteps, gm as workflows, gn as workspaceAssistant, go as workspaceConflictOf, gp as workspaces, gq as wouldCreateTagCycle } from './browser-BeaN-7Ro.js';
1
+ import { aa as ConfigStore, a7 as CliConfig, a8 as CliCredentials, a4 as ChatSession, cQ as SkippedFile, dM as UploadResult, y as AuthHeaders, dG as UploadBatchResult, dK as UploadOptions, dH as UploadDirectOptions, dI as UploadDirectResult, cE as SUPPORTED_EXTENSIONS, bs as MailAttachment, Y as ChatCryptoContext } from './browser-BIVXanUk.js';
2
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as AgendaBlockConfig, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorOptions, i as ArbiHostSession, j as ArbiOptions, k as ArbiSessionExpiredError, l as ArbiStructuredOutputError, m as ArbiTransportError, n as ArbiWorkspaceChangedError, o as ArbiWorkspaceSupersededError, p as ArbiWorkspaceUnavailableError, q as AskHandlers, r as AskRequest, s as AssistantArrival, t as AssistantBrief, u as AssistantBriefInput, w as AttendeeRead, x as AuthContext, z as AuthMode, B as AuthenticatedClient, C as BookingConfirmation, D as BookingPage, E as BookingPageWriteBody, F as BookingRequestBody, G as BridgeTokensOptions, H as CalDavConnectBody, I as CalDavProfile, J as CalendarAccount, K as CalendarAccountKind, L as CalendarCreateBody, M as CalendarEvent, N as CalendarKeys, O as CalendarRead, P as CalendarSettings, Q as CalendarSettingsBody, R as CalendarUpdate, S as CalendarWindow, T as CallApiError, U as Capabilities, V as CarouselBlockConfig, W as ChatAttachmentFile, X as ChatAttachmentInput, Z as ChatKeyRing, _ as ChatKind, $ as ChatMemberKey, a0 as ChatMemberResponse, a1 as ChatMessage, a2 as ChatMessageResponse, a3 as ChatResponse, a5 as CitationSummary, a6 as CitationToolSources, a9 as CommandDescriptor, ab as Configuration, ac as ConfigurationPatch, ad as ConnectOptions, ae as ConnectionModel, af as ConnectorCatalogEntry, ag as ConnectorFolder, ah as ConnectorSyncProgress, ai as ConnectorSyncStatus, aj as ConnectorVendorKey, ak as ConnectorVisibilitySettings, al as ContextUsage, am as ConversationResponse, an as ConversationUsageResponse, aq as CreateWorkRequest, ar as CreateWorkflowRequest, as as DEFAULT_AI_USD_PER_GBP, at as DOCUMENTS_VIEW_TARGET, au as DOC_TERMINAL_STATUSES, av as DRIVE_SYNC_VENDORS, aw as Database, ax as DatabaseAggregateRequest, ay as DatabaseAggregateResult, az as DatabaseColumn, aA as DatabaseColumnWrite, aB as DatabaseImportResult, aC as DatabaseRow, aD as DatabaseRowPage, aE as DatabaseRowsQuery, aF as DateTimeSpec, aG as DecryptedChat, aH as DecryptedChatMessage, aI as DeploymentHouseTemplate, aJ as DiagnoseOptions, aK as DirectModelUsage, aL as DocInfo, aM as DocInfoMap, aN as DocNameMap, aO as DocumentAutomationAction, aP as DocumentListFields, aQ as DocumentListOrder, aR as DocumentSelector, aS as DocumentWaiter, aT as DocumentWaiterOptions, aU as DriveSyncProgress, aV as DriveSyncSummary, aW as DuplicateContactError, aX as ENTITY_KINDS, aY as EditScope, aZ as EntityKind, a_ as EventCreateBody, a$ as EventPatchBody, b0 as FLAT_TAG_KINDS, b4 as FindTimeParams, b5 as FormattedWsMessage, b6 as FreeBusyEntry, b7 as FullContextSelection, b8 as GOOGLE_VENDORS, b9 as HolidayCountry, ba as HouseTemplateCandidate, bb as IMANAGE_VENDORS, bc as IdentityErrorCode, bd as IdentityPurchase, be as IdentityState, bf as IdentityStatus, bg as ImportResult, bh as InvitationRead, bi as JsonSchemaOutputFormat, bj as LinkedRun, bk as ListAllOptions, bl as ListBlockConfig, bm as ListEventsParams, bo as ListPaginatedOptions, bp as MAILBOX_SYNC_VENDORS, bq as MAX_RETRIEVE_DOC_IDS, br as MICROSOFT_VENDORS, bt as MessageLevel, bu as ModelConnection, bv as OAuthAccountKind, bw as OutputItemDone, bx as OverlayItem, by as OverlayLayerName, bz as PRESENCE_KINDS, bA as PROMPT_CONTEXT_CHARS, bB as Page, bC as PagePrivateContentError, bD as PageRecord, bE as PageSpecWire, bF as PageViewRef, bG as ParsedResponse, bH as ParsedSlashCommand, bI as ParsedStructuredResponse, bJ as PendingAuthResponse, bK as PersonKey, bL as PersonalConnectionInput, bM as PlanStepsError, bN as PlanWorkRequest, bO as ProductResponse, bP as ProjectAddonKind, bQ as ProjectAddonSettingsRequest, bR as ProjectBudget, bS as ProjectCheckoutRequest, bT as ProjectConversationUsageResponse, bU as ProjectCreateOptions, bV as ProjectDetails, bW as ProjectEventKind, bX as ProjectEventResponse, bY as ProjectInvoicesResponse, bZ as ProjectNextPeriodAddonsRequest, b_ as ProjectPlanChangeRequest, b$ as ProjectQuoteRequest, c0 as ProjectResponse, c1 as ProjectUpdateRequest, c2 as ProjectUsageResponse, c3 as ProjectsUsageResponse, c4 as PublicBookingError, c5 as PublicBookingPage, c6 as QuotaExceeded, c7 as RaisedSignal, c8 as RawResponseEvent, c9 as ReconnectOptions, ca as ReconnectableWsConnection, cb as ResolvedCitation, cc as ResolvedRecipient, cd as RespondParams, ce as RespondPartstat, cf as Response, cg as ResponseCreateRequest, ch as ResponseCreateResult, ci as ResponseHandle, cj as ResponseSnapshot, ck as ResponseStart, cl as ResponseStartOptions, cm as ResponseStream, cn as ResponseStreamEvent, co as ResponseTools, cp as RoomCreateBody, cq as RoomQuery, cr as RoomRead, cs as RunProgress, ct as RunStats, cu as RunStep, cv as RunWaitingOn, cw as SHAREPOINT_VENDORS, cx as SSEEvent, cy as SSEStreamCallbacks, cz as SSEStreamOutcome, cA as SSEStreamResult, cB as STEP_FIELD_OPTION_TONES, cC as STOP_ID_WAIT_MS, cD as STOP_REPEAT_WINDOW_MS, cF as ScopedTarget, cG as SearchChunk, cH as SecureMailCompose, cI as SecureMailSend, cJ as SecureMailSender, cK as SendBack, cL as SetupDiagnostic, cM as SetupReport, cN as ShareRead, cO as ShareRole, cP as SkillSummary, cR as SlackConnectionStatus, cS as StartBlockConfig, cT as StepActionRequest, cU as StepActivityEvent, cV as StepAssignee, cW as StepDisplay, cX as StepField, cY as StepFieldOption, cZ as StepFieldOptionTone, c_ as StepKind, c$ as StepPhase, d0 as StepSignal, d1 as StepSignalWhen, d2 as StepState, d3 as StepStatus, d4 as SubagentBranchRecord, d5 as SubagentLaneInfo, d6 as SubmitBackgroundQueryOptions, d7 as SubscribeParams, d8 as SupportRating, d9 as SupportTicket, da as SupportTicketInput, db as SyncTriggerResult, dc as TAG_KINDS, dd as TAG_NESTING_MAX_DEPTH, de as TableViewFilter, df as TableViewRecord, dg as TableViewRows, dh as TableViewSpec, di as TableViewTarget, dj as TagChange, dk as TagFieldDefinition, dl as TagGroup, dm as TagKind, dn as TagKindField, dp as TagKindSchema, dq as TagLinks, dr as TagListQuery, ds as TagNode, dt as TagResponse, du as TagScope, dv as TagTreeRow, dw as TaskPlan, dx as TaskPlanStep, dy as TaxQuoteResponse, dz as Thread, dA as ThreadsResponse, dB as TimeSuggestion, dC as TurnRequest, dD as UpdateConversationRequest, dF as UpdateWorkflowRequest, dJ as UploadDocumentsOptions, dL as UploadProgressListener, dN as UsageBreakdown, dO as UserConnectorEntry, dP as UserDailyUsageResponse, dQ as UserInfo, dR as WebSocketAuthError, dS as WeeklyHoursSpec, dT as WorkStatus, dU as WorkflowAuthMode, dV as WorkflowResponse, dW as WorkflowRunHistoryResponse, dX as WorkflowRunResponse, dY as WorkspaceAggregateQuery, dZ as WorkspaceAggregateResult, d_ as WorkspaceConflict, d$ as WorkspaceContext, e0 as WorkspaceOpenResponse, e1 as WorkspaceResponse, e2 as WsConnection, e3 as account, e4 as agentconfig, e5 as agents, e6 as appendTranscriptionHints, e7 as assistant, e8 as authenticatedFetch, e9 as bookPublicSlot, ea as buildCitationChunkData, eb as buildDocNameMap, ec as buildDocumentTools, ed as buildFactsContextTool, ee as buildRetrievalChunkTool, ef as buildRetrievalFullContextTool, eg as buildRetrievalTocTool, eh as buildTurnRequest, ei as calendar, ej as calls, ek as canTagHaveParent, el as cancelPublicBooking, em as capabilities, en as chats, eo as composeConfiguration, ep as composeTools, eq as computeRunStats, er as connectErrorMessage, es as connectWebSocket, et as connectWithReconnect, eu as connectors, ev as contacts, ew as continuityPrompt, ex as conversations, ey as countCitations, ez as createAuthenticatedClient, eA as createDocumentWaiter, eB as createIndexAssigner, eC as databases, eD as defaultKindForFormat, eE as diagnoseSetup, eF as doctags, eG as documentTools, eH as documents, eI as estimateDraftTokens, eJ as extractDocumentIdsFromMessages, eK as extractFactIdsFromMessages, eL as extractSubagentLanes, eM as facts, eN as files, eO as filterDocumentTags, eP as filterSkills, eQ as filterText, eR as findLeafForTaskMessage, eS as findMainSiblingLeaf, eT as findReplyTarget, eU as findSubagentRunId, eV as flattenTagTree, eW as formatAgentStepLabel, eX as formatFileSize, eY as formatGbp, eZ as formatGbpPerMillionTokens, e_ as formatItemLabel, e$ as formatStreamSummary, f0 as formatTokens, f1 as formatUserName, f2 as formatWorkspaceChoices, f3 as formatWsMessage, f4 as generateEncryptedWorkspaceKey, f5 as generateNewWorkspaceKey, f6 as getAgentStepLabel, f7 as getAttachableRunId, f8 as getChildTags, f9 as getContextRemainingPercent, fa as getContextUsedPercent, fb as getContextUsedTokens, fc as getCurrentStep, fd as getEligibleParentTags, fe as getErrorCode, ff as getErrorMessage, fg as getPublicBookingPage, fh as getRawWorkspaceKey, fi as getRunToAttach, fj as getRunToCancel, fk as getStepDisplay, fl as getStepTool, fm as getSubagentBranchRecord, fn as getTagDescendantIds, fo as health, fp as houseTemplates, fq as hydrateAgentSteps, fs as identityErrorCode, fr as identityVerification, ft as instructions, fu as isAnnotationTag, fv as isConnectorVendorVisible, fw as isDriveSyncVendor, fx as isEntityTag, fy as isFlatKind, fz as isLabelTag, fA as isMailboxSyncVendor, fB as isNearAiUsageBudget, fC as isPresenceTag, fD as isSharePointVendor, fE as isSharedSkill, fF as isTraceItem, fG as mail, fH as mcpTools, fI as mergeAgentSteps, fJ as modelConnections, fK as notifications, fL as pages, fM as parseSSEEvents, fN as parseSlashCommand, fO as parseSlashTokenInProgress, fP as parseStructuredResponse, fQ as performPasswordLogin, fR as performSigningKeyLogin, fS as performSsoDeviceFlowLogin, fT as pickMainThread, fU as profile, fV as progressFetch, fW as projects, fX as quotaExceededFrom, fY as quotaFromStreamError, fZ as reduceOutputItem, f_ as refusalReason, f$ as requireData, g0 as requireOk, g1 as resolveAuth, g2 as resolveCitations, g3 as resolveSummary, g4 as resolveWorkspace, g5 as responses, g6 as searchChunks, g7 as secureMail, g8 as selectFullContextDocument, g9 as selectWorkspace, ga as selectWorkspaceById, gb as sessions, gc as settings, gd as signatureRequests, ge as sliceToSubagentThread, gf as streamSSE, gg as stripCitationMarkdown, gh as subagentJobLabel, gi as summarizeCitations, gj as support, gk as tagUseCount, gl as tags, gm as tagsForScope, gn as tagsOfGroup, go as topLevelAgentSteps, gp as uploadSkill, gq as usdToGbp, gr as views, gs as work, gt as workflowSteps, gu as workflows, gv as workspaceAssistant, gw as workspaceConflictOf, gx as workspaces, gy as wouldCreateTagCycle } from './browser-BIVXanUk.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
@@ -5301,6 +5301,7 @@ __export(workspaces_exports, {
5301
5301
  addWorkspaceMembers: () => addWorkspaceMembers,
5302
5302
  addWorkspaceMembersBody: () => addWorkspaceMembersBody,
5303
5303
  addWorkspaceUsers: () => addWorkspaceUsers,
5304
+ aggregateWorkspace: () => aggregateWorkspace,
5304
5305
  archiveWorkspace: () => archiveWorkspace,
5305
5306
  cancelWorkspaceTransfer: () => cancelWorkspaceTransfer,
5306
5307
  copyDocuments: () => copyDocuments,
@@ -5482,6 +5483,15 @@ async function copyDocuments(arbi, targetWorkspaceId, docIds, targetWorkspaceKey
5482
5483
  "Failed to copy documents"
5483
5484
  );
5484
5485
  }
5486
+ async function aggregateWorkspace(arbi, workspaceExtId, queries) {
5487
+ return requireData(
5488
+ await arbi.fetch.POST("/v1/workspace/{workspace_ext_id}/aggregate", {
5489
+ params: { path: { workspace_ext_id: workspaceExtId } },
5490
+ body: { queries }
5491
+ }),
5492
+ "Failed to count the workspace"
5493
+ ).results;
5494
+ }
5485
5495
  async function getWorkspaceActivity(arbi, workspaceExtId, options = {}) {
5486
5496
  return requireData(
5487
5497
  await arbi.fetch.GET("/v1/workspace/{workspace_ext_id}/activity", {
@@ -9468,6 +9478,7 @@ __export(projects_exports, {
9468
9478
  listProducts: () => listProducts,
9469
9479
  listProjectEvents: () => listProjectEvents,
9470
9480
  listProjects: () => listProjects,
9481
+ listProjectsUsage: () => listProjectsUsage,
9471
9482
  parseBudget: () => parseBudget,
9472
9483
  previewPlanChange: () => previewPlanChange,
9473
9484
  quoteAddon: () => quoteAddon,
@@ -9587,6 +9598,14 @@ async function getProjectUsage(arbi, projectExtId, monthsBack) {
9587
9598
  "Failed to fetch project usage"
9588
9599
  );
9589
9600
  }
9601
+ async function listProjectsUsage(arbi, monthsBack) {
9602
+ return requireData(
9603
+ await arbi.fetch.GET("/v1/user/projects/usage", {
9604
+ params: { query: monthsBack === void 0 ? void 0 : { months_back: monthsBack } }
9605
+ }),
9606
+ "Failed to fetch the usage of your projects"
9607
+ );
9608
+ }
9590
9609
  async function getProjectInvoices(arbi, projectExtId) {
9591
9610
  return requireData(
9592
9611
  await arbi.fetch.GET("/v1/user/projects/{project_ext_id}/invoices", {
@@ -10925,6 +10944,7 @@ __export(views_exports, {
10925
10944
  deleteTableView: () => deleteTableView,
10926
10945
  filterText: () => filterText,
10927
10946
  getTableView: () => getTableView,
10947
+ getTableViewRows: () => getTableViewRows,
10928
10948
  listTableViews: () => listTableViews,
10929
10949
  shareTableView: () => shareTableView,
10930
10950
  updateTableView: () => updateTableView
@@ -10943,6 +10963,12 @@ async function getTableView(arbi, viewId) {
10943
10963
  "Failed to read the view"
10944
10964
  );
10945
10965
  }
10966
+ async function getTableViewRows(arbi, viewId, page = {}) {
10967
+ return requireData(
10968
+ await arbi.fetch.GET("/v1/views/{view_id}/rows", { params: { ...path3(viewId), query: page } }),
10969
+ "Failed to read the view"
10970
+ );
10971
+ }
10946
10972
  async function createTableView(arbi, target, spec, options = {}) {
10947
10973
  return requireData(
10948
10974
  await arbi.fetch.POST("/v1/views", {
@@ -12949,6 +12975,8 @@ var Arbi = class {
12949
12975
  refresh: (projectExtId) => refreshProject(this.requireClient(), projectExtId),
12950
12976
  /** AI usage + spend breakdown for a project's billing period. */
12951
12977
  usage: (projectExtId, monthsBack) => getProjectUsage(this.requireClient(), projectExtId, monthsBack),
12978
+ /** The usage of every project the caller owns, in one request. */
12979
+ usageOfOwned: (monthsBack) => listProjectsUsage(this.requireClient(), monthsBack),
12952
12980
  /** Stripe invoices for a project's subscription. */
12953
12981
  invoices: (projectExtId) => getProjectInvoices(this.requireClient(), projectExtId),
12954
12982
  /** Delete a project (only when empty: no workspaces, no subscription). */
@@ -13193,6 +13221,8 @@ var Arbi = class {
13193
13221
  listUsers: () => listWorkspaceUsers(this.requireClient()),
13194
13222
  /** One page of a workspace's activity feed, newest first (see `getWorkspaceActivity`). */
13195
13223
  activity: (workspaceId, options) => getWorkspaceActivity(this.requireClient(), workspaceId, options),
13224
+ /** Count a workspace's items on the server, grouped (see `aggregateWorkspace`). */
13225
+ aggregate: (workspaceId, queries) => aggregateWorkspace(this.requireClient(), workspaceId, queries),
13196
13226
  /**
13197
13227
  * Add users to the open workspace; `confirmInvite` also invites emails not on ARBI yet. `role`
13198
13228
  * defaults to `collaborator`; `guest` makes a read-only member (shown as "Viewer").
@@ -14842,6 +14872,8 @@ var Arbi = class {
14842
14872
  /** The views the caller can see: of one table, or of every table of the open workspace. */
14843
14873
  list: (target) => listTableViews(this.requireClient(), target),
14844
14874
  get: (viewId) => getTableView(this.requireClient(), viewId),
14875
+ /** The view with its database, columns and rows (filters and sort applied), in one read. */
14876
+ rows: (viewId, page) => getTableViewRows(this.requireClient(), viewId, page),
14845
14877
  create: (target, spec, options) => createTableView(this.requireClient(), target, spec, options),
14846
14878
  update: (viewId, spec) => updateTableView(this.requireClient(), viewId, spec),
14847
14879
  /** Share with the workspace (one way: it is never made private again). */