@arbidocs/sdk 0.4.145 → 0.4.146
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-Cd9i8TIR.d.cts} +7 -2
- package/dist/{browser-BUKI5Mtb.d.ts → browser-Cd9i8TIR.d.ts} +7 -2
- package/dist/browser.cjs +13 -4
- 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 +13 -4
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +13 -4
- 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 +13 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a0 as ConfigStore, Z as CliConfig, _ as CliCredentials, W as ChatSession, bH as SkippedFile, cf as UploadResult, t as AuthHeaders, ca as UploadBatchResult, ce as UploadOptions, cb as UploadDirectOptions, cc as UploadDirectResult, bB as SUPPORTED_EXTENSIONS, aL as MailAttachment, P as ChatCryptoContext } from './browser-
|
|
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, z as CalDavProfile, D as CalendarAccount, E as CalendarAccountKind, F as CalendarCreateBody, G as CalendarEvent, H as CalendarKeys, I as CalendarRead, J as CalendarSettings, K as CalendarSettingsBody, L as CalendarUpdate, M as CalendarWindow, N as ChatAttachmentFile, O as ChatAttachmentInput, Q as ChatKeyRing, R as ChatKind, S as ChatMemberKey, T as ChatMemberResponse, U as ChatMessageResponse, V as ChatResponse, X as CitationSummary, Y as CitationToolSources, $ as CommandDescriptor, a1 as ConnectOptions, a2 as ConversationResponse, a3 as ConversationUsageResponse, a6 as CreateWorkRequest, a7 as CreateWorkflowRequest, a8 as DEFAULT_AI_USD_PER_GBP, a9 as DOC_TERMINAL_STATUSES, aa as DateTimeSpec, ab as DecryptedChat, ac as DecryptedChatMessage, ae as DeploymentHouseTemplate, af as DocNameMap, ag as DocumentAutomationAction, ah as DocumentListFields, ai as DocumentListOrder, aj as DocumentSelector, ak as DocumentWaiter, al as DocumentWaiterOptions, am as EditScope, an as EventCreateBody, ao as EventPatchBody, ap as FLAT_TAG_KINDS, at as FeedCreateBody, au as FeedLevel, av as FindTimeParams, aw as FormattedWsMessage, ax as FreeBusyEntry, ay as HolidayCountry, az as HouseTemplateCandidate, aA as IdentityErrorCode, aB as IdentityPurchase, aC as IdentityState, aD as IdentityStatus, aE as ImportResult, aF as InvitationRead, aG as LinkedRun, aH as ListAllOptions, aI as ListEventsParams, aK as ListPaginatedOptions, aM as MailDraftSSEEvent, aN as MessageLevel, aO as MessageMetadataPayload, aP as MessageQueuedEvent, aQ as OAuthAccountKind, aR as OutputTokensDetails, aS as OverlayItem, aT as OverlayLayerName, aU as ParsedSlashCommand, aV as PendingAuthResponse, aW as PersonKey, aX as PlanStepsError, aY as PlanWorkRequest, a_ as ProjectBudget, a$ as ProjectConversationUsageResponse, b0 as ProjectDetails, b1 as ProjectEventKind, b2 as ProjectEventResponse, b3 as ProjectInvoicesResponse, b4 as ProjectResponse, b5 as ProjectUpdateRequest, b6 as ProjectUsageResponse, b7 as PublicBookingError, b8 as PublicBookingPage, b9 as QueryOptions, ba as RaisedSignal, bb as ReconnectOptions, bc as ReconnectableWsConnection, bd as ResolvedCitation, be as ResolvedRecipient, bf as RespondParams, bg as RespondPartstat, bh as ResponseCompletedEvent, bi as ResponseContentPartAddedEvent, bj as ResponseCreatedEvent, bk as ResponseFailedEvent, bl as ResponseOutputItemAddedEvent, bm as ResponseOutputItemDoneEvent, bn as ResponseOutputTextDeltaEvent, bo as ResponseOutputTextDoneEvent, bp as ResponseUsage, bq as RoomCreateBody, br as RoomQuery, bs as RoomRead, bt as RunProgress, bu as RunStep, bv as RunWaitingOn, bw as SSEEvent, bx as SSEStreamCallbacks, by as SSEStreamResult, bz as SSEStreamStartData, bA as STEP_FIELD_OPTION_TONES, bC as ScopedTarget, bD as SendBack, bE as ShareRead, bF as ShareRole, bG as SkillSummary, bI as StepActionRequest, bJ as StepActivityEvent, bK as StepAssignee, bL as StepField, bM as StepFieldOption, bN as StepFieldOptionTone, bO as StepKind, bP as StepPhase, bQ as StepSignal, bR as StepSignalWhen, bS as StepState, bT as StepStatus, bU as SubmitBackgroundQueryOptions, bV as SubscribeParams, bW as TAG_KINDS, bX as TagChange, bY as TagFieldDefinition, bZ as TagKind, b_ as TagKindField, b$ as TagKindSchema, c0 as TagLinks, c1 as TagListQuery, c2 as TagResponse, c3 as TaskPlan, c4 as TaskPlanStep, c5 as TimeSuggestion, c6 as TokenBudgetContext, c7 as UpdateConversationRequest, c9 as UpdateWorkflowRequest, cd as UploadDocumentsOptions, cg as UsageBreakdown, ch as UserDailyUsageResponse, ci as UserInfo, cj as UserInputRequestEvent, ck as UserMessageEvent, cl as WebSocketAuthError, cm as WeeklyHoursSpec, cn as WorkStatus, co as WorkflowAuthMode, cp as WorkflowResponse, cq as WorkflowRunHistoryResponse, cr as WorkflowRunResponse, cs as WorkspaceContext, ct as WsConnection, cu as account, cv as agentconfig, cw as agents, cx as assistant, cy as authenticatedFetch, cz as bookPublicSlot, cA as buildCitationChunkData, cB as buildDocNameMap, cC as buildFactsContextTool, cD as buildRetrievalChunkTool, cE as buildRetrievalFullContextTool, cF as buildRetrievalTocTool, cG as calendar, cH as cancelPublicBooking, cI as chats, cJ as connectWebSocket, cK as connectWithReconnect, cL as consumeSSEStream, cM as contacts, cN as conversations, cO as countCitations, cP as createAuthenticatedClient, cQ as createDocumentWaiter, cR as doctags, cS as documents, cT as facts, cU as files, cV as filterSkills, cW as formatAgentStepLabel, cX as formatFileSize, cY as formatGbp, cZ as formatGbpPerMillionTokens, c_ as formatItemLabel, c$ as formatStreamSummary, d0 as formatUserName, d1 as formatWorkspaceChoices, d2 as formatWsMessage, d3 as generateEncryptedWorkspaceKey, d4 as generateNewWorkspaceKey, d5 as getErrorCode, d6 as getErrorMessage, d7 as getPublicBookingPage, d8 as getRawWorkspaceKey, d9 as health, da as houseTemplates, dc as identityErrorCode, db as identityVerification, dd as isSharedSkill, de as mail, df as notifications, dg as parseSSEEvents, dh as parseSlashCommand, di as parseSlashTokenInProgress, dj as performPasswordLogin, dk as performSigningKeyLogin, dl as performSsoDeviceFlowLogin, dm as profile, dn as projects, dp as requireData, dq as requireOk, dr as resolveAuth, ds as resolveCitations, dt as resolveWorkspace, du as responses, dv as selectWorkspace, dw as selectWorkspaceById, dx as sessions, dy as settings, dz as signatureRequests, dA as splitAppPasswords, dB as streamSSE, dC as stripCitationMarkdown, dD as summarizeCitations, dE as tags, dF as uploadSkill, dG as usdToGbp, dH as work, dI as workflowSteps, dJ as workflows, dK as workspaces } from './browser-
|
|
1
|
+
import { a0 as ConfigStore, Z as CliConfig, _ as CliCredentials, W as ChatSession, bH as SkippedFile, cf as UploadResult, t as AuthHeaders, ca as UploadBatchResult, ce as UploadOptions, cb as UploadDirectOptions, cc as UploadDirectResult, bB as SUPPORTED_EXTENSIONS, aL as MailAttachment, P as ChatCryptoContext } from './browser-Cd9i8TIR.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, C as CalDavConnectBody, z as CalDavProfile, D as CalendarAccount, E as CalendarAccountKind, F as CalendarCreateBody, G as CalendarEvent, H as CalendarKeys, I as CalendarRead, J as CalendarSettings, K as CalendarSettingsBody, L as CalendarUpdate, M as CalendarWindow, N as ChatAttachmentFile, O as ChatAttachmentInput, Q as ChatKeyRing, R as ChatKind, S as ChatMemberKey, T as ChatMemberResponse, U as ChatMessageResponse, V as ChatResponse, X as CitationSummary, Y as CitationToolSources, $ as CommandDescriptor, a1 as ConnectOptions, a2 as ConversationResponse, a3 as ConversationUsageResponse, a6 as CreateWorkRequest, a7 as CreateWorkflowRequest, a8 as DEFAULT_AI_USD_PER_GBP, a9 as DOC_TERMINAL_STATUSES, aa as DateTimeSpec, ab as DecryptedChat, ac as DecryptedChatMessage, ae as DeploymentHouseTemplate, af as DocNameMap, ag as DocumentAutomationAction, ah as DocumentListFields, ai as DocumentListOrder, aj as DocumentSelector, ak as DocumentWaiter, al as DocumentWaiterOptions, am as EditScope, an as EventCreateBody, ao as EventPatchBody, ap as FLAT_TAG_KINDS, at as FeedCreateBody, au as FeedLevel, av as FindTimeParams, aw as FormattedWsMessage, ax as FreeBusyEntry, ay as HolidayCountry, az as HouseTemplateCandidate, aA as IdentityErrorCode, aB as IdentityPurchase, aC as IdentityState, aD as IdentityStatus, aE as ImportResult, aF as InvitationRead, aG as LinkedRun, aH as ListAllOptions, aI as ListEventsParams, aK as ListPaginatedOptions, aM as MailDraftSSEEvent, aN as MessageLevel, aO as MessageMetadataPayload, aP as MessageQueuedEvent, aQ as OAuthAccountKind, aR as OutputTokensDetails, aS as OverlayItem, aT as OverlayLayerName, aU as ParsedSlashCommand, aV as PendingAuthResponse, aW as PersonKey, aX as PlanStepsError, aY as PlanWorkRequest, a_ as ProjectBudget, a$ as ProjectConversationUsageResponse, b0 as ProjectDetails, b1 as ProjectEventKind, b2 as ProjectEventResponse, b3 as ProjectInvoicesResponse, b4 as ProjectResponse, b5 as ProjectUpdateRequest, b6 as ProjectUsageResponse, b7 as PublicBookingError, b8 as PublicBookingPage, b9 as QueryOptions, ba as RaisedSignal, bb as ReconnectOptions, bc as ReconnectableWsConnection, bd as ResolvedCitation, be as ResolvedRecipient, bf as RespondParams, bg as RespondPartstat, bh as ResponseCompletedEvent, bi as ResponseContentPartAddedEvent, bj as ResponseCreatedEvent, bk as ResponseFailedEvent, bl as ResponseOutputItemAddedEvent, bm as ResponseOutputItemDoneEvent, bn as ResponseOutputTextDeltaEvent, bo as ResponseOutputTextDoneEvent, bp as ResponseUsage, bq as RoomCreateBody, br as RoomQuery, bs as RoomRead, bt as RunProgress, bu as RunStep, bv as RunWaitingOn, bw as SSEEvent, bx as SSEStreamCallbacks, by as SSEStreamResult, bz as SSEStreamStartData, bA as STEP_FIELD_OPTION_TONES, bC as ScopedTarget, bD as SendBack, bE as ShareRead, bF as ShareRole, bG as SkillSummary, bI as StepActionRequest, bJ as StepActivityEvent, bK as StepAssignee, bL as StepField, bM as StepFieldOption, bN as StepFieldOptionTone, bO as StepKind, bP as StepPhase, bQ as StepSignal, bR as StepSignalWhen, bS as StepState, bT as StepStatus, bU as SubmitBackgroundQueryOptions, bV as SubscribeParams, bW as TAG_KINDS, bX as TagChange, bY as TagFieldDefinition, bZ as TagKind, b_ as TagKindField, b$ as TagKindSchema, c0 as TagLinks, c1 as TagListQuery, c2 as TagResponse, c3 as TaskPlan, c4 as TaskPlanStep, c5 as TimeSuggestion, c6 as TokenBudgetContext, c7 as UpdateConversationRequest, c9 as UpdateWorkflowRequest, cd as UploadDocumentsOptions, cg as UsageBreakdown, ch as UserDailyUsageResponse, ci as UserInfo, cj as UserInputRequestEvent, ck as UserMessageEvent, cl as WebSocketAuthError, cm as WeeklyHoursSpec, cn as WorkStatus, co as WorkflowAuthMode, cp as WorkflowResponse, cq as WorkflowRunHistoryResponse, cr as WorkflowRunResponse, cs as WorkspaceContext, ct as WsConnection, cu as account, cv as agentconfig, cw as agents, cx as assistant, cy as authenticatedFetch, cz as bookPublicSlot, cA as buildCitationChunkData, cB as buildDocNameMap, cC as buildFactsContextTool, cD as buildRetrievalChunkTool, cE as buildRetrievalFullContextTool, cF as buildRetrievalTocTool, cG as calendar, cH as cancelPublicBooking, cI as chats, cJ as connectWebSocket, cK as connectWithReconnect, cL as consumeSSEStream, cM as contacts, cN as conversations, cO as countCitations, cP as createAuthenticatedClient, cQ as createDocumentWaiter, cR as doctags, cS as documents, cT as facts, cU as files, cV as filterSkills, cW as formatAgentStepLabel, cX as formatFileSize, cY as formatGbp, cZ as formatGbpPerMillionTokens, c_ as formatItemLabel, c$ as formatStreamSummary, d0 as formatUserName, d1 as formatWorkspaceChoices, d2 as formatWsMessage, d3 as generateEncryptedWorkspaceKey, d4 as generateNewWorkspaceKey, d5 as getErrorCode, d6 as getErrorMessage, d7 as getPublicBookingPage, d8 as getRawWorkspaceKey, d9 as health, da as houseTemplates, dc as identityErrorCode, db as identityVerification, dd as isSharedSkill, de as mail, df as notifications, dg as parseSSEEvents, dh as parseSlashCommand, di as parseSlashTokenInProgress, dj as performPasswordLogin, dk as performSigningKeyLogin, dl as performSsoDeviceFlowLogin, dm as profile, dn as projects, dp as requireData, dq as requireOk, dr as resolveAuth, ds as resolveCitations, dt as resolveWorkspace, du as responses, dv as selectWorkspace, dw as selectWorkspaceById, dx as sessions, dy as settings, dz as signatureRequests, dA as splitAppPasswords, dB as streamSSE, dC as stripCitationMarkdown, dD as summarizeCitations, dE as tags, dF as uploadSkill, dG as usdToGbp, dH as work, dI as workflowSteps, dJ as workflows, dK as workspaces } from './browser-Cd9i8TIR.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 { a0 as ConfigStore, Z as CliConfig, _ as CliCredentials, W as ChatSession, bH as SkippedFile, cf as UploadResult, t as AuthHeaders, ca as UploadBatchResult, ce as UploadOptions, cb as UploadDirectOptions, cc as UploadDirectResult, bB as SUPPORTED_EXTENSIONS, aL as MailAttachment, P as ChatCryptoContext } from './browser-
|
|
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, z as CalDavProfile, D as CalendarAccount, E as CalendarAccountKind, F as CalendarCreateBody, G as CalendarEvent, H as CalendarKeys, I as CalendarRead, J as CalendarSettings, K as CalendarSettingsBody, L as CalendarUpdate, M as CalendarWindow, N as ChatAttachmentFile, O as ChatAttachmentInput, Q as ChatKeyRing, R as ChatKind, S as ChatMemberKey, T as ChatMemberResponse, U as ChatMessageResponse, V as ChatResponse, X as CitationSummary, Y as CitationToolSources, $ as CommandDescriptor, a1 as ConnectOptions, a2 as ConversationResponse, a3 as ConversationUsageResponse, a6 as CreateWorkRequest, a7 as CreateWorkflowRequest, a8 as DEFAULT_AI_USD_PER_GBP, a9 as DOC_TERMINAL_STATUSES, aa as DateTimeSpec, ab as DecryptedChat, ac as DecryptedChatMessage, ae as DeploymentHouseTemplate, af as DocNameMap, ag as DocumentAutomationAction, ah as DocumentListFields, ai as DocumentListOrder, aj as DocumentSelector, ak as DocumentWaiter, al as DocumentWaiterOptions, am as EditScope, an as EventCreateBody, ao as EventPatchBody, ap as FLAT_TAG_KINDS, at as FeedCreateBody, au as FeedLevel, av as FindTimeParams, aw as FormattedWsMessage, ax as FreeBusyEntry, ay as HolidayCountry, az as HouseTemplateCandidate, aA as IdentityErrorCode, aB as IdentityPurchase, aC as IdentityState, aD as IdentityStatus, aE as ImportResult, aF as InvitationRead, aG as LinkedRun, aH as ListAllOptions, aI as ListEventsParams, aK as ListPaginatedOptions, aM as MailDraftSSEEvent, aN as MessageLevel, aO as MessageMetadataPayload, aP as MessageQueuedEvent, aQ as OAuthAccountKind, aR as OutputTokensDetails, aS as OverlayItem, aT as OverlayLayerName, aU as ParsedSlashCommand, aV as PendingAuthResponse, aW as PersonKey, aX as PlanStepsError, aY as PlanWorkRequest, a_ as ProjectBudget, a$ as ProjectConversationUsageResponse, b0 as ProjectDetails, b1 as ProjectEventKind, b2 as ProjectEventResponse, b3 as ProjectInvoicesResponse, b4 as ProjectResponse, b5 as ProjectUpdateRequest, b6 as ProjectUsageResponse, b7 as PublicBookingError, b8 as PublicBookingPage, b9 as QueryOptions, ba as RaisedSignal, bb as ReconnectOptions, bc as ReconnectableWsConnection, bd as ResolvedCitation, be as ResolvedRecipient, bf as RespondParams, bg as RespondPartstat, bh as ResponseCompletedEvent, bi as ResponseContentPartAddedEvent, bj as ResponseCreatedEvent, bk as ResponseFailedEvent, bl as ResponseOutputItemAddedEvent, bm as ResponseOutputItemDoneEvent, bn as ResponseOutputTextDeltaEvent, bo as ResponseOutputTextDoneEvent, bp as ResponseUsage, bq as RoomCreateBody, br as RoomQuery, bs as RoomRead, bt as RunProgress, bu as RunStep, bv as RunWaitingOn, bw as SSEEvent, bx as SSEStreamCallbacks, by as SSEStreamResult, bz as SSEStreamStartData, bA as STEP_FIELD_OPTION_TONES, bC as ScopedTarget, bD as SendBack, bE as ShareRead, bF as ShareRole, bG as SkillSummary, bI as StepActionRequest, bJ as StepActivityEvent, bK as StepAssignee, bL as StepField, bM as StepFieldOption, bN as StepFieldOptionTone, bO as StepKind, bP as StepPhase, bQ as StepSignal, bR as StepSignalWhen, bS as StepState, bT as StepStatus, bU as SubmitBackgroundQueryOptions, bV as SubscribeParams, bW as TAG_KINDS, bX as TagChange, bY as TagFieldDefinition, bZ as TagKind, b_ as TagKindField, b$ as TagKindSchema, c0 as TagLinks, c1 as TagListQuery, c2 as TagResponse, c3 as TaskPlan, c4 as TaskPlanStep, c5 as TimeSuggestion, c6 as TokenBudgetContext, c7 as UpdateConversationRequest, c9 as UpdateWorkflowRequest, cd as UploadDocumentsOptions, cg as UsageBreakdown, ch as UserDailyUsageResponse, ci as UserInfo, cj as UserInputRequestEvent, ck as UserMessageEvent, cl as WebSocketAuthError, cm as WeeklyHoursSpec, cn as WorkStatus, co as WorkflowAuthMode, cp as WorkflowResponse, cq as WorkflowRunHistoryResponse, cr as WorkflowRunResponse, cs as WorkspaceContext, ct as WsConnection, cu as account, cv as agentconfig, cw as agents, cx as assistant, cy as authenticatedFetch, cz as bookPublicSlot, cA as buildCitationChunkData, cB as buildDocNameMap, cC as buildFactsContextTool, cD as buildRetrievalChunkTool, cE as buildRetrievalFullContextTool, cF as buildRetrievalTocTool, cG as calendar, cH as cancelPublicBooking, cI as chats, cJ as connectWebSocket, cK as connectWithReconnect, cL as consumeSSEStream, cM as contacts, cN as conversations, cO as countCitations, cP as createAuthenticatedClient, cQ as createDocumentWaiter, cR as doctags, cS as documents, cT as facts, cU as files, cV as filterSkills, cW as formatAgentStepLabel, cX as formatFileSize, cY as formatGbp, cZ as formatGbpPerMillionTokens, c_ as formatItemLabel, c$ as formatStreamSummary, d0 as formatUserName, d1 as formatWorkspaceChoices, d2 as formatWsMessage, d3 as generateEncryptedWorkspaceKey, d4 as generateNewWorkspaceKey, d5 as getErrorCode, d6 as getErrorMessage, d7 as getPublicBookingPage, d8 as getRawWorkspaceKey, d9 as health, da as houseTemplates, dc as identityErrorCode, db as identityVerification, dd as isSharedSkill, de as mail, df as notifications, dg as parseSSEEvents, dh as parseSlashCommand, di as parseSlashTokenInProgress, dj as performPasswordLogin, dk as performSigningKeyLogin, dl as performSsoDeviceFlowLogin, dm as profile, dn as projects, dp as requireData, dq as requireOk, dr as resolveAuth, ds as resolveCitations, dt as resolveWorkspace, du as responses, dv as selectWorkspace, dw as selectWorkspaceById, dx as sessions, dy as settings, dz as signatureRequests, dA as splitAppPasswords, dB as streamSSE, dC as stripCitationMarkdown, dD as summarizeCitations, dE as tags, dF as uploadSkill, dG as usdToGbp, dH as work, dI as workflowSteps, dJ as workflows, dK as workspaces } from './browser-
|
|
1
|
+
import { a0 as ConfigStore, Z as CliConfig, _ as CliCredentials, W as ChatSession, bH as SkippedFile, cf as UploadResult, t as AuthHeaders, ca as UploadBatchResult, ce as UploadOptions, cb as UploadDirectOptions, cc as UploadDirectResult, bB as SUPPORTED_EXTENSIONS, aL as MailAttachment, P as ChatCryptoContext } from './browser-Cd9i8TIR.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, C as CalDavConnectBody, z as CalDavProfile, D as CalendarAccount, E as CalendarAccountKind, F as CalendarCreateBody, G as CalendarEvent, H as CalendarKeys, I as CalendarRead, J as CalendarSettings, K as CalendarSettingsBody, L as CalendarUpdate, M as CalendarWindow, N as ChatAttachmentFile, O as ChatAttachmentInput, Q as ChatKeyRing, R as ChatKind, S as ChatMemberKey, T as ChatMemberResponse, U as ChatMessageResponse, V as ChatResponse, X as CitationSummary, Y as CitationToolSources, $ as CommandDescriptor, a1 as ConnectOptions, a2 as ConversationResponse, a3 as ConversationUsageResponse, a6 as CreateWorkRequest, a7 as CreateWorkflowRequest, a8 as DEFAULT_AI_USD_PER_GBP, a9 as DOC_TERMINAL_STATUSES, aa as DateTimeSpec, ab as DecryptedChat, ac as DecryptedChatMessage, ae as DeploymentHouseTemplate, af as DocNameMap, ag as DocumentAutomationAction, ah as DocumentListFields, ai as DocumentListOrder, aj as DocumentSelector, ak as DocumentWaiter, al as DocumentWaiterOptions, am as EditScope, an as EventCreateBody, ao as EventPatchBody, ap as FLAT_TAG_KINDS, at as FeedCreateBody, au as FeedLevel, av as FindTimeParams, aw as FormattedWsMessage, ax as FreeBusyEntry, ay as HolidayCountry, az as HouseTemplateCandidate, aA as IdentityErrorCode, aB as IdentityPurchase, aC as IdentityState, aD as IdentityStatus, aE as ImportResult, aF as InvitationRead, aG as LinkedRun, aH as ListAllOptions, aI as ListEventsParams, aK as ListPaginatedOptions, aM as MailDraftSSEEvent, aN as MessageLevel, aO as MessageMetadataPayload, aP as MessageQueuedEvent, aQ as OAuthAccountKind, aR as OutputTokensDetails, aS as OverlayItem, aT as OverlayLayerName, aU as ParsedSlashCommand, aV as PendingAuthResponse, aW as PersonKey, aX as PlanStepsError, aY as PlanWorkRequest, a_ as ProjectBudget, a$ as ProjectConversationUsageResponse, b0 as ProjectDetails, b1 as ProjectEventKind, b2 as ProjectEventResponse, b3 as ProjectInvoicesResponse, b4 as ProjectResponse, b5 as ProjectUpdateRequest, b6 as ProjectUsageResponse, b7 as PublicBookingError, b8 as PublicBookingPage, b9 as QueryOptions, ba as RaisedSignal, bb as ReconnectOptions, bc as ReconnectableWsConnection, bd as ResolvedCitation, be as ResolvedRecipient, bf as RespondParams, bg as RespondPartstat, bh as ResponseCompletedEvent, bi as ResponseContentPartAddedEvent, bj as ResponseCreatedEvent, bk as ResponseFailedEvent, bl as ResponseOutputItemAddedEvent, bm as ResponseOutputItemDoneEvent, bn as ResponseOutputTextDeltaEvent, bo as ResponseOutputTextDoneEvent, bp as ResponseUsage, bq as RoomCreateBody, br as RoomQuery, bs as RoomRead, bt as RunProgress, bu as RunStep, bv as RunWaitingOn, bw as SSEEvent, bx as SSEStreamCallbacks, by as SSEStreamResult, bz as SSEStreamStartData, bA as STEP_FIELD_OPTION_TONES, bC as ScopedTarget, bD as SendBack, bE as ShareRead, bF as ShareRole, bG as SkillSummary, bI as StepActionRequest, bJ as StepActivityEvent, bK as StepAssignee, bL as StepField, bM as StepFieldOption, bN as StepFieldOptionTone, bO as StepKind, bP as StepPhase, bQ as StepSignal, bR as StepSignalWhen, bS as StepState, bT as StepStatus, bU as SubmitBackgroundQueryOptions, bV as SubscribeParams, bW as TAG_KINDS, bX as TagChange, bY as TagFieldDefinition, bZ as TagKind, b_ as TagKindField, b$ as TagKindSchema, c0 as TagLinks, c1 as TagListQuery, c2 as TagResponse, c3 as TaskPlan, c4 as TaskPlanStep, c5 as TimeSuggestion, c6 as TokenBudgetContext, c7 as UpdateConversationRequest, c9 as UpdateWorkflowRequest, cd as UploadDocumentsOptions, cg as UsageBreakdown, ch as UserDailyUsageResponse, ci as UserInfo, cj as UserInputRequestEvent, ck as UserMessageEvent, cl as WebSocketAuthError, cm as WeeklyHoursSpec, cn as WorkStatus, co as WorkflowAuthMode, cp as WorkflowResponse, cq as WorkflowRunHistoryResponse, cr as WorkflowRunResponse, cs as WorkspaceContext, ct as WsConnection, cu as account, cv as agentconfig, cw as agents, cx as assistant, cy as authenticatedFetch, cz as bookPublicSlot, cA as buildCitationChunkData, cB as buildDocNameMap, cC as buildFactsContextTool, cD as buildRetrievalChunkTool, cE as buildRetrievalFullContextTool, cF as buildRetrievalTocTool, cG as calendar, cH as cancelPublicBooking, cI as chats, cJ as connectWebSocket, cK as connectWithReconnect, cL as consumeSSEStream, cM as contacts, cN as conversations, cO as countCitations, cP as createAuthenticatedClient, cQ as createDocumentWaiter, cR as doctags, cS as documents, cT as facts, cU as files, cV as filterSkills, cW as formatAgentStepLabel, cX as formatFileSize, cY as formatGbp, cZ as formatGbpPerMillionTokens, c_ as formatItemLabel, c$ as formatStreamSummary, d0 as formatUserName, d1 as formatWorkspaceChoices, d2 as formatWsMessage, d3 as generateEncryptedWorkspaceKey, d4 as generateNewWorkspaceKey, d5 as getErrorCode, d6 as getErrorMessage, d7 as getPublicBookingPage, d8 as getRawWorkspaceKey, d9 as health, da as houseTemplates, dc as identityErrorCode, db as identityVerification, dd as isSharedSkill, de as mail, df as notifications, dg as parseSSEEvents, dh as parseSlashCommand, di as parseSlashTokenInProgress, dj as performPasswordLogin, dk as performSigningKeyLogin, dl as performSsoDeviceFlowLogin, dm as profile, dn as projects, dp as requireData, dq as requireOk, dr as resolveAuth, ds as resolveCitations, dt as resolveWorkspace, du as responses, dv as selectWorkspace, dw as selectWorkspaceById, dx as sessions, dy as settings, dz as signatureRequests, dA as splitAppPasswords, dB as streamSSE, dC as stripCitationMarkdown, dD as summarizeCitations, dE as tags, dF as uploadSkill, dG as usdToGbp, dH as work, dI as workflowSteps, dJ as workflows, dK as workspaces } from './browser-Cd9i8TIR.js';
|
|
3
3
|
import { SessionStorageProvider, ArbiClient, components } from '@arbidocs/client';
|
|
4
4
|
export { LoginProfile } from '@arbidocs/client';
|
|
5
5
|
|
package/dist/index.js
CHANGED
|
@@ -5576,15 +5576,17 @@ async function updateWorkspace(arbi, body) {
|
|
|
5576
5576
|
async function listWorkspaceUsers(arbi) {
|
|
5577
5577
|
return requireData(await arbi.fetch.GET("/v1/workspace/users"), "Failed to fetch workspace users");
|
|
5578
5578
|
}
|
|
5579
|
-
async function addWorkspaceUsers(arbi, emails, role = "collaborator", target) {
|
|
5579
|
+
async function addWorkspaceUsers(arbi, emails, role = "collaborator", target, confirmInvite = false) {
|
|
5580
|
+
const invite = confirmInvite ? { confirm_invite: true } : {};
|
|
5580
5581
|
return requireData(
|
|
5581
5582
|
await arbi.fetch.POST("/v1/workspace/users", {
|
|
5582
5583
|
body: target ? {
|
|
5583
5584
|
emails,
|
|
5584
5585
|
role,
|
|
5585
5586
|
workspace_ext_id: target.workspaceExtId,
|
|
5586
|
-
workspace_key: target.workspaceKey
|
|
5587
|
-
|
|
5587
|
+
workspace_key: target.workspaceKey,
|
|
5588
|
+
...invite
|
|
5589
|
+
} : { emails, role, ...invite }
|
|
5588
5590
|
}),
|
|
5589
5591
|
"Failed to add users"
|
|
5590
5592
|
);
|
|
@@ -9464,7 +9466,14 @@ var Arbi = class {
|
|
|
9464
9466
|
listUsers: () => listWorkspaceUsers(this.requireClient()),
|
|
9465
9467
|
/** One page of a workspace's activity feed, newest first (see `getWorkspaceActivity`). */
|
|
9466
9468
|
activity: (workspaceId, options) => getWorkspaceActivity(this.requireClient(), workspaceId, options),
|
|
9467
|
-
|
|
9469
|
+
/** Add users to the open workspace; `confirmInvite` also invites emails not on ARBI yet. */
|
|
9470
|
+
addUsers: (emails, role, options) => addWorkspaceUsers(
|
|
9471
|
+
this.requireClient(),
|
|
9472
|
+
emails,
|
|
9473
|
+
role,
|
|
9474
|
+
void 0,
|
|
9475
|
+
options?.confirmInvite
|
|
9476
|
+
),
|
|
9468
9477
|
/**
|
|
9469
9478
|
* Grant users a temporary key scoped to ONE session (identified by its public key), for
|
|
9470
9479
|
* example an agent's run session minted by `agents.authorize()`. Nothing standing is created:
|