@arbidocs/sdk 0.5.48 → 0.5.50
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/{browser-DJz2t6eb.d.cts → browser-CHDMPri4.d.cts} +15 -5
- package/dist/{browser-DXMOExjT.d.ts → browser-D7wYZMhd.d.ts} +15 -5
- package/dist/browser.cjs +21 -6
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +21 -6
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +21 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +21 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/browser.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiHostSession, h as ArbiOptions, j as ArbiWorkspaceChangedError, k as ArbiWorkspaceSupersededError, l as AskHandlers, m as AskRequest, n as AttendeeRead, o as AuthContext, p as AuthHeaders, q as AuthMode, r as AuthenticatedClient, B as BookingConfirmation, s as BookingPage, t as BookingPageWriteBody, u as BookingRequestBody, v as BridgeTokensOptions, C as CalDavConnectBody, w as CalDavProfile, x as CalendarAccount, y as CalendarAccountKind, z as CalendarCreateBody, D as CalendarEvent, E as CalendarKeys, F as CalendarRead, G as CalendarSettings, H as CalendarSettingsBody, I as CalendarUpdate, J as CalendarWindow, K as CallApiError, L as ChatAttachmentFile, M as ChatAttachmentInput, N as ChatCryptoContext, O as ChatKeyRing, P as ChatKind, Q as ChatMemberKey, R as ChatMemberResponse, S as ChatMessage, T as ChatMessageResponse, U as ChatResponse, V as ChatSession, W as CitationSummary, X as CitationToolSources, Y as CliConfig, Z as CliCredentials, _ as CommandDescriptor, $ as ConfigStore, a0 as ConnectOptions, a1 as ConnectorCatalogEntry, a2 as ConnectorFolder, a3 as ConnectorSyncProgress, a4 as ConnectorSyncStatus, a5 as ConnectorVendorKey, a6 as ConnectorVisibilitySettings, a7 as ContextUsage, a8 as ConversationResponse, a9 as ConversationUsageResponse, aa as CreateFactRequest, ab as CreateFactsRequest, ac as CreateWorkRequest, ad as CreateWorkflowRequest, ae as DEFAULT_AI_USD_PER_GBP, ag as DRIVE_SYNC_VENDORS, ah as Database, ai as DatabaseColumn, aj as DatabaseColumnWrite, ak as DatabaseImportResult, al as DatabaseRow, am as DatabaseRowPage, an as DatabaseRowsQuery, ao as DateTimeSpec, aq as DecryptedChatMessage, ar as DeploymentHouseTemplate, as as DocInfo, at as DocInfoMap, av as DocumentAutomationAction, ay as DocumentSelector, aB as DriveSyncProgress, aC as DriveSyncSummary, aD as DuplicateContactError, aE as ENTITY_KINDS, aF as EditScope, aG as EntityKind, aH as EventCreateBody, aI as EventPatchBody, aJ as FLAT_TAG_KINDS, aK as FactResponse, aL as FactSearchRequest, aM as FactSearchResponse, aN as FindTimeParams, aP as FreeBusyEntry, aQ as FullContextSelection, aR as GOOGLE_VENDORS, aS as HolidayCountry, aT as HouseTemplateCandidate, aU as IMANAGE_VENDORS, aV as IdentityErrorCode, aW as IdentityPurchase, aX as IdentityState, aY as IdentityStatus, aZ as ImportResult, a_ as InvitationRead, a$ as LinkedRun, b1 as ListEventsParams, b2 as ListFactsOptions, b4 as MAILBOX_SYNC_VENDORS, b5 as MAX_RETRIEVE_DOC_IDS, b6 as MICROSOFT_VENDORS, b9 as OAuthAccountKind, ba as OutputItemDone, bb as OverlayItem, bc as OverlayLayerName, bd as PRESENCE_KINDS, be as PROMPT_CONTEXT_CHARS, bf as ParsedSlashCommand, bg as PendingAuthResponse, bh as PersonKey, bi as PlanStepsError, bj as PlanWorkRequest, bk as ProductResponse, bl as ProjectAddonKind, bm as ProjectAddonSettingsRequest, bn as ProjectBudget, bo as ProjectCheckoutRequest, bp as ProjectConversationUsageResponse, bq as ProjectCreateOptions, br as ProjectDetails, bs as ProjectEventKind, bt as ProjectEventResponse, bu as ProjectInvoicesResponse, bv as ProjectNextPeriodAddonsRequest, bw as ProjectPlanChangeRequest, bx as ProjectQuoteRequest, by as ProjectResponse, bz as ProjectUpdateRequest, bA as ProjectUsageResponse, bB as PublicBookingError, bC as PublicBookingPage, bD as QuotaExceeded, bE as RaisedSignal, bF as ReconnectOptions, bG as ReconnectableWsConnection, bH as ResolvedCitation, bJ as RespondParams, bK as RespondPartstat, bL as RoomCreateBody, bM as RoomQuery, bN as RoomRead, bO as RunProgress, bP as RunStats, bQ as RunStep, bR as RunWaitingOn, bS as SHAREPOINT_VENDORS, bT as SSEEvent, bU as SSEStreamCallbacks, bV as SSEStreamResult, bX as STOP_ID_WAIT_MS, bY as STOP_REPEAT_WINDOW_MS, b_ as ScopedTarget, b$ as SearchChunk, c0 as SendBack, c1 as ShareRead, c2 as ShareRole, c3 as SkillSummary, c4 as SkippedFile, c5 as SlackConnectionStatus, c6 as StepActionRequest, c7 as StepActivityEvent, c8 as StepAssignee, c9 as StepDisplay, ca as StepField, cd as StepKind, ce as StepPhase, cf as StepSignal, cg as StepSignalWhen, ch as StepState, ci as StepStatus, cj as SubagentBranchRecord, ck as SubagentLaneInfo, cl as SubmitBackgroundQueryOptions, cm as SubscribeParams, cn as SyncTriggerResult, co as TAG_KINDS, cp as TAG_NESTING_MAX_DEPTH, cq as TagChange, cr as TagFieldDefinition, cs as TagGroup, ct as TagKind, cu as TagKindField, cv as TagKindSchema, cw as TagLinks, cx as TagListQuery, cy as TagNode, cz as TagResponse, cA as TagScope, cB as TagTreeRow, cC as TaskPlan, cD as TaskPlanStep, cE as TaxQuoteResponse, cF as Thread, cG as ThreadsResponse, cH as TimeSuggestion, cI as TurnRequest, cJ as UpdateConversationRequest, cK as UpdateFactRequest, cL as UpdateWorkflowRequest, cP as UploadDocumentsOptions, cQ as UploadOptions, cR as UploadProgressListener, cS as UploadResult, cT as UsageBreakdown, cU as UserConnectorEntry, cV as UserDailyUsageResponse, cW as UserInfo, cX as WebSocketAuthError, cY as WeeklyHoursSpec, cZ as WorkStatus, c_ as WorkflowAuthMode, c$ as WorkflowResponse, d0 as WorkflowRunHistoryResponse, d1 as WorkflowRunResponse, d2 as WorkspaceContext, d3 as WorkspaceOpenResponse, d4 as WsConnection, d5 as account, d6 as agentconfig, d8 as appendTranscriptionHints, d9 as assistant, da as authenticatedFetch, db as bookPublicSlot, dc as buildCitationChunkData, de as buildDocumentTools, df as buildFactsContextTool, dg as buildRetrievalChunkTool, dh as buildRetrievalFullContextTool, di as buildRetrievalTocTool, dj as buildTurnRequest, dk as calendar, dl as calls, dm as canTagHaveParent, dn as cancelPublicBooking, dp as chats, dq as computeRunStats, dr as connectErrorMessage, ds as connectWebSocket, dt as connectWithReconnect, du as connectors, dv as contacts, dw as continuityPrompt, dx as conversations, dy as countCitations, dz as createAuthenticatedClient, dB as createIndexAssigner, dC as databases, dD as defaultKindForFormat, dE as doctags, dF as documents, dG as estimateDraftTokens, dH as extractDocumentIdsFromMessages, dI as extractFactIdsFromMessages, dJ as extractSubagentLanes, dK as facts, dL as files, dM as filterDocumentTags, dN as filterSkills, dO as findLeafForTaskMessage, dP as findMainSiblingLeaf, dQ as findReplyTarget, dR as findSubagentRunId, dS as flattenTagTree, dT as formatAgentStepLabel, dU as formatFileSize, dV as formatGbp, dW as formatGbpPerMillionTokens, dX as formatItemLabel, dZ as formatTokens, d_ as formatUserName, d$ as formatWorkspaceChoices, e3 as getAgentStepLabel, e4 as getAttachableRunId, e5 as getChildTags, e6 as getContextRemainingPercent, e7 as getContextUsedPercent, e8 as getContextUsedTokens, e9 as getCurrentStep, ea as getEligibleParentTags, ec as getErrorMessage, ed as getPublicBookingPage, ee as getRawWorkspaceKey, ef as getRunToAttach, eg as getRunToCancel, eh as getStepDisplay, ei as getStepTool, ej as getSubagentBranchRecord, ek as getTagDescendantIds, el as health, em as houseTemplates, en as hydrateAgentSteps, ep as identityErrorCode, eo as identityVerification, eq as isAnnotationTag, er as isConnectorVendorVisible, es as isDriveSyncVendor, et as isEntityTag, eu as isFlatKind, ev as isLabelTag, ew as isMailboxSyncVendor, ex as isNearAiUsageBudget, ey as isPresenceTag, ez as isSharePointVendor, eA as isSharedSkill, eB as isTraceItem, eC as mail, eD as mergeAgentSteps, eE as notifications, eF as parseSSEEvents, eG as parseSlashCommand, eH as parseSlashTokenInProgress, eI as performPasswordLogin, eL as pickMainThread, eM as profile, eN as progressFetch, eO as projects, eP as quotaExceededFrom, eQ as quotaFromStreamError, eR as reduceOutputItem, eS as refusalReason, eT as requireData, eU as requireOk, eV as resolveAuth, eW as resolveCitations, eX as resolveSummary, eY as resolveWorkspace, eZ as responses, e_ as searchChunks, e$ as selectFullContextDocument, f0 as selectWorkspace, f1 as selectWorkspaceById, f2 as sessions, f3 as settings, f5 as sliceToSubagentThread, f6 as streamSSE, f7 as stripCitationMarkdown, f8 as subagentJobLabel, f9 as summarizeCitations, fa as tagUseCount, fb as tags, fc as tagsForScope, fd as tagsOfGroup, fe as topLevelAgentSteps, fg as usdToGbp, fh as work, fi as workflowSteps, fj as workflows, fk as workspaces, fl as wouldCreateTagCycle } from './browser-
|
|
1
|
+
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiHostSession, h as ArbiOptions, j as ArbiWorkspaceChangedError, k as ArbiWorkspaceSupersededError, l as AskHandlers, m as AskRequest, n as AttendeeRead, o as AuthContext, p as AuthHeaders, q as AuthMode, r as AuthenticatedClient, B as BookingConfirmation, s as BookingPage, t as BookingPageWriteBody, u as BookingRequestBody, v as BridgeTokensOptions, C as CalDavConnectBody, w as CalDavProfile, x as CalendarAccount, y as CalendarAccountKind, z as CalendarCreateBody, D as CalendarEvent, E as CalendarKeys, F as CalendarRead, G as CalendarSettings, H as CalendarSettingsBody, I as CalendarUpdate, J as CalendarWindow, K as CallApiError, L as ChatAttachmentFile, M as ChatAttachmentInput, N as ChatCryptoContext, O as ChatKeyRing, P as ChatKind, Q as ChatMemberKey, R as ChatMemberResponse, S as ChatMessage, T as ChatMessageResponse, U as ChatResponse, V as ChatSession, W as CitationSummary, X as CitationToolSources, Y as CliConfig, Z as CliCredentials, _ as CommandDescriptor, $ as ConfigStore, a0 as ConnectOptions, a1 as ConnectorCatalogEntry, a2 as ConnectorFolder, a3 as ConnectorSyncProgress, a4 as ConnectorSyncStatus, a5 as ConnectorVendorKey, a6 as ConnectorVisibilitySettings, a7 as ContextUsage, a8 as ConversationResponse, a9 as ConversationUsageResponse, aa as CreateFactRequest, ab as CreateFactsRequest, ac as CreateWorkRequest, ad as CreateWorkflowRequest, ae as DEFAULT_AI_USD_PER_GBP, ag as DRIVE_SYNC_VENDORS, ah as Database, ai as DatabaseColumn, aj as DatabaseColumnWrite, ak as DatabaseImportResult, al as DatabaseRow, am as DatabaseRowPage, an as DatabaseRowsQuery, ao as DateTimeSpec, aq as DecryptedChatMessage, ar as DeploymentHouseTemplate, as as DocInfo, at as DocInfoMap, av as DocumentAutomationAction, ay as DocumentSelector, aB as DriveSyncProgress, aC as DriveSyncSummary, aD as DuplicateContactError, aE as ENTITY_KINDS, aF as EditScope, aG as EntityKind, aH as EventCreateBody, aI as EventPatchBody, aJ as FLAT_TAG_KINDS, aK as FactResponse, aL as FactSearchRequest, aM as FactSearchResponse, aN as FindTimeParams, aP as FreeBusyEntry, aQ as FullContextSelection, aR as GOOGLE_VENDORS, aS as HolidayCountry, aT as HouseTemplateCandidate, aU as IMANAGE_VENDORS, aV as IdentityErrorCode, aW as IdentityPurchase, aX as IdentityState, aY as IdentityStatus, aZ as ImportResult, a_ as InvitationRead, a$ as LinkedRun, b1 as ListEventsParams, b2 as ListFactsOptions, b4 as MAILBOX_SYNC_VENDORS, b5 as MAX_RETRIEVE_DOC_IDS, b6 as MICROSOFT_VENDORS, b9 as OAuthAccountKind, ba as OutputItemDone, bb as OverlayItem, bc as OverlayLayerName, bd as PRESENCE_KINDS, be as PROMPT_CONTEXT_CHARS, bf as ParsedSlashCommand, bg as PendingAuthResponse, bh as PersonKey, bi as PlanStepsError, bj as PlanWorkRequest, bk as ProductResponse, bl as ProjectAddonKind, bm as ProjectAddonSettingsRequest, bn as ProjectBudget, bo as ProjectCheckoutRequest, bp as ProjectConversationUsageResponse, bq as ProjectCreateOptions, br as ProjectDetails, bs as ProjectEventKind, bt as ProjectEventResponse, bu as ProjectInvoicesResponse, bv as ProjectNextPeriodAddonsRequest, bw as ProjectPlanChangeRequest, bx as ProjectQuoteRequest, by as ProjectResponse, bz as ProjectUpdateRequest, bA as ProjectUsageResponse, bB as PublicBookingError, bC as PublicBookingPage, bD as QuotaExceeded, bE as RaisedSignal, bF as ReconnectOptions, bG as ReconnectableWsConnection, bH as ResolvedCitation, bJ as RespondParams, bK as RespondPartstat, bL as RoomCreateBody, bM as RoomQuery, bN as RoomRead, bO as RunProgress, bP as RunStats, bQ as RunStep, bR as RunWaitingOn, bS as SHAREPOINT_VENDORS, bT as SSEEvent, bU as SSEStreamCallbacks, bV as SSEStreamResult, bX as STOP_ID_WAIT_MS, bY as STOP_REPEAT_WINDOW_MS, b_ as ScopedTarget, b$ as SearchChunk, c0 as SendBack, c1 as ShareRead, c2 as ShareRole, c3 as SkillSummary, c4 as SkippedFile, c5 as SlackConnectionStatus, c6 as StepActionRequest, c7 as StepActivityEvent, c8 as StepAssignee, c9 as StepDisplay, ca as StepField, cd as StepKind, ce as StepPhase, cf as StepSignal, cg as StepSignalWhen, ch as StepState, ci as StepStatus, cj as SubagentBranchRecord, ck as SubagentLaneInfo, cl as SubmitBackgroundQueryOptions, cm as SubscribeParams, cn as SyncTriggerResult, co as TAG_KINDS, cp as TAG_NESTING_MAX_DEPTH, cq as TagChange, cr as TagFieldDefinition, cs as TagGroup, ct as TagKind, cu as TagKindField, cv as TagKindSchema, cw as TagLinks, cx as TagListQuery, cy as TagNode, cz as TagResponse, cA as TagScope, cB as TagTreeRow, cC as TaskPlan, cD as TaskPlanStep, cE as TaxQuoteResponse, cF as Thread, cG as ThreadsResponse, cH as TimeSuggestion, cI as TurnRequest, cJ as UpdateConversationRequest, cK as UpdateFactRequest, cL as UpdateWorkflowRequest, cP as UploadDocumentsOptions, cQ as UploadOptions, cR as UploadProgressListener, cS as UploadResult, cT as UsageBreakdown, cU as UserConnectorEntry, cV as UserDailyUsageResponse, cW as UserInfo, cX as WebSocketAuthError, cY as WeeklyHoursSpec, cZ as WorkStatus, c_ as WorkflowAuthMode, c$ as WorkflowResponse, d0 as WorkflowRunHistoryResponse, d1 as WorkflowRunResponse, d2 as WorkspaceContext, d3 as WorkspaceOpenResponse, d4 as WsConnection, d5 as account, d6 as agentconfig, d8 as appendTranscriptionHints, d9 as assistant, da as authenticatedFetch, db as bookPublicSlot, dc as buildCitationChunkData, de as buildDocumentTools, df as buildFactsContextTool, dg as buildRetrievalChunkTool, dh as buildRetrievalFullContextTool, di as buildRetrievalTocTool, dj as buildTurnRequest, dk as calendar, dl as calls, dm as canTagHaveParent, dn as cancelPublicBooking, dp as chats, dq as computeRunStats, dr as connectErrorMessage, ds as connectWebSocket, dt as connectWithReconnect, du as connectors, dv as contacts, dw as continuityPrompt, dx as conversations, dy as countCitations, dz as createAuthenticatedClient, dB as createIndexAssigner, dC as databases, dD as defaultKindForFormat, dE as doctags, dF as documents, dG as estimateDraftTokens, dH as extractDocumentIdsFromMessages, dI as extractFactIdsFromMessages, dJ as extractSubagentLanes, dK as facts, dL as files, dM as filterDocumentTags, dN as filterSkills, dO as findLeafForTaskMessage, dP as findMainSiblingLeaf, dQ as findReplyTarget, dR as findSubagentRunId, dS as flattenTagTree, dT as formatAgentStepLabel, dU as formatFileSize, dV as formatGbp, dW as formatGbpPerMillionTokens, dX as formatItemLabel, dZ as formatTokens, d_ as formatUserName, d$ as formatWorkspaceChoices, e3 as getAgentStepLabel, e4 as getAttachableRunId, e5 as getChildTags, e6 as getContextRemainingPercent, e7 as getContextUsedPercent, e8 as getContextUsedTokens, e9 as getCurrentStep, ea as getEligibleParentTags, ec as getErrorMessage, ed as getPublicBookingPage, ee as getRawWorkspaceKey, ef as getRunToAttach, eg as getRunToCancel, eh as getStepDisplay, ei as getStepTool, ej as getSubagentBranchRecord, ek as getTagDescendantIds, el as health, em as houseTemplates, en as hydrateAgentSteps, ep as identityErrorCode, eo as identityVerification, eq as isAnnotationTag, er as isConnectorVendorVisible, es as isDriveSyncVendor, et as isEntityTag, eu as isFlatKind, ev as isLabelTag, ew as isMailboxSyncVendor, ex as isNearAiUsageBudget, ey as isPresenceTag, ez as isSharePointVendor, eA as isSharedSkill, eB as isTraceItem, eC as mail, eD as mergeAgentSteps, eE as notifications, eF as parseSSEEvents, eG as parseSlashCommand, eH as parseSlashTokenInProgress, eI as performPasswordLogin, eL as pickMainThread, eM as profile, eN as progressFetch, eO as projects, eP as quotaExceededFrom, eQ as quotaFromStreamError, eR as reduceOutputItem, eS as refusalReason, eT as requireData, eU as requireOk, eV as resolveAuth, eW as resolveCitations, eX as resolveSummary, eY as resolveWorkspace, eZ as responses, e_ as searchChunks, e$ as selectFullContextDocument, f0 as selectWorkspace, f1 as selectWorkspaceById, f2 as sessions, f3 as settings, f5 as sliceToSubagentThread, f6 as streamSSE, f7 as stripCitationMarkdown, f8 as subagentJobLabel, f9 as summarizeCitations, fa as tagUseCount, fb as tags, fc as tagsForScope, fd as tagsOfGroup, fe as topLevelAgentSteps, fg as usdToGbp, fh as work, fi as workflowSteps, fj as workflows, fk as workspaces, fl as wouldCreateTagCycle } from './browser-CHDMPri4.cjs';
|
|
2
2
|
export { A as AgentControlStateEvent, a as AgentStepDeltaEvent, b as AgentStepEvent, c as ArbiErrorEvent, d as ArtifactEvent, D as DeferredInterjectionEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, P as ProbeAnswerEvent, R as ResponseCompletedEvent, g as ResponseContentPartAddedEvent, h as ResponseCreatedEvent, i as ResponseFailedEvent, j as ResponseOutputItemAddedEvent, k as ResponseOutputItemDoneEvent, l as ResponseOutputTextDeltaEvent, m as ResponseOutputTextDoneEvent, n as ResponseUsage, S as SSEStreamStartData, T as TokenBudgetContext, U as UserInputRequestEvent, o as UserMessageEvent } from './sse-types-BbR7JG5o.cjs';
|
|
3
3
|
export { CallPeer, LoginProfile } from '@arbidocs/client';
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiHostSession, h as ArbiOptions, j as ArbiWorkspaceChangedError, k as ArbiWorkspaceSupersededError, l as AskHandlers, m as AskRequest, n as AttendeeRead, o as AuthContext, p as AuthHeaders, q as AuthMode, r as AuthenticatedClient, B as BookingConfirmation, s as BookingPage, t as BookingPageWriteBody, u as BookingRequestBody, v as BridgeTokensOptions, C as CalDavConnectBody, w as CalDavProfile, x as CalendarAccount, y as CalendarAccountKind, z as CalendarCreateBody, D as CalendarEvent, E as CalendarKeys, F as CalendarRead, G as CalendarSettings, H as CalendarSettingsBody, I as CalendarUpdate, J as CalendarWindow, K as CallApiError, L as ChatAttachmentFile, M as ChatAttachmentInput, N as ChatCryptoContext, O as ChatKeyRing, P as ChatKind, Q as ChatMemberKey, R as ChatMemberResponse, S as ChatMessage, T as ChatMessageResponse, U as ChatResponse, V as ChatSession, W as CitationSummary, X as CitationToolSources, Y as CliConfig, Z as CliCredentials, _ as CommandDescriptor, $ as ConfigStore, a0 as ConnectOptions, a1 as ConnectorCatalogEntry, a2 as ConnectorFolder, a3 as ConnectorSyncProgress, a4 as ConnectorSyncStatus, a5 as ConnectorVendorKey, a6 as ConnectorVisibilitySettings, a7 as ContextUsage, a8 as ConversationResponse, a9 as ConversationUsageResponse, aa as CreateFactRequest, ab as CreateFactsRequest, ac as CreateWorkRequest, ad as CreateWorkflowRequest, ae as DEFAULT_AI_USD_PER_GBP, ag as DRIVE_SYNC_VENDORS, ah as Database, ai as DatabaseColumn, aj as DatabaseColumnWrite, ak as DatabaseImportResult, al as DatabaseRow, am as DatabaseRowPage, an as DatabaseRowsQuery, ao as DateTimeSpec, aq as DecryptedChatMessage, ar as DeploymentHouseTemplate, as as DocInfo, at as DocInfoMap, av as DocumentAutomationAction, ay as DocumentSelector, aB as DriveSyncProgress, aC as DriveSyncSummary, aD as DuplicateContactError, aE as ENTITY_KINDS, aF as EditScope, aG as EntityKind, aH as EventCreateBody, aI as EventPatchBody, aJ as FLAT_TAG_KINDS, aK as FactResponse, aL as FactSearchRequest, aM as FactSearchResponse, aN as FindTimeParams, aP as FreeBusyEntry, aQ as FullContextSelection, aR as GOOGLE_VENDORS, aS as HolidayCountry, aT as HouseTemplateCandidate, aU as IMANAGE_VENDORS, aV as IdentityErrorCode, aW as IdentityPurchase, aX as IdentityState, aY as IdentityStatus, aZ as ImportResult, a_ as InvitationRead, a$ as LinkedRun, b1 as ListEventsParams, b2 as ListFactsOptions, b4 as MAILBOX_SYNC_VENDORS, b5 as MAX_RETRIEVE_DOC_IDS, b6 as MICROSOFT_VENDORS, b9 as OAuthAccountKind, ba as OutputItemDone, bb as OverlayItem, bc as OverlayLayerName, bd as PRESENCE_KINDS, be as PROMPT_CONTEXT_CHARS, bf as ParsedSlashCommand, bg as PendingAuthResponse, bh as PersonKey, bi as PlanStepsError, bj as PlanWorkRequest, bk as ProductResponse, bl as ProjectAddonKind, bm as ProjectAddonSettingsRequest, bn as ProjectBudget, bo as ProjectCheckoutRequest, bp as ProjectConversationUsageResponse, bq as ProjectCreateOptions, br as ProjectDetails, bs as ProjectEventKind, bt as ProjectEventResponse, bu as ProjectInvoicesResponse, bv as ProjectNextPeriodAddonsRequest, bw as ProjectPlanChangeRequest, bx as ProjectQuoteRequest, by as ProjectResponse, bz as ProjectUpdateRequest, bA as ProjectUsageResponse, bB as PublicBookingError, bC as PublicBookingPage, bD as QuotaExceeded, bE as RaisedSignal, bF as ReconnectOptions, bG as ReconnectableWsConnection, bH as ResolvedCitation, bJ as RespondParams, bK as RespondPartstat, bL as RoomCreateBody, bM as RoomQuery, bN as RoomRead, bO as RunProgress, bP as RunStats, bQ as RunStep, bR as RunWaitingOn, bS as SHAREPOINT_VENDORS, bT as SSEEvent, bU as SSEStreamCallbacks, bV as SSEStreamResult, bX as STOP_ID_WAIT_MS, bY as STOP_REPEAT_WINDOW_MS, b_ as ScopedTarget, b$ as SearchChunk, c0 as SendBack, c1 as ShareRead, c2 as ShareRole, c3 as SkillSummary, c4 as SkippedFile, c5 as SlackConnectionStatus, c6 as StepActionRequest, c7 as StepActivityEvent, c8 as StepAssignee, c9 as StepDisplay, ca as StepField, cd as StepKind, ce as StepPhase, cf as StepSignal, cg as StepSignalWhen, ch as StepState, ci as StepStatus, cj as SubagentBranchRecord, ck as SubagentLaneInfo, cl as SubmitBackgroundQueryOptions, cm as SubscribeParams, cn as SyncTriggerResult, co as TAG_KINDS, cp as TAG_NESTING_MAX_DEPTH, cq as TagChange, cr as TagFieldDefinition, cs as TagGroup, ct as TagKind, cu as TagKindField, cv as TagKindSchema, cw as TagLinks, cx as TagListQuery, cy as TagNode, cz as TagResponse, cA as TagScope, cB as TagTreeRow, cC as TaskPlan, cD as TaskPlanStep, cE as TaxQuoteResponse, cF as Thread, cG as ThreadsResponse, cH as TimeSuggestion, cI as TurnRequest, cJ as UpdateConversationRequest, cK as UpdateFactRequest, cL as UpdateWorkflowRequest, cP as UploadDocumentsOptions, cQ as UploadOptions, cR as UploadProgressListener, cS as UploadResult, cT as UsageBreakdown, cU as UserConnectorEntry, cV as UserDailyUsageResponse, cW as UserInfo, cX as WebSocketAuthError, cY as WeeklyHoursSpec, cZ as WorkStatus, c_ as WorkflowAuthMode, c$ as WorkflowResponse, d0 as WorkflowRunHistoryResponse, d1 as WorkflowRunResponse, d2 as WorkspaceContext, d3 as WorkspaceOpenResponse, d4 as WsConnection, d5 as account, d6 as agentconfig, d8 as appendTranscriptionHints, d9 as assistant, da as authenticatedFetch, db as bookPublicSlot, dc as buildCitationChunkData, de as buildDocumentTools, df as buildFactsContextTool, dg as buildRetrievalChunkTool, dh as buildRetrievalFullContextTool, di as buildRetrievalTocTool, dj as buildTurnRequest, dk as calendar, dl as calls, dm as canTagHaveParent, dn as cancelPublicBooking, dp as chats, dq as computeRunStats, dr as connectErrorMessage, ds as connectWebSocket, dt as connectWithReconnect, du as connectors, dv as contacts, dw as continuityPrompt, dx as conversations, dy as countCitations, dz as createAuthenticatedClient, dB as createIndexAssigner, dC as databases, dD as defaultKindForFormat, dE as doctags, dF as documents, dG as estimateDraftTokens, dH as extractDocumentIdsFromMessages, dI as extractFactIdsFromMessages, dJ as extractSubagentLanes, dK as facts, dL as files, dM as filterDocumentTags, dN as filterSkills, dO as findLeafForTaskMessage, dP as findMainSiblingLeaf, dQ as findReplyTarget, dR as findSubagentRunId, dS as flattenTagTree, dT as formatAgentStepLabel, dU as formatFileSize, dV as formatGbp, dW as formatGbpPerMillionTokens, dX as formatItemLabel, dZ as formatTokens, d_ as formatUserName, d$ as formatWorkspaceChoices, e3 as getAgentStepLabel, e4 as getAttachableRunId, e5 as getChildTags, e6 as getContextRemainingPercent, e7 as getContextUsedPercent, e8 as getContextUsedTokens, e9 as getCurrentStep, ea as getEligibleParentTags, ec as getErrorMessage, ed as getPublicBookingPage, ee as getRawWorkspaceKey, ef as getRunToAttach, eg as getRunToCancel, eh as getStepDisplay, ei as getStepTool, ej as getSubagentBranchRecord, ek as getTagDescendantIds, el as health, em as houseTemplates, en as hydrateAgentSteps, ep as identityErrorCode, eo as identityVerification, eq as isAnnotationTag, er as isConnectorVendorVisible, es as isDriveSyncVendor, et as isEntityTag, eu as isFlatKind, ev as isLabelTag, ew as isMailboxSyncVendor, ex as isNearAiUsageBudget, ey as isPresenceTag, ez as isSharePointVendor, eA as isSharedSkill, eB as isTraceItem, eC as mail, eD as mergeAgentSteps, eE as notifications, eF as parseSSEEvents, eG as parseSlashCommand, eH as parseSlashTokenInProgress, eI as performPasswordLogin, eL as pickMainThread, eM as profile, eN as progressFetch, eO as projects, eP as quotaExceededFrom, eQ as quotaFromStreamError, eR as reduceOutputItem, eS as refusalReason, eT as requireData, eU as requireOk, eV as resolveAuth, eW as resolveCitations, eX as resolveSummary, eY as resolveWorkspace, eZ as responses, e_ as searchChunks, e$ as selectFullContextDocument, f0 as selectWorkspace, f1 as selectWorkspaceById, f2 as sessions, f3 as settings, f5 as sliceToSubagentThread, f6 as streamSSE, f7 as stripCitationMarkdown, f8 as subagentJobLabel, f9 as summarizeCitations, fa as tagUseCount, fb as tags, fc as tagsForScope, fd as tagsOfGroup, fe as topLevelAgentSteps, fg as usdToGbp, fh as work, fi as workflowSteps, fj as workflows, fk as workspaces, fl as wouldCreateTagCycle } from './browser-
|
|
1
|
+
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiHostSession, h as ArbiOptions, j as ArbiWorkspaceChangedError, k as ArbiWorkspaceSupersededError, l as AskHandlers, m as AskRequest, n as AttendeeRead, o as AuthContext, p as AuthHeaders, q as AuthMode, r as AuthenticatedClient, B as BookingConfirmation, s as BookingPage, t as BookingPageWriteBody, u as BookingRequestBody, v as BridgeTokensOptions, C as CalDavConnectBody, w as CalDavProfile, x as CalendarAccount, y as CalendarAccountKind, z as CalendarCreateBody, D as CalendarEvent, E as CalendarKeys, F as CalendarRead, G as CalendarSettings, H as CalendarSettingsBody, I as CalendarUpdate, J as CalendarWindow, K as CallApiError, L as ChatAttachmentFile, M as ChatAttachmentInput, N as ChatCryptoContext, O as ChatKeyRing, P as ChatKind, Q as ChatMemberKey, R as ChatMemberResponse, S as ChatMessage, T as ChatMessageResponse, U as ChatResponse, V as ChatSession, W as CitationSummary, X as CitationToolSources, Y as CliConfig, Z as CliCredentials, _ as CommandDescriptor, $ as ConfigStore, a0 as ConnectOptions, a1 as ConnectorCatalogEntry, a2 as ConnectorFolder, a3 as ConnectorSyncProgress, a4 as ConnectorSyncStatus, a5 as ConnectorVendorKey, a6 as ConnectorVisibilitySettings, a7 as ContextUsage, a8 as ConversationResponse, a9 as ConversationUsageResponse, aa as CreateFactRequest, ab as CreateFactsRequest, ac as CreateWorkRequest, ad as CreateWorkflowRequest, ae as DEFAULT_AI_USD_PER_GBP, ag as DRIVE_SYNC_VENDORS, ah as Database, ai as DatabaseColumn, aj as DatabaseColumnWrite, ak as DatabaseImportResult, al as DatabaseRow, am as DatabaseRowPage, an as DatabaseRowsQuery, ao as DateTimeSpec, aq as DecryptedChatMessage, ar as DeploymentHouseTemplate, as as DocInfo, at as DocInfoMap, av as DocumentAutomationAction, ay as DocumentSelector, aB as DriveSyncProgress, aC as DriveSyncSummary, aD as DuplicateContactError, aE as ENTITY_KINDS, aF as EditScope, aG as EntityKind, aH as EventCreateBody, aI as EventPatchBody, aJ as FLAT_TAG_KINDS, aK as FactResponse, aL as FactSearchRequest, aM as FactSearchResponse, aN as FindTimeParams, aP as FreeBusyEntry, aQ as FullContextSelection, aR as GOOGLE_VENDORS, aS as HolidayCountry, aT as HouseTemplateCandidate, aU as IMANAGE_VENDORS, aV as IdentityErrorCode, aW as IdentityPurchase, aX as IdentityState, aY as IdentityStatus, aZ as ImportResult, a_ as InvitationRead, a$ as LinkedRun, b1 as ListEventsParams, b2 as ListFactsOptions, b4 as MAILBOX_SYNC_VENDORS, b5 as MAX_RETRIEVE_DOC_IDS, b6 as MICROSOFT_VENDORS, b9 as OAuthAccountKind, ba as OutputItemDone, bb as OverlayItem, bc as OverlayLayerName, bd as PRESENCE_KINDS, be as PROMPT_CONTEXT_CHARS, bf as ParsedSlashCommand, bg as PendingAuthResponse, bh as PersonKey, bi as PlanStepsError, bj as PlanWorkRequest, bk as ProductResponse, bl as ProjectAddonKind, bm as ProjectAddonSettingsRequest, bn as ProjectBudget, bo as ProjectCheckoutRequest, bp as ProjectConversationUsageResponse, bq as ProjectCreateOptions, br as ProjectDetails, bs as ProjectEventKind, bt as ProjectEventResponse, bu as ProjectInvoicesResponse, bv as ProjectNextPeriodAddonsRequest, bw as ProjectPlanChangeRequest, bx as ProjectQuoteRequest, by as ProjectResponse, bz as ProjectUpdateRequest, bA as ProjectUsageResponse, bB as PublicBookingError, bC as PublicBookingPage, bD as QuotaExceeded, bE as RaisedSignal, bF as ReconnectOptions, bG as ReconnectableWsConnection, bH as ResolvedCitation, bJ as RespondParams, bK as RespondPartstat, bL as RoomCreateBody, bM as RoomQuery, bN as RoomRead, bO as RunProgress, bP as RunStats, bQ as RunStep, bR as RunWaitingOn, bS as SHAREPOINT_VENDORS, bT as SSEEvent, bU as SSEStreamCallbacks, bV as SSEStreamResult, bX as STOP_ID_WAIT_MS, bY as STOP_REPEAT_WINDOW_MS, b_ as ScopedTarget, b$ as SearchChunk, c0 as SendBack, c1 as ShareRead, c2 as ShareRole, c3 as SkillSummary, c4 as SkippedFile, c5 as SlackConnectionStatus, c6 as StepActionRequest, c7 as StepActivityEvent, c8 as StepAssignee, c9 as StepDisplay, ca as StepField, cd as StepKind, ce as StepPhase, cf as StepSignal, cg as StepSignalWhen, ch as StepState, ci as StepStatus, cj as SubagentBranchRecord, ck as SubagentLaneInfo, cl as SubmitBackgroundQueryOptions, cm as SubscribeParams, cn as SyncTriggerResult, co as TAG_KINDS, cp as TAG_NESTING_MAX_DEPTH, cq as TagChange, cr as TagFieldDefinition, cs as TagGroup, ct as TagKind, cu as TagKindField, cv as TagKindSchema, cw as TagLinks, cx as TagListQuery, cy as TagNode, cz as TagResponse, cA as TagScope, cB as TagTreeRow, cC as TaskPlan, cD as TaskPlanStep, cE as TaxQuoteResponse, cF as Thread, cG as ThreadsResponse, cH as TimeSuggestion, cI as TurnRequest, cJ as UpdateConversationRequest, cK as UpdateFactRequest, cL as UpdateWorkflowRequest, cP as UploadDocumentsOptions, cQ as UploadOptions, cR as UploadProgressListener, cS as UploadResult, cT as UsageBreakdown, cU as UserConnectorEntry, cV as UserDailyUsageResponse, cW as UserInfo, cX as WebSocketAuthError, cY as WeeklyHoursSpec, cZ as WorkStatus, c_ as WorkflowAuthMode, c$ as WorkflowResponse, d0 as WorkflowRunHistoryResponse, d1 as WorkflowRunResponse, d2 as WorkspaceContext, d3 as WorkspaceOpenResponse, d4 as WsConnection, d5 as account, d6 as agentconfig, d8 as appendTranscriptionHints, d9 as assistant, da as authenticatedFetch, db as bookPublicSlot, dc as buildCitationChunkData, de as buildDocumentTools, df as buildFactsContextTool, dg as buildRetrievalChunkTool, dh as buildRetrievalFullContextTool, di as buildRetrievalTocTool, dj as buildTurnRequest, dk as calendar, dl as calls, dm as canTagHaveParent, dn as cancelPublicBooking, dp as chats, dq as computeRunStats, dr as connectErrorMessage, ds as connectWebSocket, dt as connectWithReconnect, du as connectors, dv as contacts, dw as continuityPrompt, dx as conversations, dy as countCitations, dz as createAuthenticatedClient, dB as createIndexAssigner, dC as databases, dD as defaultKindForFormat, dE as doctags, dF as documents, dG as estimateDraftTokens, dH as extractDocumentIdsFromMessages, dI as extractFactIdsFromMessages, dJ as extractSubagentLanes, dK as facts, dL as files, dM as filterDocumentTags, dN as filterSkills, dO as findLeafForTaskMessage, dP as findMainSiblingLeaf, dQ as findReplyTarget, dR as findSubagentRunId, dS as flattenTagTree, dT as formatAgentStepLabel, dU as formatFileSize, dV as formatGbp, dW as formatGbpPerMillionTokens, dX as formatItemLabel, dZ as formatTokens, d_ as formatUserName, d$ as formatWorkspaceChoices, e3 as getAgentStepLabel, e4 as getAttachableRunId, e5 as getChildTags, e6 as getContextRemainingPercent, e7 as getContextUsedPercent, e8 as getContextUsedTokens, e9 as getCurrentStep, ea as getEligibleParentTags, ec as getErrorMessage, ed as getPublicBookingPage, ee as getRawWorkspaceKey, ef as getRunToAttach, eg as getRunToCancel, eh as getStepDisplay, ei as getStepTool, ej as getSubagentBranchRecord, ek as getTagDescendantIds, el as health, em as houseTemplates, en as hydrateAgentSteps, ep as identityErrorCode, eo as identityVerification, eq as isAnnotationTag, er as isConnectorVendorVisible, es as isDriveSyncVendor, et as isEntityTag, eu as isFlatKind, ev as isLabelTag, ew as isMailboxSyncVendor, ex as isNearAiUsageBudget, ey as isPresenceTag, ez as isSharePointVendor, eA as isSharedSkill, eB as isTraceItem, eC as mail, eD as mergeAgentSteps, eE as notifications, eF as parseSSEEvents, eG as parseSlashCommand, eH as parseSlashTokenInProgress, eI as performPasswordLogin, eL as pickMainThread, eM as profile, eN as progressFetch, eO as projects, eP as quotaExceededFrom, eQ as quotaFromStreamError, eR as reduceOutputItem, eS as refusalReason, eT as requireData, eU as requireOk, eV as resolveAuth, eW as resolveCitations, eX as resolveSummary, eY as resolveWorkspace, eZ as responses, e_ as searchChunks, e$ as selectFullContextDocument, f0 as selectWorkspace, f1 as selectWorkspaceById, f2 as sessions, f3 as settings, f5 as sliceToSubagentThread, f6 as streamSSE, f7 as stripCitationMarkdown, f8 as subagentJobLabel, f9 as summarizeCitations, fa as tagUseCount, fb as tags, fc as tagsForScope, fd as tagsOfGroup, fe as topLevelAgentSteps, fg as usdToGbp, fh as work, fi as workflowSteps, fj as workflows, fk as workspaces, fl as wouldCreateTagCycle } from './browser-D7wYZMhd.js';
|
|
2
2
|
export { A as AgentControlStateEvent, a as AgentStepDeltaEvent, b as AgentStepEvent, c as ArbiErrorEvent, d as ArtifactEvent, D as DeferredInterjectionEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, P as ProbeAnswerEvent, R as ResponseCompletedEvent, g as ResponseContentPartAddedEvent, h as ResponseCreatedEvent, i as ResponseFailedEvent, j as ResponseOutputItemAddedEvent, k as ResponseOutputItemDoneEvent, l as ResponseOutputTextDeltaEvent, m as ResponseOutputTextDoneEvent, n as ResponseUsage, S as SSEStreamStartData, T as TokenBudgetContext, U as UserInputRequestEvent, o as UserMessageEvent } from './sse-types-BbR7JG5o.js';
|
|
3
3
|
export { CallPeer, LoginProfile } from '@arbidocs/client';
|
package/dist/browser.js
CHANGED
|
@@ -3498,8 +3498,8 @@ var ArbiWorkspaceSupersededError = class extends ArbiError {
|
|
|
3498
3498
|
supersededBy;
|
|
3499
3499
|
};
|
|
3500
3500
|
var ArbiWorkspaceChangedError = class extends ArbiError {
|
|
3501
|
-
constructor(workspaceId) {
|
|
3502
|
-
super(`The workspace changed while
|
|
3501
|
+
constructor(workspaceId, doing = "reading") {
|
|
3502
|
+
super(`The workspace changed while ${doing} ${workspaceId}`);
|
|
3503
3503
|
this.workspaceId = workspaceId;
|
|
3504
3504
|
this.name = "ArbiWorkspaceChangedError";
|
|
3505
3505
|
}
|
|
@@ -4724,6 +4724,7 @@ async function uploadFile(auth, fileData, fileName, options) {
|
|
|
4724
4724
|
if (options?.configExtId) params.set("config_ext_id", options.configExtId);
|
|
4725
4725
|
if (options?.wpType) params.set("wp_type", options.wpType);
|
|
4726
4726
|
if (options?.versionOf) params.set("version_of", options.versionOf);
|
|
4727
|
+
if (options?.workspaceExtId) params.set("workspace_ext_id", options.workspaceExtId);
|
|
4727
4728
|
if (options?.derivedFrom) {
|
|
4728
4729
|
params.set("derived_from", options.derivedFrom.docId);
|
|
4729
4730
|
params.set("derived_role", options.derivedFrom.role);
|
|
@@ -10911,11 +10912,25 @@ var Arbi = class {
|
|
|
10911
10912
|
upload: (files, options) => uploadDocuments(this.requireClient(), files, options),
|
|
10912
10913
|
/** Near-duplicate pairs at or above `threshold` (or one document's, `docId`). */
|
|
10913
10914
|
similar: (options) => similarDocuments(this.requireClient(), options),
|
|
10915
|
+
/**
|
|
10916
|
+
* Upload one file to the workspace open NOW. A re-login or workspace re-open may run before it
|
|
10917
|
+
* is sent (or before its one retry); it still goes only to this workspace on this session: a
|
|
10918
|
+
* sign-out meanwhile aborts it, and a switch to another workspace refuses it
|
|
10919
|
+
* (`ArbiWorkspaceChangedError`) instead of sending it to the new one.
|
|
10920
|
+
*/
|
|
10914
10921
|
uploadFile: (fileData, fileName, options) => {
|
|
10915
|
-
this.requireWorkspace();
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
|
|
10922
|
+
const workspaceExtId = this.requireWorkspace();
|
|
10923
|
+
const signal = this.requireClient().auth.sessionSignal();
|
|
10924
|
+
return this.recovering(() => {
|
|
10925
|
+
signal.throwIfAborted();
|
|
10926
|
+
if (this.currentWorkspaceId !== workspaceExtId) {
|
|
10927
|
+
throw new ArbiWorkspaceChangedError(workspaceExtId, "uploading to");
|
|
10928
|
+
}
|
|
10929
|
+
return uploadFile({ ...this.getAuthHeaders(), signal }, fileData, fileName, {
|
|
10930
|
+
...options,
|
|
10931
|
+
workspaceExtId
|
|
10932
|
+
});
|
|
10933
|
+
});
|
|
10919
10934
|
},
|
|
10920
10935
|
/** Download a document's original file — its current version, or `version`. */
|
|
10921
10936
|
download: (docId, version) => this.recovering(() => downloadDocument(this.getAuthHeaders(), docId, version)),
|