@arbidocs/sdk 0.5.68 → 0.5.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { a4 as ConfigStore, a1 as CliConfig, a2 as CliCredentials, _ as ChatSession, cw as SkippedFile, di as UploadResult, t as AuthHeaders, dc as UploadBatchResult, dg as UploadOptions, dd as UploadDirectOptions, de as UploadDirectResult, cp as SUPPORTED_EXTENSIONS, bj as MailAttachment, S as ChatCryptoContext } from './browser-BsuUurv5.cjs';
2
- export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, u as AuthMode, v as AuthenticatedClient, B as BookingConfirmation, w as BookingPage, x as BookingPageWriteBody, y as BookingRequestBody, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, $ as CitationSummary, a0 as CitationToolSources, a3 as CommandDescriptor, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, an as DOC_TERMINAL_STATUSES, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, az as DecryptedChat, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DirectModelUsage, aD as DocInfo, aE as DocInfoMap, aF as DocNameMap, aG as DocumentAutomationAction, aH as DocumentListFields, aI as DocumentListOrder, aJ as DocumentSelector, aK as DocumentWaiter, aL as DocumentWaiterOptions, aM as DriveSyncProgress, aN as DriveSyncSummary, aO as DuplicateContactError, aP as ENTITY_KINDS, aQ as EditScope, aR as EntityKind, aS as EventCreateBody, aT as EventPatchBody, aU as FLAT_TAG_KINDS, aY as FindTimeParams, aZ as FormattedWsMessage, a_ as FreeBusyEntry, a$ as FullContextSelection, b0 as GOOGLE_VENDORS, b1 as HolidayCountry, b2 as HouseTemplateCandidate, b3 as IMANAGE_VENDORS, b4 as IdentityErrorCode, b5 as IdentityPurchase, b6 as IdentityState, b7 as IdentityStatus, b8 as ImportResult, b9 as InvitationRead, ba as JsonSchemaOutputFormat, bb as LinkedRun, bc as ListAllOptions, bd as ListEventsParams, bf as ListPaginatedOptions, bg as MAILBOX_SYNC_VENDORS, bh as MAX_RETRIEVE_DOC_IDS, bi as MICROSOFT_VENDORS, bk as MessageLevel, bl as ModelConnection, bm as OAuthAccountKind, bn as OutputItemDone, bo as OverlayItem, bp as OverlayLayerName, bq as PRESENCE_KINDS, br as PROMPT_CONTEXT_CHARS, bs as ParsedResponse, bt as ParsedSlashCommand, bu as ParsedStructuredResponse, bv as PendingAuthResponse, bw as PersonKey, bx as PersonalConnectionInput, by as PlanStepsError, bz as PlanWorkRequest, bA as ProductResponse, bB as ProjectAddonKind, bC as ProjectAddonSettingsRequest, bD as ProjectBudget, bE as ProjectCheckoutRequest, bF as ProjectConversationUsageResponse, bG as ProjectCreateOptions, bH as ProjectDetails, bI as ProjectEventKind, bJ as ProjectEventResponse, bK as ProjectInvoicesResponse, bL as ProjectNextPeriodAddonsRequest, bM as ProjectPlanChangeRequest, bN as ProjectQuoteRequest, bO as ProjectResponse, bP as ProjectUpdateRequest, bQ as ProjectUsageResponse, bR as PublicBookingError, bS as PublicBookingPage, bT as QuotaExceeded, bU as RaisedSignal, bV as RawResponseEvent, bW as ReconnectOptions, bX as ReconnectableWsConnection, bY as ResolvedCitation, bZ as ResolvedRecipient, b_ as RespondParams, b$ as RespondPartstat, c0 as Response, c1 as ResponseCreateRequest, c2 as ResponseCreateResult, c3 as ResponseHandle, c4 as ResponseSnapshot, c5 as ResponseStart, c6 as ResponseStartOptions, c7 as ResponseStream, c8 as ResponseStreamEvent, c9 as ResponseTools, ca as RoomCreateBody, cb as RoomQuery, cc as RoomRead, cd as RunProgress, ce as RunStats, cf as RunStep, cg as RunWaitingOn, ch as SHAREPOINT_VENDORS, ci as SSEEvent, cj as SSEStreamCallbacks, ck as SSEStreamOutcome, cl as SSEStreamResult, cm as STEP_FIELD_OPTION_TONES, cn as STOP_ID_WAIT_MS, co as STOP_REPEAT_WINDOW_MS, cq as ScopedTarget, cr as SearchChunk, cs as SendBack, ct as ShareRead, cu as ShareRole, cv as SkillSummary, cx as SlackConnectionStatus, cy as StepActionRequest, cz as StepActivityEvent, cA as StepAssignee, cB as StepDisplay, cC as StepField, cD as StepFieldOption, cE as StepFieldOptionTone, cF as StepKind, cG as StepPhase, cH as StepSignal, cI as StepSignalWhen, cJ as StepState, cK as StepStatus, cL as SubagentBranchRecord, cM as SubagentLaneInfo, cN as SubmitBackgroundQueryOptions, cO as SubscribeParams, cP as SyncTriggerResult, cQ as TAG_KINDS, cR as TAG_NESTING_MAX_DEPTH, cS as TagChange, cT as TagFieldDefinition, cU as TagGroup, cV as TagKind, cW as TagKindField, cX as TagKindSchema, cY as TagLinks, cZ as TagListQuery, c_ as TagNode, c$ as TagResponse, d0 as TagScope, d1 as TagTreeRow, d2 as TaskPlan, d3 as TaskPlanStep, d4 as TaxQuoteResponse, d5 as Thread, d6 as ThreadsResponse, d7 as TimeSuggestion, d8 as TurnRequest, d9 as UpdateConversationRequest, db as UpdateWorkflowRequest, df as UploadDocumentsOptions, dh as UploadProgressListener, dj as UsageBreakdown, dk as UserConnectorEntry, dl as UserDailyUsageResponse, dm as UserInfo, dn as WebSocketAuthError, dp as WeeklyHoursSpec, dq as WorkStatus, dr as WorkflowAuthMode, ds as WorkflowResponse, dt as WorkflowRunHistoryResponse, du as WorkflowRunResponse, dv as WorkspaceConflict, dw as WorkspaceContext, dx as WorkspaceOpenResponse, dy as WorkspaceResponse, dz as WsConnection, dA as account, dB as agentconfig, dC as agents, dD as appendTranscriptionHints, dE as assistant, dF as authenticatedFetch, dG as bookPublicSlot, dH as buildCitationChunkData, dI as buildDocNameMap, dJ as buildDocumentTools, dK as buildFactsContextTool, dL as buildRetrievalChunkTool, dM as buildRetrievalFullContextTool, dN as buildRetrievalTocTool, dO as buildTurnRequest, dP as calendar, dQ as calls, dR as canTagHaveParent, dS as cancelPublicBooking, dT as capabilities, dU as chats, dV as composeConfiguration, dW as composeTools, dX as computeRunStats, dY as connectErrorMessage, dZ as connectWebSocket, d_ as connectWithReconnect, d$ as connectors, e0 as contacts, e1 as continuityPrompt, e2 as conversations, e3 as countCitations, e4 as createAuthenticatedClient, e5 as createDocumentWaiter, e6 as createIndexAssigner, e7 as databases, e8 as defaultKindForFormat, e9 as doctags, ea as documentTools, eb as documents, ec as estimateDraftTokens, ed as extractDocumentIdsFromMessages, ee as extractFactIdsFromMessages, ef as extractSubagentLanes, eg as facts, eh as files, ei as filterDocumentTags, ej as filterSkills, ek as findLeafForTaskMessage, el as findMainSiblingLeaf, em as findReplyTarget, en as findSubagentRunId, eo as flattenTagTree, ep as formatAgentStepLabel, eq as formatFileSize, er as formatGbp, es as formatGbpPerMillionTokens, et as formatItemLabel, eu as formatStreamSummary, ev as formatTokens, ew as formatUserName, ex as formatWorkspaceChoices, ey as formatWsMessage, ez as generateEncryptedWorkspaceKey, eA as generateNewWorkspaceKey, eB as getAgentStepLabel, eC as getAttachableRunId, eD as getChildTags, eE as getContextRemainingPercent, eF as getContextUsedPercent, eG as getContextUsedTokens, eH as getCurrentStep, eI as getEligibleParentTags, eJ as getErrorCode, eK as getErrorMessage, eL as getPublicBookingPage, eM as getRawWorkspaceKey, eN as getRunToAttach, eO as getRunToCancel, eP as getStepDisplay, eQ as getStepTool, eR as getSubagentBranchRecord, eS as getTagDescendantIds, eT as health, eU as houseTemplates, eV as hydrateAgentSteps, eX as identityErrorCode, eW as identityVerification, eY as instructions, eZ as isAnnotationTag, e_ as isConnectorVendorVisible, e$ as isDriveSyncVendor, f0 as isEntityTag, f1 as isFlatKind, f2 as isLabelTag, f3 as isMailboxSyncVendor, f4 as isNearAiUsageBudget, f5 as isPresenceTag, f6 as isSharePointVendor, f7 as isSharedSkill, f8 as isTraceItem, f9 as mail, fa as mcpTools, fb as mergeAgentSteps, fc as modelConnections, fd as notifications, fe as parseSSEEvents, ff as parseSlashCommand, fg as parseSlashTokenInProgress, fh as parseStructuredResponse, fi as performPasswordLogin, fj as performSigningKeyLogin, fk as performSsoDeviceFlowLogin, fl as pickMainThread, fm as profile, fn as progressFetch, fo as projects, fp as quotaExceededFrom, fq as quotaFromStreamError, fr as reduceOutputItem, fs as refusalReason, ft as requireData, fu as requireOk, fv as resolveAuth, fw as resolveCitations, fx as resolveSummary, fy as resolveWorkspace, fz as responses, fA as searchChunks, fB as selectFullContextDocument, fC as selectWorkspace, fD as selectWorkspaceById, fE as sessions, fF as settings, fG as signatureRequests, fH as sliceToSubagentThread, fI as streamSSE, fJ as stripCitationMarkdown, fK as subagentJobLabel, fL as summarizeCitations, fM as tagUseCount, fN as tags, fO as tagsForScope, fP as tagsOfGroup, fQ as topLevelAgentSteps, fR as uploadSkill, fS as usdToGbp, fT as work, fU as workflowSteps, fV as workflows, fW as workspaceConflictOf, fX as workspaces, fY as wouldCreateTagCycle } from './browser-BsuUurv5.cjs';
1
+ import { a4 as ConfigStore, a1 as CliConfig, a2 as CliCredentials, _ as ChatSession, cz as SkippedFile, dl as UploadResult, t as AuthHeaders, df as UploadBatchResult, dj as UploadOptions, dg as UploadDirectOptions, dh as UploadDirectResult, cp as SUPPORTED_EXTENSIONS, bj as MailAttachment, S as ChatCryptoContext } from './browser-CA2ecqVP.cjs';
2
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, u as AuthMode, v as AuthenticatedClient, B as BookingConfirmation, w as BookingPage, x as BookingPageWriteBody, y as BookingRequestBody, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, $ as CitationSummary, a0 as CitationToolSources, a3 as CommandDescriptor, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, an as DOC_TERMINAL_STATUSES, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, az as DecryptedChat, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DirectModelUsage, aD as DocInfo, aE as DocInfoMap, aF as DocNameMap, aG as DocumentAutomationAction, aH as DocumentListFields, aI as DocumentListOrder, aJ as DocumentSelector, aK as DocumentWaiter, aL as DocumentWaiterOptions, aM as DriveSyncProgress, aN as DriveSyncSummary, aO as DuplicateContactError, aP as ENTITY_KINDS, aQ as EditScope, aR as EntityKind, aS as EventCreateBody, aT as EventPatchBody, aU as FLAT_TAG_KINDS, aY as FindTimeParams, aZ as FormattedWsMessage, a_ as FreeBusyEntry, a$ as FullContextSelection, b0 as GOOGLE_VENDORS, b1 as HolidayCountry, b2 as HouseTemplateCandidate, b3 as IMANAGE_VENDORS, b4 as IdentityErrorCode, b5 as IdentityPurchase, b6 as IdentityState, b7 as IdentityStatus, b8 as ImportResult, b9 as InvitationRead, ba as JsonSchemaOutputFormat, bb as LinkedRun, bc as ListAllOptions, bd as ListEventsParams, bf as ListPaginatedOptions, bg as MAILBOX_SYNC_VENDORS, bh as MAX_RETRIEVE_DOC_IDS, bi as MICROSOFT_VENDORS, bk as MessageLevel, bl as ModelConnection, bm as OAuthAccountKind, bn as OutputItemDone, bo as OverlayItem, bp as OverlayLayerName, bq as PRESENCE_KINDS, br as PROMPT_CONTEXT_CHARS, bs as ParsedResponse, bt as ParsedSlashCommand, bu as ParsedStructuredResponse, bv as PendingAuthResponse, bw as PersonKey, bx as PersonalConnectionInput, by as PlanStepsError, bz as PlanWorkRequest, bA as ProductResponse, bB as ProjectAddonKind, bC as ProjectAddonSettingsRequest, bD as ProjectBudget, bE as ProjectCheckoutRequest, bF as ProjectConversationUsageResponse, bG as ProjectCreateOptions, bH as ProjectDetails, bI as ProjectEventKind, bJ as ProjectEventResponse, bK as ProjectInvoicesResponse, bL as ProjectNextPeriodAddonsRequest, bM as ProjectPlanChangeRequest, bN as ProjectQuoteRequest, bO as ProjectResponse, bP as ProjectUpdateRequest, bQ as ProjectUsageResponse, bR as PublicBookingError, bS as PublicBookingPage, bT as QuotaExceeded, bU as RaisedSignal, bV as RawResponseEvent, bW as ReconnectOptions, bX as ReconnectableWsConnection, bY as ResolvedCitation, bZ as ResolvedRecipient, b_ as RespondParams, b$ as RespondPartstat, c0 as Response, c1 as ResponseCreateRequest, c2 as ResponseCreateResult, c3 as ResponseHandle, c4 as ResponseSnapshot, c5 as ResponseStart, c6 as ResponseStartOptions, c7 as ResponseStream, c8 as ResponseStreamEvent, c9 as ResponseTools, ca as RoomCreateBody, cb as RoomQuery, cc as RoomRead, cd as RunProgress, ce as RunStats, cf as RunStep, cg as RunWaitingOn, ch as SHAREPOINT_VENDORS, ci as SSEEvent, cj as SSEStreamCallbacks, ck as SSEStreamOutcome, cl as SSEStreamResult, cm as STEP_FIELD_OPTION_TONES, cn as STOP_ID_WAIT_MS, co as STOP_REPEAT_WINDOW_MS, cq as ScopedTarget, cr as SearchChunk, cs as SecureMailCompose, ct as SecureMailSend, cu as SecureMailSender, cv as SendBack, cw as ShareRead, cx as ShareRole, cy as SkillSummary, cA as SlackConnectionStatus, cB as StepActionRequest, cC as StepActivityEvent, cD as StepAssignee, cE as StepDisplay, cF as StepField, cG as StepFieldOption, cH as StepFieldOptionTone, cI as StepKind, cJ as StepPhase, cK as StepSignal, cL as StepSignalWhen, cM as StepState, cN as StepStatus, cO as SubagentBranchRecord, cP as SubagentLaneInfo, cQ as SubmitBackgroundQueryOptions, cR as SubscribeParams, cS as SyncTriggerResult, cT as TAG_KINDS, cU as TAG_NESTING_MAX_DEPTH, cV as TagChange, cW as TagFieldDefinition, cX as TagGroup, cY as TagKind, cZ as TagKindField, c_ as TagKindSchema, c$ as TagLinks, d0 as TagListQuery, d1 as TagNode, d2 as TagResponse, d3 as TagScope, d4 as TagTreeRow, d5 as TaskPlan, d6 as TaskPlanStep, d7 as TaxQuoteResponse, d8 as Thread, d9 as ThreadsResponse, da as TimeSuggestion, db as TurnRequest, dc as UpdateConversationRequest, de as UpdateWorkflowRequest, di as UploadDocumentsOptions, dk as UploadProgressListener, dm as UsageBreakdown, dn as UserConnectorEntry, dp as UserDailyUsageResponse, dq as UserInfo, dr as WebSocketAuthError, ds as WeeklyHoursSpec, dt as WorkStatus, du as WorkflowAuthMode, dv as WorkflowResponse, dw as WorkflowRunHistoryResponse, dx as WorkflowRunResponse, dy as WorkspaceConflict, dz as WorkspaceContext, dA as WorkspaceOpenResponse, dB as WorkspaceResponse, dC as WsConnection, dD as account, dE as agentconfig, dF as agents, dG as appendTranscriptionHints, dH as assistant, dI as authenticatedFetch, dJ as bookPublicSlot, dK as buildCitationChunkData, dL as buildDocNameMap, dM as buildDocumentTools, dN as buildFactsContextTool, dO as buildRetrievalChunkTool, dP as buildRetrievalFullContextTool, dQ as buildRetrievalTocTool, dR as buildTurnRequest, dS as calendar, dT as calls, dU as canTagHaveParent, dV as cancelPublicBooking, dW as capabilities, dX as chats, dY as composeConfiguration, dZ as composeTools, d_ as computeRunStats, d$ as connectErrorMessage, e0 as connectWebSocket, e1 as connectWithReconnect, e2 as connectors, e3 as contacts, e4 as continuityPrompt, e5 as conversations, e6 as countCitations, e7 as createAuthenticatedClient, e8 as createDocumentWaiter, e9 as createIndexAssigner, ea as databases, eb as defaultKindForFormat, ec as doctags, ed as documentTools, ee as documents, ef as estimateDraftTokens, eg as extractDocumentIdsFromMessages, eh as extractFactIdsFromMessages, ei as extractSubagentLanes, ej as facts, ek as files, el as filterDocumentTags, em as filterSkills, en as findLeafForTaskMessage, eo as findMainSiblingLeaf, ep as findReplyTarget, eq as findSubagentRunId, er as flattenTagTree, es as formatAgentStepLabel, et as formatFileSize, eu as formatGbp, ev as formatGbpPerMillionTokens, ew as formatItemLabel, ex as formatStreamSummary, ey as formatTokens, ez as formatUserName, eA as formatWorkspaceChoices, eB as formatWsMessage, eC as generateEncryptedWorkspaceKey, eD as generateNewWorkspaceKey, eE as getAgentStepLabel, eF as getAttachableRunId, eG as getChildTags, eH as getContextRemainingPercent, eI as getContextUsedPercent, eJ as getContextUsedTokens, eK as getCurrentStep, eL as getEligibleParentTags, eM as getErrorCode, eN as getErrorMessage, eO as getPublicBookingPage, eP as getRawWorkspaceKey, eQ as getRunToAttach, eR as getRunToCancel, eS as getStepDisplay, eT as getStepTool, eU as getSubagentBranchRecord, eV as getTagDescendantIds, eW as health, eX as houseTemplates, eY as hydrateAgentSteps, e_ as identityErrorCode, eZ as identityVerification, e$ as instructions, f0 as isAnnotationTag, f1 as isConnectorVendorVisible, f2 as isDriveSyncVendor, f3 as isEntityTag, f4 as isFlatKind, f5 as isLabelTag, f6 as isMailboxSyncVendor, f7 as isNearAiUsageBudget, f8 as isPresenceTag, f9 as isSharePointVendor, fa as isSharedSkill, fb as isTraceItem, fc as mail, fd as mcpTools, fe as mergeAgentSteps, ff as modelConnections, fg as notifications, fh as parseSSEEvents, fi as parseSlashCommand, fj as parseSlashTokenInProgress, fk as parseStructuredResponse, fl as performPasswordLogin, fm as performSigningKeyLogin, fn as performSsoDeviceFlowLogin, fo as pickMainThread, fp as profile, fq as progressFetch, fr as projects, fs as quotaExceededFrom, ft as quotaFromStreamError, fu as reduceOutputItem, fv as refusalReason, fw as requireData, fx as requireOk, fy as resolveAuth, fz as resolveCitations, fA as resolveSummary, fB as resolveWorkspace, fC as responses, fD as searchChunks, fE as secureMail, fF as selectFullContextDocument, fG as selectWorkspace, fH as selectWorkspaceById, fI as sessions, fJ as settings, fK as signatureRequests, fL as sliceToSubagentThread, fM as streamSSE, fN as stripCitationMarkdown, fO as subagentJobLabel, fP as summarizeCitations, fQ as tagUseCount, fR as tags, fS as tagsForScope, fT as tagsOfGroup, fU as topLevelAgentSteps, fV as uploadSkill, fW as usdToGbp, fX as work, fY as workflowSteps, fZ as workflows, f_ as workspaceConflictOf, f$ as workspaces, g0 as wouldCreateTagCycle } from './browser-CA2ecqVP.cjs';
3
3
  import { SessionPersistence, ArbiClient, components } from '@arbidocs/client';
