@arbidocs/sdk 0.5.80 → 0.5.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { a4 as ConfigStore, a1 as CliConfig, a2 as CliCredentials, _ as ChatSession, cC as SkippedFile, ds as UploadResult, t as AuthHeaders, dl as UploadBatchResult, dq as UploadOptions, dm as UploadDirectOptions, dn as UploadDirectResult, cq as SUPPORTED_EXTENSIONS, bk as MailAttachment, S as ChatCryptoContext } from './browser-CP0e4GnL.cjs';
2
- export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, 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, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, $ as CitationSummary, a0 as CitationToolSources, a3 as CommandDescriptor, 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, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, an as DOC_TERMINAL_STATUSES, 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, az as DecryptedChat, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DiagnoseOptions, aD as DirectModelUsage, aE as DocInfo, aF as DocInfoMap, aG as DocNameMap, aH as DocumentAutomationAction, aI as DocumentListFields, aJ as DocumentListOrder, aK as DocumentSelector, aL as DocumentWaiter, aM as DocumentWaiterOptions, 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, aZ as FindTimeParams, a_ as FormattedWsMessage, 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, bd as ListAllOptions, be as ListEventsParams, bg as ListPaginatedOptions, bh as MAILBOX_SYNC_VENDORS, bi as MAX_RETRIEVE_DOC_IDS, bj as MICROSOFT_VENDORS, bl as MessageLevel, 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 ResolvedRecipient, 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, cn as STEP_FIELD_OPTION_TONES, 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, cD as SlackConnectionStatus, cE as StepActionRequest, cF as StepActivityEvent, cG as StepAssignee, cH as StepDisplay, cI as StepField, cJ as StepFieldOption, cK as StepFieldOptionTone, 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 SupportRating, cW as SupportTicket, cX as SupportTicketInput, cY as SyncTriggerResult, cZ as TAG_KINDS, c_ as TAG_NESTING_MAX_DEPTH, c$ as TagChange, d0 as TagFieldDefinition, d1 as TagGroup, d2 as TagKind, d3 as TagKindField, d4 as TagKindSchema, d5 as TagLinks, d6 as TagListQuery, d7 as TagNode, d8 as TagResponse, d9 as TagScope, da as TagTreeRow, db as TaskPlan, dc as TaskPlanStep, dd as TaxQuoteResponse, de as Thread, df as ThreadsResponse, dg as TimeSuggestion, dh as TurnRequest, di as UpdateConversationRequest, dk as UpdateWorkflowRequest, dp as UploadDocumentsOptions, dr as UploadProgressListener, dt as UsageBreakdown, du as UserConnectorEntry, dv as UserDailyUsageResponse, dw as UserInfo, dx as WebSocketAuthError, dy as WeeklyHoursSpec, dz as WorkStatus, dA as WorkflowAuthMode, dB as WorkflowResponse, dC as WorkflowRunHistoryResponse, dD as WorkflowRunResponse, dE as WorkspaceConflict, dF as WorkspaceContext, dG as WorkspaceOpenResponse, dH as WorkspaceResponse, dI as WsConnection, dJ as account, dK as agentconfig, dL as agents, dM as appendTranscriptionHints, dN as assistant, dO as authenticatedFetch, dP as bookPublicSlot, dQ as buildCitationChunkData, dR as buildDocNameMap, dS as buildDocumentTools, dT as buildFactsContextTool, dU as buildRetrievalChunkTool, dV as buildRetrievalFullContextTool, dW as buildRetrievalTocTool, dX as buildTurnRequest, dY as calendar, dZ as calls, d_ as canTagHaveParent, d$ as cancelPublicBooking, e0 as capabilities, e1 as chats, e2 as composeConfiguration, e3 as composeTools, e4 as computeRunStats, e5 as connectErrorMessage, e6 as connectWebSocket, e7 as connectWithReconnect, e8 as connectors, e9 as contacts, ea as continuityPrompt, eb as conversations, ec as countCitations, ed as createAuthenticatedClient, ee as createDocumentWaiter, ef as createIndexAssigner, eg as databases, eh as defaultKindForFormat, ei as diagnoseSetup, ej as doctags, ek as documentTools, el as documents, em as estimateDraftTokens, en as extractDocumentIdsFromMessages, eo as extractFactIdsFromMessages, ep as extractSubagentLanes, eq as facts, er as files, es as filterDocumentTags, et as filterSkills, eu as findLeafForTaskMessage, ev as findMainSiblingLeaf, ew as findReplyTarget, ex as findSubagentRunId, ey as flattenTagTree, ez as formatAgentStepLabel, eA as formatFileSize, eB as formatGbp, eC as formatGbpPerMillionTokens, eD as formatItemLabel, eE as formatStreamSummary, eF as formatTokens, eG as formatUserName, eH as formatWorkspaceChoices, eI as formatWsMessage, eJ as generateEncryptedWorkspaceKey, eK as generateNewWorkspaceKey, eL as getAgentStepLabel, eM as getAttachableRunId, eN as getChildTags, eO as getContextRemainingPercent, eP as getContextUsedPercent, eQ as getContextUsedTokens, eR as getCurrentStep, eS as getEligibleParentTags, eT as getErrorCode, eU as getErrorMessage, eV as getPublicBookingPage, eW as getRawWorkspaceKey, eX as getRunToAttach, eY as getRunToCancel, eZ as getStepDisplay, e_ as getStepTool, e$ as getSubagentBranchRecord, f0 as getTagDescendantIds, f1 as health, f2 as houseTemplates, f3 as hydrateAgentSteps, f5 as identityErrorCode, f4 as identityVerification, f6 as instructions, f7 as isAnnotationTag, f8 as isConnectorVendorVisible, f9 as isDriveSyncVendor, fa as isEntityTag, fb as isFlatKind, fc as isLabelTag, fd as isMailboxSyncVendor, fe as isNearAiUsageBudget, ff as isPresenceTag, fg as isSharePointVendor, fh as isSharedSkill, fi as isTraceItem, fj as mail, fk as mcpTools, fl as mergeAgentSteps, fm as modelConnections, fn as notifications, fo as parseSSEEvents, fp as parseSlashCommand, fq as parseSlashTokenInProgress, fr as parseStructuredResponse, fs as performPasswordLogin, ft as performSigningKeyLogin, fu as performSsoDeviceFlowLogin, fv as pickMainThread, fw as profile, fx as progressFetch, fy as projects, fz as quotaExceededFrom, fA as quotaFromStreamError, fB as reduceOutputItem, fC as refusalReason, fD as requireData, fE as requireOk, fF as resolveAuth, fG as resolveCitations, fH as resolveSummary, fI as resolveWorkspace, fJ as responses, fK as searchChunks, fL as secureMail, fM as selectFullContextDocument, fN as selectWorkspace, fO as selectWorkspaceById, fP as sessions, fQ as settings, fR as signatureRequests, fS as sliceToSubagentThread, fT as streamSSE, fU as stripCitationMarkdown, fV as subagentJobLabel, fW as summarizeCitations, fX as support, fY as tagUseCount, fZ as tags, f_ as tagsForScope, f$ as tagsOfGroup, g0 as topLevelAgentSteps, g1 as uploadSkill, g2 as usdToGbp, g3 as work, g4 as workflowSteps, g5 as workflows, g6 as workspaceConflictOf, g7 as workspaces, g8 as wouldCreateTagCycle } from './browser-CP0e4GnL.cjs';
1
+ import { a4 as ConfigStore, a1 as CliConfig, a2 as CliCredentials, _ as ChatSession, cC as SkippedFile, ds as UploadResult, t as AuthHeaders, dl as UploadBatchResult, dq as UploadOptions, dm as UploadDirectOptions, dn as UploadDirectResult, cq as SUPPORTED_EXTENSIONS, bk as MailAttachment, S as ChatCryptoContext } from './browser-4oIgAqs1.cjs';
2
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, 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, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, $ as CitationSummary, a0 as CitationToolSources, a3 as CommandDescriptor, 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, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, an as DOC_TERMINAL_STATUSES, 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, az as DecryptedChat, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DiagnoseOptions, aD as DirectModelUsage, aE as DocInfo, aF as DocInfoMap, aG as DocNameMap, aH as DocumentAutomationAction, aI as DocumentListFields, aJ as DocumentListOrder, aK as DocumentSelector, aL as DocumentWaiter, aM as DocumentWaiterOptions, 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, aZ as FindTimeParams, a_ as FormattedWsMessage, 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, bd as ListAllOptions, be as ListEventsParams, bg as ListPaginatedOptions, bh as MAILBOX_SYNC_VENDORS, bi as MAX_RETRIEVE_DOC_IDS, bj as MICROSOFT_VENDORS, bl as MessageLevel, 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 ResolvedRecipient, 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, cn as STEP_FIELD_OPTION_TONES, 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, cD as SlackConnectionStatus, cE as StepActionRequest, cF as StepActivityEvent, cG as StepAssignee, cH as StepDisplay, cI as StepField, cJ as StepFieldOption, cK as StepFieldOptionTone, 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 SupportRating, cW as SupportTicket, cX as SupportTicketInput, cY as SyncTriggerResult, cZ as TAG_KINDS, c_ as TAG_NESTING_MAX_DEPTH, c$ as TagChange, d0 as TagFieldDefinition, d1 as TagGroup, d2 as TagKind, d3 as TagKindField, d4 as TagKindSchema, d5 as TagLinks, d6 as TagListQuery, d7 as TagNode, d8 as TagResponse, d9 as TagScope, da as TagTreeRow, db as TaskPlan, dc as TaskPlanStep, dd as TaxQuoteResponse, de as Thread, df as ThreadsResponse, dg as TimeSuggestion, dh as TurnRequest, di as UpdateConversationRequest, dk as UpdateWorkflowRequest, dp as UploadDocumentsOptions, dr as UploadProgressListener, dt as UsageBreakdown, du as UserConnectorEntry, dv as UserDailyUsageResponse, dw as UserInfo, dx as WebSocketAuthError, dy as WeeklyHoursSpec, dz as WorkStatus, dA as WorkflowAuthMode, dB as WorkflowResponse, dC as WorkflowRunHistoryResponse, dD as WorkflowRunResponse, dE as WorkspaceConflict, dF as WorkspaceContext, dG as WorkspaceOpenResponse, dH as WorkspaceResponse, dI as WsConnection, dJ as account, dK as agentconfig, dL as agents, dM as appendTranscriptionHints, dN as assistant, dO as authenticatedFetch, dP as bookPublicSlot, dQ as buildCitationChunkData, dR as buildDocNameMap, dS as buildDocumentTools, dT as buildFactsContextTool, dU as buildRetrievalChunkTool, dV as buildRetrievalFullContextTool, dW as buildRetrievalTocTool, dX as buildTurnRequest, dY as calendar, dZ as calls, d_ as canTagHaveParent, d$ as cancelPublicBooking, e0 as capabilities, e1 as chats, e2 as composeConfiguration, e3 as composeTools, e4 as computeRunStats, e5 as connectErrorMessage, e6 as connectWebSocket, e7 as connectWithReconnect, e8 as connectors, e9 as contacts, ea as continuityPrompt, eb as conversations, ec as countCitations, ed as createAuthenticatedClient, ee as createDocumentWaiter, ef as createIndexAssigner, eg as databases, eh as defaultKindForFormat, ei as diagnoseSetup, ej as doctags, ek as documentTools, el as documents, em as estimateDraftTokens, en as extractDocumentIdsFromMessages, eo as extractFactIdsFromMessages, ep as extractSubagentLanes, eq as facts, er as files, es as filterDocumentTags, et as filterSkills, eu as findLeafForTaskMessage, ev as findMainSiblingLeaf, ew as findReplyTarget, ex as findSubagentRunId, ey as flattenTagTree, ez as formatAgentStepLabel, eA as formatFileSize, eB as formatGbp, eC as formatGbpPerMillionTokens, eD as formatItemLabel, eE as formatStreamSummary, eF as formatTokens, eG as formatUserName, eH as formatWorkspaceChoices, eI as formatWsMessage, eJ as generateEncryptedWorkspaceKey, eK as generateNewWorkspaceKey, eL as getAgentStepLabel, eM as getAttachableRunId, eN as getChildTags, eO as getContextRemainingPercent, eP as getContextUsedPercent, eQ as getContextUsedTokens, eR as getCurrentStep, eS as getEligibleParentTags, eT as getErrorCode, eU as getErrorMessage, eV as getPublicBookingPage, eW as getRawWorkspaceKey, eX as getRunToAttach, eY as getRunToCancel, eZ as getStepDisplay, e_ as getStepTool, e$ as getSubagentBranchRecord, f0 as getTagDescendantIds, f1 as health, f2 as houseTemplates, f3 as hydrateAgentSteps, f5 as identityErrorCode, f4 as identityVerification, f6 as instructions, f7 as isAnnotationTag, f8 as isConnectorVendorVisible, f9 as isDriveSyncVendor, fa as isEntityTag, fb as isFlatKind, fc as isLabelTag, fd as isMailboxSyncVendor, fe as isNearAiUsageBudget, ff as isPresenceTag, fg as isSharePointVendor, fh as isSharedSkill, fi as isTraceItem, fj as mail, fk as mcpTools, fl as mergeAgentSteps, fm as modelConnections, fn as notifications, fo as parseSSEEvents, fp as parseSlashCommand, fq as parseSlashTokenInProgress, fr as parseStructuredResponse, fs as performPasswordLogin, ft as performSigningKeyLogin, fu as performSsoDeviceFlowLogin, fv as pickMainThread, fw as profile, fx as progressFetch, fy as projects, fz as quotaExceededFrom, fA as quotaFromStreamError, fB as reduceOutputItem, fC as refusalReason, fD as requireData, fE as requireOk, fF as resolveAuth, fG as resolveCitations, fH as resolveSummary, fI as resolveWorkspace, fJ as responses, fK as searchChunks, fL as secureMail, fM as selectFullContextDocument, fN as selectWorkspace, fO as selectWorkspaceById, fP as sessions, fQ as settings, fR as signatureRequests, fS as sliceToSubagentThread, fT as streamSSE, fU as stripCitationMarkdown, fV as subagentJobLabel, fW as summarizeCitations, fX as support, fY as tagUseCount, fZ as tags, f_ as tagsForScope, f$ as tagsOfGroup, g0 as topLevelAgentSteps, g1 as uploadSkill, g2 as usdToGbp, g3 as work, g4 as workflowSteps, g5 as workflows, g6 as workspaceConflictOf, g7 as workspaces, g8 as wouldCreateTagCycle } from './browser-4oIgAqs1.cjs';
3
3
  import { SessionPersistence, ArbiClient, components } from '@arbidocs/client';
