@arbidocs/sdk 0.5.75 → 0.5.77

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, dp as UploadResult, t as AuthHeaders, di as UploadBatchResult, dm as UploadOptions, dj as UploadDirectOptions, dk as UploadDirectResult, cq as SUPPORTED_EXTENSIONS, bk as MailAttachment, S as ChatCryptoContext } from './browser-Cy6Noci7.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 SyncTriggerResult, cW as TAG_KINDS, cX as TAG_NESTING_MAX_DEPTH, cY as TagChange, cZ as TagFieldDefinition, c_ as TagGroup, c$ as TagKind, d0 as TagKindField, d1 as TagKindSchema, d2 as TagLinks, d3 as TagListQuery, d4 as TagNode, d5 as TagResponse, d6 as TagScope, d7 as TagTreeRow, d8 as TaskPlan, d9 as TaskPlanStep, da as TaxQuoteResponse, db as Thread, dc as ThreadsResponse, dd as TimeSuggestion, de as TurnRequest, df as UpdateConversationRequest, dh as UpdateWorkflowRequest, dl as UploadDocumentsOptions, dn as UploadProgressListener, dq as UsageBreakdown, dr as UserConnectorEntry, ds as UserDailyUsageResponse, dt as UserInfo, du as WebSocketAuthError, dv as WeeklyHoursSpec, dw as WorkStatus, dx as WorkflowAuthMode, dy as WorkflowResponse, dz as WorkflowRunHistoryResponse, dA as WorkflowRunResponse, dB as WorkspaceConflict, dC as WorkspaceContext, dD as WorkspaceOpenResponse, dE as WorkspaceResponse, dF as WsConnection, dG as account, dH as agentconfig, dI as agents, dJ as appendTranscriptionHints, dK as assistant, dL as authenticatedFetch, dM as bookPublicSlot, dN as buildCitationChunkData, dO as buildDocNameMap, dP as buildDocumentTools, dQ as buildFactsContextTool, dR as buildRetrievalChunkTool, dS as buildRetrievalFullContextTool, dT as buildRetrievalTocTool, dU as buildTurnRequest, dV as calendar, dW as calls, dX as canTagHaveParent, dY as cancelPublicBooking, dZ as capabilities, d_ as chats, d$ as composeConfiguration, e0 as composeTools, e1 as computeRunStats, e2 as connectErrorMessage, e3 as connectWebSocket, e4 as connectWithReconnect, e5 as connectors, e6 as contacts, e7 as continuityPrompt, e8 as conversations, e9 as countCitations, ea as createAuthenticatedClient, eb as createDocumentWaiter, ec as createIndexAssigner, ed as databases, ee as defaultKindForFormat, ef as diagnoseSetup, eg as doctags, eh as documentTools, ei as documents, ej as estimateDraftTokens, ek as extractDocumentIdsFromMessages, el as extractFactIdsFromMessages, em as extractSubagentLanes, en as facts, eo as files, ep as filterDocumentTags, eq as filterSkills, er as findLeafForTaskMessage, es as findMainSiblingLeaf, et as findReplyTarget, eu as findSubagentRunId, ev as flattenTagTree, ew as formatAgentStepLabel, ex as formatFileSize, ey as formatGbp, ez as formatGbpPerMillionTokens, eA as formatItemLabel, eB as formatStreamSummary, eC as formatTokens, eD as formatUserName, eE as formatWorkspaceChoices, eF as formatWsMessage, eG as generateEncryptedWorkspaceKey, eH as generateNewWorkspaceKey, eI as getAgentStepLabel, eJ as getAttachableRunId, eK as getChildTags, eL as getContextRemainingPercent, eM as getContextUsedPercent, eN as getContextUsedTokens, eO as getCurrentStep, eP as getEligibleParentTags, eQ as getErrorCode, eR as getErrorMessage, eS as getPublicBookingPage, eT as getRawWorkspaceKey, eU as getRunToAttach, eV as getRunToCancel, eW as getStepDisplay, eX as getStepTool, eY as getSubagentBranchRecord, eZ as getTagDescendantIds, e_ as health, e$ as houseTemplates, f0 as hydrateAgentSteps, f2 as identityErrorCode, f1 as identityVerification, f3 as instructions, f4 as isAnnotationTag, f5 as isConnectorVendorVisible, f6 as isDriveSyncVendor, f7 as isEntityTag, f8 as isFlatKind, f9 as isLabelTag, fa as isMailboxSyncVendor, fb as isNearAiUsageBudget, fc as isPresenceTag, fd as isSharePointVendor, fe as isSharedSkill, ff as isTraceItem, fg as mail, fh as mcpTools, fi as mergeAgentSteps, fj as modelConnections, fk as notifications, fl as parseSSEEvents, fm as parseSlashCommand, fn as parseSlashTokenInProgress, fo as parseStructuredResponse, fp as performPasswordLogin, fq as performSigningKeyLogin, fr as performSsoDeviceFlowLogin, fs as pickMainThread, ft as profile, fu as progressFetch, fv as projects, fw as quotaExceededFrom, fx as quotaFromStreamError, fy as reduceOutputItem, fz as refusalReason, fA as requireData, fB as requireOk, fC as resolveAuth, fD as resolveCitations, fE as resolveSummary, fF as resolveWorkspace, fG as responses, fH as searchChunks, fI as secureMail, fJ as selectFullContextDocument, fK as selectWorkspace, fL as selectWorkspaceById, fM as sessions, fN as settings, fO as signatureRequests, fP as sliceToSubagentThread, fQ as streamSSE, fR as stripCitationMarkdown, fS as subagentJobLabel, fT as summarizeCitations, fU as tagUseCount, fV as tags, fW as tagsForScope, fX as tagsOfGroup, fY as topLevelAgentSteps, fZ as uploadSkill, f_ as usdToGbp, f$ as work, g0 as workflowSteps, g1 as workflows, g2 as workspaceConflictOf, g3 as workspaces, g4 as wouldCreateTagCycle } from './browser-Cy6Noci7.cjs';
1
+ import { a4 as ConfigStore, a1 as CliConfig, a2 as CliCredentials, _ as ChatSession, cC as SkippedFile, dq as UploadResult, t as AuthHeaders, dj as UploadBatchResult, dn as UploadOptions, dk as UploadDirectOptions, dl as UploadDirectResult, cq as SUPPORTED_EXTENSIONS, bk as MailAttachment, S as ChatCryptoContext } from './browser-BMQMb3DJ.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 SupportTicketInput, cW as SyncTriggerResult, cX as TAG_KINDS, cY as TAG_NESTING_MAX_DEPTH, cZ as TagChange, c_ as TagFieldDefinition, c$ as TagGroup, d0 as TagKind, d1 as TagKindField, d2 as TagKindSchema, d3 as TagLinks, d4 as TagListQuery, d5 as TagNode, d6 as TagResponse, d7 as TagScope, d8 as TagTreeRow, d9 as TaskPlan, da as TaskPlanStep, db as TaxQuoteResponse, dc as Thread, dd as ThreadsResponse, de as TimeSuggestion, df as TurnRequest, dg as UpdateConversationRequest, di as UpdateWorkflowRequest, dm as UploadDocumentsOptions, dp as UploadProgressListener, dr as UsageBreakdown, ds as UserConnectorEntry, dt as UserDailyUsageResponse, du as UserInfo, dv as WebSocketAuthError, dw as WeeklyHoursSpec, dx as WorkStatus, dy as WorkflowAuthMode, dz as WorkflowResponse, dA as WorkflowRunHistoryResponse, dB as WorkflowRunResponse, dC as WorkspaceConflict, dD as WorkspaceContext, dE as WorkspaceOpenResponse, dF as WorkspaceResponse, dG as WsConnection, dH as account, dI as agentconfig, dJ as agents, dK as appendTranscriptionHints, dL as assistant, dM as authenticatedFetch, dN as bookPublicSlot, dO as buildCitationChunkData, dP as buildDocNameMap, dQ as buildDocumentTools, dR as buildFactsContextTool, dS as buildRetrievalChunkTool, dT as buildRetrievalFullContextTool, dU as buildRetrievalTocTool, dV as buildTurnRequest, dW as calendar, dX as calls, dY as canTagHaveParent, dZ as cancelPublicBooking, d_ as capabilities, d$ as chats, e0 as composeConfiguration, e1 as composeTools, e2 as computeRunStats, e3 as connectErrorMessage, e4 as connectWebSocket, e5 as connectWithReconnect, e6 as connectors, e7 as contacts, e8 as continuityPrompt, e9 as conversations, ea as countCitations, eb as createAuthenticatedClient, ec as createDocumentWaiter, ed as createIndexAssigner, ee as databases, ef as defaultKindForFormat, eg as diagnoseSetup, eh as doctags, ei as documentTools, ej as documents, ek as estimateDraftTokens, el as extractDocumentIdsFromMessages, em as extractFactIdsFromMessages, en as extractSubagentLanes, eo as facts, ep as files, eq as filterDocumentTags, er as filterSkills, es as findLeafForTaskMessage, et as findMainSiblingLeaf, eu as findReplyTarget, ev as findSubagentRunId, ew as flattenTagTree, ex as formatAgentStepLabel, ey as formatFileSize, ez as formatGbp, eA as formatGbpPerMillionTokens, eB as formatItemLabel, eC as formatStreamSummary, eD as formatTokens, eE as formatUserName, eF as formatWorkspaceChoices, eG as formatWsMessage, eH as generateEncryptedWorkspaceKey, eI as generateNewWorkspaceKey, eJ as getAgentStepLabel, eK as getAttachableRunId, eL as getChildTags, eM as getContextRemainingPercent, eN as getContextUsedPercent, eO as getContextUsedTokens, eP as getCurrentStep, eQ as getEligibleParentTags, eR as getErrorCode, eS as getErrorMessage, eT as getPublicBookingPage, eU as getRawWorkspaceKey, eV as getRunToAttach, eW as getRunToCancel, eX as getStepDisplay, eY as getStepTool, eZ as getSubagentBranchRecord, e_ as getTagDescendantIds, e$ as health, f0 as houseTemplates, f1 as hydrateAgentSteps, f3 as identityErrorCode, f2 as identityVerification, f4 as instructions, f5 as isAnnotationTag, f6 as isConnectorVendorVisible, f7 as isDriveSyncVendor, f8 as isEntityTag, f9 as isFlatKind, fa as isLabelTag, fb as isMailboxSyncVendor, fc as isNearAiUsageBudget, fd as isPresenceTag, fe as isSharePointVendor, ff as isSharedSkill, fg as isTraceItem, fh as mail, fi as mcpTools, fj as mergeAgentSteps, fk as modelConnections, fl as notifications, fm as parseSSEEvents, fn as parseSlashCommand, fo as parseSlashTokenInProgress, fp as parseStructuredResponse, fq as performPasswordLogin, fr as performSigningKeyLogin, fs as performSsoDeviceFlowLogin, ft as pickMainThread, fu as profile, fv as progressFetch, fw as projects, fx as quotaExceededFrom, fy as quotaFromStreamError, fz as reduceOutputItem, fA as refusalReason, fB as requireData, fC as requireOk, fD as resolveAuth, fE as resolveCitations, fF as resolveSummary, fG as resolveWorkspace, fH as responses, fI as searchChunks, fJ as secureMail, fK as selectFullContextDocument, fL as selectWorkspace, fM as selectWorkspaceById, fN as sessions, fO as settings, fP as signatureRequests, fQ as sliceToSubagentThread, fR as streamSSE, fS as stripCitationMarkdown, fT as subagentJobLabel, fU as summarizeCitations, fV as support, fW as tagUseCount, fX as tags, fY as tagsForScope, fZ as tagsOfGroup, f_ as topLevelAgentSteps, f$ as uploadSkill, g0 as usdToGbp, g1 as work, g2 as workflowSteps, g3 as workflows, g4 as workspaceConflictOf, g5 as workspaces, g6 as wouldCreateTagCycle } from './browser-BMQMb3DJ.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, dp as UploadResult, t as AuthHeaders, di as UploadBatchResult, dm as UploadOptions, dj as UploadDirectOptions, dk as UploadDirectResult, cq as SUPPORTED_EXTENSIONS, bk as MailAttachment, S as ChatCryptoContext } from './browser-CJ8FI-q-.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 SyncTriggerResult, cW as TAG_KINDS, cX as TAG_NESTING_MAX_DEPTH, cY as TagChange, cZ as TagFieldDefinition, c_ as TagGroup, c$ as TagKind, d0 as TagKindField, d1 as TagKindSchema, d2 as TagLinks, d3 as TagListQuery, d4 as TagNode, d5 as TagResponse, d6 as TagScope, d7 as TagTreeRow, d8 as TaskPlan, d9 as TaskPlanStep, da as TaxQuoteResponse, db as Thread, dc as ThreadsResponse, dd as TimeSuggestion, de as TurnRequest, df as UpdateConversationRequest, dh as UpdateWorkflowRequest, dl as UploadDocumentsOptions, dn as UploadProgressListener, dq as UsageBreakdown, dr as UserConnectorEntry, ds as UserDailyUsageResponse, dt as UserInfo, du as WebSocketAuthError, dv as WeeklyHoursSpec, dw as WorkStatus, dx as WorkflowAuthMode, dy as WorkflowResponse, dz as WorkflowRunHistoryResponse, dA as WorkflowRunResponse, dB as WorkspaceConflict, dC as WorkspaceContext, dD as WorkspaceOpenResponse, dE as WorkspaceResponse, dF as WsConnection, dG as account, dH as agentconfig, dI as agents, dJ as appendTranscriptionHints, dK as assistant, dL as authenticatedFetch, dM as bookPublicSlot, dN as buildCitationChunkData, dO as buildDocNameMap, dP as buildDocumentTools, dQ as buildFactsContextTool, dR as buildRetrievalChunkTool, dS as buildRetrievalFullContextTool, dT as buildRetrievalTocTool, dU as buildTurnRequest, dV as calendar, dW as calls, dX as canTagHaveParent, dY as cancelPublicBooking, dZ as capabilities, d_ as chats, d$ as composeConfiguration, e0 as composeTools, e1 as computeRunStats, e2 as connectErrorMessage, e3 as connectWebSocket, e4 as connectWithReconnect, e5 as connectors, e6 as contacts, e7 as continuityPrompt, e8 as conversations, e9 as countCitations, ea as createAuthenticatedClient, eb as createDocumentWaiter, ec as createIndexAssigner, ed as databases, ee as defaultKindForFormat, ef as diagnoseSetup, eg as doctags, eh as documentTools, ei as documents, ej as estimateDraftTokens, ek as extractDocumentIdsFromMessages, el as extractFactIdsFromMessages, em as extractSubagentLanes, en as facts, eo as files, ep as filterDocumentTags, eq as filterSkills, er as findLeafForTaskMessage, es as findMainSiblingLeaf, et as findReplyTarget, eu as findSubagentRunId, ev as flattenTagTree, ew as formatAgentStepLabel, ex as formatFileSize, ey as formatGbp, ez as formatGbpPerMillionTokens, eA as formatItemLabel, eB as formatStreamSummary, eC as formatTokens, eD as formatUserName, eE as formatWorkspaceChoices, eF as formatWsMessage, eG as generateEncryptedWorkspaceKey, eH as generateNewWorkspaceKey, eI as getAgentStepLabel, eJ as getAttachableRunId, eK as getChildTags, eL as getContextRemainingPercent, eM as getContextUsedPercent, eN as getContextUsedTokens, eO as getCurrentStep, eP as getEligibleParentTags, eQ as getErrorCode, eR as getErrorMessage, eS as getPublicBookingPage, eT as getRawWorkspaceKey, eU as getRunToAttach, eV as getRunToCancel, eW as getStepDisplay, eX as getStepTool, eY as getSubagentBranchRecord, eZ as getTagDescendantIds, e_ as health, e$ as houseTemplates, f0 as hydrateAgentSteps, f2 as identityErrorCode, f1 as identityVerification, f3 as instructions, f4 as isAnnotationTag, f5 as isConnectorVendorVisible, f6 as isDriveSyncVendor, f7 as isEntityTag, f8 as isFlatKind, f9 as isLabelTag, fa as isMailboxSyncVendor, fb as isNearAiUsageBudget, fc as isPresenceTag, fd as isSharePointVendor, fe as isSharedSkill, ff as isTraceItem, fg as mail, fh as mcpTools, fi as mergeAgentSteps, fj as modelConnections, fk as notifications, fl as parseSSEEvents, fm as parseSlashCommand, fn as parseSlashTokenInProgress, fo as parseStructuredResponse, fp as performPasswordLogin, fq as performSigningKeyLogin, fr as performSsoDeviceFlowLogin, fs as pickMainThread, ft as profile, fu as progressFetch, fv as projects, fw as quotaExceededFrom, fx as quotaFromStreamError, fy as reduceOutputItem, fz as refusalReason, fA as requireData, fB as requireOk, fC as resolveAuth, fD as resolveCitations, fE as resolveSummary, fF as resolveWorkspace, fG as responses, fH as searchChunks, fI as secureMail, fJ as selectFullContextDocument, fK as selectWorkspace, fL as selectWorkspaceById, fM as sessions, fN as settings, fO as signatureRequests, fP as sliceToSubagentThread, fQ as streamSSE, fR as stripCitationMarkdown, fS as subagentJobLabel, fT as summarizeCitations, fU as tagUseCount, fV as tags, fW as tagsForScope, fX as tagsOfGroup, fY as topLevelAgentSteps, fZ as uploadSkill, f_ as usdToGbp, f$ as work, g0 as workflowSteps, g1 as workflows, g2 as workspaceConflictOf, g3 as workspaces, g4 as wouldCreateTagCycle } from './browser-CJ8FI-q-.js';
1
+ import { a4 as ConfigStore, a1 as CliConfig, a2 as CliCredentials, _ as ChatSession, cC as SkippedFile, dq as UploadResult, t as AuthHeaders, dj as UploadBatchResult, dn as UploadOptions, dk as UploadDirectOptions, dl as UploadDirectResult, cq as SUPPORTED_EXTENSIONS, bk as MailAttachment, S as ChatCryptoContext } from './browser-CNfgaMuJ.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 SupportTicketInput, cW as SyncTriggerResult, cX as TAG_KINDS, cY as TAG_NESTING_MAX_DEPTH, cZ as TagChange, c_ as TagFieldDefinition, c$ as TagGroup, d0 as TagKind, d1 as TagKindField, d2 as TagKindSchema, d3 as TagLinks, d4 as TagListQuery, d5 as TagNode, d6 as TagResponse, d7 as TagScope, d8 as TagTreeRow, d9 as TaskPlan, da as TaskPlanStep, db as TaxQuoteResponse, dc as Thread, dd as ThreadsResponse, de as TimeSuggestion, df as TurnRequest, dg as UpdateConversationRequest, di as UpdateWorkflowRequest, dm as UploadDocumentsOptions, dp as UploadProgressListener, dr as UsageBreakdown, ds as UserConnectorEntry, dt as UserDailyUsageResponse, du as UserInfo, dv as WebSocketAuthError, dw as WeeklyHoursSpec, dx as WorkStatus, dy as WorkflowAuthMode, dz as WorkflowResponse, dA as WorkflowRunHistoryResponse, dB as WorkflowRunResponse, dC as WorkspaceConflict, dD as WorkspaceContext, dE as WorkspaceOpenResponse, dF as WorkspaceResponse, dG as WsConnection, dH as account, dI as agentconfig, dJ as agents, dK as appendTranscriptionHints, dL as assistant, dM as authenticatedFetch, dN as bookPublicSlot, dO as buildCitationChunkData, dP as buildDocNameMap, dQ as buildDocumentTools, dR as buildFactsContextTool, dS as buildRetrievalChunkTool, dT as buildRetrievalFullContextTool, dU as buildRetrievalTocTool, dV as buildTurnRequest, dW as calendar, dX as calls, dY as canTagHaveParent, dZ as cancelPublicBooking, d_ as capabilities, d$ as chats, e0 as composeConfiguration, e1 as composeTools, e2 as computeRunStats, e3 as connectErrorMessage, e4 as connectWebSocket, e5 as connectWithReconnect, e6 as connectors, e7 as contacts, e8 as continuityPrompt, e9 as conversations, ea as countCitations, eb as createAuthenticatedClient, ec as createDocumentWaiter, ed as createIndexAssigner, ee as databases, ef as defaultKindForFormat, eg as diagnoseSetup, eh as doctags, ei as documentTools, ej as documents, ek as estimateDraftTokens, el as extractDocumentIdsFromMessages, em as extractFactIdsFromMessages, en as extractSubagentLanes, eo as facts, ep as files, eq as filterDocumentTags, er as filterSkills, es as findLeafForTaskMessage, et as findMainSiblingLeaf, eu as findReplyTarget, ev as findSubagentRunId, ew as flattenTagTree, ex as formatAgentStepLabel, ey as formatFileSize, ez as formatGbp, eA as formatGbpPerMillionTokens, eB as formatItemLabel, eC as formatStreamSummary, eD as formatTokens, eE as formatUserName, eF as formatWorkspaceChoices, eG as formatWsMessage, eH as generateEncryptedWorkspaceKey, eI as generateNewWorkspaceKey, eJ as getAgentStepLabel, eK as getAttachableRunId, eL as getChildTags, eM as getContextRemainingPercent, eN as getContextUsedPercent, eO as getContextUsedTokens, eP as getCurrentStep, eQ as getEligibleParentTags, eR as getErrorCode, eS as getErrorMessage, eT as getPublicBookingPage, eU as getRawWorkspaceKey, eV as getRunToAttach, eW as getRunToCancel, eX as getStepDisplay, eY as getStepTool, eZ as getSubagentBranchRecord, e_ as getTagDescendantIds, e$ as health, f0 as houseTemplates, f1 as hydrateAgentSteps, f3 as identityErrorCode, f2 as identityVerification, f4 as instructions, f5 as isAnnotationTag, f6 as isConnectorVendorVisible, f7 as isDriveSyncVendor, f8 as isEntityTag, f9 as isFlatKind, fa as isLabelTag, fb as isMailboxSyncVendor, fc as isNearAiUsageBudget, fd as isPresenceTag, fe as isSharePointVendor, ff as isSharedSkill, fg as isTraceItem, fh as mail, fi as mcpTools, fj as mergeAgentSteps, fk as modelConnections, fl as notifications, fm as parseSSEEvents, fn as parseSlashCommand, fo as parseSlashTokenInProgress, fp as parseStructuredResponse, fq as performPasswordLogin, fr as performSigningKeyLogin, fs as performSsoDeviceFlowLogin, ft as pickMainThread, fu as profile, fv as progressFetch, fw as projects, fx as quotaExceededFrom, fy as quotaFromStreamError, fz as reduceOutputItem, fA as refusalReason, fB as requireData, fC as requireOk, fD as resolveAuth, fE as resolveCitations, fF as resolveSummary, fG as resolveWorkspace, fH as responses, fI as searchChunks, fJ as secureMail, fK as selectFullContextDocument, fL as selectWorkspace, fM as selectWorkspaceById, fN as sessions, fO as settings, fP as signatureRequests, fQ as sliceToSubagentThread, fR as streamSSE, fS as stripCitationMarkdown, fT as subagentJobLabel, fU as summarizeCitations, fV as support, fW as tagUseCount, fX as tags, fY as tagsForScope, fZ as tagsOfGroup, f_ as topLevelAgentSteps, f$ as uploadSkill, g0 as usdToGbp, g1 as work, g2 as workflowSteps, g3 as workflows, g4 as workspaceConflictOf, g5 as workspaces, g6 as wouldCreateTagCycle } from './browser-CNfgaMuJ.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
@@ -5172,6 +5172,39 @@ function buildChunkLookup(tools) {
5172
5172
  return lookup;
5173
5173
  }
