@arbidocs/sdk 0.5.148 → 0.5.149
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-DKHZ8Q9X.d.ts → browser-BeaN-7Ro.d.ts} +200 -0
- package/dist/{browser-8ZBWzFtx.d.cts → browser-C-SMeI_V.d.cts} +200 -0
- package/dist/browser.cjs +36 -0
- 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 +36 -0
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +36 -0
- 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 +36 -0
- package/dist/index.js.map +1 -1
- package/examples/human-review/package.json +1 -1
- package/examples/react-chat/package.json +2 -2
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a8 as ConfigStore, a5 as CliConfig, a6 as CliCredentials, a2 as ChatSession, cM as SkippedFile, dG as UploadResult, x as AuthHeaders, dA as UploadBatchResult, dE as UploadOptions, dB as UploadDirectOptions, dC as UploadDirectResult, cA as SUPPORTED_EXTENSIONS, bp as MailAttachment, W as ChatCryptoContext } from './browser-
|
|
2
|
-
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, v as AttendeeRead, w as AuthContext, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a3 as CitationSummary, a4 as CitationToolSources, a7 as CommandDescriptor, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, ar as DOCUMENTS_VIEW_TARGET, as as DOC_TERMINAL_STATUSES, at as DRIVE_SYNC_VENDORS, au as Database, av as DatabaseAggregateRequest, aw as DatabaseAggregateResult, ax as DatabaseColumn, ay as DatabaseColumnWrite, az as DatabaseImportResult, aA as DatabaseRow, aB as DatabaseRowPage, aC as DatabaseRowsQuery, aD as DateTimeSpec, aE as DecryptedChat, aF as DecryptedChatMessage, aG as DeploymentHouseTemplate, aH as DiagnoseOptions, aI as DirectModelUsage, aJ as DocInfo, aK as DocInfoMap, aL as DocNameMap, aM as DocumentAutomationAction, aN as DocumentListFields, aO as DocumentListOrder, aP as DocumentSelector, aQ as DocumentWaiter, aR as DocumentWaiterOptions, aS as DriveSyncProgress, aT as DriveSyncSummary, aU as DuplicateContactError, aV as ENTITY_KINDS, aW as EditScope, aX as EntityKind, aY as EventCreateBody, aZ as EventPatchBody, a_ as FLAT_TAG_KINDS, b2 as FindTimeParams, b3 as FormattedWsMessage, b4 as FreeBusyEntry, b5 as FullContextSelection, b6 as GOOGLE_VENDORS, b7 as HolidayCountry, b8 as HouseTemplateCandidate, b9 as IMANAGE_VENDORS, ba as IdentityErrorCode, bb as IdentityPurchase, bc as IdentityState, bd as IdentityStatus, be as ImportResult, bf as InvitationRead, bg as JsonSchemaOutputFormat, bh as LinkedRun, bi as ListAllOptions, bj as ListEventsParams, bl as ListPaginatedOptions, bm as MAILBOX_SYNC_VENDORS, bn as MAX_RETRIEVE_DOC_IDS, bo as MICROSOFT_VENDORS, bq as MessageLevel, br as ModelConnection, bs as OAuthAccountKind, bt as OutputItemDone, bu as OverlayItem, bv as OverlayLayerName, bw as PRESENCE_KINDS, bx as PROMPT_CONTEXT_CHARS, by as Page, bz as PagePrivateContentError, bA as PageRecord, bB as PageSpecWire, bC as PageViewRef, bD as ParsedResponse, bE as ParsedSlashCommand, bF as ParsedStructuredResponse, bG as PendingAuthResponse, bH as PersonKey, bI as PersonalConnectionInput, bJ as PlanStepsError, bK as PlanWorkRequest, bL as ProductResponse, bM as ProjectAddonKind, bN as ProjectAddonSettingsRequest, bO as ProjectBudget, bP as ProjectCheckoutRequest, bQ as ProjectConversationUsageResponse, bR as ProjectCreateOptions, bS as ProjectDetails, bT as ProjectEventKind, bU as ProjectEventResponse, bV as ProjectInvoicesResponse, bW as ProjectNextPeriodAddonsRequest, bX as ProjectPlanChangeRequest, bY as ProjectQuoteRequest, bZ as ProjectResponse, b_ as ProjectUpdateRequest, b$ as ProjectUsageResponse, c0 as PublicBookingError, c1 as PublicBookingPage, c2 as QuotaExceeded, c3 as RaisedSignal, c4 as RawResponseEvent, c5 as ReconnectOptions, c6 as ReconnectableWsConnection, c7 as ResolvedCitation, c8 as ResolvedRecipient, c9 as RespondParams, ca as RespondPartstat, cb as Response, cc as ResponseCreateRequest, cd as ResponseCreateResult, ce as ResponseHandle, cf as ResponseSnapshot, cg as ResponseStart, ch as ResponseStartOptions, ci as ResponseStream, cj as ResponseStreamEvent, ck as ResponseTools, cl as RoomCreateBody, cm as RoomQuery, cn as RoomRead, co as RunProgress, cp as RunStats, cq as RunStep, cr as RunWaitingOn, cs as SHAREPOINT_VENDORS, ct as SSEEvent, cu as SSEStreamCallbacks, cv as SSEStreamOutcome, cw as SSEStreamResult, cx as STEP_FIELD_OPTION_TONES, cy as STOP_ID_WAIT_MS, cz as STOP_REPEAT_WINDOW_MS, cB as ScopedTarget, cC as SearchChunk, cD as SecureMailCompose, cE as SecureMailSend, cF as SecureMailSender, cG as SendBack, cH as SetupDiagnostic, cI as SetupReport, cJ as ShareRead, cK as ShareRole, cL as SkillSummary, cN as SlackConnectionStatus, cO as StepActionRequest, cP as StepActivityEvent, cQ as StepAssignee, cR as StepDisplay, cS as StepField, cT as StepFieldOption, cU as StepFieldOptionTone, cV as StepKind, cW as StepPhase, cX as StepSignal, cY as StepSignalWhen, cZ as StepState, c_ as StepStatus, c$ as SubagentBranchRecord, d0 as SubagentLaneInfo, d1 as SubmitBackgroundQueryOptions, d2 as SubscribeParams, d3 as SupportRating, d4 as SupportTicket, d5 as SupportTicketInput, d6 as SyncTriggerResult, d7 as TAG_KINDS, d8 as TAG_NESTING_MAX_DEPTH, d9 as TableViewFilter, da as TableViewRecord, db as TableViewSpec, dc as TableViewTarget, dd as TagChange, de as TagFieldDefinition, df as TagGroup, dg as TagKind, dh as TagKindField, di as TagKindSchema, dj as TagLinks, dk as TagListQuery, dl as TagNode, dm as TagResponse, dn as TagScope, dp as TagTreeRow, dq as TaskPlan, dr as TaskPlanStep, ds as TaxQuoteResponse, dt as Thread, du as ThreadsResponse, dv as TimeSuggestion, dw as TurnRequest, dx as UpdateConversationRequest, dz as UpdateWorkflowRequest, dD as UploadDocumentsOptions, dF as UploadProgressListener, dH as UsageBreakdown, dI as UserConnectorEntry, dJ as UserDailyUsageResponse, dK as UserInfo, dL as WebSocketAuthError, dM as WeeklyHoursSpec, dN as WorkStatus, dO as WorkflowAuthMode, dP as WorkflowResponse, dQ as WorkflowRunHistoryResponse, dR as WorkflowRunResponse, dS as WorkspaceConflict, dT as WorkspaceContext, dU as WorkspaceOpenResponse, dV as WorkspaceResponse, dW as WsConnection, dX as account, dY as agentconfig, dZ as agents, d_ as appendTranscriptionHints, d$ as assistant, e0 as authenticatedFetch, e1 as bookPublicSlot, e2 as buildCitationChunkData, e3 as buildDocNameMap, e4 as buildDocumentTools, e5 as buildFactsContextTool, e6 as buildRetrievalChunkTool, e7 as buildRetrievalFullContextTool, e8 as buildRetrievalTocTool, e9 as buildTurnRequest, ea as calendar, eb as calls, ec as canTagHaveParent, ed as cancelPublicBooking, ee as capabilities, ef as chats, eg as composeConfiguration, eh as composeTools, ei as computeRunStats, ej as connectErrorMessage, ek as connectWebSocket, el as connectWithReconnect, em as connectors, en as contacts, eo as continuityPrompt, ep as conversations, eq as countCitations, er as createAuthenticatedClient, es as createDocumentWaiter, et as createIndexAssigner, eu as databases, ev as defaultKindForFormat, ew as diagnoseSetup, ex as doctags, ey as documentTools, ez as documents, eA as estimateDraftTokens, eB as extractDocumentIdsFromMessages, eC as extractFactIdsFromMessages, eD as extractSubagentLanes, eE as facts, eF as files, eG as filterDocumentTags, eH as filterSkills, eI as filterText, eJ as findLeafForTaskMessage, eK as findMainSiblingLeaf, eL as findReplyTarget, eM as findSubagentRunId, eN as flattenTagTree, eO as formatAgentStepLabel, eP as formatFileSize, eQ as formatGbp, eR as formatGbpPerMillionTokens, eS as formatItemLabel, eT as formatStreamSummary, eU as formatTokens, eV as formatUserName, eW as formatWorkspaceChoices, eX as formatWsMessage, eY as generateEncryptedWorkspaceKey, eZ as generateNewWorkspaceKey, e_ as getAgentStepLabel, e$ as getAttachableRunId, f0 as getChildTags, f1 as getContextRemainingPercent, f2 as getContextUsedPercent, f3 as getContextUsedTokens, f4 as getCurrentStep, f5 as getEligibleParentTags, f6 as getErrorCode, f7 as getErrorMessage, f8 as getPublicBookingPage, f9 as getRawWorkspaceKey, fa as getRunToAttach, fb as getRunToCancel, fc as getStepDisplay, fd as getStepTool, fe as getSubagentBranchRecord, ff as getTagDescendantIds, fg as health, fh as houseTemplates, fi as hydrateAgentSteps, fk as identityErrorCode, fj as identityVerification, fl as instructions, fm as isAnnotationTag, fn as isConnectorVendorVisible, fo as isDriveSyncVendor, fp as isEntityTag, fq as isFlatKind, fr as isLabelTag, fs as isMailboxSyncVendor, ft as isNearAiUsageBudget, fu as isPresenceTag, fv as isSharePointVendor, fw as isSharedSkill, fx as isTraceItem, fy as mail, fz as mcpTools, fA as mergeAgentSteps, fB as modelConnections, fC as notifications, fD as pages, fE as parseSSEEvents, fF as parseSlashCommand, fG as parseSlashTokenInProgress, fH as parseStructuredResponse, fI as performPasswordLogin, fJ as performSigningKeyLogin, fK as performSsoDeviceFlowLogin, fL as pickMainThread, fM as profile, fN as progressFetch, fO as projects, fP as quotaExceededFrom, fQ as quotaFromStreamError, fR as reduceOutputItem, fS as refusalReason, fT as requireData, fU as requireOk, fV as resolveAuth, fW as resolveCitations, fX as resolveSummary, fY as resolveWorkspace, fZ as responses, f_ as searchChunks, f$ as secureMail, g0 as selectFullContextDocument, g1 as selectWorkspace, g2 as selectWorkspaceById, g3 as sessions, g4 as settings, g5 as signatureRequests, g6 as sliceToSubagentThread, g7 as streamSSE, g8 as stripCitationMarkdown, g9 as subagentJobLabel, ga as summarizeCitations, gb as support, gc as tagUseCount, gd as tags, ge as tagsForScope, gf as tagsOfGroup, gg as topLevelAgentSteps, gh as uploadSkill, gi as usdToGbp, gj as views, gk as work, gl as workflowSteps, gm as workflows, gn as workspaceAssistant, go as workspaceConflictOf, gp as workspaces, gq as wouldCreateTagCycle } from './browser-8ZBWzFtx.cjs';
|
|
1
|
+
import { a8 as ConfigStore, a5 as CliConfig, a6 as CliCredentials, a2 as ChatSession, cM as SkippedFile, dG as UploadResult, x as AuthHeaders, dA as UploadBatchResult, dE as UploadOptions, dB as UploadDirectOptions, dC as UploadDirectResult, cA as SUPPORTED_EXTENSIONS, bp as MailAttachment, W as ChatCryptoContext } from './browser-C-SMeI_V.cjs';
|
|
2
|
+
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, v as AttendeeRead, w as AuthContext, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a3 as CitationSummary, a4 as CitationToolSources, a7 as CommandDescriptor, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, ar as DOCUMENTS_VIEW_TARGET, as as DOC_TERMINAL_STATUSES, at as DRIVE_SYNC_VENDORS, au as Database, av as DatabaseAggregateRequest, aw as DatabaseAggregateResult, ax as DatabaseColumn, ay as DatabaseColumnWrite, az as DatabaseImportResult, aA as DatabaseRow, aB as DatabaseRowPage, aC as DatabaseRowsQuery, aD as DateTimeSpec, aE as DecryptedChat, aF as DecryptedChatMessage, aG as DeploymentHouseTemplate, aH as DiagnoseOptions, aI as DirectModelUsage, aJ as DocInfo, aK as DocInfoMap, aL as DocNameMap, aM as DocumentAutomationAction, aN as DocumentListFields, aO as DocumentListOrder, aP as DocumentSelector, aQ as DocumentWaiter, aR as DocumentWaiterOptions, aS as DriveSyncProgress, aT as DriveSyncSummary, aU as DuplicateContactError, aV as ENTITY_KINDS, aW as EditScope, aX as EntityKind, aY as EventCreateBody, aZ as EventPatchBody, a_ as FLAT_TAG_KINDS, b2 as FindTimeParams, b3 as FormattedWsMessage, b4 as FreeBusyEntry, b5 as FullContextSelection, b6 as GOOGLE_VENDORS, b7 as HolidayCountry, b8 as HouseTemplateCandidate, b9 as IMANAGE_VENDORS, ba as IdentityErrorCode, bb as IdentityPurchase, bc as IdentityState, bd as IdentityStatus, be as ImportResult, bf as InvitationRead, bg as JsonSchemaOutputFormat, bh as LinkedRun, bi as ListAllOptions, bj as ListEventsParams, bl as ListPaginatedOptions, bm as MAILBOX_SYNC_VENDORS, bn as MAX_RETRIEVE_DOC_IDS, bo as MICROSOFT_VENDORS, bq as MessageLevel, br as ModelConnection, bs as OAuthAccountKind, bt as OutputItemDone, bu as OverlayItem, bv as OverlayLayerName, bw as PRESENCE_KINDS, bx as PROMPT_CONTEXT_CHARS, by as Page, bz as PagePrivateContentError, bA as PageRecord, bB as PageSpecWire, bC as PageViewRef, bD as ParsedResponse, bE as ParsedSlashCommand, bF as ParsedStructuredResponse, bG as PendingAuthResponse, bH as PersonKey, bI as PersonalConnectionInput, bJ as PlanStepsError, bK as PlanWorkRequest, bL as ProductResponse, bM as ProjectAddonKind, bN as ProjectAddonSettingsRequest, bO as ProjectBudget, bP as ProjectCheckoutRequest, bQ as ProjectConversationUsageResponse, bR as ProjectCreateOptions, bS as ProjectDetails, bT as ProjectEventKind, bU as ProjectEventResponse, bV as ProjectInvoicesResponse, bW as ProjectNextPeriodAddonsRequest, bX as ProjectPlanChangeRequest, bY as ProjectQuoteRequest, bZ as ProjectResponse, b_ as ProjectUpdateRequest, b$ as ProjectUsageResponse, c0 as PublicBookingError, c1 as PublicBookingPage, c2 as QuotaExceeded, c3 as RaisedSignal, c4 as RawResponseEvent, c5 as ReconnectOptions, c6 as ReconnectableWsConnection, c7 as ResolvedCitation, c8 as ResolvedRecipient, c9 as RespondParams, ca as RespondPartstat, cb as Response, cc as ResponseCreateRequest, cd as ResponseCreateResult, ce as ResponseHandle, cf as ResponseSnapshot, cg as ResponseStart, ch as ResponseStartOptions, ci as ResponseStream, cj as ResponseStreamEvent, ck as ResponseTools, cl as RoomCreateBody, cm as RoomQuery, cn as RoomRead, co as RunProgress, cp as RunStats, cq as RunStep, cr as RunWaitingOn, cs as SHAREPOINT_VENDORS, ct as SSEEvent, cu as SSEStreamCallbacks, cv as SSEStreamOutcome, cw as SSEStreamResult, cx as STEP_FIELD_OPTION_TONES, cy as STOP_ID_WAIT_MS, cz as STOP_REPEAT_WINDOW_MS, cB as ScopedTarget, cC as SearchChunk, cD as SecureMailCompose, cE as SecureMailSend, cF as SecureMailSender, cG as SendBack, cH as SetupDiagnostic, cI as SetupReport, cJ as ShareRead, cK as ShareRole, cL as SkillSummary, cN as SlackConnectionStatus, cO as StepActionRequest, cP as StepActivityEvent, cQ as StepAssignee, cR as StepDisplay, cS as StepField, cT as StepFieldOption, cU as StepFieldOptionTone, cV as StepKind, cW as StepPhase, cX as StepSignal, cY as StepSignalWhen, cZ as StepState, c_ as StepStatus, c$ as SubagentBranchRecord, d0 as SubagentLaneInfo, d1 as SubmitBackgroundQueryOptions, d2 as SubscribeParams, d3 as SupportRating, d4 as SupportTicket, d5 as SupportTicketInput, d6 as SyncTriggerResult, d7 as TAG_KINDS, d8 as TAG_NESTING_MAX_DEPTH, d9 as TableViewFilter, da as TableViewRecord, db as TableViewSpec, dc as TableViewTarget, dd as TagChange, de as TagFieldDefinition, df as TagGroup, dg as TagKind, dh as TagKindField, di as TagKindSchema, dj as TagLinks, dk as TagListQuery, dl as TagNode, dm as TagResponse, dn as TagScope, dp as TagTreeRow, dq as TaskPlan, dr as TaskPlanStep, ds as TaxQuoteResponse, dt as Thread, du as ThreadsResponse, dv as TimeSuggestion, dw as TurnRequest, dx as UpdateConversationRequest, dz as UpdateWorkflowRequest, dD as UploadDocumentsOptions, dF as UploadProgressListener, dH as UsageBreakdown, dI as UserConnectorEntry, dJ as UserDailyUsageResponse, dK as UserInfo, dL as WebSocketAuthError, dM as WeeklyHoursSpec, dN as WorkStatus, dO as WorkflowAuthMode, dP as WorkflowResponse, dQ as WorkflowRunHistoryResponse, dR as WorkflowRunResponse, dS as WorkspaceConflict, dT as WorkspaceContext, dU as WorkspaceOpenResponse, dV as WorkspaceResponse, dW as WsConnection, dX as account, dY as agentconfig, dZ as agents, d_ as appendTranscriptionHints, d$ as assistant, e0 as authenticatedFetch, e1 as bookPublicSlot, e2 as buildCitationChunkData, e3 as buildDocNameMap, e4 as buildDocumentTools, e5 as buildFactsContextTool, e6 as buildRetrievalChunkTool, e7 as buildRetrievalFullContextTool, e8 as buildRetrievalTocTool, e9 as buildTurnRequest, ea as calendar, eb as calls, ec as canTagHaveParent, ed as cancelPublicBooking, ee as capabilities, ef as chats, eg as composeConfiguration, eh as composeTools, ei as computeRunStats, ej as connectErrorMessage, ek as connectWebSocket, el as connectWithReconnect, em as connectors, en as contacts, eo as continuityPrompt, ep as conversations, eq as countCitations, er as createAuthenticatedClient, es as createDocumentWaiter, et as createIndexAssigner, eu as databases, ev as defaultKindForFormat, ew as diagnoseSetup, ex as doctags, ey as documentTools, ez as documents, eA as estimateDraftTokens, eB as extractDocumentIdsFromMessages, eC as extractFactIdsFromMessages, eD as extractSubagentLanes, eE as facts, eF as files, eG as filterDocumentTags, eH as filterSkills, eI as filterText, eJ as findLeafForTaskMessage, eK as findMainSiblingLeaf, eL as findReplyTarget, eM as findSubagentRunId, eN as flattenTagTree, eO as formatAgentStepLabel, eP as formatFileSize, eQ as formatGbp, eR as formatGbpPerMillionTokens, eS as formatItemLabel, eT as formatStreamSummary, eU as formatTokens, eV as formatUserName, eW as formatWorkspaceChoices, eX as formatWsMessage, eY as generateEncryptedWorkspaceKey, eZ as generateNewWorkspaceKey, e_ as getAgentStepLabel, e$ as getAttachableRunId, f0 as getChildTags, f1 as getContextRemainingPercent, f2 as getContextUsedPercent, f3 as getContextUsedTokens, f4 as getCurrentStep, f5 as getEligibleParentTags, f6 as getErrorCode, f7 as getErrorMessage, f8 as getPublicBookingPage, f9 as getRawWorkspaceKey, fa as getRunToAttach, fb as getRunToCancel, fc as getStepDisplay, fd as getStepTool, fe as getSubagentBranchRecord, ff as getTagDescendantIds, fg as health, fh as houseTemplates, fi as hydrateAgentSteps, fk as identityErrorCode, fj as identityVerification, fl as instructions, fm as isAnnotationTag, fn as isConnectorVendorVisible, fo as isDriveSyncVendor, fp as isEntityTag, fq as isFlatKind, fr as isLabelTag, fs as isMailboxSyncVendor, ft as isNearAiUsageBudget, fu as isPresenceTag, fv as isSharePointVendor, fw as isSharedSkill, fx as isTraceItem, fy as mail, fz as mcpTools, fA as mergeAgentSteps, fB as modelConnections, fC as notifications, fD as pages, fE as parseSSEEvents, fF as parseSlashCommand, fG as parseSlashTokenInProgress, fH as parseStructuredResponse, fI as performPasswordLogin, fJ as performSigningKeyLogin, fK as performSsoDeviceFlowLogin, fL as pickMainThread, fM as profile, fN as progressFetch, fO as projects, fP as quotaExceededFrom, fQ as quotaFromStreamError, fR as reduceOutputItem, fS as refusalReason, fT as requireData, fU as requireOk, fV as resolveAuth, fW as resolveCitations, fX as resolveSummary, fY as resolveWorkspace, fZ as responses, f_ as searchChunks, f$ as secureMail, g0 as selectFullContextDocument, g1 as selectWorkspace, g2 as selectWorkspaceById, g3 as sessions, g4 as settings, g5 as signatureRequests, g6 as sliceToSubagentThread, g7 as streamSSE, g8 as stripCitationMarkdown, g9 as subagentJobLabel, ga as summarizeCitations, gb as support, gc as tagUseCount, gd as tags, ge as tagsForScope, gf as tagsOfGroup, gg as topLevelAgentSteps, gh as uploadSkill, gi as usdToGbp, gj as views, gk as work, gl as workflowSteps, gm as workflows, gn as workspaceAssistant, go as workspaceConflictOf, gp as workspaces, gq as wouldCreateTagCycle } from './browser-C-SMeI_V.cjs';
|
|
3
3
|
import { SessionPersistence, ArbiClient, components } from '@arbidocs/client';
|
|
4
4
|
export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
|
|
5
5
|
export { b as AgentStepEvent, d as ArtifactEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, R as ResponseCompletedEvent, g as ResponseContentPartAddedEvent, h as ResponseCreatedEvent, i as ResponseFailedEvent, j as ResponseOutputItemAddedEvent, k as ResponseOutputItemDoneEvent, l as ResponseOutputTextDeltaEvent, m as ResponseOutputTextDoneEvent, n as ResponseUsage, S as SSEStreamStartData, T as TokenBudgetContext, U as UserInputRequestEvent, o as UserMessageEvent } from './sse-types-B5Lw0KTC.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a8 as ConfigStore, a5 as CliConfig, a6 as CliCredentials, a2 as ChatSession, cM as SkippedFile, dG as UploadResult, x as AuthHeaders, dA as UploadBatchResult, dE as UploadOptions, dB as UploadDirectOptions, dC as UploadDirectResult, cA as SUPPORTED_EXTENSIONS, bp as MailAttachment, W as ChatCryptoContext } from './browser-
|
|
2
|
-
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, v as AttendeeRead, w as AuthContext, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a3 as CitationSummary, a4 as CitationToolSources, a7 as CommandDescriptor, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, ar as DOCUMENTS_VIEW_TARGET, as as DOC_TERMINAL_STATUSES, at as DRIVE_SYNC_VENDORS, au as Database, av as DatabaseAggregateRequest, aw as DatabaseAggregateResult, ax as DatabaseColumn, ay as DatabaseColumnWrite, az as DatabaseImportResult, aA as DatabaseRow, aB as DatabaseRowPage, aC as DatabaseRowsQuery, aD as DateTimeSpec, aE as DecryptedChat, aF as DecryptedChatMessage, aG as DeploymentHouseTemplate, aH as DiagnoseOptions, aI as DirectModelUsage, aJ as DocInfo, aK as DocInfoMap, aL as DocNameMap, aM as DocumentAutomationAction, aN as DocumentListFields, aO as DocumentListOrder, aP as DocumentSelector, aQ as DocumentWaiter, aR as DocumentWaiterOptions, aS as DriveSyncProgress, aT as DriveSyncSummary, aU as DuplicateContactError, aV as ENTITY_KINDS, aW as EditScope, aX as EntityKind, aY as EventCreateBody, aZ as EventPatchBody, a_ as FLAT_TAG_KINDS, b2 as FindTimeParams, b3 as FormattedWsMessage, b4 as FreeBusyEntry, b5 as FullContextSelection, b6 as GOOGLE_VENDORS, b7 as HolidayCountry, b8 as HouseTemplateCandidate, b9 as IMANAGE_VENDORS, ba as IdentityErrorCode, bb as IdentityPurchase, bc as IdentityState, bd as IdentityStatus, be as ImportResult, bf as InvitationRead, bg as JsonSchemaOutputFormat, bh as LinkedRun, bi as ListAllOptions, bj as ListEventsParams, bl as ListPaginatedOptions, bm as MAILBOX_SYNC_VENDORS, bn as MAX_RETRIEVE_DOC_IDS, bo as MICROSOFT_VENDORS, bq as MessageLevel, br as ModelConnection, bs as OAuthAccountKind, bt as OutputItemDone, bu as OverlayItem, bv as OverlayLayerName, bw as PRESENCE_KINDS, bx as PROMPT_CONTEXT_CHARS, by as Page, bz as PagePrivateContentError, bA as PageRecord, bB as PageSpecWire, bC as PageViewRef, bD as ParsedResponse, bE as ParsedSlashCommand, bF as ParsedStructuredResponse, bG as PendingAuthResponse, bH as PersonKey, bI as PersonalConnectionInput, bJ as PlanStepsError, bK as PlanWorkRequest, bL as ProductResponse, bM as ProjectAddonKind, bN as ProjectAddonSettingsRequest, bO as ProjectBudget, bP as ProjectCheckoutRequest, bQ as ProjectConversationUsageResponse, bR as ProjectCreateOptions, bS as ProjectDetails, bT as ProjectEventKind, bU as ProjectEventResponse, bV as ProjectInvoicesResponse, bW as ProjectNextPeriodAddonsRequest, bX as ProjectPlanChangeRequest, bY as ProjectQuoteRequest, bZ as ProjectResponse, b_ as ProjectUpdateRequest, b$ as ProjectUsageResponse, c0 as PublicBookingError, c1 as PublicBookingPage, c2 as QuotaExceeded, c3 as RaisedSignal, c4 as RawResponseEvent, c5 as ReconnectOptions, c6 as ReconnectableWsConnection, c7 as ResolvedCitation, c8 as ResolvedRecipient, c9 as RespondParams, ca as RespondPartstat, cb as Response, cc as ResponseCreateRequest, cd as ResponseCreateResult, ce as ResponseHandle, cf as ResponseSnapshot, cg as ResponseStart, ch as ResponseStartOptions, ci as ResponseStream, cj as ResponseStreamEvent, ck as ResponseTools, cl as RoomCreateBody, cm as RoomQuery, cn as RoomRead, co as RunProgress, cp as RunStats, cq as RunStep, cr as RunWaitingOn, cs as SHAREPOINT_VENDORS, ct as SSEEvent, cu as SSEStreamCallbacks, cv as SSEStreamOutcome, cw as SSEStreamResult, cx as STEP_FIELD_OPTION_TONES, cy as STOP_ID_WAIT_MS, cz as STOP_REPEAT_WINDOW_MS, cB as ScopedTarget, cC as SearchChunk, cD as SecureMailCompose, cE as SecureMailSend, cF as SecureMailSender, cG as SendBack, cH as SetupDiagnostic, cI as SetupReport, cJ as ShareRead, cK as ShareRole, cL as SkillSummary, cN as SlackConnectionStatus, cO as StepActionRequest, cP as StepActivityEvent, cQ as StepAssignee, cR as StepDisplay, cS as StepField, cT as StepFieldOption, cU as StepFieldOptionTone, cV as StepKind, cW as StepPhase, cX as StepSignal, cY as StepSignalWhen, cZ as StepState, c_ as StepStatus, c$ as SubagentBranchRecord, d0 as SubagentLaneInfo, d1 as SubmitBackgroundQueryOptions, d2 as SubscribeParams, d3 as SupportRating, d4 as SupportTicket, d5 as SupportTicketInput, d6 as SyncTriggerResult, d7 as TAG_KINDS, d8 as TAG_NESTING_MAX_DEPTH, d9 as TableViewFilter, da as TableViewRecord, db as TableViewSpec, dc as TableViewTarget, dd as TagChange, de as TagFieldDefinition, df as TagGroup, dg as TagKind, dh as TagKindField, di as TagKindSchema, dj as TagLinks, dk as TagListQuery, dl as TagNode, dm as TagResponse, dn as TagScope, dp as TagTreeRow, dq as TaskPlan, dr as TaskPlanStep, ds as TaxQuoteResponse, dt as Thread, du as ThreadsResponse, dv as TimeSuggestion, dw as TurnRequest, dx as UpdateConversationRequest, dz as UpdateWorkflowRequest, dD as UploadDocumentsOptions, dF as UploadProgressListener, dH as UsageBreakdown, dI as UserConnectorEntry, dJ as UserDailyUsageResponse, dK as UserInfo, dL as WebSocketAuthError, dM as WeeklyHoursSpec, dN as WorkStatus, dO as WorkflowAuthMode, dP as WorkflowResponse, dQ as WorkflowRunHistoryResponse, dR as WorkflowRunResponse, dS as WorkspaceConflict, dT as WorkspaceContext, dU as WorkspaceOpenResponse, dV as WorkspaceResponse, dW as WsConnection, dX as account, dY as agentconfig, dZ as agents, d_ as appendTranscriptionHints, d$ as assistant, e0 as authenticatedFetch, e1 as bookPublicSlot, e2 as buildCitationChunkData, e3 as buildDocNameMap, e4 as buildDocumentTools, e5 as buildFactsContextTool, e6 as buildRetrievalChunkTool, e7 as buildRetrievalFullContextTool, e8 as buildRetrievalTocTool, e9 as buildTurnRequest, ea as calendar, eb as calls, ec as canTagHaveParent, ed as cancelPublicBooking, ee as capabilities, ef as chats, eg as composeConfiguration, eh as composeTools, ei as computeRunStats, ej as connectErrorMessage, ek as connectWebSocket, el as connectWithReconnect, em as connectors, en as contacts, eo as continuityPrompt, ep as conversations, eq as countCitations, er as createAuthenticatedClient, es as createDocumentWaiter, et as createIndexAssigner, eu as databases, ev as defaultKindForFormat, ew as diagnoseSetup, ex as doctags, ey as documentTools, ez as documents, eA as estimateDraftTokens, eB as extractDocumentIdsFromMessages, eC as extractFactIdsFromMessages, eD as extractSubagentLanes, eE as facts, eF as files, eG as filterDocumentTags, eH as filterSkills, eI as filterText, eJ as findLeafForTaskMessage, eK as findMainSiblingLeaf, eL as findReplyTarget, eM as findSubagentRunId, eN as flattenTagTree, eO as formatAgentStepLabel, eP as formatFileSize, eQ as formatGbp, eR as formatGbpPerMillionTokens, eS as formatItemLabel, eT as formatStreamSummary, eU as formatTokens, eV as formatUserName, eW as formatWorkspaceChoices, eX as formatWsMessage, eY as generateEncryptedWorkspaceKey, eZ as generateNewWorkspaceKey, e_ as getAgentStepLabel, e$ as getAttachableRunId, f0 as getChildTags, f1 as getContextRemainingPercent, f2 as getContextUsedPercent, f3 as getContextUsedTokens, f4 as getCurrentStep, f5 as getEligibleParentTags, f6 as getErrorCode, f7 as getErrorMessage, f8 as getPublicBookingPage, f9 as getRawWorkspaceKey, fa as getRunToAttach, fb as getRunToCancel, fc as getStepDisplay, fd as getStepTool, fe as getSubagentBranchRecord, ff as getTagDescendantIds, fg as health, fh as houseTemplates, fi as hydrateAgentSteps, fk as identityErrorCode, fj as identityVerification, fl as instructions, fm as isAnnotationTag, fn as isConnectorVendorVisible, fo as isDriveSyncVendor, fp as isEntityTag, fq as isFlatKind, fr as isLabelTag, fs as isMailboxSyncVendor, ft as isNearAiUsageBudget, fu as isPresenceTag, fv as isSharePointVendor, fw as isSharedSkill, fx as isTraceItem, fy as mail, fz as mcpTools, fA as mergeAgentSteps, fB as modelConnections, fC as notifications, fD as pages, fE as parseSSEEvents, fF as parseSlashCommand, fG as parseSlashTokenInProgress, fH as parseStructuredResponse, fI as performPasswordLogin, fJ as performSigningKeyLogin, fK as performSsoDeviceFlowLogin, fL as pickMainThread, fM as profile, fN as progressFetch, fO as projects, fP as quotaExceededFrom, fQ as quotaFromStreamError, fR as reduceOutputItem, fS as refusalReason, fT as requireData, fU as requireOk, fV as resolveAuth, fW as resolveCitations, fX as resolveSummary, fY as resolveWorkspace, fZ as responses, f_ as searchChunks, f$ as secureMail, g0 as selectFullContextDocument, g1 as selectWorkspace, g2 as selectWorkspaceById, g3 as sessions, g4 as settings, g5 as signatureRequests, g6 as sliceToSubagentThread, g7 as streamSSE, g8 as stripCitationMarkdown, g9 as subagentJobLabel, ga as summarizeCitations, gb as support, gc as tagUseCount, gd as tags, ge as tagsForScope, gf as tagsOfGroup, gg as topLevelAgentSteps, gh as uploadSkill, gi as usdToGbp, gj as views, gk as work, gl as workflowSteps, gm as workflows, gn as workspaceAssistant, go as workspaceConflictOf, gp as workspaces, gq as wouldCreateTagCycle } from './browser-DKHZ8Q9X.js';
|
|
1
|
+
import { a8 as ConfigStore, a5 as CliConfig, a6 as CliCredentials, a2 as ChatSession, cM as SkippedFile, dG as UploadResult, x as AuthHeaders, dA as UploadBatchResult, dE as UploadOptions, dB as UploadDirectOptions, dC as UploadDirectResult, cA as SUPPORTED_EXTENSIONS, bp as MailAttachment, W as ChatCryptoContext } from './browser-BeaN-7Ro.js';
|
|
2
|
+
export { A as ACCOUNT_VENDOR, a as AccountSyncResult, b as ActivityKind, c as ActivityResponse, d as Arbi, e as ArbiApiError, f as ArbiError, g as ArbiErrorOptions, h as ArbiHostSession, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArbiStructuredOutputError, l as ArbiTransportError, m as ArbiWorkspaceChangedError, n as ArbiWorkspaceSupersededError, o as ArbiWorkspaceUnavailableError, p as AskHandlers, q as AskRequest, r as AssistantArrival, s as AssistantBrief, t as AssistantBriefInput, v as AttendeeRead, w as AuthContext, y as AuthMode, z as AuthenticatedClient, B as BookingConfirmation, C as BookingPage, D as BookingPageWriteBody, E as BookingRequestBody, F as BridgeTokensOptions, G as CalDavConnectBody, H as CalDavProfile, I as CalendarAccount, J as CalendarAccountKind, K as CalendarCreateBody, L as CalendarEvent, M as CalendarKeys, N as CalendarRead, O as CalendarSettings, P as CalendarSettingsBody, Q as CalendarUpdate, R as CalendarWindow, S as CallApiError, T as Capabilities, U as ChatAttachmentFile, V as ChatAttachmentInput, X as ChatKeyRing, Y as ChatKind, Z as ChatMemberKey, _ as ChatMemberResponse, $ as ChatMessage, a0 as ChatMessageResponse, a1 as ChatResponse, a3 as CitationSummary, a4 as CitationToolSources, a7 as CommandDescriptor, a9 as Configuration, aa as ConfigurationPatch, ab as ConnectOptions, ac as ConnectionModel, ad as ConnectorCatalogEntry, ae as ConnectorFolder, af as ConnectorSyncProgress, ag as ConnectorSyncStatus, ah as ConnectorVendorKey, ai as ConnectorVisibilitySettings, aj as ContextUsage, ak as ConversationResponse, al as ConversationUsageResponse, ao as CreateWorkRequest, ap as CreateWorkflowRequest, aq as DEFAULT_AI_USD_PER_GBP, ar as DOCUMENTS_VIEW_TARGET, as as DOC_TERMINAL_STATUSES, at as DRIVE_SYNC_VENDORS, au as Database, av as DatabaseAggregateRequest, aw as DatabaseAggregateResult, ax as DatabaseColumn, ay as DatabaseColumnWrite, az as DatabaseImportResult, aA as DatabaseRow, aB as DatabaseRowPage, aC as DatabaseRowsQuery, aD as DateTimeSpec, aE as DecryptedChat, aF as DecryptedChatMessage, aG as DeploymentHouseTemplate, aH as DiagnoseOptions, aI as DirectModelUsage, aJ as DocInfo, aK as DocInfoMap, aL as DocNameMap, aM as DocumentAutomationAction, aN as DocumentListFields, aO as DocumentListOrder, aP as DocumentSelector, aQ as DocumentWaiter, aR as DocumentWaiterOptions, aS as DriveSyncProgress, aT as DriveSyncSummary, aU as DuplicateContactError, aV as ENTITY_KINDS, aW as EditScope, aX as EntityKind, aY as EventCreateBody, aZ as EventPatchBody, a_ as FLAT_TAG_KINDS, b2 as FindTimeParams, b3 as FormattedWsMessage, b4 as FreeBusyEntry, b5 as FullContextSelection, b6 as GOOGLE_VENDORS, b7 as HolidayCountry, b8 as HouseTemplateCandidate, b9 as IMANAGE_VENDORS, ba as IdentityErrorCode, bb as IdentityPurchase, bc as IdentityState, bd as IdentityStatus, be as ImportResult, bf as InvitationRead, bg as JsonSchemaOutputFormat, bh as LinkedRun, bi as ListAllOptions, bj as ListEventsParams, bl as ListPaginatedOptions, bm as MAILBOX_SYNC_VENDORS, bn as MAX_RETRIEVE_DOC_IDS, bo as MICROSOFT_VENDORS, bq as MessageLevel, br as ModelConnection, bs as OAuthAccountKind, bt as OutputItemDone, bu as OverlayItem, bv as OverlayLayerName, bw as PRESENCE_KINDS, bx as PROMPT_CONTEXT_CHARS, by as Page, bz as PagePrivateContentError, bA as PageRecord, bB as PageSpecWire, bC as PageViewRef, bD as ParsedResponse, bE as ParsedSlashCommand, bF as ParsedStructuredResponse, bG as PendingAuthResponse, bH as PersonKey, bI as PersonalConnectionInput, bJ as PlanStepsError, bK as PlanWorkRequest, bL as ProductResponse, bM as ProjectAddonKind, bN as ProjectAddonSettingsRequest, bO as ProjectBudget, bP as ProjectCheckoutRequest, bQ as ProjectConversationUsageResponse, bR as ProjectCreateOptions, bS as ProjectDetails, bT as ProjectEventKind, bU as ProjectEventResponse, bV as ProjectInvoicesResponse, bW as ProjectNextPeriodAddonsRequest, bX as ProjectPlanChangeRequest, bY as ProjectQuoteRequest, bZ as ProjectResponse, b_ as ProjectUpdateRequest, b$ as ProjectUsageResponse, c0 as PublicBookingError, c1 as PublicBookingPage, c2 as QuotaExceeded, c3 as RaisedSignal, c4 as RawResponseEvent, c5 as ReconnectOptions, c6 as ReconnectableWsConnection, c7 as ResolvedCitation, c8 as ResolvedRecipient, c9 as RespondParams, ca as RespondPartstat, cb as Response, cc as ResponseCreateRequest, cd as ResponseCreateResult, ce as ResponseHandle, cf as ResponseSnapshot, cg as ResponseStart, ch as ResponseStartOptions, ci as ResponseStream, cj as ResponseStreamEvent, ck as ResponseTools, cl as RoomCreateBody, cm as RoomQuery, cn as RoomRead, co as RunProgress, cp as RunStats, cq as RunStep, cr as RunWaitingOn, cs as SHAREPOINT_VENDORS, ct as SSEEvent, cu as SSEStreamCallbacks, cv as SSEStreamOutcome, cw as SSEStreamResult, cx as STEP_FIELD_OPTION_TONES, cy as STOP_ID_WAIT_MS, cz as STOP_REPEAT_WINDOW_MS, cB as ScopedTarget, cC as SearchChunk, cD as SecureMailCompose, cE as SecureMailSend, cF as SecureMailSender, cG as SendBack, cH as SetupDiagnostic, cI as SetupReport, cJ as ShareRead, cK as ShareRole, cL as SkillSummary, cN as SlackConnectionStatus, cO as StepActionRequest, cP as StepActivityEvent, cQ as StepAssignee, cR as StepDisplay, cS as StepField, cT as StepFieldOption, cU as StepFieldOptionTone, cV as StepKind, cW as StepPhase, cX as StepSignal, cY as StepSignalWhen, cZ as StepState, c_ as StepStatus, c$ as SubagentBranchRecord, d0 as SubagentLaneInfo, d1 as SubmitBackgroundQueryOptions, d2 as SubscribeParams, d3 as SupportRating, d4 as SupportTicket, d5 as SupportTicketInput, d6 as SyncTriggerResult, d7 as TAG_KINDS, d8 as TAG_NESTING_MAX_DEPTH, d9 as TableViewFilter, da as TableViewRecord, db as TableViewSpec, dc as TableViewTarget, dd as TagChange, de as TagFieldDefinition, df as TagGroup, dg as TagKind, dh as TagKindField, di as TagKindSchema, dj as TagLinks, dk as TagListQuery, dl as TagNode, dm as TagResponse, dn as TagScope, dp as TagTreeRow, dq as TaskPlan, dr as TaskPlanStep, ds as TaxQuoteResponse, dt as Thread, du as ThreadsResponse, dv as TimeSuggestion, dw as TurnRequest, dx as UpdateConversationRequest, dz as UpdateWorkflowRequest, dD as UploadDocumentsOptions, dF as UploadProgressListener, dH as UsageBreakdown, dI as UserConnectorEntry, dJ as UserDailyUsageResponse, dK as UserInfo, dL as WebSocketAuthError, dM as WeeklyHoursSpec, dN as WorkStatus, dO as WorkflowAuthMode, dP as WorkflowResponse, dQ as WorkflowRunHistoryResponse, dR as WorkflowRunResponse, dS as WorkspaceConflict, dT as WorkspaceContext, dU as WorkspaceOpenResponse, dV as WorkspaceResponse, dW as WsConnection, dX as account, dY as agentconfig, dZ as agents, d_ as appendTranscriptionHints, d$ as assistant, e0 as authenticatedFetch, e1 as bookPublicSlot, e2 as buildCitationChunkData, e3 as buildDocNameMap, e4 as buildDocumentTools, e5 as buildFactsContextTool, e6 as buildRetrievalChunkTool, e7 as buildRetrievalFullContextTool, e8 as buildRetrievalTocTool, e9 as buildTurnRequest, ea as calendar, eb as calls, ec as canTagHaveParent, ed as cancelPublicBooking, ee as capabilities, ef as chats, eg as composeConfiguration, eh as composeTools, ei as computeRunStats, ej as connectErrorMessage, ek as connectWebSocket, el as connectWithReconnect, em as connectors, en as contacts, eo as continuityPrompt, ep as conversations, eq as countCitations, er as createAuthenticatedClient, es as createDocumentWaiter, et as createIndexAssigner, eu as databases, ev as defaultKindForFormat, ew as diagnoseSetup, ex as doctags, ey as documentTools, ez as documents, eA as estimateDraftTokens, eB as extractDocumentIdsFromMessages, eC as extractFactIdsFromMessages, eD as extractSubagentLanes, eE as facts, eF as files, eG as filterDocumentTags, eH as filterSkills, eI as filterText, eJ as findLeafForTaskMessage, eK as findMainSiblingLeaf, eL as findReplyTarget, eM as findSubagentRunId, eN as flattenTagTree, eO as formatAgentStepLabel, eP as formatFileSize, eQ as formatGbp, eR as formatGbpPerMillionTokens, eS as formatItemLabel, eT as formatStreamSummary, eU as formatTokens, eV as formatUserName, eW as formatWorkspaceChoices, eX as formatWsMessage, eY as generateEncryptedWorkspaceKey, eZ as generateNewWorkspaceKey, e_ as getAgentStepLabel, e$ as getAttachableRunId, f0 as getChildTags, f1 as getContextRemainingPercent, f2 as getContextUsedPercent, f3 as getContextUsedTokens, f4 as getCurrentStep, f5 as getEligibleParentTags, f6 as getErrorCode, f7 as getErrorMessage, f8 as getPublicBookingPage, f9 as getRawWorkspaceKey, fa as getRunToAttach, fb as getRunToCancel, fc as getStepDisplay, fd as getStepTool, fe as getSubagentBranchRecord, ff as getTagDescendantIds, fg as health, fh as houseTemplates, fi as hydrateAgentSteps, fk as identityErrorCode, fj as identityVerification, fl as instructions, fm as isAnnotationTag, fn as isConnectorVendorVisible, fo as isDriveSyncVendor, fp as isEntityTag, fq as isFlatKind, fr as isLabelTag, fs as isMailboxSyncVendor, ft as isNearAiUsageBudget, fu as isPresenceTag, fv as isSharePointVendor, fw as isSharedSkill, fx as isTraceItem, fy as mail, fz as mcpTools, fA as mergeAgentSteps, fB as modelConnections, fC as notifications, fD as pages, fE as parseSSEEvents, fF as parseSlashCommand, fG as parseSlashTokenInProgress, fH as parseStructuredResponse, fI as performPasswordLogin, fJ as performSigningKeyLogin, fK as performSsoDeviceFlowLogin, fL as pickMainThread, fM as profile, fN as progressFetch, fO as projects, fP as quotaExceededFrom, fQ as quotaFromStreamError, fR as reduceOutputItem, fS as refusalReason, fT as requireData, fU as requireOk, fV as resolveAuth, fW as resolveCitations, fX as resolveSummary, fY as resolveWorkspace, fZ as responses, f_ as searchChunks, f$ as secureMail, g0 as selectFullContextDocument, g1 as selectWorkspace, g2 as selectWorkspaceById, g3 as sessions, g4 as settings, g5 as signatureRequests, g6 as sliceToSubagentThread, g7 as streamSSE, g8 as stripCitationMarkdown, g9 as subagentJobLabel, ga as summarizeCitations, gb as support, gc as tagUseCount, gd as tags, ge as tagsForScope, gf as tagsOfGroup, gg as topLevelAgentSteps, gh as uploadSkill, gi as usdToGbp, gj as views, gk as work, gl as workflowSteps, gm as workflows, gn as workspaceAssistant, go as workspaceConflictOf, gp as workspaces, gq as wouldCreateTagCycle } from './browser-BeaN-7Ro.js';
|
|
3
3
|
import { SessionPersistence, ArbiClient, components } from '@arbidocs/client';
|
|
4
4
|
export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
|
|
5
5
|
export { b as AgentStepEvent, d as ArtifactEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, R as ResponseCompletedEvent, g as ResponseContentPartAddedEvent, h as ResponseCreatedEvent, i as ResponseFailedEvent, j as ResponseOutputItemAddedEvent, k as ResponseOutputItemDoneEvent, l as ResponseOutputTextDeltaEvent, m as ResponseOutputTextDoneEvent, n as ResponseUsage, S as SSEStreamStartData, T as TokenBudgetContext, U as UserInputRequestEvent, o as UserMessageEvent } from './sse-types-B5Lw0KTC.js';
|
package/dist/index.js
CHANGED
|
@@ -14694,6 +14694,42 @@ var Arbi = class {
|
|
|
14694
14694
|
create: (body) => createWorkflow(this.requireClient(), body),
|
|
14695
14695
|
update: (workflowId, body) => updateWorkflow(this.requireClient(), workflowId, body),
|
|
14696
14696
|
delete: (workflowId) => deleteWorkflow(this.requireClient(), workflowId),
|
|
14697
|
+
/**
|
|
14698
|
+
* A saved workflow with its steps: its own workspace's key is deposited on this session first
|
|
14699
|
+
* (without switching), so the plan, stored encrypted under that key, is readable.
|
|
14700
|
+
*/
|
|
14701
|
+
get: async (workflowId) => {
|
|
14702
|
+
const client = this.requireClient();
|
|
14703
|
+
const record = await getWorkflow(client, workflowId);
|
|
14704
|
+
if (!record.workspace_ext_id || record.plan || record.source_workflow_ext_id) return record;
|
|
14705
|
+
await this.primeOrFail(record.workspace_ext_id);
|
|
14706
|
+
return getWorkflow(client, workflowId);
|
|
14707
|
+
},
|
|
14708
|
+
/**
|
|
14709
|
+
* Start a saved workflow in `options.workspaceId` (absent: the current workspace): the run is a
|
|
14710
|
+
* thread there with a copy of the workflow's steps, and records the workflow it came from. The
|
|
14711
|
+
* workflow may live in another workspace (the skills workspace): the caller must be a member of
|
|
14712
|
+
* both, and both keys are deposited on this session first. `inputs` are the run's inputs,
|
|
14713
|
+
* checked against the workflow's declared ones (a 422 names each that does not fit).
|
|
14714
|
+
*/
|
|
14715
|
+
start: async (workflowId, options = {}) => {
|
|
14716
|
+
const client = this.requireClient();
|
|
14717
|
+
const record = await getWorkflow(client, workflowId);
|
|
14718
|
+
if (record.workspace_ext_id) await this.primeOrFail(record.workspace_ext_id);
|
|
14719
|
+
const target = await this.requireTargetWorkspace(options.workspaceId);
|
|
14720
|
+
return this.recovering(
|
|
14721
|
+
() => createWork(
|
|
14722
|
+
client,
|
|
14723
|
+
{
|
|
14724
|
+
workflow_ext_id: workflowId,
|
|
14725
|
+
skill_inputs: options.inputs ?? null,
|
|
14726
|
+
auth_mode: "run_now_temp",
|
|
14727
|
+
...options.title ? { title: options.title.slice(0, 60) } : {}
|
|
14728
|
+
},
|
|
14729
|
+
target
|
|
14730
|
+
)
|
|
14731
|
+
);
|
|
14732
|
+
},
|
|
14697
14733
|
/** Fire a workflow now, as a test run. Resolves with the conversation it created and whether it started. */
|
|
14698
14734
|
run: (workflowId) => runWorkflow(this.requireClient(), workflowId),
|
|
14699
14735
|
/** A workflow's runs, newest first: what fired it, the task it created and how it went. */
|