@arbidocs/sdk 0.5.6 → 0.5.7

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 { $ as ConfigStore, Y as CliConfig, Z as CliCredentials, V as ChatSession, bZ as SkippedFile, cL as UploadResult, p as AuthHeaders, cF as UploadBatchResult, cJ as UploadOptions, cG as UploadDirectOptions, cH as UploadDirectResult, bS as SUPPORTED_EXTENSIONS, b0 as MailAttachment, N as ChatCryptoContext } from './browser-DMZ4mU6Z.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 ArbiHostSession, h as ArbiOptions, i as ArbiSessionExpiredError, j as ArbiWorkspaceChangedError, k as ArbiWorkspaceSupersededError, l as AskHandlers, m as AskRequest, n as AttendeeRead, o as AuthContext, 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, O as ChatKeyRing, P as ChatKind, Q as ChatMemberKey, R as ChatMemberResponse, S as ChatMessage, T as ChatMessageResponse, U as ChatResponse, W as CitationSummary, X as CitationToolSources, _ as CommandDescriptor, 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, ac as CreateWorkRequest, ad as CreateWorkflowRequest, ae as DEFAULT_AI_USD_PER_GBP, af as DOC_TERMINAL_STATUSES, ag as DRIVE_SYNC_VENDORS, ah as DateTimeSpec, ai as DecryptedChat, aj as DecryptedChatMessage, ak as DeploymentHouseTemplate, al as DocInfo, am as DocInfoMap, an as DocNameMap, ao as DocumentAutomationAction, ap as DocumentListFields, aq as DocumentListOrder, ar as DocumentSelector, as as DocumentWaiter, at as DocumentWaiterOptions, au as DriveSyncProgress, av as DriveSyncSummary, aw as DuplicateContactError, ax as ENTITY_KINDS, ay as EditScope, az as EntityKind, aA as EventCreateBody, aB as EventPatchBody, aC as FLAT_TAG_KINDS, aG as FindTimeParams, aH as FormattedWsMessage, aI as FreeBusyEntry, aJ as FullContextSelection, aK as GOOGLE_VENDORS, aL as HolidayCountry, aM as HouseTemplateCandidate, aN as IMANAGE_VENDORS, aO as IdentityErrorCode, aP as IdentityPurchase, aQ as IdentityState, aR as IdentityStatus, aS as ImportResult, aT as InvitationRead, aU as LinkedRun, aV as ListAllOptions, aW as ListEventsParams, aY as ListPaginatedOptions, aZ as MAILBOX_SYNC_VENDORS, a_ as MAX_RETRIEVE_DOC_IDS, a$ as MICROSOFT_VENDORS, b1 as MessageLevel, b2 as OAuthAccountKind, b3 as OutputItemDone, b4 as OverlayItem, b5 as OverlayLayerName, b6 as PRESENCE_KINDS, b7 as PROMPT_CONTEXT_CHARS, b8 as ParsedSlashCommand, b9 as PendingAuthResponse, ba as PersonKey, bb as PlanStepsError, bc as PlanWorkRequest, bd as ProductResponse, be as ProjectAddonKind, bf as ProjectAddonSettingsRequest, bg as ProjectBudget, bh as ProjectCheckoutRequest, bi as ProjectConversationUsageResponse, bj as ProjectCreateOptions, bk as ProjectDetails, bl as ProjectEventKind, bm as ProjectEventResponse, bn as ProjectInvoicesResponse, bo as ProjectNextPeriodAddonsRequest, bp as ProjectPlanChangeRequest, bq as ProjectQuoteRequest, br as ProjectResponse, bs as ProjectUpdateRequest, bt as ProjectUsageResponse, bu as PublicBookingError, bv as PublicBookingPage, bw as QuotaExceeded, bx as RaisedSignal, by as ReconnectOptions, bz as ReconnectableWsConnection, bA as ResolvedCitation, bB as ResolvedRecipient, bC as RespondParams, bD as RespondPartstat, bE as RoomCreateBody, bF as RoomQuery, bG as RoomRead, bH as RunProgress, bI as RunStats, bJ as RunStep, bK as RunWaitingOn, bL as SHAREPOINT_VENDORS, bM as SSEEvent, bN as SSEStreamCallbacks, bO as SSEStreamResult, bP as STEP_FIELD_OPTION_TONES, bQ as STOP_ID_WAIT_MS, bR as STOP_REPEAT_WINDOW_MS, bT as ScopedTarget, bU as SearchChunk, bV as SendBack, bW as ShareRead, bX as ShareRole, bY as SkillSummary, b_ as SlackConnectionStatus, b$ as StepActionRequest, c0 as StepActivityEvent, c1 as StepAssignee, c2 as StepDisplay, c3 as StepField, c4 as StepFieldOption, c5 as StepFieldOptionTone, c6 as StepKind, c7 as StepPhase, c8 as StepSignal, c9 as StepSignalWhen, ca as StepState, cb as StepStatus, cc as SubagentBranchRecord, cd as SubagentLaneInfo, ce as SubmitBackgroundQueryOptions, cf as SubscribeParams, cg as SyncTriggerResult, ch as TAG_KINDS, ci as TAG_NESTING_MAX_DEPTH, cj as TagChange, ck as TagFieldDefinition, cl as TagGroup, cm as TagKind, cn as TagKindField, co as TagKindSchema, cp as TagLinks, cq as TagListQuery, cr as TagNode, cs as TagResponse, ct as TagScope, cu as TagTreeRow, cv as TaskPlan, cw as TaskPlanStep, cx as TaxQuoteResponse, cy as Thread, cz as ThreadsResponse, cA as TimeSuggestion, cB as TurnRequest, 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 WebSocketAuthError, cR as WeeklyHoursSpec, cS as WorkStatus, cT as WorkflowAuthMode, cU as WorkflowResponse, cV as WorkflowRunHistoryResponse, cW as WorkflowRunResponse, cX as WorkspaceContext, cY as WorkspaceOpenResponse, cZ as WsConnection, c_ as account, c$ as agentconfig, d0 as agents, d1 as appendTranscriptionHints, d2 as assistant, d3 as authenticatedFetch, d4 as bookPublicSlot, d5 as buildCitationChunkData, d6 as buildDocNameMap, d7 as buildDocumentTools, d8 as buildFactsContextTool, d9 as buildRetrievalChunkTool, da as buildRetrievalFullContextTool, db as buildRetrievalTocTool, dc as buildTurnRequest, dd as calendar, de as calls, df as canTagHaveParent, dg as cancelPublicBooking, dh as chats, di as computeRunStats, dj as connectErrorMessage, dk as connectWebSocket, dl as connectWithReconnect, dm as connectors, dn as consumeSSEStream, dp as contacts, dq as continuityPrompt, dr as conversations, ds as countCitations, dt as createAuthenticatedClient, du as createDocumentWaiter, dv as createIndexAssigner, dw as defaultKindForFormat, dx as doctags, dy as documents, dz as estimateDraftTokens, dA as extractDocumentIdsFromMessages, dB as extractFactIdsFromMessages, dC as extractSubagentLanes, dD as facts, dE as files, dF as filterDocumentTags, dG as filterSkills, dH as findLeafForTaskMessage, dI as findMainSiblingLeaf, dJ as findReplyTarget, dK as findSubagentRunId, dL as flattenTagTree, dM as formatAgentStepLabel, dN as formatFileSize, dO as formatGbp, dP as formatGbpPerMillionTokens, dQ as formatItemLabel, dR as formatStreamSummary, dS as formatTokens, dT as formatUserName, dU as formatWorkspaceChoices, dV as formatWsMessage, dW as generateEncryptedWorkspaceKey, dX as generateNewWorkspaceKey, dY as getAgentStepLabel, dZ as getAttachableRunId, d_ as getChildTags, d$ as getContextRemainingPercent, e0 as getContextUsedPercent, e1 as getContextUsedTokens, e2 as getCurrentStep, e3 as getEligibleParentTags, e4 as getErrorCode, e5 as getErrorMessage, e6 as getPublicBookingPage, e7 as getRawWorkspaceKey, e8 as getRunToAttach, e9 as getRunToCancel, ea as getStepDisplay, eb as getStepTool, ec as getSubagentBranchRecord, ed as getTagDescendantIds, ee as health, ef as houseTemplates, eg as hydrateAgentSteps, ei as identityErrorCode, eh as identityVerification, ej as isAnnotationTag, ek as isConnectorVendorVisible, el as isDriveSyncVendor, em as isEntityTag, en as isFlatKind, eo as isLabelTag, ep as isMailboxSyncVendor, eq as isNearAiUsageBudget, er as isPresenceTag, es as isSharePointVendor, et as isSharedSkill, eu as isTraceItem, ev as mail, ew as mergeAgentSteps, ex as notifications, ey as parseSSEEvents, ez as parseSlashCommand, eA as parseSlashTokenInProgress, eB as performPasswordLogin, eC as performSigningKeyLogin, eD as performSsoDeviceFlowLogin, eE as pickMainThread, eF as profile, eG as progressFetch, eH as projects, eI as quotaExceededFrom, eJ as quotaFromStreamError, eK as reduceOutputItem, eL as refusalReason, eM as requireData, eN as requireOk, eO as resolveAuth, eP as resolveCitations, eQ as resolveSummary, eR as resolveWorkspace, eS as responses, eT as searchChunks, eU as selectFullContextDocument, eV as selectWorkspace, eW as selectWorkspaceById, eX as sessions, eY as settings, eZ as signatureRequests, e_ as sliceToSubagentThread, e$ as streamSSE, f0 as stripCitationMarkdown, f1 as subagentJobLabel, f2 as summarizeCitations, f3 as tagUseCount, f4 as tags, f5 as tagsForScope, f6 as tagsOfGroup, f7 as topLevelAgentSteps, f8 as uploadSkill, f9 as usdToGbp, fa as work, fb as workflowSteps, fc as workflows, fd as workspaces, fe as wouldCreateTagCycle } from './browser-DMZ4mU6Z.cjs';
1
+ import { $ as ConfigStore, Y as CliConfig, Z as CliCredentials, V as ChatSession, bZ as SkippedFile, cL as UploadResult, p as AuthHeaders, cF as UploadBatchResult, cJ as UploadOptions, cG as UploadDirectOptions, cH as UploadDirectResult, bS as SUPPORTED_EXTENSIONS, b0 as MailAttachment, N as ChatCryptoContext } from './browser-BNmzQBfy.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 ArbiHostSession, h as ArbiOptions, i as ArbiSessionExpiredError, j as ArbiWorkspaceChangedError, k as ArbiWorkspaceSupersededError, l as AskHandlers, m as AskRequest, n as AttendeeRead, o as AuthContext, 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, O as ChatKeyRing, P as ChatKind, Q as ChatMemberKey, R as ChatMemberResponse, S as ChatMessage, T as ChatMessageResponse, U as ChatResponse, W as CitationSummary, X as CitationToolSources, _ as CommandDescriptor, 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, ac as CreateWorkRequest, ad as CreateWorkflowRequest, ae as DEFAULT_AI_USD_PER_GBP, af as DOC_TERMINAL_STATUSES, ag as DRIVE_SYNC_VENDORS, ah as DateTimeSpec, ai as DecryptedChat, aj as DecryptedChatMessage, ak as DeploymentHouseTemplate, al as DocInfo, am as DocInfoMap, an as DocNameMap, ao as DocumentAutomationAction, ap as DocumentListFields, aq as DocumentListOrder, ar as DocumentSelector, as as DocumentWaiter, at as DocumentWaiterOptions, au as DriveSyncProgress, av as DriveSyncSummary, aw as DuplicateContactError, ax as ENTITY_KINDS, ay as EditScope, az as EntityKind, aA as EventCreateBody, aB as EventPatchBody, aC as FLAT_TAG_KINDS, aG as FindTimeParams, aH as FormattedWsMessage, aI as FreeBusyEntry, aJ as FullContextSelection, aK as GOOGLE_VENDORS, aL as HolidayCountry, aM as HouseTemplateCandidate, aN as IMANAGE_VENDORS, aO as IdentityErrorCode, aP as IdentityPurchase, aQ as IdentityState, aR as IdentityStatus, aS as ImportResult, aT as InvitationRead, aU as LinkedRun, aV as ListAllOptions, aW as ListEventsParams, aY as ListPaginatedOptions, aZ as MAILBOX_SYNC_VENDORS, a_ as MAX_RETRIEVE_DOC_IDS, a$ as MICROSOFT_VENDORS, b1 as MessageLevel, b2 as OAuthAccountKind, b3 as OutputItemDone, b4 as OverlayItem, b5 as OverlayLayerName, b6 as PRESENCE_KINDS, b7 as PROMPT_CONTEXT_CHARS, b8 as ParsedSlashCommand, b9 as PendingAuthResponse, ba as PersonKey, bb as PlanStepsError, bc as PlanWorkRequest, bd as ProductResponse, be as ProjectAddonKind, bf as ProjectAddonSettingsRequest, bg as ProjectBudget, bh as ProjectCheckoutRequest, bi as ProjectConversationUsageResponse, bj as ProjectCreateOptions, bk as ProjectDetails, bl as ProjectEventKind, bm as ProjectEventResponse, bn as ProjectInvoicesResponse, bo as ProjectNextPeriodAddonsRequest, bp as ProjectPlanChangeRequest, bq as ProjectQuoteRequest, br as ProjectResponse, bs as ProjectUpdateRequest, bt as ProjectUsageResponse, bu as PublicBookingError, bv as PublicBookingPage, bw as QuotaExceeded, bx as RaisedSignal, by as ReconnectOptions, bz as ReconnectableWsConnection, bA as ResolvedCitation, bB as ResolvedRecipient, bC as RespondParams, bD as RespondPartstat, bE as RoomCreateBody, bF as RoomQuery, bG as RoomRead, bH as RunProgress, bI as RunStats, bJ as RunStep, bK as RunWaitingOn, bL as SHAREPOINT_VENDORS, bM as SSEEvent, bN as SSEStreamCallbacks, bO as SSEStreamResult, bP as STEP_FIELD_OPTION_TONES, bQ as STOP_ID_WAIT_MS, bR as STOP_REPEAT_WINDOW_MS, bT as ScopedTarget, bU as SearchChunk, bV as SendBack, bW as ShareRead, bX as ShareRole, bY as SkillSummary, b_ as SlackConnectionStatus, b$ as StepActionRequest, c0 as StepActivityEvent, c1 as StepAssignee, c2 as StepDisplay, c3 as StepField, c4 as StepFieldOption, c5 as StepFieldOptionTone, c6 as StepKind, c7 as StepPhase, c8 as StepSignal, c9 as StepSignalWhen, ca as StepState, cb as StepStatus, cc as SubagentBranchRecord, cd as SubagentLaneInfo, ce as SubmitBackgroundQueryOptions, cf as SubscribeParams, cg as SyncTriggerResult, ch as TAG_KINDS, ci as TAG_NESTING_MAX_DEPTH, cj as TagChange, ck as TagFieldDefinition, cl as TagGroup, cm as TagKind, cn as TagKindField, co as TagKindSchema, cp as TagLinks, cq as TagListQuery, cr as TagNode, cs as TagResponse, ct as TagScope, cu as TagTreeRow, cv as TaskPlan, cw as TaskPlanStep, cx as TaxQuoteResponse, cy as Thread, cz as ThreadsResponse, cA as TimeSuggestion, cB as TurnRequest, 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 WebSocketAuthError, cR as WeeklyHoursSpec, cS as WorkStatus, cT as WorkflowAuthMode, cU as WorkflowResponse, cV as WorkflowRunHistoryResponse, cW as WorkflowRunResponse, cX as WorkspaceContext, cY as WorkspaceOpenResponse, cZ as WsConnection, c_ as account, c$ as agentconfig, d0 as agents, d1 as appendTranscriptionHints, d2 as assistant, d3 as authenticatedFetch, d4 as bookPublicSlot, d5 as buildCitationChunkData, d6 as buildDocNameMap, d7 as buildDocumentTools, d8 as buildFactsContextTool, d9 as buildRetrievalChunkTool, da as buildRetrievalFullContextTool, db as buildRetrievalTocTool, dc as buildTurnRequest, dd as calendar, de as calls, df as canTagHaveParent, dg as cancelPublicBooking, dh as chats, di as computeRunStats, dj as connectErrorMessage, dk as connectWebSocket, dl as connectWithReconnect, dm as connectors, dn as consumeSSEStream, dp as contacts, dq as continuityPrompt, dr as conversations, ds as countCitations, dt as createAuthenticatedClient, du as createDocumentWaiter, dv as createIndexAssigner, dw as defaultKindForFormat, dx as doctags, dy as documents, dz as estimateDraftTokens, dA as extractDocumentIdsFromMessages, dB as extractFactIdsFromMessages, dC as extractSubagentLanes, dD as facts, dE as files, dF as filterDocumentTags, dG as filterSkills, dH as findLeafForTaskMessage, dI as findMainSiblingLeaf, dJ as findReplyTarget, dK as findSubagentRunId, dL as flattenTagTree, dM as formatAgentStepLabel, dN as formatFileSize, dO as formatGbp, dP as formatGbpPerMillionTokens, dQ as formatItemLabel, dR as formatStreamSummary, dS as formatTokens, dT as formatUserName, dU as formatWorkspaceChoices, dV as formatWsMessage, dW as generateEncryptedWorkspaceKey, dX as generateNewWorkspaceKey, dY as getAgentStepLabel, dZ as getAttachableRunId, d_ as getChildTags, d$ as getContextRemainingPercent, e0 as getContextUsedPercent, e1 as getContextUsedTokens, e2 as getCurrentStep, e3 as getEligibleParentTags, e4 as getErrorCode, e5 as getErrorMessage, e6 as getPublicBookingPage, e7 as getRawWorkspaceKey, e8 as getRunToAttach, e9 as getRunToCancel, ea as getStepDisplay, eb as getStepTool, ec as getSubagentBranchRecord, ed as getTagDescendantIds, ee as health, ef as houseTemplates, eg as hydrateAgentSteps, ei as identityErrorCode, eh as identityVerification, ej as isAnnotationTag, ek as isConnectorVendorVisible, el as isDriveSyncVendor, em as isEntityTag, en as isFlatKind, eo as isLabelTag, ep as isMailboxSyncVendor, eq as isNearAiUsageBudget, er as isPresenceTag, es as isSharePointVendor, et as isSharedSkill, eu as isTraceItem, ev as mail, ew as mergeAgentSteps, ex as notifications, ey as parseSSEEvents, ez as parseSlashCommand, eA as parseSlashTokenInProgress, eB as performPasswordLogin, eC as performSigningKeyLogin, eD as performSsoDeviceFlowLogin, eE as pickMainThread, eF as profile, eG as progressFetch, eH as projects, eI as quotaExceededFrom, eJ as quotaFromStreamError, eK as reduceOutputItem, eL as refusalReason, eM as requireData, eN as requireOk, eO as resolveAuth, eP as resolveCitations, eQ as resolveSummary, eR as resolveWorkspace, eS as responses, eT as searchChunks, eU as selectFullContextDocument, eV as selectWorkspace, eW as selectWorkspaceById, eX as sessions, eY as settings, eZ as signatureRequests, e_ as sliceToSubagentThread, e$ as streamSSE, f0 as stripCitationMarkdown, f1 as subagentJobLabel, f2 as summarizeCitations, f3 as tagUseCount, f4 as tags, f5 as tagsForScope, f6 as tagsOfGroup, f7 as topLevelAgentSteps, f8 as uploadSkill, f9 as usdToGbp, fa as work, fb as workflowSteps, fc as workflows, fd as workspaces, fe as wouldCreateTagCycle } from './browser-BNmzQBfy.cjs';
3
3
  import { SessionPersistence, ArbiClient, components } from '@arbidocs/client';