5174
5174
 
5175
+ // src/operations/support.ts
5176
+ var support_exports = {};
5177
+ __export(support_exports, {
5178
+ createSupportTicket: () => createSupportTicket
5179
+ });
5180
+
5181
+ // src/operations/mail-encoding.ts
5182
+ function bytesToBase64(bytes) {
5183
+ let binary = "";
5184
+ for (let i2 = 0; i2 < bytes.length; i2 += 32768) {
5185
+ binary += String.fromCharCode(...bytes.subarray(i2, i2 + 32768));
5186
+ }
5187
+ return btoa(binary);
5188
+ }
5189
+
5190
+ // src/operations/support.ts
5191
+ async function createSupportTicket(arbi, input) {
5192
+ if (!input.description.trim()) throw new ArbiError("Describe what you need help with.");
5193
+ if (input.screenshot && (input.screenshot.type !== "image/png" || input.screenshot.size > 2 * 1024 * 1024))
5194
+ throw new ArbiError("The screenshot must be a PNG image no larger than 2 MB.");
5195
+ const screenshot = input.screenshot ? bytesToBase64(new Uint8Array(await input.screenshot.arrayBuffer())) : void 0;
5196
+ return requireData(
5197
+ await arbi.fetch.POST("/v1/support/tickets", {
5198
+ body: {
5199
+ description: input.description.trim(),
5200
+ idempotency_key: input.idempotencyKey ?? crypto.randomUUID(),
5201
+ ...screenshot ? { screenshot_png: screenshot } : {}
5202
+ }
5203
+ }),
5204
+ "Could not send your support request."
5205
+ );
5206
+ }
5207
+
5175
5208
  // src/diagnostics.ts
