@arbidocs/sdk 0.5.132 → 0.5.133

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, cG as SkippedFile, dw as UploadResult, x as AuthHeaders, dq as UploadBatchResult, du as UploadOptions, dr as UploadDirectOptions, ds as UploadDirectResult, cu as SUPPORTED_EXTENSIONS, bo as MailAttachment, W as ChatCryptoContext } from './browser-C4_Zgu_N.cjs';
2
- export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, v as AttendeeRead, w as AuthContext, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a3 as CitationSummary, a4 as CitationToolSources, a7 as CommandDescriptor, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, ar as DOC_TERMINAL_STATUSES, as as DRIVE_SYNC_VENDORS, at as Database, au as DatabaseAggregateRequest, av as DatabaseAggregateResult, aw as DatabaseColumn, ax as DatabaseColumnWrite, ay as DatabaseImportResult, az as DatabaseRow, aA as DatabaseRowPage, aB as DatabaseRowsQuery, aC as DateTimeSpec, aD as DecryptedChat, aE as DecryptedChatMessage, aF as DeploymentHouseTemplate, aG as DiagnoseOptions, aH as DirectModelUsage, aI as DocInfo, aJ as DocInfoMap, aK as DocNameMap, aL as DocumentAutomationAction, aM as DocumentListFields, aN as DocumentListOrder, aO as DocumentSelector, aP as DocumentWaiter, aQ as DocumentWaiterOptions, aR as DriveSyncProgress, aS as DriveSyncSummary, aT as DuplicateContactError, aU as ENTITY_KINDS, aV as EditScope, aW as EntityKind, aX as EventCreateBody, aY as EventPatchBody, aZ as FLAT_TAG_KINDS, b1 as FindTimeParams, b2 as FormattedWsMessage, b3 as FreeBusyEntry, b4 as FullContextSelection, b5 as GOOGLE_VENDORS, b6 as HolidayCountry, b7 as HouseTemplateCandidate, b8 as IMANAGE_VENDORS, b9 as IdentityErrorCode, ba as IdentityPurchase, bb as IdentityState, bc as IdentityStatus, bd as ImportResult, be as InvitationRead, bf as JsonSchemaOutputFormat, bg as LinkedRun, bh as ListAllOptions, bi as ListEventsParams, bk as ListPaginatedOptions, bl as MAILBOX_SYNC_VENDORS, bm as MAX_RETRIEVE_DOC_IDS, bn as MICROSOFT_VENDORS, bp as MessageLevel, bq as ModelConnection, br as OAuthAccountKind, bs as OutputItemDone, bt as OverlayItem, bu as OverlayLayerName, bv as PRESENCE_KINDS, bw as PROMPT_CONTEXT_CHARS, bx as ParsedResponse, by as ParsedSlashCommand, bz as ParsedStructuredResponse, bA as PendingAuthResponse, bB as PersonKey, bC as PersonalConnectionInput, bD as PlanStepsError, bE as PlanWorkRequest, bF as ProductResponse, bG as ProjectAddonKind, bH as ProjectAddonSettingsRequest, bI as ProjectBudget, bJ as ProjectCheckoutRequest, bK as ProjectConversationUsageResponse, bL as ProjectCreateOptions, bM as ProjectDetails, bN as ProjectEventKind, bO as ProjectEventResponse, bP as ProjectInvoicesResponse, bQ as ProjectNextPeriodAddonsRequest, bR as ProjectPlanChangeRequest, bS as ProjectQuoteRequest, bT as ProjectResponse, bU as ProjectUpdateRequest, bV as ProjectUsageResponse, bW as PublicBookingError, bX as PublicBookingPage, bY as QuotaExceeded, bZ as RaisedSignal, b_ as RawResponseEvent, b$ as ReconnectOptions, c0 as ReconnectableWsConnection, c1 as ResolvedCitation, c2 as ResolvedRecipient, c3 as RespondParams, c4 as RespondPartstat, c5 as Response, c6 as ResponseCreateRequest, c7 as ResponseCreateResult, c8 as ResponseHandle, c9 as ResponseSnapshot, ca as ResponseStart, cb as ResponseStartOptions, cc as ResponseStream, cd as ResponseStreamEvent, ce as ResponseTools, cf as RoomCreateBody, cg as RoomQuery, ch as RoomRead, ci as RunProgress, cj as RunStats, ck as RunStep, cl as RunWaitingOn, cm as SHAREPOINT_VENDORS, cn as SSEEvent, co as SSEStreamCallbacks, cp as SSEStreamOutcome, cq as SSEStreamResult, cr as STEP_FIELD_OPTION_TONES, cs as STOP_ID_WAIT_MS, ct as STOP_REPEAT_WINDOW_MS, cv as ScopedTarget, cw as SearchChunk, cx as SecureMailCompose, cy as SecureMailSend, cz as SecureMailSender, cA as SendBack, cB as SetupDiagnostic, cC as SetupReport, cD as ShareRead, cE as ShareRole, cF as SkillSummary, cH as SlackConnectionStatus, cI as StepActionRequest, cJ as StepActivityEvent, cK as StepAssignee, cL as StepDisplay, cM as StepField, cN as StepFieldOption, cO as StepFieldOptionTone, cP as StepKind, cQ as StepPhase, cR as StepSignal, cS as StepSignalWhen, cT as StepState, cU as StepStatus, cV as SubagentBranchRecord, cW as SubagentLaneInfo, cX as SubmitBackgroundQueryOptions, cY as SubscribeParams, cZ as SupportRating, c_ as SupportTicket, c$ as SupportTicketInput, d0 as SyncTriggerResult, d1 as TAG_KINDS, d2 as TAG_NESTING_MAX_DEPTH, d3 as TagChange, d4 as TagFieldDefinition, d5 as TagGroup, d6 as TagKind, d7 as TagKindField, d8 as TagKindSchema, d9 as TagLinks, da as TagListQuery, db as TagNode, dc as TagResponse, dd as TagScope, de as TagTreeRow, df as TaskPlan, dg as TaskPlanStep, dh as TaxQuoteResponse, di as Thread, dj as ThreadsResponse, dk as TimeSuggestion, dl as TurnRequest, dm as UpdateConversationRequest, dp as UpdateWorkflowRequest, dt as UploadDocumentsOptions, dv as UploadProgressListener, dx as UsageBreakdown, dy as UserConnectorEntry, dz as UserDailyUsageResponse, dA as UserInfo, dB as WebSocketAuthError, dC as WeeklyHoursSpec, dD as WorkStatus, dE as WorkflowAuthMode, dF as WorkflowResponse, dG as WorkflowRunHistoryResponse, dH as WorkflowRunResponse, dI as WorkspaceConflict, dJ as WorkspaceContext, dK as WorkspaceOpenResponse, dL as WorkspaceResponse, dM as WsConnection, dN as account, dO as agentconfig, dP as agents, dQ as appendTranscriptionHints, dR as assistant, dS as authenticatedFetch, dT as bookPublicSlot, dU as buildCitationChunkData, dV as buildDocNameMap, dW as buildDocumentTools, dX as buildFactsContextTool, dY as buildRetrievalChunkTool, dZ as buildRetrievalFullContextTool, d_ as buildRetrievalTocTool, d$ as buildTurnRequest, e0 as calendar, e1 as calls, e2 as canTagHaveParent, e3 as cancelPublicBooking, e4 as capabilities, e5 as chats, e6 as composeConfiguration, e7 as composeTools, e8 as computeRunStats, e9 as connectErrorMessage, ea as connectWebSocket, eb as connectWithReconnect, ec as connectors, ed as contacts, ee as continuityPrompt, ef as conversations, eg as countCitations, eh as createAuthenticatedClient, ei as createDocumentWaiter, ej as createIndexAssigner, ek as databases, el as defaultKindForFormat, em as diagnoseSetup, en as doctags, eo as documentTools, ep as documents, eq as estimateDraftTokens, er as extractDocumentIdsFromMessages, es as extractFactIdsFromMessages, et as extractSubagentLanes, eu as facts, ev as files, ew as filterDocumentTags, ex as filterSkills, ey as findLeafForTaskMessage, ez as findMainSiblingLeaf, eA as findReplyTarget, eB as findSubagentRunId, eC as flattenTagTree, eD as formatAgentStepLabel, eE as formatFileSize, eF as formatGbp, eG as formatGbpPerMillionTokens, eH as formatItemLabel, eI as formatStreamSummary, eJ as formatTokens, eK as formatUserName, eL as formatWorkspaceChoices, eM as formatWsMessage, eN as generateEncryptedWorkspaceKey, eO as generateNewWorkspaceKey, eP as getAgentStepLabel, eQ as getAttachableRunId, eR as getChildTags, eS as getContextRemainingPercent, eT as getContextUsedPercent, eU as getContextUsedTokens, eV as getCurrentStep, eW as getEligibleParentTags, eX as getErrorCode, eY as getErrorMessage, eZ as getPublicBookingPage, e_ as getRawWorkspaceKey, e$ as getRunToAttach, f0 as getRunToCancel, f1 as getStepDisplay, f2 as getStepTool, f3 as getSubagentBranchRecord, f4 as getTagDescendantIds, f5 as health, f6 as houseTemplates, f7 as hydrateAgentSteps, f9 as identityErrorCode, f8 as identityVerification, fa as instructions, fb as isAnnotationTag, fc as isConnectorVendorVisible, fd as isDriveSyncVendor, fe as isEntityTag, ff as isFlatKind, fg as isLabelTag, fh as isMailboxSyncVendor, fi as isNearAiUsageBudget, fj as isPresenceTag, fk as isSharePointVendor, fl as isSharedSkill, fm as isTraceItem, fn as mail, fo as mcpTools, fp as mergeAgentSteps, fq as modelConnections, fr as notifications, fs as parseSSEEvents, ft as parseSlashCommand, fu as parseSlashTokenInProgress, fv as parseStructuredResponse, fw as performPasswordLogin, fx as performSigningKeyLogin, fy as performSsoDeviceFlowLogin, fz as pickMainThread, fA as profile, fB as progressFetch, fC as projects, fD as quotaExceededFrom, fE as quotaFromStreamError, fF as reduceOutputItem, fG as refusalReason, fH as requireData, fI as requireOk, fJ as resolveAuth, fK as resolveCitations, fL as resolveSummary, fM as resolveWorkspace, fN as responses, fO as searchChunks, fP as secureMail, fQ as selectFullContextDocument, fR as selectWorkspace, fS as selectWorkspaceById, fT as sessions, fU as settings, fV as signatureRequests, fW as sliceToSubagentThread, fX as streamSSE, fY as stripCitationMarkdown, fZ as subagentJobLabel, f_ as summarizeCitations, f$ as support, g0 as tagUseCount, g1 as tags, g2 as tagsForScope, g3 as tagsOfGroup, g4 as topLevelAgentSteps, g5 as uploadSkill, g6 as usdToGbp, g7 as work, g8 as workflowSteps, g9 as workflows, ga as workspaceAssistant, gb as workspaceConflictOf, gc as workspaces, gd as wouldCreateTagCycle } from './browser-C4_Zgu_N.cjs';
1
+ import { a8 as ConfigStore, a5 as CliConfig, a6 as CliCredentials, a2 as ChatSession, cG as SkippedFile, dw as UploadResult, x as AuthHeaders, dq as UploadBatchResult, du as UploadOptions, dr as UploadDirectOptions, ds as UploadDirectResult, cu as SUPPORTED_EXTENSIONS, bo as MailAttachment, W as ChatCryptoContext } from './browser-CrLmQm-o.cjs';
2
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, v as AttendeeRead, w as AuthContext, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a3 as CitationSummary, a4 as CitationToolSources, a7 as CommandDescriptor, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, ar as DOC_TERMINAL_STATUSES, as as DRIVE_SYNC_VENDORS, at as Database, au as DatabaseAggregateRequest, av as DatabaseAggregateResult, aw as DatabaseColumn, ax as DatabaseColumnWrite, ay as DatabaseImportResult, az as DatabaseRow, aA as DatabaseRowPage, aB as DatabaseRowsQuery, aC as DateTimeSpec, aD as DecryptedChat, aE as DecryptedChatMessage, aF as DeploymentHouseTemplate, aG as DiagnoseOptions, aH as DirectModelUsage, aI as DocInfo, aJ as DocInfoMap, aK as DocNameMap, aL as DocumentAutomationAction, aM as DocumentListFields, aN as DocumentListOrder, aO as DocumentSelector, aP as DocumentWaiter, aQ as DocumentWaiterOptions, aR as DriveSyncProgress, aS as DriveSyncSummary, aT as DuplicateContactError, aU as ENTITY_KINDS, aV as EditScope, aW as EntityKind, aX as EventCreateBody, aY as EventPatchBody, aZ as FLAT_TAG_KINDS, b1 as FindTimeParams, b2 as FormattedWsMessage, b3 as FreeBusyEntry, b4 as FullContextSelection, b5 as GOOGLE_VENDORS, b6 as HolidayCountry, b7 as HouseTemplateCandidate, b8 as IMANAGE_VENDORS, b9 as IdentityErrorCode, ba as IdentityPurchase, bb as IdentityState, bc as IdentityStatus, bd as ImportResult, be as InvitationRead, bf as JsonSchemaOutputFormat, bg as LinkedRun, bh as ListAllOptions, bi as ListEventsParams, bk as ListPaginatedOptions, bl as MAILBOX_SYNC_VENDORS, bm as MAX_RETRIEVE_DOC_IDS, bn as MICROSOFT_VENDORS, bp as MessageLevel, bq as ModelConnection, br as OAuthAccountKind, bs as OutputItemDone, bt as OverlayItem, bu as OverlayLayerName, bv as PRESENCE_KINDS, bw as PROMPT_CONTEXT_CHARS, bx as ParsedResponse, by as ParsedSlashCommand, bz as ParsedStructuredResponse, bA as PendingAuthResponse, bB as PersonKey, bC as PersonalConnectionInput, bD as PlanStepsError, bE as PlanWorkRequest, bF as ProductResponse, bG as ProjectAddonKind, bH as ProjectAddonSettingsRequest, bI as ProjectBudget, bJ as ProjectCheckoutRequest, bK as ProjectConversationUsageResponse, bL as ProjectCreateOptions, bM as ProjectDetails, bN as ProjectEventKind, bO as ProjectEventResponse, bP as ProjectInvoicesResponse, bQ as ProjectNextPeriodAddonsRequest, bR as ProjectPlanChangeRequest, bS as ProjectQuoteRequest, bT as ProjectResponse, bU as ProjectUpdateRequest, bV as ProjectUsageResponse, bW as PublicBookingError, bX as PublicBookingPage, bY as QuotaExceeded, bZ as RaisedSignal, b_ as RawResponseEvent, b$ as ReconnectOptions, c0 as ReconnectableWsConnection, c1 as ResolvedCitation, c2 as ResolvedRecipient, c3 as RespondParams, c4 as RespondPartstat, c5 as Response, c6 as ResponseCreateRequest, c7 as ResponseCreateResult, c8 as ResponseHandle, c9 as ResponseSnapshot, ca as ResponseStart, cb as ResponseStartOptions, cc as ResponseStream, cd as ResponseStreamEvent, ce as ResponseTools, cf as RoomCreateBody, cg as RoomQuery, ch as RoomRead, ci as RunProgress, cj as RunStats, ck as RunStep, cl as RunWaitingOn, cm as SHAREPOINT_VENDORS, cn as SSEEvent, co as SSEStreamCallbacks, cp as SSEStreamOutcome, cq as SSEStreamResult, cr as STEP_FIELD_OPTION_TONES, cs as STOP_ID_WAIT_MS, ct as STOP_REPEAT_WINDOW_MS, cv as ScopedTarget, cw as SearchChunk, cx as SecureMailCompose, cy as SecureMailSend, cz as SecureMailSender, cA as SendBack, cB as SetupDiagnostic, cC as SetupReport, cD as ShareRead, cE as ShareRole, cF as SkillSummary, cH as SlackConnectionStatus, cI as StepActionRequest, cJ as StepActivityEvent, cK as StepAssignee, cL as StepDisplay, cM as StepField, cN as StepFieldOption, cO as StepFieldOptionTone, cP as StepKind, cQ as StepPhase, cR as StepSignal, cS as StepSignalWhen, cT as StepState, cU as StepStatus, cV as SubagentBranchRecord, cW as SubagentLaneInfo, cX as SubmitBackgroundQueryOptions, cY as SubscribeParams, cZ as SupportRating, c_ as SupportTicket, c$ as SupportTicketInput, d0 as SyncTriggerResult, d1 as TAG_KINDS, d2 as TAG_NESTING_MAX_DEPTH, d3 as TagChange, d4 as TagFieldDefinition, d5 as TagGroup, d6 as TagKind, d7 as TagKindField, d8 as TagKindSchema, d9 as TagLinks, da as TagListQuery, db as TagNode, dc as TagResponse, dd as TagScope, de as TagTreeRow, df as TaskPlan, dg as TaskPlanStep, dh as TaxQuoteResponse, di as Thread, dj as ThreadsResponse, dk as TimeSuggestion, dl as TurnRequest, dm as UpdateConversationRequest, dp as UpdateWorkflowRequest, dt as UploadDocumentsOptions, dv as UploadProgressListener, dx as UsageBreakdown, dy as UserConnectorEntry, dz as UserDailyUsageResponse, dA as UserInfo, dB as WebSocketAuthError, dC as WeeklyHoursSpec, dD as WorkStatus, dE as WorkflowAuthMode, dF as WorkflowResponse, dG as WorkflowRunHistoryResponse, dH as WorkflowRunResponse, dI as WorkspaceConflict, dJ as WorkspaceContext, dK as WorkspaceOpenResponse, dL as WorkspaceResponse, dM as WsConnection, dN as account, dO as agentconfig, dP as agents, dQ as appendTranscriptionHints, dR as assistant, dS as authenticatedFetch, dT as bookPublicSlot, dU as buildCitationChunkData, dV as buildDocNameMap, dW as buildDocumentTools, dX as buildFactsContextTool, dY as buildRetrievalChunkTool, dZ as buildRetrievalFullContextTool, d_ as buildRetrievalTocTool, d$ as buildTurnRequest, e0 as calendar, e1 as calls, e2 as canTagHaveParent, e3 as cancelPublicBooking, e4 as capabilities, e5 as chats, e6 as composeConfiguration, e7 as composeTools, e8 as computeRunStats, e9 as connectErrorMessage, ea as connectWebSocket, eb as connectWithReconnect, ec as connectors, ed as contacts, ee as continuityPrompt, ef as conversations, eg as countCitations, eh as createAuthenticatedClient, ei as createDocumentWaiter, ej as createIndexAssigner, ek as databases, el as defaultKindForFormat, em as diagnoseSetup, en as doctags, eo as documentTools, ep as documents, eq as estimateDraftTokens, er as extractDocumentIdsFromMessages, es as extractFactIdsFromMessages, et as extractSubagentLanes, eu as facts, ev as files, ew as filterDocumentTags, ex as filterSkills, ey as findLeafForTaskMessage, ez as findMainSiblingLeaf, eA as findReplyTarget, eB as findSubagentRunId, eC as flattenTagTree, eD as formatAgentStepLabel, eE as formatFileSize, eF as formatGbp, eG as formatGbpPerMillionTokens, eH as formatItemLabel, eI as formatStreamSummary, eJ as formatTokens, eK as formatUserName, eL as formatWorkspaceChoices, eM as formatWsMessage, eN as generateEncryptedWorkspaceKey, eO as generateNewWorkspaceKey, eP as getAgentStepLabel, eQ as getAttachableRunId, eR as getChildTags, eS as getContextRemainingPercent, eT as getContextUsedPercent, eU as getContextUsedTokens, eV as getCurrentStep, eW as getEligibleParentTags, eX as getErrorCode, eY as getErrorMessage, eZ as getPublicBookingPage, e_ as getRawWorkspaceKey, e$ as getRunToAttach, f0 as getRunToCancel, f1 as getStepDisplay, f2 as getStepTool, f3 as getSubagentBranchRecord, f4 as getTagDescendantIds, f5 as health, f6 as houseTemplates, f7 as hydrateAgentSteps, f9 as identityErrorCode, f8 as identityVerification, fa as instructions, fb as isAnnotationTag, fc as isConnectorVendorVisible, fd as isDriveSyncVendor, fe as isEntityTag, ff as isFlatKind, fg as isLabelTag, fh as isMailboxSyncVendor, fi as isNearAiUsageBudget, fj as isPresenceTag, fk as isSharePointVendor, fl as isSharedSkill, fm as isTraceItem, fn as mail, fo as mcpTools, fp as mergeAgentSteps, fq as modelConnections, fr as notifications, fs as parseSSEEvents, ft as parseSlashCommand, fu as parseSlashTokenInProgress, fv as parseStructuredResponse, fw as performPasswordLogin, fx as performSigningKeyLogin, fy as performSsoDeviceFlowLogin, fz as pickMainThread, fA as profile, fB as progressFetch, fC as projects, fD as quotaExceededFrom, fE as quotaFromStreamError, fF as reduceOutputItem, fG as refusalReason, fH as requireData, fI as requireOk, fJ as resolveAuth, fK as resolveCitations, fL as resolveSummary, fM as resolveWorkspace, fN as responses, fO as searchChunks, fP as secureMail, fQ as selectFullContextDocument, fR as selectWorkspace, fS as selectWorkspaceById, fT as sessions, fU as settings, fV as signatureRequests, fW as sliceToSubagentThread, fX as streamSSE, fY as stripCitationMarkdown, fZ as subagentJobLabel, f_ as summarizeCitations, f$ as support, g0 as tagUseCount, g1 as tags, g2 as tagsForScope, g3 as tagsOfGroup, g4 as topLevelAgentSteps, g5 as uploadSkill, g6 as usdToGbp, g7 as work, g8 as workflowSteps, g9 as workflows, ga as workspaceAssistant, gb as workspaceConflictOf, gc as workspaces, gd as wouldCreateTagCycle } from './browser-CrLmQm-o.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, cG as SkippedFile, dw as UploadResult, x as AuthHeaders, dq as UploadBatchResult, du as UploadOptions, dr as UploadDirectOptions, ds as UploadDirectResult, cu as SUPPORTED_EXTENSIONS, bo as MailAttachment, W as ChatCryptoContext } from './browser-BDt9qMGw.js';
2
- export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, v as AttendeeRead, w as AuthContext, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a3 as CitationSummary, a4 as CitationToolSources, a7 as CommandDescriptor, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, ar as DOC_TERMINAL_STATUSES, as as DRIVE_SYNC_VENDORS, at as Database, au as DatabaseAggregateRequest, av as DatabaseAggregateResult, aw as DatabaseColumn, ax as DatabaseColumnWrite, ay as DatabaseImportResult, az as DatabaseRow, aA as DatabaseRowPage, aB as DatabaseRowsQuery, aC as DateTimeSpec, aD as DecryptedChat, aE as DecryptedChatMessage, aF as DeploymentHouseTemplate, aG as DiagnoseOptions, aH as DirectModelUsage, aI as DocInfo, aJ as DocInfoMap, aK as DocNameMap, aL as DocumentAutomationAction, aM as DocumentListFields, aN as DocumentListOrder, aO as DocumentSelector, aP as DocumentWaiter, aQ as DocumentWaiterOptions, aR as DriveSyncProgress, aS as DriveSyncSummary, aT as DuplicateContactError, aU as ENTITY_KINDS, aV as EditScope, aW as EntityKind, aX as EventCreateBody, aY as EventPatchBody, aZ as FLAT_TAG_KINDS, b1 as FindTimeParams, b2 as FormattedWsMessage, b3 as FreeBusyEntry, b4 as FullContextSelection, b5 as GOOGLE_VENDORS, b6 as HolidayCountry, b7 as HouseTemplateCandidate, b8 as IMANAGE_VENDORS, b9 as IdentityErrorCode, ba as IdentityPurchase, bb as IdentityState, bc as IdentityStatus, bd as ImportResult, be as InvitationRead, bf as JsonSchemaOutputFormat, bg as LinkedRun, bh as ListAllOptions, bi as ListEventsParams, bk as ListPaginatedOptions, bl as MAILBOX_SYNC_VENDORS, bm as MAX_RETRIEVE_DOC_IDS, bn as MICROSOFT_VENDORS, bp as MessageLevel, bq as ModelConnection, br as OAuthAccountKind, bs as OutputItemDone, bt as OverlayItem, bu as OverlayLayerName, bv as PRESENCE_KINDS, bw as PROMPT_CONTEXT_CHARS, bx as ParsedResponse, by as ParsedSlashCommand, bz as ParsedStructuredResponse, bA as PendingAuthResponse, bB as PersonKey, bC as PersonalConnectionInput, bD as PlanStepsError, bE as PlanWorkRequest, bF as ProductResponse, bG as ProjectAddonKind, bH as ProjectAddonSettingsRequest, bI as ProjectBudget, bJ as ProjectCheckoutRequest, bK as ProjectConversationUsageResponse, bL as ProjectCreateOptions, bM as ProjectDetails, bN as ProjectEventKind, bO as ProjectEventResponse, bP as ProjectInvoicesResponse, bQ as ProjectNextPeriodAddonsRequest, bR as ProjectPlanChangeRequest, bS as ProjectQuoteRequest, bT as ProjectResponse, bU as ProjectUpdateRequest, bV as ProjectUsageResponse, bW as PublicBookingError, bX as PublicBookingPage, bY as QuotaExceeded, bZ as RaisedSignal, b_ as RawResponseEvent, b$ as ReconnectOptions, c0 as ReconnectableWsConnection, c1 as ResolvedCitation, c2 as ResolvedRecipient, c3 as RespondParams, c4 as RespondPartstat, c5 as Response, c6 as ResponseCreateRequest, c7 as ResponseCreateResult, c8 as ResponseHandle, c9 as ResponseSnapshot, ca as ResponseStart, cb as ResponseStartOptions, cc as ResponseStream, cd as ResponseStreamEvent, ce as ResponseTools, cf as RoomCreateBody, cg as RoomQuery, ch as RoomRead, ci as RunProgress, cj as RunStats, ck as RunStep, cl as RunWaitingOn, cm as SHAREPOINT_VENDORS, cn as SSEEvent, co as SSEStreamCallbacks, cp as SSEStreamOutcome, cq as SSEStreamResult, cr as STEP_FIELD_OPTION_TONES, cs as STOP_ID_WAIT_MS, ct as STOP_REPEAT_WINDOW_MS, cv as ScopedTarget, cw as SearchChunk, cx as SecureMailCompose, cy as SecureMailSend, cz as SecureMailSender, cA as SendBack, cB as SetupDiagnostic, cC as SetupReport, cD as ShareRead, cE as ShareRole, cF as SkillSummary, cH as SlackConnectionStatus, cI as StepActionRequest, cJ as StepActivityEvent, cK as StepAssignee, cL as StepDisplay, cM as StepField, cN as StepFieldOption, cO as StepFieldOptionTone, cP as StepKind, cQ as StepPhase, cR as StepSignal, cS as StepSignalWhen, cT as StepState, cU as StepStatus, cV as SubagentBranchRecord, cW as SubagentLaneInfo, cX as SubmitBackgroundQueryOptions, cY as SubscribeParams, cZ as SupportRating, c_ as SupportTicket, c$ as SupportTicketInput, d0 as SyncTriggerResult, d1 as TAG_KINDS, d2 as TAG_NESTING_MAX_DEPTH, d3 as TagChange, d4 as TagFieldDefinition, d5 as TagGroup, d6 as TagKind, d7 as TagKindField, d8 as TagKindSchema, d9 as TagLinks, da as TagListQuery, db as TagNode, dc as TagResponse, dd as TagScope, de as TagTreeRow, df as TaskPlan, dg as TaskPlanStep, dh as TaxQuoteResponse, di as Thread, dj as ThreadsResponse, dk as TimeSuggestion, dl as TurnRequest, dm as UpdateConversationRequest, dp as UpdateWorkflowRequest, dt as UploadDocumentsOptions, dv as UploadProgressListener, dx as UsageBreakdown, dy as UserConnectorEntry, dz as UserDailyUsageResponse, dA as UserInfo, dB as WebSocketAuthError, dC as WeeklyHoursSpec, dD as WorkStatus, dE as WorkflowAuthMode, dF as WorkflowResponse, dG as WorkflowRunHistoryResponse, dH as WorkflowRunResponse, dI as WorkspaceConflict, dJ as WorkspaceContext, dK as WorkspaceOpenResponse, dL as WorkspaceResponse, dM as WsConnection, dN as account, dO as agentconfig, dP as agents, dQ as appendTranscriptionHints, dR as assistant, dS as authenticatedFetch, dT as bookPublicSlot, dU as buildCitationChunkData, dV as buildDocNameMap, dW as buildDocumentTools, dX as buildFactsContextTool, dY as buildRetrievalChunkTool, dZ as buildRetrievalFullContextTool, d_ as buildRetrievalTocTool, d$ as buildTurnRequest, e0 as calendar, e1 as calls, e2 as canTagHaveParent, e3 as cancelPublicBooking, e4 as capabilities, e5 as chats, e6 as composeConfiguration, e7 as composeTools, e8 as computeRunStats, e9 as connectErrorMessage, ea as connectWebSocket, eb as connectWithReconnect, ec as connectors, ed as contacts, ee as continuityPrompt, ef as conversations, eg as countCitations, eh as createAuthenticatedClient, ei as createDocumentWaiter, ej as createIndexAssigner, ek as databases, el as defaultKindForFormat, em as diagnoseSetup, en as doctags, eo as documentTools, ep as documents, eq as estimateDraftTokens, er as extractDocumentIdsFromMessages, es as extractFactIdsFromMessages, et as extractSubagentLanes, eu as facts, ev as files, ew as filterDocumentTags, ex as filterSkills, ey as findLeafForTaskMessage, ez as findMainSiblingLeaf, eA as findReplyTarget, eB as findSubagentRunId, eC as flattenTagTree, eD as formatAgentStepLabel, eE as formatFileSize, eF as formatGbp, eG as formatGbpPerMillionTokens, eH as formatItemLabel, eI as formatStreamSummary, eJ as formatTokens, eK as formatUserName, eL as formatWorkspaceChoices, eM as formatWsMessage, eN as generateEncryptedWorkspaceKey, eO as generateNewWorkspaceKey, eP as getAgentStepLabel, eQ as getAttachableRunId, eR as getChildTags, eS as getContextRemainingPercent, eT as getContextUsedPercent, eU as getContextUsedTokens, eV as getCurrentStep, eW as getEligibleParentTags, eX as getErrorCode, eY as getErrorMessage, eZ as getPublicBookingPage, e_ as getRawWorkspaceKey, e$ as getRunToAttach, f0 as getRunToCancel, f1 as getStepDisplay, f2 as getStepTool, f3 as getSubagentBranchRecord, f4 as getTagDescendantIds, f5 as health, f6 as houseTemplates, f7 as hydrateAgentSteps, f9 as identityErrorCode, f8 as identityVerification, fa as instructions, fb as isAnnotationTag, fc as isConnectorVendorVisible, fd as isDriveSyncVendor, fe as isEntityTag, ff as isFlatKind, fg as isLabelTag, fh as isMailboxSyncVendor, fi as isNearAiUsageBudget, fj as isPresenceTag, fk as isSharePointVendor, fl as isSharedSkill, fm as isTraceItem, fn as mail, fo as mcpTools, fp as mergeAgentSteps, fq as modelConnections, fr as notifications, fs as parseSSEEvents, ft as parseSlashCommand, fu as parseSlashTokenInProgress, fv as parseStructuredResponse, fw as performPasswordLogin, fx as performSigningKeyLogin, fy as performSsoDeviceFlowLogin, fz as pickMainThread, fA as profile, fB as progressFetch, fC as projects, fD as quotaExceededFrom, fE as quotaFromStreamError, fF as reduceOutputItem, fG as refusalReason, fH as requireData, fI as requireOk, fJ as resolveAuth, fK as resolveCitations, fL as resolveSummary, fM as resolveWorkspace, fN as responses, fO as searchChunks, fP as secureMail, fQ as selectFullContextDocument, fR as selectWorkspace, fS as selectWorkspaceById, fT as sessions, fU as settings, fV as signatureRequests, fW as sliceToSubagentThread, fX as streamSSE, fY as stripCitationMarkdown, fZ as subagentJobLabel, f_ as summarizeCitations, f$ as support, g0 as tagUseCount, g1 as tags, g2 as tagsForScope, g3 as tagsOfGroup, g4 as topLevelAgentSteps, g5 as uploadSkill, g6 as usdToGbp, g7 as work, g8 as workflowSteps, g9 as workflows, ga as workspaceAssistant, gb as workspaceConflictOf, gc as workspaces, gd as wouldCreateTagCycle } from './browser-BDt9qMGw.js';
1
+ import { a8 as ConfigStore, a5 as CliConfig, a6 as CliCredentials, a2 as ChatSession, cG as SkippedFile, dw as UploadResult, x as AuthHeaders, dq as UploadBatchResult, du as UploadOptions, dr as UploadDirectOptions, ds as UploadDirectResult, cu as SUPPORTED_EXTENSIONS, bo as MailAttachment, W as ChatCryptoContext } from './browser-Do_-BxvU.js';
2
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, v as AttendeeRead, w as AuthContext, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a3 as CitationSummary, a4 as CitationToolSources, a7 as CommandDescriptor, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, ar as DOC_TERMINAL_STATUSES, as as DRIVE_SYNC_VENDORS, at as Database, au as DatabaseAggregateRequest, av as DatabaseAggregateResult, aw as DatabaseColumn, ax as DatabaseColumnWrite, ay as DatabaseImportResult, az as DatabaseRow, aA as DatabaseRowPage, aB as DatabaseRowsQuery, aC as DateTimeSpec, aD as DecryptedChat, aE as DecryptedChatMessage, aF as DeploymentHouseTemplate, aG as DiagnoseOptions, aH as DirectModelUsage, aI as DocInfo, aJ as DocInfoMap, aK as DocNameMap, aL as DocumentAutomationAction, aM as DocumentListFields, aN as DocumentListOrder, aO as DocumentSelector, aP as DocumentWaiter, aQ as DocumentWaiterOptions, aR as DriveSyncProgress, aS as DriveSyncSummary, aT as DuplicateContactError, aU as ENTITY_KINDS, aV as EditScope, aW as EntityKind, aX as EventCreateBody, aY as EventPatchBody, aZ as FLAT_TAG_KINDS, b1 as FindTimeParams, b2 as FormattedWsMessage, b3 as FreeBusyEntry, b4 as FullContextSelection, b5 as GOOGLE_VENDORS, b6 as HolidayCountry, b7 as HouseTemplateCandidate, b8 as IMANAGE_VENDORS, b9 as IdentityErrorCode, ba as IdentityPurchase, bb as IdentityState, bc as IdentityStatus, bd as ImportResult, be as InvitationRead, bf as JsonSchemaOutputFormat, bg as LinkedRun, bh as ListAllOptions, bi as ListEventsParams, bk as ListPaginatedOptions, bl as MAILBOX_SYNC_VENDORS, bm as MAX_RETRIEVE_DOC_IDS, bn as MICROSOFT_VENDORS, bp as MessageLevel, bq as ModelConnection, br as OAuthAccountKind, bs as OutputItemDone, bt as OverlayItem, bu as OverlayLayerName, bv as PRESENCE_KINDS, bw as PROMPT_CONTEXT_CHARS, bx as ParsedResponse, by as ParsedSlashCommand, bz as ParsedStructuredResponse, bA as PendingAuthResponse, bB as PersonKey, bC as PersonalConnectionInput, bD as PlanStepsError, bE as PlanWorkRequest, bF as ProductResponse, bG as ProjectAddonKind, bH as ProjectAddonSettingsRequest, bI as ProjectBudget, bJ as ProjectCheckoutRequest, bK as ProjectConversationUsageResponse, bL as ProjectCreateOptions, bM as ProjectDetails, bN as ProjectEventKind, bO as ProjectEventResponse, bP as ProjectInvoicesResponse, bQ as ProjectNextPeriodAddonsRequest, bR as ProjectPlanChangeRequest, bS as ProjectQuoteRequest, bT as ProjectResponse, bU as ProjectUpdateRequest, bV as ProjectUsageResponse, bW as PublicBookingError, bX as PublicBookingPage, bY as QuotaExceeded, bZ as RaisedSignal, b_ as RawResponseEvent, b$ as ReconnectOptions, c0 as ReconnectableWsConnection, c1 as ResolvedCitation, c2 as ResolvedRecipient, c3 as RespondParams, c4 as RespondPartstat, c5 as Response, c6 as ResponseCreateRequest, c7 as ResponseCreateResult, c8 as ResponseHandle, c9 as ResponseSnapshot, ca as ResponseStart, cb as ResponseStartOptions, cc as ResponseStream, cd as ResponseStreamEvent, ce as ResponseTools, cf as RoomCreateBody, cg as RoomQuery, ch as RoomRead, ci as RunProgress, cj as RunStats, ck as RunStep, cl as RunWaitingOn, cm as SHAREPOINT_VENDORS, cn as SSEEvent, co as SSEStreamCallbacks, cp as SSEStreamOutcome, cq as SSEStreamResult, cr as STEP_FIELD_OPTION_TONES, cs as STOP_ID_WAIT_MS, ct as STOP_REPEAT_WINDOW_MS, cv as ScopedTarget, cw as SearchChunk, cx as SecureMailCompose, cy as SecureMailSend, cz as SecureMailSender, cA as SendBack, cB as SetupDiagnostic, cC as SetupReport, cD as ShareRead, cE as ShareRole, cF as SkillSummary, cH as SlackConnectionStatus, cI as StepActionRequest, cJ as StepActivityEvent, cK as StepAssignee, cL as StepDisplay, cM as StepField, cN as StepFieldOption, cO as StepFieldOptionTone, cP as StepKind, cQ as StepPhase, cR as StepSignal, cS as StepSignalWhen, cT as StepState, cU as StepStatus, cV as SubagentBranchRecord, cW as SubagentLaneInfo, cX as SubmitBackgroundQueryOptions, cY as SubscribeParams, cZ as SupportRating, c_ as SupportTicket, c$ as SupportTicketInput, d0 as SyncTriggerResult, d1 as TAG_KINDS, d2 as TAG_NESTING_MAX_DEPTH, d3 as TagChange, d4 as TagFieldDefinition, d5 as TagGroup, d6 as TagKind, d7 as TagKindField, d8 as TagKindSchema, d9 as TagLinks, da as TagListQuery, db as TagNode, dc as TagResponse, dd as TagScope, de as TagTreeRow, df as TaskPlan, dg as TaskPlanStep, dh as TaxQuoteResponse, di as Thread, dj as ThreadsResponse, dk as TimeSuggestion, dl as TurnRequest, dm as UpdateConversationRequest, dp as UpdateWorkflowRequest, dt as UploadDocumentsOptions, dv as UploadProgressListener, dx as UsageBreakdown, dy as UserConnectorEntry, dz as UserDailyUsageResponse, dA as UserInfo, dB as WebSocketAuthError, dC as WeeklyHoursSpec, dD as WorkStatus, dE as WorkflowAuthMode, dF as WorkflowResponse, dG as WorkflowRunHistoryResponse, dH as WorkflowRunResponse, dI as WorkspaceConflict, dJ as WorkspaceContext, dK as WorkspaceOpenResponse, dL as WorkspaceResponse, dM as WsConnection, dN as account, dO as agentconfig, dP as agents, dQ as appendTranscriptionHints, dR as assistant, dS as authenticatedFetch, dT as bookPublicSlot, dU as buildCitationChunkData, dV as buildDocNameMap, dW as buildDocumentTools, dX as buildFactsContextTool, dY as buildRetrievalChunkTool, dZ as buildRetrievalFullContextTool, d_ as buildRetrievalTocTool, d$ as buildTurnRequest, e0 as calendar, e1 as calls, e2 as canTagHaveParent, e3 as cancelPublicBooking, e4 as capabilities, e5 as chats, e6 as composeConfiguration, e7 as composeTools, e8 as computeRunStats, e9 as connectErrorMessage, ea as connectWebSocket, eb as connectWithReconnect, ec as connectors, ed as contacts, ee as continuityPrompt, ef as conversations, eg as countCitations, eh as createAuthenticatedClient, ei as createDocumentWaiter, ej as createIndexAssigner, ek as databases, el as defaultKindForFormat, em as diagnoseSetup, en as doctags, eo as documentTools, ep as documents, eq as estimateDraftTokens, er as extractDocumentIdsFromMessages, es as extractFactIdsFromMessages, et as extractSubagentLanes, eu as facts, ev as files, ew as filterDocumentTags, ex as filterSkills, ey as findLeafForTaskMessage, ez as findMainSiblingLeaf, eA as findReplyTarget, eB as findSubagentRunId, eC as flattenTagTree, eD as formatAgentStepLabel, eE as formatFileSize, eF as formatGbp, eG as formatGbpPerMillionTokens, eH as formatItemLabel, eI as formatStreamSummary, eJ as formatTokens, eK as formatUserName, eL as formatWorkspaceChoices, eM as formatWsMessage, eN as generateEncryptedWorkspaceKey, eO as generateNewWorkspaceKey, eP as getAgentStepLabel, eQ as getAttachableRunId, eR as getChildTags, eS as getContextRemainingPercent, eT as getContextUsedPercent, eU as getContextUsedTokens, eV as getCurrentStep, eW as getEligibleParentTags, eX as getErrorCode, eY as getErrorMessage, eZ as getPublicBookingPage, e_ as getRawWorkspaceKey, e$ as getRunToAttach, f0 as getRunToCancel, f1 as getStepDisplay, f2 as getStepTool, f3 as getSubagentBranchRecord, f4 as getTagDescendantIds, f5 as health, f6 as houseTemplates, f7 as hydrateAgentSteps, f9 as identityErrorCode, f8 as identityVerification, fa as instructions, fb as isAnnotationTag, fc as isConnectorVendorVisible, fd as isDriveSyncVendor, fe as isEntityTag, ff as isFlatKind, fg as isLabelTag, fh as isMailboxSyncVendor, fi as isNearAiUsageBudget, fj as isPresenceTag, fk as isSharePointVendor, fl as isSharedSkill, fm as isTraceItem, fn as mail, fo as mcpTools, fp as mergeAgentSteps, fq as modelConnections, fr as notifications, fs as parseSSEEvents, ft as parseSlashCommand, fu as parseSlashTokenInProgress, fv as parseStructuredResponse, fw as performPasswordLogin, fx as performSigningKeyLogin, fy as performSsoDeviceFlowLogin, fz as pickMainThread, fA as profile, fB as progressFetch, fC as projects, fD as quotaExceededFrom, fE as quotaFromStreamError, fF as reduceOutputItem, fG as refusalReason, fH as requireData, fI as requireOk, fJ as resolveAuth, fK as resolveCitations, fL as resolveSummary, fM as resolveWorkspace, fN as responses, fO as searchChunks, fP as secureMail, fQ as selectFullContextDocument, fR as selectWorkspace, fS as selectWorkspaceById, fT as sessions, fU as settings, fV as signatureRequests, fW as sliceToSubagentThread, fX as streamSSE, fY as stripCitationMarkdown, fZ as subagentJobLabel, f_ as summarizeCitations, f$ as support, g0 as tagUseCount, g1 as tags, g2 as tagsForScope, g3 as tagsOfGroup, g4 as topLevelAgentSteps, g5 as uploadSkill, g6 as usdToGbp, g7 as work, g8 as workflowSteps, g9 as workflows, ga as workspaceAssistant, gb as workspaceConflictOf, gc as workspaces, gd as wouldCreateTagCycle } from './browser-Do_-BxvU.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
@@ -5311,7 +5311,7 @@ __export(workspaces_exports, {
5311
5311
  var WORKSPACE_ROLE_LABELS = {
5312
5312
  owner: "Owner",
5313
5313
  collaborator: "Collaborator",
5314
- guest: "Read only"
5314
+ guest: "Viewer"
5315
5315
  };
5316
5316
  function workspaceRoleLabel(role) {
5317
5317
  return WORKSPACE_ROLE_LABELS[role] ?? role.charAt(0).toUpperCase() + role.slice(1);
@@ -5319,7 +5319,7 @@ function workspaceRoleLabel(role) {
5319
5319
  function parseWorkspaceRole(input) {
5320
5320
  const value = input.trim().toLowerCase();
5321
5321
  if (value === "owner" || value === "collaborator" || value === "guest") return value;
5322
- return /^read[-_ ]?only$/.test(value) ? "guest" : null;
5322
+ return value === "viewer" || /^read[-_ ]?only$/.test(value) ? "guest" : null;
5323
5323
  }
5324
5324
  async function listWorkspaces(arbi) {
5325
5325
  return requireData(await arbi.fetch.GET("/v1/user/workspaces"), "Failed to fetch workspaces");
@@ -9413,6 +9413,7 @@ __export(projects_exports, {
9413
9413
  billingPortal: () => billingPortal,
9414
9414
  cancelSubscription: () => cancelSubscription,
9415
9415
  changePlan: () => changePlan,
9416
+ confirmSpendLimits: () => confirmSpendLimits,
9416
9417
  createCheckout: () => createCheckout,
9417
9418
  createProject: () => createProject,
9418
9419
  deleteProject: () => deleteProject,
@@ -9645,6 +9646,15 @@ async function cancelSubscription(arbi, projectExtId) {
9645
9646
  "Failed to cancel the subscription"
9646
9647
  );
9647
9648
  }
9649
+ async function confirmSpendLimits(arbi, projectExtId, body) {
9650
+ return requireData(
9651
+ await arbi.fetch.POST("/v1/user/projects/{project_ext_id}/spend-limits/confirm", {
9652
+ params: { path: { project_ext_id: projectExtId } },
9653
+ body
9654
+ }),
9655
+ "Failed to confirm spending limits"
9656
+ );
9657
+ }
9648
9658
  var encoder = new TextEncoder();
9649
9659
  var decoder = new TextDecoder();
9650
9660
  var seal = (json2, keypair) => sealedBoxEncrypt(Uint8Array.from(encoder.encode(json2)), keypair.publicKey);
@@ -11635,7 +11645,7 @@ var CODE_TEXT = {
11635
11645
  host_only: "Only the host can do that.",
11636
11646
  // transcription
11637
11647
  transcription_off: "Transcription is off.",
11638
- speaker_mismatch: "Only the speaker can store this line (or another member, when the speaker is read only).",
11648
+ speaker_mismatch: "Only the speaker can store this line (or another member, when the speaker is a viewer).",
11639
11649
  // recording
11640
11650
  storage_quota_exceeded: "The storage quota is full: recording stopped.",
11641
11651
  already_recording: "The call is already being recorded.",
@@ -12748,6 +12758,7 @@ var Arbi = class {
12748
12758
  events: (projectExtId, options) => listProjectEvents(this.requireClient(), projectExtId, options),
12749
12759
  /** The project's spend by conversation in a billing period (£). */
12750
12760
  usageByConversation: (projectExtId, monthsBack) => getProjectConversationUsage(this.requireClient(), projectExtId, monthsBack),
12761
+ confirmSpendLimits: (projectExtId, body) => confirmSpendLimits(this.requireClient(), projectExtId, body),
12751
12762
  refresh: (projectExtId) => refreshProject(this.requireClient(), projectExtId),
12752
12763
  /** AI usage + spend breakdown for a project's billing period. */
12753
12764
  usage: (projectExtId, monthsBack) => getProjectUsage(this.requireClient(), projectExtId, monthsBack),
@@ -12996,7 +13007,7 @@ var Arbi = class {
12996
13007
  activity: (workspaceId, options) => getWorkspaceActivity(this.requireClient(), workspaceId, options),
12997
13008
  /**
12998
13009
  * Add users to the open workspace; `confirmInvite` also invites emails not on ARBI yet. `role`
12999
- * defaults to `collaborator`; `guest` makes a read-only member (shown as "Read only").
13010
+ * defaults to `collaborator`; `guest` makes a read-only member (shown as "Viewer").
13000
13011
  */
13001
13012
  addUsers: (emails, role, options) => addWorkspaceUsers(
13002
13013
  this.requireClient(),
@@ -13040,7 +13051,7 @@ var Arbi = class {
13040
13051
  userIds,
13041
13052
  await this.targetWorkspace(options?.workspaceId)
13042
13053
  ),
13043
- /** Change members' role; `guest` is read-only (shown as "Read only"). */
13054
+ /** Change members' role; `guest` is read-only (shown as "Viewer"). */
13044
13055
  setUserRole: (userIds, role) => setUserRole(this.requireClient(), userIds, role),
13045
13056
  /**
13046
13057
  * Ask another user to grant you workspace access. Builds the E2E-encrypted