@arbidocs/sdk 0.5.161 → 0.5.163

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 { aa as ConfigStore, a7 as CliConfig, a8 as CliCredentials, a4 as ChatSession, cQ as SkippedFile, dM as UploadResult, y as AuthHeaders, dG as UploadBatchResult, dK as UploadOptions, dH as UploadDirectOptions, dI as UploadDirectResult, cE as SUPPORTED_EXTENSIONS, bs as MailAttachment, Y as ChatCryptoContext } from './browser-BXa1IBjn.cjs';
2
- export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as AgendaBlockConfig, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorOptions, i as ArbiHostSession, j as ArbiOptions, k as ArbiSessionExpiredError, l as ArbiStructuredOutputError, m as ArbiTransportError, n as ArbiWorkspaceChangedError, o as ArbiWorkspaceSupersededError, p as ArbiWorkspaceUnavailableError, q as AskHandlers, r as AskRequest, s as AssistantArrival, t as AssistantBrief, u as AssistantBriefInput, w as AttendeeRead, x as AuthContext, z as AuthMode, B as AuthenticatedClient, C as BookingConfirmation, D as BookingPage, E as BookingPageWriteBody, F as BookingRequestBody, G as BridgeTokensOptions, H as CalDavConnectBody, I as CalDavProfile, J as CalendarAccount, K as CalendarAccountKind, L as CalendarCreateBody, M as CalendarEvent, N as CalendarKeys, O as CalendarRead, P as CalendarSettings, Q as CalendarSettingsBody, R as CalendarUpdate, S as CalendarWindow, T as CallApiError, U as Capabilities, V as CarouselBlockConfig, W as ChatAttachmentFile, X as ChatAttachmentInput, Z as ChatKeyRing, _ as ChatKind, $ as ChatMemberKey, a0 as ChatMemberResponse, a1 as ChatMessage, a2 as ChatMessageResponse, a3 as ChatResponse, a5 as CitationSummary, a6 as CitationToolSources, a9 as CommandDescriptor, ab as Configuration, ac as ConfigurationPatch, ad as ConnectOptions, ae as ConnectionModel, af as ConnectorCatalogEntry, ag as ConnectorFolder, ah as ConnectorSyncProgress, ai as ConnectorSyncStatus, aj as ConnectorVendorKey, ak as ConnectorVisibilitySettings, al as ContextUsage, am as ConversationResponse, an as ConversationUsageResponse, aq as CreateWorkRequest, ar as CreateWorkflowRequest, as as DEFAULT_AI_USD_PER_GBP, at as DOCUMENTS_VIEW_TARGET, au as DOC_TERMINAL_STATUSES, av as DRIVE_SYNC_VENDORS, aw as Database, ax as DatabaseAggregateRequest, ay as DatabaseAggregateResult, az as DatabaseColumn, aA as DatabaseColumnWrite, aB as DatabaseImportResult, aC as DatabaseRow, aD as DatabaseRowPage, aE as DatabaseRowsQuery, aF as DateTimeSpec, aG as DecryptedChat, aH as DecryptedChatMessage, aI as DeploymentHouseTemplate, aJ as DiagnoseOptions, aK as DirectModelUsage, aL as DocInfo, aM as DocInfoMap, aN as DocNameMap, aO as DocumentAutomationAction, aP as DocumentListFields, aQ as DocumentListOrder, aR as DocumentSelector, aS as DocumentWaiter, aT as DocumentWaiterOptions, aU as DriveSyncProgress, aV as DriveSyncSummary, aW as DuplicateContactError, aX as ENTITY_KINDS, aY as EditScope, aZ as EntityKind, a_ as EventCreateBody, a$ as EventPatchBody, b0 as FLAT_TAG_KINDS, b4 as FindTimeParams, b5 as FormattedWsMessage, b6 as FreeBusyEntry, b7 as FullContextSelection, b8 as GOOGLE_VENDORS, b9 as HolidayCountry, ba as HouseTemplateCandidate, bb as IMANAGE_VENDORS, bc as IdentityErrorCode, bd as IdentityPurchase, be as IdentityState, bf as IdentityStatus, bg as ImportResult, bh as InvitationRead, bi as JsonSchemaOutputFormat, bj as LinkedRun, bk as ListAllOptions, bl as ListBlockConfig, bm as ListEventsParams, bo as ListPaginatedOptions, bp as MAILBOX_SYNC_VENDORS, bq as MAX_RETRIEVE_DOC_IDS, br as MICROSOFT_VENDORS, bt as MessageLevel, bu as ModelConnection, bv as OAuthAccountKind, bw as OutputItemDone, bx as OverlayItem, by as OverlayLayerName, bz as PRESENCE_KINDS, bA as PROMPT_CONTEXT_CHARS, bB as Page, bC as PagePrivateContentError, bD as PageRecord, bE as PageSpecWire, bF as PageViewRef, bG as ParsedResponse, bH as ParsedSlashCommand, bI as ParsedStructuredResponse, bJ as PendingAuthResponse, bK as PersonKey, bL as PersonalConnectionInput, bM as PlanStepsError, bN as PlanWorkRequest, bO as ProductResponse, bP as ProjectAddonKind, bQ as ProjectAddonSettingsRequest, bR as ProjectBudget, bS as ProjectCheckoutRequest, bT as ProjectConversationUsageResponse, bU as ProjectCreateOptions, bV as ProjectDetails, bW as ProjectEventKind, bX as ProjectEventResponse, bY as ProjectInvoicesResponse, bZ as ProjectNextPeriodAddonsRequest, b_ as ProjectPlanChangeRequest, b$ as ProjectQuoteRequest, c0 as ProjectResponse, c1 as ProjectUpdateRequest, c2 as ProjectUsageResponse, c3 as ProjectsUsageResponse, c4 as PublicBookingError, c5 as PublicBookingPage, c6 as QuotaExceeded, c7 as RaisedSignal, c8 as RawResponseEvent, c9 as ReconnectOptions, ca as ReconnectableWsConnection, cb as ResolvedCitation, cc as ResolvedRecipient, cd as RespondParams, ce as RespondPartstat, cf as Response, cg as ResponseCreateRequest, ch as ResponseCreateResult, ci as ResponseHandle, cj as ResponseSnapshot, ck as ResponseStart, cl as ResponseStartOptions, cm as ResponseStream, cn as ResponseStreamEvent, co as ResponseTools, cp as RoomCreateBody, cq as RoomQuery, cr as RoomRead, cs as RunProgress, ct as RunStats, cu as RunStep, cv as RunWaitingOn, cw as SHAREPOINT_VENDORS, cx as SSEEvent, cy as SSEStreamCallbacks, cz as SSEStreamOutcome, cA as SSEStreamResult, cB as STEP_FIELD_OPTION_TONES, cC as STOP_ID_WAIT_MS, cD as STOP_REPEAT_WINDOW_MS, cF as ScopedTarget, cG as SearchChunk, cH as SecureMailCompose, cI as SecureMailSend, cJ as SecureMailSender, cK as SendBack, cL as SetupDiagnostic, cM as SetupReport, cN as ShareRead, cO as ShareRole, cP as SkillSummary, cR as SlackConnectionStatus, cS as StartBlockConfig, cT as StepActionRequest, cU as StepActivityEvent, cV as StepAssignee, cW as StepDisplay, cX as StepField, cY as StepFieldOption, cZ as StepFieldOptionTone, c_ as StepKind, c$ as StepPhase, d0 as StepSignal, d1 as StepSignalWhen, d2 as StepState, d3 as StepStatus, d4 as SubagentBranchRecord, d5 as SubagentLaneInfo, d6 as SubmitBackgroundQueryOptions, d7 as SubscribeParams, d8 as SupportRating, d9 as SupportTicket, da as SupportTicketInput, db as SyncTriggerResult, dc as TAG_KINDS, dd as TAG_NESTING_MAX_DEPTH, de as TableViewFilter, df as TableViewRecord, dg as TableViewRows, dh as TableViewSpec, di as TableViewTarget, dj as TagChange, dk as TagFieldDefinition, dl as TagGroup, dm as TagKind, dn as TagKindField, dp as TagKindSchema, dq as TagLinks, dr as TagListQuery, ds as TagNode, dt as TagResponse, du as TagScope, dv as TagTreeRow, dw as TaskPlan, dx as TaskPlanStep, dy as TaxQuoteResponse, dz as Thread, dA as ThreadsResponse, dB as TimeSuggestion, dC as TurnRequest, dD as UpdateConversationRequest, dF as UpdateWorkflowRequest, dJ as UploadDocumentsOptions, dL as UploadProgressListener, dN as UsageBreakdown, dO as UserConnectorEntry, dP as UserDailyUsageResponse, dQ as UserInfo, dR as WebSocketAuthError, dS as WeeklyHoursSpec, dT as WorkStatus, dU as WorkflowAuthMode, dV as WorkflowResponse, dW as WorkflowRunHistoryResponse, dX as WorkflowRunResponse, dY as WorkspaceAggregateQuery, dZ as WorkspaceAggregateResult, d_ as WorkspaceConflict, d$ as WorkspaceContext, e0 as WorkspaceOpenResponse, e1 as WorkspaceResponse, e2 as WsConnection, e3 as account, e4 as agentconfig, e5 as agents, e6 as appendTranscriptionHints, e7 as assistant, e8 as authenticatedFetch, e9 as bookPublicSlot, ea as buildCitationChunkData, eb as buildDocNameMap, ec as buildDocumentTools, ed as buildFactsContextTool, ee as buildRetrievalChunkTool, ef as buildRetrievalFullContextTool, eg as buildRetrievalTocTool, eh as buildTurnRequest, ei as calendar, ej as calls, ek as canTagHaveParent, el as cancelPublicBooking, em as capabilities, en as chats, eo as composeConfiguration, ep as composeTools, eq as computeRunStats, er as connectErrorMessage, es as connectWebSocket, et as connectWithReconnect, eu as connectors, ev as contacts, ew as continuityPrompt, ex as conversations, ey as countCitations, ez as createAuthenticatedClient, eA as createDocumentWaiter, eB as createIndexAssigner, eC as databases, eD as defaultKindForFormat, eE as diagnoseSetup, eF as doctags, eG as documentTools, eH as documents, eI as estimateDraftTokens, eJ as extractDocumentIdsFromMessages, eK as extractFactIdsFromMessages, eL as extractSubagentLanes, eM as facts, eN as files, eO as filterDocumentTags, eP as filterSkills, eQ as filterText, eR as findLeafForTaskMessage, eS as findMainSiblingLeaf, eT as findReplyTarget, eU as findSubagentRunId, eV as flattenTagTree, eW as formatAgentStepLabel, eX as formatFileSize, eY as formatGbp, eZ as formatGbpPerMillionTokens, e_ as formatItemLabel, e$ as formatStreamSummary, f0 as formatTokens, f1 as formatUserName, f2 as formatWorkspaceChoices, f3 as formatWsMessage, f4 as generateEncryptedWorkspaceKey, f5 as generateNewWorkspaceKey, f6 as getAgentStepLabel, f7 as getAttachableRunId, f8 as getChildTags, f9 as getContextRemainingPercent, fa as getContextUsedPercent, fb as getContextUsedTokens, fc as getCurrentStep, fd as getEligibleParentTags, fe as getErrorCode, ff as getErrorMessage, fg as getPublicBookingPage, fh as getRawWorkspaceKey, fi as getRunToAttach, fj as getRunToCancel, fk as getStepDisplay, fl as getStepTool, fm as getSubagentBranchRecord, fn as getTagDescendantIds, fo as health, fp as houseTemplates, fq as hydrateAgentSteps, fs as identityErrorCode, fr as identityVerification, ft as instructions, fu as isAnnotationTag, fv as isConnectorVendorVisible, fw as isDriveSyncVendor, fx as isEntityTag, fy as isFlatKind, fz as isLabelTag, fA as isMailboxSyncVendor, fB as isNearAiUsageBudget, fC as isPresenceTag, fD as isSharePointVendor, fE as isSharedSkill, fF as isTraceItem, fG as mail, fH as mcpTools, fI as mergeAgentSteps, fJ as modelConnections, fK as notifications, fL as pages, fM as parseSSEEvents, fN as parseSlashCommand, fO as parseSlashTokenInProgress, fP as parseStructuredResponse, fQ as performPasswordLogin, fR as performSigningKeyLogin, fS as performSsoDeviceFlowLogin, fT as pickMainThread, fU as profile, fV as progressFetch, fW as projects, fX as quotaExceededFrom, fY as quotaFromStreamError, fZ as reduceOutputItem, f_ as refusalReason, f$ as requireData, g0 as requireOk, g1 as resolveAuth, g2 as resolveCitations, g3 as resolveSummary, g4 as resolveWorkspace, g5 as responses, g6 as searchChunks, g7 as secureMail, g8 as selectFullContextDocument, g9 as selectWorkspace, ga as selectWorkspaceById, gb as sessions, gc as settings, gd as signatureRequests, ge as sliceToSubagentThread, gf as streamSSE, gg as stripCitationMarkdown, gh as subagentJobLabel, gi as summarizeCitations, gj as support, gk as tagUseCount, gl as tags, gm as tagsForScope, gn as tagsOfGroup, go as topLevelAgentSteps, gp as uploadSkill, gq as usdToGbp, gr as views, gs as work, gt as workflowSteps, gu as workflows, gv as workspaceAssistant, gw as workspaceConflictOf, gx as workspaces, gy as wouldCreateTagCycle } from './browser-BXa1IBjn.cjs';
1
+ import { aa as ConfigStore, a7 as CliConfig, a8 as CliCredentials, a4 as ChatSession, cQ as SkippedFile, dM as UploadResult, y as AuthHeaders, dG as UploadBatchResult, dK as UploadOptions, dH as UploadDirectOptions, dI as UploadDirectResult, cE as SUPPORTED_EXTENSIONS, bs as MailAttachment, Y as ChatCryptoContext } from './browser-D8qk7Dud.cjs';
2
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as AgendaBlockConfig, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorOptions, i as ArbiHostSession, j as ArbiOptions, k as ArbiSessionExpiredError, l as ArbiStructuredOutputError, m as ArbiTransportError, n as ArbiWorkspaceChangedError, o as ArbiWorkspaceSupersededError, p as ArbiWorkspaceUnavailableError, q as AskHandlers, r as AskRequest, s as AssistantArrival, t as AssistantBrief, u as AssistantBriefInput, w as AttendeeRead, x as AuthContext, z as AuthMode, B as AuthenticatedClient, C as BookingConfirmation, D as BookingPage, E as BookingPageWriteBody, F as BookingRequestBody, G as BridgeTokensOptions, H as CalDavConnectBody, I as CalDavProfile, J as CalendarAccount, K as CalendarAccountKind, L as CalendarCreateBody, M as CalendarEvent, N as CalendarKeys, O as CalendarRead, P as CalendarSettings, Q as CalendarSettingsBody, R as CalendarUpdate, S as CalendarWindow, T as CallApiError, U as Capabilities, V as CarouselBlockConfig, W as ChatAttachmentFile, X as ChatAttachmentInput, Z as ChatKeyRing, _ as ChatKind, $ as ChatMemberKey, a0 as ChatMemberResponse, a1 as ChatMessage, a2 as ChatMessageResponse, a3 as ChatResponse, a5 as CitationSummary, a6 as CitationToolSources, a9 as CommandDescriptor, ab as Configuration, ac as ConfigurationPatch, ad as ConnectOptions, ae as ConnectionModel, af as ConnectorCatalogEntry, ag as ConnectorFolder, ah as ConnectorSyncProgress, ai as ConnectorSyncStatus, aj as ConnectorVendorKey, ak as ConnectorVisibilitySettings, al as ContextUsage, am as ConversationResponse, an as ConversationUsageResponse, aq as CreateWorkRequest, ar as CreateWorkflowRequest, as as DEFAULT_AI_USD_PER_GBP, at as DOCUMENTS_VIEW_TARGET, au as DOC_TERMINAL_STATUSES, av as DRIVE_SYNC_VENDORS, aw as Database, ax as DatabaseAggregateRequest, ay as DatabaseAggregateResult, az as DatabaseColumn, aA as DatabaseColumnWrite, aB as DatabaseImportResult, aC as DatabaseRow, aD as DatabaseRowPage, aE as DatabaseRowsQuery, aF as DateTimeSpec, aG as DecryptedChat, aH as DecryptedChatMessage, aI as DeploymentHouseTemplate, aJ as DiagnoseOptions, aK as DirectModelUsage, aL as DocInfo, aM as DocInfoMap, aN as DocNameMap, aO as DocumentAutomationAction, aP as DocumentListFields, aQ as DocumentListOrder, aR as DocumentSelector, aS as DocumentWaiter, aT as DocumentWaiterOptions, aU as DriveSyncProgress, aV as DriveSyncSummary, aW as DuplicateContactError, aX as ENTITY_KINDS, aY as EditScope, aZ as EntityKind, a_ as EventCreateBody, a$ as EventPatchBody, b0 as FLAT_TAG_KINDS, b4 as FindTimeParams, b5 as FormattedWsMessage, b6 as FreeBusyEntry, b7 as FullContextSelection, b8 as GOOGLE_VENDORS, b9 as HolidayCountry, ba as HouseTemplateCandidate, bb as IMANAGE_VENDORS, bc as IdentityErrorCode, bd as IdentityPurchase, be as IdentityState, bf as IdentityStatus, bg as ImportResult, bh as InvitationRead, bi as JsonSchemaOutputFormat, bj as LinkedRun, bk as ListAllOptions, bl as ListBlockConfig, bm as ListEventsParams, bo as ListPaginatedOptions, bp as MAILBOX_SYNC_VENDORS, bq as MAX_RETRIEVE_DOC_IDS, br as MICROSOFT_VENDORS, bt as MessageLevel, bu as ModelConnection, bv as OAuthAccountKind, bw as OutputItemDone, bx as OverlayItem, by as OverlayLayerName, bz as PRESENCE_KINDS, bA as PROMPT_CONTEXT_CHARS, bB as Page, bC as PagePrivateContentError, bD as PageRecord, bE as PageSpecWire, bF as PageViewRef, bG as ParsedResponse, bH as ParsedSlashCommand, bI as ParsedStructuredResponse, bJ as PendingAuthResponse, bK as PersonKey, bL as PersonalConnectionInput, bM as PlanStepsError, bN as PlanWorkRequest, bO as ProductResponse, bP as ProjectAddonKind, bQ as ProjectAddonSettingsRequest, bR as ProjectBudget, bS as ProjectCheckoutRequest, bT as ProjectConversationUsageResponse, bU as ProjectCreateOptions, bV as ProjectDetails, bW as ProjectEventKind, bX as ProjectEventResponse, bY as ProjectInvoicesResponse, bZ as ProjectNextPeriodAddonsRequest, b_ as ProjectPlanChangeRequest, b$ as ProjectQuoteRequest, c0 as ProjectResponse, c1 as ProjectUpdateRequest, c2 as ProjectUsageResponse, c3 as ProjectsUsageResponse, c4 as PublicBookingError, c5 as PublicBookingPage, c6 as QuotaExceeded, c7 as RaisedSignal, c8 as RawResponseEvent, c9 as ReconnectOptions, ca as ReconnectableWsConnection, cb as ResolvedCitation, cc as ResolvedRecipient, cd as RespondParams, ce as RespondPartstat, cf as Response, cg as ResponseCreateRequest, ch as ResponseCreateResult, ci as ResponseHandle, cj as ResponseSnapshot, ck as ResponseStart, cl as ResponseStartOptions, cm as ResponseStream, cn as ResponseStreamEvent, co as ResponseTools, cp as RoomCreateBody, cq as RoomQuery, cr as RoomRead, cs as RunProgress, ct as RunStats, cu as RunStep, cv as RunWaitingOn, cw as SHAREPOINT_VENDORS, cx as SSEEvent, cy as SSEStreamCallbacks, cz as SSEStreamOutcome, cA as SSEStreamResult, cB as STEP_FIELD_OPTION_TONES, cC as STOP_ID_WAIT_MS, cD as STOP_REPEAT_WINDOW_MS, cF as ScopedTarget, cG as SearchChunk, cH as SecureMailCompose, cI as SecureMailSend, cJ as SecureMailSender, cK as SendBack, cL as SetupDiagnostic, cM as SetupReport, cN as ShareRead, cO as ShareRole, cP as SkillSummary, cR as SlackConnectionStatus, cS as StartBlockConfig, cT as StepActionRequest, cU as StepActivityEvent, cV as StepAssignee, cW as StepDisplay, cX as StepField, cY as StepFieldOption, cZ as StepFieldOptionTone, c_ as StepKind, c$ as StepPhase, d0 as StepSignal, d1 as StepSignalWhen, d2 as StepState, d3 as StepStatus, d4 as SubagentBranchRecord, d5 as SubagentLaneInfo, d6 as SubmitBackgroundQueryOptions, d7 as SubscribeParams, d8 as SupportRating, d9 as SupportTicket, da as SupportTicketInput, db as SyncTriggerResult, dc as TAG_KINDS, dd as TAG_NESTING_MAX_DEPTH, de as TableViewFilter, df as TableViewRecord, dg as TableViewRows, dh as TableViewSpec, di as TableViewTarget, dj as TagChange, dk as TagFieldDefinition, dl as TagGroup, dm as TagKind, dn as TagKindField, dp as TagKindSchema, dq as TagLinks, dr as TagListQuery, ds as TagNode, dt as TagResponse, du as TagScope, dv as TagTreeRow, dw as TaskPlan, dx as TaskPlanStep, dy as TaxQuoteResponse, dz as Thread, dA as ThreadsResponse, dB as TimeSuggestion, dC as TurnRequest, dD as UpdateConversationRequest, dF as UpdateWorkflowRequest, dJ as UploadDocumentsOptions, dL as UploadProgressListener, dN as UsageBreakdown, dO as UserConnectorEntry, dP as UserDailyUsageResponse, dQ as UserInfo, dR as WebSocketAuthError, dS as WeeklyHoursSpec, dT as WorkStatus, dU as WorkflowAuthMode, dV as WorkflowResponse, dW as WorkflowRunHistoryResponse, dX as WorkflowRunResponse, dY as WorkspaceAggregateQuery, dZ as WorkspaceAggregateResult, d_ as WorkspaceConflict, d$ as WorkspaceContext, e0 as WorkspaceOpenResponse, e1 as WorkspaceResponse, e2 as WsConnection, e3 as account, e4 as agentconfig, e5 as agents, e6 as appendTranscriptionHints, e7 as assistant, e8 as authenticatedFetch, e9 as bookPublicSlot, ea as buildCitationChunkData, eb as buildDocNameMap, ec as buildDocumentTools, ed as buildFactsContextTool, ee as buildRetrievalChunkTool, ef as buildRetrievalFullContextTool, eg as buildRetrievalTocTool, eh as buildTurnRequest, ei as calendar, ej as calls, ek as canTagHaveParent, el as cancelPublicBooking, em as capabilities, en as chats, eo as composeConfiguration, ep as composeTools, eq as computeRunStats, er as connectErrorMessage, es as connectWebSocket, et as connectWithReconnect, eu as connectors, ev as contacts, ew as continuityPrompt, ex as conversations, ey as countCitations, ez as createAuthenticatedClient, eA as createDocumentWaiter, eB as createIndexAssigner, eC as databases, eD as defaultKindForFormat, eE as diagnoseSetup, eF as doctags, eG as documentTools, eH as documents, eI as estimateDraftTokens, eJ as extractDocumentIdsFromMessages, eK as extractFactIdsFromMessages, eL as extractSubagentLanes, eM as facts, eN as files, eO as filterDocumentTags, eP as filterSkills, eQ as filterText, eR as findLeafForTaskMessage, eS as findMainSiblingLeaf, eT as findReplyTarget, eU as findSubagentRunId, eV as flattenTagTree, eW as formatAgentStepLabel, eX as formatFileSize, eY as formatGbp, eZ as formatGbpPerMillionTokens, e_ as formatItemLabel, e$ as formatStreamSummary, f0 as formatTokens, f1 as formatUserName, f2 as formatWorkspaceChoices, f3 as formatWsMessage, f4 as generateEncryptedWorkspaceKey, f5 as generateNewWorkspaceKey, f6 as getAgentStepLabel, f7 as getAttachableRunId, f8 as getChildTags, f9 as getContextRemainingPercent, fa as getContextUsedPercent, fb as getContextUsedTokens, fc as getCurrentStep, fd as getEligibleParentTags, fe as getErrorCode, ff as getErrorMessage, fg as getPublicBookingPage, fh as getRawWorkspaceKey, fi as getRunToAttach, fj as getRunToCancel, fk as getStepDisplay, fl as getStepTool, fm as getSubagentBranchRecord, fn as getTagDescendantIds, fo as health, fp as houseTemplates, fq as hydrateAgentSteps, fs as identityErrorCode, fr as identityVerification, ft as instructions, fu as isAnnotationTag, fv as isConnectorVendorVisible, fw as isDriveSyncVendor, fx as isEntityTag, fy as isFlatKind, fz as isLabelTag, fA as isMailboxSyncVendor, fB as isNearAiUsageBudget, fC as isPresenceTag, fD as isSharePointVendor, fE as isSharedSkill, fF as isTraceItem, fG as mail, fH as mcpTools, fI as mergeAgentSteps, fJ as modelConnections, fK as notifications, fL as pages, fM as parseSSEEvents, fN as parseSlashCommand, fO as parseSlashTokenInProgress, fP as parseStructuredResponse, fQ as performPasswordLogin, fR as performSigningKeyLogin, fS as performSsoDeviceFlowLogin, fT as pickMainThread, fU as profile, fV as progressFetch, fW as projects, fX as quotaExceededFrom, fY as quotaFromStreamError, fZ as reduceOutputItem, f_ as refusalReason, f$ as requireData, g0 as requireOk, g1 as resolveAuth, g2 as resolveCitations, g3 as resolveSummary, g4 as resolveWorkspace, g5 as responses, g6 as searchChunks, g7 as secureMail, g8 as selectFullContextDocument, g9 as selectWorkspace, ga as selectWorkspaceById, gb as sessions, gc as settings, gd as signatureRequests, ge as sliceToSubagentThread, gf as streamSSE, gg as stripCitationMarkdown, gh as subagentJobLabel, gi as summarizeCitations, gj as support, gk as tagUseCount, gl as tags, gm as tagsForScope, gn as tagsOfGroup, go as topLevelAgentSteps, gp as uploadSkill, gq as usdToGbp, gr as views, gs as work, gt as workflowSteps, gu as workflows, gv as workspaceAssistant, gw as workspaceConflictOf, gx as workspaces, gy as wouldCreateTagCycle } from './browser-D8qk7Dud.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 { aa as ConfigStore, a7 as CliConfig, a8 as CliCredentials, a4 as ChatSession, cQ as SkippedFile, dM as UploadResult, y as AuthHeaders, dG as UploadBatchResult, dK as UploadOptions, dH as UploadDirectOptions, dI as UploadDirectResult, cE as SUPPORTED_EXTENSIONS, bs as MailAttachment, Y as ChatCryptoContext } from './browser-gZNVGzgu.js';
2
- export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as AgendaBlockConfig, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorOptions, i as ArbiHostSession, j as ArbiOptions, k as ArbiSessionExpiredError, l as ArbiStructuredOutputError, m as ArbiTransportError, n as ArbiWorkspaceChangedError, o as ArbiWorkspaceSupersededError, p as ArbiWorkspaceUnavailableError, q as AskHandlers, r as AskRequest, s as AssistantArrival, t as AssistantBrief, u as AssistantBriefInput, w as AttendeeRead, x as AuthContext, z as AuthMode, B as AuthenticatedClient, C as BookingConfirmation, D as BookingPage, E as BookingPageWriteBody, F as BookingRequestBody, G as BridgeTokensOptions, H as CalDavConnectBody, I as CalDavProfile, J as CalendarAccount, K as CalendarAccountKind, L as CalendarCreateBody, M as CalendarEvent, N as CalendarKeys, O as CalendarRead, P as CalendarSettings, Q as CalendarSettingsBody, R as CalendarUpdate, S as CalendarWindow, T as CallApiError, U as Capabilities, V as CarouselBlockConfig, W as ChatAttachmentFile, X as ChatAttachmentInput, Z as ChatKeyRing, _ as ChatKind, $ as ChatMemberKey, a0 as ChatMemberResponse, a1 as ChatMessage, a2 as ChatMessageResponse, a3 as ChatResponse, a5 as CitationSummary, a6 as CitationToolSources, a9 as CommandDescriptor, ab as Configuration, ac as ConfigurationPatch, ad as ConnectOptions, ae as ConnectionModel, af as ConnectorCatalogEntry, ag as ConnectorFolder, ah as ConnectorSyncProgress, ai as ConnectorSyncStatus, aj as ConnectorVendorKey, ak as ConnectorVisibilitySettings, al as ContextUsage, am as ConversationResponse, an as ConversationUsageResponse, aq as CreateWorkRequest, ar as CreateWorkflowRequest, as as DEFAULT_AI_USD_PER_GBP, at as DOCUMENTS_VIEW_TARGET, au as DOC_TERMINAL_STATUSES, av as DRIVE_SYNC_VENDORS, aw as Database, ax as DatabaseAggregateRequest, ay as DatabaseAggregateResult, az as DatabaseColumn, aA as DatabaseColumnWrite, aB as DatabaseImportResult, aC as DatabaseRow, aD as DatabaseRowPage, aE as DatabaseRowsQuery, aF as DateTimeSpec, aG as DecryptedChat, aH as DecryptedChatMessage, aI as DeploymentHouseTemplate, aJ as DiagnoseOptions, aK as DirectModelUsage, aL as DocInfo, aM as DocInfoMap, aN as DocNameMap, aO as DocumentAutomationAction, aP as DocumentListFields, aQ as DocumentListOrder, aR as DocumentSelector, aS as DocumentWaiter, aT as DocumentWaiterOptions, aU as DriveSyncProgress, aV as DriveSyncSummary, aW as DuplicateContactError, aX as ENTITY_KINDS, aY as EditScope, aZ as EntityKind, a_ as EventCreateBody, a$ as EventPatchBody, b0 as FLAT_TAG_KINDS, b4 as FindTimeParams, b5 as FormattedWsMessage, b6 as FreeBusyEntry, b7 as FullContextSelection, b8 as GOOGLE_VENDORS, b9 as HolidayCountry, ba as HouseTemplateCandidate, bb as IMANAGE_VENDORS, bc as IdentityErrorCode, bd as IdentityPurchase, be as IdentityState, bf as IdentityStatus, bg as ImportResult, bh as InvitationRead, bi as JsonSchemaOutputFormat, bj as LinkedRun, bk as ListAllOptions, bl as ListBlockConfig, bm as ListEventsParams, bo as ListPaginatedOptions, bp as MAILBOX_SYNC_VENDORS, bq as MAX_RETRIEVE_DOC_IDS, br as MICROSOFT_VENDORS, bt as MessageLevel, bu as ModelConnection, bv as OAuthAccountKind, bw as OutputItemDone, bx as OverlayItem, by as OverlayLayerName, bz as PRESENCE_KINDS, bA as PROMPT_CONTEXT_CHARS, bB as Page, bC as PagePrivateContentError, bD as PageRecord, bE as PageSpecWire, bF as PageViewRef, bG as ParsedResponse, bH as ParsedSlashCommand, bI as ParsedStructuredResponse, bJ as PendingAuthResponse, bK as PersonKey, bL as PersonalConnectionInput, bM as PlanStepsError, bN as PlanWorkRequest, bO as ProductResponse, bP as ProjectAddonKind, bQ as ProjectAddonSettingsRequest, bR as ProjectBudget, bS as ProjectCheckoutRequest, bT as ProjectConversationUsageResponse, bU as ProjectCreateOptions, bV as ProjectDetails, bW as ProjectEventKind, bX as ProjectEventResponse, bY as ProjectInvoicesResponse, bZ as ProjectNextPeriodAddonsRequest, b_ as ProjectPlanChangeRequest, b$ as ProjectQuoteRequest, c0 as ProjectResponse, c1 as ProjectUpdateRequest, c2 as ProjectUsageResponse, c3 as ProjectsUsageResponse, c4 as PublicBookingError, c5 as PublicBookingPage, c6 as QuotaExceeded, c7 as RaisedSignal, c8 as RawResponseEvent, c9 as ReconnectOptions, ca as ReconnectableWsConnection, cb as ResolvedCitation, cc as ResolvedRecipient, cd as RespondParams, ce as RespondPartstat, cf as Response, cg as ResponseCreateRequest, ch as ResponseCreateResult, ci as ResponseHandle, cj as ResponseSnapshot, ck as ResponseStart, cl as ResponseStartOptions, cm as ResponseStream, cn as ResponseStreamEvent, co as ResponseTools, cp as RoomCreateBody, cq as RoomQuery, cr as RoomRead, cs as RunProgress, ct as RunStats, cu as RunStep, cv as RunWaitingOn, cw as SHAREPOINT_VENDORS, cx as SSEEvent, cy as SSEStreamCallbacks, cz as SSEStreamOutcome, cA as SSEStreamResult, cB as STEP_FIELD_OPTION_TONES, cC as STOP_ID_WAIT_MS, cD as STOP_REPEAT_WINDOW_MS, cF as ScopedTarget, cG as SearchChunk, cH as SecureMailCompose, cI as SecureMailSend, cJ as SecureMailSender, cK as SendBack, cL as SetupDiagnostic, cM as SetupReport, cN as ShareRead, cO as ShareRole, cP as SkillSummary, cR as SlackConnectionStatus, cS as StartBlockConfig, cT as StepActionRequest, cU as StepActivityEvent, cV as StepAssignee, cW as StepDisplay, cX as StepField, cY as StepFieldOption, cZ as StepFieldOptionTone, c_ as StepKind, c$ as StepPhase, d0 as StepSignal, d1 as StepSignalWhen, d2 as StepState, d3 as StepStatus, d4 as SubagentBranchRecord, d5 as SubagentLaneInfo, d6 as SubmitBackgroundQueryOptions, d7 as SubscribeParams, d8 as SupportRating, d9 as SupportTicket, da as SupportTicketInput, db as SyncTriggerResult, dc as TAG_KINDS, dd as TAG_NESTING_MAX_DEPTH, de as TableViewFilter, df as TableViewRecord, dg as TableViewRows, dh as TableViewSpec, di as TableViewTarget, dj as TagChange, dk as TagFieldDefinition, dl as TagGroup, dm as TagKind, dn as TagKindField, dp as TagKindSchema, dq as TagLinks, dr as TagListQuery, ds as TagNode, dt as TagResponse, du as TagScope, dv as TagTreeRow, dw as TaskPlan, dx as TaskPlanStep, dy as TaxQuoteResponse, dz as Thread, dA as ThreadsResponse, dB as TimeSuggestion, dC as TurnRequest, dD as UpdateConversationRequest, dF as UpdateWorkflowRequest, dJ as UploadDocumentsOptions, dL as UploadProgressListener, dN as UsageBreakdown, dO as UserConnectorEntry, dP as UserDailyUsageResponse, dQ as UserInfo, dR as WebSocketAuthError, dS as WeeklyHoursSpec, dT as WorkStatus, dU as WorkflowAuthMode, dV as WorkflowResponse, dW as WorkflowRunHistoryResponse, dX as WorkflowRunResponse, dY as WorkspaceAggregateQuery, dZ as WorkspaceAggregateResult, d_ as WorkspaceConflict, d$ as WorkspaceContext, e0 as WorkspaceOpenResponse, e1 as WorkspaceResponse, e2 as WsConnection, e3 as account, e4 as agentconfig, e5 as agents, e6 as appendTranscriptionHints, e7 as assistant, e8 as authenticatedFetch, e9 as bookPublicSlot, ea as buildCitationChunkData, eb as buildDocNameMap, ec as buildDocumentTools, ed as buildFactsContextTool, ee as buildRetrievalChunkTool, ef as buildRetrievalFullContextTool, eg as buildRetrievalTocTool, eh as buildTurnRequest, ei as calendar, ej as calls, ek as canTagHaveParent, el as cancelPublicBooking, em as capabilities, en as chats, eo as composeConfiguration, ep as composeTools, eq as computeRunStats, er as connectErrorMessage, es as connectWebSocket, et as connectWithReconnect, eu as connectors, ev as contacts, ew as continuityPrompt, ex as conversations, ey as countCitations, ez as createAuthenticatedClient, eA as createDocumentWaiter, eB as createIndexAssigner, eC as databases, eD as defaultKindForFormat, eE as diagnoseSetup, eF as doctags, eG as documentTools, eH as documents, eI as estimateDraftTokens, eJ as extractDocumentIdsFromMessages, eK as extractFactIdsFromMessages, eL as extractSubagentLanes, eM as facts, eN as files, eO as filterDocumentTags, eP as filterSkills, eQ as filterText, eR as findLeafForTaskMessage, eS as findMainSiblingLeaf, eT as findReplyTarget, eU as findSubagentRunId, eV as flattenTagTree, eW as formatAgentStepLabel, eX as formatFileSize, eY as formatGbp, eZ as formatGbpPerMillionTokens, e_ as formatItemLabel, e$ as formatStreamSummary, f0 as formatTokens, f1 as formatUserName, f2 as formatWorkspaceChoices, f3 as formatWsMessage, f4 as generateEncryptedWorkspaceKey, f5 as generateNewWorkspaceKey, f6 as getAgentStepLabel, f7 as getAttachableRunId, f8 as getChildTags, f9 as getContextRemainingPercent, fa as getContextUsedPercent, fb as getContextUsedTokens, fc as getCurrentStep, fd as getEligibleParentTags, fe as getErrorCode, ff as getErrorMessage, fg as getPublicBookingPage, fh as getRawWorkspaceKey, fi as getRunToAttach, fj as getRunToCancel, fk as getStepDisplay, fl as getStepTool, fm as getSubagentBranchRecord, fn as getTagDescendantIds, fo as health, fp as houseTemplates, fq as hydrateAgentSteps, fs as identityErrorCode, fr as identityVerification, ft as instructions, fu as isAnnotationTag, fv as isConnectorVendorVisible, fw as isDriveSyncVendor, fx as isEntityTag, fy as isFlatKind, fz as isLabelTag, fA as isMailboxSyncVendor, fB as isNearAiUsageBudget, fC as isPresenceTag, fD as isSharePointVendor, fE as isSharedSkill, fF as isTraceItem, fG as mail, fH as mcpTools, fI as mergeAgentSteps, fJ as modelConnections, fK as notifications, fL as pages, fM as parseSSEEvents, fN as parseSlashCommand, fO as parseSlashTokenInProgress, fP as parseStructuredResponse, fQ as performPasswordLogin, fR as performSigningKeyLogin, fS as performSsoDeviceFlowLogin, fT as pickMainThread, fU as profile, fV as progressFetch, fW as projects, fX as quotaExceededFrom, fY as quotaFromStreamError, fZ as reduceOutputItem, f_ as refusalReason, f$ as requireData, g0 as requireOk, g1 as resolveAuth, g2 as resolveCitations, g3 as resolveSummary, g4 as resolveWorkspace, g5 as responses, g6 as searchChunks, g7 as secureMail, g8 as selectFullContextDocument, g9 as selectWorkspace, ga as selectWorkspaceById, gb as sessions, gc as settings, gd as signatureRequests, ge as sliceToSubagentThread, gf as streamSSE, gg as stripCitationMarkdown, gh as subagentJobLabel, gi as summarizeCitations, gj as support, gk as tagUseCount, gl as tags, gm as tagsForScope, gn as tagsOfGroup, go as topLevelAgentSteps, gp as uploadSkill, gq as usdToGbp, gr as views, gs as work, gt as workflowSteps, gu as workflows, gv as workspaceAssistant, gw as workspaceConflictOf, gx as workspaces, gy as wouldCreateTagCycle } from './browser-gZNVGzgu.js';
1
+ import { aa as ConfigStore, a7 as CliConfig, a8 as CliCredentials, a4 as ChatSession, cQ as SkippedFile, dM as UploadResult, y as AuthHeaders, dG as UploadBatchResult, dK as UploadOptions, dH as UploadDirectOptions, dI as UploadDirectResult, cE as SUPPORTED_EXTENSIONS, bs as MailAttachment, Y as ChatCryptoContext } from './browser-BfISdiFI.js';
2
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as AgendaBlockConfig, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorOptions, i as ArbiHostSession, j as ArbiOptions, k as ArbiSessionExpiredError, l as ArbiStructuredOutputError, m as ArbiTransportError, n as ArbiWorkspaceChangedError, o as ArbiWorkspaceSupersededError, p as ArbiWorkspaceUnavailableError, q as AskHandlers, r as AskRequest, s as AssistantArrival, t as AssistantBrief, u as AssistantBriefInput, w as AttendeeRead, x as AuthContext, z as AuthMode, B as AuthenticatedClient, C as BookingConfirmation, D as BookingPage, E as BookingPageWriteBody, F as BookingRequestBody, G as BridgeTokensOptions, H as CalDavConnectBody, I as CalDavProfile, J as CalendarAccount, K as CalendarAccountKind, L as CalendarCreateBody, M as CalendarEvent, N as CalendarKeys, O as CalendarRead, P as CalendarSettings, Q as CalendarSettingsBody, R as CalendarUpdate, S as CalendarWindow, T as CallApiError, U as Capabilities, V as CarouselBlockConfig, W as ChatAttachmentFile, X as ChatAttachmentInput, Z as ChatKeyRing, _ as ChatKind, $ as ChatMemberKey, a0 as ChatMemberResponse, a1 as ChatMessage, a2 as ChatMessageResponse, a3 as ChatResponse, a5 as CitationSummary, a6 as CitationToolSources, a9 as CommandDescriptor, ab as Configuration, ac as ConfigurationPatch, ad as ConnectOptions, ae as ConnectionModel, af as ConnectorCatalogEntry, ag as ConnectorFolder, ah as ConnectorSyncProgress, ai as ConnectorSyncStatus, aj as ConnectorVendorKey, ak as ConnectorVisibilitySettings, al as ContextUsage, am as ConversationResponse, an as ConversationUsageResponse, aq as CreateWorkRequest, ar as CreateWorkflowRequest, as as DEFAULT_AI_USD_PER_GBP, at as DOCUMENTS_VIEW_TARGET, au as DOC_TERMINAL_STATUSES, av as DRIVE_SYNC_VENDORS, aw as Database, ax as DatabaseAggregateRequest, ay as DatabaseAggregateResult, az as DatabaseColumn, aA as DatabaseColumnWrite, aB as DatabaseImportResult, aC as DatabaseRow, aD as DatabaseRowPage, aE as DatabaseRowsQuery, aF as DateTimeSpec, aG as DecryptedChat, aH as DecryptedChatMessage, aI as DeploymentHouseTemplate, aJ as DiagnoseOptions, aK as DirectModelUsage, aL as DocInfo, aM as DocInfoMap, aN as DocNameMap, aO as DocumentAutomationAction, aP as DocumentListFields, aQ as DocumentListOrder, aR as DocumentSelector, aS as DocumentWaiter, aT as DocumentWaiterOptions, aU as DriveSyncProgress, aV as DriveSyncSummary, aW as DuplicateContactError, aX as ENTITY_KINDS, aY as EditScope, aZ as EntityKind, a_ as EventCreateBody, a$ as EventPatchBody, b0 as FLAT_TAG_KINDS, b4 as FindTimeParams, b5 as FormattedWsMessage, b6 as FreeBusyEntry, b7 as FullContextSelection, b8 as GOOGLE_VENDORS, b9 as HolidayCountry, ba as HouseTemplateCandidate, bb as IMANAGE_VENDORS, bc as IdentityErrorCode, bd as IdentityPurchase, be as IdentityState, bf as IdentityStatus, bg as ImportResult, bh as InvitationRead, bi as JsonSchemaOutputFormat, bj as LinkedRun, bk as ListAllOptions, bl as ListBlockConfig, bm as ListEventsParams, bo as ListPaginatedOptions, bp as MAILBOX_SYNC_VENDORS, bq as MAX_RETRIEVE_DOC_IDS, br as MICROSOFT_VENDORS, bt as MessageLevel, bu as ModelConnection, bv as OAuthAccountKind, bw as OutputItemDone, bx as OverlayItem, by as OverlayLayerName, bz as PRESENCE_KINDS, bA as PROMPT_CONTEXT_CHARS, bB as Page, bC as PagePrivateContentError, bD as PageRecord, bE as PageSpecWire, bF as PageViewRef, bG as ParsedResponse, bH as ParsedSlashCommand, bI as ParsedStructuredResponse, bJ as PendingAuthResponse, bK as PersonKey, bL as PersonalConnectionInput, bM as PlanStepsError, bN as PlanWorkRequest, bO as ProductResponse, bP as ProjectAddonKind, bQ as ProjectAddonSettingsRequest, bR as ProjectBudget, bS as ProjectCheckoutRequest, bT as ProjectConversationUsageResponse, bU as ProjectCreateOptions, bV as ProjectDetails, bW as ProjectEventKind, bX as ProjectEventResponse, bY as ProjectInvoicesResponse, bZ as ProjectNextPeriodAddonsRequest, b_ as ProjectPlanChangeRequest, b$ as ProjectQuoteRequest, c0 as ProjectResponse, c1 as ProjectUpdateRequest, c2 as ProjectUsageResponse, c3 as ProjectsUsageResponse, c4 as PublicBookingError, c5 as PublicBookingPage, c6 as QuotaExceeded, c7 as RaisedSignal, c8 as RawResponseEvent, c9 as ReconnectOptions, ca as ReconnectableWsConnection, cb as ResolvedCitation, cc as ResolvedRecipient, cd as RespondParams, ce as RespondPartstat, cf as Response, cg as ResponseCreateRequest, ch as ResponseCreateResult, ci as ResponseHandle, cj as ResponseSnapshot, ck as ResponseStart, cl as ResponseStartOptions, cm as ResponseStream, cn as ResponseStreamEvent, co as ResponseTools, cp as RoomCreateBody, cq as RoomQuery, cr as RoomRead, cs as RunProgress, ct as RunStats, cu as RunStep, cv as RunWaitingOn, cw as SHAREPOINT_VENDORS, cx as SSEEvent, cy as SSEStreamCallbacks, cz as SSEStreamOutcome, cA as SSEStreamResult, cB as STEP_FIELD_OPTION_TONES, cC as STOP_ID_WAIT_MS, cD as STOP_REPEAT_WINDOW_MS, cF as ScopedTarget, cG as SearchChunk, cH as SecureMailCompose, cI as SecureMailSend, cJ as SecureMailSender, cK as SendBack, cL as SetupDiagnostic, cM as SetupReport, cN as ShareRead, cO as ShareRole, cP as SkillSummary, cR as SlackConnectionStatus, cS as StartBlockConfig, cT as StepActionRequest, cU as StepActivityEvent, cV as StepAssignee, cW as StepDisplay, cX as StepField, cY as StepFieldOption, cZ as StepFieldOptionTone, c_ as StepKind, c$ as StepPhase, d0 as StepSignal, d1 as StepSignalWhen, d2 as StepState, d3 as StepStatus, d4 as SubagentBranchRecord, d5 as SubagentLaneInfo, d6 as SubmitBackgroundQueryOptions, d7 as SubscribeParams, d8 as SupportRating, d9 as SupportTicket, da as SupportTicketInput, db as SyncTriggerResult, dc as TAG_KINDS, dd as TAG_NESTING_MAX_DEPTH, de as TableViewFilter, df as TableViewRecord, dg as TableViewRows, dh as TableViewSpec, di as TableViewTarget, dj as TagChange, dk as TagFieldDefinition, dl as TagGroup, dm as TagKind, dn as TagKindField, dp as TagKindSchema, dq as TagLinks, dr as TagListQuery, ds as TagNode, dt as TagResponse, du as TagScope, dv as TagTreeRow, dw as TaskPlan, dx as TaskPlanStep, dy as TaxQuoteResponse, dz as Thread, dA as ThreadsResponse, dB as TimeSuggestion, dC as TurnRequest, dD as UpdateConversationRequest, dF as UpdateWorkflowRequest, dJ as UploadDocumentsOptions, dL as UploadProgressListener, dN as UsageBreakdown, dO as UserConnectorEntry, dP as UserDailyUsageResponse, dQ as UserInfo, dR as WebSocketAuthError, dS as WeeklyHoursSpec, dT as WorkStatus, dU as WorkflowAuthMode, dV as WorkflowResponse, dW as WorkflowRunHistoryResponse, dX as WorkflowRunResponse, dY as WorkspaceAggregateQuery, dZ as WorkspaceAggregateResult, d_ as WorkspaceConflict, d$ as WorkspaceContext, e0 as WorkspaceOpenResponse, e1 as WorkspaceResponse, e2 as WsConnection, e3 as account, e4 as agentconfig, e5 as agents, e6 as appendTranscriptionHints, e7 as assistant, e8 as authenticatedFetch, e9 as bookPublicSlot, ea as buildCitationChunkData, eb as buildDocNameMap, ec as buildDocumentTools, ed as buildFactsContextTool, ee as buildRetrievalChunkTool, ef as buildRetrievalFullContextTool, eg as buildRetrievalTocTool, eh as buildTurnRequest, ei as calendar, ej as calls, ek as canTagHaveParent, el as cancelPublicBooking, em as capabilities, en as chats, eo as composeConfiguration, ep as composeTools, eq as computeRunStats, er as connectErrorMessage, es as connectWebSocket, et as connectWithReconnect, eu as connectors, ev as contacts, ew as continuityPrompt, ex as conversations, ey as countCitations, ez as createAuthenticatedClient, eA as createDocumentWaiter, eB as createIndexAssigner, eC as databases, eD as defaultKindForFormat, eE as diagnoseSetup, eF as doctags, eG as documentTools, eH as documents, eI as estimateDraftTokens, eJ as extractDocumentIdsFromMessages, eK as extractFactIdsFromMessages, eL as extractSubagentLanes, eM as facts, eN as files, eO as filterDocumentTags, eP as filterSkills, eQ as filterText, eR as findLeafForTaskMessage, eS as findMainSiblingLeaf, eT as findReplyTarget, eU as findSubagentRunId, eV as flattenTagTree, eW as formatAgentStepLabel, eX as formatFileSize, eY as formatGbp, eZ as formatGbpPerMillionTokens, e_ as formatItemLabel, e$ as formatStreamSummary, f0 as formatTokens, f1 as formatUserName, f2 as formatWorkspaceChoices, f3 as formatWsMessage, f4 as generateEncryptedWorkspaceKey, f5 as generateNewWorkspaceKey, f6 as getAgentStepLabel, f7 as getAttachableRunId, f8 as getChildTags, f9 as getContextRemainingPercent, fa as getContextUsedPercent, fb as getContextUsedTokens, fc as getCurrentStep, fd as getEligibleParentTags, fe as getErrorCode, ff as getErrorMessage, fg as getPublicBookingPage, fh as getRawWorkspaceKey, fi as getRunToAttach, fj as getRunToCancel, fk as getStepDisplay, fl as getStepTool, fm as getSubagentBranchRecord, fn as getTagDescendantIds, fo as health, fp as houseTemplates, fq as hydrateAgentSteps, fs as identityErrorCode, fr as identityVerification, ft as instructions, fu as isAnnotationTag, fv as isConnectorVendorVisible, fw as isDriveSyncVendor, fx as isEntityTag, fy as isFlatKind, fz as isLabelTag, fA as isMailboxSyncVendor, fB as isNearAiUsageBudget, fC as isPresenceTag, fD as isSharePointVendor, fE as isSharedSkill, fF as isTraceItem, fG as mail, fH as mcpTools, fI as mergeAgentSteps, fJ as modelConnections, fK as notifications, fL as pages, fM as parseSSEEvents, fN as parseSlashCommand, fO as parseSlashTokenInProgress, fP as parseStructuredResponse, fQ as performPasswordLogin, fR as performSigningKeyLogin, fS as performSsoDeviceFlowLogin, fT as pickMainThread, fU as profile, fV as progressFetch, fW as projects, fX as quotaExceededFrom, fY as quotaFromStreamError, fZ as reduceOutputItem, f_ as refusalReason, f$ as requireData, g0 as requireOk, g1 as resolveAuth, g2 as resolveCitations, g3 as resolveSummary, g4 as resolveWorkspace, g5 as responses, g6 as searchChunks, g7 as secureMail, g8 as selectFullContextDocument, g9 as selectWorkspace, ga as selectWorkspaceById, gb as sessions, gc as settings, gd as signatureRequests, ge as sliceToSubagentThread, gf as streamSSE, gg as stripCitationMarkdown, gh as subagentJobLabel, gi as summarizeCitations, gj as support, gk as tagUseCount, gl as tags, gm as tagsForScope, gn as tagsOfGroup, go as topLevelAgentSteps, gp as uploadSkill, gq as usdToGbp, gr as views, gs as work, gt as workflowSteps, gu as workflows, gv as workspaceAssistant, gw as workspaceConflictOf, gx as workspaces, gy as wouldCreateTagCycle } from './browser-BfISdiFI.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
@@ -5596,7 +5596,8 @@ async function diagnoseSetup(options) {
5596
5596
  const add = (check, status, message, hint) => checks.push({ check, status, message, ...hint ? { hint } : {} });
5597
5597
  let base;
5598
5598
  try {
5599
- base = new URL(options.url);
5599
+ const browser = globalThis;
5600
+ base = new URL(options.url, browser.window?.location.origin);
5600
5601
  if (!["http:", "https:"].includes(base.protocol) || base.username || base.password || base.search || base.hash)
5601
5602
  throw new Error("Invalid API URL");
5602
5603
  } catch {
@@ -9317,6 +9318,24 @@ async function getFileContent(auth, fileId) {
9317
9318
  path: `/v1/files/${fileId}/content`
9318
9319
  });
9319
9320
  }
