@arbidocs/sdk 0.5.151 → 0.5.153

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 { a8 as ConfigStore, a5 as CliConfig, a6 as CliCredentials, a2 as ChatSession, cN as SkippedFile, dI as UploadResult, x as AuthHeaders, dC as UploadBatchResult, dG as UploadOptions, dD as UploadDirectOptions, dE as UploadDirectResult, cB as SUPPORTED_EXTENSIONS, bp as MailAttachment, W as ChatCryptoContext } from './browser-B1Pgw5mR.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 ProjectsUsageResponse, c1 as PublicBookingError, c2 as PublicBookingPage, c3 as QuotaExceeded, c4 as RaisedSignal, c5 as RawResponseEvent, c6 as ReconnectOptions, c7 as ReconnectableWsConnection, c8 as ResolvedCitation, c9 as ResolvedRecipient, ca as RespondParams, cb as RespondPartstat, cc as Response, cd as ResponseCreateRequest, ce as ResponseCreateResult, cf as ResponseHandle, cg as ResponseSnapshot, ch as ResponseStart, ci as ResponseStartOptions, cj as ResponseStream, ck as ResponseStreamEvent, cl as ResponseTools, cm as RoomCreateBody, cn as RoomQuery, co as RoomRead, cp as RunProgress, cq as RunStats, cr as RunStep, cs as RunWaitingOn, ct as SHAREPOINT_VENDORS, cu as SSEEvent, cv as SSEStreamCallbacks, cw as SSEStreamOutcome, cx as SSEStreamResult, cy as STEP_FIELD_OPTION_TONES, cz as STOP_ID_WAIT_MS, cA as STOP_REPEAT_WINDOW_MS, cC as ScopedTarget, cD as SearchChunk, cE as SecureMailCompose, cF as SecureMailSend, cG as SecureMailSender, cH as SendBack, cI as SetupDiagnostic, cJ as SetupReport, cK as ShareRead, cL as ShareRole, cM as SkillSummary, cO as SlackConnectionStatus, cP as StepActionRequest, cQ as StepActivityEvent, cR as StepAssignee, cS as StepDisplay, cT as StepField, cU as StepFieldOption, cV as StepFieldOptionTone, cW as StepKind, cX as StepPhase, cY as StepSignal, cZ as StepSignalWhen, c_ as StepState, c$ as StepStatus, d0 as SubagentBranchRecord, d1 as SubagentLaneInfo, d2 as SubmitBackgroundQueryOptions, d3 as SubscribeParams, d4 as SupportRating, d5 as SupportTicket, d6 as SupportTicketInput, d7 as SyncTriggerResult, d8 as TAG_KINDS, d9 as TAG_NESTING_MAX_DEPTH, da as TableViewFilter, db as TableViewRecord, dc as TableViewRows, dd as TableViewSpec, de as TableViewTarget, df as TagChange, dg as TagFieldDefinition, dh as TagGroup, di as TagKind, dj as TagKindField, dk as TagKindSchema, dl as TagLinks, dm as TagListQuery, dn as TagNode, dp as TagResponse, dq as TagScope, dr as TagTreeRow, ds as TaskPlan, dt as TaskPlanStep, du as TaxQuoteResponse, dv as Thread, dw as ThreadsResponse, dx as TimeSuggestion, dy as TurnRequest, dz as UpdateConversationRequest, dB as UpdateWorkflowRequest, dF as UploadDocumentsOptions, dH as UploadProgressListener, dJ as UsageBreakdown, dK as UserConnectorEntry, dL as UserDailyUsageResponse, dM as UserInfo, dN as WebSocketAuthError, dO as WeeklyHoursSpec, dP as WorkStatus, dQ as WorkflowAuthMode, dR as WorkflowResponse, dS as WorkflowRunHistoryResponse, dT as WorkflowRunResponse, dU as WorkspaceAggregateQuery, dV as WorkspaceAggregateResult, dW as WorkspaceConflict, dX as WorkspaceContext, dY as WorkspaceOpenResponse, dZ as WorkspaceResponse, d_ as WsConnection, d$ as account, e0 as agentconfig, e1 as agents, e2 as appendTranscriptionHints, e3 as assistant, e4 as authenticatedFetch, e5 as bookPublicSlot, e6 as buildCitationChunkData, e7 as buildDocNameMap, e8 as buildDocumentTools, e9 as buildFactsContextTool, ea as buildRetrievalChunkTool, eb as buildRetrievalFullContextTool, ec as buildRetrievalTocTool, ed as buildTurnRequest, ee as calendar, ef as calls, eg as canTagHaveParent, eh as cancelPublicBooking, ei as capabilities, ej as chats, ek as composeConfiguration, el as composeTools, em as computeRunStats, en as connectErrorMessage, eo as connectWebSocket, ep as connectWithReconnect, eq as connectors, er as contacts, es as continuityPrompt, et as conversations, eu as countCitations, ev as createAuthenticatedClient, ew as createDocumentWaiter, ex as createIndexAssigner, ey as databases, ez as defaultKindForFormat, eA as diagnoseSetup, eB as doctags, eC as documentTools, eD as documents, eE as estimateDraftTokens, eF as extractDocumentIdsFromMessages, eG as extractFactIdsFromMessages, eH as extractSubagentLanes, eI as facts, eJ as files, eK as filterDocumentTags, eL as filterSkills, eM as filterText, eN as findLeafForTaskMessage, eO as findMainSiblingLeaf, eP as findReplyTarget, eQ as findSubagentRunId, eR as flattenTagTree, eS as formatAgentStepLabel, eT as formatFileSize, eU as formatGbp, eV as formatGbpPerMillionTokens, eW as formatItemLabel, eX as formatStreamSummary, eY as formatTokens, eZ as formatUserName, e_ as formatWorkspaceChoices, e$ as formatWsMessage, f0 as generateEncryptedWorkspaceKey, f1 as generateNewWorkspaceKey, f2 as getAgentStepLabel, f3 as getAttachableRunId, f4 as getChildTags, f5 as getContextRemainingPercent, f6 as getContextUsedPercent, f7 as getContextUsedTokens, f8 as getCurrentStep, f9 as getEligibleParentTags, fa as getErrorCode, fb as getErrorMessage, fc as getPublicBookingPage, fd as getRawWorkspaceKey, fe as getRunToAttach, ff as getRunToCancel, fg as getStepDisplay, fh as getStepTool, fi as getSubagentBranchRecord, fj as getTagDescendantIds, fk as health, fl as houseTemplates, fm as hydrateAgentSteps, fo as identityErrorCode, fn as identityVerification, fp as instructions, fq as isAnnotationTag, fr as isConnectorVendorVisible, fs as isDriveSyncVendor, ft as isEntityTag, fu as isFlatKind, fv as isLabelTag, fw as isMailboxSyncVendor, fx as isNearAiUsageBudget, fy as isPresenceTag, fz as isSharePointVendor, fA as isSharedSkill, fB as isTraceItem, fC as mail, fD as mcpTools, fE as mergeAgentSteps, fF as modelConnections, fG as notifications, fH as pages, fI as parseSSEEvents, fJ as parseSlashCommand, fK as parseSlashTokenInProgress, fL as parseStructuredResponse, fM as performPasswordLogin, fN as performSigningKeyLogin, fO as performSsoDeviceFlowLogin, fP as pickMainThread, fQ as profile, fR as progressFetch, fS as projects, fT as quotaExceededFrom, fU as quotaFromStreamError, fV as reduceOutputItem, fW as refusalReason, fX as requireData, fY as requireOk, fZ as resolveAuth, f_ as resolveCitations, f$ as resolveSummary, g0 as resolveWorkspace, g1 as responses, g2 as searchChunks, g3 as secureMail, g4 as selectFullContextDocument, g5 as selectWorkspace, g6 as selectWorkspaceById, g7 as sessions, g8 as settings, g9 as signatureRequests, ga as sliceToSubagentThread, gb as streamSSE, gc as stripCitationMarkdown, gd as subagentJobLabel, ge as summarizeCitations, gf as support, gg as tagUseCount, gh as tags, gi as tagsForScope, gj as tagsOfGroup, gk as topLevelAgentSteps, gl as uploadSkill, gm as usdToGbp, gn as views, go as work, gp as workflowSteps, gq as workflows, gr as workspaceAssistant, gs as workspaceConflictOf, gt as workspaces, gu as wouldCreateTagCycle } from './browser-B1Pgw5mR.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 { a8 as ConfigStore, a5 as CliConfig, a6 as CliCredentials, a2 as ChatSession, cN as SkippedFile, dI as UploadResult, x as AuthHeaders, dC as UploadBatchResult, dG as UploadOptions, dD as UploadDirectOptions, dE as UploadDirectResult, cB as SUPPORTED_EXTENSIONS, bp as MailAttachment, W as ChatCryptoContext } from './browser-CT7WuRvw.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 ProjectsUsageResponse, c1 as PublicBookingError, c2 as PublicBookingPage, c3 as QuotaExceeded, c4 as RaisedSignal, c5 as RawResponseEvent, c6 as ReconnectOptions, c7 as ReconnectableWsConnection, c8 as ResolvedCitation, c9 as ResolvedRecipient, ca as RespondParams, cb as RespondPartstat, cc as Response, cd as ResponseCreateRequest, ce as ResponseCreateResult, cf as ResponseHandle, cg as ResponseSnapshot, ch as ResponseStart, ci as ResponseStartOptions, cj as ResponseStream, ck as ResponseStreamEvent, cl as ResponseTools, cm as RoomCreateBody, cn as RoomQuery, co as RoomRead, cp as RunProgress, cq as RunStats, cr as RunStep, cs as RunWaitingOn, ct as SHAREPOINT_VENDORS, cu as SSEEvent, cv as SSEStreamCallbacks, cw as SSEStreamOutcome, cx as SSEStreamResult, cy as STEP_FIELD_OPTION_TONES, cz as STOP_ID_WAIT_MS, cA as STOP_REPEAT_WINDOW_MS, cC as ScopedTarget, cD as SearchChunk, cE as SecureMailCompose, cF as SecureMailSend, cG as SecureMailSender, cH as SendBack, cI as SetupDiagnostic, cJ as SetupReport, cK as ShareRead, cL as ShareRole, cM as SkillSummary, cO as SlackConnectionStatus, cP as StepActionRequest, cQ as StepActivityEvent, cR as StepAssignee, cS as StepDisplay, cT as StepField, cU as StepFieldOption, cV as StepFieldOptionTone, cW as StepKind, cX as StepPhase, cY as StepSignal, cZ as StepSignalWhen, c_ as StepState, c$ as StepStatus, d0 as SubagentBranchRecord, d1 as SubagentLaneInfo, d2 as SubmitBackgroundQueryOptions, d3 as SubscribeParams, d4 as SupportRating, d5 as SupportTicket, d6 as SupportTicketInput, d7 as SyncTriggerResult, d8 as TAG_KINDS, d9 as TAG_NESTING_MAX_DEPTH, da as TableViewFilter, db as TableViewRecord, dc as TableViewRows, dd as TableViewSpec, de as TableViewTarget, df as TagChange, dg as TagFieldDefinition, dh as TagGroup, di as TagKind, dj as TagKindField, dk as TagKindSchema, dl as TagLinks, dm as TagListQuery, dn as TagNode, dp as TagResponse, dq as TagScope, dr as TagTreeRow, ds as TaskPlan, dt as TaskPlanStep, du as TaxQuoteResponse, dv as Thread, dw as ThreadsResponse, dx as TimeSuggestion, dy as TurnRequest, dz as UpdateConversationRequest, dB as UpdateWorkflowRequest, dF as UploadDocumentsOptions, dH as UploadProgressListener, dJ as UsageBreakdown, dK as UserConnectorEntry, dL as UserDailyUsageResponse, dM as UserInfo, dN as WebSocketAuthError, dO as WeeklyHoursSpec, dP as WorkStatus, dQ as WorkflowAuthMode, dR as WorkflowResponse, dS as WorkflowRunHistoryResponse, dT as WorkflowRunResponse, dU as WorkspaceAggregateQuery, dV as WorkspaceAggregateResult, dW as WorkspaceConflict, dX as WorkspaceContext, dY as WorkspaceOpenResponse, dZ as WorkspaceResponse, d_ as WsConnection, d$ as account, e0 as agentconfig, e1 as agents, e2 as appendTranscriptionHints, e3 as assistant, e4 as authenticatedFetch, e5 as bookPublicSlot, e6 as buildCitationChunkData, e7 as buildDocNameMap, e8 as buildDocumentTools, e9 as buildFactsContextTool, ea as buildRetrievalChunkTool, eb as buildRetrievalFullContextTool, ec as buildRetrievalTocTool, ed as buildTurnRequest, ee as calendar, ef as calls, eg as canTagHaveParent, eh as cancelPublicBooking, ei as capabilities, ej as chats, ek as composeConfiguration, el as composeTools, em as computeRunStats, en as connectErrorMessage, eo as connectWebSocket, ep as connectWithReconnect, eq as connectors, er as contacts, es as continuityPrompt, et as conversations, eu as countCitations, ev as createAuthenticatedClient, ew as createDocumentWaiter, ex as createIndexAssigner, ey as databases, ez as defaultKindForFormat, eA as diagnoseSetup, eB as doctags, eC as documentTools, eD as documents, eE as estimateDraftTokens, eF as extractDocumentIdsFromMessages, eG as extractFactIdsFromMessages, eH as extractSubagentLanes, eI as facts, eJ as files, eK as filterDocumentTags, eL as filterSkills, eM as filterText, eN as findLeafForTaskMessage, eO as findMainSiblingLeaf, eP as findReplyTarget, eQ as findSubagentRunId, eR as flattenTagTree, eS as formatAgentStepLabel, eT as formatFileSize, eU as formatGbp, eV as formatGbpPerMillionTokens, eW as formatItemLabel, eX as formatStreamSummary, eY as formatTokens, eZ as formatUserName, e_ as formatWorkspaceChoices, e$ as formatWsMessage, f0 as generateEncryptedWorkspaceKey, f1 as generateNewWorkspaceKey, f2 as getAgentStepLabel, f3 as getAttachableRunId, f4 as getChildTags, f5 as getContextRemainingPercent, f6 as getContextUsedPercent, f7 as getContextUsedTokens, f8 as getCurrentStep, f9 as getEligibleParentTags, fa as getErrorCode, fb as getErrorMessage, fc as getPublicBookingPage, fd as getRawWorkspaceKey, fe as getRunToAttach, ff as getRunToCancel, fg as getStepDisplay, fh as getStepTool, fi as getSubagentBranchRecord, fj as getTagDescendantIds, fk as health, fl as houseTemplates, fm as hydrateAgentSteps, fo as identityErrorCode, fn as identityVerification, fp as instructions, fq as isAnnotationTag, fr as isConnectorVendorVisible, fs as isDriveSyncVendor, ft as isEntityTag, fu as isFlatKind, fv as isLabelTag, fw as isMailboxSyncVendor, fx as isNearAiUsageBudget, fy as isPresenceTag, fz as isSharePointVendor, fA as isSharedSkill, fB as isTraceItem, fC as mail, fD as mcpTools, fE as mergeAgentSteps, fF as modelConnections, fG as notifications, fH as pages, fI as parseSSEEvents, fJ as parseSlashCommand, fK as parseSlashTokenInProgress, fL as parseStructuredResponse, fM as performPasswordLogin, fN as performSigningKeyLogin, fO as performSsoDeviceFlowLogin, fP as pickMainThread, fQ as profile, fR as progressFetch, fS as projects, fT as quotaExceededFrom, fU as quotaFromStreamError, fV as reduceOutputItem, fW as refusalReason, fX as requireData, fY as requireOk, fZ as resolveAuth, f_ as resolveCitations, f$ as resolveSummary, g0 as resolveWorkspace, g1 as responses, g2 as searchChunks, g3 as secureMail, g4 as selectFullContextDocument, g5 as selectWorkspace, g6 as selectWorkspaceById, g7 as sessions, g8 as settings, g9 as signatureRequests, ga as sliceToSubagentThread, gb as streamSSE, gc as stripCitationMarkdown, gd as subagentJobLabel, ge as summarizeCitations, gf as support, gg as tagUseCount, gh as tags, gi as tagsForScope, gj as tagsOfGroup, gk as topLevelAgentSteps, gl as uploadSkill, gm as usdToGbp, gn as views, go as work, gp as workflowSteps, gq as workflows, gr as workspaceAssistant, gs as workspaceConflictOf, gt as workspaces, gu as wouldCreateTagCycle } from './browser-CT7WuRvw.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). */