@arbidocs/sdk 0.5.72 → 0.5.73

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.
@@ -1,3 +1,3 @@
1
- export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, t as AuthHeaders, u as AuthMode, v as AuthenticatedClient, B as BookingConfirmation, w as BookingPage, x as BookingPageWriteBody, y as BookingRequestBody, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, S as ChatCryptoContext, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, _ as ChatSession, $ as CitationSummary, a0 as CitationToolSources, a1 as CliConfig, a2 as CliCredentials, a3 as CommandDescriptor, a4 as ConfigStore, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ai as CreateFactRequest, aj as CreateFactsRequest, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DirectModelUsage, aD as DocInfo, aE as DocInfoMap, aG as DocumentAutomationAction, aJ as DocumentSelector, aM as DriveSyncProgress, aN as DriveSyncSummary, aO as DuplicateContactError, aP as ENTITY_KINDS, aQ as EditScope, aR as EntityKind, aS as EventCreateBody, aT as EventPatchBody, aU as FLAT_TAG_KINDS, aV as FactResponse, aW as FactSearchRequest, aX as FactSearchResponse, aY as FindTimeParams, a_ as FreeBusyEntry, a$ as FullContextSelection, b0 as GOOGLE_VENDORS, b1 as HolidayCountry, b2 as HouseTemplateCandidate, b3 as IMANAGE_VENDORS, b4 as IdentityErrorCode, b5 as IdentityPurchase, b6 as IdentityState, b7 as IdentityStatus, b8 as ImportResult, b9 as InvitationRead, ba as JsonSchemaOutputFormat, bb as LinkedRun, bd as ListEventsParams, be as ListFactsOptions, bg as MAILBOX_SYNC_VENDORS, bh as MAX_RETRIEVE_DOC_IDS, bi as MICROSOFT_VENDORS, bl as ModelConnection, bm as OAuthAccountKind, bn as OutputItemDone, bo as OverlayItem, bp as OverlayLayerName, bq as PRESENCE_KINDS, br as PROMPT_CONTEXT_CHARS, bs as ParsedResponse, bt as ParsedSlashCommand, bu as ParsedStructuredResponse, bv as PendingAuthResponse, bw as PersonKey, bx as PersonalConnectionInput, by as PlanStepsError, bz as PlanWorkRequest, bA as ProductResponse, bB as ProjectAddonKind, bC as ProjectAddonSettingsRequest, bD as ProjectBudget, bE as ProjectCheckoutRequest, bF as ProjectConversationUsageResponse, bG as ProjectCreateOptions, bH as ProjectDetails, bI as ProjectEventKind, bJ as ProjectEventResponse, bK as ProjectInvoicesResponse, bL as ProjectNextPeriodAddonsRequest, bM as ProjectPlanChangeRequest, bN as ProjectQuoteRequest, bO as ProjectResponse, bP as ProjectUpdateRequest, bQ as ProjectUsageResponse, bR as PublicBookingError, bS as PublicBookingPage, bT as QuotaExceeded, bU as RaisedSignal, bV as RawResponseEvent, bW as ReconnectOptions, bX as ReconnectableWsConnection, bY as ResolvedCitation, b_ as RespondParams, b$ as RespondPartstat, c0 as Response, c1 as ResponseCreateRequest, c2 as ResponseCreateResult, c3 as ResponseHandle, c4 as ResponseSnapshot, c5 as ResponseStart, c6 as ResponseStartOptions, c7 as ResponseStream, c8 as ResponseStreamEvent, c9 as ResponseTools, ca as RoomCreateBody, cb as RoomQuery, cc as RoomRead, cd as RunProgress, ce as RunStats, cf as RunStep, cg as RunWaitingOn, ch as SHAREPOINT_VENDORS, ci as SSEEvent, cj as SSEStreamCallbacks, ck as SSEStreamOutcome, cl as SSEStreamResult, cn as STOP_ID_WAIT_MS, co as STOP_REPEAT_WINDOW_MS, cq as ScopedTarget, cr as SearchChunk, cs as SecureMailCompose, ct as SecureMailSend, cu as SecureMailSender, cv as SendBack, cw as ShareRead, cx as ShareRole, cy as SkillSummary, cz as SkippedFile, cA as SlackConnectionStatus, cB as StepActionRequest, cC as StepActivityEvent, cD as StepAssignee, cE as StepDisplay, cF as StepField, cI as StepKind, cJ as StepPhase, cK as StepSignal, cL as StepSignalWhen, cM as StepState, cN as StepStatus, cO as SubagentBranchRecord, cP as SubagentLaneInfo, cQ as SubmitBackgroundQueryOptions, cR as SubscribeParams, cS as SyncTriggerResult, cT as TAG_KINDS, cU as TAG_NESTING_MAX_DEPTH, cV as TagChange, cW as TagFieldDefinition, cX as TagGroup, cY as TagKind, cZ as TagKindField, c_ as TagKindSchema, c$ as TagLinks, d0 as TagListQuery, d1 as TagNode, d2 as TagResponse, d3 as TagScope, d4 as TagTreeRow, d5 as TaskPlan, d6 as TaskPlanStep, d7 as TaxQuoteResponse, d8 as Thread, d9 as ThreadsResponse, da as TimeSuggestion, db as TurnRequest, dc as UpdateConversationRequest, dd as UpdateFactRequest, de as UpdateWorkflowRequest, di as UploadDocumentsOptions, dj as UploadOptions, dk as UploadProgressListener, dl as UploadResult, dm as UsageBreakdown, dn 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 WorkspaceConflict, dz as WorkspaceContext, dA as WorkspaceOpenResponse, dB as WorkspaceResponse, dC as WsConnection, dD as account, dE as agentconfig, dG as appendTranscriptionHints, dH as assistant, dI as authenticatedFetch, dJ as bookPublicSlot, dK as buildCitationChunkData, dM as buildDocumentTools, dN as buildFactsContextTool, dO as buildRetrievalChunkTool, dP as buildRetrievalFullContextTool, dQ as buildRetrievalTocTool, dR as buildTurnRequest, dS as calendar, dT as calls, dU as canTagHaveParent, dV as cancelPublicBooking, dW as capabilities, dX as chats, dY as composeConfiguration, dZ as composeTools, d_ as computeRunStats, d$ as connectErrorMessage, e0 as connectWebSocket, e1 as connectWithReconnect, e2 as connectors, e3 as contacts, e4 as continuityPrompt, e5 as conversations, e6 as countCitations, e7 as createAuthenticatedClient, e9 as createIndexAssigner, ea as databases, eb as defaultKindForFormat, ec as doctags, ed as documentTools, ee as documents, ef as estimateDraftTokens, eg as extractDocumentIdsFromMessages, eh as extractFactIdsFromMessages, ei as extractSubagentLanes, ej as facts, ek as files, el as filterDocumentTags, em as filterSkills, en as findLeafForTaskMessage, eo as findMainSiblingLeaf, ep as findReplyTarget, eq as findSubagentRunId, er as flattenTagTree, es as formatAgentStepLabel, et as formatFileSize, eu as formatGbp, ev as formatGbpPerMillionTokens, ew as formatItemLabel, ey as formatTokens, ez as formatUserName, eA as formatWorkspaceChoices, eE as getAgentStepLabel, eF as getAttachableRunId, eG as getChildTags, eH as getContextRemainingPercent, eI as getContextUsedPercent, eJ as getContextUsedTokens, eK as getCurrentStep, eL as getEligibleParentTags, eM as getErrorCode, eN as getErrorMessage, eO as getPublicBookingPage, eP as getRawWorkspaceKey, eQ as getRunToAttach, eR as getRunToCancel, eS as getStepDisplay, eT as getStepTool, eU as getSubagentBranchRecord, eV as getTagDescendantIds, eW as health, eX as houseTemplates, eY as hydrateAgentSteps, e_ as identityErrorCode, eZ as identityVerification, e$ as instructions, f0 as isAnnotationTag, f1 as isConnectorVendorVisible, f2 as isDriveSyncVendor, f3 as isEntityTag, f4 as isFlatKind, f5 as isLabelTag, f6 as isMailboxSyncVendor, f7 as isNearAiUsageBudget, f8 as isPresenceTag, f9 as isSharePointVendor, fa as isSharedSkill, fb as isTraceItem, fc as mail, fd as mcpTools, fe as mergeAgentSteps, ff as modelConnections, fg as notifications, fh as parseSSEEvents, fi as parseSlashCommand, fj as parseSlashTokenInProgress, fk as parseStructuredResponse, fl as performPasswordLogin, fo as pickMainThread, fp as profile, fq as progressFetch, fr as projects, fs as quotaExceededFrom, ft as quotaFromStreamError, fu as reduceOutputItem, fv as refusalReason, fw as requireData, fx as requireOk, fy as resolveAuth, fz as resolveCitations, fA as resolveSummary, fB as resolveWorkspace, fC as responses, fD as searchChunks, fE as secureMail, fF as selectFullContextDocument, fG as selectWorkspace, fH as selectWorkspaceById, fI as sessions, fJ as settings, fL as sliceToSubagentThread, fM as streamSSE, fN as stripCitationMarkdown, fO as subagentJobLabel, fP as summarizeCitations, fQ as tagUseCount, fR as tags, fS as tagsForScope, fT as tagsOfGroup, fU as topLevelAgentSteps, fW as usdToGbp, fX as work, fY as workflowSteps, fZ as workflows, f_ as workspaceConflictOf, f$ as workspaces, g0 as wouldCreateTagCycle } from './browser-CA2ecqVP.cjs';
1
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, t as AuthHeaders, u as AuthMode, v as AuthenticatedClient, B as BookingConfirmation, w as BookingPage, x as BookingPageWriteBody, y as BookingRequestBody, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, S as ChatCryptoContext, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, _ as ChatSession, $ as CitationSummary, a0 as CitationToolSources, a1 as CliConfig, a2 as CliCredentials, a3 as CommandDescriptor, a4 as ConfigStore, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ai as CreateFactRequest, aj as CreateFactsRequest, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DiagnoseOptions, aD as DirectModelUsage, aE as DocInfo, aF as DocInfoMap, aH as DocumentAutomationAction, aK as DocumentSelector, aN as DriveSyncProgress, aO as DriveSyncSummary, aP as DuplicateContactError, aQ as ENTITY_KINDS, aR as EditScope, aS as EntityKind, aT as EventCreateBody, aU as EventPatchBody, aV as FLAT_TAG_KINDS, aW as FactResponse, aX as FactSearchRequest, aY as FactSearchResponse, aZ as FindTimeParams, a$ as FreeBusyEntry, b0 as FullContextSelection, b1 as GOOGLE_VENDORS, b2 as HolidayCountry, b3 as HouseTemplateCandidate, b4 as IMANAGE_VENDORS, b5 as IdentityErrorCode, b6 as IdentityPurchase, b7 as IdentityState, b8 as IdentityStatus, b9 as ImportResult, ba as InvitationRead, bb as JsonSchemaOutputFormat, bc as LinkedRun, be as ListEventsParams, bf as ListFactsOptions, bh as MAILBOX_SYNC_VENDORS, bi as MAX_RETRIEVE_DOC_IDS, bj as MICROSOFT_VENDORS, bm as ModelConnection, bn as OAuthAccountKind, bo as OutputItemDone, bp as OverlayItem, bq as OverlayLayerName, br as PRESENCE_KINDS, bs as PROMPT_CONTEXT_CHARS, bt as ParsedResponse, bu as ParsedSlashCommand, bv as ParsedStructuredResponse, bw as PendingAuthResponse, bx as PersonKey, by as PersonalConnectionInput, bz as PlanStepsError, bA as PlanWorkRequest, bB as ProductResponse, bC as ProjectAddonKind, bD as ProjectAddonSettingsRequest, bE as ProjectBudget, bF as ProjectCheckoutRequest, bG as ProjectConversationUsageResponse, bH as ProjectCreateOptions, bI as ProjectDetails, bJ as ProjectEventKind, bK as ProjectEventResponse, bL as ProjectInvoicesResponse, bM as ProjectNextPeriodAddonsRequest, bN as ProjectPlanChangeRequest, bO as ProjectQuoteRequest, bP as ProjectResponse, bQ as ProjectUpdateRequest, bR as ProjectUsageResponse, bS as PublicBookingError, bT as PublicBookingPage, bU as QuotaExceeded, bV as RaisedSignal, bW as RawResponseEvent, bX as ReconnectOptions, bY as ReconnectableWsConnection, bZ as ResolvedCitation, b$ as RespondParams, c0 as RespondPartstat, c1 as Response, c2 as ResponseCreateRequest, c3 as ResponseCreateResult, c4 as ResponseHandle, c5 as ResponseSnapshot, c6 as ResponseStart, c7 as ResponseStartOptions, c8 as ResponseStream, c9 as ResponseStreamEvent, ca as ResponseTools, cb as RoomCreateBody, cc as RoomQuery, cd as RoomRead, ce as RunProgress, cf as RunStats, cg as RunStep, ch as RunWaitingOn, ci as SHAREPOINT_VENDORS, cj as SSEEvent, ck as SSEStreamCallbacks, cl as SSEStreamOutcome, cm as SSEStreamResult, co as STOP_ID_WAIT_MS, cp as STOP_REPEAT_WINDOW_MS, cr as ScopedTarget, cs as SearchChunk, ct as SecureMailCompose, cu as SecureMailSend, cv as SecureMailSender, cw as SendBack, cx as SetupDiagnostic, cy as SetupReport, cz as ShareRead, cA as ShareRole, cB as SkillSummary, cC as SkippedFile, cD as SlackConnectionStatus, cE as StepActionRequest, cF as StepActivityEvent, cG as StepAssignee, cH as StepDisplay, cI as StepField, cL as StepKind, cM as StepPhase, cN as StepSignal, cO as StepSignalWhen, cP as StepState, cQ as StepStatus, cR as SubagentBranchRecord, cS as SubagentLaneInfo, cT as SubmitBackgroundQueryOptions, cU as SubscribeParams, cV as SyncTriggerResult, cW as TAG_KINDS, cX as TAG_NESTING_MAX_DEPTH, cY as TagChange, cZ as TagFieldDefinition, c_ as TagGroup, c$ as TagKind, d0 as TagKindField, d1 as TagKindSchema, d2 as TagLinks, d3 as TagListQuery, d4 as TagNode, d5 as TagResponse, d6 as TagScope, d7 as TagTreeRow, d8 as TaskPlan, d9 as TaskPlanStep, da as TaxQuoteResponse, db as Thread, dc as ThreadsResponse, dd as TimeSuggestion, de as TurnRequest, df as UpdateConversationRequest, dg as UpdateFactRequest, dh as UpdateWorkflowRequest, dl as UploadDocumentsOptions, dm as UploadOptions, dn as UploadProgressListener, dp as UploadResult, dq as UsageBreakdown, dr as UserConnectorEntry, ds as UserDailyUsageResponse, dt as UserInfo, du as WebSocketAuthError, dv as WeeklyHoursSpec, dw as WorkStatus, dx as WorkflowAuthMode, dy as WorkflowResponse, dz as WorkflowRunHistoryResponse, dA as WorkflowRunResponse, dB as WorkspaceConflict, dC as WorkspaceContext, dD as WorkspaceOpenResponse, dE as WorkspaceResponse, dF as WsConnection, dG as account, dH as agentconfig, dJ as appendTranscriptionHints, dK as assistant, dL as authenticatedFetch, dM as bookPublicSlot, dN as buildCitationChunkData, dP as buildDocumentTools, dQ as buildFactsContextTool, dR as buildRetrievalChunkTool, dS as buildRetrievalFullContextTool, dT as buildRetrievalTocTool, dU as buildTurnRequest, dV as calendar, dW as calls, dX as canTagHaveParent, dY as cancelPublicBooking, dZ as capabilities, d_ as chats, d$ as composeConfiguration, e0 as composeTools, e1 as computeRunStats, e2 as connectErrorMessage, e3 as connectWebSocket, e4 as connectWithReconnect, e5 as connectors, e6 as contacts, e7 as continuityPrompt, e8 as conversations, e9 as countCitations, ea as createAuthenticatedClient, ec as createIndexAssigner, ed as databases, ee as defaultKindForFormat, ef as diagnoseSetup, eg as doctags, eh as documentTools, ei as documents, ej as estimateDraftTokens, ek as extractDocumentIdsFromMessages, el as extractFactIdsFromMessages, em as extractSubagentLanes, en as facts, eo as files, ep as filterDocumentTags, eq as filterSkills, 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, eA as formatItemLabel, eC as formatTokens, eD as formatUserName, eE as formatWorkspaceChoices, eI as getAgentStepLabel, eJ as getAttachableRunId, eK as getChildTags, eL as getContextRemainingPercent, eM as getContextUsedPercent, eN as getContextUsedTokens, eO as getCurrentStep, eP as getEligibleParentTags, eQ as getErrorCode, eR as getErrorMessage, eS as getPublicBookingPage, eT as getRawWorkspaceKey, eU as getRunToAttach, eV as getRunToCancel, eW as getStepDisplay, eX as getStepTool, eY as getSubagentBranchRecord, eZ as getTagDescendantIds, e_ as health, e$ as houseTemplates, f0 as hydrateAgentSteps, f2 as identityErrorCode, f1 as identityVerification, f3 as instructions, f4 as isAnnotationTag, f5 as isConnectorVendorVisible, f6 as isDriveSyncVendor, f7 as isEntityTag, f8 as isFlatKind, f9 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 parseSSEEvents, fm as parseSlashCommand, fn as parseSlashTokenInProgress, fo as parseStructuredResponse, fp as performPasswordLogin, fs as pickMainThread, ft as profile, fu as progressFetch, fv as projects, fw as quotaExceededFrom, fx as quotaFromStreamError, fy as reduceOutputItem, fz as refusalReason, fA as requireData, fB as requireOk, fC as resolveAuth, fD as resolveCitations, fE as resolveSummary, fF as resolveWorkspace, fG as responses, fH as searchChunks, fI as secureMail, fJ as selectFullContextDocument, fK as selectWorkspace, fL as selectWorkspaceById, fM as sessions, fN as settings, fP as sliceToSubagentThread, fQ as streamSSE, fR as stripCitationMarkdown, fS as subagentJobLabel, fT as summarizeCitations, fU as tagUseCount, fV as tags, fW as tagsForScope, fX as tagsOfGroup, fY as topLevelAgentSteps, f_ as usdToGbp, f$ as work, g0 as workflowSteps, g1 as workflows, g2 as workspaceConflictOf, g3 as workspaces, g4 as wouldCreateTagCycle } from './browser-Cy6Noci7.cjs';
2
2
  export { A as AgentControlStateEvent, a as AgentStepDeltaEvent, b as AgentStepEvent, c as ArbiErrorEvent, d as ArtifactEvent, D as DeferredInterjectionEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, P as ProbeAnswerEvent, 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-BbR7JG5o.cjs';
3
3
  export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
package/dist/browser.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, t as AuthHeaders, u as AuthMode, v as AuthenticatedClient, B as BookingConfirmation, w as BookingPage, x as BookingPageWriteBody, y as BookingRequestBody, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, S as ChatCryptoContext, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, _ as ChatSession, $ as CitationSummary, a0 as CitationToolSources, a1 as CliConfig, a2 as CliCredentials, a3 as CommandDescriptor, a4 as ConfigStore, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ai as CreateFactRequest, aj as CreateFactsRequest, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DirectModelUsage, aD as DocInfo, aE as DocInfoMap, aG as DocumentAutomationAction, aJ as DocumentSelector, aM as DriveSyncProgress, aN as DriveSyncSummary, aO as DuplicateContactError, aP as ENTITY_KINDS, aQ as EditScope, aR as EntityKind, aS as EventCreateBody, aT as EventPatchBody, aU as FLAT_TAG_KINDS, aV as FactResponse, aW as FactSearchRequest, aX as FactSearchResponse, aY as FindTimeParams, a_ as FreeBusyEntry, a$ as FullContextSelection, b0 as GOOGLE_VENDORS, b1 as HolidayCountry, b2 as HouseTemplateCandidate, b3 as IMANAGE_VENDORS, b4 as IdentityErrorCode, b5 as IdentityPurchase, b6 as IdentityState, b7 as IdentityStatus, b8 as ImportResult, b9 as InvitationRead, ba as JsonSchemaOutputFormat, bb as LinkedRun, bd as ListEventsParams, be as ListFactsOptions, bg as MAILBOX_SYNC_VENDORS, bh as MAX_RETRIEVE_DOC_IDS, bi as MICROSOFT_VENDORS, bl as ModelConnection, bm as OAuthAccountKind, bn as OutputItemDone, bo as OverlayItem, bp as OverlayLayerName, bq as PRESENCE_KINDS, br as PROMPT_CONTEXT_CHARS, bs as ParsedResponse, bt as ParsedSlashCommand, bu as ParsedStructuredResponse, bv as PendingAuthResponse, bw as PersonKey, bx as PersonalConnectionInput, by as PlanStepsError, bz as PlanWorkRequest, bA as ProductResponse, bB as ProjectAddonKind, bC as ProjectAddonSettingsRequest, bD as ProjectBudget, bE as ProjectCheckoutRequest, bF as ProjectConversationUsageResponse, bG as ProjectCreateOptions, bH as ProjectDetails, bI as ProjectEventKind, bJ as ProjectEventResponse, bK as ProjectInvoicesResponse, bL as ProjectNextPeriodAddonsRequest, bM as ProjectPlanChangeRequest, bN as ProjectQuoteRequest, bO as ProjectResponse, bP as ProjectUpdateRequest, bQ as ProjectUsageResponse, bR as PublicBookingError, bS as PublicBookingPage, bT as QuotaExceeded, bU as RaisedSignal, bV as RawResponseEvent, bW as ReconnectOptions, bX as ReconnectableWsConnection, bY as ResolvedCitation, b_ as RespondParams, b$ as RespondPartstat, c0 as Response, c1 as ResponseCreateRequest, c2 as ResponseCreateResult, c3 as ResponseHandle, c4 as ResponseSnapshot, c5 as ResponseStart, c6 as ResponseStartOptions, c7 as ResponseStream, c8 as ResponseStreamEvent, c9 as ResponseTools, ca as RoomCreateBody, cb as RoomQuery, cc as RoomRead, cd as RunProgress, ce as RunStats, cf as RunStep, cg as RunWaitingOn, ch as SHAREPOINT_VENDORS, ci as SSEEvent, cj as SSEStreamCallbacks, ck as SSEStreamOutcome, cl as SSEStreamResult, cn as STOP_ID_WAIT_MS, co as STOP_REPEAT_WINDOW_MS, cq as ScopedTarget, cr as SearchChunk, cs as SecureMailCompose, ct as SecureMailSend, cu as SecureMailSender, cv as SendBack, cw as ShareRead, cx as ShareRole, cy as SkillSummary, cz as SkippedFile, cA as SlackConnectionStatus, cB as StepActionRequest, cC as StepActivityEvent, cD as StepAssignee, cE as StepDisplay, cF as StepField, cI as StepKind, cJ as StepPhase, cK as StepSignal, cL as StepSignalWhen, cM as StepState, cN as StepStatus, cO as SubagentBranchRecord, cP as SubagentLaneInfo, cQ as SubmitBackgroundQueryOptions, cR as SubscribeParams, cS as SyncTriggerResult, cT as TAG_KINDS, cU as TAG_NESTING_MAX_DEPTH, cV as TagChange, cW as TagFieldDefinition, cX as TagGroup, cY as TagKind, cZ as TagKindField, c_ as TagKindSchema, c$ as TagLinks, d0 as TagListQuery, d1 as TagNode, d2 as TagResponse, d3 as TagScope, d4 as TagTreeRow, d5 as TaskPlan, d6 as TaskPlanStep, d7 as TaxQuoteResponse, d8 as Thread, d9 as ThreadsResponse, da as TimeSuggestion, db as TurnRequest, dc as UpdateConversationRequest, dd as UpdateFactRequest, de as UpdateWorkflowRequest, di as UploadDocumentsOptions, dj as UploadOptions, dk as UploadProgressListener, dl as UploadResult, dm as UsageBreakdown, dn 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 WorkspaceConflict, dz as WorkspaceContext, dA as WorkspaceOpenResponse, dB as WorkspaceResponse, dC as WsConnection, dD as account, dE as agentconfig, dG as appendTranscriptionHints, dH as assistant, dI as authenticatedFetch, dJ as bookPublicSlot, dK as buildCitationChunkData, dM as buildDocumentTools, dN as buildFactsContextTool, dO as buildRetrievalChunkTool, dP as buildRetrievalFullContextTool, dQ as buildRetrievalTocTool, dR as buildTurnRequest, dS as calendar, dT as calls, dU as canTagHaveParent, dV as cancelPublicBooking, dW as capabilities, dX as chats, dY as composeConfiguration, dZ as composeTools, d_ as computeRunStats, d$ as connectErrorMessage, e0 as connectWebSocket, e1 as connectWithReconnect, e2 as connectors, e3 as contacts, e4 as continuityPrompt, e5 as conversations, e6 as countCitations, e7 as createAuthenticatedClient, e9 as createIndexAssigner, ea as databases, eb as defaultKindForFormat, ec as doctags, ed as documentTools, ee as documents, ef as estimateDraftTokens, eg as extractDocumentIdsFromMessages, eh as extractFactIdsFromMessages, ei as extractSubagentLanes, ej as facts, ek as files, el as filterDocumentTags, em as filterSkills, en as findLeafForTaskMessage, eo as findMainSiblingLeaf, ep as findReplyTarget, eq as findSubagentRunId, er as flattenTagTree, es as formatAgentStepLabel, et as formatFileSize, eu as formatGbp, ev as formatGbpPerMillionTokens, ew as formatItemLabel, ey as formatTokens, ez as formatUserName, eA as formatWorkspaceChoices, eE as getAgentStepLabel, eF as getAttachableRunId, eG as getChildTags, eH as getContextRemainingPercent, eI as getContextUsedPercent, eJ as getContextUsedTokens, eK as getCurrentStep, eL as getEligibleParentTags, eM as getErrorCode, eN as getErrorMessage, eO as getPublicBookingPage, eP as getRawWorkspaceKey, eQ as getRunToAttach, eR as getRunToCancel, eS as getStepDisplay, eT as getStepTool, eU as getSubagentBranchRecord, eV as getTagDescendantIds, eW as health, eX as houseTemplates, eY as hydrateAgentSteps, e_ as identityErrorCode, eZ as identityVerification, e$ as instructions, f0 as isAnnotationTag, f1 as isConnectorVendorVisible, f2 as isDriveSyncVendor, f3 as isEntityTag, f4 as isFlatKind, f5 as isLabelTag, f6 as isMailboxSyncVendor, f7 as isNearAiUsageBudget, f8 as isPresenceTag, f9 as isSharePointVendor, fa as isSharedSkill, fb as isTraceItem, fc as mail, fd as mcpTools, fe as mergeAgentSteps, ff as modelConnections, fg as notifications, fh as parseSSEEvents, fi as parseSlashCommand, fj as parseSlashTokenInProgress, fk as parseStructuredResponse, fl as performPasswordLogin, fo as pickMainThread, fp as profile, fq as progressFetch, fr as projects, fs as quotaExceededFrom, ft as quotaFromStreamError, fu as reduceOutputItem, fv as refusalReason, fw as requireData, fx as requireOk, fy as resolveAuth, fz as resolveCitations, fA as resolveSummary, fB as resolveWorkspace, fC as responses, fD as searchChunks, fE as secureMail, fF as selectFullContextDocument, fG as selectWorkspace, fH as selectWorkspaceById, fI as sessions, fJ as settings, fL as sliceToSubagentThread, fM as streamSSE, fN as stripCitationMarkdown, fO as subagentJobLabel, fP as summarizeCitations, fQ as tagUseCount, fR as tags, fS as tagsForScope, fT as tagsOfGroup, fU as topLevelAgentSteps, fW as usdToGbp, fX as work, fY as workflowSteps, fZ as workflows, f_ as workspaceConflictOf, f$ as workspaces, g0 as wouldCreateTagCycle } from './browser-Bf6pRBuP.js';
1
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, t as AuthHeaders, u as AuthMode, v as AuthenticatedClient, B as BookingConfirmation, w as BookingPage, x as BookingPageWriteBody, y as BookingRequestBody, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, S as ChatCryptoContext, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, _ as ChatSession, $ as CitationSummary, a0 as CitationToolSources, a1 as CliConfig, a2 as CliCredentials, a3 as CommandDescriptor, a4 as ConfigStore, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ai as CreateFactRequest, aj as CreateFactsRequest, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DiagnoseOptions, aD as DirectModelUsage, aE as DocInfo, aF as DocInfoMap, aH as DocumentAutomationAction, aK as DocumentSelector, aN as DriveSyncProgress, aO as DriveSyncSummary, aP as DuplicateContactError, aQ as ENTITY_KINDS, aR as EditScope, aS as EntityKind, aT as EventCreateBody, aU as EventPatchBody, aV as FLAT_TAG_KINDS, aW as FactResponse, aX as FactSearchRequest, aY as FactSearchResponse, aZ as FindTimeParams, a$ as FreeBusyEntry, b0 as FullContextSelection, b1 as GOOGLE_VENDORS, b2 as HolidayCountry, b3 as HouseTemplateCandidate, b4 as IMANAGE_VENDORS, b5 as IdentityErrorCode, b6 as IdentityPurchase, b7 as IdentityState, b8 as IdentityStatus, b9 as ImportResult, ba as InvitationRead, bb as JsonSchemaOutputFormat, bc as LinkedRun, be as ListEventsParams, bf as ListFactsOptions, bh as MAILBOX_SYNC_VENDORS, bi as MAX_RETRIEVE_DOC_IDS, bj as MICROSOFT_VENDORS, bm as ModelConnection, bn as OAuthAccountKind, bo as OutputItemDone, bp as OverlayItem, bq as OverlayLayerName, br as PRESENCE_KINDS, bs as PROMPT_CONTEXT_CHARS, bt as ParsedResponse, bu as ParsedSlashCommand, bv as ParsedStructuredResponse, bw as PendingAuthResponse, bx as PersonKey, by as PersonalConnectionInput, bz as PlanStepsError, bA as PlanWorkRequest, bB as ProductResponse, bC as ProjectAddonKind, bD as ProjectAddonSettingsRequest, bE as ProjectBudget, bF as ProjectCheckoutRequest, bG as ProjectConversationUsageResponse, bH as ProjectCreateOptions, bI as ProjectDetails, bJ as ProjectEventKind, bK as ProjectEventResponse, bL as ProjectInvoicesResponse, bM as ProjectNextPeriodAddonsRequest, bN as ProjectPlanChangeRequest, bO as ProjectQuoteRequest, bP as ProjectResponse, bQ as ProjectUpdateRequest, bR as ProjectUsageResponse, bS as PublicBookingError, bT as PublicBookingPage, bU as QuotaExceeded, bV as RaisedSignal, bW as RawResponseEvent, bX as ReconnectOptions, bY as ReconnectableWsConnection, bZ as ResolvedCitation, b$ as RespondParams, c0 as RespondPartstat, c1 as Response, c2 as ResponseCreateRequest, c3 as ResponseCreateResult, c4 as ResponseHandle, c5 as ResponseSnapshot, c6 as ResponseStart, c7 as ResponseStartOptions, c8 as ResponseStream, c9 as ResponseStreamEvent, ca as ResponseTools, cb as RoomCreateBody, cc as RoomQuery, cd as RoomRead, ce as RunProgress, cf as RunStats, cg as RunStep, ch as RunWaitingOn, ci as SHAREPOINT_VENDORS, cj as SSEEvent, ck as SSEStreamCallbacks, cl as SSEStreamOutcome, cm as SSEStreamResult, co as STOP_ID_WAIT_MS, cp as STOP_REPEAT_WINDOW_MS, cr as ScopedTarget, cs as SearchChunk, ct as SecureMailCompose, cu as SecureMailSend, cv as SecureMailSender, cw as SendBack, cx as SetupDiagnostic, cy as SetupReport, cz as ShareRead, cA as ShareRole, cB as SkillSummary, cC as SkippedFile, cD as SlackConnectionStatus, cE as StepActionRequest, cF as StepActivityEvent, cG as StepAssignee, cH as StepDisplay, cI as StepField, cL as StepKind, cM as StepPhase, cN as StepSignal, cO as StepSignalWhen, cP as StepState, cQ as StepStatus, cR as SubagentBranchRecord, cS as SubagentLaneInfo, cT as SubmitBackgroundQueryOptions, cU as SubscribeParams, cV as SyncTriggerResult, cW as TAG_KINDS, cX as TAG_NESTING_MAX_DEPTH, cY as TagChange, cZ as TagFieldDefinition, c_ as TagGroup, c$ as TagKind, d0 as TagKindField, d1 as TagKindSchema, d2 as TagLinks, d3 as TagListQuery, d4 as TagNode, d5 as TagResponse, d6 as TagScope, d7 as TagTreeRow, d8 as TaskPlan, d9 as TaskPlanStep, da as TaxQuoteResponse, db as Thread, dc as ThreadsResponse, dd as TimeSuggestion, de as TurnRequest, df as UpdateConversationRequest, dg as UpdateFactRequest, dh as UpdateWorkflowRequest, dl as UploadDocumentsOptions, dm as UploadOptions, dn as UploadProgressListener, dp as UploadResult, dq as UsageBreakdown, dr as UserConnectorEntry, ds as UserDailyUsageResponse, dt as UserInfo, du as WebSocketAuthError, dv as WeeklyHoursSpec, dw as WorkStatus, dx as WorkflowAuthMode, dy as WorkflowResponse, dz as WorkflowRunHistoryResponse, dA as WorkflowRunResponse, dB as WorkspaceConflict, dC as WorkspaceContext, dD as WorkspaceOpenResponse, dE as WorkspaceResponse, dF as WsConnection, dG as account, dH as agentconfig, dJ as appendTranscriptionHints, dK as assistant, dL as authenticatedFetch, dM as bookPublicSlot, dN as buildCitationChunkData, dP as buildDocumentTools, dQ as buildFactsContextTool, dR as buildRetrievalChunkTool, dS as buildRetrievalFullContextTool, dT as buildRetrievalTocTool, dU as buildTurnRequest, dV as calendar, dW as calls, dX as canTagHaveParent, dY as cancelPublicBooking, dZ as capabilities, d_ as chats, d$ as composeConfiguration, e0 as composeTools, e1 as computeRunStats, e2 as connectErrorMessage, e3 as connectWebSocket, e4 as connectWithReconnect, e5 as connectors, e6 as contacts, e7 as continuityPrompt, e8 as conversations, e9 as countCitations, ea as createAuthenticatedClient, ec as createIndexAssigner, ed as databases, ee as defaultKindForFormat, ef as diagnoseSetup, eg as doctags, eh as documentTools, ei as documents, ej as estimateDraftTokens, ek as extractDocumentIdsFromMessages, el as extractFactIdsFromMessages, em as extractSubagentLanes, en as facts, eo as files, ep as filterDocumentTags, eq as filterSkills, 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, eA as formatItemLabel, eC as formatTokens, eD as formatUserName, eE as formatWorkspaceChoices, eI as getAgentStepLabel, eJ as getAttachableRunId, eK as getChildTags, eL as getContextRemainingPercent, eM as getContextUsedPercent, eN as getContextUsedTokens, eO as getCurrentStep, eP as getEligibleParentTags, eQ as getErrorCode, eR as getErrorMessage, eS as getPublicBookingPage, eT as getRawWorkspaceKey, eU as getRunToAttach, eV as getRunToCancel, eW as getStepDisplay, eX as getStepTool, eY as getSubagentBranchRecord, eZ as getTagDescendantIds, e_ as health, e$ as houseTemplates, f0 as hydrateAgentSteps, f2 as identityErrorCode, f1 as identityVerification, f3 as instructions, f4 as isAnnotationTag, f5 as isConnectorVendorVisible, f6 as isDriveSyncVendor, f7 as isEntityTag, f8 as isFlatKind, f9 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 parseSSEEvents, fm as parseSlashCommand, fn as parseSlashTokenInProgress, fo as parseStructuredResponse, fp as performPasswordLogin, fs as pickMainThread, ft as profile, fu as progressFetch, fv as projects, fw as quotaExceededFrom, fx as quotaFromStreamError, fy as reduceOutputItem, fz as refusalReason, fA as requireData, fB as requireOk, fC as resolveAuth, fD as resolveCitations, fE as resolveSummary, fF as resolveWorkspace, fG as responses, fH as searchChunks, fI as secureMail, fJ as selectFullContextDocument, fK as selectWorkspace, fL as selectWorkspaceById, fM as sessions, fN as settings, fP as sliceToSubagentThread, fQ as streamSSE, fR as stripCitationMarkdown, fS as subagentJobLabel, fT as summarizeCitations, fU as tagUseCount, fV as tags, fW as tagsForScope, fX as tagsOfGroup, fY as topLevelAgentSteps, f_ as usdToGbp, f$ as work, g0 as workflowSteps, g1 as workflows, g2 as workspaceConflictOf, g3 as workspaces, g4 as wouldCreateTagCycle } from './browser-CJ8FI-q-.js';
2
2
  export { A as AgentControlStateEvent, a as AgentStepDeltaEvent, b as AgentStepEvent, c as ArbiErrorEvent, d as ArtifactEvent, D as DeferredInterjectionEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, P as ProbeAnswerEvent, 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-BbR7JG5o.js';
3
3
  export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
package/dist/browser.js CHANGED
@@ -4636,6 +4636,158 @@ function buildChunkLookup(tools) {
4636
4636
  return lookup;
4637
4637
  }
4638
4638
 
4639
+ // src/diagnostics.ts
4640
+ async function diagnoseSetup(options) {
4641
+ const checks = [];
4642
+ const add = (check, status, message, hint) => checks.push({ check, status, message, ...hint ? { hint } : {} });
4643
+ let base;
4644
+ try {
4645
+ base = new URL(options.url);
4646
+ if (!["http:", "https:"].includes(base.protocol) || base.username || base.password || base.search || base.hash)
4647
+ throw new Error("Invalid API URL");
4648
+ } catch {
4649
+ add(
4650
+ "connection",
4651
+ "error",
4652
+ "Invalid API URL.",
4653
+ "Use an absolute HTTP(S) API URL without credentials, query or fragment."
4654
+ );
4655
+ return { ok: false, checks };
4656
+ }
4657
+ const request = (path2, authenticated = false) => (options.fetch ?? globalThis.fetch)(`${base.href.replace(/\/$/, "")}${path2}`, {
4658
+ method: "GET",
4659
+ credentials: "omit",
4660
+ redirect: "error",
4661
+ cache: "no-store",
4662
+ headers: authenticated && options.accessToken ? { Authorization: `Bearer ${options.accessToken}` } : {},
4663
+ signal: AbortSignal.timeout(options.timeoutMs ?? 1e4)
4664
+ });
4665
+ try {
4666
+ const config = await request("/config.json");
4667
+ if (!config.ok) {
4668
+ add(
4669
+ "connection",
4670
+ "error",
4671
+ `Deployment configuration returned HTTP ${config.status}.`,
4672
+ "Check the API base URL and proxy routing."
4673
+ );
4674
+ } else {
4675
+ const body = await config.json();
4676
+ add("connection", "ok", "Deployment configuration is reachable.");
4677
+ const domain = body?.deployment?.domain;
4678
+ if (typeof domain !== "string" || !domain) {
4679
+ add(
4680
+ "deployment",
4681
+ "warning",
4682
+ "The deployment did not advertise its key-derivation domain.",
4683
+ "Confirm deploymentDomain with the deployment owner, especially when using a proxy."
4684
+ );
4685
+ } else if (domain !== (options.deploymentDomain ?? base.hostname)) {
4686
+ add(
4687
+ "deployment",
4688
+ "error",
4689
+ "The configured key-derivation domain differs from the deployment.",
4690
+ "Set deploymentDomain to the deployment\u2019s domain; a proxy hostname is not the key-derivation domain."
4691
+ );
4692
+ } else add("deployment", "ok", "The key-derivation domain matches the deployment.");
4693
+ }
4694
+ } catch {
4695
+ add(
4696
+ "connection",
4697
+ "error",
4698
+ "Could not read deployment configuration.",
4699
+ "Check DNS, TLS, proxy routing and connectivity. In a browser, inspect DevTools for CORS, mixed-content or private-network denial; fetch alone cannot distinguish them."
4700
+ );
4701
+ }
4702
+ if (!options.accessToken) {
4703
+ add(
4704
+ "authentication",
4705
+ "warning",
4706
+ "No live session token is available.",
4707
+ "Sign in explicitly when online. An offline-unlocked identity is not a verified server session."
4708
+ );
4709
+ add("workspace", "skipped", "Workspace access was not checked.");
4710
+ add("permissions", "skipped", "Permissions were not checked.");
4711
+ } else {
4712
+ let authenticated = false;
4713
+ try {
4714
+ const user = await request("/v1/user/me", true);
4715
+ if (!user.ok) {
4716
+ add(
4717
+ "authentication",
4718
+ "error",
4719
+ `Session check returned HTTP ${user.status}.`,
4720
+ user.status === 401 ? "Sign in explicitly to renew the session." : "Check deployment access and account permissions."
4721
+ );
4722
+ add("workspace", "skipped", "Workspace access was not checked.");
4723
+ add("permissions", "skipped", "Permissions were not checked.");
4724
+ } else {
4725
+ const profile = await user.json();
4726
+ authenticated = true;
4727
+ add("authentication", "ok", "The server accepts the current session.");
4728
+ if (!options.workspaceId) {
4729
+ add(
4730
+ "workspace",
4731
+ "warning",
4732
+ "No current workspace is selected.",
4733
+ "Choose a workspace explicitly before reading documents or starting work."
4734
+ );
4735
+ add("permissions", "skipped", "Select a workspace to check membership.");
4736
+ } else {
4737
+ const response = await request("/v1/user/workspaces", true);
4738
+ if (!response.ok) {
4739
+ add(
4740
+ "workspace",
4741
+ "error",
4742
+ `Workspace membership check returned HTTP ${response.status}.`,
4743
+ "Check current account access; diagnosis does not switch workspaces or grant access."
4744
+ );
4745
+ add("permissions", "skipped", "Membership could not be verified.");
4746
+ } else {
4747
+ const workspaces = await response.json();
4748
+ const workspace = Array.isArray(workspaces) ? workspaces.find((w2) => w2.external_id === options.workspaceId) : void 0;
4749
+ if (!workspace) {
4750
+ add(
4751
+ "workspace",
4752
+ "error",
4753
+ "The selected workspace is not in this account\u2019s workspace list.",
4754
+ "Choose an accessible workspace explicitly. Project visibility does not imply workspace access."
4755
+ );
4756
+ add("permissions", "skipped", "Workspace permissions could not be verified.");
4757
+ } else {
4758
+ add(
4759
+ "workspace",
4760
+ "ok",
4761
+ "The selected workspace appears in the account\u2019s workspace list."
4762
+ );
4763
+ const member = workspace.users?.find(
4764
+ (entry) => entry.user?.external_id === profile.external_id
4765
+ );
4766
+ const role = ["owner", "collaborator", "guest"].includes(member?.role) ? member.role : null;
4767
+ add(
4768
+ "permissions",
4769
+ role ? "ok" : "warning",
4770
+ role ? `Workspace membership role: ${role}.` : "No direct membership role was reported.",
4771
+ "This is a membership check, not proof of a live workspace key or authorization for an agent task. Temporary grants, expiry and execution permissions remain enforced by the API."
4772
+ );
4773
+ }
4774
+ }
4775
+ }
4776
+ }
4777
+ } catch {
4778
+ add(
4779
+ authenticated ? "workspace" : "authentication",
4780
+ "error",
4781
+ authenticated ? "The workspace membership check could not finish." : "The session check could not finish.",
4782
+ "Check connectivity and browser network policy. No login, workspace switch or grant was attempted."
4783
+ );
4784
+ if (authenticated)
4785
+ add("permissions", "skipped", "Workspace membership could not be verified.");
4786
+ }
4787
+ }
4788
+ return { ok: checks.every((c2) => c2.status === "ok"), checks };
4789
+ }
4790
+
4639
4791
  // src/operations/responses.ts
4640
4792
  var responses_exports = {};
4641
4793
  __export(responses_exports, {
@@ -11538,6 +11690,15 @@ var Arbi = class {
11538
11690
  get session() {
11539
11691
  return this.client?.session ?? null;
11540
11692
  }
11693
+ /** Read-only setup checks; never signs in, opens a workspace or grants access. */
11694
+ diagnose() {
11695
+ return diagnoseSetup({
11696
+ url: this.options.url,
11697
+ deploymentDomain: this.options.deploymentDomain,
11698
+ accessToken: this.client?.session.getState().accessToken,
11699
+ workspaceId: this.currentWorkspaceId
11700
+ });
11701
+ }
11541
11702
  /** Get the underlying ArbiClient (throws if not initialized). */
11542
11703
  getClient() {
11543
11704
  return this.requireClient();
@@ -14028,6 +14189,6 @@ function composeTools(base, next, mode) {
14028
14189
  return structuredClone(mode === "add" ? { ...base, ...next } : next);
14029
14190
  }
14030
14191
 
14031
- export { ACCOUNT_VENDOR, Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ArbiStructuredOutputError, ArbiTransportError, ArbiWorkspaceChangedError, ArbiWorkspaceSupersededError, ArbiWorkspaceUnavailableError, CallApiError, DEFAULT_AI_USD_PER_GBP, DRIVE_SYNC_VENDORS, DuplicateContactError, ENTITY_KINDS, FLAT_TAG_KINDS, GOOGLE_VENDORS, IMANAGE_VENDORS, MAILBOX_SYNC_VENDORS, MAX_RETRIEVE_DOC_IDS, MICROSOFT_VENDORS, PRESENCE_KINDS, PROMPT_CONTEXT_CHARS, PlanStepsError, PublicBookingError, ResponseStream, SHAREPOINT_VENDORS, STOP_ID_WAIT_MS, STOP_REPEAT_WINDOW_MS, TAG_KINDS, TAG_NESTING_MAX_DEPTH, WebSocketAuthError, account_exports as account, agentconfig_exports as agentconfig, appendTranscriptionHints, assistant_exports as assistant, authenticatedFetch, bookPublicSlot, buildCitationChunkData, buildDocumentTools, buildFactsContextTool, buildRetrievalChunkTool, buildRetrievalFullContextTool, buildRetrievalTocTool, buildTurnRequest, calendar_exports as calendar, calls_exports as calls, canTagHaveParent, cancelPublicBooking, capabilities, chats_exports as chats, composeConfiguration, composeTools, computeRunStats, connectErrorMessage, connectWebSocket, connectWithReconnect, connectors_exports as connectors, contacts_exports as contacts, continuityPrompt, conversations_exports as conversations, countCitations, createAuthenticatedClient, createIndexAssigner, databases_exports as databases, defaultKindForFormat, doctags_exports as doctags, documentTools, documents_exports as documents, estimateDraftTokens, extractDocumentIdsFromMessages, extractFactIdsFromMessages, extractSubagentLanes, facts_exports as facts, files_exports as files, filterDocumentTags, filterSkills, findLeafForTaskMessage, findMainSiblingLeaf, findReplyTarget, findSubagentRunId, flattenTagTree, formatAgentStepLabel, formatFileSize, formatGbp, formatGbpPerMillionTokens, formatItemLabel, formatTokens, formatUserName, formatWorkspaceChoices, getAgentStepLabel, getAttachableRunId, getChildTags, getContextRemainingPercent, getContextUsedPercent, getContextUsedTokens, getCurrentStep, getEligibleParentTags, getErrorCode, getErrorMessage, getPublicBookingPage, getRawWorkspaceKey, getRunToAttach, getRunToCancel, getStepDisplay, getStepTool, getSubagentBranchRecord, getTagDescendantIds, health_exports as health, house_template_exports as houseTemplates, hydrateAgentSteps, identityErrorCode, identity_exports as identityVerification, instructions, isAnnotationTag, isConnectorVendorVisible, isDriveSyncVendor, isEntityTag, isFlatKind, isLabelTag, isMailboxSyncVendor, isNearAiUsageBudget, isPresenceTag, isSharePointVendor, isSharedSkill, isTraceItem, mail_exports as mail, mcpTools, mergeAgentSteps, model_connections_exports as modelConnections, notifications_exports as notifications, parseSSEEvents, parseSlashCommand, parseSlashTokenInProgress, parseStructuredResponse, performPasswordLogin, pickMainThread, profile_exports as profile, progressFetch, projects_exports as projects, quotaExceededFrom, quotaFromStreamError, reduceOutputItem, refusalReason, requireData, requireOk, resolveAuth, resolveCitations, resolveSummary, resolveWorkspace, responses_exports as responses, searchChunks, secure_mail_exports as secureMail, selectFullContextDocument, selectWorkspace, selectWorkspaceById, sessions_exports as sessions, settings_exports as settings, sliceToSubagentThread, streamSSE, stripCitationMarkdown, subagentJobLabel, summarizeCitations, tagUseCount, tags_exports as tags, tagsForScope, tagsOfGroup, topLevelAgentSteps, usdToGbp, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspaceConflictOf, workspaces_exports as workspaces, wouldCreateTagCycle };
14192
+ export { ACCOUNT_VENDOR, Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ArbiStructuredOutputError, ArbiTransportError, ArbiWorkspaceChangedError, ArbiWorkspaceSupersededError, ArbiWorkspaceUnavailableError, CallApiError, DEFAULT_AI_USD_PER_GBP, DRIVE_SYNC_VENDORS, DuplicateContactError, ENTITY_KINDS, FLAT_TAG_KINDS, GOOGLE_VENDORS, IMANAGE_VENDORS, MAILBOX_SYNC_VENDORS, MAX_RETRIEVE_DOC_IDS, MICROSOFT_VENDORS, PRESENCE_KINDS, PROMPT_CONTEXT_CHARS, PlanStepsError, PublicBookingError, ResponseStream, SHAREPOINT_VENDORS, STOP_ID_WAIT_MS, STOP_REPEAT_WINDOW_MS, TAG_KINDS, TAG_NESTING_MAX_DEPTH, WebSocketAuthError, account_exports as account, agentconfig_exports as agentconfig, appendTranscriptionHints, assistant_exports as assistant, authenticatedFetch, bookPublicSlot, buildCitationChunkData, buildDocumentTools, buildFactsContextTool, buildRetrievalChunkTool, buildRetrievalFullContextTool, buildRetrievalTocTool, buildTurnRequest, calendar_exports as calendar, calls_exports as calls, canTagHaveParent, cancelPublicBooking, capabilities, chats_exports as chats, composeConfiguration, composeTools, computeRunStats, connectErrorMessage, connectWebSocket, connectWithReconnect, connectors_exports as connectors, contacts_exports as contacts, continuityPrompt, conversations_exports as conversations, countCitations, createAuthenticatedClient, createIndexAssigner, databases_exports as databases, defaultKindForFormat, diagnoseSetup, doctags_exports as doctags, documentTools, documents_exports as documents, estimateDraftTokens, extractDocumentIdsFromMessages, extractFactIdsFromMessages, extractSubagentLanes, facts_exports as facts, files_exports as files, filterDocumentTags, filterSkills, findLeafForTaskMessage, findMainSiblingLeaf, findReplyTarget, findSubagentRunId, flattenTagTree, formatAgentStepLabel, formatFileSize, formatGbp, formatGbpPerMillionTokens, formatItemLabel, formatTokens, formatUserName, formatWorkspaceChoices, getAgentStepLabel, getAttachableRunId, getChildTags, getContextRemainingPercent, getContextUsedPercent, getContextUsedTokens, getCurrentStep, getEligibleParentTags, getErrorCode, getErrorMessage, getPublicBookingPage, getRawWorkspaceKey, getRunToAttach, getRunToCancel, getStepDisplay, getStepTool, getSubagentBranchRecord, getTagDescendantIds, health_exports as health, house_template_exports as houseTemplates, hydrateAgentSteps, identityErrorCode, identity_exports as identityVerification, instructions, isAnnotationTag, isConnectorVendorVisible, isDriveSyncVendor, isEntityTag, isFlatKind, isLabelTag, isMailboxSyncVendor, isNearAiUsageBudget, isPresenceTag, isSharePointVendor, isSharedSkill, isTraceItem, mail_exports as mail, mcpTools, mergeAgentSteps, model_connections_exports as modelConnections, notifications_exports as notifications, parseSSEEvents, parseSlashCommand, parseSlashTokenInProgress, parseStructuredResponse, performPasswordLogin, pickMainThread, profile_exports as profile, progressFetch, projects_exports as projects, quotaExceededFrom, quotaFromStreamError, reduceOutputItem, refusalReason, requireData, requireOk, resolveAuth, resolveCitations, resolveSummary, resolveWorkspace, responses_exports as responses, searchChunks, secure_mail_exports as secureMail, selectFullContextDocument, selectWorkspace, selectWorkspaceById, sessions_exports as sessions, settings_exports as settings, sliceToSubagentThread, streamSSE, stripCitationMarkdown, subagentJobLabel, summarizeCitations, tagUseCount, tags_exports as tags, tagsForScope, tagsOfGroup, topLevelAgentSteps, usdToGbp, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspaceConflictOf, workspaces_exports as workspaces, wouldCreateTagCycle };
14032
14193
  //# sourceMappingURL=browser.js.map
14033
14194
  //# sourceMappingURL=browser.js.map