9321
+ async function delegateCallKey(client, call, key) {
9322
+ try {
9323
+ const agents = await listAgents(client);
9324
+ const keys = {};
9325
+ for (const agent of agents) {
9326
+ if (agent.external_id?.startsWith("agt-") && agent.encryption_public_key)
9327
+ keys[agent.external_id] = await sealCallKey(key, agent.encryption_public_key);
9328
+ }
9329
+ if (!Object.keys(keys).length) return true;
9330
+ const result = await client.fetch.POST("/v1/calls/{call_ext_id}/delegate-keys", {
9331
+ params: { path: { call_ext_id: call.external_id } },
9332
+ body: { keys, link_version: call.link_version }
9333
+ });
9334
+ return result.response.ok;
9335
+ } catch {
9336
+ return false;
9337
+ }
9338
+ }
9320
9339
 
9321
9340
  // src/operations/sessions.ts
9322
9341
  var sessions_exports = {};
@@ -11794,6 +11813,7 @@ __export(calls_exports, {
11794
11813
  knockCall: () => knockCall,
11795
11814
  listCallInviteLinks: () => listCallInviteLinks,
11796
11815
  listCallRecordings: () => listCallRecordings,
11816
+ listCalls: () => listCalls,
11797
11817
  listQuestions: () => listQuestions,
11798
11818
  muteCallParticipant: () => muteCallParticipant,
11799
11819
  pollKnock: () => pollKnock,
@@ -12033,6 +12053,9 @@ var trackPath = (callExtId, recordingExtId, trackExtId) => ({
12033
12053
  function getCallsConfig(arbi) {
12034
12054
  return unwrapCall(arbi.fetch.GET("/v1/calls/config"), "Could not read the calls config");
12035
12055
  }
12056
+ function listCalls(arbi, query2 = {}) {
12057
+ return unwrapCall(arbi.fetch.GET("/v1/calls", { params: { query: query2 } }), "Could not list calls");
12058
+ }
12036
12059
  function createCall(arbi, body) {
12037
12060
  return unwrapCall(arbi.fetch.POST("/v1/calls", { body }), "Could not create the call");
12038
12061
  }
@@ -14345,12 +14368,14 @@ var Arbi = class {
14345
14368
  /**
14346
14369
  * Calls (LiveKit): one call system for thread, chat (DM / group), contacts and scheduled calls.
14347
14370
  * Each call has one random key K made in the creator's process; the server and the media server
14348
- * only ever hold it sealed to people (or in a link's fragment). `start`, `open`, `answer` and
14371
+ * hold it sealed to people (or in a link's fragment); personal agents may receive an explicit
14372
+ * sealed management grant. `start`, `open`, `answer` and
14349
14373
  * `resetLink` do the key work and hand back K with the call; everything else moves ciphertext.
14350
14374
  */
14351
14375
  calls = {
14352
14376
  /** The deployment's calls config (`enabled`, `transcription_available`, …). */
14353
14377
  config: () => getCallsConfig(this.requireClient()),
14378
+ list: (query2) => listCalls(this.requireClient(), query2),
14354
14379
  get: (callExtId) => getCall(this.requireClient(), callExtId),
14355
14380
  /** Create a call row as is (a scheduled call's ciphertext made by the caller). */
14356
14381
  create: (body) => createCall(this.requireClient(), body),
@@ -14389,6 +14414,7 @@ var Arbi = class {
14389
14414
  const key = reused ? await this.callKeyOf(call) : fresh;
14390
14415
  if (!key) throw new ArbiError("No key for the running call on this thread");
14391
14416
  const sealedKeys = reused ? await sealCallKeyForPeers(key, params.invitees, me2.userExtId) : sealed;
14417
+ await delegateCallKey(client, call, key);
14392
14418
  return {
14393
14419
  call,
14394
14420
  key,
@@ -14408,8 +14434,11 @@ var Arbi = class {
14408
14434
  if (!key) {
14409
14435
  throw new ArbiError("Open the full call link (it carries the key) to join this call.");
14410
14436
  }
14437
+ await delegateCallKey(this.requireClient(), call, key);
14411
14438
  return { call, key, title: await this.callTitleOf(call, key) };
14412
14439
  },
14440
+ /** Seal a key I already hold to my own personal agents; never a call invitation. */
14441
+ delegateToAgents: (call, key) => delegateCallKey(this.requireClient(), call, key),
14413
14442
  /** My copy of a call's K from its row, or null. */
14414
14443
  key: (call) => this.callKeyOf(call),
14415
14444
  /** A call's title in plaintext under K; null when it has none or it does not open. */
@@ -14440,6 +14469,7 @@ var Arbi = class {
14440
14469
  sealed_keys: await sealCallKeyForPeers(key, invitees, me2.userExtId),
14441
14470
  title: title ? await encryptCallTitle(title, key) : null
14442
14471
  });
14472
+ await delegateCallKey(this.requireClient(), updated, key);
14443
14473
  return { call: updated, key };
14444
14474
  },
14445
14475
  /**