@arbidocs/sdk 0.4.155 → 0.4.157
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-CYDtwz9K.d.cts → browser-Dnc05Tkf.d.cts} +12 -1
- package/dist/{browser-CYDtwz9K.d.ts → browser-Dnc05Tkf.d.ts} +12 -1
- package/dist/browser.cjs +48 -0
- 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 +48 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +48 -0
- 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 +48 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as ConfigStore, X as CliConfig, Y as CliCredentials, U as ChatSession, c2 as SkippedFile,
|
|
2
|
-
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, f as AgentStepEvent, g as Arbi, h as ArbiApiError, i as ArbiError, k as ArbiHostSession, l as ArbiOptions, m as ArbiSessionExpiredError, n as ArtifactEvent, o as AttendeeRead, p as AuthContext, r as AuthMode, s as AuthenticatedClient, B as BookingConfirmation, t as BookingPage, u as BookingPageWriteBody, v as BookingRequestBody, w as BridgeTokensOptions, C as CalDavConnectBody, x as CalDavProfile, y as CalendarAccount, z as CalendarAccountKind, D as CalendarCreateBody, E as CalendarEvent, F as CalendarKeys, G as CalendarRead, H as CalendarSettings, I as CalendarSettingsBody, J as CalendarUpdate, K as CalendarWindow, L as ChatAttachmentFile, M as ChatAttachmentInput, O as ChatKeyRing, P as ChatKind, Q as ChatMemberKey, R as ChatMemberResponse, S as ChatMessageResponse, T as ChatResponse, V as CitationSummary, W as CitationToolSources, Z as CommandDescriptor, $ as ConnectOptions, a0 as ConnectorCatalogEntry, a1 as ConnectorFolder, a2 as ConnectorSyncProgress, a3 as ConnectorSyncStatus, a4 as ConnectorVendorKey, a5 as ConnectorVisibilitySettings, a6 as ConversationResponse, a7 as ConversationUsageResponse, aa as CreateWorkRequest, ab as CreateWorkflowRequest, ac as DEFAULT_AI_USD_PER_GBP, ad as DOC_TERMINAL_STATUSES, ae as DRIVE_SYNC_VENDORS, af as DateTimeSpec, ag as DecryptedChat, ah as DecryptedChatMessage, aj as DeploymentHouseTemplate, ak as DocNameMap, al as DocumentAutomationAction, am as DocumentListFields, an as DocumentListOrder, ao as DocumentSelector, ap as DocumentWaiter, aq as DocumentWaiterOptions, ar as DriveSyncProgress, as as DriveSyncSummary, at as ENTITY_KINDS, au as EditScope, av as EntityKind, aw as EventCreateBody, ax as EventPatchBody, ay as FLAT_TAG_KINDS, aC as FindTimeParams, aD as FormattedWsMessage, aE as FreeBusyEntry, aF as GOOGLE_VENDORS, aG as HolidayCountry, aH as HouseTemplateCandidate, aI as IMANAGE_VENDORS, aJ as IdentityErrorCode, aK as IdentityPurchase, aL as IdentityState, aM as IdentityStatus, aN as ImportResult, aO as InvitationRead, aP as LinkedRun, aQ as ListAllOptions, aR as ListEventsParams, aT as ListPaginatedOptions, aU as MAILBOX_SYNC_VENDORS, aV as MAX_RETRIEVE_DOC_IDS, aW as MICROSOFT_VENDORS, aY as MailDraftSSEEvent, aZ as MessageLevel, a_ as MessageMetadataPayload, a$ as MessageQueuedEvent, b0 as OAuthAccountKind, b1 as OutputTokensDetails, b2 as OverlayItem, b3 as OverlayLayerName, b4 as PRESENCE_KINDS, b5 as ParsedSlashCommand, b6 as PendingAuthResponse, b7 as PersonKey, b8 as PlanStepsError, b9 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 QueryOptions, bv as RaisedSignal, bw as ReconnectOptions, bx as ReconnectableWsConnection, by as ResolvedCitation, bz as ResolvedRecipient, bA as RespondParams, bB as RespondPartstat, bC as ResponseCompletedEvent, bD as ResponseContentPartAddedEvent, bE as ResponseCreatedEvent, bF as ResponseFailedEvent, bG as ResponseOutputItemAddedEvent, bH as ResponseOutputItemDoneEvent, bI as ResponseOutputTextDeltaEvent, bJ as ResponseOutputTextDoneEvent, bK as ResponseUsage, bL as RoomCreateBody, bM as RoomQuery, bN as RoomRead, bO as RunProgress, bP as RunStep, bQ as RunWaitingOn, bR as SHAREPOINT_VENDORS, bS as SSEEvent, bT as SSEStreamCallbacks, bU as SSEStreamResult, bV as SSEStreamStartData, bW as STEP_FIELD_OPTION_TONES, bY as ScopedTarget, bZ as SearchChunk, b_ as SendBack, b$ as ShareRead, c0 as ShareRole, c1 as SkillSummary, c3 as SlackConnectionStatus, c4 as StepActionRequest, c5 as StepActivityEvent, c6 as StepAssignee, c7 as StepField, c8 as StepFieldOption, c9 as StepFieldOptionTone, ca as StepKind, cb as StepPhase, cc as StepSignal, cd as StepSignalWhen, ce as StepState, cf as StepStatus, cg as SubmitBackgroundQueryOptions, ch as SubscribeParams, ci as SyncTriggerResult, cj as TAG_KINDS, ck as TAG_NESTING_MAX_DEPTH, cl as TagChange, cm as TagFieldDefinition, cn as TagGroup, co as TagKind, cp as TagKindField, cq as TagKindSchema, cr as TagLinks, cs as TagListQuery, ct as TagNode, cu as TagResponse, cv as TagScope, cw as TagTreeRow, cx as TaskPlan, cy as TaskPlanStep, cz as TaxQuoteResponse, cA as TimeSuggestion, cB as TokenBudgetContext, cC as UpdateConversationRequest, cE as UpdateWorkflowRequest, cI as UploadDocumentsOptions,
|
|
1
|
+
import { _ as ConfigStore, X as CliConfig, Y as CliCredentials, U as ChatSession, c2 as SkippedFile, cL as UploadResult, q as AuthHeaders, cF as UploadBatchResult, cJ as UploadOptions, cG as UploadDirectOptions, cH as UploadDirectResult, bX as SUPPORTED_EXTENSIONS, aX as MailAttachment, N as ChatCryptoContext } from './browser-Dnc05Tkf.cjs';
|
|
2
|
+
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, f as AgentStepEvent, g as Arbi, h as ArbiApiError, i as ArbiError, k as ArbiHostSession, l as ArbiOptions, m as ArbiSessionExpiredError, n as ArtifactEvent, o as AttendeeRead, p as AuthContext, r as AuthMode, s as AuthenticatedClient, B as BookingConfirmation, t as BookingPage, u as BookingPageWriteBody, v as BookingRequestBody, w as BridgeTokensOptions, C as CalDavConnectBody, x as CalDavProfile, y as CalendarAccount, z as CalendarAccountKind, D as CalendarCreateBody, E as CalendarEvent, F as CalendarKeys, G as CalendarRead, H as CalendarSettings, I as CalendarSettingsBody, J as CalendarUpdate, K as CalendarWindow, L as ChatAttachmentFile, M as ChatAttachmentInput, O as ChatKeyRing, P as ChatKind, Q as ChatMemberKey, R as ChatMemberResponse, S as ChatMessageResponse, T as ChatResponse, V as CitationSummary, W as CitationToolSources, Z as CommandDescriptor, $ as ConnectOptions, a0 as ConnectorCatalogEntry, a1 as ConnectorFolder, a2 as ConnectorSyncProgress, a3 as ConnectorSyncStatus, a4 as ConnectorVendorKey, a5 as ConnectorVisibilitySettings, a6 as ConversationResponse, a7 as ConversationUsageResponse, aa as CreateWorkRequest, ab as CreateWorkflowRequest, ac as DEFAULT_AI_USD_PER_GBP, ad as DOC_TERMINAL_STATUSES, ae as DRIVE_SYNC_VENDORS, af as DateTimeSpec, ag as DecryptedChat, ah as DecryptedChatMessage, aj as DeploymentHouseTemplate, ak as DocNameMap, al as DocumentAutomationAction, am as DocumentListFields, an as DocumentListOrder, ao as DocumentSelector, ap as DocumentWaiter, aq as DocumentWaiterOptions, ar as DriveSyncProgress, as as DriveSyncSummary, at as ENTITY_KINDS, au as EditScope, av as EntityKind, aw as EventCreateBody, ax as EventPatchBody, ay as FLAT_TAG_KINDS, aC as FindTimeParams, aD as FormattedWsMessage, aE as FreeBusyEntry, aF as GOOGLE_VENDORS, aG as HolidayCountry, aH as HouseTemplateCandidate, aI as IMANAGE_VENDORS, aJ as IdentityErrorCode, aK as IdentityPurchase, aL as IdentityState, aM as IdentityStatus, aN as ImportResult, aO as InvitationRead, aP as LinkedRun, aQ as ListAllOptions, aR as ListEventsParams, aT as ListPaginatedOptions, aU as MAILBOX_SYNC_VENDORS, aV as MAX_RETRIEVE_DOC_IDS, aW as MICROSOFT_VENDORS, aY as MailDraftSSEEvent, aZ as MessageLevel, a_ as MessageMetadataPayload, a$ as MessageQueuedEvent, b0 as OAuthAccountKind, b1 as OutputTokensDetails, b2 as OverlayItem, b3 as OverlayLayerName, b4 as PRESENCE_KINDS, b5 as ParsedSlashCommand, b6 as PendingAuthResponse, b7 as PersonKey, b8 as PlanStepsError, b9 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 QueryOptions, bv as RaisedSignal, bw as ReconnectOptions, bx as ReconnectableWsConnection, by as ResolvedCitation, bz as ResolvedRecipient, bA as RespondParams, bB as RespondPartstat, bC as ResponseCompletedEvent, bD as ResponseContentPartAddedEvent, bE as ResponseCreatedEvent, bF as ResponseFailedEvent, bG as ResponseOutputItemAddedEvent, bH as ResponseOutputItemDoneEvent, bI as ResponseOutputTextDeltaEvent, bJ as ResponseOutputTextDoneEvent, bK as ResponseUsage, bL as RoomCreateBody, bM as RoomQuery, bN as RoomRead, bO as RunProgress, bP as RunStep, bQ as RunWaitingOn, bR as SHAREPOINT_VENDORS, bS as SSEEvent, bT as SSEStreamCallbacks, bU as SSEStreamResult, bV as SSEStreamStartData, bW as STEP_FIELD_OPTION_TONES, bY as ScopedTarget, bZ as SearchChunk, b_ as SendBack, b$ as ShareRead, c0 as ShareRole, c1 as SkillSummary, c3 as SlackConnectionStatus, c4 as StepActionRequest, c5 as StepActivityEvent, c6 as StepAssignee, c7 as StepField, c8 as StepFieldOption, c9 as StepFieldOptionTone, ca as StepKind, cb as StepPhase, cc as StepSignal, cd as StepSignalWhen, ce as StepState, cf as StepStatus, cg as SubmitBackgroundQueryOptions, ch as SubscribeParams, ci as SyncTriggerResult, cj as TAG_KINDS, ck as TAG_NESTING_MAX_DEPTH, cl as TagChange, cm as TagFieldDefinition, cn as TagGroup, co as TagKind, cp as TagKindField, cq as TagKindSchema, cr as TagLinks, cs as TagListQuery, ct as TagNode, cu as TagResponse, cv as TagScope, cw as TagTreeRow, cx as TaskPlan, cy as TaskPlanStep, cz as TaxQuoteResponse, cA as TimeSuggestion, cB as TokenBudgetContext, cC as UpdateConversationRequest, cE as UpdateWorkflowRequest, cI as UploadDocumentsOptions, cK as UploadProgressListener, cM as UsageBreakdown, cN as UserConnectorEntry, cO as UserDailyUsageResponse, cP as UserInfo, cQ as UserInputRequestEvent, cR as UserMessageEvent, cS as WebSocketAuthError, cT as WeeklyHoursSpec, cU as WorkStatus, cV as WorkflowAuthMode, cW as WorkflowResponse, cX as WorkflowRunHistoryResponse, cY as WorkflowRunResponse, cZ as WorkspaceContext, c_ as WsConnection, c$ as account, d0 as agentconfig, d1 as agents, d2 as assistant, d3 as authenticatedFetch, d4 as bookPublicSlot, d5 as buildCitationChunkData, d6 as buildDocNameMap, d7 as buildFactsContextTool, d8 as buildRetrievalChunkTool, d9 as buildRetrievalFullContextTool, da as buildRetrievalTocTool, db as calendar, dc as canTagHaveParent, dd as cancelPublicBooking, de as chats, df as connectErrorMessage, dg as connectWebSocket, dh as connectWithReconnect, di as connectors, dj as consumeSSEStream, dk as contacts, dl as conversations, dm as countCitations, dn as createAuthenticatedClient, dp as createDocumentWaiter, dq as defaultKindForFormat, dr as doctags, ds as documents, dt as facts, du as files, dv as filterDocumentTags, dw as filterSkills, dx as flattenTagTree, dy as formatAgentStepLabel, dz as formatFileSize, dA as formatGbp, dB as formatGbpPerMillionTokens, dC as formatItemLabel, dD as formatStreamSummary, dE as formatUserName, dF as formatWorkspaceChoices, dG as formatWsMessage, dH as generateEncryptedWorkspaceKey, dI as generateNewWorkspaceKey, dJ as getChildTags, dK as getEligibleParentTags, dL as getErrorCode, dM as getErrorMessage, dN as getPublicBookingPage, dO as getRawWorkspaceKey, dP as getTagDescendantIds, dQ as health, dR as houseTemplates, dT as identityErrorCode, dS as identityVerification, dU as isAnnotationTag, dV as isConnectorVendorVisible, dW as isDriveSyncVendor, dX as isEntityTag, dY as isFlatKind, dZ as isLabelTag, d_ as isMailboxSyncVendor, d$ as isPresenceTag, e0 as isSharePointVendor, e1 as isSharedSkill, e2 as mail, e3 as notifications, e4 as parseSSEEvents, e5 as parseSlashCommand, e6 as parseSlashTokenInProgress, e7 as performPasswordLogin, e8 as performSigningKeyLogin, e9 as performSsoDeviceFlowLogin, ea as profile, eb as progressFetch, ec as projects, ed as refusalReason, ee as requireData, ef as requireOk, eg as resolveAuth, eh as resolveCitations, ei as resolveWorkspace, ej as responses, ek as searchChunks, el as selectWorkspace, em as selectWorkspaceById, en as sessions, eo as settings, ep as signatureRequests, eq as streamSSE, er as stripCitationMarkdown, es as summarizeCitations, et as tagUseCount, eu as tags, ev as tagsForScope, ew as tagsOfGroup, ex as uploadSkill, ey as usdToGbp, ez as work, eA as workflowSteps, eB as workflows, eC as workspaces, eD as wouldCreateTagCycle } from './browser-Dnc05Tkf.cjs';
|
|
3
3
|
import { SessionStorageProvider, ArbiClient, components } from '@arbidocs/client';
|
|
4
4
|
export { LoginProfile } from '@arbidocs/client';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as ConfigStore, X as CliConfig, Y as CliCredentials, U as ChatSession, c2 as SkippedFile,
|
|
2
|
-
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, f as AgentStepEvent, g as Arbi, h as ArbiApiError, i as ArbiError, k as ArbiHostSession, l as ArbiOptions, m as ArbiSessionExpiredError, n as ArtifactEvent, o as AttendeeRead, p as AuthContext, r as AuthMode, s as AuthenticatedClient, B as BookingConfirmation, t as BookingPage, u as BookingPageWriteBody, v as BookingRequestBody, w as BridgeTokensOptions, C as CalDavConnectBody, x as CalDavProfile, y as CalendarAccount, z as CalendarAccountKind, D as CalendarCreateBody, E as CalendarEvent, F as CalendarKeys, G as CalendarRead, H as CalendarSettings, I as CalendarSettingsBody, J as CalendarUpdate, K as CalendarWindow, L as ChatAttachmentFile, M as ChatAttachmentInput, O as ChatKeyRing, P as ChatKind, Q as ChatMemberKey, R as ChatMemberResponse, S as ChatMessageResponse, T as ChatResponse, V as CitationSummary, W as CitationToolSources, Z as CommandDescriptor, $ as ConnectOptions, a0 as ConnectorCatalogEntry, a1 as ConnectorFolder, a2 as ConnectorSyncProgress, a3 as ConnectorSyncStatus, a4 as ConnectorVendorKey, a5 as ConnectorVisibilitySettings, a6 as ConversationResponse, a7 as ConversationUsageResponse, aa as CreateWorkRequest, ab as CreateWorkflowRequest, ac as DEFAULT_AI_USD_PER_GBP, ad as DOC_TERMINAL_STATUSES, ae as DRIVE_SYNC_VENDORS, af as DateTimeSpec, ag as DecryptedChat, ah as DecryptedChatMessage, aj as DeploymentHouseTemplate, ak as DocNameMap, al as DocumentAutomationAction, am as DocumentListFields, an as DocumentListOrder, ao as DocumentSelector, ap as DocumentWaiter, aq as DocumentWaiterOptions, ar as DriveSyncProgress, as as DriveSyncSummary, at as ENTITY_KINDS, au as EditScope, av as EntityKind, aw as EventCreateBody, ax as EventPatchBody, ay as FLAT_TAG_KINDS, aC as FindTimeParams, aD as FormattedWsMessage, aE as FreeBusyEntry, aF as GOOGLE_VENDORS, aG as HolidayCountry, aH as HouseTemplateCandidate, aI as IMANAGE_VENDORS, aJ as IdentityErrorCode, aK as IdentityPurchase, aL as IdentityState, aM as IdentityStatus, aN as ImportResult, aO as InvitationRead, aP as LinkedRun, aQ as ListAllOptions, aR as ListEventsParams, aT as ListPaginatedOptions, aU as MAILBOX_SYNC_VENDORS, aV as MAX_RETRIEVE_DOC_IDS, aW as MICROSOFT_VENDORS, aY as MailDraftSSEEvent, aZ as MessageLevel, a_ as MessageMetadataPayload, a$ as MessageQueuedEvent, b0 as OAuthAccountKind, b1 as OutputTokensDetails, b2 as OverlayItem, b3 as OverlayLayerName, b4 as PRESENCE_KINDS, b5 as ParsedSlashCommand, b6 as PendingAuthResponse, b7 as PersonKey, b8 as PlanStepsError, b9 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 QueryOptions, bv as RaisedSignal, bw as ReconnectOptions, bx as ReconnectableWsConnection, by as ResolvedCitation, bz as ResolvedRecipient, bA as RespondParams, bB as RespondPartstat, bC as ResponseCompletedEvent, bD as ResponseContentPartAddedEvent, bE as ResponseCreatedEvent, bF as ResponseFailedEvent, bG as ResponseOutputItemAddedEvent, bH as ResponseOutputItemDoneEvent, bI as ResponseOutputTextDeltaEvent, bJ as ResponseOutputTextDoneEvent, bK as ResponseUsage, bL as RoomCreateBody, bM as RoomQuery, bN as RoomRead, bO as RunProgress, bP as RunStep, bQ as RunWaitingOn, bR as SHAREPOINT_VENDORS, bS as SSEEvent, bT as SSEStreamCallbacks, bU as SSEStreamResult, bV as SSEStreamStartData, bW as STEP_FIELD_OPTION_TONES, bY as ScopedTarget, bZ as SearchChunk, b_ as SendBack, b$ as ShareRead, c0 as ShareRole, c1 as SkillSummary, c3 as SlackConnectionStatus, c4 as StepActionRequest, c5 as StepActivityEvent, c6 as StepAssignee, c7 as StepField, c8 as StepFieldOption, c9 as StepFieldOptionTone, ca as StepKind, cb as StepPhase, cc as StepSignal, cd as StepSignalWhen, ce as StepState, cf as StepStatus, cg as SubmitBackgroundQueryOptions, ch as SubscribeParams, ci as SyncTriggerResult, cj as TAG_KINDS, ck as TAG_NESTING_MAX_DEPTH, cl as TagChange, cm as TagFieldDefinition, cn as TagGroup, co as TagKind, cp as TagKindField, cq as TagKindSchema, cr as TagLinks, cs as TagListQuery, ct as TagNode, cu as TagResponse, cv as TagScope, cw as TagTreeRow, cx as TaskPlan, cy as TaskPlanStep, cz as TaxQuoteResponse, cA as TimeSuggestion, cB as TokenBudgetContext, cC as UpdateConversationRequest, cE as UpdateWorkflowRequest, cI as UploadDocumentsOptions,
|
|
1
|
+
import { _ as ConfigStore, X as CliConfig, Y as CliCredentials, U as ChatSession, c2 as SkippedFile, cL as UploadResult, q as AuthHeaders, cF as UploadBatchResult, cJ as UploadOptions, cG as UploadDirectOptions, cH as UploadDirectResult, bX as SUPPORTED_EXTENSIONS, aX as MailAttachment, N as ChatCryptoContext } from './browser-Dnc05Tkf.js';
|
|
2
|
+
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, f as AgentStepEvent, g as Arbi, h as ArbiApiError, i as ArbiError, k as ArbiHostSession, l as ArbiOptions, m as ArbiSessionExpiredError, n as ArtifactEvent, o as AttendeeRead, p as AuthContext, r as AuthMode, s as AuthenticatedClient, B as BookingConfirmation, t as BookingPage, u as BookingPageWriteBody, v as BookingRequestBody, w as BridgeTokensOptions, C as CalDavConnectBody, x as CalDavProfile, y as CalendarAccount, z as CalendarAccountKind, D as CalendarCreateBody, E as CalendarEvent, F as CalendarKeys, G as CalendarRead, H as CalendarSettings, I as CalendarSettingsBody, J as CalendarUpdate, K as CalendarWindow, L as ChatAttachmentFile, M as ChatAttachmentInput, O as ChatKeyRing, P as ChatKind, Q as ChatMemberKey, R as ChatMemberResponse, S as ChatMessageResponse, T as ChatResponse, V as CitationSummary, W as CitationToolSources, Z as CommandDescriptor, $ as ConnectOptions, a0 as ConnectorCatalogEntry, a1 as ConnectorFolder, a2 as ConnectorSyncProgress, a3 as ConnectorSyncStatus, a4 as ConnectorVendorKey, a5 as ConnectorVisibilitySettings, a6 as ConversationResponse, a7 as ConversationUsageResponse, aa as CreateWorkRequest, ab as CreateWorkflowRequest, ac as DEFAULT_AI_USD_PER_GBP, ad as DOC_TERMINAL_STATUSES, ae as DRIVE_SYNC_VENDORS, af as DateTimeSpec, ag as DecryptedChat, ah as DecryptedChatMessage, aj as DeploymentHouseTemplate, ak as DocNameMap, al as DocumentAutomationAction, am as DocumentListFields, an as DocumentListOrder, ao as DocumentSelector, ap as DocumentWaiter, aq as DocumentWaiterOptions, ar as DriveSyncProgress, as as DriveSyncSummary, at as ENTITY_KINDS, au as EditScope, av as EntityKind, aw as EventCreateBody, ax as EventPatchBody, ay as FLAT_TAG_KINDS, aC as FindTimeParams, aD as FormattedWsMessage, aE as FreeBusyEntry, aF as GOOGLE_VENDORS, aG as HolidayCountry, aH as HouseTemplateCandidate, aI as IMANAGE_VENDORS, aJ as IdentityErrorCode, aK as IdentityPurchase, aL as IdentityState, aM as IdentityStatus, aN as ImportResult, aO as InvitationRead, aP as LinkedRun, aQ as ListAllOptions, aR as ListEventsParams, aT as ListPaginatedOptions, aU as MAILBOX_SYNC_VENDORS, aV as MAX_RETRIEVE_DOC_IDS, aW as MICROSOFT_VENDORS, aY as MailDraftSSEEvent, aZ as MessageLevel, a_ as MessageMetadataPayload, a$ as MessageQueuedEvent, b0 as OAuthAccountKind, b1 as OutputTokensDetails, b2 as OverlayItem, b3 as OverlayLayerName, b4 as PRESENCE_KINDS, b5 as ParsedSlashCommand, b6 as PendingAuthResponse, b7 as PersonKey, b8 as PlanStepsError, b9 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 QueryOptions, bv as RaisedSignal, bw as ReconnectOptions, bx as ReconnectableWsConnection, by as ResolvedCitation, bz as ResolvedRecipient, bA as RespondParams, bB as RespondPartstat, bC as ResponseCompletedEvent, bD as ResponseContentPartAddedEvent, bE as ResponseCreatedEvent, bF as ResponseFailedEvent, bG as ResponseOutputItemAddedEvent, bH as ResponseOutputItemDoneEvent, bI as ResponseOutputTextDeltaEvent, bJ as ResponseOutputTextDoneEvent, bK as ResponseUsage, bL as RoomCreateBody, bM as RoomQuery, bN as RoomRead, bO as RunProgress, bP as RunStep, bQ as RunWaitingOn, bR as SHAREPOINT_VENDORS, bS as SSEEvent, bT as SSEStreamCallbacks, bU as SSEStreamResult, bV as SSEStreamStartData, bW as STEP_FIELD_OPTION_TONES, bY as ScopedTarget, bZ as SearchChunk, b_ as SendBack, b$ as ShareRead, c0 as ShareRole, c1 as SkillSummary, c3 as SlackConnectionStatus, c4 as StepActionRequest, c5 as StepActivityEvent, c6 as StepAssignee, c7 as StepField, c8 as StepFieldOption, c9 as StepFieldOptionTone, ca as StepKind, cb as StepPhase, cc as StepSignal, cd as StepSignalWhen, ce as StepState, cf as StepStatus, cg as SubmitBackgroundQueryOptions, ch as SubscribeParams, ci as SyncTriggerResult, cj as TAG_KINDS, ck as TAG_NESTING_MAX_DEPTH, cl as TagChange, cm as TagFieldDefinition, cn as TagGroup, co as TagKind, cp as TagKindField, cq as TagKindSchema, cr as TagLinks, cs as TagListQuery, ct as TagNode, cu as TagResponse, cv as TagScope, cw as TagTreeRow, cx as TaskPlan, cy as TaskPlanStep, cz as TaxQuoteResponse, cA as TimeSuggestion, cB as TokenBudgetContext, cC as UpdateConversationRequest, cE as UpdateWorkflowRequest, cI as UploadDocumentsOptions, cK as UploadProgressListener, cM as UsageBreakdown, cN as UserConnectorEntry, cO as UserDailyUsageResponse, cP as UserInfo, cQ as UserInputRequestEvent, cR as UserMessageEvent, cS as WebSocketAuthError, cT as WeeklyHoursSpec, cU as WorkStatus, cV as WorkflowAuthMode, cW as WorkflowResponse, cX as WorkflowRunHistoryResponse, cY as WorkflowRunResponse, cZ as WorkspaceContext, c_ as WsConnection, c$ as account, d0 as agentconfig, d1 as agents, d2 as assistant, d3 as authenticatedFetch, d4 as bookPublicSlot, d5 as buildCitationChunkData, d6 as buildDocNameMap, d7 as buildFactsContextTool, d8 as buildRetrievalChunkTool, d9 as buildRetrievalFullContextTool, da as buildRetrievalTocTool, db as calendar, dc as canTagHaveParent, dd as cancelPublicBooking, de as chats, df as connectErrorMessage, dg as connectWebSocket, dh as connectWithReconnect, di as connectors, dj as consumeSSEStream, dk as contacts, dl as conversations, dm as countCitations, dn as createAuthenticatedClient, dp as createDocumentWaiter, dq as defaultKindForFormat, dr as doctags, ds as documents, dt as facts, du as files, dv as filterDocumentTags, dw as filterSkills, dx as flattenTagTree, dy as formatAgentStepLabel, dz as formatFileSize, dA as formatGbp, dB as formatGbpPerMillionTokens, dC as formatItemLabel, dD as formatStreamSummary, dE as formatUserName, dF as formatWorkspaceChoices, dG as formatWsMessage, dH as generateEncryptedWorkspaceKey, dI as generateNewWorkspaceKey, dJ as getChildTags, dK as getEligibleParentTags, dL as getErrorCode, dM as getErrorMessage, dN as getPublicBookingPage, dO as getRawWorkspaceKey, dP as getTagDescendantIds, dQ as health, dR as houseTemplates, dT as identityErrorCode, dS as identityVerification, dU as isAnnotationTag, dV as isConnectorVendorVisible, dW as isDriveSyncVendor, dX as isEntityTag, dY as isFlatKind, dZ as isLabelTag, d_ as isMailboxSyncVendor, d$ as isPresenceTag, e0 as isSharePointVendor, e1 as isSharedSkill, e2 as mail, e3 as notifications, e4 as parseSSEEvents, e5 as parseSlashCommand, e6 as parseSlashTokenInProgress, e7 as performPasswordLogin, e8 as performSigningKeyLogin, e9 as performSsoDeviceFlowLogin, ea as profile, eb as progressFetch, ec as projects, ed as refusalReason, ee as requireData, ef as requireOk, eg as resolveAuth, eh as resolveCitations, ei as resolveWorkspace, ej as responses, ek as searchChunks, el as selectWorkspace, em as selectWorkspaceById, en as sessions, eo as settings, ep as signatureRequests, eq as streamSSE, er as stripCitationMarkdown, es as summarizeCitations, et as tagUseCount, eu as tags, ev as tagsForScope, ew as tagsOfGroup, ex as uploadSkill, ey as usdToGbp, ez as work, eA as workflowSteps, eB as workflows, eC as workspaces, eD as wouldCreateTagCycle } from './browser-Dnc05Tkf.js';
|
|
3
3
|
import { SessionStorageProvider, ArbiClient, components } from '@arbidocs/client';
|
|
4
4
|
export { LoginProfile } from '@arbidocs/client';
|
|
5
5
|
|
package/dist/index.js
CHANGED
|
@@ -3615,6 +3615,52 @@ async function authenticatedFetch(options) {
|
|
|
3615
3615
|
}
|
|
3616
3616
|
return res;
|
|
3617
3617
|
}
|
|
3618
|
+
|
|
3619
|
+
// src/progress-fetch.ts
|
|
3620
|
+
var NULL_BODY_STATUSES = /* @__PURE__ */ new Set([101, 204, 205, 304]);
|
|
3621
|
+
function parseHeaders(raw) {
|
|
3622
|
+
const headers = new Headers();
|
|
3623
|
+
for (const line of raw.trim().split(/[\r\n]+/)) {
|
|
3624
|
+
const at2 = line.indexOf(":");
|
|
3625
|
+
if (at2 > 0) headers.append(line.slice(0, at2).trim(), line.slice(at2 + 1).trim());
|
|
3626
|
+
}
|
|
3627
|
+
return headers;
|
|
3628
|
+
}
|
|
3629
|
+
function progressFetch(onProgress) {
|
|
3630
|
+
const Xhr = globalThis.XMLHttpRequest;
|
|
3631
|
+
return async (request) => {
|
|
3632
|
+
if (!Xhr) {
|
|
3633
|
+
const response = await fetch(request);
|
|
3634
|
+
const size = Number(request.headers.get("content-length") ?? 0);
|
|
3635
|
+
onProgress(size, size);
|
|
3636
|
+
return response;
|
|
3637
|
+
}
|
|
3638
|
+
const body = await request.blob();
|
|
3639
|
+
return new Promise((resolve2, reject) => {
|
|
3640
|
+
const xhr = new Xhr();
|
|
3641
|
+
xhr.open(request.method, request.url);
|
|
3642
|
+
request.headers.forEach((value, name) => xhr.setRequestHeader(name, value));
|
|
3643
|
+
xhr.withCredentials = request.credentials === "include";
|
|
3644
|
+
xhr.upload.onprogress = (event) => {
|
|
3645
|
+
if (event.lengthComputable) onProgress(event.loaded, event.total);
|
|
3646
|
+
};
|
|
3647
|
+
xhr.onload = () => {
|
|
3648
|
+
onProgress(body.size, body.size);
|
|
3649
|
+
resolve2(
|
|
3650
|
+
new Response(NULL_BODY_STATUSES.has(xhr.status) ? null : xhr.responseText, {
|
|
3651
|
+
status: xhr.status,
|
|
3652
|
+
statusText: xhr.statusText,
|
|
3653
|
+
headers: parseHeaders(xhr.getAllResponseHeaders())
|
|
3654
|
+
})
|
|
3655
|
+
);
|
|
3656
|
+
};
|
|
3657
|
+
xhr.onerror = () => reject(new TypeError("Network error during upload"));
|
|
3658
|
+
xhr.onabort = () => reject(new DOMException("Upload aborted", "AbortError"));
|
|
3659
|
+
request.signal?.addEventListener("abort", () => xhr.abort(), { once: true });
|
|
3660
|
+
xhr.send(body);
|
|
3661
|
+
});
|
|
3662
|
+
};
|
|
3663
|
+
}
|
|
3618
3664
|
var DEFAULT_SESSION = {
|
|
3619
3665
|
lastMessageExtId: null,
|
|
3620
3666
|
conversationExtId: null,
|
|
@@ -5112,6 +5158,7 @@ async function uploadDocuments(arbi, files, options = {}) {
|
|
|
5112
5158
|
}
|
|
5113
5159
|
const result = await arbi.fetch.POST("/v1/document/upload", {
|
|
5114
5160
|
params: { query },
|
|
5161
|
+
...options.onProgress ? { fetch: progressFetch(options.onProgress) } : {},
|
|
5115
5162
|
// The schema types the files as strings; they go as multipart parts.
|
|
5116
5163
|
body: { files },
|
|
5117
5164
|
bodySerializer: () => {
|
|
@@ -11815,6 +11862,6 @@ async function startDmListener(options) {
|
|
|
11815
11862
|
};
|
|
11816
11863
|
}
|
|
11817
11864
|
|
|
11818
|
-
export { ACCOUNT_VENDOR, Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ClaudeOrchestrator, DEFAULT_AI_USD_PER_GBP, DOC_TERMINAL_STATUSES, DRIVE_SYNC_VENDORS, ENTITY_KINDS, FLAT_TAG_KINDS, FileConfigStore, GOOGLE_VENDORS, IMANAGE_VENDORS, MAILBOX_SYNC_VENDORS, MAX_RETRIEVE_DOC_IDS, MICROSOFT_VENDORS, OpenClawOrchestrator, PRESENCE_KINDS, PlanStepsError, PublicBookingError, SHAREPOINT_VENDORS, STEP_FIELD_OPTION_TONES, TAG_KINDS, TAG_NESTING_MAX_DEPTH, WebSocketAuthError, account_exports as account, agentconfig_exports as agentconfig, agents_exports as agents, assistant_exports as assistant, authenticatedFetch, bookPublicSlot, buildCitationChunkData, buildDocNameMap, buildFactsContextTool, buildRetrievalChunkTool, buildRetrievalFullContextTool, buildRetrievalTocTool, calendar_exports as calendar, canTagHaveParent, cancelPublicBooking, chats_exports as chats, connectErrorMessage, connectWebSocket, connectWithReconnect, connectors_exports as connectors, consumeSSEStream, contacts_exports as contacts, conversations_exports as conversations, countCitations, createAuthenticatedClient, createDocumentWaiter, defaultKindForFormat, device_flow_exports as deviceFlow, doctags_exports as doctags, documents_exports as documents, documents_node_exports as documentsNode, facts_exports as facts, files_exports as files, filterDocumentTags, filterSkills, firm_exports as firm, flattenTagTree, formatAgentStepLabel, formatFileSize, formatGbp, formatGbpPerMillionTokens, formatItemLabel, formatStreamSummary, formatUserName, formatWorkspaceChoices, formatWsMessage, generateEncryptedWorkspaceKey, generateNewWorkspaceKey, getChildTags, getEligibleParentTags, getErrorCode, getErrorMessage, getPublicBookingPage, getRawWorkspaceKey, getTagDescendantIds, health_exports as health, house_template_exports as houseTemplates, identityErrorCode, identity_exports as identityVerification, isAnnotationTag, isConnectorVendorVisible, isDriveSyncVendor, isEntityTag, isFlatKind, isLabelTag, isMailboxSyncVendor, isPresenceTag, isSharePointVendor, isSharedSkill, listen_exports as listen, mail_exports as mail, mail_node_exports as mailNode, notifications_exports as notifications, parseSSEEvents, parseSlashCommand, parseSlashTokenInProgress, performPasswordLogin, performSigningKeyLogin, performSsoDeviceFlowLogin, profile_exports as profile, projects_exports as projects, refusalReason, requireData, requireOk, resolveAuth, resolveCitations, resolveWorkspace, responses_exports as responses, searchChunks, selectWorkspace, selectWorkspaceById, sessions_exports as sessions, settings_exports as settings, signature_requests_exports as signatureRequests, startDmListener, streamSSE, stripCitationMarkdown, summarizeCitations, tagUseCount, tags_exports as tags, tagsForScope, tagsOfGroup, uploadSkill, usdToGbp, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspaces_exports as workspaces, wouldCreateTagCycle };
|
|
11865
|
+
export { ACCOUNT_VENDOR, Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ClaudeOrchestrator, DEFAULT_AI_USD_PER_GBP, DOC_TERMINAL_STATUSES, DRIVE_SYNC_VENDORS, ENTITY_KINDS, FLAT_TAG_KINDS, FileConfigStore, GOOGLE_VENDORS, IMANAGE_VENDORS, MAILBOX_SYNC_VENDORS, MAX_RETRIEVE_DOC_IDS, MICROSOFT_VENDORS, OpenClawOrchestrator, PRESENCE_KINDS, PlanStepsError, PublicBookingError, SHAREPOINT_VENDORS, STEP_FIELD_OPTION_TONES, TAG_KINDS, TAG_NESTING_MAX_DEPTH, WebSocketAuthError, account_exports as account, agentconfig_exports as agentconfig, agents_exports as agents, assistant_exports as assistant, authenticatedFetch, bookPublicSlot, buildCitationChunkData, buildDocNameMap, buildFactsContextTool, buildRetrievalChunkTool, buildRetrievalFullContextTool, buildRetrievalTocTool, calendar_exports as calendar, canTagHaveParent, cancelPublicBooking, chats_exports as chats, connectErrorMessage, connectWebSocket, connectWithReconnect, connectors_exports as connectors, consumeSSEStream, contacts_exports as contacts, conversations_exports as conversations, countCitations, createAuthenticatedClient, createDocumentWaiter, defaultKindForFormat, device_flow_exports as deviceFlow, doctags_exports as doctags, documents_exports as documents, documents_node_exports as documentsNode, facts_exports as facts, files_exports as files, filterDocumentTags, filterSkills, firm_exports as firm, flattenTagTree, formatAgentStepLabel, formatFileSize, formatGbp, formatGbpPerMillionTokens, formatItemLabel, formatStreamSummary, formatUserName, formatWorkspaceChoices, formatWsMessage, generateEncryptedWorkspaceKey, generateNewWorkspaceKey, getChildTags, getEligibleParentTags, getErrorCode, getErrorMessage, getPublicBookingPage, getRawWorkspaceKey, getTagDescendantIds, health_exports as health, house_template_exports as houseTemplates, identityErrorCode, identity_exports as identityVerification, isAnnotationTag, isConnectorVendorVisible, isDriveSyncVendor, isEntityTag, isFlatKind, isLabelTag, isMailboxSyncVendor, isPresenceTag, isSharePointVendor, isSharedSkill, listen_exports as listen, mail_exports as mail, mail_node_exports as mailNode, notifications_exports as notifications, parseSSEEvents, parseSlashCommand, parseSlashTokenInProgress, performPasswordLogin, performSigningKeyLogin, performSsoDeviceFlowLogin, profile_exports as profile, progressFetch, projects_exports as projects, refusalReason, requireData, requireOk, resolveAuth, resolveCitations, resolveWorkspace, responses_exports as responses, searchChunks, selectWorkspace, selectWorkspaceById, sessions_exports as sessions, settings_exports as settings, signature_requests_exports as signatureRequests, startDmListener, streamSSE, stripCitationMarkdown, summarizeCitations, tagUseCount, tags_exports as tags, tagsForScope, tagsOfGroup, uploadSkill, usdToGbp, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspaces_exports as workspaces, wouldCreateTagCycle };
|
|
11819
11866
|
//# sourceMappingURL=index.js.map
|
|
11820
11867
|
//# sourceMappingURL=index.js.map
|