4
4
  export { CallPeer, LoginProfile } 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 { $ as ConfigStore, Y as CliConfig, Z as CliCredentials, V as ChatSession, bZ as SkippedFile, cL as UploadResult, p as AuthHeaders, cF as UploadBatchResult, cJ as UploadOptions, cG as UploadDirectOptions, cH as UploadDirectResult, bS as SUPPORTED_EXTENSIONS, b0 as MailAttachment, N as ChatCryptoContext } from './browser-CvcDcKbH.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 ArbiHostSession, h as ArbiOptions, i as ArbiSessionExpiredError, j as ArbiWorkspaceChangedError, k as ArbiWorkspaceSupersededError, l as AskHandlers, m as AskRequest, n as AttendeeRead, o as AuthContext, 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, O as ChatKeyRing, P as ChatKind, Q as ChatMemberKey, R as ChatMemberResponse, S as ChatMessage, T as ChatMessageResponse, U as ChatResponse, W as CitationSummary, X as CitationToolSources, _ as CommandDescriptor, 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, ac as CreateWorkRequest, ad as CreateWorkflowRequest, ae as DEFAULT_AI_USD_PER_GBP, af as DOC_TERMINAL_STATUSES, ag as DRIVE_SYNC_VENDORS, ah as DateTimeSpec, ai as DecryptedChat, aj as DecryptedChatMessage, ak as DeploymentHouseTemplate, al as DocInfo, am as DocInfoMap, an as DocNameMap, ao as DocumentAutomationAction, ap as DocumentListFields, aq as DocumentListOrder, ar as DocumentSelector, as as DocumentWaiter, at as DocumentWaiterOptions, au as DriveSyncProgress, av as DriveSyncSummary, aw as DuplicateContactError, ax as ENTITY_KINDS, ay as EditScope, az as EntityKind, aA as EventCreateBody, aB as EventPatchBody, aC as FLAT_TAG_KINDS, aG as FindTimeParams, aH as FormattedWsMessage, aI as FreeBusyEntry, aJ as FullContextSelection, aK as GOOGLE_VENDORS, aL as HolidayCountry, aM as HouseTemplateCandidate, aN as IMANAGE_VENDORS, aO as IdentityErrorCode, aP as IdentityPurchase, aQ as IdentityState, aR as IdentityStatus, aS as ImportResult, aT as InvitationRead, aU as LinkedRun, aV as ListAllOptions, aW as ListEventsParams, aY as ListPaginatedOptions, aZ as MAILBOX_SYNC_VENDORS, a_ as MAX_RETRIEVE_DOC_IDS, a$ as MICROSOFT_VENDORS, b1 as MessageLevel, b2 as OAuthAccountKind, b3 as OutputItemDone, b4 as OverlayItem, b5 as OverlayLayerName, b6 as PRESENCE_KINDS, b7 as PROMPT_CONTEXT_CHARS, b8 as ParsedSlashCommand, b9 as PendingAuthResponse, ba as PersonKey, bb as PlanStepsError, bc as PlanWorkRequest, bd as ProductResponse, be as ProjectAddonKind, bf as ProjectAddonSettingsRequest, bg as ProjectBudget, bh as ProjectCheckoutRequest, bi as ProjectConversationUsageResponse, bj as ProjectCreateOptions, bk as ProjectDetails, bl as ProjectEventKind, bm as ProjectEventResponse, bn as ProjectInvoicesResponse, bo as ProjectNextPeriodAddonsRequest, bp as ProjectPlanChangeRequest, bq as ProjectQuoteRequest, br as ProjectResponse, bs as ProjectUpdateRequest, bt as ProjectUsageResponse, bu as PublicBookingError, bv as PublicBookingPage, bw as QuotaExceeded, bx as RaisedSignal, by as ReconnectOptions, bz as ReconnectableWsConnection, bA as ResolvedCitation, bB as ResolvedRecipient, bC as RespondParams, bD as RespondPartstat, bE as RoomCreateBody, bF as RoomQuery, bG as RoomRead, bH as RunProgress, bI as RunStats, bJ as RunStep, bK as RunWaitingOn, bL as SHAREPOINT_VENDORS, bM as SSEEvent, bN as SSEStreamCallbacks, bO as SSEStreamResult, bP as STEP_FIELD_OPTION_TONES, bQ as STOP_ID_WAIT_MS, bR as STOP_REPEAT_WINDOW_MS, bT as ScopedTarget, bU as SearchChunk, bV as SendBack, bW as ShareRead, bX as ShareRole, bY as SkillSummary, b_ as SlackConnectionStatus, b$ as StepActionRequest, c0 as StepActivityEvent, c1 as StepAssignee, c2 as StepDisplay, c3 as StepField, c4 as StepFieldOption, c5 as StepFieldOptionTone, c6 as StepKind, c7 as StepPhase, c8 as StepSignal, c9 as StepSignalWhen, ca as StepState, cb as StepStatus, cc as SubagentBranchRecord, cd as SubagentLaneInfo, ce as SubmitBackgroundQueryOptions, cf as SubscribeParams, cg as SyncTriggerResult, ch as TAG_KINDS, ci as TAG_NESTING_MAX_DEPTH, cj as TagChange, ck as TagFieldDefinition, cl as TagGroup, cm as TagKind, cn as TagKindField, co as TagKindSchema, cp as TagLinks, cq as TagListQuery, cr as TagNode, cs as TagResponse, ct as TagScope, cu as TagTreeRow, cv as TaskPlan, cw as TaskPlanStep, cx as TaxQuoteResponse, cy as Thread, cz as ThreadsResponse, cA as TimeSuggestion, cB as TurnRequest, 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 WebSocketAuthError, cR as WeeklyHoursSpec, cS as WorkStatus, cT as WorkflowAuthMode, cU as WorkflowResponse, cV as WorkflowRunHistoryResponse, cW as WorkflowRunResponse, cX as WorkspaceContext, cY as WorkspaceOpenResponse, cZ as WsConnection, c_ as account, c$ as agentconfig, d0 as agents, d1 as appendTranscriptionHints, d2 as assistant, d3 as authenticatedFetch, d4 as bookPublicSlot, d5 as buildCitationChunkData, d6 as buildDocNameMap, d7 as buildDocumentTools, d8 as buildFactsContextTool, d9 as buildRetrievalChunkTool, da as buildRetrievalFullContextTool, db as buildRetrievalTocTool, dc as buildTurnRequest, dd as calendar, de as calls, df as canTagHaveParent, dg as cancelPublicBooking, dh as chats, di as computeRunStats, dj as connectErrorMessage, dk as connectWebSocket, dl as connectWithReconnect, dm as connectors, dn as consumeSSEStream, dp as contacts, dq as continuityPrompt, dr as conversations, ds as countCitations, dt as createAuthenticatedClient, du as createDocumentWaiter, dv as createIndexAssigner, dw as defaultKindForFormat, dx as doctags, dy as documents, dz as estimateDraftTokens, dA as extractDocumentIdsFromMessages, dB as extractFactIdsFromMessages, dC as extractSubagentLanes, dD as facts, dE as files, dF as filterDocumentTags, dG as filterSkills, dH as findLeafForTaskMessage, dI as findMainSiblingLeaf, dJ as findReplyTarget, dK as findSubagentRunId, dL as flattenTagTree, dM as formatAgentStepLabel, dN as formatFileSize, dO as formatGbp, dP as formatGbpPerMillionTokens, dQ as formatItemLabel, dR as formatStreamSummary, dS as formatTokens, dT as formatUserName, dU as formatWorkspaceChoices, dV as formatWsMessage, dW as generateEncryptedWorkspaceKey, dX as generateNewWorkspaceKey, dY as getAgentStepLabel, dZ as getAttachableRunId, d_ as getChildTags, d$ as getContextRemainingPercent, e0 as getContextUsedPercent, e1 as getContextUsedTokens, e2 as getCurrentStep, e3 as getEligibleParentTags, e4 as getErrorCode, e5 as getErrorMessage, e6 as getPublicBookingPage, e7 as getRawWorkspaceKey, e8 as getRunToAttach, e9 as getRunToCancel, ea as getStepDisplay, eb as getStepTool, ec as getSubagentBranchRecord, ed as getTagDescendantIds, ee as health, ef as houseTemplates, eg as hydrateAgentSteps, ei as identityErrorCode, eh as identityVerification, ej as isAnnotationTag, ek as isConnectorVendorVisible, el as isDriveSyncVendor, em as isEntityTag, en as isFlatKind, eo as isLabelTag, ep as isMailboxSyncVendor, eq as isNearAiUsageBudget, er as isPresenceTag, es as isSharePointVendor, et as isSharedSkill, eu as isTraceItem, ev as mail, ew as mergeAgentSteps, ex as notifications, ey as parseSSEEvents, ez as parseSlashCommand, eA as parseSlashTokenInProgress, eB as performPasswordLogin, eC as performSigningKeyLogin, eD as performSsoDeviceFlowLogin, eE as pickMainThread, eF as profile, eG as progressFetch, eH as projects, eI as quotaExceededFrom, eJ as quotaFromStreamError, eK as reduceOutputItem, eL as refusalReason, eM as requireData, eN as requireOk, eO as resolveAuth, eP as resolveCitations, eQ as resolveSummary, eR as resolveWorkspace, eS as responses, eT as searchChunks, eU as selectFullContextDocument, eV as selectWorkspace, eW as selectWorkspaceById, eX as sessions, eY as settings, eZ as signatureRequests, e_ as sliceToSubagentThread, e$ as streamSSE, f0 as stripCitationMarkdown, f1 as subagentJobLabel, f2 as summarizeCitations, f3 as tagUseCount, f4 as tags, f5 as tagsForScope, f6 as tagsOfGroup, f7 as topLevelAgentSteps, f8 as uploadSkill, f9 as usdToGbp, fa as work, fb as workflowSteps, fc as workflows, fd as workspaces, fe as wouldCreateTagCycle } from './browser-CvcDcKbH.js';
