@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/browser.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as AgentControlStateEvent, e as AgentStepDeltaEvent, f as AgentStepEvent, g as AppPassword, h as AppPasswordCreateBody, i as AppPasswordCreated, j as Arbi, k as ArbiApiError, l as ArbiError, m as ArbiErrorEvent, n as ArbiHostSession, o as ArbiOptions, q as ArtifactEvent, r as AttendeeRead, s as AuthContext, t as AuthHeaders, 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, P as ChatCryptoContext, Q as ChatKeyRing, R as ChatKind, S as ChatMemberKey, T as ChatMemberResponse, U as ChatMessageResponse, V as ChatResponse, W as ChatSession, X as CitationSummary, Y as CitationToolSources, Z as CliConfig, _ as CliCredentials, $ as CommandDescriptor, a0 as ConfigStore, a1 as ConnectOptions, a2 as ConversationResponse, a3 as ConversationUsageResponse, a4 as CreateFactRequest, a5 as CreateFactsRequest, a6 as CreateWorkRequest, a7 as CreateWorkflowRequest, a8 as DEFAULT_AI_USD_PER_GBP, aa as DateTimeSpec, ac as DecryptedChatMessage, ad as DeferredInterjectionEvent, af as DocumentAutomationAction, ai as DocumentSelector, al as EditScope, am as EventCreateBody, an as EventPatchBody, ao as FLAT_TAG_KINDS, ap as FactResponse, aq as FactSearchRequest, ar as FactSearchResponse, as as FeedCreateBody, at as FeedLevel, au as FindTimeParams, 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, aG as ListEventsParams, aH as ListFactsOptions, aK as MailDraftSSEEvent, 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, aX as ProbeAnswerEvent, 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, 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, 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, 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, c6 as UpdateFactRequest, 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, cu as assistant, cv as authenticatedFetch, cw as bookPublicSlot, cx as buildCitationChunkData, 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, 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, cZ as formatUserName, c_ as formatWorkspaceChoices, d3 as getErrorMessage, d4 as getPublicBookingPage, d5 as getRawWorkspaceKey, d6 as health, d8 as identityErrorCode, d7 as identityVerification,
|
|
1
|
+
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as AgentControlStateEvent, e as AgentStepDeltaEvent, f as AgentStepEvent, g as AppPassword, h as AppPasswordCreateBody, i as AppPasswordCreated, j as Arbi, k as ArbiApiError, l as ArbiError, m as ArbiErrorEvent, n as ArbiHostSession, o as ArbiOptions, q as ArtifactEvent, r as AttendeeRead, s as AuthContext, t as AuthHeaders, 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, P as ChatCryptoContext, Q as ChatKeyRing, R as ChatKind, S as ChatMemberKey, T as ChatMemberResponse, U as ChatMessageResponse, V as ChatResponse, W as ChatSession, X as CitationSummary, Y as CitationToolSources, Z as CliConfig, _ as CliCredentials, $ as CommandDescriptor, a0 as ConfigStore, a1 as ConnectOptions, a2 as ConversationResponse, a3 as ConversationUsageResponse, a4 as CreateFactRequest, a5 as CreateFactsRequest, a6 as CreateWorkRequest, a7 as CreateWorkflowRequest, a8 as DEFAULT_AI_USD_PER_GBP, aa as DateTimeSpec, ac as DecryptedChatMessage, ad as DeferredInterjectionEvent, af as DocumentAutomationAction, ai as DocumentSelector, al as EditScope, am as EventCreateBody, an as EventPatchBody, ao as FLAT_TAG_KINDS, ap as FactResponse, aq as FactSearchRequest, ar as FactSearchResponse, as as FeedCreateBody, at as FeedLevel, au as FindTimeParams, 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, aG as ListEventsParams, aH as ListFactsOptions, aK as MailDraftSSEEvent, 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, aX as ProbeAnswerEvent, 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, 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, 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, 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, c6 as UpdateFactRequest, 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, cu as assistant, cv as authenticatedFetch, cw as bookPublicSlot, cx as buildCitationChunkData, 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, 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, cZ as formatUserName, c_ as formatWorkspaceChoices, d3 as getErrorMessage, d4 as getPublicBookingPage, d5 as getRawWorkspaceKey, d6 as health, d8 as identityErrorCode, d7 as identityVerification, da as mail, db as notifications, dc as parseSSEEvents, dd as parseSlashCommand, de as parseSlashTokenInProgress, df as performPasswordLogin, 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, dw as splitAppPasswords, dx as streamSSE, dy as stripCitationMarkdown, dz as summarizeCitations, dA as tags, dC as usdToGbp, dD as work, dE as workflowSteps, dF as workflows, dG as workspaces } from './browser-DmkCooa-.cjs';
|
|
2
2
|
export { LoginProfile } from '@arbidocs/client';
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as AgentControlStateEvent, e as AgentStepDeltaEvent, f as AgentStepEvent, g as AppPassword, h as AppPasswordCreateBody, i as AppPasswordCreated, j as Arbi, k as ArbiApiError, l as ArbiError, m as ArbiErrorEvent, n as ArbiHostSession, o as ArbiOptions, q as ArtifactEvent, r as AttendeeRead, s as AuthContext, t as AuthHeaders, 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, P as ChatCryptoContext, Q as ChatKeyRing, R as ChatKind, S as ChatMemberKey, T as ChatMemberResponse, U as ChatMessageResponse, V as ChatResponse, W as ChatSession, X as CitationSummary, Y as CitationToolSources, Z as CliConfig, _ as CliCredentials, $ as CommandDescriptor, a0 as ConfigStore, a1 as ConnectOptions, a2 as ConversationResponse, a3 as ConversationUsageResponse, a4 as CreateFactRequest, a5 as CreateFactsRequest, a6 as CreateWorkRequest, a7 as CreateWorkflowRequest, a8 as DEFAULT_AI_USD_PER_GBP, aa as DateTimeSpec, ac as DecryptedChatMessage, ad as DeferredInterjectionEvent, af as DocumentAutomationAction, ai as DocumentSelector, al as EditScope, am as EventCreateBody, an as EventPatchBody, ao as FLAT_TAG_KINDS, ap as FactResponse, aq as FactSearchRequest, ar as FactSearchResponse, as as FeedCreateBody, at as FeedLevel, au as FindTimeParams, 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, aG as ListEventsParams, aH as ListFactsOptions, aK as MailDraftSSEEvent, 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, aX as ProbeAnswerEvent, 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, 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, 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, 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, c6 as UpdateFactRequest, 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, cu as assistant, cv as authenticatedFetch, cw as bookPublicSlot, cx as buildCitationChunkData, 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, 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, cZ as formatUserName, c_ as formatWorkspaceChoices, d3 as getErrorMessage, d4 as getPublicBookingPage, d5 as getRawWorkspaceKey, d6 as health, d8 as identityErrorCode, d7 as identityVerification,
|
|
1
|
+
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as AgentControlStateEvent, e as AgentStepDeltaEvent, f as AgentStepEvent, g as AppPassword, h as AppPasswordCreateBody, i as AppPasswordCreated, j as Arbi, k as ArbiApiError, l as ArbiError, m as ArbiErrorEvent, n as ArbiHostSession, o as ArbiOptions, q as ArtifactEvent, r as AttendeeRead, s as AuthContext, t as AuthHeaders, 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, P as ChatCryptoContext, Q as ChatKeyRing, R as ChatKind, S as ChatMemberKey, T as ChatMemberResponse, U as ChatMessageResponse, V as ChatResponse, W as ChatSession, X as CitationSummary, Y as CitationToolSources, Z as CliConfig, _ as CliCredentials, $ as CommandDescriptor, a0 as ConfigStore, a1 as ConnectOptions, a2 as ConversationResponse, a3 as ConversationUsageResponse, a4 as CreateFactRequest, a5 as CreateFactsRequest, a6 as CreateWorkRequest, a7 as CreateWorkflowRequest, a8 as DEFAULT_AI_USD_PER_GBP, aa as DateTimeSpec, ac as DecryptedChatMessage, ad as DeferredInterjectionEvent, af as DocumentAutomationAction, ai as DocumentSelector, al as EditScope, am as EventCreateBody, an as EventPatchBody, ao as FLAT_TAG_KINDS, ap as FactResponse, aq as FactSearchRequest, ar as FactSearchResponse, as as FeedCreateBody, at as FeedLevel, au as FindTimeParams, 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, aG as ListEventsParams, aH as ListFactsOptions, aK as MailDraftSSEEvent, 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, aX as ProbeAnswerEvent, 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, 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, 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, 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, c6 as UpdateFactRequest, 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, cu as assistant, cv as authenticatedFetch, cw as bookPublicSlot, cx as buildCitationChunkData, 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, 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, cZ as formatUserName, c_ as formatWorkspaceChoices, d3 as getErrorMessage, d4 as getPublicBookingPage, d5 as getRawWorkspaceKey, d6 as health, d8 as identityErrorCode, d7 as identityVerification, da as mail, db as notifications, dc as parseSSEEvents, dd as parseSlashCommand, de as parseSlashTokenInProgress, df as performPasswordLogin, 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, dw as splitAppPasswords, dx as streamSSE, dy as stripCitationMarkdown, dz as summarizeCitations, dA as tags, dC as usdToGbp, dD as work, dE as workflowSteps, dF as workflows, dG as workspaces } from './browser-DmkCooa-.js';
|
|
2
2
|
export { LoginProfile } from '@arbidocs/client';
|
package/dist/browser.js
CHANGED
|
@@ -5047,13 +5047,15 @@ __export(assistant_exports, {
|
|
|
5047
5047
|
buildRetrievalTocTool: () => buildRetrievalTocTool,
|
|
5048
5048
|
cancelAssistantRun: () => cancelAssistantRun,
|
|
5049
5049
|
filterSkills: () => filterSkills,
|
|
5050
|
+
isSharedSkill: () => isSharedSkill,
|
|
5050
5051
|
listCommands: () => listCommands,
|
|
5051
5052
|
listSkills: () => listSkills,
|
|
5052
5053
|
parseSlashCommand: () => parseSlashCommand,
|
|
5053
5054
|
parseSlashTokenInProgress: () => parseSlashTokenInProgress,
|
|
5054
5055
|
queryAssistant: () => queryAssistant,
|
|
5055
5056
|
respondToAgent: () => respondToAgent,
|
|
5056
|
-
retrieve: () => retrieve
|
|
5057
|
+
retrieve: () => retrieve,
|
|
5058
|
+
uploadSkill: () => uploadSkill
|
|
5057
5059
|
});
|
|
5058
5060
|
function buildRetrievalChunkTool(docIds, searchMode) {
|
|
5059
5061
|
return {
|
|
@@ -5181,6 +5183,16 @@ async function listSkills(arbi, options) {
|
|
|
5181
5183
|
);
|
|
5182
5184
|
return result.skills;
|
|
5183
5185
|
}
|
|
5186
|
+
function isSharedSkill(skill) {
|
|
5187
|
+
return skill.is_owner !== false && skill.visibility === "global";
|
|
5188
|
+
}
|
|
5189
|
+
function uploadSkill(auth, slug, markdown, options) {
|
|
5190
|
+
return uploadFile(auth, new Blob([markdown], { type: "text/markdown" }), "SKILL.md", {
|
|
5191
|
+
folder: `skills/${slug}`,
|
|
5192
|
+
wpType: "skill",
|
|
5193
|
+
shared: options?.shared ?? false
|
|
5194
|
+
});
|
|
5195
|
+
}
|
|
5184
5196
|
async function listCommands(arbi) {
|
|
5185
5197
|
const result = requireData(
|
|
5186
5198
|
await arbi.fetch.GET("/v1/assistant/commands", {}),
|
|
@@ -5307,6 +5319,7 @@ __export(tags_exports, {
|
|
|
5307
5319
|
TAG_KINDS: () => TAG_KINDS,
|
|
5308
5320
|
createTag: () => createTag,
|
|
5309
5321
|
deleteTag: () => deleteTag,
|
|
5322
|
+
extractEntities: () => extractEntities,
|
|
5310
5323
|
getTagKind: () => getTagKind,
|
|
5311
5324
|
kindFieldWrites: () => kindFieldWrites,
|
|
5312
5325
|
listTagKinds: () => listTagKinds,
|
|
@@ -5385,6 +5398,18 @@ async function updateTag(arbi, tagId, change) {
|
|
|
5385
5398
|
"Failed to update tag"
|
|
5386
5399
|
);
|
|
5387
5400
|
}
|
|
5401
|
+
async function extractEntities(arbi, docIds, options = {}) {
|
|
5402
|
+
return requireData(
|
|
5403
|
+
await arbi.fetch.POST("/v1/tag/entities/extract", {
|
|
5404
|
+
body: {
|
|
5405
|
+
doc_ext_ids: docIds,
|
|
5406
|
+
overwrite: options.overwrite ?? false,
|
|
5407
|
+
...options.kinds ? { kinds: options.kinds } : {}
|
|
5408
|
+
}
|
|
5409
|
+
}),
|
|
5410
|
+
"Failed to extract people and organisations"
|
|
5411
|
+
);
|
|
5412
|
+
}
|
|
5388
5413
|
async function setTagValues(arbi, tagId, values) {
|
|
5389
5414
|
return updateTag(arbi, tagId, { field_values: values });
|
|
5390
5415
|
}
|
|
@@ -9054,7 +9079,9 @@ var Arbi = class {
|
|
|
9054
9079
|
delete: (tagId) => deleteTag(this.requireClient(), tagId),
|
|
9055
9080
|
update: (tagId, change) => updateTag(this.requireClient(), tagId, change),
|
|
9056
9081
|
/** Merge-patch a tag's values for its kind's fields (`null` clears one). */
|
|
9057
|
-
setValues: (tagId, values) => setTagValues(this.requireClient(), tagId, values)
|
|
9082
|
+
setValues: (tagId, values) => setTagValues(this.requireClient(), tagId, values),
|
|
9083
|
+
/** Link the people and organisations these documents name (runs in the background). */
|
|
9084
|
+
extractEntities: (docIds, options) => extractEntities(this.requireClient(), docIds, options)
|
|
9058
9085
|
};
|
|
9059
9086
|
// ── Tag kinds: the workspace's fields per kind (a table's columns) ─────
|
|
9060
9087
|
tagKinds = {
|