@arbidocs/sdk 0.4.145 → 0.4.147
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-BUKI5Mtb.d.cts → browser-DK6CvDoH.d.cts} +441 -4
- package/dist/{browser-BUKI5Mtb.d.ts → browser-DK6CvDoH.d.ts} +441 -4
- package/dist/browser.cjs +346 -5
- 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 +335 -6
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +346 -5
- 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 +335 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, f as AgentStepEvent, g as AppPassword, h as AppPasswordCreateBody, i as AppPasswordCreated, j as Arbi, k as ArbiApiError, l as ArbiError, n as ArbiHostSession, o as ArbiOptions, p as ArbiSessionExpiredError, q as ArtifactEvent, r as AttendeeRead, s as AuthContext, u as AuthMode, v as AuthenticatedClient, B as BookingConfirmation, w as BookingPage, x as BookingPageWriteBody, y as BookingRequestBody, C as CalDavConnectBody,
|
|
1
|
+
import { a1 as ConfigStore, _ as CliConfig, $ as CliCredentials, X as ChatSession, bW as SkippedFile, cw as UploadResult, t as AuthHeaders, cr as UploadBatchResult, cv as UploadOptions, cs as UploadDirectOptions, ct as UploadDirectResult, bQ as SUPPORTED_EXTENSIONS, aZ as MailAttachment, Q as ChatCryptoContext } from './browser-DK6CvDoH.cjs';
|
|
2
|
+
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, f as AgentStepEvent, g as AppPassword, h as AppPasswordCreateBody, i as AppPasswordCreated, j as Arbi, k as ArbiApiError, l as ArbiError, n as ArbiHostSession, o as ArbiOptions, p as ArbiSessionExpiredError, q as ArtifactEvent, 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 ChatAttachmentFile, P as ChatAttachmentInput, R as ChatKeyRing, S as ChatKind, T as ChatMemberKey, U as ChatMemberResponse, V as ChatMessageResponse, W as ChatResponse, Y as CitationSummary, Z as CitationToolSources, a0 as CommandDescriptor, a2 as ConnectOptions, a3 as ConnectorCatalogEntry, a4 as ConnectorFolder, a5 as ConnectorSyncProgress, a6 as ConnectorSyncStatus, a7 as ConnectorVendorKey, a8 as ConnectorVisibilitySettings, a9 as ConversationResponse, aa as ConversationUsageResponse, ad as CreateWorkRequest, ae as CreateWorkflowRequest, af as DEFAULT_AI_USD_PER_GBP, ag as DOC_TERMINAL_STATUSES, ah as DRIVE_SYNC_VENDORS, ai as DateTimeSpec, aj as DecryptedChat, ak as DecryptedChatMessage, am as DeploymentHouseTemplate, 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 EditScope, ax as EventCreateBody, ay as EventPatchBody, az as FLAT_TAG_KINDS, aD as FeedCreateBody, aE as FeedLevel, aF as FindTimeParams, aG as FormattedWsMessage, aH as FreeBusyEntry, aI as GOOGLE_VENDORS, aJ as HolidayCountry, aK as HouseTemplateCandidate, aL as IMANAGE_VENDORS, aM as IdentityErrorCode, aN as IdentityPurchase, aO as IdentityState, aP as IdentityStatus, aQ as ImportResult, aR as InvitationRead, aS as LinkedRun, aT as ListAllOptions, aU as ListEventsParams, aW as ListPaginatedOptions, aX as MAILBOX_SYNC_VENDORS, aY as MICROSOFT_VENDORS, a_ as MailDraftSSEEvent, a$ as MessageLevel, b0 as MessageMetadataPayload, b1 as MessageQueuedEvent, b2 as OAuthAccountKind, b3 as OutputTokensDetails, b4 as OverlayItem, b5 as OverlayLayerName, b6 as ParsedSlashCommand, b7 as PendingAuthResponse, b8 as PersonKey, b9 as PlanStepsError, ba as PlanWorkRequest, bc as ProjectBudget, bd as ProjectConversationUsageResponse, be as ProjectDetails, bf as ProjectEventKind, bg as ProjectEventResponse, bh as ProjectInvoicesResponse, bi as ProjectResponse, bj as ProjectUpdateRequest, bk as ProjectUsageResponse, bl as PublicBookingError, bm as PublicBookingPage, bn as QueryOptions, bo as RaisedSignal, bp as ReconnectOptions, bq as ReconnectableWsConnection, br as ResolvedCitation, bs as ResolvedRecipient, bt as RespondParams, bu as RespondPartstat, bv as ResponseCompletedEvent, bw as ResponseContentPartAddedEvent, bx as ResponseCreatedEvent, by as ResponseFailedEvent, bz as ResponseOutputItemAddedEvent, bA as ResponseOutputItemDoneEvent, bB as ResponseOutputTextDeltaEvent, bC as ResponseOutputTextDoneEvent, bD as ResponseUsage, bE as RoomCreateBody, bF as RoomQuery, bG as RoomRead, bH as RunProgress, bI as RunStep, bJ as RunWaitingOn, bK as SHAREPOINT_VENDORS, bL as SSEEvent, bM as SSEStreamCallbacks, bN as SSEStreamResult, bO as SSEStreamStartData, bP as STEP_FIELD_OPTION_TONES, bR as ScopedTarget, bS as SendBack, bT as ShareRead, bU as ShareRole, bV as SkillSummary, bX as SlackConnectionStatus, bY as StepActionRequest, bZ as StepActivityEvent, b_ as StepAssignee, b$ as StepField, c0 as StepFieldOption, c1 as StepFieldOptionTone, c2 as StepKind, c3 as StepPhase, c4 as StepSignal, c5 as StepSignalWhen, c6 as StepState, c7 as StepStatus, c8 as SubmitBackgroundQueryOptions, c9 as SubscribeParams, ca as SyncTriggerResult, cb as TAG_KINDS, cc as TagChange, cd as TagFieldDefinition, ce as TagKind, cf as TagKindField, cg as TagKindSchema, ch as TagLinks, ci as TagListQuery, cj as TagResponse, ck as TaskPlan, cl as TaskPlanStep, cm as TimeSuggestion, cn as TokenBudgetContext, co as UpdateConversationRequest, cq as UpdateWorkflowRequest, cu as UploadDocumentsOptions, cx as UsageBreakdown, cy as UserConnectorEntry, cz as UserDailyUsageResponse, cA as UserInfo, cB as UserInputRequestEvent, cC as UserMessageEvent, cD as WebSocketAuthError, cE as WeeklyHoursSpec, cF as WorkStatus, cG as WorkflowAuthMode, cH as WorkflowResponse, cI as WorkflowRunHistoryResponse, cJ as WorkflowRunResponse, cK as WorkspaceContext, cL as WsConnection, cM as account, cN as agentconfig, cO as agents, cP as assistant, cQ as authenticatedFetch, cR as bookPublicSlot, cS as buildCitationChunkData, cT as buildDocNameMap, cU as buildFactsContextTool, cV as buildRetrievalChunkTool, cW as buildRetrievalFullContextTool, cX as buildRetrievalTocTool, cY as calendar, cZ as cancelPublicBooking, c_ as chats, c$ as connectErrorMessage, d0 as connectWebSocket, d1 as connectWithReconnect, d2 as connectors, d3 as consumeSSEStream, d4 as contacts, d5 as conversations, d6 as countCitations, d7 as createAuthenticatedClient, d8 as createDocumentWaiter, d9 as doctags, da as documents, db as facts, dc as files, dd as filterSkills, de as formatAgentStepLabel, df as formatFileSize, dg as formatGbp, dh as formatGbpPerMillionTokens, di as formatItemLabel, dj as formatStreamSummary, dk as formatUserName, dl as formatWorkspaceChoices, dm as formatWsMessage, dn as generateEncryptedWorkspaceKey, dp as generateNewWorkspaceKey, dq as getErrorCode, dr as getErrorMessage, ds as getPublicBookingPage, dt as getRawWorkspaceKey, du as health, dv as houseTemplates, dx as identityErrorCode, dw as identityVerification, dy as isConnectorVendorVisible, dz as isDriveSyncVendor, dA as isMailboxSyncVendor, dB as isSharePointVendor, dC as isSharedSkill, dD as mail, dE as notifications, dF as parseSSEEvents, dG as parseSlashCommand, dH as parseSlashTokenInProgress, dI as performPasswordLogin, dJ as performSigningKeyLogin, dK as performSsoDeviceFlowLogin, dL as profile, dM as projects, dN as requireData, dO as requireOk, dP as resolveAuth, dQ as resolveCitations, dR as resolveWorkspace, dS as responses, dT as selectWorkspace, dU as selectWorkspaceById, dV as sessions, dW as settings, dX as signatureRequests, dY as splitAppPasswords, dZ as streamSSE, d_ as stripCitationMarkdown, d$ as summarizeCitations, e0 as tags, e1 as uploadSkill, e2 as usdToGbp, e3 as work, e4 as workflowSteps, e5 as workflows, e6 as workspaces } from './browser-DK6CvDoH.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 {
|
|
2
|
-
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, f as AgentStepEvent, g as AppPassword, h as AppPasswordCreateBody, i as AppPasswordCreated, j as Arbi, k as ArbiApiError, l as ArbiError, n as ArbiHostSession, o as ArbiOptions, p as ArbiSessionExpiredError, q as ArtifactEvent, r as AttendeeRead, s as AuthContext, u as AuthMode, v as AuthenticatedClient, B as BookingConfirmation, w as BookingPage, x as BookingPageWriteBody, y as BookingRequestBody, C as CalDavConnectBody,
|
|
1
|
+
import { a1 as ConfigStore, _ as CliConfig, $ as CliCredentials, X as ChatSession, bW as SkippedFile, cw as UploadResult, t as AuthHeaders, cr as UploadBatchResult, cv as UploadOptions, cs as UploadDirectOptions, ct as UploadDirectResult, bQ as SUPPORTED_EXTENSIONS, aZ as MailAttachment, Q as ChatCryptoContext } from './browser-DK6CvDoH.js';
|
|
2
|
+
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, f as AgentStepEvent, g as AppPassword, h as AppPasswordCreateBody, i as AppPasswordCreated, j as Arbi, k as ArbiApiError, l as ArbiError, n as ArbiHostSession, o as ArbiOptions, p as ArbiSessionExpiredError, q as ArtifactEvent, 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 ChatAttachmentFile, P as ChatAttachmentInput, R as ChatKeyRing, S as ChatKind, T as ChatMemberKey, U as ChatMemberResponse, V as ChatMessageResponse, W as ChatResponse, Y as CitationSummary, Z as CitationToolSources, a0 as CommandDescriptor, a2 as ConnectOptions, a3 as ConnectorCatalogEntry, a4 as ConnectorFolder, a5 as ConnectorSyncProgress, a6 as ConnectorSyncStatus, a7 as ConnectorVendorKey, a8 as ConnectorVisibilitySettings, a9 as ConversationResponse, aa as ConversationUsageResponse, ad as CreateWorkRequest, ae as CreateWorkflowRequest, af as DEFAULT_AI_USD_PER_GBP, ag as DOC_TERMINAL_STATUSES, ah as DRIVE_SYNC_VENDORS, ai as DateTimeSpec, aj as DecryptedChat, ak as DecryptedChatMessage, am as DeploymentHouseTemplate, 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 EditScope, ax as EventCreateBody, ay as EventPatchBody, az as FLAT_TAG_KINDS, aD as FeedCreateBody, aE as FeedLevel, aF as FindTimeParams, aG as FormattedWsMessage, aH as FreeBusyEntry, aI as GOOGLE_VENDORS, aJ as HolidayCountry, aK as HouseTemplateCandidate, aL as IMANAGE_VENDORS, aM as IdentityErrorCode, aN as IdentityPurchase, aO as IdentityState, aP as IdentityStatus, aQ as ImportResult, aR as InvitationRead, aS as LinkedRun, aT as ListAllOptions, aU as ListEventsParams, aW as ListPaginatedOptions, aX as MAILBOX_SYNC_VENDORS, aY as MICROSOFT_VENDORS, a_ as MailDraftSSEEvent, a$ as MessageLevel, b0 as MessageMetadataPayload, b1 as MessageQueuedEvent, b2 as OAuthAccountKind, b3 as OutputTokensDetails, b4 as OverlayItem, b5 as OverlayLayerName, b6 as ParsedSlashCommand, b7 as PendingAuthResponse, b8 as PersonKey, b9 as PlanStepsError, ba as PlanWorkRequest, bc as ProjectBudget, bd as ProjectConversationUsageResponse, be as ProjectDetails, bf as ProjectEventKind, bg as ProjectEventResponse, bh as ProjectInvoicesResponse, bi as ProjectResponse, bj as ProjectUpdateRequest, bk as ProjectUsageResponse, bl as PublicBookingError, bm as PublicBookingPage, bn as QueryOptions, bo as RaisedSignal, bp as ReconnectOptions, bq as ReconnectableWsConnection, br as ResolvedCitation, bs as ResolvedRecipient, bt as RespondParams, bu as RespondPartstat, bv as ResponseCompletedEvent, bw as ResponseContentPartAddedEvent, bx as ResponseCreatedEvent, by as ResponseFailedEvent, bz as ResponseOutputItemAddedEvent, bA as ResponseOutputItemDoneEvent, bB as ResponseOutputTextDeltaEvent, bC as ResponseOutputTextDoneEvent, bD as ResponseUsage, bE as RoomCreateBody, bF as RoomQuery, bG as RoomRead, bH as RunProgress, bI as RunStep, bJ as RunWaitingOn, bK as SHAREPOINT_VENDORS, bL as SSEEvent, bM as SSEStreamCallbacks, bN as SSEStreamResult, bO as SSEStreamStartData, bP as STEP_FIELD_OPTION_TONES, bR as ScopedTarget, bS as SendBack, bT as ShareRead, bU as ShareRole, bV as SkillSummary, bX as SlackConnectionStatus, bY as StepActionRequest, bZ as StepActivityEvent, b_ as StepAssignee, b$ as StepField, c0 as StepFieldOption, c1 as StepFieldOptionTone, c2 as StepKind, c3 as StepPhase, c4 as StepSignal, c5 as StepSignalWhen, c6 as StepState, c7 as StepStatus, c8 as SubmitBackgroundQueryOptions, c9 as SubscribeParams, ca as SyncTriggerResult, cb as TAG_KINDS, cc as TagChange, cd as TagFieldDefinition, ce as TagKind, cf as TagKindField, cg as TagKindSchema, ch as TagLinks, ci as TagListQuery, cj as TagResponse, ck as TaskPlan, cl as TaskPlanStep, cm as TimeSuggestion, cn as TokenBudgetContext, co as UpdateConversationRequest, cq as UpdateWorkflowRequest, cu as UploadDocumentsOptions, cx as UsageBreakdown, cy as UserConnectorEntry, cz as UserDailyUsageResponse, cA as UserInfo, cB as UserInputRequestEvent, cC as UserMessageEvent, cD as WebSocketAuthError, cE as WeeklyHoursSpec, cF as WorkStatus, cG as WorkflowAuthMode, cH as WorkflowResponse, cI as WorkflowRunHistoryResponse, cJ as WorkflowRunResponse, cK as WorkspaceContext, cL as WsConnection, cM as account, cN as agentconfig, cO as agents, cP as assistant, cQ as authenticatedFetch, cR as bookPublicSlot, cS as buildCitationChunkData, cT as buildDocNameMap, cU as buildFactsContextTool, cV as buildRetrievalChunkTool, cW as buildRetrievalFullContextTool, cX as buildRetrievalTocTool, cY as calendar, cZ as cancelPublicBooking, c_ as chats, c$ as connectErrorMessage, d0 as connectWebSocket, d1 as connectWithReconnect, d2 as connectors, d3 as consumeSSEStream, d4 as contacts, d5 as conversations, d6 as countCitations, d7 as createAuthenticatedClient, d8 as createDocumentWaiter, d9 as doctags, da as documents, db as facts, dc as files, dd as filterSkills, de as formatAgentStepLabel, df as formatFileSize, dg as formatGbp, dh as formatGbpPerMillionTokens, di as formatItemLabel, dj as formatStreamSummary, dk as formatUserName, dl as formatWorkspaceChoices, dm as formatWsMessage, dn as generateEncryptedWorkspaceKey, dp as generateNewWorkspaceKey, dq as getErrorCode, dr as getErrorMessage, ds as getPublicBookingPage, dt as getRawWorkspaceKey, du as health, dv as houseTemplates, dx as identityErrorCode, dw as identityVerification, dy as isConnectorVendorVisible, dz as isDriveSyncVendor, dA as isMailboxSyncVendor, dB as isSharePointVendor, dC as isSharedSkill, dD as mail, dE as notifications, dF as parseSSEEvents, dG as parseSlashCommand, dH as parseSlashTokenInProgress, dI as performPasswordLogin, dJ as performSigningKeyLogin, dK as performSsoDeviceFlowLogin, dL as profile, dM as projects, dN as requireData, dO as requireOk, dP as resolveAuth, dQ as resolveCitations, dR as resolveWorkspace, dS as responses, dT as selectWorkspace, dU as selectWorkspaceById, dV as sessions, dW as settings, dX as signatureRequests, dY as splitAppPasswords, dZ as streamSSE, d_ as stripCitationMarkdown, d$ as summarizeCitations, e0 as tags, e1 as uploadSkill, e2 as usdToGbp, e3 as work, e4 as workflowSteps, e5 as workflows, e6 as workspaces } from './browser-DK6CvDoH.js';
|
|
3
3
|
import { SessionStorageProvider, ArbiClient, components } from '@arbidocs/client';
|
|
4
4
|
export { LoginProfile } from '@arbidocs/client';
|
|
5
5
|
|
package/dist/index.js
CHANGED
|
@@ -3532,7 +3532,7 @@ function requireData(result, message) {
|
|
|
3532
3532
|
}
|
|
3533
3533
|
function requireOk(result, message) {
|
|
3534
3534
|
if (result.error) {
|
|
3535
|
-
throw new ArbiApiError(message, result.error);
|
|
3535
|
+
throw new ArbiApiError(message, result.error, result.response?.status);
|
|
3536
3536
|
}
|
|
3537
3537
|
}
|
|
3538
3538
|
function getErrorMessage(err) {
|
|
@@ -5538,6 +5538,7 @@ __export(workspaces_exports, {
|
|
|
5538
5538
|
grantTemporaryWorkspaceAccess: () => grantTemporaryWorkspaceAccess,
|
|
5539
5539
|
listWorkspaceUsers: () => listWorkspaceUsers,
|
|
5540
5540
|
listWorkspaces: () => listWorkspaces,
|
|
5541
|
+
primeWorkspaceKey: () => primeWorkspaceKey,
|
|
5541
5542
|
removeWorkspaceUsers: () => removeWorkspaceUsers,
|
|
5542
5543
|
setUserRole: () => setUserRole,
|
|
5543
5544
|
updateWorkspace: () => updateWorkspace
|
|
@@ -5576,15 +5577,17 @@ async function updateWorkspace(arbi, body) {
|
|
|
5576
5577
|
async function listWorkspaceUsers(arbi) {
|
|
5577
5578
|
return requireData(await arbi.fetch.GET("/v1/workspace/users"), "Failed to fetch workspace users");
|
|
5578
5579
|
}
|
|
5579
|
-
async function addWorkspaceUsers(arbi, emails, role = "collaborator", target) {
|
|
5580
|
+
async function addWorkspaceUsers(arbi, emails, role = "collaborator", target, confirmInvite = false) {
|
|
5581
|
+
const invite = confirmInvite ? { confirm_invite: true } : {};
|
|
5580
5582
|
return requireData(
|
|
5581
5583
|
await arbi.fetch.POST("/v1/workspace/users", {
|
|
5582
5584
|
body: target ? {
|
|
5583
5585
|
emails,
|
|
5584
5586
|
role,
|
|
5585
5587
|
workspace_ext_id: target.workspaceExtId,
|
|
5586
|
-
workspace_key: target.workspaceKey
|
|
5587
|
-
|
|
5588
|
+
workspace_key: target.workspaceKey,
|
|
5589
|
+
...invite
|
|
5590
|
+
} : { emails, role, ...invite }
|
|
5588
5591
|
}),
|
|
5589
5592
|
"Failed to add users"
|
|
5590
5593
|
);
|
|
@@ -5642,6 +5645,15 @@ async function getWorkspaceActivity(arbi, workspaceExtId, options = {}) {
|
|
|
5642
5645
|
"Failed to fetch workspace activity"
|
|
5643
5646
|
);
|
|
5644
5647
|
}
|
|
5648
|
+
async function primeWorkspaceKey(arbi, workspaceExtId, sessionSealedKey) {
|
|
5649
|
+
requireOk(
|
|
5650
|
+
await arbi.fetch.POST("/v1/workspace/{workspace_ext_id}/prime-key", {
|
|
5651
|
+
params: { path: { workspace_ext_id: workspaceExtId } },
|
|
5652
|
+
body: { workspace_key: sessionSealedKey }
|
|
5653
|
+
}),
|
|
5654
|
+
"Failed to prime the workspace key"
|
|
5655
|
+
);
|
|
5656
|
+
}
|
|
5645
5657
|
|
|
5646
5658
|
// src/operations/conversations.ts
|
|
5647
5659
|
var conversations_exports = {};
|
|
@@ -6941,6 +6953,271 @@ async function setWorkspaceNotificationLevel(arbi, workspaceId, level) {
|
|
|
6941
6953
|
return patch;
|
|
6942
6954
|
}
|
|
6943
6955
|
|
|
6956
|
+
// src/operations/connectors.ts
|
|
6957
|
+
var connectors_exports = {};
|
|
6958
|
+
__export(connectors_exports, {
|
|
6959
|
+
DRIVE_SYNC_VENDORS: () => DRIVE_SYNC_VENDORS,
|
|
6960
|
+
GOOGLE_VENDORS: () => GOOGLE_VENDORS,
|
|
6961
|
+
IMANAGE_VENDORS: () => IMANAGE_VENDORS,
|
|
6962
|
+
MAILBOX_SYNC_VENDORS: () => MAILBOX_SYNC_VENDORS,
|
|
6963
|
+
MICROSOFT_VENDORS: () => MICROSOFT_VENDORS,
|
|
6964
|
+
SHAREPOINT_VENDORS: () => SHAREPOINT_VENDORS,
|
|
6965
|
+
authorize: () => authorize,
|
|
6966
|
+
authorizeSlack: () => authorizeSlack,
|
|
6967
|
+
bridgeConnectorTokens: () => bridgeConnectorTokens,
|
|
6968
|
+
cancelDriveSync: () => cancelDriveSync,
|
|
6969
|
+
cancelMailboxSync: () => cancelMailboxSync,
|
|
6970
|
+
connectErrorMessage: () => connectErrorMessage,
|
|
6971
|
+
depositSessionTokens: () => depositSessionTokens,
|
|
6972
|
+
disconnect: () => disconnect,
|
|
6973
|
+
disconnectSlack: () => disconnectSlack,
|
|
6974
|
+
driveFolderDocCount: () => driveFolderDocCount,
|
|
6975
|
+
driveSyncEstimate: () => driveSyncEstimate,
|
|
6976
|
+
driveSyncProgress: () => driveSyncProgress,
|
|
6977
|
+
enableDriveSync: () => enableDriveSync,
|
|
6978
|
+
enableMailboxSync: () => enableMailboxSync,
|
|
6979
|
+
getSealedTokens: () => getSealedTokens,
|
|
6980
|
+
isConnectorVendorVisible: () => isConnectorVendorVisible,
|
|
6981
|
+
isDriveSyncVendor: () => isDriveSyncVendor,
|
|
6982
|
+
isMailboxSyncVendor: () => isMailboxSyncVendor,
|
|
6983
|
+
isSharePointVendor: () => isSharePointVendor,
|
|
6984
|
+
listCatalog: () => listCatalog,
|
|
6985
|
+
listDriveFolderChildren: () => listDriveFolderChildren,
|
|
6986
|
+
listDriveFolders: () => listDriveFolders,
|
|
6987
|
+
listMailboxFolders: () => listMailboxFolders,
|
|
6988
|
+
listMine: () => listMine,
|
|
6989
|
+
mailboxSyncProgress: () => mailboxSyncProgress,
|
|
6990
|
+
slackStatus: () => slackStatus,
|
|
6991
|
+
triggerDriveSync: () => triggerDriveSync,
|
|
6992
|
+
triggerMailboxSync: () => triggerMailboxSync
|
|
6993
|
+
});
|
|
6994
|
+
var vendorPath = (vendor) => ({ path: { vendor } });
|
|
6995
|
+
var vendorKeyPath = (vendor) => ({
|
|
6996
|
+
path: { vendor_key: vendor }
|
|
6997
|
+
});
|
|
6998
|
+
async function listCatalog(arbi) {
|
|
6999
|
+
return requireData(await arbi.fetch.GET("/v1/connectors"), "Failed to load connectors");
|
|
7000
|
+
}
|
|
7001
|
+
async function listMine(arbi) {
|
|
7002
|
+
return requireData(await arbi.fetch.GET("/v1/connectors/me"), "Failed to load your connections");
|
|
7003
|
+
}
|
|
7004
|
+
async function disconnect(arbi, vendor) {
|
|
7005
|
+
requireOk(
|
|
7006
|
+
await arbi.fetch.DELETE("/v1/connectors/{vendor_key}", { params: vendorKeyPath(vendor) }),
|
|
7007
|
+
"Failed to disconnect"
|
|
7008
|
+
);
|
|
7009
|
+
}
|
|
7010
|
+
async function authorize(arbi, vendor, returnTo) {
|
|
7011
|
+
const data = requireData(
|
|
7012
|
+
await arbi.fetch.GET("/v1/connectors/{vendor_key}/authorize", {
|
|
7013
|
+
params: { ...vendorKeyPath(vendor), query: returnTo ? { return_to: returnTo } : {} }
|
|
7014
|
+
}),
|
|
7015
|
+
"Could not start the connection"
|
|
7016
|
+
);
|
|
7017
|
+
return data.url;
|
|
7018
|
+
}
|
|
7019
|
+
async function getSealedTokens(arbi) {
|
|
7020
|
+
return requireData(
|
|
7021
|
+
await arbi.fetch.GET("/v1/connectors/sealed-tokens"),
|
|
7022
|
+
"Failed to load connector tokens"
|
|
7023
|
+
);
|
|
7024
|
+
}
|
|
7025
|
+
async function depositSessionTokens(arbi, body) {
|
|
7026
|
+
requireOk(
|
|
7027
|
+
await arbi.fetch.POST("/v1/connectors/session-tokens", { body }),
|
|
7028
|
+
"Failed to bridge connector tokens"
|
|
7029
|
+
);
|
|
7030
|
+
}
|
|
7031
|
+
async function listMailboxFolders(arbi, vendor) {
|
|
7032
|
+
return requireData(
|
|
7033
|
+
await arbi.fetch.GET("/v1/connectors/{vendor}/folders", { params: vendorPath(vendor) }),
|
|
7034
|
+
"Failed to load folders"
|
|
7035
|
+
);
|
|
7036
|
+
}
|
|
7037
|
+
async function enableMailboxSync(arbi, vendor, body) {
|
|
7038
|
+
return requireData(
|
|
7039
|
+
await arbi.fetch.POST("/v1/connectors/{vendor}/enable-sync", {
|
|
7040
|
+
params: vendorPath(vendor),
|
|
7041
|
+
body
|
|
7042
|
+
}),
|
|
7043
|
+
"Failed to enable sync"
|
|
7044
|
+
);
|
|
7045
|
+
}
|
|
7046
|
+
async function triggerMailboxSync(arbi, vendor, workspaceExtId) {
|
|
7047
|
+
return requireData(
|
|
7048
|
+
await arbi.fetch.POST("/v1/connectors/{vendor}/sync", {
|
|
7049
|
+
params: {
|
|
7050
|
+
...vendorPath(vendor),
|
|
7051
|
+
query: workspaceExtId ? { workspace_ext_id: workspaceExtId } : {}
|
|
7052
|
+
}
|
|
7053
|
+
}),
|
|
7054
|
+
"Failed to start the sync"
|
|
7055
|
+
);
|
|
7056
|
+
}
|
|
7057
|
+
async function mailboxSyncProgress(arbi, vendor, workspaceExtId) {
|
|
7058
|
+
return requireData(
|
|
7059
|
+
await arbi.fetch.GET("/v1/connectors/{vendor}/sync-progress", {
|
|
7060
|
+
params: { ...vendorPath(vendor), query: { workspace_ext_id: workspaceExtId } }
|
|
7061
|
+
}),
|
|
7062
|
+
"Failed to read the sync progress"
|
|
7063
|
+
);
|
|
7064
|
+
}
|
|
7065
|
+
async function cancelMailboxSync(arbi, vendor, workspaceExtId) {
|
|
7066
|
+
requireOk(
|
|
7067
|
+
await arbi.fetch.POST("/v1/connectors/{vendor}/sync/cancel", {
|
|
7068
|
+
params: { ...vendorPath(vendor), query: { workspace_ext_id: workspaceExtId } }
|
|
7069
|
+
}),
|
|
7070
|
+
"Failed to cancel the sync"
|
|
7071
|
+
);
|
|
7072
|
+
}
|
|
7073
|
+
async function listDriveFolders(arbi, vendor) {
|
|
7074
|
+
return requireData(
|
|
7075
|
+
await arbi.fetch.GET("/v1/connectors/{vendor}/drive-folders", { params: vendorPath(vendor) }),
|
|
7076
|
+
"Failed to load folders"
|
|
7077
|
+
);
|
|
7078
|
+
}
|
|
7079
|
+
async function listDriveFolderChildren(arbi, vendor, itemId) {
|
|
7080
|
+
return requireData(
|
|
7081
|
+
await arbi.fetch.GET("/v1/connectors/{vendor}/drive-folder-children", {
|
|
7082
|
+
params: { ...vendorPath(vendor), query: { item_id: itemId } }
|
|
7083
|
+
}),
|
|
7084
|
+
"Failed to load folders"
|
|
7085
|
+
);
|
|
7086
|
+
}
|
|
7087
|
+
async function driveFolderDocCount(arbi, vendor, itemId) {
|
|
7088
|
+
const data = requireData(
|
|
7089
|
+
await arbi.fetch.GET("/v1/connectors/{vendor}/drive-folder-doc-count", {
|
|
7090
|
+
params: { ...vendorPath(vendor), query: { item_id: itemId } }
|
|
7091
|
+
}),
|
|
7092
|
+
"Failed to count documents"
|
|
7093
|
+
);
|
|
7094
|
+
return data.count;
|
|
7095
|
+
}
|
|
7096
|
+
async function enableDriveSync(arbi, vendor, body) {
|
|
7097
|
+
requireOk(
|
|
7098
|
+
await arbi.fetch.POST("/v1/connectors/{vendor}/enable-drive-sync", {
|
|
7099
|
+
params: vendorPath(vendor),
|
|
7100
|
+
body
|
|
7101
|
+
}),
|
|
7102
|
+
"Failed to enable sync"
|
|
7103
|
+
);
|
|
7104
|
+
}
|
|
7105
|
+
async function triggerDriveSync(arbi, vendor) {
|
|
7106
|
+
return requireData(
|
|
7107
|
+
await arbi.fetch.POST("/v1/connectors/{vendor}/drive-sync", { params: vendorPath(vendor) }),
|
|
7108
|
+
"Failed to start the sync"
|
|
7109
|
+
);
|
|
7110
|
+
}
|
|
7111
|
+
async function driveSyncEstimate(arbi, vendor) {
|
|
7112
|
+
return requireData(
|
|
7113
|
+
await arbi.fetch.GET("/v1/connectors/{vendor}/drive-sync-estimate", {
|
|
7114
|
+
params: vendorPath(vendor)
|
|
7115
|
+
}),
|
|
7116
|
+
"Failed to estimate the sync"
|
|
7117
|
+
);
|
|
7118
|
+
}
|
|
7119
|
+
async function driveSyncProgress(arbi, vendor) {
|
|
7120
|
+
return requireData(
|
|
7121
|
+
await arbi.fetch.GET("/v1/connectors/{vendor}/drive-sync-progress", {
|
|
7122
|
+
params: vendorPath(vendor)
|
|
7123
|
+
}),
|
|
7124
|
+
"Failed to read the sync progress"
|
|
7125
|
+
);
|
|
7126
|
+
}
|
|
7127
|
+
async function cancelDriveSync(arbi, vendor) {
|
|
7128
|
+
requireOk(
|
|
7129
|
+
await arbi.fetch.POST("/v1/connectors/{vendor}/drive-sync/cancel", {
|
|
7130
|
+
params: vendorPath(vendor)
|
|
7131
|
+
}),
|
|
7132
|
+
"Failed to cancel the sync"
|
|
7133
|
+
);
|
|
7134
|
+
}
|
|
7135
|
+
async function slackStatus(arbi) {
|
|
7136
|
+
return requireData(
|
|
7137
|
+
await arbi.fetch.GET("/v1/slack/me"),
|
|
7138
|
+
"Failed to load the Slack connection"
|
|
7139
|
+
);
|
|
7140
|
+
}
|
|
7141
|
+
async function authorizeSlack(arbi, agentExtId) {
|
|
7142
|
+
const data = requireData(
|
|
7143
|
+
await arbi.fetch.GET("/v1/slack/authorize", {
|
|
7144
|
+
params: { query: { agent_ext_id: agentExtId } }
|
|
7145
|
+
}),
|
|
7146
|
+
"Could not start Slack authorization"
|
|
7147
|
+
);
|
|
7148
|
+
return data.url;
|
|
7149
|
+
}
|
|
7150
|
+
async function disconnectSlack(arbi) {
|
|
7151
|
+
requireOk(await arbi.fetch.DELETE("/v1/slack/me"), "Failed to disconnect Slack");
|
|
7152
|
+
}
|
|
7153
|
+
var MAILBOX_SYNC_VENDORS = ["microsoft", "gmail"];
|
|
7154
|
+
var DRIVE_SYNC_VENDORS = [
|
|
7155
|
+
"microsoft",
|
|
7156
|
+
"gmail",
|
|
7157
|
+
"microsoft_sharepoint",
|
|
7158
|
+
"clio",
|
|
7159
|
+
"box",
|
|
7160
|
+
"dropbox",
|
|
7161
|
+
"onenote"
|
|
7162
|
+
];
|
|
7163
|
+
var MICROSOFT_VENDORS = ["microsoft", "ms365_mail"];
|
|
7164
|
+
var GOOGLE_VENDORS = ["gmail", "gdrive"];
|
|
7165
|
+
var IMANAGE_VENDORS = ["imanage"];
|
|
7166
|
+
var SHAREPOINT_VENDORS = ["microsoft_sharepoint"];
|
|
7167
|
+
var includes = (list, vendor) => list.includes(vendor);
|
|
7168
|
+
var isMailboxSyncVendor = (vendor) => includes(MAILBOX_SYNC_VENDORS, vendor);
|
|
7169
|
+
var isDriveSyncVendor = (vendor) => includes(DRIVE_SYNC_VENDORS, vendor);
|
|
7170
|
+
var isSharePointVendor = (vendor) => includes(SHAREPOINT_VENDORS, vendor);
|
|
7171
|
+
function isConnectorVendorVisible(settings, vendor) {
|
|
7172
|
+
if (includes(MICROSOFT_VENDORS, vendor)) return settings?.show_connector_microsoft ?? true;
|
|
7173
|
+
if (includes(GOOGLE_VENDORS, vendor)) return settings?.show_connector_google ?? true;
|
|
7174
|
+
if (includes(IMANAGE_VENDORS, vendor)) return settings?.show_connector_imanage ?? false;
|
|
7175
|
+
if (includes(SHAREPOINT_VENDORS, vendor)) return settings?.show_connector_sharepoint ?? false;
|
|
7176
|
+
return true;
|
|
7177
|
+
}
|
|
7178
|
+
var CONNECT_ERROR_PRODUCTS = {
|
|
7179
|
+
microsoft: "Microsoft",
|
|
7180
|
+
microsoft_sharepoint: "SharePoint",
|
|
7181
|
+
gmail: "Google",
|
|
7182
|
+
gdrive: "Google Drive",
|
|
7183
|
+
imanage: "iManage",
|
|
7184
|
+
slack: "Slack"
|
|
7185
|
+
};
|
|
7186
|
+
function connectErrorMessage(vendor) {
|
|
7187
|
+
const product = vendor && CONNECT_ERROR_PRODUCTS[vendor] || "the account";
|
|
7188
|
+
return `Couldn't connect ${product}. The connection was cancelled or not approved.`;
|
|
7189
|
+
}
|
|
7190
|
+
async function bridgeConnectorTokens(arbi, keys, { vendor, autoSyncWorkspaceExtId } = {}) {
|
|
7191
|
+
await initSodium();
|
|
7192
|
+
const keypair = encryptionKeypairFromSigningKey(keys.signingPrivateKey);
|
|
7193
|
+
try {
|
|
7194
|
+
let sealed = await getSealedTokens(arbi);
|
|
7195
|
+
if (vendor) sealed = sealed.filter((token) => token.vendor_key === vendor);
|
|
7196
|
+
for (const token of sealed) {
|
|
7197
|
+
try {
|
|
7198
|
+
const reseal = async (wrapped) => {
|
|
7199
|
+
const plain = sealedBoxDecrypt(wrapped, keypair.secretKey);
|
|
7200
|
+
try {
|
|
7201
|
+
return await sealKeyForSession(plain, keys.serverSessionKey);
|
|
7202
|
+
} finally {
|
|
7203
|
+
plain.fill(0);
|
|
7204
|
+
}
|
|
7205
|
+
};
|
|
7206
|
+
await depositSessionTokens(arbi, {
|
|
7207
|
+
vendor_key: token.vendor_key,
|
|
7208
|
+
access: await reseal(token.access_token),
|
|
7209
|
+
refresh: token.refresh_token ? await reseal(token.refresh_token) : null,
|
|
7210
|
+
...autoSyncWorkspaceExtId ? { auto_sync_workspace_ext_id: autoSyncWorkspaceExtId } : {}
|
|
7211
|
+
});
|
|
7212
|
+
} catch (err) {
|
|
7213
|
+
console.error("[connectors] Could not bridge the token of", token.vendor_key, err);
|
|
7214
|
+
}
|
|
7215
|
+
}
|
|
7216
|
+
} finally {
|
|
7217
|
+
keypair.secretKey.fill(0);
|
|
7218
|
+
}
|
|
7219
|
+
}
|
|
7220
|
+
|
|
6944
7221
|
// src/operations/agentconfig.ts
|
|
6945
7222
|
var agentconfig_exports = {};
|
|
6946
7223
|
__export(agentconfig_exports, {
|
|
@@ -9436,6 +9713,8 @@ var Arbi = class {
|
|
|
9436
9713
|
}
|
|
9437
9714
|
// ── Workspaces ────────────────────────────────────────────────────────
|
|
9438
9715
|
workspaces = {
|
|
9716
|
+
/** Hand this server session a workspace's key (sealed to the session) without opening it. */
|
|
9717
|
+
primeKey: (workspaceExtId, sessionSealedKey) => primeWorkspaceKey(this.requireClient(), workspaceExtId, sessionSealedKey),
|
|
9439
9718
|
list: async () => this.rememberWorkspaces(await listWorkspaces(this.requireClient())),
|
|
9440
9719
|
create: async (name, projectExtId, description, isPublic) => {
|
|
9441
9720
|
const client = this.requireClient();
|
|
@@ -9464,7 +9743,14 @@ var Arbi = class {
|
|
|
9464
9743
|
listUsers: () => listWorkspaceUsers(this.requireClient()),
|
|
9465
9744
|
/** One page of a workspace's activity feed, newest first (see `getWorkspaceActivity`). */
|
|
9466
9745
|
activity: (workspaceId, options) => getWorkspaceActivity(this.requireClient(), workspaceId, options),
|
|
9467
|
-
|
|
9746
|
+
/** Add users to the open workspace; `confirmInvite` also invites emails not on ARBI yet. */
|
|
9747
|
+
addUsers: (emails, role, options) => addWorkspaceUsers(
|
|
9748
|
+
this.requireClient(),
|
|
9749
|
+
emails,
|
|
9750
|
+
role,
|
|
9751
|
+
void 0,
|
|
9752
|
+
options?.confirmInvite
|
|
9753
|
+
),
|
|
9468
9754
|
/**
|
|
9469
9755
|
* Grant users a temporary key scoped to ONE session (identified by its public key), for
|
|
9470
9756
|
* example an agent's run session minted by `agents.authorize()`. Nothing standing is created:
|
|
@@ -10019,6 +10305,49 @@ var Arbi = class {
|
|
|
10019
10305
|
/** List the current user's durable activity feed. */
|
|
10020
10306
|
listActivity: (options) => listActivity(this.requireClient(), options)
|
|
10021
10307
|
};
|
|
10308
|
+
// ── Connectors ────────────────────────────────────────────────────────
|
|
10309
|
+
/**
|
|
10310
|
+
* Connectors: the catalog, the user's connections and their OAuth, mailbox and drive sync,
|
|
10311
|
+
* Slack. A vendor is its `vendor_key` (e.g. `microsoft`, `gmail`).
|
|
10312
|
+
*/
|
|
10313
|
+
connectors = {
|
|
10314
|
+
catalog: () => listCatalog(this.requireClient()),
|
|
10315
|
+
mine: () => listMine(this.requireClient()),
|
|
10316
|
+
disconnect: (vendor) => disconnect(this.requireClient(), vendor),
|
|
10317
|
+
/** The provider consent URL; the OAuth comes back to `returnTo` (a path of this app). */
|
|
10318
|
+
authorize: (vendor, returnTo) => authorize(this.requireClient(), vendor, returnTo),
|
|
10319
|
+
/**
|
|
10320
|
+
* Let this server session use the user's connector grants (best effort: a failure is logged,
|
|
10321
|
+
* never thrown, so it cannot break a sign-in or a connect). Signed out: nothing to bridge.
|
|
10322
|
+
*/
|
|
10323
|
+
bridgeTokens: async (options) => {
|
|
10324
|
+
const login = this.loginResult;
|
|
10325
|
+
if (!login) return;
|
|
10326
|
+
try {
|
|
10327
|
+
await bridgeConnectorTokens(this.requireClient(), login, options);
|
|
10328
|
+
} catch (err) {
|
|
10329
|
+
console.error("[connectors] Token bridge failed", err);
|
|
10330
|
+
}
|
|
10331
|
+
},
|
|
10332
|
+
mailboxFolders: (vendor) => listMailboxFolders(this.requireClient(), vendor),
|
|
10333
|
+
enableMailboxSync: (vendor, body) => enableMailboxSync(this.requireClient(), vendor, body),
|
|
10334
|
+
syncMailbox: (vendor, workspaceExtId) => triggerMailboxSync(this.requireClient(), vendor, workspaceExtId),
|
|
10335
|
+
mailboxSyncProgress: (vendor, workspaceExtId) => mailboxSyncProgress(this.requireClient(), vendor, workspaceExtId),
|
|
10336
|
+
cancelMailboxSync: (vendor, workspaceExtId) => cancelMailboxSync(this.requireClient(), vendor, workspaceExtId),
|
|
10337
|
+
driveFolders: (vendor) => listDriveFolders(this.requireClient(), vendor),
|
|
10338
|
+
driveFolderChildren: (vendor, itemId) => listDriveFolderChildren(this.requireClient(), vendor, itemId),
|
|
10339
|
+
driveFolderDocCount: (vendor, itemId) => driveFolderDocCount(this.requireClient(), vendor, itemId),
|
|
10340
|
+
enableDriveSync: (vendor, body) => enableDriveSync(this.requireClient(), vendor, body),
|
|
10341
|
+
syncDrive: (vendor) => triggerDriveSync(this.requireClient(), vendor),
|
|
10342
|
+
driveSyncEstimate: (vendor) => driveSyncEstimate(this.requireClient(), vendor),
|
|
10343
|
+
driveSyncProgress: (vendor) => driveSyncProgress(this.requireClient(), vendor),
|
|
10344
|
+
cancelDriveSync: (vendor) => cancelDriveSync(this.requireClient(), vendor),
|
|
10345
|
+
slack: {
|
|
10346
|
+
status: () => slackStatus(this.requireClient()),
|
|
10347
|
+
authorize: (agentExtId) => authorizeSlack(this.requireClient(), agentExtId),
|
|
10348
|
+
disconnect: () => disconnectSlack(this.requireClient())
|
|
10349
|
+
}
|
|
10350
|
+
};
|
|
10022
10351
|
// ── Settings ──────────────────────────────────────────────────────────
|
|
10023
10352
|
settings = {
|
|
10024
10353
|
get: () => getSettings(this.requireClient()),
|
|
@@ -11251,6 +11580,6 @@ async function startDmListener(options) {
|
|
|
11251
11580
|
};
|
|
11252
11581
|
}
|
|
11253
11582
|
|
|
11254
|
-
export { ACCOUNT_VENDOR, Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ClaudeOrchestrator, DEFAULT_AI_USD_PER_GBP, DOC_TERMINAL_STATUSES, FLAT_TAG_KINDS, FileConfigStore, OpenClawOrchestrator, PlanStepsError, PublicBookingError, STEP_FIELD_OPTION_TONES, TAG_KINDS, 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, cancelPublicBooking, chats_exports as chats, connectWebSocket, connectWithReconnect, consumeSSEStream, contacts_exports as contacts, conversations_exports as conversations, countCitations, createAuthenticatedClient, createDocumentWaiter, 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, filterSkills, firm_exports as firm, formatAgentStepLabel, formatFileSize, formatGbp, formatGbpPerMillionTokens, formatItemLabel, formatStreamSummary, formatUserName, formatWorkspaceChoices, formatWsMessage, generateEncryptedWorkspaceKey, generateNewWorkspaceKey, getErrorCode, getErrorMessage, getPublicBookingPage, getRawWorkspaceKey, health_exports as health, house_template_exports as houseTemplates, identityErrorCode, identity_exports as identityVerification, 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, requireData, requireOk, resolveAuth, resolveCitations, resolveWorkspace, responses_exports as responses, selectWorkspace, selectWorkspaceById, sessions_exports as sessions, settings_exports as settings, signature_requests_exports as signatureRequests, splitAppPasswords, startDmListener, streamSSE, stripCitationMarkdown, summarizeCitations, tags_exports as tags, uploadSkill, usdToGbp, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspaces_exports as workspaces };
|
|
11583
|
+
export { ACCOUNT_VENDOR, Arbi, ArbiApiError, ArbiError, ArbiSessionExpiredError, ClaudeOrchestrator, DEFAULT_AI_USD_PER_GBP, DOC_TERMINAL_STATUSES, DRIVE_SYNC_VENDORS, FLAT_TAG_KINDS, FileConfigStore, GOOGLE_VENDORS, IMANAGE_VENDORS, MAILBOX_SYNC_VENDORS, MICROSOFT_VENDORS, OpenClawOrchestrator, PlanStepsError, PublicBookingError, SHAREPOINT_VENDORS, STEP_FIELD_OPTION_TONES, TAG_KINDS, 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, cancelPublicBooking, chats_exports as chats, connectErrorMessage, connectWebSocket, connectWithReconnect, connectors_exports as connectors, consumeSSEStream, contacts_exports as contacts, conversations_exports as conversations, countCitations, createAuthenticatedClient, createDocumentWaiter, 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, filterSkills, firm_exports as firm, formatAgentStepLabel, formatFileSize, formatGbp, formatGbpPerMillionTokens, formatItemLabel, formatStreamSummary, formatUserName, formatWorkspaceChoices, formatWsMessage, generateEncryptedWorkspaceKey, generateNewWorkspaceKey, getErrorCode, getErrorMessage, getPublicBookingPage, getRawWorkspaceKey, health_exports as health, house_template_exports as houseTemplates, identityErrorCode, identity_exports as identityVerification, isConnectorVendorVisible, isDriveSyncVendor, isMailboxSyncVendor, 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, requireData, requireOk, resolveAuth, resolveCitations, resolveWorkspace, responses_exports as responses, selectWorkspace, selectWorkspaceById, sessions_exports as sessions, settings_exports as settings, signature_requests_exports as signatureRequests, splitAppPasswords, startDmListener, streamSSE, stripCitationMarkdown, summarizeCitations, tags_exports as tags, uploadSkill, usdToGbp, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspaces_exports as workspaces };
|
|
11255
11584
|
//# sourceMappingURL=index.js.map
|
|
11256
11585
|
//# sourceMappingURL=index.js.map
|