4
4
  export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
5
5
  export { b as AgentStepEvent, d as ArtifactEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, R as ResponseCompletedEvent, g as ResponseContentPartAddedEvent, h as ResponseCreatedEvent, i as ResponseFailedEvent, j as ResponseOutputItemAddedEvent, k as ResponseOutputItemDoneEvent, l as ResponseOutputTextDeltaEvent, m as ResponseOutputTextDoneEvent, n as ResponseUsage, S as SSEStreamStartData, T as TokenBudgetContext, U as UserInputRequestEvent, o as UserMessageEvent } from './sse-types-BbR7JG5o.cjs';
@@ -189,7 +189,7 @@ declare function uploadLocalFile(auth: AuthHeaders, filePath: string, options?:
189
189
  * the CLI this is unwrapped lazily from the stored signing key + workspace
190
190
  * ``wrapped_key``; see ``getRawWorkspaceKey`` in ``auth.ts``.
191
191
  */
192
- declare function uploadLocalFilesDirect(arbi: ArbiClient, workspaceKey: Uint8Array, filePaths: string[], options?: UploadDirectOptions): Promise<UploadDirectResult>;
192
+ declare function uploadLocalFilesDirect(arbi: ArbiClient, workspaceKey: Uint8Array, filePaths: string[], options: UploadDirectOptions): Promise<UploadDirectResult>;
193
193
  /**
194
194
  * Options for the direct-upload directory/zip/archive helpers. Mirrors the
195
195
  * legacy ``UploadDirectoryOptions`` so CLI consumers can switch between the
@@ -205,26 +205,28 @@ interface UploadDirectoryDirectOptions {
205
205
  };
206
206
  }) => void;
207
207
  configExtId?: string;
208
+ /** The workspace whose key the files are encrypted with, named on every request. */
209
+ workspaceExtId: string;
208
210
  }