5176
5209
  async function diagnoseSetup(options) {
5177
5210
  const checks = [];
@@ -6726,15 +6759,6 @@ __export(secure_mail_exports, {
6726
6759
  prepareSecureMail: () => prepareSecureMail,
6727
6760
  secureMime: () => secureMime
6728
6761
  });
6729
-
6730
- // src/operations/mail-encoding.ts
6731
- function bytesToBase64(bytes) {
6732
- let binary = "";
6733
- for (let i2 = 0; i2 < bytes.length; i2 += 32768) {
6734
- binary += String.fromCharCode(...bytes.subarray(i2, i2 + 32768));
6735
- }
6736
- return btoa(binary);
6737
- }
6738
6762
  var MAX_MESSAGE_BYTES = 25 * 1024 * 1024;
6739
6763
  var utf8 = new TextEncoder();
6740
6764
  var encodedWord = (value) => `=?UTF-8?B?${bytesToBase64(utf8.encode(value))}?=`;
@@ -10517,8 +10541,10 @@ __export(mail_exports, {
10517
10541
  listFolders: () => listFolders,
10518
10542
  listMailAccounts: () => listMailAccounts,
10519
10543
  listMessages: () => listMessages,
10544
+ openDraftEditor: () => openDraftEditor,
10520
10545
  saveDraft: () => saveDraft,
10521
10546
  sendMessage: () => sendMessage,
10547
+ unlockMailCredentials: () => unlockMailCredentials,
10522
10548
  unlockNativeMail: () => unlockNativeMail,
10523
10549
  updateMessage: () => updateMessage
10524
10550
  });
@@ -10615,6 +10641,47 @@ async function unlockNativeMail(mail, keys) {
10615
10641
  secretKey.fill(0);
10616
10642
  }
10617
10643
  }