1
+ import { $ as ConfigStore, Y as CliConfig, Z as CliCredentials, V as ChatSession, bZ as SkippedFile, cL as UploadResult, p as AuthHeaders, cF as UploadBatchResult, cJ as UploadOptions, cG as UploadDirectOptions, cH as UploadDirectResult, bS as SUPPORTED_EXTENSIONS, b0 as MailAttachment, N as ChatCryptoContext } from './browser-B4w2pgiI.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 ArbiHostSession, h as ArbiOptions, i as ArbiSessionExpiredError, j as ArbiWorkspaceChangedError, k as ArbiWorkspaceSupersededError, l as AskHandlers, m as AskRequest, n as AttendeeRead, o as AuthContext, 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, O as ChatKeyRing, P as ChatKind, Q as ChatMemberKey, R as ChatMemberResponse, S as ChatMessage, T as ChatMessageResponse, U as ChatResponse, W as CitationSummary, X as CitationToolSources, _ as CommandDescriptor, 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, ac as CreateWorkRequest, ad as CreateWorkflowRequest, ae as DEFAULT_AI_USD_PER_GBP, af as DOC_TERMINAL_STATUSES, ag as DRIVE_SYNC_VENDORS, ah as DateTimeSpec, ai as DecryptedChat, aj as DecryptedChatMessage, ak as DeploymentHouseTemplate, al as DocInfo, am as DocInfoMap, an as DocNameMap, ao as DocumentAutomationAction, ap as DocumentListFields, aq as DocumentListOrder, ar as DocumentSelector, as as DocumentWaiter, at as DocumentWaiterOptions, au as DriveSyncProgress, av as DriveSyncSummary, aw as DuplicateContactError, ax as ENTITY_KINDS, ay as EditScope, az as EntityKind, aA as EventCreateBody, aB as EventPatchBody, aC as FLAT_TAG_KINDS, aG as FindTimeParams, aH as FormattedWsMessage, aI as FreeBusyEntry, aJ as FullContextSelection, aK as GOOGLE_VENDORS, aL as HolidayCountry, aM as HouseTemplateCandidate, aN as IMANAGE_VENDORS, aO as IdentityErrorCode, aP as IdentityPurchase, aQ as IdentityState, aR as IdentityStatus, aS as ImportResult, aT as InvitationRead, aU as LinkedRun, aV as ListAllOptions, aW as ListEventsParams, aY as ListPaginatedOptions, aZ as MAILBOX_SYNC_VENDORS, a_ as MAX_RETRIEVE_DOC_IDS, a$ as MICROSOFT_VENDORS, b1 as MessageLevel, b2 as OAuthAccountKind, b3 as OutputItemDone, b4 as OverlayItem, b5 as OverlayLayerName, b6 as PRESENCE_KINDS, b7 as PROMPT_CONTEXT_CHARS, b8 as ParsedSlashCommand, b9 as PendingAuthResponse, ba as PersonKey, bb as PlanStepsError, bc as PlanWorkRequest, bd as ProductResponse, be as ProjectAddonKind, bf as ProjectAddonSettingsRequest, bg as ProjectBudget, bh as ProjectCheckoutRequest, bi as ProjectConversationUsageResponse, bj as ProjectCreateOptions, bk as ProjectDetails, bl as ProjectEventKind, bm as ProjectEventResponse, bn as ProjectInvoicesResponse, bo as ProjectNextPeriodAddonsRequest, bp as ProjectPlanChangeRequest, bq as ProjectQuoteRequest, br as ProjectResponse, bs as ProjectUpdateRequest, bt as ProjectUsageResponse, bu as PublicBookingError, bv as PublicBookingPage, bw as QuotaExceeded, bx as RaisedSignal, by as ReconnectOptions, bz as ReconnectableWsConnection, bA as ResolvedCitation, bB as ResolvedRecipient, bC as RespondParams, bD as RespondPartstat, bE as RoomCreateBody, bF as RoomQuery, bG as RoomRead, bH as RunProgress, bI as RunStats, bJ as RunStep, bK as RunWaitingOn, bL as SHAREPOINT_VENDORS, bM as SSEEvent, bN as SSEStreamCallbacks, bO as SSEStreamResult, bP as STEP_FIELD_OPTION_TONES, bQ as STOP_ID_WAIT_MS, bR as STOP_REPEAT_WINDOW_MS, bT as ScopedTarget, bU as SearchChunk, bV as SendBack, bW as ShareRead, bX as ShareRole, bY as SkillSummary, b_ as SlackConnectionStatus, b$ as StepActionRequest, c0 as StepActivityEvent, c1 as StepAssignee, c2 as StepDisplay, c3 as StepField, c4 as StepFieldOption, c5 as StepFieldOptionTone, c6 as StepKind, c7 as StepPhase, c8 as StepSignal, c9 as StepSignalWhen, ca as StepState, cb as StepStatus, cc as SubagentBranchRecord, cd as SubagentLaneInfo, ce as SubmitBackgroundQueryOptions, cf as SubscribeParams, cg as SyncTriggerResult, ch as TAG_KINDS, ci as TAG_NESTING_MAX_DEPTH, cj as TagChange, ck as TagFieldDefinition, cl as TagGroup, cm as TagKind, cn as TagKindField, co as TagKindSchema, cp as TagLinks, cq as TagListQuery, cr as TagNode, cs as TagResponse, ct as TagScope, cu as TagTreeRow, cv as TaskPlan, cw as TaskPlanStep, cx as TaxQuoteResponse, cy as Thread, cz as ThreadsResponse, cA as TimeSuggestion, cB as TurnRequest, 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 WebSocketAuthError, cR as WeeklyHoursSpec, cS as WorkStatus, cT as WorkflowAuthMode, cU as WorkflowResponse, cV as WorkflowRunHistoryResponse, cW as WorkflowRunResponse, cX as WorkspaceContext, cY as WorkspaceOpenResponse, cZ as WsConnection, c_ as account, c$ as agentconfig, d0 as agents, d1 as appendTranscriptionHints, d2 as assistant, d3 as authenticatedFetch, d4 as bookPublicSlot, d5 as buildCitationChunkData, d6 as buildDocNameMap, d7 as buildDocumentTools, d8 as buildFactsContextTool, d9 as buildRetrievalChunkTool, da as buildRetrievalFullContextTool, db as buildRetrievalTocTool, dc as buildTurnRequest, dd as calendar, de as calls, df as canTagHaveParent, dg as cancelPublicBooking, dh as chats, di as computeRunStats, dj as connectErrorMessage, dk as connectWebSocket, dl as connectWithReconnect, dm as connectors, dn as consumeSSEStream, dp as contacts, dq as continuityPrompt, dr as conversations, ds as countCitations, dt as createAuthenticatedClient, du as createDocumentWaiter, dv as createIndexAssigner, dw as defaultKindForFormat, dx as doctags, dy as documents, dz as estimateDraftTokens, dA as extractDocumentIdsFromMessages, dB as extractFactIdsFromMessages, dC as extractSubagentLanes, dD as facts, dE as files, dF as filterDocumentTags, dG as filterSkills, dH as findLeafForTaskMessage, dI as findMainSiblingLeaf, dJ as findReplyTarget, dK as findSubagentRunId, dL as flattenTagTree, dM as formatAgentStepLabel, dN as formatFileSize, dO as formatGbp, dP as formatGbpPerMillionTokens, dQ as formatItemLabel, dR as formatStreamSummary, dS as formatTokens, dT as formatUserName, dU as formatWorkspaceChoices, dV as formatWsMessage, dW as generateEncryptedWorkspaceKey, dX as generateNewWorkspaceKey, dY as getAgentStepLabel, dZ as getAttachableRunId, d_ as getChildTags, d$ as getContextRemainingPercent, e0 as getContextUsedPercent, e1 as getContextUsedTokens, e2 as getCurrentStep, e3 as getEligibleParentTags, e4 as getErrorCode, e5 as getErrorMessage, e6 as getPublicBookingPage, e7 as getRawWorkspaceKey, e8 as getRunToAttach, e9 as getRunToCancel, ea as getStepDisplay, eb as getStepTool, ec as getSubagentBranchRecord, ed as getTagDescendantIds, ee as health, ef as houseTemplates, eg as hydrateAgentSteps, ei as identityErrorCode, eh as identityVerification, ej as isAnnotationTag, ek as isConnectorVendorVisible, el as isDriveSyncVendor, em as isEntityTag, en as isFlatKind, eo as isLabelTag, ep as isMailboxSyncVendor, eq as isNearAiUsageBudget, er as isPresenceTag, es as isSharePointVendor, et as isSharedSkill, eu as isTraceItem, ev as mail, ew as mergeAgentSteps, ex as notifications, ey as parseSSEEvents, ez as parseSlashCommand, eA as parseSlashTokenInProgress, eB as performPasswordLogin, eC as performSigningKeyLogin, eD as performSsoDeviceFlowLogin, eE as pickMainThread, eF as profile, eG as progressFetch, eH as projects, eI as quotaExceededFrom, eJ as quotaFromStreamError, eK as reduceOutputItem, eL as refusalReason, eM as requireData, eN as requireOk, eO as resolveAuth, eP as resolveCitations, eQ as resolveSummary, eR as resolveWorkspace, eS as responses, eT as searchChunks, eU as selectFullContextDocument, eV as selectWorkspace, eW as selectWorkspaceById, eX as sessions, eY as settings, eZ as signatureRequests, e_ as sliceToSubagentThread, e$ as streamSSE, f0 as stripCitationMarkdown, f1 as subagentJobLabel, f2 as summarizeCitations, f3 as tagUseCount, f4 as tags, f5 as tagsForScope, f6 as tagsOfGroup, f7 as topLevelAgentSteps, f8 as uploadSkill, f9 as usdToGbp, fa as work, fb as workflowSteps, fc as workflows, fd as workspaces, fe as wouldCreateTagCycle } from './browser-B4w2pgiI.js';
3
3
  import { SessionPersistence, ArbiClient, components } from '@arbidocs/client';