209
211
  /**
210
212
  * Walk a directory, group supported files by their relative subfolder (with
211
213
  * the directory basename as the root), and upload each group via the
212
214
  * direct-to-MinIO flow.
213
215
  */
214
- declare function uploadLocalDirectoryDirect(arbi: ArbiClient, workspaceKey: Uint8Array, dirPath: string, options?: UploadDirectoryDirectOptions): Promise<UploadBatchResult>;
216
+ declare function uploadLocalDirectoryDirect(arbi: ArbiClient, workspaceKey: Uint8Array, dirPath: string, options: UploadDirectoryDirectOptions): Promise<UploadBatchResult>;
215
217
  /**
216
218
  * Extract a zip archive in memory, group supported entries by their internal
217
219
  * folder structure, and upload each group via the direct-to-MinIO flow. Uses
218
220
  * jszip via dynamic import so the dep is optional at load time. Mirrors the
219
221
  * single-root detection behavior of ``uploadZip``.
220
222
  */
221
- declare function uploadLocalZipDirect(arbi: ArbiClient, workspaceKey: Uint8Array, zipPath: string, options?: UploadDirectoryDirectOptions): Promise<UploadBatchResult>;
223
+ declare function uploadLocalZipDirect(arbi: ArbiClient, workspaceKey: Uint8Array, zipPath: string, options: UploadDirectoryDirectOptions): Promise<UploadBatchResult>;
222
224
  /**
223
225
  * Upload a 7z/rar archive via the direct-to-MinIO flow. Shells out to the
224
226
  * system ``7z`` binary to extract to a temporary directory, then delegates
225
227
  * to ``uploadLocalDirectoryDirect``. The temp directory is removed on exit.
226
228
  */
