@arbidocs/sdk 0.5.145 → 0.5.147

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 AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, u as AssistantStatus, v as AttendeeRead, w as AuthContext, x as AuthHeaders, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, W as ChatCryptoContext, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a2 as ChatSession, a3 as CitationSummary, a4 as CitationToolSources, a5 as CliConfig, a6 as CliCredentials, a7 as CommandDescriptor, a8 as ConfigStore, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, am as CreateFactRequest, an as CreateFactsRequest, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, as as DRIVE_SYNC_VENDORS, at as Database, au as DatabaseAggregateRequest, av as DatabaseAggregateResult, aw as DatabaseColumn, ax as DatabaseColumnWrite, ay as DatabaseImportResult, az as DatabaseRow, aA as DatabaseRowPage, aB as DatabaseRowsQuery, aC as DateTimeSpec, aE as DecryptedChatMessage, aF as DeploymentHouseTemplate, aG as DiagnoseOptions, aH as DirectModelUsage, aI as DocInfo, aJ as DocInfoMap, aL as DocumentAutomationAction, aO as DocumentSelector, aR as DriveSyncProgress, aS as DriveSyncSummary, aT as DuplicateContactError, aU as ENTITY_KINDS, aV as EditScope, aW as EntityKind, aX as EventCreateBody, aY as EventPatchBody, aZ as FLAT_TAG_KINDS, a_ as FactResponse, a$ as FactSearchRequest, b0 as FactSearchResponse, b1 as FindTimeParams, b3 as FreeBusyEntry, b4 as FullContextSelection, b5 as GOOGLE_VENDORS, b6 as HolidayCountry, b7 as HouseTemplateCandidate, b8 as IMANAGE_VENDORS, b9 as IdentityErrorCode, ba as IdentityPurchase, bb as IdentityState, bc as IdentityStatus, bd as ImportResult, be as InvitationRead, bf as JsonSchemaOutputFormat, bg as LinkedRun, bi as ListEventsParams, bj as ListFactsOptions, bl as MAILBOX_SYNC_VENDORS, bm as MAX_RETRIEVE_DOC_IDS, bn as MICROSOFT_VENDORS, bq as ModelConnection, br as OAuthAccountKind, bs as OutputItemDone, bt as OverlayItem, bu as OverlayLayerName, bv as PRESENCE_KINDS, bw as PROMPT_CONTEXT_CHARS, bx as ParsedResponse, by as ParsedSlashCommand, bz as ParsedStructuredResponse, bA as PendingAuthResponse, bB as PersonKey, bC as PersonalConnectionInput, bD as PlanStepsError, bE as PlanWorkRequest, bF as ProductResponse, bG as ProjectAddonKind, bH as ProjectAddonSettingsRequest, bI as ProjectBudget, bJ as ProjectCheckoutRequest, bK as ProjectConversationUsageResponse, bL as ProjectCreateOptions, bM as ProjectDetails, bN as ProjectEventKind, bO as ProjectEventResponse, bP as ProjectInvoicesResponse, bQ as ProjectNextPeriodAddonsRequest, bR as ProjectPlanChangeRequest, bS as ProjectQuoteRequest, bT as ProjectResponse, bU as ProjectUpdateRequest, bV as ProjectUsageResponse, bW as PublicBookingError, bX as PublicBookingPage, bY as QuotaExceeded, bZ as RaisedSignal, b_ as RawResponseEvent, b$ as ReconnectOptions, c0 as ReconnectableWsConnection, c1 as ResolvedCitation, c3 as RespondParams, c4 as RespondPartstat, c5 as Response, c6 as ResponseCreateRequest, c7 as ResponseCreateResult, c8 as ResponseHandle, c9 as ResponseSnapshot, ca as ResponseStart, cb as ResponseStartOptions, cc as ResponseStream, cd as ResponseStreamEvent, ce as ResponseTools, cf as RoomCreateBody, cg as RoomQuery, ch as RoomRead, ci as RunProgress, cj as RunStats, ck as RunStep, cl as RunWaitingOn, cm as SHAREPOINT_VENDORS, cn as SSEEvent, co as SSEStreamCallbacks, cp as SSEStreamOutcome, cq as SSEStreamResult, cs as STOP_ID_WAIT_MS, ct as STOP_REPEAT_WINDOW_MS, cv as ScopedTarget, cw as SearchChunk, cx as SecureMailCompose, cy as SecureMailSend, cz as SecureMailSender, cA as SendBack, cB as SetupDiagnostic, cC as SetupReport, cD as ShareRead, cE as ShareRole, cF as SkillSummary, cG as SkippedFile, cH as SlackConnectionStatus, cI as StepActionRequest, cJ as StepActivityEvent, cK as StepAssignee, cL as StepDisplay, cM as StepField, cP as StepKind, cQ as StepPhase, cR as StepSignal, cS as StepSignalWhen, cT as StepState, cU as StepStatus, cV as SubagentBranchRecord, cW as SubagentLaneInfo, cX as SubmitBackgroundQueryOptions, cY as SubscribeParams, cZ as SupportRating, c_ as SupportTicket, c$ as SupportTicketInput, d0 as SyncTriggerResult, d1 as TAG_KINDS, d2 as TAG_NESTING_MAX_DEPTH, d3 as TagChange, d4 as TagFieldDefinition, d5 as TagGroup, d6 as TagKind, d7 as TagKindField, d8 as TagKindSchema, d9 as TagLinks, da as TagListQuery, db as TagNode, dc as TagResponse, dd as TagScope, de as TagTreeRow, df as TaskPlan, dg as TaskPlanStep, dh as TaxQuoteResponse, di as Thread, dj as ThreadsResponse, dk as TimeSuggestion, dl as TurnRequest, dm as UpdateConversationRequest, dn as UpdateFactRequest, dp as UpdateWorkflowRequest, dt as UploadDocumentsOptions, du as UploadOptions, dv as UploadProgressListener, dw as UploadResult, dx as UsageBreakdown, dy as UserConnectorEntry, dz as UserDailyUsageResponse, dA as UserInfo, dB as WebSocketAuthError, dC as WeeklyHoursSpec, dD as WorkStatus, dE as WorkflowAuthMode, dF as WorkflowResponse, dG as WorkflowRunHistoryResponse, dH as WorkflowRunResponse, dI as WorkspaceConflict, dJ as WorkspaceContext, dK as WorkspaceOpenResponse, dL as WorkspaceResponse, dM as WsConnection, dN as account, dO as agentconfig, dQ as appendTranscriptionHints, dR as assistant, dS as authenticatedFetch, dT as bookPublicSlot, dU as buildCitationChunkData, dW as buildDocumentTools, dX as buildFactsContextTool, dY as buildRetrievalChunkTool, dZ as buildRetrievalFullContextTool, d_ as buildRetrievalTocTool, d$ as buildTurnRequest, e0 as calendar, e1 as calls, e2 as canTagHaveParent, e3 as cancelPublicBooking, e4 as capabilities, e5 as chats, e6 as composeConfiguration, e7 as composeTools, e8 as computeRunStats, e9 as connectErrorMessage, ea as connectWebSocket, eb as connectWithReconnect, ec as connectors, ed as contacts, ee as continuityPrompt, ef as conversations, eg as countCitations, eh as createAuthenticatedClient, ej as createIndexAssigner, ek as databases, el as defaultKindForFormat, em as diagnoseSetup, en as doctags, eo as documentTools, ep as documents, eq as estimateDraftTokens, er as extractDocumentIdsFromMessages, es as extractFactIdsFromMessages, et as extractSubagentLanes, eu as facts, ev as files, ew as filterDocumentTags, ex as filterSkills, ey as findLeafForTaskMessage, ez as findMainSiblingLeaf, eA as findReplyTarget, eB as findSubagentRunId, eC as flattenTagTree, eD as formatAgentStepLabel, eE as formatFileSize, eF as formatGbp, eG as formatGbpPerMillionTokens, eH as formatItemLabel, eJ as formatTokens, eK as formatUserName, eL as formatWorkspaceChoices, eP as getAgentStepLabel, eQ as getAttachableRunId, eR as getChildTags, eS as getContextRemainingPercent, eT as getContextUsedPercent, eU as getContextUsedTokens, eV as getCurrentStep, eW as getEligibleParentTags, eX as getErrorCode, eY as getErrorMessage, eZ as getPublicBookingPage, e_ as getRawWorkspaceKey, e$ as getRunToAttach, f0 as getRunToCancel, f1 as getStepDisplay, f2 as getStepTool, f3 as getSubagentBranchRecord, f4 as getTagDescendantIds, f5 as health, f6 as houseTemplates, f7 as hydrateAgentSteps, f9 as identityErrorCode, f8 as identityVerification, fa as instructions, fb as isAnnotationTag, fc as isConnectorVendorVisible, fd as isDriveSyncVendor, fe as isEntityTag, ff as isFlatKind, fg as isLabelTag, fh as isMailboxSyncVendor, fi as isNearAiUsageBudget, fj as isPresenceTag, fk as isSharePointVendor, fl as isSharedSkill, fm as isTraceItem, fn as mail, fo as mcpTools, fp as mergeAgentSteps, fq as modelConnections, fr as notifications, fs as parseSSEEvents, ft as parseSlashCommand, fu as parseSlashTokenInProgress, fv as parseStructuredResponse, fw as performPasswordLogin, fz as pickMainThread, fA as profile, fB as progressFetch, fC as projects, fD as quotaExceededFrom, fE as quotaFromStreamError, fF as reduceOutputItem, fG as refusalReason, fH as requireData, fI as requireOk, fJ as resolveAuth, fK as resolveCitations, fL as resolveSummary, fM as resolveWorkspace, fN as responses, fO as searchChunks, fP as secureMail, fQ as selectFullContextDocument, fR as selectWorkspace, fS as selectWorkspaceById, fT as sessions, fU as settings, fW as sliceToSubagentThread, fX as streamSSE, fY as stripCitationMarkdown, fZ as subagentJobLabel, f_ as summarizeCitations, f$ as support, g0 as tagUseCount, g1 as tags, g2 as tagsForScope, g3 as tagsOfGroup, g4 as topLevelAgentSteps, g6 as usdToGbp, g7 as work, g8 as workflowSteps, g9 as workflows, ga as workspaceAssistant, gb as workspaceConflictOf, gc as workspaces, gd as wouldCreateTagCycle } from './browser-C2Fm_iTe.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 AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, u as AssistantStatus, v as AttendeeRead, w as AuthContext, x as AuthHeaders, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, W as ChatCryptoContext, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a2 as ChatSession, a3 as CitationSummary, a4 as CitationToolSources, a5 as CliConfig, a6 as CliCredentials, a7 as CommandDescriptor, a8 as ConfigStore, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, am as CreateFactRequest, an as CreateFactsRequest, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, ar as DOCUMENTS_VIEW_TARGET, at as DRIVE_SYNC_VENDORS, au as Database, av as DatabaseAggregateRequest, aw as DatabaseAggregateResult, ax as DatabaseColumn, ay as DatabaseColumnWrite, az as DatabaseImportResult, aA as DatabaseRow, aB as DatabaseRowPage, aC as DatabaseRowsQuery, aD as DateTimeSpec, aF as DecryptedChatMessage, aG as DeploymentHouseTemplate, aH as DiagnoseOptions, aI as DirectModelUsage, aJ as DocInfo, aK as DocInfoMap, aM as DocumentAutomationAction, aP as DocumentSelector, aS as DriveSyncProgress, aT as DriveSyncSummary, aU as DuplicateContactError, aV as ENTITY_KINDS, aW as EditScope, aX as EntityKind, aY as EventCreateBody, aZ as EventPatchBody, a_ as FLAT_TAG_KINDS, a$ as FactResponse, b0 as FactSearchRequest, b1 as FactSearchResponse, b2 as FindTimeParams, b4 as FreeBusyEntry, b5 as FullContextSelection, b6 as GOOGLE_VENDORS, b7 as HolidayCountry, b8 as HouseTemplateCandidate, b9 as IMANAGE_VENDORS, ba as IdentityErrorCode, bb as IdentityPurchase, bc as IdentityState, bd as IdentityStatus, be as ImportResult, bf as InvitationRead, bg as JsonSchemaOutputFormat, bh as LinkedRun, bj as ListEventsParams, bk as ListFactsOptions, bm as MAILBOX_SYNC_VENDORS, bn as MAX_RETRIEVE_DOC_IDS, bo as MICROSOFT_VENDORS, br as ModelConnection, bs as OAuthAccountKind, bt as OutputItemDone, bu as OverlayItem, bv as OverlayLayerName, bw as PRESENCE_KINDS, bx as PROMPT_CONTEXT_CHARS, by as Page, bz as PagePrivateContentError, bA as PageRecord, bB as PageSpecWire, bC as PageViewRef, bD as ParsedResponse, bE as ParsedSlashCommand, bF as ParsedStructuredResponse, bG as PendingAuthResponse, bH as PersonKey, bI as PersonalConnectionInput, bJ as PlanStepsError, bK as PlanWorkRequest, bL as ProductResponse, bM as ProjectAddonKind, bN as ProjectAddonSettingsRequest, bO as ProjectBudget, bP as ProjectCheckoutRequest, bQ as ProjectConversationUsageResponse, bR as ProjectCreateOptions, bS as ProjectDetails, bT as ProjectEventKind, bU as ProjectEventResponse, bV as ProjectInvoicesResponse, bW as ProjectNextPeriodAddonsRequest, bX as ProjectPlanChangeRequest, bY as ProjectQuoteRequest, bZ as ProjectResponse, b_ as ProjectUpdateRequest, b$ as ProjectUsageResponse, c0 as PublicBookingError, c1 as PublicBookingPage, c2 as QuotaExceeded, c3 as RaisedSignal, c4 as RawResponseEvent, c5 as ReconnectOptions, c6 as ReconnectableWsConnection, c7 as ResolvedCitation, c9 as RespondParams, ca as RespondPartstat, cb as Response, cc as ResponseCreateRequest, cd as ResponseCreateResult, ce as ResponseHandle, cf as ResponseSnapshot, cg as ResponseStart, ch as ResponseStartOptions, ci as ResponseStream, cj as ResponseStreamEvent, ck as ResponseTools, cl as RoomCreateBody, cm as RoomQuery, cn as RoomRead, co as RunProgress, cp as RunStats, cq as RunStep, cr as RunWaitingOn, cs as SHAREPOINT_VENDORS, ct as SSEEvent, cu as SSEStreamCallbacks, cv as SSEStreamOutcome, cw as SSEStreamResult, cy as STOP_ID_WAIT_MS, cz as STOP_REPEAT_WINDOW_MS, cB as ScopedTarget, cC as SearchChunk, cD as SecureMailCompose, cE as SecureMailSend, cF as SecureMailSender, cG as SendBack, cH as SetupDiagnostic, cI as SetupReport, cJ as ShareRead, cK as ShareRole, cL as SkillSummary, cM as SkippedFile, cN as SlackConnectionStatus, cO as StepActionRequest, cP as StepActivityEvent, cQ as StepAssignee, cR as StepDisplay, cS as StepField, cV as StepKind, cW as StepPhase, cX as StepSignal, cY as StepSignalWhen, cZ as StepState, c_ as StepStatus, c$ as SubagentBranchRecord, d0 as SubagentLaneInfo, d1 as SubmitBackgroundQueryOptions, d2 as SubscribeParams, d3 as SupportRating, d4 as SupportTicket, d5 as SupportTicketInput, d6 as SyncTriggerResult, d7 as TAG_KINDS, d8 as TAG_NESTING_MAX_DEPTH, d9 as TableViewFilter, da as TableViewRecord, db as TableViewSpec, dc as TableViewTarget, dd as TagChange, de as TagFieldDefinition, df as TagGroup, dg as TagKind, dh as TagKindField, di as TagKindSchema, dj as TagLinks, dk as TagListQuery, dl as TagNode, dm as TagResponse, dn as TagScope, dp as TagTreeRow, dq as TaskPlan, dr as TaskPlanStep, ds as TaxQuoteResponse, dt as Thread, du as ThreadsResponse, dv as TimeSuggestion, dw as TurnRequest, dx as UpdateConversationRequest, dy as UpdateFactRequest, dz as UpdateWorkflowRequest, dD as UploadDocumentsOptions, dE as UploadOptions, dF as UploadProgressListener, dG as UploadResult, dH as UsageBreakdown, dI as UserConnectorEntry, dJ as UserDailyUsageResponse, dK as UserInfo, dL as WebSocketAuthError, dM as WeeklyHoursSpec, dN as WorkStatus, dO as WorkflowAuthMode, dP as WorkflowResponse, dQ as WorkflowRunHistoryResponse, dR as WorkflowRunResponse, dS as WorkspaceConflict, dT as WorkspaceContext, dU as WorkspaceOpenResponse, dV as WorkspaceResponse, dW as WsConnection, dX as account, dY as agentconfig, d_ as appendTranscriptionHints, d$ as assistant, e0 as authenticatedFetch, e1 as bookPublicSlot, e2 as buildCitationChunkData, e4 as buildDocumentTools, e5 as buildFactsContextTool, e6 as buildRetrievalChunkTool, e7 as buildRetrievalFullContextTool, e8 as buildRetrievalTocTool, e9 as buildTurnRequest, ea as calendar, eb as calls, ec as canTagHaveParent, ed as cancelPublicBooking, ee as capabilities, ef as chats, eg as composeConfiguration, eh as composeTools, ei as computeRunStats, ej as connectErrorMessage, ek as connectWebSocket, el as connectWithReconnect, em as connectors, en as contacts, eo as continuityPrompt, ep as conversations, eq as countCitations, er as createAuthenticatedClient, et as createIndexAssigner, eu as databases, ev as defaultKindForFormat, ew as diagnoseSetup, ex as doctags, ey as documentTools, ez as documents, eA as estimateDraftTokens, eB as extractDocumentIdsFromMessages, eC as extractFactIdsFromMessages, eD as extractSubagentLanes, eE as facts, eF as files, eG as filterDocumentTags, eH as filterSkills, eI as filterText, eJ as findLeafForTaskMessage, eK as findMainSiblingLeaf, eL as findReplyTarget, eM as findSubagentRunId, eN as flattenTagTree, eO as formatAgentStepLabel, eP as formatFileSize, eQ as formatGbp, eR as formatGbpPerMillionTokens, eS as formatItemLabel, eU as formatTokens, eV as formatUserName, eW as formatWorkspaceChoices, e_ as getAgentStepLabel, e$ as getAttachableRunId, f0 as getChildTags, f1 as getContextRemainingPercent, f2 as getContextUsedPercent, f3 as getContextUsedTokens, f4 as getCurrentStep, f5 as getEligibleParentTags, f6 as getErrorCode, f7 as getErrorMessage, f8 as getPublicBookingPage, f9 as getRawWorkspaceKey, fa as getRunToAttach, fb as getRunToCancel, fc as getStepDisplay, fd as getStepTool, fe as getSubagentBranchRecord, ff as getTagDescendantIds, fg as health, fh as houseTemplates, fi as hydrateAgentSteps, fk as identityErrorCode, fj as identityVerification, fl as instructions, fm as isAnnotationTag, fn as isConnectorVendorVisible, fo as isDriveSyncVendor, fp as isEntityTag, fq as isFlatKind, fr as isLabelTag, fs as isMailboxSyncVendor, ft as isNearAiUsageBudget, fu as isPresenceTag, fv as isSharePointVendor, fw as isSharedSkill, fx as isTraceItem, fy as mail, fz as mcpTools, fA as mergeAgentSteps, fB as modelConnections, fC as notifications, fD as pages, fE as parseSSEEvents, fF as parseSlashCommand, fG as parseSlashTokenInProgress, fH as parseStructuredResponse, fI as performPasswordLogin, fL as pickMainThread, fM as profile, fN as progressFetch, fO as projects, fP as quotaExceededFrom, fQ as quotaFromStreamError, fR as reduceOutputItem, fS as refusalReason, fT as requireData, fU as requireOk, fV as resolveAuth, fW as resolveCitations, fX as resolveSummary, fY as resolveWorkspace, fZ as responses, f_ as searchChunks, f$ as secureMail, g0 as selectFullContextDocument, g1 as selectWorkspace, g2 as selectWorkspaceById, g3 as sessions, g4 as settings, g6 as sliceToSubagentThread, g7 as streamSSE, g8 as stripCitationMarkdown, g9 as subagentJobLabel, ga as summarizeCitations, gb as support, gc as tagUseCount, gd as tags, ge as tagsForScope, gf as tagsOfGroup, gg as topLevelAgentSteps, gi as usdToGbp, gj as views, gk as work, gl as workflowSteps, gm as workflows, gn as workspaceAssistant, go as workspaceConflictOf, gp as workspaces, gq as wouldCreateTagCycle } from './browser-8ZBWzFtx.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-B5Lw0KTC.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 AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, u as AssistantStatus, v as AttendeeRead, w as AuthContext, x as AuthHeaders, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, W as ChatCryptoContext, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a2 as ChatSession, a3 as CitationSummary, a4 as CitationToolSources, a5 as CliConfig, a6 as CliCredentials, a7 as CommandDescriptor, a8 as ConfigStore, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, am as CreateFactRequest, an as CreateFactsRequest, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, as as DRIVE_SYNC_VENDORS, at as Database, au as DatabaseAggregateRequest, av as DatabaseAggregateResult, aw as DatabaseColumn, ax as DatabaseColumnWrite, ay as DatabaseImportResult, az as DatabaseRow, aA as DatabaseRowPage, aB as DatabaseRowsQuery, aC as DateTimeSpec, aE as DecryptedChatMessage, aF as DeploymentHouseTemplate, aG as DiagnoseOptions, aH as DirectModelUsage, aI as DocInfo, aJ as DocInfoMap, aL as DocumentAutomationAction, aO as DocumentSelector, aR as DriveSyncProgress, aS as DriveSyncSummary, aT as DuplicateContactError, aU as ENTITY_KINDS, aV as EditScope, aW as EntityKind, aX as EventCreateBody, aY as EventPatchBody, aZ as FLAT_TAG_KINDS, a_ as FactResponse, a$ as FactSearchRequest, b0 as FactSearchResponse, b1 as FindTimeParams, b3 as FreeBusyEntry, b4 as FullContextSelection, b5 as GOOGLE_VENDORS, b6 as HolidayCountry, b7 as HouseTemplateCandidate, b8 as IMANAGE_VENDORS, b9 as IdentityErrorCode, ba as IdentityPurchase, bb as IdentityState, bc as IdentityStatus, bd as ImportResult, be as InvitationRead, bf as JsonSchemaOutputFormat, bg as LinkedRun, bi as ListEventsParams, bj as ListFactsOptions, bl as MAILBOX_SYNC_VENDORS, bm as MAX_RETRIEVE_DOC_IDS, bn as MICROSOFT_VENDORS, bq as ModelConnection, br as OAuthAccountKind, bs as OutputItemDone, bt as OverlayItem, bu as OverlayLayerName, bv as PRESENCE_KINDS, bw as PROMPT_CONTEXT_CHARS, bx as ParsedResponse, by as ParsedSlashCommand, bz as ParsedStructuredResponse, bA as PendingAuthResponse, bB as PersonKey, bC as PersonalConnectionInput, bD as PlanStepsError, bE as PlanWorkRequest, bF as ProductResponse, bG as ProjectAddonKind, bH as ProjectAddonSettingsRequest, bI as ProjectBudget, bJ as ProjectCheckoutRequest, bK as ProjectConversationUsageResponse, bL as ProjectCreateOptions, bM as ProjectDetails, bN as ProjectEventKind, bO as ProjectEventResponse, bP as ProjectInvoicesResponse, bQ as ProjectNextPeriodAddonsRequest, bR as ProjectPlanChangeRequest, bS as ProjectQuoteRequest, bT as ProjectResponse, bU as ProjectUpdateRequest, bV as ProjectUsageResponse, bW as PublicBookingError, bX as PublicBookingPage, bY as QuotaExceeded, bZ as RaisedSignal, b_ as RawResponseEvent, b$ as ReconnectOptions, c0 as ReconnectableWsConnection, c1 as ResolvedCitation, c3 as RespondParams, c4 as RespondPartstat, c5 as Response, c6 as ResponseCreateRequest, c7 as ResponseCreateResult, c8 as ResponseHandle, c9 as ResponseSnapshot, ca as ResponseStart, cb as ResponseStartOptions, cc as ResponseStream, cd as ResponseStreamEvent, ce as ResponseTools, cf as RoomCreateBody, cg as RoomQuery, ch as RoomRead, ci as RunProgress, cj as RunStats, ck as RunStep, cl as RunWaitingOn, cm as SHAREPOINT_VENDORS, cn as SSEEvent, co as SSEStreamCallbacks, cp as SSEStreamOutcome, cq as SSEStreamResult, cs as STOP_ID_WAIT_MS, ct as STOP_REPEAT_WINDOW_MS, cv as ScopedTarget, cw as SearchChunk, cx as SecureMailCompose, cy as SecureMailSend, cz as SecureMailSender, cA as SendBack, cB as SetupDiagnostic, cC as SetupReport, cD as ShareRead, cE as ShareRole, cF as SkillSummary, cG as SkippedFile, cH as SlackConnectionStatus, cI as StepActionRequest, cJ as StepActivityEvent, cK as StepAssignee, cL as StepDisplay, cM as StepField, cP as StepKind, cQ as StepPhase, cR as StepSignal, cS as StepSignalWhen, cT as StepState, cU as StepStatus, cV as SubagentBranchRecord, cW as SubagentLaneInfo, cX as SubmitBackgroundQueryOptions, cY as SubscribeParams, cZ as SupportRating, c_ as SupportTicket, c$ as SupportTicketInput, d0 as SyncTriggerResult, d1 as TAG_KINDS, d2 as TAG_NESTING_MAX_DEPTH, d3 as TagChange, d4 as TagFieldDefinition, d5 as TagGroup, d6 as TagKind, d7 as TagKindField, d8 as TagKindSchema, d9 as TagLinks, da as TagListQuery, db as TagNode, dc as TagResponse, dd as TagScope, de as TagTreeRow, df as TaskPlan, dg as TaskPlanStep, dh as TaxQuoteResponse, di as Thread, dj as ThreadsResponse, dk as TimeSuggestion, dl as TurnRequest, dm as UpdateConversationRequest, dn as UpdateFactRequest, dp as UpdateWorkflowRequest, dt as UploadDocumentsOptions, du as UploadOptions, dv as UploadProgressListener, dw as UploadResult, dx as UsageBreakdown, dy as UserConnectorEntry, dz as UserDailyUsageResponse, dA as UserInfo, dB as WebSocketAuthError, dC as WeeklyHoursSpec, dD as WorkStatus, dE as WorkflowAuthMode, dF as WorkflowResponse, dG as WorkflowRunHistoryResponse, dH as WorkflowRunResponse, dI as WorkspaceConflict, dJ as WorkspaceContext, dK as WorkspaceOpenResponse, dL as WorkspaceResponse, dM as WsConnection, dN as account, dO as agentconfig, dQ as appendTranscriptionHints, dR as assistant, dS as authenticatedFetch, dT as bookPublicSlot, dU as buildCitationChunkData, dW as buildDocumentTools, dX as buildFactsContextTool, dY as buildRetrievalChunkTool, dZ as buildRetrievalFullContextTool, d_ as buildRetrievalTocTool, d$ as buildTurnRequest, e0 as calendar, e1 as calls, e2 as canTagHaveParent, e3 as cancelPublicBooking, e4 as capabilities, e5 as chats, e6 as composeConfiguration, e7 as composeTools, e8 as computeRunStats, e9 as connectErrorMessage, ea as connectWebSocket, eb as connectWithReconnect, ec as connectors, ed as contacts, ee as continuityPrompt, ef as conversations, eg as countCitations, eh as createAuthenticatedClient, ej as createIndexAssigner, ek as databases, el as defaultKindForFormat, em as diagnoseSetup, en as doctags, eo as documentTools, ep as documents, eq as estimateDraftTokens, er as extractDocumentIdsFromMessages, es as extractFactIdsFromMessages, et as extractSubagentLanes, eu as facts, ev as files, ew as filterDocumentTags, ex as filterSkills, ey as findLeafForTaskMessage, ez as findMainSiblingLeaf, eA as findReplyTarget, eB as findSubagentRunId, eC as flattenTagTree, eD as formatAgentStepLabel, eE as formatFileSize, eF as formatGbp, eG as formatGbpPerMillionTokens, eH as formatItemLabel, eJ as formatTokens, eK as formatUserName, eL as formatWorkspaceChoices, eP as getAgentStepLabel, eQ as getAttachableRunId, eR as getChildTags, eS as getContextRemainingPercent, eT as getContextUsedPercent, eU as getContextUsedTokens, eV as getCurrentStep, eW as getEligibleParentTags, eX as getErrorCode, eY as getErrorMessage, eZ as getPublicBookingPage, e_ as getRawWorkspaceKey, e$ as getRunToAttach, f0 as getRunToCancel, f1 as getStepDisplay, f2 as getStepTool, f3 as getSubagentBranchRecord, f4 as getTagDescendantIds, f5 as health, f6 as houseTemplates, f7 as hydrateAgentSteps, f9 as identityErrorCode, f8 as identityVerification, fa as instructions, fb as isAnnotationTag, fc as isConnectorVendorVisible, fd as isDriveSyncVendor, fe as isEntityTag, ff as isFlatKind, fg as isLabelTag, fh as isMailboxSyncVendor, fi as isNearAiUsageBudget, fj as isPresenceTag, fk as isSharePointVendor, fl as isSharedSkill, fm as isTraceItem, fn as mail, fo as mcpTools, fp as mergeAgentSteps, fq as modelConnections, fr as notifications, fs as parseSSEEvents, ft as parseSlashCommand, fu as parseSlashTokenInProgress, fv as parseStructuredResponse, fw as performPasswordLogin, fz as pickMainThread, fA as profile, fB as progressFetch, fC as projects, fD as quotaExceededFrom, fE as quotaFromStreamError, fF as reduceOutputItem, fG as refusalReason, fH as requireData, fI as requireOk, fJ as resolveAuth, fK as resolveCitations, fL as resolveSummary, fM as resolveWorkspace, fN as responses, fO as searchChunks, fP as secureMail, fQ as selectFullContextDocument, fR as selectWorkspace, fS as selectWorkspaceById, fT as sessions, fU as settings, fW as sliceToSubagentThread, fX as streamSSE, fY as stripCitationMarkdown, fZ as subagentJobLabel, f_ as summarizeCitations, f$ as support, g0 as tagUseCount, g1 as tags, g2 as tagsForScope, g3 as tagsOfGroup, g4 as topLevelAgentSteps, g6 as usdToGbp, g7 as work, g8 as workflowSteps, g9 as workflows, ga as workspaceAssistant, gb as workspaceConflictOf, gc as workspaces, gd as wouldCreateTagCycle } from './browser-Cnw8-hVH.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 AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, u as AssistantStatus, v as AttendeeRead, w as AuthContext, x as AuthHeaders, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, W as ChatCryptoContext, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a2 as ChatSession, a3 as CitationSummary, a4 as CitationToolSources, a5 as CliConfig, a6 as CliCredentials, a7 as CommandDescriptor, a8 as ConfigStore, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, am as CreateFactRequest, an as CreateFactsRequest, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, ar as DOCUMENTS_VIEW_TARGET, at as DRIVE_SYNC_VENDORS, au as Database, av as DatabaseAggregateRequest, aw as DatabaseAggregateResult, ax as DatabaseColumn, ay as DatabaseColumnWrite, az as DatabaseImportResult, aA as DatabaseRow, aB as DatabaseRowPage, aC as DatabaseRowsQuery, aD as DateTimeSpec, aF as DecryptedChatMessage, aG as DeploymentHouseTemplate, aH as DiagnoseOptions, aI as DirectModelUsage, aJ as DocInfo, aK as DocInfoMap, aM as DocumentAutomationAction, aP as DocumentSelector, aS as DriveSyncProgress, aT as DriveSyncSummary, aU as DuplicateContactError, aV as ENTITY_KINDS, aW as EditScope, aX as EntityKind, aY as EventCreateBody, aZ as EventPatchBody, a_ as FLAT_TAG_KINDS, a$ as FactResponse, b0 as FactSearchRequest, b1 as FactSearchResponse, b2 as FindTimeParams, b4 as FreeBusyEntry, b5 as FullContextSelection, b6 as GOOGLE_VENDORS, b7 as HolidayCountry, b8 as HouseTemplateCandidate, b9 as IMANAGE_VENDORS, ba as IdentityErrorCode, bb as IdentityPurchase, bc as IdentityState, bd as IdentityStatus, be as ImportResult, bf as InvitationRead, bg as JsonSchemaOutputFormat, bh as LinkedRun, bj as ListEventsParams, bk as ListFactsOptions, bm as MAILBOX_SYNC_VENDORS, bn as MAX_RETRIEVE_DOC_IDS, bo as MICROSOFT_VENDORS, br as ModelConnection, bs as OAuthAccountKind, bt as OutputItemDone, bu as OverlayItem, bv as OverlayLayerName, bw as PRESENCE_KINDS, bx as PROMPT_CONTEXT_CHARS, by as Page, bz as PagePrivateContentError, bA as PageRecord, bB as PageSpecWire, bC as PageViewRef, bD as ParsedResponse, bE as ParsedSlashCommand, bF as ParsedStructuredResponse, bG as PendingAuthResponse, bH as PersonKey, bI as PersonalConnectionInput, bJ as PlanStepsError, bK as PlanWorkRequest, bL as ProductResponse, bM as ProjectAddonKind, bN as ProjectAddonSettingsRequest, bO as ProjectBudget, bP as ProjectCheckoutRequest, bQ as ProjectConversationUsageResponse, bR as ProjectCreateOptions, bS as ProjectDetails, bT as ProjectEventKind, bU as ProjectEventResponse, bV as ProjectInvoicesResponse, bW as ProjectNextPeriodAddonsRequest, bX as ProjectPlanChangeRequest, bY as ProjectQuoteRequest, bZ as ProjectResponse, b_ as ProjectUpdateRequest, b$ as ProjectUsageResponse, c0 as PublicBookingError, c1 as PublicBookingPage, c2 as QuotaExceeded, c3 as RaisedSignal, c4 as RawResponseEvent, c5 as ReconnectOptions, c6 as ReconnectableWsConnection, c7 as ResolvedCitation, c9 as RespondParams, ca as RespondPartstat, cb as Response, cc as ResponseCreateRequest, cd as ResponseCreateResult, ce as ResponseHandle, cf as ResponseSnapshot, cg as ResponseStart, ch as ResponseStartOptions, ci as ResponseStream, cj as ResponseStreamEvent, ck as ResponseTools, cl as RoomCreateBody, cm as RoomQuery, cn as RoomRead, co as RunProgress, cp as RunStats, cq as RunStep, cr as RunWaitingOn, cs as SHAREPOINT_VENDORS, ct as SSEEvent, cu as SSEStreamCallbacks, cv as SSEStreamOutcome, cw as SSEStreamResult, cy as STOP_ID_WAIT_MS, cz as STOP_REPEAT_WINDOW_MS, cB as ScopedTarget, cC as SearchChunk, cD as SecureMailCompose, cE as SecureMailSend, cF as SecureMailSender, cG as SendBack, cH as SetupDiagnostic, cI as SetupReport, cJ as ShareRead, cK as ShareRole, cL as SkillSummary, cM as SkippedFile, cN as SlackConnectionStatus, cO as StepActionRequest, cP as StepActivityEvent, cQ as StepAssignee, cR as StepDisplay, cS as StepField, cV as StepKind, cW as StepPhase, cX as StepSignal, cY as StepSignalWhen, cZ as StepState, c_ as StepStatus, c$ as SubagentBranchRecord, d0 as SubagentLaneInfo, d1 as SubmitBackgroundQueryOptions, d2 as SubscribeParams, d3 as SupportRating, d4 as SupportTicket, d5 as SupportTicketInput, d6 as SyncTriggerResult, d7 as TAG_KINDS, d8 as TAG_NESTING_MAX_DEPTH, d9 as TableViewFilter, da as TableViewRecord, db as TableViewSpec, dc as TableViewTarget, dd as TagChange, de as TagFieldDefinition, df as TagGroup, dg as TagKind, dh as TagKindField, di as TagKindSchema, dj as TagLinks, dk as TagListQuery, dl as TagNode, dm as TagResponse, dn as TagScope, dp as TagTreeRow, dq as TaskPlan, dr as TaskPlanStep, ds as TaxQuoteResponse, dt as Thread, du as ThreadsResponse, dv as TimeSuggestion, dw as TurnRequest, dx as UpdateConversationRequest, dy as UpdateFactRequest, dz as UpdateWorkflowRequest, dD as UploadDocumentsOptions, dE as UploadOptions, dF as UploadProgressListener, dG as UploadResult, dH as UsageBreakdown, dI as UserConnectorEntry, dJ as UserDailyUsageResponse, dK as UserInfo, dL as WebSocketAuthError, dM as WeeklyHoursSpec, dN as WorkStatus, dO as WorkflowAuthMode, dP as WorkflowResponse, dQ as WorkflowRunHistoryResponse, dR as WorkflowRunResponse, dS as WorkspaceConflict, dT as WorkspaceContext, dU as WorkspaceOpenResponse, dV as WorkspaceResponse, dW as WsConnection, dX as account, dY as agentconfig, d_ as appendTranscriptionHints, d$ as assistant, e0 as authenticatedFetch, e1 as bookPublicSlot, e2 as buildCitationChunkData, e4 as buildDocumentTools, e5 as buildFactsContextTool, e6 as buildRetrievalChunkTool, e7 as buildRetrievalFullContextTool, e8 as buildRetrievalTocTool, e9 as buildTurnRequest, ea as calendar, eb as calls, ec as canTagHaveParent, ed as cancelPublicBooking, ee as capabilities, ef as chats, eg as composeConfiguration, eh as composeTools, ei as computeRunStats, ej as connectErrorMessage, ek as connectWebSocket, el as connectWithReconnect, em as connectors, en as contacts, eo as continuityPrompt, ep as conversations, eq as countCitations, er as createAuthenticatedClient, et as createIndexAssigner, eu as databases, ev as defaultKindForFormat, ew as diagnoseSetup, ex as doctags, ey as documentTools, ez as documents, eA as estimateDraftTokens, eB as extractDocumentIdsFromMessages, eC as extractFactIdsFromMessages, eD as extractSubagentLanes, eE as facts, eF as files, eG as filterDocumentTags, eH as filterSkills, eI as filterText, eJ as findLeafForTaskMessage, eK as findMainSiblingLeaf, eL as findReplyTarget, eM as findSubagentRunId, eN as flattenTagTree, eO as formatAgentStepLabel, eP as formatFileSize, eQ as formatGbp, eR as formatGbpPerMillionTokens, eS as formatItemLabel, eU as formatTokens, eV as formatUserName, eW as formatWorkspaceChoices, e_ as getAgentStepLabel, e$ as getAttachableRunId, f0 as getChildTags, f1 as getContextRemainingPercent, f2 as getContextUsedPercent, f3 as getContextUsedTokens, f4 as getCurrentStep, f5 as getEligibleParentTags, f6 as getErrorCode, f7 as getErrorMessage, f8 as getPublicBookingPage, f9 as getRawWorkspaceKey, fa as getRunToAttach, fb as getRunToCancel, fc as getStepDisplay, fd as getStepTool, fe as getSubagentBranchRecord, ff as getTagDescendantIds, fg as health, fh as houseTemplates, fi as hydrateAgentSteps, fk as identityErrorCode, fj as identityVerification, fl as instructions, fm as isAnnotationTag, fn as isConnectorVendorVisible, fo as isDriveSyncVendor, fp as isEntityTag, fq as isFlatKind, fr as isLabelTag, fs as isMailboxSyncVendor, ft as isNearAiUsageBudget, fu as isPresenceTag, fv as isSharePointVendor, fw as isSharedSkill, fx as isTraceItem, fy as mail, fz as mcpTools, fA as mergeAgentSteps, fB as modelConnections, fC as notifications, fD as pages, fE as parseSSEEvents, fF as parseSlashCommand, fG as parseSlashTokenInProgress, fH as parseStructuredResponse, fI as performPasswordLogin, fL as pickMainThread, fM as profile, fN as progressFetch, fO as projects, fP as quotaExceededFrom, fQ as quotaFromStreamError, fR as reduceOutputItem, fS as refusalReason, fT as requireData, fU as requireOk, fV as resolveAuth, fW as resolveCitations, fX as resolveSummary, fY as resolveWorkspace, fZ as responses, f_ as searchChunks, f$ as secureMail, g0 as selectFullContextDocument, g1 as selectWorkspace, g2 as selectWorkspaceById, g3 as sessions, g4 as settings, g6 as sliceToSubagentThread, g7 as streamSSE, g8 as stripCitationMarkdown, g9 as subagentJobLabel, ga as summarizeCitations, gb as support, gc as tagUseCount, gd as tags, ge as tagsForScope, gf as tagsOfGroup, gg as topLevelAgentSteps, gi as usdToGbp, gj as views, gk as work, gl as workflowSteps, gm as workflows, gn as workspaceAssistant, go as workspaceConflictOf, gp as workspaces, gq as wouldCreateTagCycle } from './browser-DKHZ8Q9X.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-B5Lw0KTC.js';
3
3
  export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
