@arbidocs/sdk 0.4.139 → 0.4.141
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-D3wxXCKl.d.cts → browser-DmkCooa-.d.cts} +39 -3
- package/dist/{browser-D3wxXCKl.d.ts → browser-DmkCooa-.d.ts} +39 -3
- package/dist/browser.cjs +29 -2
- 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 +29 -2
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +31 -2
- 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 +30 -3
- 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, bF as SkippedFile, cc as UploadResult, t as AuthHeaders, c8 as UploadBatchResult, cb as UploadOptions, c9 as UploadDirectOptions, ca as UploadDirectResult, bz as SUPPORTED_EXTENSIONS, aJ 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 DocNameMap, af as DocumentAutomationAction, ag as DocumentListFields, ah as DocumentListOrder, ai as DocumentSelector, aj as DocumentWaiter, ak as DocumentWaiterOptions, al as EditScope, am as EventCreateBody, an as EventPatchBody, ao as FLAT_TAG_KINDS, as as FeedCreateBody, at as FeedLevel, au as FindTimeParams, av as FormattedWsMessage, aw as FreeBusyEntry, ax as HolidayCountry, ay as IdentityErrorCode, az as IdentityPurchase, aA as IdentityState, aB as IdentityStatus, aC as ImportResult, aD as InvitationRead, aE as LinkedRun, aF as ListAllOptions, aG as ListEventsParams, aI as ListPaginatedOptions, aK as MailDraftSSEEvent, aL as MessageLevel, aM as MessageMetadataPayload, aN as MessageQueuedEvent, aO as OAuthAccountKind, aP as OutputTokensDetails, aQ as OverlayItem, aR as OverlayLayerName, aS as ParsedSlashCommand, aT as PendingAuthResponse, aU as PersonKey, aV as PlanStepsError, aW as PlanWorkRequest, aY as ProjectBudget, aZ as ProjectConversationUsageResponse, a_ as ProjectDetails, a$ as ProjectEventKind, b0 as ProjectEventResponse, b1 as ProjectInvoicesResponse, b2 as ProjectResponse, b3 as ProjectUpdateRequest, b4 as ProjectUsageResponse, b5 as PublicBookingError, b6 as PublicBookingPage, b7 as QueryOptions, b8 as RaisedSignal, b9 as ReconnectOptions, ba as ReconnectableWsConnection, bb as ResolvedCitation, bc as ResolvedRecipient, bd as RespondParams, be as RespondPartstat, bf as ResponseCompletedEvent, bg as ResponseContentPartAddedEvent, bh as ResponseCreatedEvent, bi as ResponseFailedEvent, bj as ResponseOutputItemAddedEvent, bk as ResponseOutputItemDoneEvent, bl as ResponseOutputTextDeltaEvent, bm as ResponseOutputTextDoneEvent, bn as ResponseUsage, bo as RoomCreateBody, bp as RoomQuery, bq as RoomRead, br as RunProgress, bs as RunStep, bt as RunWaitingOn, bu as SSEEvent, bv as SSEStreamCallbacks, bw as SSEStreamResult, bx as SSEStreamStartData, by as STEP_FIELD_OPTION_TONES, bA as ScopedTarget, bB as SendBack, bC as ShareRead, bD as ShareRole, bE as SkillSummary, bG as StepActionRequest, bH as StepActivityEvent, bI as StepAssignee, bJ as StepField, bK as StepFieldOption, bL as StepFieldOptionTone, bM as StepKind, bN as StepPhase, bO as StepSignal, bP as StepSignalWhen, bQ as StepState, bR as StepStatus, bS as SubmitBackgroundQueryOptions, bT as SubscribeParams, bU as TAG_KINDS, bV as TagChange, bW as TagFieldDefinition, bX as TagKind, bY as TagKindField, bZ as TagKindSchema, b_ as TagLinks, b$ as TagListQuery, c0 as TagResponse, c1 as TaskPlan, c2 as TaskPlanStep, c3 as TimeSuggestion, c4 as TokenBudgetContext, c5 as UpdateConversationRequest, c7 as UpdateWorkflowRequest, cd as UsageBreakdown, ce as UserDailyUsageResponse, cf as UserInfo, cg as UserInputRequestEvent, ch as UserMessageEvent, ci as WebSocketAuthError, cj as WeeklyHoursSpec, ck as WorkStatus, cl as WorkflowAuthMode, cm as WorkflowResponse, cn as WorkflowRunHistoryResponse, co as WorkflowRunResponse, cp as WorkspaceContext, cq as WsConnection, cr as account, cs as agentconfig, ct as agents, cu as assistant, cv as authenticatedFetch, cw as bookPublicSlot, cx as buildCitationChunkData, cy as buildDocNameMap, cz as buildFactsContextTool, cA as buildRetrievalChunkTool, cB as buildRetrievalFullContextTool, cC as buildRetrievalTocTool, cD as calendar, cE as cancelPublicBooking, cF as chats, cG as connectWebSocket, cH as connectWithReconnect, cI as consumeSSEStream, cJ as contacts, cK as conversations, cL as countCitations, cM as createAuthenticatedClient, cN as createDocumentWaiter, cO as doctags, cP as documents, cQ as facts, cR as files, cS as filterSkills, cT as formatAgentStepLabel, cU as formatFileSize, cV as formatGbp, cW as formatGbpPerMillionTokens, cX as formatItemLabel, cY as formatStreamSummary, cZ as formatUserName, c_ as formatWorkspaceChoices, c$ as formatWsMessage, d0 as generateEncryptedWorkspaceKey, d1 as generateNewWorkspaceKey, d2 as getErrorCode, d3 as getErrorMessage, d4 as getPublicBookingPage, d5 as getRawWorkspaceKey, d6 as health, d8 as identityErrorCode, d7 as identityVerification, d9 as
|
|
1
|
+
import { a0 as ConfigStore, Z as CliConfig, _ as CliCredentials, W as ChatSession, bF as SkippedFile, cc as UploadResult, t as AuthHeaders, c8 as UploadBatchResult, cb as UploadOptions, c9 as UploadDirectOptions, ca as UploadDirectResult, bz as SUPPORTED_EXTENSIONS, aJ as MailAttachment, P as ChatCryptoContext } from './browser-DmkCooa-.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 DocNameMap, af as DocumentAutomationAction, ag as DocumentListFields, ah as DocumentListOrder, ai as DocumentSelector, aj as DocumentWaiter, ak as DocumentWaiterOptions, al as EditScope, am as EventCreateBody, an as EventPatchBody, ao as FLAT_TAG_KINDS, as as FeedCreateBody, at as FeedLevel, au as FindTimeParams, av as FormattedWsMessage, aw as FreeBusyEntry, ax as HolidayCountry, ay as IdentityErrorCode, az as IdentityPurchase, aA as IdentityState, aB as IdentityStatus, aC as ImportResult, aD as InvitationRead, aE as LinkedRun, aF as ListAllOptions, aG as ListEventsParams, aI as ListPaginatedOptions, aK as MailDraftSSEEvent, aL as MessageLevel, aM as MessageMetadataPayload, aN as MessageQueuedEvent, aO as OAuthAccountKind, aP as OutputTokensDetails, aQ as OverlayItem, aR as OverlayLayerName, aS as ParsedSlashCommand, aT as PendingAuthResponse, aU as PersonKey, aV as PlanStepsError, aW as PlanWorkRequest, aY as ProjectBudget, aZ as ProjectConversationUsageResponse, a_ as ProjectDetails, a$ as ProjectEventKind, b0 as ProjectEventResponse, b1 as ProjectInvoicesResponse, b2 as ProjectResponse, b3 as ProjectUpdateRequest, b4 as ProjectUsageResponse, b5 as PublicBookingError, b6 as PublicBookingPage, b7 as QueryOptions, b8 as RaisedSignal, b9 as ReconnectOptions, ba as ReconnectableWsConnection, bb as ResolvedCitation, bc as ResolvedRecipient, bd as RespondParams, be as RespondPartstat, bf as ResponseCompletedEvent, bg as ResponseContentPartAddedEvent, bh as ResponseCreatedEvent, bi as ResponseFailedEvent, bj as ResponseOutputItemAddedEvent, bk as ResponseOutputItemDoneEvent, bl as ResponseOutputTextDeltaEvent, bm as ResponseOutputTextDoneEvent, bn as ResponseUsage, bo as RoomCreateBody, bp as RoomQuery, bq as RoomRead, br as RunProgress, bs as RunStep, bt as RunWaitingOn, bu as SSEEvent, bv as SSEStreamCallbacks, bw as SSEStreamResult, bx as SSEStreamStartData, by as STEP_FIELD_OPTION_TONES, bA as ScopedTarget, bB as SendBack, bC as ShareRead, bD as ShareRole, bE as SkillSummary, bG as StepActionRequest, bH as StepActivityEvent, bI as StepAssignee, bJ as StepField, bK as StepFieldOption, bL as StepFieldOptionTone, bM as StepKind, bN as StepPhase, bO as StepSignal, bP as StepSignalWhen, bQ as StepState, bR as StepStatus, bS as SubmitBackgroundQueryOptions, bT as SubscribeParams, bU as TAG_KINDS, bV as TagChange, bW as TagFieldDefinition, bX as TagKind, bY as TagKindField, bZ as TagKindSchema, b_ as TagLinks, b$ as TagListQuery, c0 as TagResponse, c1 as TaskPlan, c2 as TaskPlanStep, c3 as TimeSuggestion, c4 as TokenBudgetContext, c5 as UpdateConversationRequest, c7 as UpdateWorkflowRequest, cd as UsageBreakdown, ce as UserDailyUsageResponse, cf as UserInfo, cg as UserInputRequestEvent, ch as UserMessageEvent, ci as WebSocketAuthError, cj as WeeklyHoursSpec, ck as WorkStatus, cl as WorkflowAuthMode, cm as WorkflowResponse, cn as WorkflowRunHistoryResponse, co as WorkflowRunResponse, cp as WorkspaceContext, cq as WsConnection, cr as account, cs as agentconfig, ct as agents, cu as assistant, cv as authenticatedFetch, cw as bookPublicSlot, cx as buildCitationChunkData, cy as buildDocNameMap, cz as buildFactsContextTool, cA as buildRetrievalChunkTool, cB as buildRetrievalFullContextTool, cC as buildRetrievalTocTool, cD as calendar, cE as cancelPublicBooking, cF as chats, cG as connectWebSocket, cH as connectWithReconnect, cI as consumeSSEStream, cJ as contacts, cK as conversations, cL as countCitations, cM as createAuthenticatedClient, cN as createDocumentWaiter, cO as doctags, cP as documents, cQ as facts, cR as files, cS as filterSkills, cT as formatAgentStepLabel, cU as formatFileSize, cV as formatGbp, cW as formatGbpPerMillionTokens, cX as formatItemLabel, cY as formatStreamSummary, cZ as formatUserName, c_ as formatWorkspaceChoices, c$ as formatWsMessage, d0 as generateEncryptedWorkspaceKey, d1 as generateNewWorkspaceKey, d2 as getErrorCode, d3 as getErrorMessage, d4 as getPublicBookingPage, d5 as getRawWorkspaceKey, d6 as health, d8 as identityErrorCode, d7 as identityVerification, d9 as isSharedSkill, da as mail, db as notifications, dc as parseSSEEvents, dd as parseSlashCommand, de as parseSlashTokenInProgress, df as performPasswordLogin, dg as performSigningKeyLogin, dh as performSsoDeviceFlowLogin, di as profile, dj as projects, dk as requireData, dl as requireOk, dm as resolveAuth, dn as resolveCitations, dp as resolveWorkspace, dq as responses, dr as selectWorkspace, ds as selectWorkspaceById, dt as sessions, du as settings, dv as signatureRequests, dw as splitAppPasswords, dx as streamSSE, dy as stripCitationMarkdown, dz as summarizeCitations, dA as tags, dB as uploadSkill, dC as usdToGbp, dD as work, dE as workflowSteps, dF as workflows, dG as workspaces } from './browser-DmkCooa-.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, bF as SkippedFile, cc as UploadResult, t as AuthHeaders, c8 as UploadBatchResult, cb as UploadOptions, c9 as UploadDirectOptions, ca as UploadDirectResult, bz as SUPPORTED_EXTENSIONS, aJ 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 DocNameMap, af as DocumentAutomationAction, ag as DocumentListFields, ah as DocumentListOrder, ai as DocumentSelector, aj as DocumentWaiter, ak as DocumentWaiterOptions, al as EditScope, am as EventCreateBody, an as EventPatchBody, ao as FLAT_TAG_KINDS, as as FeedCreateBody, at as FeedLevel, au as FindTimeParams, av as FormattedWsMessage, aw as FreeBusyEntry, ax as HolidayCountry, ay as IdentityErrorCode, az as IdentityPurchase, aA as IdentityState, aB as IdentityStatus, aC as ImportResult, aD as InvitationRead, aE as LinkedRun, aF as ListAllOptions, aG as ListEventsParams, aI as ListPaginatedOptions, aK as MailDraftSSEEvent, aL as MessageLevel, aM as MessageMetadataPayload, aN as MessageQueuedEvent, aO as OAuthAccountKind, aP as OutputTokensDetails, aQ as OverlayItem, aR as OverlayLayerName, aS as ParsedSlashCommand, aT as PendingAuthResponse, aU as PersonKey, aV as PlanStepsError, aW as PlanWorkRequest, aY as ProjectBudget, aZ as ProjectConversationUsageResponse, a_ as ProjectDetails, a$ as ProjectEventKind, b0 as ProjectEventResponse, b1 as ProjectInvoicesResponse, b2 as ProjectResponse, b3 as ProjectUpdateRequest, b4 as ProjectUsageResponse, b5 as PublicBookingError, b6 as PublicBookingPage, b7 as QueryOptions, b8 as RaisedSignal, b9 as ReconnectOptions, ba as ReconnectableWsConnection, bb as ResolvedCitation, bc as ResolvedRecipient, bd as RespondParams, be as RespondPartstat, bf as ResponseCompletedEvent, bg as ResponseContentPartAddedEvent, bh as ResponseCreatedEvent, bi as ResponseFailedEvent, bj as ResponseOutputItemAddedEvent, bk as ResponseOutputItemDoneEvent, bl as ResponseOutputTextDeltaEvent, bm as ResponseOutputTextDoneEvent, bn as ResponseUsage, bo as RoomCreateBody, bp as RoomQuery, bq as RoomRead, br as RunProgress, bs as RunStep, bt as RunWaitingOn, bu as SSEEvent, bv as SSEStreamCallbacks, bw as SSEStreamResult, bx as SSEStreamStartData, by as STEP_FIELD_OPTION_TONES, bA as ScopedTarget, bB as SendBack, bC as ShareRead, bD as ShareRole, bE as SkillSummary, bG as StepActionRequest, bH as StepActivityEvent, bI as StepAssignee, bJ as StepField, bK as StepFieldOption, bL as StepFieldOptionTone, bM as StepKind, bN as StepPhase, bO as StepSignal, bP as StepSignalWhen, bQ as StepState, bR as StepStatus, bS as SubmitBackgroundQueryOptions, bT as SubscribeParams, bU as TAG_KINDS, bV as TagChange, bW as TagFieldDefinition, bX as TagKind, bY as TagKindField, bZ as TagKindSchema, b_ as TagLinks, b$ as TagListQuery, c0 as TagResponse, c1 as TaskPlan, c2 as TaskPlanStep, c3 as TimeSuggestion, c4 as TokenBudgetContext, c5 as UpdateConversationRequest, c7 as UpdateWorkflowRequest, cd as UsageBreakdown, ce as UserDailyUsageResponse, cf as UserInfo, cg as UserInputRequestEvent, ch as UserMessageEvent, ci as WebSocketAuthError, cj as WeeklyHoursSpec, ck as WorkStatus, cl as WorkflowAuthMode, cm as WorkflowResponse, cn as WorkflowRunHistoryResponse, co as WorkflowRunResponse, cp as WorkspaceContext, cq as WsConnection, cr as account, cs as agentconfig, ct as agents, cu as assistant, cv as authenticatedFetch, cw as bookPublicSlot, cx as buildCitationChunkData, cy as buildDocNameMap, cz as buildFactsContextTool, cA as buildRetrievalChunkTool, cB as buildRetrievalFullContextTool, cC as buildRetrievalTocTool, cD as calendar, cE as cancelPublicBooking, cF as chats, cG as connectWebSocket, cH as connectWithReconnect, cI as consumeSSEStream, cJ as contacts, cK as conversations, cL as countCitations, cM as createAuthenticatedClient, cN as createDocumentWaiter, cO as doctags, cP as documents, cQ as facts, cR as files, cS as filterSkills, cT as formatAgentStepLabel, cU as formatFileSize, cV as formatGbp, cW as formatGbpPerMillionTokens, cX as formatItemLabel, cY as formatStreamSummary, cZ as formatUserName, c_ as formatWorkspaceChoices, c$ as formatWsMessage, d0 as generateEncryptedWorkspaceKey, d1 as generateNewWorkspaceKey, d2 as getErrorCode, d3 as getErrorMessage, d4 as getPublicBookingPage, d5 as getRawWorkspaceKey, d6 as health, d8 as identityErrorCode, d7 as identityVerification, d9 as
|
|
1
|
+
import { a0 as ConfigStore, Z as CliConfig, _ as CliCredentials, W as ChatSession, bF as SkippedFile, cc as UploadResult, t as AuthHeaders, c8 as UploadBatchResult, cb as UploadOptions, c9 as UploadDirectOptions, ca as UploadDirectResult, bz as SUPPORTED_EXTENSIONS, aJ as MailAttachment, P as ChatCryptoContext } from './browser-DmkCooa-.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 DocNameMap, af as DocumentAutomationAction, ag as DocumentListFields, ah as DocumentListOrder, ai as DocumentSelector, aj as DocumentWaiter, ak as DocumentWaiterOptions, al as EditScope, am as EventCreateBody, an as EventPatchBody, ao as FLAT_TAG_KINDS, as as FeedCreateBody, at as FeedLevel, au as FindTimeParams, av as FormattedWsMessage, aw as FreeBusyEntry, ax as HolidayCountry, ay as IdentityErrorCode, az as IdentityPurchase, aA as IdentityState, aB as IdentityStatus, aC as ImportResult, aD as InvitationRead, aE as LinkedRun, aF as ListAllOptions, aG as ListEventsParams, aI as ListPaginatedOptions, aK as MailDraftSSEEvent, aL as MessageLevel, aM as MessageMetadataPayload, aN as MessageQueuedEvent, aO as OAuthAccountKind, aP as OutputTokensDetails, aQ as OverlayItem, aR as OverlayLayerName, aS as ParsedSlashCommand, aT as PendingAuthResponse, aU as PersonKey, aV as PlanStepsError, aW as PlanWorkRequest, aY as ProjectBudget, aZ as ProjectConversationUsageResponse, a_ as ProjectDetails, a$ as ProjectEventKind, b0 as ProjectEventResponse, b1 as ProjectInvoicesResponse, b2 as ProjectResponse, b3 as ProjectUpdateRequest, b4 as ProjectUsageResponse, b5 as PublicBookingError, b6 as PublicBookingPage, b7 as QueryOptions, b8 as RaisedSignal, b9 as ReconnectOptions, ba as ReconnectableWsConnection, bb as ResolvedCitation, bc as ResolvedRecipient, bd as RespondParams, be as RespondPartstat, bf as ResponseCompletedEvent, bg as ResponseContentPartAddedEvent, bh as ResponseCreatedEvent, bi as ResponseFailedEvent, bj as ResponseOutputItemAddedEvent, bk as ResponseOutputItemDoneEvent, bl as ResponseOutputTextDeltaEvent, bm as ResponseOutputTextDoneEvent, bn as ResponseUsage, bo as RoomCreateBody, bp as RoomQuery, bq as RoomRead, br as RunProgress, bs as RunStep, bt as RunWaitingOn, bu as SSEEvent, bv as SSEStreamCallbacks, bw as SSEStreamResult, bx as SSEStreamStartData, by as STEP_FIELD_OPTION_TONES, bA as ScopedTarget, bB as SendBack, bC as ShareRead, bD as ShareRole, bE as SkillSummary, bG as StepActionRequest, bH as StepActivityEvent, bI as StepAssignee, bJ as StepField, bK as StepFieldOption, bL as StepFieldOptionTone, bM as StepKind, bN as StepPhase, bO as StepSignal, bP as StepSignalWhen, bQ as StepState, bR as StepStatus, bS as SubmitBackgroundQueryOptions, bT as SubscribeParams, bU as TAG_KINDS, bV as TagChange, bW as TagFieldDefinition, bX as TagKind, bY as TagKindField, bZ as TagKindSchema, b_ as TagLinks, b$ as TagListQuery, c0 as TagResponse, c1 as TaskPlan, c2 as TaskPlanStep, c3 as TimeSuggestion, c4 as TokenBudgetContext, c5 as UpdateConversationRequest, c7 as UpdateWorkflowRequest, cd as UsageBreakdown, ce as UserDailyUsageResponse, cf as UserInfo, cg as UserInputRequestEvent, ch as UserMessageEvent, ci as WebSocketAuthError, cj as WeeklyHoursSpec, ck as WorkStatus, cl as WorkflowAuthMode, cm as WorkflowResponse, cn as WorkflowRunHistoryResponse, co as WorkflowRunResponse, cp as WorkspaceContext, cq as WsConnection, cr as account, cs as agentconfig, ct as agents, cu as assistant, cv as authenticatedFetch, cw as bookPublicSlot, cx as buildCitationChunkData, cy as buildDocNameMap, cz as buildFactsContextTool, cA as buildRetrievalChunkTool, cB as buildRetrievalFullContextTool, cC as buildRetrievalTocTool, cD as calendar, cE as cancelPublicBooking, cF as chats, cG as connectWebSocket, cH as connectWithReconnect, cI as consumeSSEStream, cJ as contacts, cK as conversations, cL as countCitations, cM as createAuthenticatedClient, cN as createDocumentWaiter, cO as doctags, cP as documents, cQ as facts, cR as files, cS as filterSkills, cT as formatAgentStepLabel, cU as formatFileSize, cV as formatGbp, cW as formatGbpPerMillionTokens, cX as formatItemLabel, cY as formatStreamSummary, cZ as formatUserName, c_ as formatWorkspaceChoices, c$ as formatWsMessage, d0 as generateEncryptedWorkspaceKey, d1 as generateNewWorkspaceKey, d2 as getErrorCode, d3 as getErrorMessage, d4 as getPublicBookingPage, d5 as getRawWorkspaceKey, d6 as health, d8 as identityErrorCode, d7 as identityVerification, d9 as isSharedSkill, da as mail, db as notifications, dc as parseSSEEvents, dd as parseSlashCommand, de as parseSlashTokenInProgress, df as performPasswordLogin, dg as performSigningKeyLogin, dh as performSsoDeviceFlowLogin, di as profile, dj as projects, dk as requireData, dl as requireOk, dm as resolveAuth, dn as resolveCitations, dp as resolveWorkspace, dq as responses, dr as selectWorkspace, ds as selectWorkspaceById, dt as sessions, du as settings, dv as signatureRequests, dw as splitAppPasswords, dx as streamSSE, dy as stripCitationMarkdown, dz as summarizeCitations, dA as tags, dB as uploadSkill, dC as usdToGbp, dD as work, dE as workflowSteps, dF as workflows, dG as workspaces } from './browser-DmkCooa-.js';
|
|
3
3
|
import { SessionStorageProvider, ArbiClient, components } from '@arbidocs/client';
|
|
4
4
|
export { LoginProfile } from '@arbidocs/client';
|
|
5
5
|
|
package/dist/index.js
CHANGED
|
@@ -5616,13 +5616,15 @@ __export(assistant_exports, {
|
|
|
5616
5616
|
buildRetrievalTocTool: () => buildRetrievalTocTool,
|
|
5617
5617
|
cancelAssistantRun: () => cancelAssistantRun,
|
|
5618
5618
|
filterSkills: () => filterSkills,
|
|
5619
|
+
isSharedSkill: () => isSharedSkill,
|
|
5619
5620
|
listCommands: () => listCommands,
|
|
5620
5621
|
listSkills: () => listSkills,
|
|
5621
5622
|
parseSlashCommand: () => parseSlashCommand,
|
|
5622
5623
|
parseSlashTokenInProgress: () => parseSlashTokenInProgress,
|
|
5623
5624
|
queryAssistant: () => queryAssistant,
|
|
5624
5625
|
respondToAgent: () => respondToAgent,
|
|
5625
|
-
retrieve: () => retrieve
|
|
5626
|
+
retrieve: () => retrieve,
|
|
5627
|
+
uploadSkill: () => uploadSkill
|
|
5626
5628
|
});
|
|
5627
5629
|
function buildRetrievalChunkTool(docIds, searchMode) {
|
|
5628
5630
|
return {
|
|
@@ -5750,6 +5752,16 @@ async function listSkills(arbi, options) {
|
|
|
5750
5752
|
);
|
|
5751
5753
|
return result.skills;
|
|
5752
5754
|
}
|
|
5755
|
+
function isSharedSkill(skill) {
|
|
5756
|
+
return skill.is_owner !== false && skill.visibility === "global";
|
|
5757
|
+
}
|
|
5758
|
+
function uploadSkill(auth, slug, markdown, options) {
|
|
5759
|
+
return uploadFile(auth, new Blob([markdown], { type: "text/markdown" }), "SKILL.md", {
|
|
5760
|
+
folder: `skills/${slug}`,
|
|
5761
|
+
wpType: "skill",
|
|
5762
|
+
shared: options?.shared ?? false
|
|
5763
|
+
});
|
|
5764
|
+
}
|
|
5753
5765
|
async function listCommands(arbi) {
|
|
5754
5766
|
const result = requireData(
|
|
5755
5767
|
await arbi.fetch.GET("/v1/assistant/commands", {}),
|
|
@@ -5876,6 +5888,7 @@ __export(tags_exports, {
|
|
|
5876
5888
|
TAG_KINDS: () => TAG_KINDS,
|
|
5877
5889
|
createTag: () => createTag,
|
|
5878
5890
|
deleteTag: () => deleteTag,
|
|
5891
|
+
extractEntities: () => extractEntities,
|
|
5879
5892
|
getTagKind: () => getTagKind,
|
|
5880
5893
|
kindFieldWrites: () => kindFieldWrites,
|
|
5881
5894
|
listTagKinds: () => listTagKinds,
|
|
@@ -5954,6 +5967,18 @@ async function updateTag(arbi, tagId, change) {
|
|
|
5954
5967
|
"Failed to update tag"
|
|
5955
5968
|
);
|
|
5956
5969
|
}
|
|
5970
|
+
async function extractEntities(arbi, docIds, options = {}) {
|
|
5971
|
+
return requireData(
|
|
5972
|
+
await arbi.fetch.POST("/v1/tag/entities/extract", {
|
|
5973
|
+
body: {
|
|
5974
|
+
doc_ext_ids: docIds,
|
|
5975
|
+
overwrite: options.overwrite ?? false,
|
|
5976
|
+
...options.kinds ? { kinds: options.kinds } : {}
|
|
5977
|
+
}
|
|
5978
|
+
}),
|
|
5979
|
+
"Failed to extract people and organisations"
|
|
5980
|
+
);
|
|
5981
|
+
}
|
|
5957
5982
|
async function setTagValues(arbi, tagId, values) {
|
|
5958
5983
|
return updateTag(arbi, tagId, { field_values: values });
|
|
5959
5984
|
}
|
|
@@ -9644,7 +9669,9 @@ var Arbi = class {
|
|
|
9644
9669
|
delete: (tagId) => deleteTag(this.requireClient(), tagId),
|
|
9645
9670
|
update: (tagId, change) => updateTag(this.requireClient(), tagId, change),
|
|
9646
9671
|
/** Merge-patch a tag's values for its kind's fields (`null` clears one). */
|
|
9647
|
-
setValues: (tagId, values) => setTagValues(this.requireClient(), tagId, values)
|
|
9672
|
+
setValues: (tagId, values) => setTagValues(this.requireClient(), tagId, values),
|
|
9673
|
+
/** Link the people and organisations these documents name (runs in the background). */
|
|
9674
|
+
extractEntities: (docIds, options) => extractEntities(this.requireClient(), docIds, options)
|
|
9648
9675
|
};
|
|
9649
9676
|
// ── Tag kinds: the workspace's fields per kind (a table's columns) ─────
|
|
9650
9677
|
tagKinds = {
|
|
@@ -11078,6 +11105,6 @@ async function startDmListener(options) {
|
|
|
11078
11105
|
};
|
|
11079
11106
|
}
|
|
11080
11107
|
|
|
11081
|
-
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, identityErrorCode, identity_exports as identityVerification, 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, usdToGbp, work_exports as work, workflow_steps_exports as workflowSteps, workflows_exports as workflows, workspaces_exports as workspaces };
|
|
11108
|
+
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, 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 };
|
|
11082
11109
|
//# sourceMappingURL=index.js.map
|
|
11083
11110
|
//# sourceMappingURL=index.js.map
|