10644
+ async function unlockMailCredentials(mail, accountId, keys) {
10645
+ await initSodium();
10646
+ const secretKey = encryptionKeypairFromSigningKey(keys.signingPrivateKey).secretKey;
10647
+ const { sealed_credentials } = await json(
10648
+ mail(`${accountPath(accountId)}/sealed-credentials`)
10649
+ );
10650
+ const bytes = sealedBoxDecrypt(sealed_credentials, secretKey);
10651
+ try {
10652
+ const access = await sealKeyForSession(bytes, keys.serverSessionKey);
10653
+ await mail(`${accountPath(accountId)}/session-credentials`, {
10654
+ method: "POST",
10655
+ body: JSON.stringify({ access })
10656
+ });
10657
+ } finally {
10658
+ bytes.fill(0);
10659
+ secretKey.fill(0);
10660
+ }
10661
+ }
10662
+ async function openDraftEditor(mail, body, keys) {
10663
+ const open = (extra = {}) => json(
10664
+ mail("/drafts/editor", { method: "POST", body: JSON.stringify({ ...body, ...extra }) })
10665
+ );
10666
+ try {
10667
+ return await open();
10668
+ } catch (error) {
10669
+ const { status, apiError } = error;
10670
+ const locked = apiError?.detail;
10671
+ if (status !== 423 || !locked?.sealed_key || !locked.room_id) throw error;
10672
+ const { signingPrivateKey, serverSessionKey } = await keys();
10673
+ await initSodium();
10674
+ const secretKey = encryptionKeypairFromSigningKey(signingPrivateKey).secretKey;
10675
+ const key = sealedBoxDecrypt(locked.sealed_key, secretKey);
10676
+ try {
10677
+ const sealed = await sealKeyForSession(key, serverSessionKey);
10678
+ return await open({ room_id: locked.room_id, key: sealed });
10679
+ } finally {
10680
+ key.fill(0);
10681
+ secretKey.fill(0);
10682
+ }
10683
+ }
10684
+ }
10618
10685
  function attachmentFromBytes(name, contentType, bytes) {
10619
10686
  return {
10620
10687
  id: "",
@@ -12883,34 +12950,84 @@ var Arbi = class {
12883
12950
  * recovery. Pass `fetch` to the `mail` operations, e.g. `mail.listFolders(arbi.mail.fetch)`.
12884
12951
  */
12885
12952
  mail = {
12886
- /** Fetch a path under `/v1/mail`; rejects a non-2xx response with an `ArbiApiError` (`status`). */
12887
- fetch: (path5, init = {}) => this.recovering(async () => {
12888
- const { baseUrl, accessToken, fetch: send = globalThis.fetch } = this.getAuthHeaders();
12889
- const headers = new Headers(init.headers);
12890
- headers.set("Authorization", `Bearer ${accessToken}`);
12891
- if (init.body && !headers.has("Content-Type"))
12892
- headers.set("Content-Type", "application/json");
12893
- const response = await send(`${baseUrl}/v1/mail${path5}`, { ...init, headers });
12894
- if (!response.ok) {
12895
- const body = await response.json().catch(() => null);
12896
- throw new ArbiApiError(
12897
- typeof body?.detail === "string" ? body.detail : "The mail request could not be completed",
12898
- body,
12899
- response.status
12900
- );
12901
- }
12902
- return response;
12953
+ /**
12954
+ * Fetch a path under `/v1/mail`; rejects a non-2xx response with an `ArbiApiError` (`status`).
12955
+ * A read of the native inbox unlocks it first (`unlockNative`), so mail that arrived since is
12956
+ * readable too; `nativeUnlocked` skips that when the caller already unlocked it for this pass.
12957
+ * With no token yet (a new tab) the session is restored first; a 401 re-logs in and is sent
12958
+ * again once.
12959
+ */
12960
+ fetch: (path5, init = {}, { nativeUnlocked = false } = {}) => this.recovering(async () => {
12961
+ const nativeRead = path5.startsWith("/accounts/native/") && (init.method ?? "GET").toUpperCase() !== "POST";
12962
+ if (nativeRead && !nativeUnlocked) await this.mail.unlockNative();
12963
+ return this.mailRequest(path5, init);
12903
12964
  }),
12904
- /** Unlock the signed-in user's native inbox for this server session (see `unlockNativeMail`). */
12905
- unlockNative: () => {
12906
- const login = this.loginResult;
12907
- if (!login) return Promise.reject(new ArbiError("Sign in to unlock your inbox"));
12908
- return unlockNativeMail(this.mail.fetch, {
12909
- signingPrivateKey: login.signingPrivateKey,
12910
- serverSessionKey: login.serverSessionKey
12911
- });
12912
- }
12965
+ /**
12966
+ * Unlock the signed-in user's native inbox for this server session (see `unlockNativeMail`).
12967
+ * Concurrent calls share one unlock.
12968
+ */
12969
+ unlockNative: () => this.nativeUnlock ??= this.nativeMailKeys().then((keys) => unlockNativeMail(this.mail.fetch, keys)).finally(() => {
12970
+ this.nativeUnlock = null;
12971
+ }),
12972
+ /**
12973
+ * Hand this session what the server needs to read `account`: the native inbox's keys, a
12974
+ * Microsoft or Gmail account's connector tokens, an IMAP account's sealed credentials.
12975
+ */
12976
+ unlockAccount: async (account) => {
12977
+ if (account.provider === "native") return this.mail.unlockNative();
12978
+ if (account.provider === "microsoft" || account.provider === "gmail") {
12979
+ await this.connectors.bridgeTokens({ vendor: account.provider });
12980
+ return;
12981
+ }
12982
+ await unlockMailCredentials(this.mail.fetch, account.id, await this.nativeMailKeys());
12983
+ },
12984
+ /**
12985
+ * Open a native draft's body in the Word editor, unlocking its room for this session with the
12986
+ * user's key when the server asks (see `openDraftEditor`).
12987
+ */
12988
+ openDraftEditor: (body) => openDraftEditor(this.mail.fetch, body, () => this.nativeMailKeys())
12913
12989
  };
12990
+ /** The native inbox unlock in flight (`mail.unlockNative`). */
12991
+ nativeUnlock = null;
12992
+ /** One request under `/v1/mail` on the session's token (see `mail.fetch`). */
12993
+ async mailRequest(path5, init) {
12994
+ const client = this.requireClient();
12995
+ let token = client.session.getState().accessToken;
12996
+ if (!token) token = await client.auth.relogin();
12997
+ if (!token) throw new ArbiError("Sign in again to restore your session");
12998
+ const send = client.http?.fetch ?? globalThis.fetch;
12999
+ const request = (bearer) => {
13000
+ const headers = new Headers(init.headers);
13001
+ headers.set("Authorization", `Bearer ${bearer}`);
13002
+ if (init.body && !headers.has("Content-Type")) headers.set("Content-Type", "application/json");
13003
+ return send(`${this.options.url}/v1/mail${path5}`, { ...init, headers });
13004
+ };
13005
+ let response = await request(token);
13006
+ if (response.status === 401) {
13007
+ const refreshed = await client.auth.relogin();
13008
+ if (refreshed) response = await request(refreshed);
13009
+ }
13010
+ if (!response.ok) {
13011
+ const body = await response.json().catch(() => null);
13012
+ throw new ArbiApiError(
13013
+ typeof body?.detail === "string" ? body.detail : "The mail request could not be completed",
13014
+ body,
13015
+ response.status
13016
+ );
13017
+ }
13018
+ return response;
13019
+ }
13020
+ /**
13021
+ * The keys that unlock the user's mail for this server session: the session's key (current after
13022
+ * a re-login) and the identity key (the login's, or the one kept on this device).
13023
+ */
13024
+ async nativeMailKeys() {
13025
+ const client = this.requireClient();
13026
+ const serverSessionKey = client.session.getState().serverSessionKey ?? this.loginResult?.serverSessionKey ?? null;
13027
+ const signingPrivateKey = this.loginResult?.signingPrivateKey ?? (await client.storage.getSession().catch(() => null))?.signingPrivateKey;
13028
+ if (!serverSessionKey || !signingPrivateKey) throw new ArbiError("Sign in to unlock your inbox");
13029
+ return { signingPrivateKey, serverSessionKey };
13030
+ }
12914
13031
  // ── Secure mail ─────────────────────────────────────────────────────
12915
13032
  /**
12916
13033
  * Mail to anyone, sealed in this browser under a key that travels only in the link's fragment
@@ -13845,6 +13962,12 @@ var Arbi = class {
13845
13962
  getModels: () => getModels(this.requireClient())
13846
13963
  };
13847
13964
  // ── Health ────────────────────────────────────────────────────────────
13965
+ support = {
13966
+ create: (input) => {
13967
+ const request = { ...input, idempotencyKey: input.idempotencyKey ?? crypto.randomUUID() };
13968
+ return this.recovering(() => createSupportTicket(this.requireClient(), request));
13969
+ }
13970
+ };
13848
13971
  health = {
13849
13972
  check: () => getHealth(this.requireClient()),
13850
13973
  models: () => getHealthModels(this.requireClient()),
@@ -15843,6 +15966,6 @@ function composeTools(base, next, mode) {
15843
15966
  return structuredClone(mode === "add" ? { ...base, ...next } : next);
15844
15967
  }
15845
15968
 
15846
- export { ACCOUNT_VENDOR, Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ArbiStructuredOutputError, ArbiTransportError, ArbiWorkspaceChangedError, ArbiWorkspaceSupersededError, ArbiWorkspaceUnavailableError, CallApiError, ClaudeOrchestrator, DEFAULT_AI_USD_PER_GBP, DOC_TERMINAL_STATUSES, DRIVE_SYNC_VENDORS, DuplicateContactError, ENTITY_KINDS, FLAT_TAG_KINDS, FileConfigStore, GOOGLE_VENDORS, IMANAGE_VENDORS, MAILBOX_SYNC_VENDORS, MAX_RETRIEVE_DOC_IDS, MICROSOFT_VENDORS, OpenClawOrchestrator, PRESENCE_KINDS, PROMPT_CONTEXT_CHARS, PlanStepsError, PublicBookingError, ResponseStream, SHAREPOINT_VENDORS, STEP_FIELD_OPTION_TONES, STOP_ID_WAIT_MS, STOP_REPEAT_WINDOW_MS, TAG_KINDS, TAG_NESTING_MAX_DEPTH, WebSocketAuthError, account_exports as account, agentconfig_exports as agentconfig, agents_exports as agents, appendTranscriptionHints, assistant_exports as assistant, authenticatedFetch, bookPublicSlot, buildCitationChunkData, buildDocNameMap, 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, createDocumentWaiter, createIndexAssigner, databases_exports as databases, defaultKindForFormat, device_flow_exports as deviceFlow, diagnoseSetup, doctags_exports as doctags, documentTools, documents_exports as documents, documents_node_exports as documentsNode, estimateDraftTokens, extractDocumentIdsFromMessages, extractFactIdsFromMessages, extractSubagentLanes, facts_exports as facts, files_exports as files, filterDocumentTags, filterSkills, findLeafForTaskMessage, findMainSiblingLeaf, findReplyTarget, findSubagentRunId, firm_exports as firm, flattenTagTree, formatAgentStepLabel, formatFileSize, formatGbp, formatGbpPerMillionTokens, formatItemLabel, formatStreamSummary, formatTokens, formatUserName, formatWorkspaceChoices, formatWsMessage, generateEncryptedWorkspaceKey, generateNewWorkspaceKey, 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, listen_exports as listen, mail_exports as mail, mail_node_exports as mailNode, mcpTools, mergeAgentSteps, model_connections_exports as modelConnections, notifications_exports as notifications, parseSSEEvents, parseSlashCommand, parseSlashTokenInProgress, parseStructuredResponse, performPasswordLogin, performSigningKeyLogin, performSsoDeviceFlowLogin, 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, signature_requests_exports as signatureRequests, sliceToSubagentThread, startDmListener, streamSSE, stripCitationMarkdown, subagentJobLabel, summarizeCitations, tagUseCount, tags_exports as tags, tagsForScope, tagsOfGroup, topLevelAgentSteps, uploadSkill, usdToGbp, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspaceConflictOf, workspaces_exports as workspaces, wouldCreateTagCycle };
15969
+ export { ACCOUNT_VENDOR, Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ArbiStructuredOutputError, ArbiTransportError, ArbiWorkspaceChangedError, ArbiWorkspaceSupersededError, ArbiWorkspaceUnavailableError, CallApiError, ClaudeOrchestrator, DEFAULT_AI_USD_PER_GBP, DOC_TERMINAL_STATUSES, DRIVE_SYNC_VENDORS, DuplicateContactError, ENTITY_KINDS, FLAT_TAG_KINDS, FileConfigStore, GOOGLE_VENDORS, IMANAGE_VENDORS, MAILBOX_SYNC_VENDORS, MAX_RETRIEVE_DOC_IDS, MICROSOFT_VENDORS, OpenClawOrchestrator, PRESENCE_KINDS, PROMPT_CONTEXT_CHARS, PlanStepsError, PublicBookingError, ResponseStream, SHAREPOINT_VENDORS, STEP_FIELD_OPTION_TONES, STOP_ID_WAIT_MS, STOP_REPEAT_WINDOW_MS, TAG_KINDS, TAG_NESTING_MAX_DEPTH, WebSocketAuthError, account_exports as account, agentconfig_exports as agentconfig, agents_exports as agents, appendTranscriptionHints, assistant_exports as assistant, authenticatedFetch, bookPublicSlot, buildCitationChunkData, buildDocNameMap, 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, createDocumentWaiter, createIndexAssigner, databases_exports as databases, defaultKindForFormat, device_flow_exports as deviceFlow, diagnoseSetup, doctags_exports as doctags, documentTools, documents_exports as documents, documents_node_exports as documentsNode, estimateDraftTokens, extractDocumentIdsFromMessages, extractFactIdsFromMessages, extractSubagentLanes, facts_exports as facts, files_exports as files, filterDocumentTags, filterSkills, findLeafForTaskMessage, findMainSiblingLeaf, findReplyTarget, findSubagentRunId, firm_exports as firm, flattenTagTree, formatAgentStepLabel, formatFileSize, formatGbp, formatGbpPerMillionTokens, formatItemLabel, formatStreamSummary, formatTokens, formatUserName, formatWorkspaceChoices, formatWsMessage, generateEncryptedWorkspaceKey, generateNewWorkspaceKey, 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, listen_exports as listen, mail_exports as mail, mail_node_exports as mailNode, mcpTools, mergeAgentSteps, model_connections_exports as modelConnections, notifications_exports as notifications, parseSSEEvents, parseSlashCommand, parseSlashTokenInProgress, parseStructuredResponse, performPasswordLogin, performSigningKeyLogin, performSsoDeviceFlowLogin, 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, signature_requests_exports as signatureRequests, sliceToSubagentThread, startDmListener, streamSSE, stripCitationMarkdown, subagentJobLabel, summarizeCitations, support_exports as support, tagUseCount, tags_exports as tags, tagsForScope, tagsOfGroup, topLevelAgentSteps, uploadSkill, usdToGbp, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspaceConflictOf, workspaces_exports as workspaces, wouldCreateTagCycle };
15847
15970
  //# sourceMappingURL=index.js.map
15848
15971
  //# sourceMappingURL=index.js.map