package/dist/browser.js CHANGED
@@ -3704,7 +3704,7 @@ async function authenticatedFetch(options) {
3704
3704
  const {
3705
3705
  baseUrl,
3706
3706
  accessToken,
3707
- path: path2,
3707
+ path: path3,
3708
3708
  method,
3709
3709
  body,
3710
3710
  headers,
@@ -3713,7 +3713,7 @@ async function authenticatedFetch(options) {
3713
3713
  } = options;
3714
3714
  let res;
3715
3715
  try {
3716
- res = await send(`${baseUrl}${path2}`, {
3716
+ res = await send(`${baseUrl}${path3}`, {
3717
3717
  method: method ?? (body ? "POST" : "GET"),
3718
3718
  headers: {
3719
3719
  Authorization: `Bearer ${accessToken}`,
@@ -4160,6 +4160,7 @@ async function streamSSE(response, callbacks = {}) {
4160
4160
  let assistantMessageExtId = null;
4161
4161
  const agentSteps = [];
4162
4162
  let toolCallCount = 0;
4163
+ let agentStepCount = 0;
4163
4164
  const errors = [];
4164
4165
  const artifacts = [];
4165
4166
  let userMessage = null;
@@ -4239,7 +4240,8 @@ async function streamSSE(response, callbacks = {}) {
4239
4240
  if (item?.type === "function_call" || item?.type === "reasoning") {
4240
4241
  const label = formatItemLabel(item);
4241
4242
  if (label) agentSteps.push(label);
4242
- if (item.type === "function_call") toolCallCount += 1;
4243
+ if (item.type === "function_call" && item.name) toolCallCount += 1;
4244
+ if (item.type === "reasoning" && item.arbi?.step !== "goal") agentStepCount += 1;
4243
4245
  }
4244
4246
  callbacks.onOutputItemDone?.(data);
4245
4247
  if (data.t != null) callbacks.onElapsedTime?.(data.t);
@@ -4407,6 +4409,7 @@ async function streamSSE(response, callbacks = {}) {
4407
4409
  assistantMessageExtId,
4408
4410
  agentSteps,
4409
4411
  toolCallCount,
4412
+ agentStepCount,
4410
4413
  errors,
4411
4414
  userMessage,
4412
4415
  metadata,
@@ -5034,7 +5037,7 @@ async function diagnoseSetup(options) {
5034
5037
  );
5035
5038
  return { ok: false, checks };
5036
5039
  }
5037
- const request = (path2, authenticated = false) => (options.fetch ?? globalThis.fetch)(`${base.href.replace(/\/$/, "")}${path2}`, {
5040
+ const request = (path3, authenticated = false) => (options.fetch ?? globalThis.fetch)(`${base.href.replace(/\/$/, "")}${path3}`, {
5038
5041
  method: "GET",
5039
5042
  credentials: "omit",
5040
5043
  redirect: "error",
@@ -6737,12 +6740,12 @@ async function prepareSecureMail(compose, sender, { requestId, senderPublicKey,
6737
6740
  async function claimSecureMail(mail, id, fragmentKey, recipientPublicKey) {
6738
6741
  const key = decodeSecureMailKey(fragmentKey);
6739
6742
  try {
6740
- const path2 = `/secure/${encodeURIComponent(id)}`;
6741
- const response = await mail(path2);
6743
+ const path3 = `/secure/${encodeURIComponent(id)}`;
6744
+ const response = await mail(path3);
6742
6745
  const { raw } = await openSecureMail(await response.json(), key);
6743
6746
  raw.fill(0);
6744
6747
  const claim = await secureMailClaim(key, recipientPublicKey);
6745
- const claimed = await mail(`${path2}/claim`, { method: "POST", body: JSON.stringify(claim) });
6748
+ const claimed = await mail(`${path3}/claim`, { method: "POST", body: JSON.stringify(claim) });
6746
6749
  return await claimed.json();
6747
6750
  } finally {
6748
6751
  key.fill(0);
@@ -9099,43 +9102,112 @@ async function confirmSpendLimits(arbi, projectExtId, body) {
9099
9102
  "Failed to confirm spending limits"
9100
9103
  );
9101
9104
  }
9102
- var encoder = new TextEncoder();
9105
+
9106
+ // src/operations/pages.ts
9107
+ var pages_exports = {};
9108
+ __export(pages_exports, {
9109
+ PagePrivateContentError: () => PagePrivateContentError,
9110
+ createPage: () => createPage,
9111
+ deletePage: () => deletePage,
9112
+ getPage: () => getPage,
9113
+ listPages: () => listPages,
9114
+ sharePage: () => sharePage,
9115
+ updatePage: () => updatePage
9116
+ });
9117
+ var PagePrivateContentError = class extends ArbiApiError {
9118
+ views;
9119
+ documents;
9120
+ constructor(message, views, documents, apiError) {
9121
+ super(message, apiError, 409, { code: "page_uses_private_content" });
9122
+ this.name = "PagePrivateContentError";
9123
+ this.views = views;
9124
+ this.documents = documents;
9125
+ }
9126
+ };
9103
9127
  var decoder = new TextDecoder();
9104
- var seal = (json2, keypair) => sealedBoxEncrypt(Uint8Array.from(encoder.encode(json2)), keypair.publicKey);
9105
- async function listUserDashboards(arbi, keypair) {
9106
- const rows = requireData(
9107
- await arbi.fetch.GET("/v1/user/dashboards"),
9108
- "Failed to load your dashboards"
9109
- );
9110
- return rows.map((row) => {
9111
- let json2 = null;
9128
+ function refusal3(result, fallback) {
9129
+ if (!result.error) return null;
9130
+ const detail = result.error.detail;
9131
+ if (result.response?.status === 409 && detail?.code === "page_uses_private_content") {
9132
+ return new PagePrivateContentError(
9133
+ detail.message ?? fallback,
9134
+ detail.views ?? [],
9135
+ detail.documents ?? [],
9136
+ result.error
9137
+ );
9138
+ }
9139
+ return null;
9140
+ }
9141
+ function pageOf(row, keypair) {
9142
+ let legacyJson = null;
9143
+ if (row.sealed && keypair) {
9112
9144
  try {
9113
- json2 = decoder.decode(sealedBoxDecrypt(row.ciphertext, keypair.secretKey));
9145
+ legacyJson = decoder.decode(sealedBoxDecrypt(row.sealed, keypair.secretKey));
9114
9146
  } catch {
9115
9147
  }
9116
- return { id: row.external_id, json: json2, updatedAt: row.updated_at };
9117
- });
9148
+ }
9149
+ return {
9150
+ id: row.external_id,
9151
+ workspaceId: row.workspace_id ?? null,
9152
+ shared: row.shared,
9153
+ spec: row.spec ?? null,
9154
+ legacyJson,
9155
+ unreadable: !!row.sealed && legacyJson === null,
9156
+ viewIds: row.view_ids ?? [],
9157
+ documentIds: row.document_ids ?? [],
9158
+ createdBy: row.created_by ?? null,
9159
+ updatedBy: row.updated_by ?? null,
9160
+ createdAt: row.created_at,
9161
+ updatedAt: row.updated_at
9162
+ };
9118
9163
  }
9119
- async function saveUserDashboard(arbi, keypair, dashboard) {
9120
- const body = { ciphertext: seal(dashboard.json, keypair) };
9121
- const row = dashboard.id ? requireData(
9122
- await arbi.fetch.PUT("/v1/user/dashboards/{dashboard_ext_id}", {
9123
- params: { path: { dashboard_ext_id: dashboard.id } },
9124
- body
9125
- }),
9126
- "Failed to save the dashboard"
9127
- ) : requireData(
9128
- await arbi.fetch.POST("/v1/user/dashboards", { body }),
9129
- "Failed to save the dashboard"
9164
+ async function pagesOf(rows, keypair) {
9165
+ const key = rows.some((r2) => r2.sealed) ? await keypair().catch(() => null) : null;
9166
+ return rows.map((r2) => pageOf(r2, key));
9167
+ }
9168
+ async function listPages(arbi, keypair, query2 = {}) {
9169
+ const rows = requireData(
9170
+ await arbi.fetch.GET("/v1/pages", { params: { query: query2 } }),
9171
+ "Failed to load the pages"
9172
+ );
9173
+ return pagesOf(rows, keypair);
9174
+ }
9175
+ async function getPage(arbi, keypair, id) {
9176
+ const row = requireData(
9177
+ await arbi.fetch.GET("/v1/pages/{page_id}", { params: { path: { page_id: id } } }),
9178
+ "Failed to open the page"
9130
9179
  );
9131
- return { id: row.external_id, json: dashboard.json, updatedAt: row.updated_at };
9180
+ return (await pagesOf([row], keypair))[0];
9181
+ }
9182
+ async function createPage(arbi, page) {
9183
+ const result = await arbi.fetch.POST("/v1/pages", {
9184
+ body: { spec: page.spec, shared: page.shared ?? false }
9185
+ });
9186
+ const refused = refusal3(result, "The page could not be shared");
9187
+ if (refused) throw refused;
9188
+ return pageOf(requireData(result, "Failed to save the page"), null);
9189
+ }
9190
+ async function updatePage(arbi, id, spec) {
9191
+ const result = await arbi.fetch.PUT("/v1/pages/{page_id}", {
9192
+ params: { path: { page_id: id } },
9193
+ body: { spec }
9194
+ });
9195
+ const refused = refusal3(result, "The page could not be saved");
9196
+ if (refused) throw refused;
9197
+ return pageOf(requireData(result, "Failed to save the page"), null);
9132
9198
  }
9133
- async function deleteUserDashboard(arbi, id) {
9199
+ async function sharePage(arbi, id) {
9200
+ const result = await arbi.fetch.POST("/v1/pages/{page_id}/share", {
9201
+ params: { path: { page_id: id } }
9202
+ });
9203
+ const refused = refusal3(result, "The page could not be shared");
9204
+ if (refused) throw refused;
9205
+ return pageOf(requireData(result, "Failed to share the page"), null);
9206
+ }
9207
+ async function deletePage(arbi, id) {
9134
9208
  requireOk(
9135
- await arbi.fetch.DELETE("/v1/user/dashboards/{dashboard_ext_id}", {
9136
- params: { path: { dashboard_ext_id: id } }
9137
- }),
9138
- "Failed to delete the dashboard"
9209
+ await arbi.fetch.DELETE("/v1/pages/{page_id}", { params: { path: { page_id: id } } }),
9210
+ "Failed to delete the page"
9139
9211
  );
9140
9212
  }
9141
9213
 
@@ -9154,7 +9226,6 @@ __export(work_exports, {
9154
9226
  listConversationPeople: () => listConversationPeople,
9155
9227
  notifyConversation: () => notifyConversation,
9156
9228
  planWork: () => planWork,
9157
- removeConversationPerson: () => removeConversationPerson,
9158
9229
  runConversation: () => runConversation,
9159
9230
  sendBackStep: () => sendBackStep,
9160
9231
  skipStep: () => skipStep,
@@ -9912,14 +9983,6 @@ async function listConversationPeople(arbi, conversationId) {
9912
9983
  "Failed to fetch the people of the conversation"
9913
9984
  );
9914
9985
  }
9915
- async function removeConversationPerson(arbi, conversationId, userId) {
9916
- requireOk(
9917
- await arbi.fetch.DELETE("/v1/conversation/{conversation_ext_id}/people/{user_ext_id}", {
9918
- params: { path: { conversation_ext_id: conversationId, user_ext_id: userId } }
9919
- }),
9920
- "Failed to remove the person from the conversation"
9921
- );
9922
- }
9923
9986
  async function getActivity(arbi, conversationId) {
9924
9987
  return requireData(
9925
9988
  await arbi.fetch.GET("/v1/conversation/{conversation_ext_id}/activity", byId(conversationId)),
@@ -10203,13 +10266,13 @@ async function addDatabaseRows(arbi, databaseId, rows, options = {}) {
10203
10266
  "Failed to add rows"
10204
10267
  );
10205
10268
  }
10206
- async function shareDatabaseRow(arbi, databaseId, rowId, shared = true) {
10269
+ async function shareDatabaseRow(arbi, databaseId, rowId) {
10207
10270
  return requireData(
10208
10271
  await arbi.fetch.POST("/v1/databases/{database_id}/rows/{row_id}/share", {
10209
10272
  params: { path: { database_id: databaseId, row_id: rowId } },
10210
- body: { shared }
10273
+ body: { shared: true }
10211
10274
  }),
10212
- shared ? "Failed to submit the row" : "Failed to make the row private"
10275
+ "Failed to submit the row"
10213
10276
  );
10214
10277
  }
10215
10278
  async function updateDatabaseRow(arbi, databaseId, rowId, values) {
@@ -10258,6 +10321,63 @@ async function exportDatabase(arbi, databaseId, format) {
10258
10321
  );
10259
10322
  }
10260
10323
 
10324
+ // src/operations/views.ts
10325
+ var views_exports = {};
10326
+ __export(views_exports, {
10327
+ DOCUMENTS_VIEW_TARGET: () => DOCUMENTS_VIEW_TARGET,
10328
+ createTableView: () => createTableView,
10329
+ deleteTableView: () => deleteTableView,
10330
+ filterText: () => filterText,
10331
+ getTableView: () => getTableView,
10332
+ listTableViews: () => listTableViews,
10333
+ shareTableView: () => shareTableView,
10334
+ updateTableView: () => updateTableView
10335
+ });
10336
+ var DOCUMENTS_VIEW_TARGET = "documents";
10337
+ var path2 = (viewId) => ({ path: { view_id: viewId } });
10338
+ async function listTableViews(arbi, target) {
10339
+ return requireData(
10340
+ await arbi.fetch.GET("/v1/views", { params: { query: target ? { target } : {} } }),
10341
+ "Failed to list the views"
10342
+ );
10343
+ }
10344
+ async function getTableView(arbi, viewId) {
10345
+ return requireData(
10346
+ await arbi.fetch.GET("/v1/views/{view_id}", { params: path2(viewId) }),
10347
+ "Failed to read the view"
10348
+ );
10349
+ }
10350
+ async function createTableView(arbi, target, spec, options = {}) {
10351
+ return requireData(
10352
+ await arbi.fetch.POST("/v1/views", {
10353
+ body: { target, spec, shared: options.shared ?? false }
10354
+ }),
10355
+ "Failed to save the view"
10356
+ );
10357
+ }
10358
+ async function updateTableView(arbi, viewId, spec) {
10359
+ return requireData(
10360
+ await arbi.fetch.PATCH("/v1/views/{view_id}", { params: path2(viewId), body: { spec } }),
10361
+ "Failed to update the view"
10362
+ );
10363
+ }
10364
+ async function shareTableView(arbi, viewId) {
10365
+ return requireData(
10366
+ await arbi.fetch.POST("/v1/views/{view_id}/share", { params: path2(viewId) }),
10367
+ "Failed to share the view"
10368
+ );
10369
+ }
10370
+ async function deleteTableView(arbi, viewId) {
10371
+ requireOk(
10372
+ await arbi.fetch.DELETE("/v1/views/{view_id}", { params: path2(viewId) }),
10373
+ "Failed to delete the view"
10374
+ );
10375
+ }
10376
+ function filterText(filter) {
10377
+ const value = filter.value;
10378
+ return value === null || value === void 0 || value === "" ? `${filter.column}:${filter.op}` : `${filter.column}:${filter.op}:${String(value)}`;
10379
+ }
10380
+
10261
10381
  // src/operations/mail.ts
10262
10382
  var mail_exports = {};
10263
10383
  __export(mail_exports, {
@@ -10291,9 +10411,9 @@ __export(mail_exports, {
10291
10411
  });
10292
10412
  var NATIVE_ACCOUNT = "native";
10293
10413
  function createMailFetch(auth) {
10294
- return (path2, init = {}) => authenticatedFetch({
10414
+ return (path3, init = {}) => authenticatedFetch({
10295
10415
  ...auth,
10296
- path: `/v1/mail${path2}`,
10416
+ path: `/v1/mail${path3}`,
10297
10417
  method: init.method,
10298
10418
  body: init.body,
10299
10419
  headers: {
@@ -10433,8 +10553,8 @@ function getMessage2(mail, messageId2, accountId = NATIVE_ACCOUNT) {
10433
10553
  return json(mail(`${accountPath(accountId)}/messages/${encodeURIComponent(messageId2)}`));
10434
10554
  }
10435
10555
  async function downloadAttachment(mail, messageId2, attachmentId, accountId = NATIVE_ACCOUNT) {
10436
- const path2 = `${accountPath(accountId)}/messages/${encodeURIComponent(messageId2)}/attachments/${encodeURIComponent(attachmentId)}`;
10437
- return new Uint8Array(await (await mail(path2)).arrayBuffer());
10556
+ const path3 = `${accountPath(accountId)}/messages/${encodeURIComponent(messageId2)}/attachments/${encodeURIComponent(attachmentId)}`;
10557
+ return new Uint8Array(await (await mail(path3)).arrayBuffer());
10438
10558
  }
10439
10559
  async function updateMessage(mail, messageId2, update, accountId = NATIVE_ACCOUNT) {
10440
10560
  await mail(`${accountPath(accountId)}/messages/${encodeURIComponent(messageId2)}`, {
@@ -12290,21 +12410,22 @@ var Arbi = class {
12290
12410
  */
12291
12411
  me: () => getCurrentUser(this.requireClient())
12292
12412
  };
12293
- // ── Saved Analytics dashboards (the person's own, sealed to their key) ──
12294
- dashboards = {
12295
- /** The user's saved dashboards (each spec's JSON), oldest first. */
12296
- list: async () => listUserDashboards(
12297
- this.requireClient(),
12298
- (await this.requireChatCrypto()).encryptionKeypair
12299
- ),
12300
- /** Save a dashboard's spec JSON (new without `id`, else replaced). */
12301
- save: async (dashboard) => saveUserDashboard(
12302
- this.requireClient(),
12303
- (await this.requireChatCrypto()).encryptionKeypair,
12304
- dashboard
12305
- ),
12306
- remove: (id) => deleteUserDashboard(this.requireClient(), id)
12413
+ // ── Pages (the open workspace's; private until shared) ──
12414
+ pages = {
12415
+ /** The open workspace's pages the user can see, oldest first (with their dashboards from
12416
+ * before pages, opened with their key). */
12417
+ list: (query2) => listPages(this.requireClient(), this.sealedPageKey, query2),
12418
+ get: (id) => getPage(this.requireClient(), this.sealedPageKey, id),
12419
+ /** Create a page, private unless `shared`. */
12420
+ create: (page) => createPage(this.requireClient(), page),
12421
+ /** Replace a page's spec (a dashboard from before pages is placed in the open workspace). */
12422
+ update: (id, spec) => updatePage(this.requireClient(), id, spec),
12423
+ /** Share a page with the workspace (one-way: a shared page stays shared). */
12424
+ share: (id) => sharePage(this.requireClient(), id),
12425
+ remove: (id) => deletePage(this.requireClient(), id)
12307
12426
  };
12427
+ /** The user's own key, which opens their dashboards from before pages. */
12428
+ sealedPageKey = async () => (await this.requireChatCrypto()).encryptionKeypair;
12308
12429
  // ── Firm ──────────────────────────────────────────────────────────────
12309
12430
  firm = {
12310
12431
  /** The firm's pooled monthly £ of AI usage (`has_pool` false where there is none). */
@@ -12714,9 +12835,9 @@ var Arbi = class {
12714
12835
  await this.requireTargetWorkspace(options?.workspaceId)
12715
12836
  ),
12716
12837
  /**
12717
- * Patch a conversation: `title`, `shared` (owner only), its bound document
12718
- * (`bound_document_ext_id`, `null` unbinds), and the work fields (`description`, `due_at`,
12719
- * `parent_conversation_ext_id`, `status`, `plan`). The one call behind rename, share, unshare
12838
+ * Patch a conversation: `title`, `shared: true` (its creator only; sharing is one-way), its
12839
+ * bound document (`bound_document_ext_id`, `null` unbinds), and the work fields (`description`,
12840
+ * `due_at`, `parent_conversation_ext_id`, `status`, `plan`). The one call behind rename, share
12720
12841
  * and attaching a thread to a document.
12721
12842
  */
12722
12843
  update: (conversationId, body) => updateConversation(this.requireClient(), conversationId, body),
@@ -12752,8 +12873,6 @@ var Arbi = class {
12752
12873
  notify: (conversationId, userIds) => notifyConversation(this.requireClient(), conversationId, userIds),
12753
12874
  /** The people a conversation is shared with by name (cc'd or @mentioned). */
12754
12875
  people: (conversationId) => listConversationPeople(this.requireClient(), conversationId),
12755
- /** Take a named person off a conversation (a workspace owner only). */
12756
- removePerson: (conversationId, userId) => removeConversationPerson(this.requireClient(), conversationId, userId),
12757
12876
  /** Draft an editable plan from an objective, in the current workspace or `options.workspaceId`. */
12758
12877
  plan: async (body, options) => planWork(
12759
12878
  this.requireClient(),
@@ -12836,11 +12955,11 @@ var Arbi = class {
12836
12955
  };
12837
12956
  /** Authenticated native Word transport, with normal session recovery. */
12838
12957
  editor = {
12839
- request: (path2, options = {}) => this.recovering(async () => {
12958
+ request: (path3, options = {}) => this.recovering(async () => {
12840
12959
  const { baseUrl, accessToken, fetch: send = globalThis.fetch } = this.getAuthHeaders();
12841
12960
  const headers = new Headers(options.headers);
12842
12961
  headers.set("Authorization", `Bearer ${accessToken}`);
12843
- const response = await send(`${baseUrl}/v1/editor${path2}`, { ...options, headers });
12962
+ const response = await send(`${baseUrl}/v1/editor${path3}`, { ...options, headers });
12844
12963
  if (!response.ok) {
12845
12964
  const body = await response.json().catch(() => null);
12846
12965
  throw new ArbiApiError(body?.detail || `Document request failed (${response.status})`, {
@@ -12863,10 +12982,10 @@ var Arbi = class {
12863
12982
  * With no token yet (a new tab) the session is restored first; a 401 re-logs in and is sent
12864
12983
  * again once.
12865
12984
  */
12866
- fetch: (path2, init = {}, { nativeUnlocked = false } = {}) => this.recovering(async () => {
12867
- const nativeRead = path2.startsWith("/accounts/native/") && (init.method ?? "GET").toUpperCase() !== "POST";
12985
+ fetch: (path3, init = {}, { nativeUnlocked = false } = {}) => this.recovering(async () => {
12986
+ const nativeRead = path3.startsWith("/accounts/native/") && (init.method ?? "GET").toUpperCase() !== "POST";
12868
12987
  if (nativeRead && !nativeUnlocked) await this.mail.unlockNative();
12869
- return this.mailRequest(path2, init);
12988
+ return this.mailRequest(path3, init);
12870
12989
  }),
12871
12990
  /**
12872
12991
  * Unlock the signed-in user's native inbox for this server session (see `unlockNativeMail`).
@@ -12909,7 +13028,7 @@ var Arbi = class {
12909
13028
  /** The native inbox unlock in flight (`mail.unlockNative`). */
12910
13029
  nativeUnlock = null;
12911
13030
  /** One request under `/v1/mail` on the session's token (see `mail.fetch`). */
12912
- async mailRequest(path2, init) {
13031
+ async mailRequest(path3, init) {
12913
13032
  const client = this.requireClient();
12914
13033
  let token = client.session.getState().accessToken;
12915
13034
  if (!token) token = await client.auth.relogin();
@@ -12919,7 +13038,7 @@ var Arbi = class {
12919
13038
  const headers = new Headers(init.headers);
12920
13039
  headers.set("Authorization", `Bearer ${bearer}`);
12921
13040
  if (init.body && !headers.has("Content-Type")) headers.set("Content-Type", "application/json");
12922
- return send(`${this.options.url}/v1/mail${path2}`, { ...init, headers });
13041
+ return send(`${this.options.url}/v1/mail${path3}`, { ...init, headers });
12923
13042
  };
12924
13043
  let response = await request(token);
12925
13044
  if (response.status === 401) {
@@ -14074,14 +14193,29 @@ var Arbi = class {
14074
14193
  update: (databaseId, body) => updateDatabase(this.requireClient(), databaseId, body),
14075
14194
  delete: (databaseId) => deleteDatabase(this.requireClient(), databaseId),
14076
14195
  addRows: (databaseId, rows, options) => addDatabaseRows(this.requireClient(), databaseId, rows, options),
14077
- /** Submit a draft row (share it), or as a workspace owner make a shared row private again. */
14078
- shareRow: (databaseId, rowId, shared = true) => shareDatabaseRow(this.requireClient(), databaseId, rowId, shared),
14196
+ /** Submit a draft row: share it with the workspace (one-way: it never becomes a draft again). */
14197
+ shareRow: (databaseId, rowId) => shareDatabaseRow(this.requireClient(), databaseId, rowId),
14079
14198
  updateRow: (databaseId, rowId, values) => updateDatabaseRow(this.requireClient(), databaseId, rowId, values),
14080
14199
  deleteRows: (databaseId, ids) => deleteDatabaseRows(this.requireClient(), databaseId, ids),
14081
14200
  import: (file, name) => importDatabase(this.requireClient(), file, name),
14082
14201
  importRows: (databaseId, file) => importDatabaseRows(this.requireClient(), databaseId, file),
14083
14202
  export: (databaseId, format) => exportDatabase(this.requireClient(), databaseId, format)
14084
14203
  };
14204
+ // ── Table views (saved views of a database grid or the document table) ──
14205
+ /**
14206
+ * Saved views: private to their creator until shared with the workspace, for good (sharing is one
14207
+ * way); only a workspace owner deletes a shared view. `target` is a database id or `documents`.
14208
+ */
14209
+ views = {
14210
+ /** The views the caller can see: of one table, or of every table of the open workspace. */
14211
+ list: (target) => listTableViews(this.requireClient(), target),
14212
+ get: (viewId) => getTableView(this.requireClient(), viewId),
14213
+ create: (target, spec, options) => createTableView(this.requireClient(), target, spec, options),
14214
+ update: (viewId, spec) => updateTableView(this.requireClient(), viewId, spec),
14215
+ /** Share with the workspace (one way: it is never made private again). */
14216
+ share: (viewId) => shareTableView(this.requireClient(), viewId),
14217
+ remove: (viewId) => deleteTableView(this.requireClient(), viewId)
14218
+ };
14085
14219
  // ── Workspace facts ─────────────────────────────────────────────────
14086
14220
  /**
14087
14221
  * Notes. Create, list and search act in the current workspace, or `workspaceId` (opened for this
@@ -14882,6 +15016,6 @@ function composeTools(base, next, mode) {
14882
15016
  return structuredClone(mode === "add" ? { ...base, ...next } : next);
14883
15017
  }
14884
15018
 
14885
- 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, support_exports as support, tagUseCount, tags_exports as tags, tagsForScope, tagsOfGroup, topLevelAgentSteps, usdToGbp, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspace_assistant_exports as workspaceAssistant, workspaceConflictOf, workspaces_exports as workspaces, wouldCreateTagCycle };
15019
+ export { ACCOUNT_VENDOR, Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ArbiStructuredOutputError, ArbiTransportError, ArbiWorkspaceChangedError, ArbiWorkspaceSupersededError, ArbiWorkspaceUnavailableError, CallApiError, DEFAULT_AI_USD_PER_GBP, DOCUMENTS_VIEW_TARGET, 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, PagePrivateContentError, 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, filterText, 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, pages_exports as pages, 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, support_exports as support, tagUseCount, tags_exports as tags, tagsForScope, tagsOfGroup, topLevelAgentSteps, usdToGbp, views_exports as views, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspace_assistant_exports as workspaceAssistant, workspaceConflictOf, workspaces_exports as workspaces, wouldCreateTagCycle };
14886
15020
  //# sourceMappingURL=browser.js.map
14887
15021
  //# sourceMappingURL=browser.js.map