4
4
  export { CallPeer, LoginProfile } 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
@@ -6029,6 +6029,7 @@ function buildTurnRequest(request) {
6029
6029
  ...request.conversationId ? { conversation_ext_id: request.conversationId } : {},
6030
6030
  ...request.model && !pa2 ? { model: request.model } : {},
6031
6031
  ...activeArtifactExtId ? { active_artifact_ext_id: activeArtifactExtId } : {},
6032
+ ...request.bindDocumentId && !request.previousResponseId && !pa2 ? { bound_document_ext_id: request.bindDocumentId } : {},
6032
6033
  ...request.mentions && request.mentions.length > 0 ? { mentions: request.mentions } : {},
6033
6034
  ...request.assistantMode ? { assistant_mode: request.assistantMode } : {}
6034
6035
  };
@@ -11312,9 +11313,10 @@ var Arbi = class {
11312
11313
  getThreads: (conversationId) => getConversationThreads(this.requireClient(), conversationId),
11313
11314
  delete: (conversationId) => deleteConversation(this.requireClient(), conversationId),
11314
11315
  /**
11315
- * Patch a conversation: `title`, `shared` (owner only), and the work fields (`description`,
11316
- * `due_at`, `parent_conversation_ext_id`, `status`, `plan`). The one call
11317
- * behind rename, share and unshare.
11316
+ * Patch a conversation: `title`, `shared` (owner only), its bound document
11317
+ * (`bound_document_ext_id`, `null` unbinds), and the work fields (`description`, `due_at`,
11318
+ * `parent_conversation_ext_id`, `status`, `plan`). The one call behind rename, share, unshare
11319
+ * and attaching a thread to a document.
11318
11320
  */
11319
11321
  update: (conversationId, body) => updateConversation(this.requireClient(), conversationId, body),
11320
11322
  /** Create a work item: a plain to-do, or (with a prompt / skill) agent work that starts now. */