4
4
  export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
5
5
  export { b as AgentStepEvent, d as ArtifactEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, R as ResponseCompletedEvent, g as ResponseContentPartAddedEvent, h as ResponseCreatedEvent, i as ResponseFailedEvent, j as ResponseOutputItemAddedEvent, k as ResponseOutputItemDoneEvent, l as ResponseOutputTextDeltaEvent, m as ResponseOutputTextDoneEvent, n as ResponseUsage, S as SSEStreamStartData, T as TokenBudgetContext, U as UserInputRequestEvent, o as UserMessageEvent } from './sse-types-BbR7JG5o.cjs';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a4 as ConfigStore, a1 as CliConfig, a2 as CliCredentials, _ as ChatSession, cC as SkippedFile, ds as UploadResult, t as AuthHeaders, dl as UploadBatchResult, dq as UploadOptions, dm as UploadDirectOptions, dn as UploadDirectResult, cq as SUPPORTED_EXTENSIONS, bk as MailAttachment, S as ChatCryptoContext } from './browser-xgwYmWyv.js';
2
- export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, 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, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, $ as CitationSummary, a0 as CitationToolSources, a3 as CommandDescriptor, 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, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, an as DOC_TERMINAL_STATUSES, 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, az as DecryptedChat, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DiagnoseOptions, aD as DirectModelUsage, aE as DocInfo, aF as DocInfoMap, aG as DocNameMap, aH as DocumentAutomationAction, aI as DocumentListFields, aJ as DocumentListOrder, aK as DocumentSelector, aL as DocumentWaiter, aM as DocumentWaiterOptions, 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, aZ as FindTimeParams, a_ as FormattedWsMessage, 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, bd as ListAllOptions, be as ListEventsParams, bg as ListPaginatedOptions, bh as MAILBOX_SYNC_VENDORS, bi as MAX_RETRIEVE_DOC_IDS, bj as MICROSOFT_VENDORS, bl as MessageLevel, 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 ResolvedRecipient, 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, cn as STEP_FIELD_OPTION_TONES, 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, cD as SlackConnectionStatus, cE as StepActionRequest, cF as StepActivityEvent, cG as StepAssignee, cH as StepDisplay, cI as StepField, cJ as StepFieldOption, cK as StepFieldOptionTone, 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 SupportRating, cW as SupportTicket, cX as SupportTicketInput, cY as SyncTriggerResult, cZ as TAG_KINDS, c_ as TAG_NESTING_MAX_DEPTH, c$ as TagChange, d0 as TagFieldDefinition, d1 as TagGroup, d2 as TagKind, d3 as TagKindField, d4 as TagKindSchema, d5 as TagLinks, d6 as TagListQuery, d7 as TagNode, d8 as TagResponse, d9 as TagScope, da as TagTreeRow, db as TaskPlan, dc as TaskPlanStep, dd as TaxQuoteResponse, de as Thread, df as ThreadsResponse, dg as TimeSuggestion, dh as TurnRequest, di as UpdateConversationRequest, dk as UpdateWorkflowRequest, dp as UploadDocumentsOptions, dr as UploadProgressListener, dt as UsageBreakdown, du as UserConnectorEntry, dv as UserDailyUsageResponse, dw as UserInfo, dx as WebSocketAuthError, dy as WeeklyHoursSpec, dz as WorkStatus, dA as WorkflowAuthMode, dB as WorkflowResponse, dC as WorkflowRunHistoryResponse, dD as WorkflowRunResponse, dE as WorkspaceConflict, dF as WorkspaceContext, dG as WorkspaceOpenResponse, dH as WorkspaceResponse, dI as WsConnection, dJ as account, dK as agentconfig, dL as agents, dM as appendTranscriptionHints, dN as assistant, dO as authenticatedFetch, dP as bookPublicSlot, dQ as buildCitationChunkData, dR as buildDocNameMap, dS as buildDocumentTools, dT as buildFactsContextTool, dU as buildRetrievalChunkTool, dV as buildRetrievalFullContextTool, dW as buildRetrievalTocTool, dX as buildTurnRequest, dY as calendar, dZ as calls, d_ as canTagHaveParent, d$ as cancelPublicBooking, e0 as capabilities, e1 as chats, e2 as composeConfiguration, e3 as composeTools, e4 as computeRunStats, e5 as connectErrorMessage, e6 as connectWebSocket, e7 as connectWithReconnect, e8 as connectors, e9 as contacts, ea as continuityPrompt, eb as conversations, ec as countCitations, ed as createAuthenticatedClient, ee as createDocumentWaiter, ef as createIndexAssigner, eg as databases, eh as defaultKindForFormat, ei as diagnoseSetup, ej as doctags, ek as documentTools, el as documents, em as estimateDraftTokens, en as extractDocumentIdsFromMessages, eo as extractFactIdsFromMessages, ep as extractSubagentLanes, eq as facts, er as files, es as filterDocumentTags, et as filterSkills, eu as findLeafForTaskMessage, ev as findMainSiblingLeaf, ew as findReplyTarget, ex as findSubagentRunId, ey as flattenTagTree, ez as formatAgentStepLabel, eA as formatFileSize, eB as formatGbp, eC as formatGbpPerMillionTokens, eD as formatItemLabel, eE as formatStreamSummary, eF as formatTokens, eG as formatUserName, eH as formatWorkspaceChoices, eI as formatWsMessage, eJ as generateEncryptedWorkspaceKey, eK as generateNewWorkspaceKey, eL as getAgentStepLabel, eM as getAttachableRunId, eN as getChildTags, eO as getContextRemainingPercent, eP as getContextUsedPercent, eQ as getContextUsedTokens, eR as getCurrentStep, eS as getEligibleParentTags, eT as getErrorCode, eU as getErrorMessage, eV as getPublicBookingPage, eW as getRawWorkspaceKey, eX as getRunToAttach, eY as getRunToCancel, eZ as getStepDisplay, e_ as getStepTool, e$ as getSubagentBranchRecord, f0 as getTagDescendantIds, f1 as health, f2 as houseTemplates, f3 as hydrateAgentSteps, f5 as identityErrorCode, f4 as identityVerification, f6 as instructions, f7 as isAnnotationTag, f8 as isConnectorVendorVisible, f9 as isDriveSyncVendor, fa as isEntityTag, fb as isFlatKind, fc as isLabelTag, fd as isMailboxSyncVendor, fe as isNearAiUsageBudget, ff as isPresenceTag, fg as isSharePointVendor, fh as isSharedSkill, fi as isTraceItem, fj as mail, fk as mcpTools, fl as mergeAgentSteps, fm as modelConnections, fn as notifications, fo as parseSSEEvents, fp as parseSlashCommand, fq as parseSlashTokenInProgress, fr as parseStructuredResponse, fs as performPasswordLogin, ft as performSigningKeyLogin, fu as performSsoDeviceFlowLogin, fv as pickMainThread, fw as profile, fx as progressFetch, fy as projects, fz as quotaExceededFrom, fA as quotaFromStreamError, fB as reduceOutputItem, fC as refusalReason, fD as requireData, fE as requireOk, fF as resolveAuth, fG as resolveCitations, fH as resolveSummary, fI as resolveWorkspace, fJ as responses, fK as searchChunks, fL as secureMail, fM as selectFullContextDocument, fN as selectWorkspace, fO as selectWorkspaceById, fP as sessions, fQ as settings, fR as signatureRequests, fS as sliceToSubagentThread, fT as streamSSE, fU as stripCitationMarkdown, fV as subagentJobLabel, fW as summarizeCitations, fX as support, fY as tagUseCount, fZ as tags, f_ as tagsForScope, f$ as tagsOfGroup, g0 as topLevelAgentSteps, g1 as uploadSkill, g2 as usdToGbp, g3 as work, g4 as workflowSteps, g5 as workflows, g6 as workspaceConflictOf, g7 as workspaces, g8 as wouldCreateTagCycle } from './browser-xgwYmWyv.js';
1
+ import { a4 as ConfigStore, a1 as CliConfig, a2 as CliCredentials, _ as ChatSession, cC as SkippedFile, ds as UploadResult, t as AuthHeaders, dl as UploadBatchResult, dq as UploadOptions, dm as UploadDirectOptions, dn as UploadDirectResult, cq as SUPPORTED_EXTENSIONS, bk as MailAttachment, S as ChatCryptoContext } from './browser-CL-6Y6E1.js';
2
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, 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, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, $ as CitationSummary, a0 as CitationToolSources, a3 as CommandDescriptor, 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, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, an as DOC_TERMINAL_STATUSES, 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, az as DecryptedChat, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DiagnoseOptions, aD as DirectModelUsage, aE as DocInfo, aF as DocInfoMap, aG as DocNameMap, aH as DocumentAutomationAction, aI as DocumentListFields, aJ as DocumentListOrder, aK as DocumentSelector, aL as DocumentWaiter, aM as DocumentWaiterOptions, 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, aZ as FindTimeParams, a_ as FormattedWsMessage, 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, bd as ListAllOptions, be as ListEventsParams, bg as ListPaginatedOptions, bh as MAILBOX_SYNC_VENDORS, bi as MAX_RETRIEVE_DOC_IDS, bj as MICROSOFT_VENDORS, bl as MessageLevel, 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 ResolvedRecipient, 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, cn as STEP_FIELD_OPTION_TONES, 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, cD as SlackConnectionStatus, cE as StepActionRequest, cF as StepActivityEvent, cG as StepAssignee, cH as StepDisplay, cI as StepField, cJ as StepFieldOption, cK as StepFieldOptionTone, 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 SupportRating, cW as SupportTicket, cX as SupportTicketInput, cY as SyncTriggerResult, cZ as TAG_KINDS, c_ as TAG_NESTING_MAX_DEPTH, c$ as TagChange, d0 as TagFieldDefinition, d1 as TagGroup, d2 as TagKind, d3 as TagKindField, d4 as TagKindSchema, d5 as TagLinks, d6 as TagListQuery, d7 as TagNode, d8 as TagResponse, d9 as TagScope, da as TagTreeRow, db as TaskPlan, dc as TaskPlanStep, dd as TaxQuoteResponse, de as Thread, df as ThreadsResponse, dg as TimeSuggestion, dh as TurnRequest, di as UpdateConversationRequest, dk as UpdateWorkflowRequest, dp as UploadDocumentsOptions, dr as UploadProgressListener, dt as UsageBreakdown, du as UserConnectorEntry, dv as UserDailyUsageResponse, dw as UserInfo, dx as WebSocketAuthError, dy as WeeklyHoursSpec, dz as WorkStatus, dA as WorkflowAuthMode, dB as WorkflowResponse, dC as WorkflowRunHistoryResponse, dD as WorkflowRunResponse, dE as WorkspaceConflict, dF as WorkspaceContext, dG as WorkspaceOpenResponse, dH as WorkspaceResponse, dI as WsConnection, dJ as account, dK as agentconfig, dL as agents, dM as appendTranscriptionHints, dN as assistant, dO as authenticatedFetch, dP as bookPublicSlot, dQ as buildCitationChunkData, dR as buildDocNameMap, dS as buildDocumentTools, dT as buildFactsContextTool, dU as buildRetrievalChunkTool, dV as buildRetrievalFullContextTool, dW as buildRetrievalTocTool, dX as buildTurnRequest, dY as calendar, dZ as calls, d_ as canTagHaveParent, d$ as cancelPublicBooking, e0 as capabilities, e1 as chats, e2 as composeConfiguration, e3 as composeTools, e4 as computeRunStats, e5 as connectErrorMessage, e6 as connectWebSocket, e7 as connectWithReconnect, e8 as connectors, e9 as contacts, ea as continuityPrompt, eb as conversations, ec as countCitations, ed as createAuthenticatedClient, ee as createDocumentWaiter, ef as createIndexAssigner, eg as databases, eh as defaultKindForFormat, ei as diagnoseSetup, ej as doctags, ek as documentTools, el as documents, em as estimateDraftTokens, en as extractDocumentIdsFromMessages, eo as extractFactIdsFromMessages, ep as extractSubagentLanes, eq as facts, er as files, es as filterDocumentTags, et as filterSkills, eu as findLeafForTaskMessage, ev as findMainSiblingLeaf, ew as findReplyTarget, ex as findSubagentRunId, ey as flattenTagTree, ez as formatAgentStepLabel, eA as formatFileSize, eB as formatGbp, eC as formatGbpPerMillionTokens, eD as formatItemLabel, eE as formatStreamSummary, eF as formatTokens, eG as formatUserName, eH as formatWorkspaceChoices, eI as formatWsMessage, eJ as generateEncryptedWorkspaceKey, eK as generateNewWorkspaceKey, eL as getAgentStepLabel, eM as getAttachableRunId, eN as getChildTags, eO as getContextRemainingPercent, eP as getContextUsedPercent, eQ as getContextUsedTokens, eR as getCurrentStep, eS as getEligibleParentTags, eT as getErrorCode, eU as getErrorMessage, eV as getPublicBookingPage, eW as getRawWorkspaceKey, eX as getRunToAttach, eY as getRunToCancel, eZ as getStepDisplay, e_ as getStepTool, e$ as getSubagentBranchRecord, f0 as getTagDescendantIds, f1 as health, f2 as houseTemplates, f3 as hydrateAgentSteps, f5 as identityErrorCode, f4 as identityVerification, f6 as instructions, f7 as isAnnotationTag, f8 as isConnectorVendorVisible, f9 as isDriveSyncVendor, fa as isEntityTag, fb as isFlatKind, fc as isLabelTag, fd as isMailboxSyncVendor, fe as isNearAiUsageBudget, ff as isPresenceTag, fg as isSharePointVendor, fh as isSharedSkill, fi as isTraceItem, fj as mail, fk as mcpTools, fl as mergeAgentSteps, fm as modelConnections, fn as notifications, fo as parseSSEEvents, fp as parseSlashCommand, fq as parseSlashTokenInProgress, fr as parseStructuredResponse, fs as performPasswordLogin, ft as performSigningKeyLogin, fu as performSsoDeviceFlowLogin, fv as pickMainThread, fw as profile, fx as progressFetch, fy as projects, fz as quotaExceededFrom, fA as quotaFromStreamError, fB as reduceOutputItem, fC as refusalReason, fD as requireData, fE as requireOk, fF as resolveAuth, fG as resolveCitations, fH as resolveSummary, fI as resolveWorkspace, fJ as responses, fK as searchChunks, fL as secureMail, fM as selectFullContextDocument, fN as selectWorkspace, fO as selectWorkspaceById, fP as sessions, fQ as settings, fR as signatureRequests, fS as sliceToSubagentThread, fT as streamSSE, fU as stripCitationMarkdown, fV as subagentJobLabel, fW as summarizeCitations, fX as support, fY as tagUseCount, fZ as tags, f_ as tagsForScope, f$ as tagsOfGroup, g0 as topLevelAgentSteps, g1 as uploadSkill, g2 as usdToGbp, g3 as work, g4 as workflowSteps, g5 as workflows, g6 as workspaceConflictOf, g7 as workspaces, g8 as wouldCreateTagCycle } from './browser-CL-6Y6E1.js';
3
3
  import { SessionPersistence, ArbiClient, components } from '@arbidocs/client';