227
- declare function uploadLocalArchiveDirect(arbi: ArbiClient, workspaceKey: Uint8Array, archivePath: string, options?: UploadDirectoryDirectOptions): Promise<UploadBatchResult>;
229
+ declare function uploadLocalArchiveDirect(arbi: ArbiClient, workspaceKey: Uint8Array, archivePath: string, options: UploadDirectoryDirectOptions): Promise<UploadBatchResult>;
228
230
  /**
229
231
  * Upload all supported files from a directory, preserving folder structure.
230
232
  * Files are grouped by their relative folder path, then each group is split
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a4 as ConfigStore, a1 as CliConfig, a2 as CliCredentials, _ as ChatSession, cw as SkippedFile, di as UploadResult, t as AuthHeaders, dc as UploadBatchResult, dg as UploadOptions, dd as UploadDirectOptions, de as UploadDirectResult, cp as SUPPORTED_EXTENSIONS, bj as MailAttachment, S as ChatCryptoContext } from './browser-D0iEy5W9.js';
2
- export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, u as AuthMode, v as AuthenticatedClient, B as BookingConfirmation, w as BookingPage, x as BookingPageWriteBody, y as BookingRequestBody, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, $ as CitationSummary, a0 as CitationToolSources, a3 as CommandDescriptor, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, an as DOC_TERMINAL_STATUSES, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, az as DecryptedChat, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DirectModelUsage, aD as DocInfo, aE as DocInfoMap, aF as DocNameMap, aG as DocumentAutomationAction, aH as DocumentListFields, aI as DocumentListOrder, aJ as DocumentSelector, aK as DocumentWaiter, aL as DocumentWaiterOptions, aM as DriveSyncProgress, aN as DriveSyncSummary, aO as DuplicateContactError, aP as ENTITY_KINDS, aQ as EditScope, aR as EntityKind, aS as EventCreateBody, aT as EventPatchBody, aU as FLAT_TAG_KINDS, aY as FindTimeParams, aZ as FormattedWsMessage, a_ as FreeBusyEntry, a$ as FullContextSelection, b0 as GOOGLE_VENDORS, b1 as HolidayCountry, b2 as HouseTemplateCandidate, b3 as IMANAGE_VENDORS, b4 as IdentityErrorCode, b5 as IdentityPurchase, b6 as IdentityState, b7 as IdentityStatus, b8 as ImportResult, b9 as InvitationRead, ba as JsonSchemaOutputFormat, bb as LinkedRun, bc as ListAllOptions, bd as ListEventsParams, bf as ListPaginatedOptions, bg as MAILBOX_SYNC_VENDORS, bh as MAX_RETRIEVE_DOC_IDS, bi as MICROSOFT_VENDORS, bk as MessageLevel, bl as ModelConnection, bm as OAuthAccountKind, bn as OutputItemDone, bo as OverlayItem, bp as OverlayLayerName, bq as PRESENCE_KINDS, br as PROMPT_CONTEXT_CHARS, bs as ParsedResponse, bt as ParsedSlashCommand, bu as ParsedStructuredResponse, bv as PendingAuthResponse, bw as PersonKey, bx as PersonalConnectionInput, by as PlanStepsError, bz as PlanWorkRequest, bA as ProductResponse, bB as ProjectAddonKind, bC as ProjectAddonSettingsRequest, bD as ProjectBudget, bE as ProjectCheckoutRequest, bF as ProjectConversationUsageResponse, bG as ProjectCreateOptions, bH as ProjectDetails, bI as ProjectEventKind, bJ as ProjectEventResponse, bK as ProjectInvoicesResponse, bL as ProjectNextPeriodAddonsRequest, bM as ProjectPlanChangeRequest, bN as ProjectQuoteRequest, bO as ProjectResponse, bP as ProjectUpdateRequest, bQ as ProjectUsageResponse, bR as PublicBookingError, bS as PublicBookingPage, bT as QuotaExceeded, bU as RaisedSignal, bV as RawResponseEvent, bW as ReconnectOptions, bX as ReconnectableWsConnection, bY as ResolvedCitation, bZ as ResolvedRecipient, b_ as RespondParams, b$ as RespondPartstat, c0 as Response, c1 as ResponseCreateRequest, c2 as ResponseCreateResult, c3 as ResponseHandle, c4 as ResponseSnapshot, c5 as ResponseStart, c6 as ResponseStartOptions, c7 as ResponseStream, c8 as ResponseStreamEvent, c9 as ResponseTools, ca as RoomCreateBody, cb as RoomQuery, cc as RoomRead, cd as RunProgress, ce as RunStats, cf as RunStep, cg as RunWaitingOn, ch as SHAREPOINT_VENDORS, ci as SSEEvent, cj as SSEStreamCallbacks, ck as SSEStreamOutcome, cl as SSEStreamResult, cm as STEP_FIELD_OPTION_TONES, cn as STOP_ID_WAIT_MS, co as STOP_REPEAT_WINDOW_MS, cq as ScopedTarget, cr as SearchChunk, cs as SendBack, ct as ShareRead, cu as ShareRole, cv as SkillSummary, cx as SlackConnectionStatus, cy as StepActionRequest, cz as StepActivityEvent, cA as StepAssignee, cB as StepDisplay, cC as StepField, cD as StepFieldOption, cE as StepFieldOptionTone, cF as StepKind, cG as StepPhase, cH as StepSignal, cI as StepSignalWhen, cJ as StepState, cK as StepStatus, cL as SubagentBranchRecord, cM as SubagentLaneInfo, cN as SubmitBackgroundQueryOptions, cO as SubscribeParams, cP as SyncTriggerResult, cQ as TAG_KINDS, cR as TAG_NESTING_MAX_DEPTH, cS as TagChange, cT as TagFieldDefinition, cU as TagGroup, cV as TagKind, cW as TagKindField, cX as TagKindSchema, cY as TagLinks, cZ as TagListQuery, c_ as TagNode, c$ as TagResponse, d0 as TagScope, d1 as TagTreeRow, d2 as TaskPlan, d3 as TaskPlanStep, d4 as TaxQuoteResponse, d5 as Thread, d6 as ThreadsResponse, d7 as TimeSuggestion, d8 as TurnRequest, d9 as UpdateConversationRequest, db as UpdateWorkflowRequest, df as UploadDocumentsOptions, dh as UploadProgressListener, dj as UsageBreakdown, dk as UserConnectorEntry, dl as UserDailyUsageResponse, dm as UserInfo, dn as WebSocketAuthError, dp as WeeklyHoursSpec, dq as WorkStatus, dr as WorkflowAuthMode, ds as WorkflowResponse, dt as WorkflowRunHistoryResponse, du as WorkflowRunResponse, dv as WorkspaceConflict, dw as WorkspaceContext, dx as WorkspaceOpenResponse, dy as WorkspaceResponse, dz as WsConnection, dA as account, dB as agentconfig, dC as agents, dD as appendTranscriptionHints, dE as assistant, dF as authenticatedFetch, dG as bookPublicSlot, dH as buildCitationChunkData, dI as buildDocNameMap, dJ as buildDocumentTools, dK as buildFactsContextTool, dL as buildRetrievalChunkTool, dM as buildRetrievalFullContextTool, dN as buildRetrievalTocTool, dO as buildTurnRequest, dP as calendar, dQ as calls, dR as canTagHaveParent, dS as cancelPublicBooking, dT as capabilities, dU as chats, dV as composeConfiguration, dW as composeTools, dX as computeRunStats, dY as connectErrorMessage, dZ as connectWebSocket, d_ as connectWithReconnect, d$ as connectors, e0 as contacts, e1 as continuityPrompt, e2 as conversations, e3 as countCitations, e4 as createAuthenticatedClient, e5 as createDocumentWaiter, e6 as createIndexAssigner, e7 as databases, e8 as defaultKindForFormat, e9 as doctags, ea as documentTools, eb as documents, ec as estimateDraftTokens, ed as extractDocumentIdsFromMessages, ee as extractFactIdsFromMessages, ef as extractSubagentLanes, eg as facts, eh as files, ei as filterDocumentTags, ej as filterSkills, ek as findLeafForTaskMessage, el as findMainSiblingLeaf, em as findReplyTarget, en as findSubagentRunId, eo as flattenTagTree, ep as formatAgentStepLabel, eq as formatFileSize, er as formatGbp, es as formatGbpPerMillionTokens, et as formatItemLabel, eu as formatStreamSummary, ev as formatTokens, ew as formatUserName, ex as formatWorkspaceChoices, ey as formatWsMessage, ez as generateEncryptedWorkspaceKey, eA as generateNewWorkspaceKey, eB as getAgentStepLabel, eC as getAttachableRunId, eD as getChildTags, eE as getContextRemainingPercent, eF as getContextUsedPercent, eG as getContextUsedTokens, eH as getCurrentStep, eI as getEligibleParentTags, eJ as getErrorCode, eK as getErrorMessage, eL as getPublicBookingPage, eM as getRawWorkspaceKey, eN as getRunToAttach, eO as getRunToCancel, eP as getStepDisplay, eQ as getStepTool, eR as getSubagentBranchRecord, eS as getTagDescendantIds, eT as health, eU as houseTemplates, eV as hydrateAgentSteps, eX as identityErrorCode, eW as identityVerification, eY as instructions, eZ as isAnnotationTag, e_ as isConnectorVendorVisible, e$ as isDriveSyncVendor, f0 as isEntityTag, f1 as isFlatKind, f2 as isLabelTag, f3 as isMailboxSyncVendor, f4 as isNearAiUsageBudget, f5 as isPresenceTag, f6 as isSharePointVendor, f7 as isSharedSkill, f8 as isTraceItem, f9 as mail, fa as mcpTools, fb as mergeAgentSteps, fc as modelConnections, fd as notifications, fe as parseSSEEvents, ff as parseSlashCommand, fg as parseSlashTokenInProgress, fh as parseStructuredResponse, fi as performPasswordLogin, fj as performSigningKeyLogin, fk as performSsoDeviceFlowLogin, fl as pickMainThread, fm as profile, fn as progressFetch, fo as projects, fp as quotaExceededFrom, fq as quotaFromStreamError, fr as reduceOutputItem, fs as refusalReason, ft as requireData, fu as requireOk, fv as resolveAuth, fw as resolveCitations, fx as resolveSummary, fy as resolveWorkspace, fz as responses, fA as searchChunks, fB as selectFullContextDocument, fC as selectWorkspace, fD as selectWorkspaceById, fE as sessions, fF as settings, fG as signatureRequests, fH as sliceToSubagentThread, fI as streamSSE, fJ as stripCitationMarkdown, fK as subagentJobLabel, fL as summarizeCitations, fM as tagUseCount, fN as tags, fO as tagsForScope, fP as tagsOfGroup, fQ as topLevelAgentSteps, fR as uploadSkill, fS as usdToGbp, fT as work, fU as workflowSteps, fV as workflows, fW as workspaceConflictOf, fX as workspaces, fY as wouldCreateTagCycle } from './browser-D0iEy5W9.js';
1
+ import { a4 as ConfigStore, a1 as CliConfig, a2 as CliCredentials, _ as ChatSession, cz as SkippedFile, dl as UploadResult, t as AuthHeaders, df as UploadBatchResult, dj as UploadOptions, dg as UploadDirectOptions, dh as UploadDirectResult, cp as SUPPORTED_EXTENSIONS, bj as MailAttachment, S as ChatCryptoContext } from './browser-Bf6pRBuP.js';
2
+ export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AttendeeRead, s as AuthContext, u as AuthMode, v as AuthenticatedClient, B as BookingConfirmation, w as BookingPage, x as BookingPageWriteBody, y as BookingRequestBody, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, $ as CitationSummary, a0 as CitationToolSources, a3 as CommandDescriptor, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, an as DOC_TERMINAL_STATUSES, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, az as DecryptedChat, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DirectModelUsage, aD as DocInfo, aE as DocInfoMap, aF as DocNameMap, aG as DocumentAutomationAction, aH as DocumentListFields, aI as DocumentListOrder, aJ as DocumentSelector, aK as DocumentWaiter, aL as DocumentWaiterOptions, aM as DriveSyncProgress, aN as DriveSyncSummary, aO as DuplicateContactError, aP as ENTITY_KINDS, aQ as EditScope, aR as EntityKind, aS as EventCreateBody, aT as EventPatchBody, aU as FLAT_TAG_KINDS, aY as FindTimeParams, aZ as FormattedWsMessage, a_ as FreeBusyEntry, a$ as FullContextSelection, b0 as GOOGLE_VENDORS, b1 as HolidayCountry, b2 as HouseTemplateCandidate, b3 as IMANAGE_VENDORS, b4 as IdentityErrorCode, b5 as IdentityPurchase, b6 as IdentityState, b7 as IdentityStatus, b8 as ImportResult, b9 as InvitationRead, ba as JsonSchemaOutputFormat, bb as LinkedRun, bc as ListAllOptions, bd as ListEventsParams, bf as ListPaginatedOptions, bg as MAILBOX_SYNC_VENDORS, bh as MAX_RETRIEVE_DOC_IDS, bi as MICROSOFT_VENDORS, bk as MessageLevel, bl as ModelConnection, bm as OAuthAccountKind, bn as OutputItemDone, bo as OverlayItem, bp as OverlayLayerName, bq as PRESENCE_KINDS, br as PROMPT_CONTEXT_CHARS, bs as ParsedResponse, bt as ParsedSlashCommand, bu as ParsedStructuredResponse, bv as PendingAuthResponse, bw as PersonKey, bx as PersonalConnectionInput, by as PlanStepsError, bz as PlanWorkRequest, bA as ProductResponse, bB as ProjectAddonKind, bC as ProjectAddonSettingsRequest, bD as ProjectBudget, bE as ProjectCheckoutRequest, bF as ProjectConversationUsageResponse, bG as ProjectCreateOptions, bH as ProjectDetails, bI as ProjectEventKind, bJ as ProjectEventResponse, bK as ProjectInvoicesResponse, bL as ProjectNextPeriodAddonsRequest, bM as ProjectPlanChangeRequest, bN as ProjectQuoteRequest, bO as ProjectResponse, bP as ProjectUpdateRequest, bQ as ProjectUsageResponse, bR as PublicBookingError, bS as PublicBookingPage, bT as QuotaExceeded, bU as RaisedSignal, bV as RawResponseEvent, bW as ReconnectOptions, bX as ReconnectableWsConnection, bY as ResolvedCitation, bZ as ResolvedRecipient, b_ as RespondParams, b$ as RespondPartstat, c0 as Response, c1 as ResponseCreateRequest, c2 as ResponseCreateResult, c3 as ResponseHandle, c4 as ResponseSnapshot, c5 as ResponseStart, c6 as ResponseStartOptions, c7 as ResponseStream, c8 as ResponseStreamEvent, c9 as ResponseTools, ca as RoomCreateBody, cb as RoomQuery, cc as RoomRead, cd as RunProgress, ce as RunStats, cf as RunStep, cg as RunWaitingOn, ch as SHAREPOINT_VENDORS, ci as SSEEvent, cj as SSEStreamCallbacks, ck as SSEStreamOutcome, cl as SSEStreamResult, cm as STEP_FIELD_OPTION_TONES, cn as STOP_ID_WAIT_MS, co as STOP_REPEAT_WINDOW_MS, cq as ScopedTarget, cr as SearchChunk, cs as SecureMailCompose, ct as SecureMailSend, cu as SecureMailSender, cv as SendBack, cw as ShareRead, cx as ShareRole, cy as SkillSummary, cA as SlackConnectionStatus, cB as StepActionRequest, cC as StepActivityEvent, cD as StepAssignee, cE as StepDisplay, cF as StepField, cG as StepFieldOption, cH as StepFieldOptionTone, cI as StepKind, cJ as StepPhase, cK as StepSignal, cL as StepSignalWhen, cM as StepState, cN as StepStatus, cO as SubagentBranchRecord, cP as SubagentLaneInfo, cQ as SubmitBackgroundQueryOptions, cR as SubscribeParams, cS as SyncTriggerResult, cT as TAG_KINDS, cU as TAG_NESTING_MAX_DEPTH, cV as TagChange, cW as TagFieldDefinition, cX as TagGroup, cY as TagKind, cZ as TagKindField, c_ as TagKindSchema, c$ as TagLinks, d0 as TagListQuery, d1 as TagNode, d2 as TagResponse, d3 as TagScope, d4 as TagTreeRow, d5 as TaskPlan, d6 as TaskPlanStep, d7 as TaxQuoteResponse, d8 as Thread, d9 as ThreadsResponse, da as TimeSuggestion, db as TurnRequest, dc as UpdateConversationRequest, de as UpdateWorkflowRequest, di as UploadDocumentsOptions, dk as UploadProgressListener, dm as UsageBreakdown, dn as UserConnectorEntry, dp as UserDailyUsageResponse, dq as UserInfo, dr as WebSocketAuthError, ds as WeeklyHoursSpec, dt as WorkStatus, du as WorkflowAuthMode, dv as WorkflowResponse, dw as WorkflowRunHistoryResponse, dx as WorkflowRunResponse, dy as WorkspaceConflict, dz as WorkspaceContext, dA as WorkspaceOpenResponse, dB as WorkspaceResponse, dC as WsConnection, dD as account, dE as agentconfig, dF as agents, dG as appendTranscriptionHints, dH as assistant, dI as authenticatedFetch, dJ as bookPublicSlot, dK as buildCitationChunkData, dL as buildDocNameMap, dM as buildDocumentTools, dN as buildFactsContextTool, dO as buildRetrievalChunkTool, dP as buildRetrievalFullContextTool, dQ as buildRetrievalTocTool, dR as buildTurnRequest, dS as calendar, dT as calls, dU as canTagHaveParent, dV as cancelPublicBooking, dW as capabilities, dX as chats, dY as composeConfiguration, dZ as composeTools, d_ as computeRunStats, d$ as connectErrorMessage, e0 as connectWebSocket, e1 as connectWithReconnect, e2 as connectors, e3 as contacts, e4 as continuityPrompt, e5 as conversations, e6 as countCitations, e7 as createAuthenticatedClient, e8 as createDocumentWaiter, e9 as createIndexAssigner, ea as databases, eb as defaultKindForFormat, ec as doctags, ed as documentTools, ee as documents, ef as estimateDraftTokens, eg as extractDocumentIdsFromMessages, eh as extractFactIdsFromMessages, ei as extractSubagentLanes, ej as facts, ek as files, el as filterDocumentTags, em as filterSkills, en as findLeafForTaskMessage, eo as findMainSiblingLeaf, ep as findReplyTarget, eq as findSubagentRunId, er as flattenTagTree, es as formatAgentStepLabel, et as formatFileSize, eu as formatGbp, ev as formatGbpPerMillionTokens, ew as formatItemLabel, ex as formatStreamSummary, ey as formatTokens, ez as formatUserName, eA as formatWorkspaceChoices, eB as formatWsMessage, eC as generateEncryptedWorkspaceKey, eD as generateNewWorkspaceKey, eE as getAgentStepLabel, eF as getAttachableRunId, eG as getChildTags, eH as getContextRemainingPercent, eI as getContextUsedPercent, eJ as getContextUsedTokens, eK as getCurrentStep, eL as getEligibleParentTags, eM as getErrorCode, eN as getErrorMessage, eO as getPublicBookingPage, eP as getRawWorkspaceKey, eQ as getRunToAttach, eR as getRunToCancel, eS as getStepDisplay, eT as getStepTool, eU as getSubagentBranchRecord, eV as getTagDescendantIds, eW as health, eX as houseTemplates, eY as hydrateAgentSteps, e_ as identityErrorCode, eZ as identityVerification, e$ as instructions, f0 as isAnnotationTag, f1 as isConnectorVendorVisible, f2 as isDriveSyncVendor, f3 as isEntityTag, f4 as isFlatKind, f5 as isLabelTag, f6 as isMailboxSyncVendor, f7 as isNearAiUsageBudget, f8 as isPresenceTag, f9 as isSharePointVendor, fa as isSharedSkill, fb as isTraceItem, fc as mail, fd as mcpTools, fe as mergeAgentSteps, ff as modelConnections, fg as notifications, fh as parseSSEEvents, fi as parseSlashCommand, fj as parseSlashTokenInProgress, fk as parseStructuredResponse, fl as performPasswordLogin, fm as performSigningKeyLogin, fn as performSsoDeviceFlowLogin, fo as pickMainThread, fp as profile, fq as progressFetch, fr as projects, fs as quotaExceededFrom, ft as quotaFromStreamError, fu as reduceOutputItem, fv as refusalReason, fw as requireData, fx as requireOk, fy as resolveAuth, fz as resolveCitations, fA as resolveSummary, fB as resolveWorkspace, fC as responses, fD as searchChunks, fE as secureMail, fF as selectFullContextDocument, fG as selectWorkspace, fH as selectWorkspaceById, fI as sessions, fJ as settings, fK as signatureRequests, fL as sliceToSubagentThread, fM as streamSSE, fN as stripCitationMarkdown, fO as subagentJobLabel, fP as summarizeCitations, fQ as tagUseCount, fR as tags, fS as tagsForScope, fT as tagsOfGroup, fU as topLevelAgentSteps, fV as uploadSkill, fW as usdToGbp, fX as work, fY as workflowSteps, fZ as workflows, f_ as workspaceConflictOf, f$ as workspaces, g0 as wouldCreateTagCycle } from './browser-Bf6pRBuP.js';
3
3
  import { SessionPersistence, ArbiClient, components } from '@arbidocs/client';
4
4
  export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
5
5
  export { b as AgentStepEvent, d as ArtifactEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, R as ResponseCompletedEvent, g as ResponseContentPartAddedEvent, h as ResponseCreatedEvent, i as ResponseFailedEvent, j as ResponseOutputItemAddedEvent, k as ResponseOutputItemDoneEvent, l as ResponseOutputTextDeltaEvent, m as ResponseOutputTextDoneEvent, n as ResponseUsage, S as SSEStreamStartData, T as TokenBudgetContext, U as UserInputRequestEvent, o as UserMessageEvent } from './sse-types-BbR7JG5o.js';
@@ -189,7 +189,7 @@ declare function uploadLocalFile(auth: AuthHeaders, filePath: string, options?:
189
189
  * the CLI this is unwrapped lazily from the stored signing key + workspace
190
190
  * ``wrapped_key``; see ``getRawWorkspaceKey`` in ``auth.ts``.
191
191
  */
192
- declare function uploadLocalFilesDirect(arbi: ArbiClient, workspaceKey: Uint8Array, filePaths: string[], options?: UploadDirectOptions): Promise<UploadDirectResult>;
192
+ declare function uploadLocalFilesDirect(arbi: ArbiClient, workspaceKey: Uint8Array, filePaths: string[], options: UploadDirectOptions): Promise<UploadDirectResult>;
193
193
  /**
194
194
  * Options for the direct-upload directory/zip/archive helpers. Mirrors the
195
195
  * legacy ``UploadDirectoryOptions`` so CLI consumers can switch between the
@@ -205,26 +205,28 @@ interface UploadDirectoryDirectOptions {
205
205
  };
206
206
  }) => void;
207
207
  configExtId?: string;
208
+ /** The workspace whose key the files are encrypted with, named on every request. */
209
+ workspaceExtId: string;
208
210
  }
209
211
  /**
210
212
  * Walk a directory, group supported files by their relative subfolder (with
211
213
  * the directory basename as the root), and upload each group via the
212
214
  * direct-to-MinIO flow.
213
215
  */
214
- declare function uploadLocalDirectoryDirect(arbi: ArbiClient, workspaceKey: Uint8Array, dirPath: string, options?: UploadDirectoryDirectOptions): Promise<UploadBatchResult>;
216
+ declare function uploadLocalDirectoryDirect(arbi: ArbiClient, workspaceKey: Uint8Array, dirPath: string, options: UploadDirectoryDirectOptions): Promise<UploadBatchResult>;
215
217
  /**
216
218
  * Extract a zip archive in memory, group supported entries by their internal
217
219
  * folder structure, and upload each group via the direct-to-MinIO flow. Uses
218
220
  * jszip via dynamic import so the dep is optional at load time. Mirrors the
219
221
  * single-root detection behavior of ``uploadZip``.
220
222
  */