4
4
  export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
5
5
  export { b as AgentStepEvent, d as ArtifactEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, R as ResponseCompletedEvent, g as ResponseContentPartAddedEvent, h as ResponseCreatedEvent, i as ResponseFailedEvent, j as ResponseOutputItemAddedEvent, k as ResponseOutputItemDoneEvent, l as ResponseOutputTextDeltaEvent, m as ResponseOutputTextDoneEvent, n as ResponseUsage, S as SSEStreamStartData, T as TokenBudgetContext, U as UserInputRequestEvent, o as UserMessageEvent } from './sse-types-BbR7JG5o.js';
package/dist/index.js CHANGED
@@ -3643,6 +3643,21 @@ function requireData(result, message) {
3643
3643
  }
3644
3644
  return result.data;
3645
3645
  }
3646
+ var WORKSPACE_REQUEST_CONFLICT_MESSAGES = {
3647
+ workspace_mismatch: "This belongs to another workspace, so nothing was saved.",
3648
+ workspace_key_required: "This workspace isn't unlocked in this session, so nothing was saved or read. Open the workspace and try again."
3649
+ };
3650
+ function requireWorkspaceData(result, message, conflicts = WORKSPACE_REQUEST_CONFLICT_MESSAGES) {
3651
+ const status = result.response?.status;
3652
+ const conflict = result.error && status === 409 ? workspaceConflictOf(result.error) : null;
3653
+ if (conflict) {
3654
+ throw new ArbiApiError(conflicts[conflict.code], result.error, status, {
3655
+ code: conflict.code,
3656
+ requestId: result.response?.headers?.get("x-request-id") ?? void 0
3657
+ });
3658
+ }
3659
+ return requireData(result, message);
3660
+ }
3646
3661
  function requireOk(result, message) {
3647
3662
  if (result.error) {
3648
3663
  throw new ArbiApiError(message, result.error, result.response?.status, {
@@ -6244,19 +6259,7 @@ var UPLOAD_WORKSPACE_CONFLICT_MESSAGES = {
6244
6259
  workspace_key_required: "The workspace couldn't be unlocked for this upload, so the files were not saved."
6245
6260
  };
6246
6261
  function requireUploadData(result, message) {
6247
- const status = result.response?.status;
6248
- const conflict = result.error && status === 409 ? workspaceConflictOf(result.error) : null;
6249
- if (conflict) {
6250
- throw new ArbiApiError(
6251
- UPLOAD_WORKSPACE_CONFLICT_MESSAGES[conflict.code],
6252
- result.error,
6253
- status,
6254
- {
6255
- code: conflict.code
6256
- }
6257
- );
6258
- }
6259
- return requireData(result, message);
6262
+ return requireWorkspaceData(result, message, UPLOAD_WORKSPACE_CONFLICT_MESSAGES);
6260
6263
  }
6261
6264
  async function uploadDocuments(arbi, files, options = {}) {
6262
6265
  const query2 = {};
@@ -7174,15 +7177,27 @@ __export(conversations_exports, {
7174
7177
  searchConversations: () => searchConversations,
7175
7178
  updateConversationAssistantMode: () => updateConversationAssistantMode
7176
7179
  });
7177
- async function listConversations(arbi) {
7178
- return requireData(await arbi.fetch.GET("/v1/conversation/list"), "Failed to fetch conversations");
7180
+
7181
+ // src/operations/workspace-query.ts
7182
+ var workspaceQuery = (workspaceExtId) => workspaceExtId ? { workspace_ext_id: workspaceExtId } : {};
7183
+
7184
+ // src/operations/conversations.ts
7185
+ async function listConversations(arbi, workspaceExtId) {
7186
+ return requireWorkspaceData(
7187
+ await arbi.fetch.GET("/v1/conversation/list", {
7188
+ params: { query: workspaceQuery(workspaceExtId) }
7189
+ }),
7190
+ "Failed to fetch conversations"
7191
+ );
7179
7192
  }
7180
- async function importConversations(auth, fileData, fileName, source = "auto") {
7193
+ async function importConversations(auth, fileData, fileName, source = "auto", workspaceExtId) {
7181
7194
  const formData = new FormData();
7182
7195
  formData.append("file", fileData, fileName);
7196
+ const query2 = new URLSearchParams({ source });
7197
+ if (workspaceExtId) query2.set("workspace_ext_id", workspaceExtId);
7183
7198
  const res = await authenticatedFetch({
7184
7199
  ...auth,
7185
- path: `/v1/conversation/import?source=${encodeURIComponent(source)}`,
7200
+ path: `/v1/conversation/import?${query2}`,
7186
7201
  method: "POST",
7187
7202
  body: formData
7188
7203
  });
@@ -7204,9 +7219,12 @@ async function deleteConversation(arbi, conversationId) {
7204
7219
  "Failed to delete conversation"
7205
7220
  );
7206
7221
  }
7207
- async function searchConversations(arbi, body) {
7208
- return requireData(
7209
- await arbi.fetch.POST("/v1/conversation/search", { body }),
7222
+ async function searchConversations(arbi, body, workspaceExtId) {
7223
+ return requireWorkspaceData(
7224
+ await arbi.fetch.POST("/v1/conversation/search", {
7225
+ params: { query: workspaceQuery(workspaceExtId) },
7226
+ body
7227
+ }),
7210
7228
  "Failed to search conversations"
7211
7229
  );
7212
7230
  }
@@ -7569,9 +7587,14 @@ async function interject(arbi, assistantMessageExtId, answer) {
7569
7587
  );
7570
7588
  }
7571
7589
  async function listSkills(arbi, options) {
7572
- const result = requireData(
7590
+ const result = requireWorkspaceData(
7573
7591
  await arbi.fetch.GET("/v1/assistant/skills", {
7574
- params: { query: { include_hidden: options?.includeHidden ?? false } }
7592
+ params: {
7593
+ query: {
7594
+ include_hidden: options?.includeHidden ?? false,
7595
+ ...workspaceQuery(options?.workspaceExtId)
7596
+ }
7597
+ }
7575
7598
  }),
7576
7599
  "Failed to list skills"
7577
7600
  );
@@ -9063,9 +9086,10 @@ __export(files_exports, {
9063
9086
  uploadFile: () => uploadFile2
9064
9087
  });
9065
9088
  async function listFiles(arbi, options) {
9066
- return requireData(
9089
+ const { workspaceExtId, ...query2 } = options ?? {};
9090
+ return requireWorkspaceData(
9067
9091
  await arbi.fetch.GET("/v1/files", {
9068
- params: { query: options ?? {} }
9092
+ params: { query: { ...query2, ...workspaceQuery(workspaceExtId) } }
9069
9093
  }),
9070
9094
  "Failed to list files"
9071
9095
  );
@@ -9086,13 +9110,13 @@ async function deleteFile(arbi, fileId) {
9086
9110
  "Failed to delete file"
9087
9111
  );
9088
9112
  }
9089
- async function uploadFile2(auth, fileData, fileName, purpose = "assistants") {
9113
+ async function uploadFile2(auth, fileData, fileName, purpose = "assistants", workspaceExtId) {
9090
9114
  const formData = new FormData();
9091
9115
  formData.append("file", fileData, fileName);
9092
9116
  formData.append("purpose", purpose);
9093
9117
  const res = await authenticatedFetch({
9094
9118
  ...auth,
9095
- path: "/v1/files",
9119
+ path: workspaceExtId ? `/v1/files?workspace_ext_id=${encodeURIComponent(workspaceExtId)}` : "/v1/files",
9096
9120
  method: "POST",
9097
9121
  body: formData
9098
9122
  });
@@ -10174,22 +10198,31 @@ function stepsPlan(steps) {
10174
10198
  }
10175
10199
 
10176
10200
  // src/operations/work.ts
10201
+ var TASK_WORKSPACE_CONFLICT_MESSAGES = {
10202
+ ...WORKSPACE_REQUEST_CONFLICT_MESSAGES,
10203
+ workspace_mismatch: "The parent task is in another workspace, so the task was not saved. Choose a parent in the same workspace."
10204
+ };
10177
10205
  var byId = (conversationId) => ({
10178
10206
  params: { path: { conversation_ext_id: conversationId } }
10179
10207
  });
10180
10208
  async function updateConversation(arbi, conversationId, body) {
10181
- return requireData(
10209
+ return requireWorkspaceData(
10182
10210
  await arbi.fetch.PATCH("/v1/conversation/{conversation_ext_id}", {
10183
10211
  ...byId(conversationId),
10184
10212
  body
10185
10213
  }),
10186
- "Failed to update conversation"
10214
+ "Failed to update conversation",
10215
+ TASK_WORKSPACE_CONFLICT_MESSAGES
10187
10216
  );
10188
10217
  }
10189
- async function createWork(arbi, body) {
10190
- return requireData(
10191
- await arbi.fetch.POST("/v1/conversation/work", { body }),
10192
- "Failed to create task"
10218
+ async function createWork(arbi, body, workspaceExtId) {
10219
+ return requireWorkspaceData(
10220
+ await arbi.fetch.POST("/v1/conversation/work", {
10221
+ params: { query: workspaceQuery(workspaceExtId) },
10222
+ body
10223
+ }),
10224
+ "Failed to create task",
10225
+ TASK_WORKSPACE_CONFLICT_MESSAGES
10193
10226
  );
10194
10227
  }
10195
10228
  async function runConversation(arbi, conversationId) {
@@ -10255,9 +10288,12 @@ async function getActivity(arbi, conversationId) {
10255
10288
  "Failed to read the task activity"
10256
10289
  );
10257
10290
  }
10258
- async function planWork(arbi, body) {
10259
- return requireData(
10260
- await arbi.fetch.POST("/v1/conversation/work/plan", { body }),
10291
+ async function planWork(arbi, body, workspaceExtId) {
10292
+ return requireWorkspaceData(
10293
+ await arbi.fetch.POST("/v1/conversation/work/plan", {
10294
+ params: { query: workspaceQuery(workspaceExtId) },
10295
+ body
10296
+ }),
10261
10297
  "Failed to draft a plan"
10262
10298
  );
10263
10299
  }
@@ -10377,14 +10413,26 @@ __export(facts_exports, {
10377
10413
  searchFacts: () => searchFacts,
10378
10414
  updateFact: () => updateFact
10379
10415
  });
10380
- async function createFact(arbi, body) {
10381
- return requireData(await arbi.fetch.POST("/v1/facts/", { body }), "Failed to create note");
10416
+ async function createFact(arbi, body, workspaceExtId) {
10417
+ return requireWorkspaceData(
10418
+ await arbi.fetch.POST("/v1/facts/", {
10419
+ params: { query: workspaceQuery(workspaceExtId) },
10420
+ body
10421
+ }),
10422
+ "Failed to create note"
10423
+ );
10382
10424
  }
10383
- async function createFactsBatch(arbi, body) {
10384
- return requireData(await arbi.fetch.POST("/v1/facts/batch", { body }), "Failed to create notes");
10425
+ async function createFactsBatch(arbi, body, workspaceExtId) {
10426
+ return requireWorkspaceData(
10427
+ await arbi.fetch.POST("/v1/facts/batch", {
10428
+ params: { query: workspaceQuery(workspaceExtId) },
10429
+ body
10430
+ }),
10431
+ "Failed to create notes"
10432
+ );
10385
10433
  }
10386
10434
  async function listFacts(arbi, options) {
10387
- return requireData(
10435
+ return requireWorkspaceData(
10388
10436
  await arbi.fetch.GET("/v1/facts/list", {
10389
10437
  params: {
10390
10438
  query: {
@@ -10394,18 +10442,25 @@ async function listFacts(arbi, options) {
10394
10442
  tag_ext_id: options?.tagExtIds,
10395
10443
  doc_ext_id: options?.docExtId,
10396
10444
  limit: options?.limit,
10397
- offset: options?.offset
10445
+ offset: options?.offset,
10446
+ ...workspaceQuery(options?.workspaceExtId)
10398
10447
  }
10399
10448
  }
10400
10449
  }),
10401
10450
  "Failed to list notes"
10402
10451
  );
10403
10452
  }
10404
- async function searchFacts(arbi, body) {
10405
- return requireData(await arbi.fetch.POST("/v1/facts/search", { body }), "Failed to search notes");
10453
+ async function searchFacts(arbi, body, workspaceExtId) {
10454
+ return requireWorkspaceData(
10455
+ await arbi.fetch.POST("/v1/facts/search", {
10456
+ params: { query: workspaceQuery(workspaceExtId) },
10457
+ body
10458
+ }),
10459
+ "Failed to search notes"
10460
+ );
10406
10461
  }
10407
10462
  async function updateFact(arbi, factId, body) {
10408
- return requireData(
10463
+ return requireWorkspaceData(
10409
10464
  await arbi.fetch.PATCH("/v1/facts/{fact_ext_id}", {
10410
10465
  params: { path: { fact_ext_id: factId } },
10411
10466
  body
@@ -10420,7 +10475,7 @@ async function deleteFact(arbi, factId) {
10420
10475
  if (error) throw new Error("Failed to delete note");
10421
10476
  }
10422
10477
  async function remindFact(arbi, factId, options = {}) {
10423
- return requireData(
10478
+ return requireWorkspaceData(
10424
10479
  await arbi.fetch.POST("/v1/facts/{fact_ext_id}/remind", {
10425
10480
  params: { path: { fact_ext_id: factId } },
10426
10481
  body: {
@@ -12859,11 +12914,22 @@ var Arbi = class {
12859
12914
  };
12860
12915
  // ── Conversations ─────────────────────────────────────────────────────
12861
12916
  conversations = {
12862
- list: () => listConversations(this.requireClient()),
12917
+ /** The current workspace's conversations, or `options.workspaceId`'s (opened, not switched to). */
12918
+ list: async (options) => listConversations(
12919
+ this.requireClient(),
12920
+ await this.requireTargetWorkspace(options?.workspaceId)
12921
+ ),
12863
12922
  getThreads: (conversationId) => getConversationThreads(this.requireClient(), conversationId),
12864
12923
  delete: (conversationId) => deleteConversation(this.requireClient(), conversationId),
12865
- /** Search the open workspace's past conversation messages (keyword + semantic), grouped. */
12866
- search: (body) => searchConversations(this.requireClient(), body),
12924
+ /**
12925
+ * Search the past conversation messages (keyword + semantic, grouped) of the current
12926
+ * workspace, or `options.workspaceId` (opened for this session, not switched to).
12927
+ */
12928
+ search: async (body, options) => searchConversations(
12929
+ this.requireClient(),
12930
+ body,
12931
+ await this.requireTargetWorkspace(options?.workspaceId)
12932
+ ),
12867
12933
  /**
12868
12934
  * Patch a conversation: `title`, `shared` (owner only), its bound document
12869
12935
  * (`bound_document_ext_id`, `null` unbinds), and the work fields (`description`, `due_at`,
@@ -12871,8 +12937,16 @@ var Arbi = class {
12871
12937
  * and attaching a thread to a document.
12872
12938
  */
12873
12939
  update: (conversationId, body) => updateConversation(this.requireClient(), conversationId, body),
12874
- /** Create a work item: a plain to-do, or (with a prompt / skill) agent work that starts now. */
12875
- createWork: (body) => createWork(this.requireClient(), body),
12940
+ /**
12941
+ * Create a work item: a plain to-do, or (with a prompt / skill) agent work that starts now. It
12942
+ * is made in the current workspace, or `options.workspaceId` (opened, not switched to), which
12943
+ * the request names: a switch while it is sent cannot move it.
12944
+ */
12945
+ createWork: async (body, options) => createWork(
12946
+ this.requireClient(),
12947
+ body,
12948
+ await this.requireTargetWorkspace(options?.workspaceId)
12949
+ ),
12876
12950
  /** Run a work item now, or retry it. */
12877
12951
  run: (conversationId) => runConversation(this.requireClient(), conversationId),
12878
12952
  /** The session key an unattended run waits for the owner to allow; 404 when nothing waits. */
@@ -12893,8 +12967,12 @@ var Arbi = class {
12893
12967
  usage: (conversationId) => getConversationUsage(this.requireClient(), conversationId),
12894
12968
  /** Notify people about a conversation (each gets a notification); resolves with who was. */
12895
12969
  notify: (conversationId, userIds) => notifyConversation(this.requireClient(), conversationId, userIds),
12896
- /** Draft an editable plan from an objective. */
12897
- plan: (body) => planWork(this.requireClient(), body),
12970
+ /** Draft an editable plan from an objective, in the current workspace or `options.workspaceId`. */
12971
+ plan: async (body, options) => planWork(
12972
+ this.requireClient(),
12973
+ body,
12974
+ await this.requireTargetWorkspace(options?.workspaceId)
12975
+ ),
12898
12976
  /**
12899
12977
  * Run a work item and, when the run is parked waiting for workspace access, grant the agent's
12900
12978
  * run session a temporary key and run it again. Work that needs no access grant returns from the
@@ -13368,8 +13446,15 @@ var Arbi = class {
13368
13446
  },
13369
13447
  /** Read the status of a background turn. */
13370
13448
  getResponse: (id) => this.recovering(() => getResponse(this.getAuthHeaders(), id)),
13371
- /** The skills the caller can run (own + shared marketplace), metadata only. */
13372
- listSkills: (options) => listSkills(this.requireClient(), options),
13449
+ /**
13450
+ * The skills the caller can run (own + shared marketplace), metadata only. Without a
13451
+ * marketplace they are the current workspace's, or `options.workspaceId`'s (opened, not
13452
+ * switched to).
13453
+ */
13454
+ listSkills: async (options) => listSkills(this.requireClient(), {
13455
+ includeHidden: options?.includeHidden,
13456
+ workspaceExtId: await this.targetWorkspace(options?.workspaceId)
13457
+ }),
13373
13458
  /**
13374
13459
  * Save a SKILL.md as the caller's skill ``slug``: private unless ``shared`` (pass
13375
13460
  * ``shared: isSharedSkill(skill)`` when changing an existing skill, so a shared one stays shared).
@@ -14005,12 +14090,23 @@ var Arbi = class {
14005
14090
  };
14006
14091
  // ── Files (OpenAI-compatible) ────────────────────────────────────────
14007
14092
  files = {
14008
- list: (options) => listFiles(this.requireClient(), options),
14093
+ /** The current workspace's files, or `options.workspaceId`'s (opened, not switched to). */
14094
+ list: async (options) => {
14095
+ const { workspaceId, ...rest } = options ?? {};
14096
+ return listFiles(this.requireClient(), {
14097
+ ...rest,
14098
+ workspaceExtId: await this.targetWorkspace(workspaceId)
14099
+ });
14100
+ },
14009
14101
  get: (fileId) => getFile(this.requireClient(), fileId),
14010
14102
  delete: (fileId) => deleteFile(this.requireClient(), fileId),
14011
- upload: (fileData, fileName, purpose) => this.recovering(
14012
- () => uploadFile2(this.getAuthHeaders(), fileData, fileName, purpose)
14013
- ),
14103
+ /** Upload a file into the current workspace, or `options.workspaceId` (opened, not switched to). */
14104
+ upload: async (fileData, fileName, purpose, options) => {
14105
+ const workspaceExtId = await this.targetWorkspace(options?.workspaceId);
14106
+ return this.recovering(
14107
+ () => uploadFile2(this.getAuthHeaders(), fileData, fileName, purpose, workspaceExtId)
14108
+ );
14109
+ },
14014
14110
  getContent: (fileId) => this.recovering(() => getFileContent(this.getAuthHeaders(), fileId))
14015
14111
  };
14016
14112
  // ── Agents ──────────────────────────────────────────────────────────
@@ -14146,15 +14242,38 @@ var Arbi = class {
14146
14242
  export: (databaseId, format) => exportDatabase(this.requireClient(), databaseId, format)
14147
14243
  };
14148
14244
  // ── Workspace facts ─────────────────────────────────────────────────
14245
+ /**
14246
+ * Notes. Create, list and search act in the current workspace, or `workspaceId` (opened for this
14247
+ * session, not switched to), which the request names; update, delete and remind act in the
14248
+ * note's own workspace, which the server derives from it.
14249
+ */
14149
14250
  facts = {
14150
- create: (body) => createFact(this.requireClient(), body),
14251
+ create: async (body, options) => createFact(
14252
+ this.requireClient(),
14253
+ body,
14254
+ await this.requireTargetWorkspace(options?.workspaceId)
14255
+ ),
14151
14256
  /** Create up to 200 notes in one all-or-nothing request. */
14152
- createBatch: (body) => createFactsBatch(this.requireClient(), body),
14257
+ createBatch: async (body, options) => createFactsBatch(
14258
+ this.requireClient(),
14259
+ body,
14260
+ await this.requireTargetWorkspace(options?.workspaceId)
14261
+ ),
14153
14262
  /** Pass `from`/`to`/`datedOnly` for the timeline view — dated notes only,
14154
14263
  * ordered by when they happened. `tagExtIds` / `docExtId` narrow the list;
14155
14264
  * `limit` / `offset` page it. */
14156
- list: (options) => listFacts(this.requireClient(), options),
14157
- search: (body) => searchFacts(this.requireClient(), body),
14265
+ list: async (options) => {
14266
+ const { workspaceId, ...filter } = options ?? {};
14267
+ return listFacts(this.requireClient(), {
14268
+ ...filter,
14269
+ workspaceExtId: await this.requireTargetWorkspace(workspaceId)
14270
+ });
14271
+ },
14272
+ search: async (body, options) => searchFacts(
14273
+ this.requireClient(),
14274
+ body,
14275
+ await this.requireTargetWorkspace(options?.workspaceId)
14276
+ ),
14158
14277
  update: (factId, body) => updateFact(this.requireClient(), factId, body),
14159
14278
  delete: (factId) => deleteFact(this.requireClient(), factId),
14160
14279
  /** One-off reminder on a dated note: an explicit `remindAt`, or