221
- declare function uploadLocalZipDirect(arbi: ArbiClient, workspaceKey: Uint8Array, zipPath: string, options?: UploadDirectoryDirectOptions): Promise<UploadBatchResult>;
223
+ declare function uploadLocalZipDirect(arbi: ArbiClient, workspaceKey: Uint8Array, zipPath: string, options: UploadDirectoryDirectOptions): Promise<UploadBatchResult>;
222
224
  /**
223
225
  * Upload a 7z/rar archive via the direct-to-MinIO flow. Shells out to the
224
226
  * system ``7z`` binary to extract to a temporary directory, then delegates
225
227
  * to ``uploadLocalDirectoryDirect``. The temp directory is removed on exit.
226
228
  */
227
- declare function uploadLocalArchiveDirect(arbi: ArbiClient, workspaceKey: Uint8Array, archivePath: string, options?: UploadDirectoryDirectOptions): Promise<UploadBatchResult>;
229
+ declare function uploadLocalArchiveDirect(arbi: ArbiClient, workspaceKey: Uint8Array, archivePath: string, options: UploadDirectoryDirectOptions): Promise<UploadBatchResult>;
228
230
  /**
229
231
  * Upload all supported files from a directory, preserving folder structure.
230
232
  * Files are grouped by their relative folder path, then each group is split