@arbidocs/sdk 0.5.94 → 0.5.95
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-4oIgAqs1.d.cts → browser-BvaBTk7i.d.cts} +15 -2
- package/dist/{browser-CL-6Y6E1.d.ts → browser-CpYezzb5.d.ts} +15 -2
- package/dist/browser.cjs +48 -6
- 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 +48 -6
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +48 -6
- 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 +48 -6
- 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/browser.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
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 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, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, S as ChatCryptoContext, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, _ as ChatSession, $ as CitationSummary, a0 as CitationToolSources, a1 as CliConfig, a2 as CliCredentials, a3 as CommandDescriptor, a4 as ConfigStore, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ai as CreateFactRequest, aj as CreateFactsRequest, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DiagnoseOptions, aD as DirectModelUsage, aE as DocInfo, aF as DocInfoMap, aH as DocumentAutomationAction, aK as DocumentSelector, aN as DriveSyncProgress, aO as DriveSyncSummary, aP as DuplicateContactError, aQ as ENTITY_KINDS, aR as EditScope, aS as EntityKind, aT as EventCreateBody, aU as EventPatchBody, aV as FLAT_TAG_KINDS, aW as FactResponse, aX as FactSearchRequest, aY as FactSearchResponse, aZ as FindTimeParams, a$ as FreeBusyEntry, b0 as FullContextSelection, b1 as GOOGLE_VENDORS, b2 as HolidayCountry, b3 as HouseTemplateCandidate, b4 as IMANAGE_VENDORS, b5 as IdentityErrorCode, b6 as IdentityPurchase, b7 as IdentityState, b8 as IdentityStatus, b9 as ImportResult, ba as InvitationRead, bb as JsonSchemaOutputFormat, bc as LinkedRun, be as ListEventsParams, bf as ListFactsOptions, bh as MAILBOX_SYNC_VENDORS, bi as MAX_RETRIEVE_DOC_IDS, bj as MICROSOFT_VENDORS, bm as ModelConnection, bn as OAuthAccountKind, bo as OutputItemDone, bp as OverlayItem, bq as OverlayLayerName, br as PRESENCE_KINDS, bs as PROMPT_CONTEXT_CHARS, bt as ParsedResponse, bu as ParsedSlashCommand, bv as ParsedStructuredResponse, bw as PendingAuthResponse, bx as PersonKey, by as PersonalConnectionInput, bz as PlanStepsError, bA as PlanWorkRequest, bB as ProductResponse, bC as ProjectAddonKind, bD as ProjectAddonSettingsRequest, bE as ProjectBudget, bF as ProjectCheckoutRequest, bG as ProjectConversationUsageResponse, bH as ProjectCreateOptions, bI as ProjectDetails, bJ as ProjectEventKind, bK as ProjectEventResponse, bL as ProjectInvoicesResponse, bM as ProjectNextPeriodAddonsRequest, bN as ProjectPlanChangeRequest, bO as ProjectQuoteRequest, bP as ProjectResponse, bQ as ProjectUpdateRequest, bR as ProjectUsageResponse, bS as PublicBookingError, bT as PublicBookingPage, bU as QuotaExceeded, bV as RaisedSignal, bW as RawResponseEvent, bX as ReconnectOptions, bY as ReconnectableWsConnection, bZ as ResolvedCitation, b$ as RespondParams, c0 as RespondPartstat, c1 as Response, c2 as ResponseCreateRequest, c3 as ResponseCreateResult, c4 as ResponseHandle, c5 as ResponseSnapshot, c6 as ResponseStart, c7 as ResponseStartOptions, c8 as ResponseStream, c9 as ResponseStreamEvent, ca as ResponseTools, cb as RoomCreateBody, cc as RoomQuery, cd as RoomRead, ce as RunProgress, cf as RunStats, cg as RunStep, ch as RunWaitingOn, ci as SHAREPOINT_VENDORS, cj as SSEEvent, ck as SSEStreamCallbacks, cl as SSEStreamOutcome, cm as SSEStreamResult, co as STOP_ID_WAIT_MS, cp as STOP_REPEAT_WINDOW_MS, cr as ScopedTarget, cs as SearchChunk, ct as SecureMailCompose, cu as SecureMailSend, cv as SecureMailSender, cw as SendBack, cx as SetupDiagnostic, cy as SetupReport, cz as ShareRead, cA as ShareRole, cB as SkillSummary, cC as SkippedFile, cD as SlackConnectionStatus, cE as StepActionRequest, cF as StepActivityEvent, cG as StepAssignee, cH as StepDisplay, cI as StepField, cL as StepKind, cM as StepPhase, cN as StepSignal, cO as StepSignalWhen, cP as StepState, cQ as StepStatus, cR as SubagentBranchRecord, cS as SubagentLaneInfo, cT as SubmitBackgroundQueryOptions, cU as SubscribeParams, cV as SupportRating, cW as SupportTicket, cX as SupportTicketInput, cY as SyncTriggerResult, cZ as TAG_KINDS, c_ as TAG_NESTING_MAX_DEPTH, c$ as TagChange, d0 as TagFieldDefinition, d1 as TagGroup, d2 as TagKind, d3 as TagKindField, d4 as TagKindSchema, d5 as TagLinks, d6 as TagListQuery, d7 as TagNode, d8 as TagResponse, d9 as TagScope, da as TagTreeRow, db as TaskPlan, dc as TaskPlanStep, dd as TaxQuoteResponse, de as Thread, df as ThreadsResponse, dg as TimeSuggestion, dh as TurnRequest, di as UpdateConversationRequest, dj as UpdateFactRequest, dk as UpdateWorkflowRequest, dp as UploadDocumentsOptions, dq as UploadOptions, dr as UploadProgressListener, ds as UploadResult, dt as UsageBreakdown, du as UserConnectorEntry, dv as UserDailyUsageResponse, dw as UserInfo, dx as WebSocketAuthError, dy as WeeklyHoursSpec, dz as WorkStatus, dA as WorkflowAuthMode, dB as WorkflowResponse, dC as WorkflowRunHistoryResponse, dD as WorkflowRunResponse, dE as WorkspaceConflict, dF as WorkspaceContext, dG as WorkspaceOpenResponse, dH as WorkspaceResponse, dI as WsConnection, dJ as account, dK as agentconfig, dM as appendTranscriptionHints, dN as assistant, dO as authenticatedFetch, dP as bookPublicSlot, dQ as buildCitationChunkData, dS as buildDocumentTools, dT as buildFactsContextTool, dU as buildRetrievalChunkTool, dV as buildRetrievalFullContextTool, dW as buildRetrievalTocTool, dX as buildTurnRequest, dY as calendar, dZ as calls, d_ as canTagHaveParent, d$ as cancelPublicBooking, e0 as capabilities, e1 as chats, e2 as composeConfiguration, e3 as composeTools, e4 as computeRunStats, e5 as connectErrorMessage, e6 as connectWebSocket, e7 as connectWithReconnect, e8 as connectors, e9 as contacts, ea as continuityPrompt, eb as conversations, ec as countCitations, ed as createAuthenticatedClient, ef as createIndexAssigner, eg as databases, eh as defaultKindForFormat, ei as diagnoseSetup, ej as doctags, ek as documentTools, el as documents, em as estimateDraftTokens, en as extractDocumentIdsFromMessages, eo as extractFactIdsFromMessages, ep as extractSubagentLanes, eq as facts, er as files, es as filterDocumentTags, et as filterSkills, eu as findLeafForTaskMessage, ev as findMainSiblingLeaf, ew as findReplyTarget, ex as findSubagentRunId, ey as flattenTagTree, ez as formatAgentStepLabel, eA as formatFileSize, eB as formatGbp, eC as formatGbpPerMillionTokens, eD as formatItemLabel, eF as formatTokens, eG as formatUserName, eH as formatWorkspaceChoices, eL as getAgentStepLabel, eM as getAttachableRunId, eN as getChildTags, eO as getContextRemainingPercent, eP as getContextUsedPercent, eQ as getContextUsedTokens, eR as getCurrentStep, eS as getEligibleParentTags, eT as getErrorCode, eU as getErrorMessage, eV as getPublicBookingPage, eW as getRawWorkspaceKey, eX as getRunToAttach, eY as getRunToCancel, eZ as getStepDisplay, e_ as getStepTool, e$ as getSubagentBranchRecord, f0 as getTagDescendantIds, f1 as health, f2 as houseTemplates, f3 as hydrateAgentSteps, f5 as identityErrorCode, f4 as identityVerification, f6 as instructions, f7 as isAnnotationTag, f8 as isConnectorVendorVisible, f9 as isDriveSyncVendor, fa as isEntityTag, fb as isFlatKind, fc as isLabelTag, fd as isMailboxSyncVendor, fe as isNearAiUsageBudget, ff as isPresenceTag, fg as isSharePointVendor, fh as isSharedSkill, fi as isTraceItem, fj as mail, fk as mcpTools, fl as mergeAgentSteps, fm as modelConnections, fn as notifications, fo as parseSSEEvents, fp as parseSlashCommand, fq as parseSlashTokenInProgress, fr as parseStructuredResponse, fs as performPasswordLogin, fv as pickMainThread, fw as profile, fx as progressFetch, fy as projects, fz as quotaExceededFrom, fA as quotaFromStreamError, fB as reduceOutputItem, fC as refusalReason, fD as requireData, fE as requireOk, fF as resolveAuth, fG as resolveCitations, fH as resolveSummary, fI as resolveWorkspace, fJ as responses, fK as searchChunks, fL as secureMail, fM as selectFullContextDocument, fN as selectWorkspace, fO as selectWorkspaceById, fP as sessions, fQ as settings, fS as sliceToSubagentThread, fT as streamSSE, fU as stripCitationMarkdown, fV as subagentJobLabel, fW as summarizeCitations, fX as support, fY as tagUseCount, fZ as tags, f_ as tagsForScope, f$ as tagsOfGroup, g0 as topLevelAgentSteps, g2 as usdToGbp, g3 as work, g4 as workflowSteps, g5 as workflows, g6 as workspaceConflictOf, g7 as workspaces, g8 as wouldCreateTagCycle } from './browser-
|
|
1
|
+
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 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, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, S as ChatCryptoContext, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, _ as ChatSession, $ as CitationSummary, a0 as CitationToolSources, a1 as CliConfig, a2 as CliCredentials, a3 as CommandDescriptor, a4 as ConfigStore, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ai as CreateFactRequest, aj as CreateFactsRequest, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DiagnoseOptions, aD as DirectModelUsage, aE as DocInfo, aF as DocInfoMap, aH as DocumentAutomationAction, aK as DocumentSelector, aN as DriveSyncProgress, aO as DriveSyncSummary, aP as DuplicateContactError, aQ as ENTITY_KINDS, aR as EditScope, aS as EntityKind, aT as EventCreateBody, aU as EventPatchBody, aV as FLAT_TAG_KINDS, aW as FactResponse, aX as FactSearchRequest, aY as FactSearchResponse, aZ as FindTimeParams, a$ as FreeBusyEntry, b0 as FullContextSelection, b1 as GOOGLE_VENDORS, b2 as HolidayCountry, b3 as HouseTemplateCandidate, b4 as IMANAGE_VENDORS, b5 as IdentityErrorCode, b6 as IdentityPurchase, b7 as IdentityState, b8 as IdentityStatus, b9 as ImportResult, ba as InvitationRead, bb as JsonSchemaOutputFormat, bc as LinkedRun, be as ListEventsParams, bf as ListFactsOptions, bh as MAILBOX_SYNC_VENDORS, bi as MAX_RETRIEVE_DOC_IDS, bj as MICROSOFT_VENDORS, bm as ModelConnection, bn as OAuthAccountKind, bo as OutputItemDone, bp as OverlayItem, bq as OverlayLayerName, br as PRESENCE_KINDS, bs as PROMPT_CONTEXT_CHARS, bt as ParsedResponse, bu as ParsedSlashCommand, bv as ParsedStructuredResponse, bw as PendingAuthResponse, bx as PersonKey, by as PersonalConnectionInput, bz as PlanStepsError, bA as PlanWorkRequest, bB as ProductResponse, bC as ProjectAddonKind, bD as ProjectAddonSettingsRequest, bE as ProjectBudget, bF as ProjectCheckoutRequest, bG as ProjectConversationUsageResponse, bH as ProjectCreateOptions, bI as ProjectDetails, bJ as ProjectEventKind, bK as ProjectEventResponse, bL as ProjectInvoicesResponse, bM as ProjectNextPeriodAddonsRequest, bN as ProjectPlanChangeRequest, bO as ProjectQuoteRequest, bP as ProjectResponse, bQ as ProjectUpdateRequest, bR as ProjectUsageResponse, bS as PublicBookingError, bT as PublicBookingPage, bU as QuotaExceeded, bV as RaisedSignal, bW as RawResponseEvent, bX as ReconnectOptions, bY as ReconnectableWsConnection, bZ as ResolvedCitation, b$ as RespondParams, c0 as RespondPartstat, c1 as Response, c2 as ResponseCreateRequest, c3 as ResponseCreateResult, c4 as ResponseHandle, c5 as ResponseSnapshot, c6 as ResponseStart, c7 as ResponseStartOptions, c8 as ResponseStream, c9 as ResponseStreamEvent, ca as ResponseTools, cb as RoomCreateBody, cc as RoomQuery, cd as RoomRead, ce as RunProgress, cf as RunStats, cg as RunStep, ch as RunWaitingOn, ci as SHAREPOINT_VENDORS, cj as SSEEvent, ck as SSEStreamCallbacks, cl as SSEStreamOutcome, cm as SSEStreamResult, co as STOP_ID_WAIT_MS, cp as STOP_REPEAT_WINDOW_MS, cr as ScopedTarget, cs as SearchChunk, ct as SecureMailCompose, cu as SecureMailSend, cv as SecureMailSender, cw as SendBack, cx as SetupDiagnostic, cy as SetupReport, cz as ShareRead, cA as ShareRole, cB as SkillSummary, cC as SkippedFile, cD as SlackConnectionStatus, cE as StepActionRequest, cF as StepActivityEvent, cG as StepAssignee, cH as StepDisplay, cI as StepField, cL as StepKind, cM as StepPhase, cN as StepSignal, cO as StepSignalWhen, cP as StepState, cQ as StepStatus, cR as SubagentBranchRecord, cS as SubagentLaneInfo, cT as SubmitBackgroundQueryOptions, cU as SubscribeParams, cV as SupportRating, cW as SupportTicket, cX as SupportTicketInput, cY as SyncTriggerResult, cZ as TAG_KINDS, c_ as TAG_NESTING_MAX_DEPTH, c$ as TagChange, d0 as TagFieldDefinition, d1 as TagGroup, d2 as TagKind, d3 as TagKindField, d4 as TagKindSchema, d5 as TagLinks, d6 as TagListQuery, d7 as TagNode, d8 as TagResponse, d9 as TagScope, da as TagTreeRow, db as TaskPlan, dc as TaskPlanStep, dd as TaxQuoteResponse, de as Thread, df as ThreadsResponse, dg as TimeSuggestion, dh as TurnRequest, di as UpdateConversationRequest, dj as UpdateFactRequest, dk as UpdateWorkflowRequest, dp as UploadDocumentsOptions, dq as UploadOptions, dr as UploadProgressListener, ds as UploadResult, dt as UsageBreakdown, du as UserConnectorEntry, dv as UserDailyUsageResponse, dw as UserInfo, dx as WebSocketAuthError, dy as WeeklyHoursSpec, dz as WorkStatus, dA as WorkflowAuthMode, dB as WorkflowResponse, dC as WorkflowRunHistoryResponse, dD as WorkflowRunResponse, dE as WorkspaceConflict, dF as WorkspaceContext, dG as WorkspaceOpenResponse, dH as WorkspaceResponse, dI as WsConnection, dJ as account, dK as agentconfig, dM as appendTranscriptionHints, dN as assistant, dO as authenticatedFetch, dP as bookPublicSlot, dQ as buildCitationChunkData, dS as buildDocumentTools, dT as buildFactsContextTool, dU as buildRetrievalChunkTool, dV as buildRetrievalFullContextTool, dW as buildRetrievalTocTool, dX as buildTurnRequest, dY as calendar, dZ as calls, d_ as canTagHaveParent, d$ as cancelPublicBooking, e0 as capabilities, e1 as chats, e2 as composeConfiguration, e3 as composeTools, e4 as computeRunStats, e5 as connectErrorMessage, e6 as connectWebSocket, e7 as connectWithReconnect, e8 as connectors, e9 as contacts, ea as continuityPrompt, eb as conversations, ec as countCitations, ed as createAuthenticatedClient, ef as createIndexAssigner, eg as databases, eh as defaultKindForFormat, ei as diagnoseSetup, ej as doctags, ek as documentTools, el as documents, em as estimateDraftTokens, en as extractDocumentIdsFromMessages, eo as extractFactIdsFromMessages, ep as extractSubagentLanes, eq as facts, er as files, es as filterDocumentTags, et as filterSkills, eu as findLeafForTaskMessage, ev as findMainSiblingLeaf, ew as findReplyTarget, ex as findSubagentRunId, ey as flattenTagTree, ez as formatAgentStepLabel, eA as formatFileSize, eB as formatGbp, eC as formatGbpPerMillionTokens, eD as formatItemLabel, eF as formatTokens, eG as formatUserName, eH as formatWorkspaceChoices, eL as getAgentStepLabel, eM as getAttachableRunId, eN as getChildTags, eO as getContextRemainingPercent, eP as getContextUsedPercent, eQ as getContextUsedTokens, eR as getCurrentStep, eS as getEligibleParentTags, eT as getErrorCode, eU as getErrorMessage, eV as getPublicBookingPage, eW as getRawWorkspaceKey, eX as getRunToAttach, eY as getRunToCancel, eZ as getStepDisplay, e_ as getStepTool, e$ as getSubagentBranchRecord, f0 as getTagDescendantIds, f1 as health, f2 as houseTemplates, f3 as hydrateAgentSteps, f5 as identityErrorCode, f4 as identityVerification, f6 as instructions, f7 as isAnnotationTag, f8 as isConnectorVendorVisible, f9 as isDriveSyncVendor, fa as isEntityTag, fb as isFlatKind, fc as isLabelTag, fd as isMailboxSyncVendor, fe as isNearAiUsageBudget, ff as isPresenceTag, fg as isSharePointVendor, fh as isSharedSkill, fi as isTraceItem, fj as mail, fk as mcpTools, fl as mergeAgentSteps, fm as modelConnections, fn as notifications, fo as parseSSEEvents, fp as parseSlashCommand, fq as parseSlashTokenInProgress, fr as parseStructuredResponse, fs as performPasswordLogin, fv as pickMainThread, fw as profile, fx as progressFetch, fy as projects, fz as quotaExceededFrom, fA as quotaFromStreamError, fB as reduceOutputItem, fC as refusalReason, fD as requireData, fE as requireOk, fF as resolveAuth, fG as resolveCitations, fH as resolveSummary, fI as resolveWorkspace, fJ as responses, fK as searchChunks, fL as secureMail, fM as selectFullContextDocument, fN as selectWorkspace, fO as selectWorkspaceById, fP as sessions, fQ as settings, fS as sliceToSubagentThread, fT as streamSSE, fU as stripCitationMarkdown, fV as subagentJobLabel, fW as summarizeCitations, fX as support, fY as tagUseCount, fZ as tags, f_ as tagsForScope, f$ as tagsOfGroup, g0 as topLevelAgentSteps, g2 as usdToGbp, g3 as work, g4 as workflowSteps, g5 as workflows, g6 as workspaceConflictOf, g7 as workspaces, g8 as wouldCreateTagCycle } from './browser-BvaBTk7i.cjs';
|
|
2
2
|
export { A as AgentControlStateEvent, a as AgentStepDeltaEvent, b as AgentStepEvent, c as ArbiErrorEvent, d as ArtifactEvent, D as DeferredInterjectionEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, P as ProbeAnswerEvent, 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-BbR7JG5o.cjs';
|
|
3
3
|
export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
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 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, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, S as ChatCryptoContext, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, _ as ChatSession, $ as CitationSummary, a0 as CitationToolSources, a1 as CliConfig, a2 as CliCredentials, a3 as CommandDescriptor, a4 as ConfigStore, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ai as CreateFactRequest, aj as CreateFactsRequest, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DiagnoseOptions, aD as DirectModelUsage, aE as DocInfo, aF as DocInfoMap, aH as DocumentAutomationAction, aK as DocumentSelector, aN as DriveSyncProgress, aO as DriveSyncSummary, aP as DuplicateContactError, aQ as ENTITY_KINDS, aR as EditScope, aS as EntityKind, aT as EventCreateBody, aU as EventPatchBody, aV as FLAT_TAG_KINDS, aW as FactResponse, aX as FactSearchRequest, aY as FactSearchResponse, aZ as FindTimeParams, a$ as FreeBusyEntry, b0 as FullContextSelection, b1 as GOOGLE_VENDORS, b2 as HolidayCountry, b3 as HouseTemplateCandidate, b4 as IMANAGE_VENDORS, b5 as IdentityErrorCode, b6 as IdentityPurchase, b7 as IdentityState, b8 as IdentityStatus, b9 as ImportResult, ba as InvitationRead, bb as JsonSchemaOutputFormat, bc as LinkedRun, be as ListEventsParams, bf as ListFactsOptions, bh as MAILBOX_SYNC_VENDORS, bi as MAX_RETRIEVE_DOC_IDS, bj as MICROSOFT_VENDORS, bm as ModelConnection, bn as OAuthAccountKind, bo as OutputItemDone, bp as OverlayItem, bq as OverlayLayerName, br as PRESENCE_KINDS, bs as PROMPT_CONTEXT_CHARS, bt as ParsedResponse, bu as ParsedSlashCommand, bv as ParsedStructuredResponse, bw as PendingAuthResponse, bx as PersonKey, by as PersonalConnectionInput, bz as PlanStepsError, bA as PlanWorkRequest, bB as ProductResponse, bC as ProjectAddonKind, bD as ProjectAddonSettingsRequest, bE as ProjectBudget, bF as ProjectCheckoutRequest, bG as ProjectConversationUsageResponse, bH as ProjectCreateOptions, bI as ProjectDetails, bJ as ProjectEventKind, bK as ProjectEventResponse, bL as ProjectInvoicesResponse, bM as ProjectNextPeriodAddonsRequest, bN as ProjectPlanChangeRequest, bO as ProjectQuoteRequest, bP as ProjectResponse, bQ as ProjectUpdateRequest, bR as ProjectUsageResponse, bS as PublicBookingError, bT as PublicBookingPage, bU as QuotaExceeded, bV as RaisedSignal, bW as RawResponseEvent, bX as ReconnectOptions, bY as ReconnectableWsConnection, bZ as ResolvedCitation, b$ as RespondParams, c0 as RespondPartstat, c1 as Response, c2 as ResponseCreateRequest, c3 as ResponseCreateResult, c4 as ResponseHandle, c5 as ResponseSnapshot, c6 as ResponseStart, c7 as ResponseStartOptions, c8 as ResponseStream, c9 as ResponseStreamEvent, ca as ResponseTools, cb as RoomCreateBody, cc as RoomQuery, cd as RoomRead, ce as RunProgress, cf as RunStats, cg as RunStep, ch as RunWaitingOn, ci as SHAREPOINT_VENDORS, cj as SSEEvent, ck as SSEStreamCallbacks, cl as SSEStreamOutcome, cm as SSEStreamResult, co as STOP_ID_WAIT_MS, cp as STOP_REPEAT_WINDOW_MS, cr as ScopedTarget, cs as SearchChunk, ct as SecureMailCompose, cu as SecureMailSend, cv as SecureMailSender, cw as SendBack, cx as SetupDiagnostic, cy as SetupReport, cz as ShareRead, cA as ShareRole, cB as SkillSummary, cC as SkippedFile, cD as SlackConnectionStatus, cE as StepActionRequest, cF as StepActivityEvent, cG as StepAssignee, cH as StepDisplay, cI as StepField, cL as StepKind, cM as StepPhase, cN as StepSignal, cO as StepSignalWhen, cP as StepState, cQ as StepStatus, cR as SubagentBranchRecord, cS as SubagentLaneInfo, cT as SubmitBackgroundQueryOptions, cU as SubscribeParams, cV as SupportRating, cW as SupportTicket, cX as SupportTicketInput, cY as SyncTriggerResult, cZ as TAG_KINDS, c_ as TAG_NESTING_MAX_DEPTH, c$ as TagChange, d0 as TagFieldDefinition, d1 as TagGroup, d2 as TagKind, d3 as TagKindField, d4 as TagKindSchema, d5 as TagLinks, d6 as TagListQuery, d7 as TagNode, d8 as TagResponse, d9 as TagScope, da as TagTreeRow, db as TaskPlan, dc as TaskPlanStep, dd as TaxQuoteResponse, de as Thread, df as ThreadsResponse, dg as TimeSuggestion, dh as TurnRequest, di as UpdateConversationRequest, dj as UpdateFactRequest, dk as UpdateWorkflowRequest, dp as UploadDocumentsOptions, dq as UploadOptions, dr as UploadProgressListener, ds as UploadResult, dt as UsageBreakdown, du as UserConnectorEntry, dv as UserDailyUsageResponse, dw as UserInfo, dx as WebSocketAuthError, dy as WeeklyHoursSpec, dz as WorkStatus, dA as WorkflowAuthMode, dB as WorkflowResponse, dC as WorkflowRunHistoryResponse, dD as WorkflowRunResponse, dE as WorkspaceConflict, dF as WorkspaceContext, dG as WorkspaceOpenResponse, dH as WorkspaceResponse, dI as WsConnection, dJ as account, dK as agentconfig, dM as appendTranscriptionHints, dN as assistant, dO as authenticatedFetch, dP as bookPublicSlot, dQ as buildCitationChunkData, dS as buildDocumentTools, dT as buildFactsContextTool, dU as buildRetrievalChunkTool, dV as buildRetrievalFullContextTool, dW as buildRetrievalTocTool, dX as buildTurnRequest, dY as calendar, dZ as calls, d_ as canTagHaveParent, d$ as cancelPublicBooking, e0 as capabilities, e1 as chats, e2 as composeConfiguration, e3 as composeTools, e4 as computeRunStats, e5 as connectErrorMessage, e6 as connectWebSocket, e7 as connectWithReconnect, e8 as connectors, e9 as contacts, ea as continuityPrompt, eb as conversations, ec as countCitations, ed as createAuthenticatedClient, ef as createIndexAssigner, eg as databases, eh as defaultKindForFormat, ei as diagnoseSetup, ej as doctags, ek as documentTools, el as documents, em as estimateDraftTokens, en as extractDocumentIdsFromMessages, eo as extractFactIdsFromMessages, ep as extractSubagentLanes, eq as facts, er as files, es as filterDocumentTags, et as filterSkills, eu as findLeafForTaskMessage, ev as findMainSiblingLeaf, ew as findReplyTarget, ex as findSubagentRunId, ey as flattenTagTree, ez as formatAgentStepLabel, eA as formatFileSize, eB as formatGbp, eC as formatGbpPerMillionTokens, eD as formatItemLabel, eF as formatTokens, eG as formatUserName, eH as formatWorkspaceChoices, eL as getAgentStepLabel, eM as getAttachableRunId, eN as getChildTags, eO as getContextRemainingPercent, eP as getContextUsedPercent, eQ as getContextUsedTokens, eR as getCurrentStep, eS as getEligibleParentTags, eT as getErrorCode, eU as getErrorMessage, eV as getPublicBookingPage, eW as getRawWorkspaceKey, eX as getRunToAttach, eY as getRunToCancel, eZ as getStepDisplay, e_ as getStepTool, e$ as getSubagentBranchRecord, f0 as getTagDescendantIds, f1 as health, f2 as houseTemplates, f3 as hydrateAgentSteps, f5 as identityErrorCode, f4 as identityVerification, f6 as instructions, f7 as isAnnotationTag, f8 as isConnectorVendorVisible, f9 as isDriveSyncVendor, fa as isEntityTag, fb as isFlatKind, fc as isLabelTag, fd as isMailboxSyncVendor, fe as isNearAiUsageBudget, ff as isPresenceTag, fg as isSharePointVendor, fh as isSharedSkill, fi as isTraceItem, fj as mail, fk as mcpTools, fl as mergeAgentSteps, fm as modelConnections, fn as notifications, fo as parseSSEEvents, fp as parseSlashCommand, fq as parseSlashTokenInProgress, fr as parseStructuredResponse, fs as performPasswordLogin, fv as pickMainThread, fw as profile, fx as progressFetch, fy as projects, fz as quotaExceededFrom, fA as quotaFromStreamError, fB as reduceOutputItem, fC as refusalReason, fD as requireData, fE as requireOk, fF as resolveAuth, fG as resolveCitations, fH as resolveSummary, fI as resolveWorkspace, fJ as responses, fK as searchChunks, fL as secureMail, fM as selectFullContextDocument, fN as selectWorkspace, fO as selectWorkspaceById, fP as sessions, fQ as settings, fS as sliceToSubagentThread, fT as streamSSE, fU as stripCitationMarkdown, fV as subagentJobLabel, fW as summarizeCitations, fX as support, fY as tagUseCount, fZ as tags, f_ as tagsForScope, f$ as tagsOfGroup, g0 as topLevelAgentSteps, g2 as usdToGbp, g3 as work, g4 as workflowSteps, g5 as workflows, g6 as workspaceConflictOf, g7 as workspaces, g8 as wouldCreateTagCycle } from './browser-
|
|
1
|
+
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 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, z as BridgeTokensOptions, C as CalDavConnectBody, D as CalDavProfile, E as CalendarAccount, F as CalendarAccountKind, G as CalendarCreateBody, H as CalendarEvent, I as CalendarKeys, J as CalendarRead, K as CalendarSettings, L as CalendarSettingsBody, M as CalendarUpdate, N as CalendarWindow, O as CallApiError, P as Capabilities, Q as ChatAttachmentFile, R as ChatAttachmentInput, S as ChatCryptoContext, T as ChatKeyRing, U as ChatKind, V as ChatMemberKey, W as ChatMemberResponse, X as ChatMessage, Y as ChatMessageResponse, Z as ChatResponse, _ as ChatSession, $ as CitationSummary, a0 as CitationToolSources, a1 as CliConfig, a2 as CliCredentials, a3 as CommandDescriptor, a4 as ConfigStore, a5 as Configuration, a6 as ConfigurationPatch, a7 as ConnectOptions, a8 as ConnectionModel, a9 as ConnectorCatalogEntry, aa as ConnectorFolder, ab as ConnectorSyncProgress, ac as ConnectorSyncStatus, ad as ConnectorVendorKey, ae as ConnectorVisibilitySettings, af as ContextUsage, ag as ConversationResponse, ah as ConversationUsageResponse, ai as CreateFactRequest, aj as CreateFactsRequest, ak as CreateWorkRequest, al as CreateWorkflowRequest, am as DEFAULT_AI_USD_PER_GBP, ao as DRIVE_SYNC_VENDORS, ap as Database, aq as DatabaseAggregateRequest, ar as DatabaseAggregateResult, as as DatabaseColumn, at as DatabaseColumnWrite, au as DatabaseImportResult, av as DatabaseRow, aw as DatabaseRowPage, ax as DatabaseRowsQuery, ay as DateTimeSpec, aA as DecryptedChatMessage, aB as DeploymentHouseTemplate, aC as DiagnoseOptions, aD as DirectModelUsage, aE as DocInfo, aF as DocInfoMap, aH as DocumentAutomationAction, aK as DocumentSelector, aN as DriveSyncProgress, aO as DriveSyncSummary, aP as DuplicateContactError, aQ as ENTITY_KINDS, aR as EditScope, aS as EntityKind, aT as EventCreateBody, aU as EventPatchBody, aV as FLAT_TAG_KINDS, aW as FactResponse, aX as FactSearchRequest, aY as FactSearchResponse, aZ as FindTimeParams, a$ as FreeBusyEntry, b0 as FullContextSelection, b1 as GOOGLE_VENDORS, b2 as HolidayCountry, b3 as HouseTemplateCandidate, b4 as IMANAGE_VENDORS, b5 as IdentityErrorCode, b6 as IdentityPurchase, b7 as IdentityState, b8 as IdentityStatus, b9 as ImportResult, ba as InvitationRead, bb as JsonSchemaOutputFormat, bc as LinkedRun, be as ListEventsParams, bf as ListFactsOptions, bh as MAILBOX_SYNC_VENDORS, bi as MAX_RETRIEVE_DOC_IDS, bj as MICROSOFT_VENDORS, bm as ModelConnection, bn as OAuthAccountKind, bo as OutputItemDone, bp as OverlayItem, bq as OverlayLayerName, br as PRESENCE_KINDS, bs as PROMPT_CONTEXT_CHARS, bt as ParsedResponse, bu as ParsedSlashCommand, bv as ParsedStructuredResponse, bw as PendingAuthResponse, bx as PersonKey, by as PersonalConnectionInput, bz as PlanStepsError, bA as PlanWorkRequest, bB as ProductResponse, bC as ProjectAddonKind, bD as ProjectAddonSettingsRequest, bE as ProjectBudget, bF as ProjectCheckoutRequest, bG as ProjectConversationUsageResponse, bH as ProjectCreateOptions, bI as ProjectDetails, bJ as ProjectEventKind, bK as ProjectEventResponse, bL as ProjectInvoicesResponse, bM as ProjectNextPeriodAddonsRequest, bN as ProjectPlanChangeRequest, bO as ProjectQuoteRequest, bP as ProjectResponse, bQ as ProjectUpdateRequest, bR as ProjectUsageResponse, bS as PublicBookingError, bT as PublicBookingPage, bU as QuotaExceeded, bV as RaisedSignal, bW as RawResponseEvent, bX as ReconnectOptions, bY as ReconnectableWsConnection, bZ as ResolvedCitation, b$ as RespondParams, c0 as RespondPartstat, c1 as Response, c2 as ResponseCreateRequest, c3 as ResponseCreateResult, c4 as ResponseHandle, c5 as ResponseSnapshot, c6 as ResponseStart, c7 as ResponseStartOptions, c8 as ResponseStream, c9 as ResponseStreamEvent, ca as ResponseTools, cb as RoomCreateBody, cc as RoomQuery, cd as RoomRead, ce as RunProgress, cf as RunStats, cg as RunStep, ch as RunWaitingOn, ci as SHAREPOINT_VENDORS, cj as SSEEvent, ck as SSEStreamCallbacks, cl as SSEStreamOutcome, cm as SSEStreamResult, co as STOP_ID_WAIT_MS, cp as STOP_REPEAT_WINDOW_MS, cr as ScopedTarget, cs as SearchChunk, ct as SecureMailCompose, cu as SecureMailSend, cv as SecureMailSender, cw as SendBack, cx as SetupDiagnostic, cy as SetupReport, cz as ShareRead, cA as ShareRole, cB as SkillSummary, cC as SkippedFile, cD as SlackConnectionStatus, cE as StepActionRequest, cF as StepActivityEvent, cG as StepAssignee, cH as StepDisplay, cI as StepField, cL as StepKind, cM as StepPhase, cN as StepSignal, cO as StepSignalWhen, cP as StepState, cQ as StepStatus, cR as SubagentBranchRecord, cS as SubagentLaneInfo, cT as SubmitBackgroundQueryOptions, cU as SubscribeParams, cV as SupportRating, cW as SupportTicket, cX as SupportTicketInput, cY as SyncTriggerResult, cZ as TAG_KINDS, c_ as TAG_NESTING_MAX_DEPTH, c$ as TagChange, d0 as TagFieldDefinition, d1 as TagGroup, d2 as TagKind, d3 as TagKindField, d4 as TagKindSchema, d5 as TagLinks, d6 as TagListQuery, d7 as TagNode, d8 as TagResponse, d9 as TagScope, da as TagTreeRow, db as TaskPlan, dc as TaskPlanStep, dd as TaxQuoteResponse, de as Thread, df as ThreadsResponse, dg as TimeSuggestion, dh as TurnRequest, di as UpdateConversationRequest, dj as UpdateFactRequest, dk as UpdateWorkflowRequest, dp as UploadDocumentsOptions, dq as UploadOptions, dr as UploadProgressListener, ds as UploadResult, dt as UsageBreakdown, du as UserConnectorEntry, dv as UserDailyUsageResponse, dw as UserInfo, dx as WebSocketAuthError, dy as WeeklyHoursSpec, dz as WorkStatus, dA as WorkflowAuthMode, dB as WorkflowResponse, dC as WorkflowRunHistoryResponse, dD as WorkflowRunResponse, dE as WorkspaceConflict, dF as WorkspaceContext, dG as WorkspaceOpenResponse, dH as WorkspaceResponse, dI as WsConnection, dJ as account, dK as agentconfig, dM as appendTranscriptionHints, dN as assistant, dO as authenticatedFetch, dP as bookPublicSlot, dQ as buildCitationChunkData, dS as buildDocumentTools, dT as buildFactsContextTool, dU as buildRetrievalChunkTool, dV as buildRetrievalFullContextTool, dW as buildRetrievalTocTool, dX as buildTurnRequest, dY as calendar, dZ as calls, d_ as canTagHaveParent, d$ as cancelPublicBooking, e0 as capabilities, e1 as chats, e2 as composeConfiguration, e3 as composeTools, e4 as computeRunStats, e5 as connectErrorMessage, e6 as connectWebSocket, e7 as connectWithReconnect, e8 as connectors, e9 as contacts, ea as continuityPrompt, eb as conversations, ec as countCitations, ed as createAuthenticatedClient, ef as createIndexAssigner, eg as databases, eh as defaultKindForFormat, ei as diagnoseSetup, ej as doctags, ek as documentTools, el as documents, em as estimateDraftTokens, en as extractDocumentIdsFromMessages, eo as extractFactIdsFromMessages, ep as extractSubagentLanes, eq as facts, er as files, es as filterDocumentTags, et as filterSkills, eu as findLeafForTaskMessage, ev as findMainSiblingLeaf, ew as findReplyTarget, ex as findSubagentRunId, ey as flattenTagTree, ez as formatAgentStepLabel, eA as formatFileSize, eB as formatGbp, eC as formatGbpPerMillionTokens, eD as formatItemLabel, eF as formatTokens, eG as formatUserName, eH as formatWorkspaceChoices, eL as getAgentStepLabel, eM as getAttachableRunId, eN as getChildTags, eO as getContextRemainingPercent, eP as getContextUsedPercent, eQ as getContextUsedTokens, eR as getCurrentStep, eS as getEligibleParentTags, eT as getErrorCode, eU as getErrorMessage, eV as getPublicBookingPage, eW as getRawWorkspaceKey, eX as getRunToAttach, eY as getRunToCancel, eZ as getStepDisplay, e_ as getStepTool, e$ as getSubagentBranchRecord, f0 as getTagDescendantIds, f1 as health, f2 as houseTemplates, f3 as hydrateAgentSteps, f5 as identityErrorCode, f4 as identityVerification, f6 as instructions, f7 as isAnnotationTag, f8 as isConnectorVendorVisible, f9 as isDriveSyncVendor, fa as isEntityTag, fb as isFlatKind, fc as isLabelTag, fd as isMailboxSyncVendor, fe as isNearAiUsageBudget, ff as isPresenceTag, fg as isSharePointVendor, fh as isSharedSkill, fi as isTraceItem, fj as mail, fk as mcpTools, fl as mergeAgentSteps, fm as modelConnections, fn as notifications, fo as parseSSEEvents, fp as parseSlashCommand, fq as parseSlashTokenInProgress, fr as parseStructuredResponse, fs as performPasswordLogin, fv as pickMainThread, fw as profile, fx as progressFetch, fy as projects, fz as quotaExceededFrom, fA as quotaFromStreamError, fB as reduceOutputItem, fC as refusalReason, fD as requireData, fE as requireOk, fF as resolveAuth, fG as resolveCitations, fH as resolveSummary, fI as resolveWorkspace, fJ as responses, fK as searchChunks, fL as secureMail, fM as selectFullContextDocument, fN as selectWorkspace, fO as selectWorkspaceById, fP as sessions, fQ as settings, fS as sliceToSubagentThread, fT as streamSSE, fU as stripCitationMarkdown, fV as subagentJobLabel, fW as summarizeCitations, fX as support, fY as tagUseCount, fZ as tags, f_ as tagsForScope, f$ as tagsOfGroup, g0 as topLevelAgentSteps, g2 as usdToGbp, g3 as work, g4 as workflowSteps, g5 as workflows, g6 as workspaceConflictOf, g7 as workspaces, g8 as wouldCreateTagCycle } from './browser-CpYezzb5.js';
|
|
2
2
|
export { A as AgentControlStateEvent, a as AgentStepDeltaEvent, b as AgentStepEvent, c as ArbiErrorEvent, d as ArtifactEvent, D as DeferredInterjectionEvent, M as MailDraftSSEEvent, e as MessageMetadataPayload, f as MessageQueuedEvent, O as OutputTokensDetails, P as ProbeAnswerEvent, 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-BbR7JG5o.js';
|
|
3
3
|
export { CallPeer, HttpErrorInfo, HttpRequestInfo, HttpResponseInfo, HttpTransportOptions, LoginProfile, SessionPersistence } from '@arbidocs/client';
|
package/dist/browser.js
CHANGED
|
@@ -4657,7 +4657,9 @@ __export(support_exports, {
|
|
|
4657
4657
|
createSupportTicket: () => createSupportTicket,
|
|
4658
4658
|
getSupportTicket: () => getSupportTicket,
|
|
4659
4659
|
listSupportTickets: () => listSupportTickets,
|
|
4660
|
-
rateSupportTicket: () => rateSupportTicket
|
|
4660
|
+
rateSupportTicket: () => rateSupportTicket,
|
|
4661
|
+
supportTicketReference: () => supportTicketReference,
|
|
4662
|
+
withSupportNotificationReference: () => withSupportNotificationReference
|
|
4661
4663
|
});
|
|
4662
4664
|
|
|
4663
4665
|
// src/operations/mail-encoding.ts
|
|
@@ -4709,6 +4711,32 @@ async function rateSupportTicket(arbi, ticketId, rating) {
|
|
|
4709
4711
|
"Could not send your rating."
|
|
4710
4712
|
);
|
|
4711
4713
|
}
|
|
4714
|
+
function supportTicketReference(deploymentDomain, ticketId) {
|
|
4715
|
+
if (!Number.isSafeInteger(ticketId) || ticketId < 1)
|
|
4716
|
+
throw new ArbiError("Invalid support ticket id.");
|
|
4717
|
+
const domain = deploymentDomain.trim().toLowerCase();
|
|
4718
|
+
if (!/^[a-z0-9][a-z0-9.-]*$/.test(domain) || domain.includes("..")) return `#${ticketId}`;
|
|
4719
|
+
return `${domain.split(".")[0]}-${ticketId}`;
|
|
4720
|
+
}
|
|
4721
|
+
function withSupportNotificationReference(notification, domain) {
|
|
4722
|
+
if (!["support_ticket_received", "support_ticket_reviewed", "support_ticket_resolved"].includes(
|
|
4723
|
+
String(notification.type)
|
|
4724
|
+
))
|
|
4725
|
+
return notification;
|
|
4726
|
+
try {
|
|
4727
|
+
const content = JSON.parse(notification.content ?? "{}");
|
|
4728
|
+
if (!Number.isSafeInteger(content.ticket_id) || content.ticket_id < 1) return notification;
|
|
4729
|
+
return {
|
|
4730
|
+
...notification,
|
|
4731
|
+
content: JSON.stringify({
|
|
4732
|
+
...content,
|
|
4733
|
+
ticket_reference: supportTicketReference(domain, content.ticket_id)
|
|
4734
|
+
})
|
|
4735
|
+
};
|
|
4736
|
+
} catch {
|
|
4737
|
+
return notification;
|
|
4738
|
+
}
|
|
4739
|
+
}
|
|
4712
4740
|
|
|
4713
4741
|
// src/diagnostics.ts
|
|
4714
4742
|
async function diagnoseSetup(options) {
|
|
@@ -12437,7 +12465,9 @@ var Arbi = class {
|
|
|
12437
12465
|
params: { query: { ...type ? { type } : {}, limit, ...offset ? { offset } : {} } }
|
|
12438
12466
|
});
|
|
12439
12467
|
if (error) throw new ArbiError("Could not load notifications");
|
|
12440
|
-
return data || []
|
|
12468
|
+
return (data || []).map(
|
|
12469
|
+
(notification) => withSupportNotificationReference(notification, this.getDeploymentDomain())
|
|
12470
|
+
);
|
|
12441
12471
|
},
|
|
12442
12472
|
markRead: async (ids) => {
|
|
12443
12473
|
if (!ids.length) return;
|
|
@@ -13494,12 +13524,24 @@ var Arbi = class {
|
|
|
13494
13524
|
};
|
|
13495
13525
|
// ── Health ────────────────────────────────────────────────────────────
|
|
13496
13526
|
support = {
|
|
13497
|
-
|
|
13498
|
-
|
|
13499
|
-
|
|
13527
|
+
reference: (ticketId) => supportTicketReference(this.getDeploymentDomain(), ticketId),
|
|
13528
|
+
list: () => this.recovering(() => listSupportTickets(this.requireClient())).then(
|
|
13529
|
+
(tickets) => tickets.map((ticket) => ({
|
|
13530
|
+
...ticket,
|
|
13531
|
+
reference: this.support.reference(ticket.ticket_id)
|
|
13532
|
+
}))
|
|
13533
|
+
),
|
|
13534
|
+
get: (ticketId) => this.recovering(() => getSupportTicket(this.requireClient(), ticketId)).then(
|
|
13535
|
+
(ticket) => ({ ...ticket, reference: this.support.reference(ticket.ticket_id) })
|
|
13536
|
+
),
|
|
13537
|
+
rate: (ticketId, rating) => this.recovering(
|
|
13538
|
+
() => rateSupportTicket(this.requireClient(), ticketId, rating)
|
|
13539
|
+
).then((ticket) => ({ ...ticket, reference: this.support.reference(ticket.ticket_id) })),
|
|
13500
13540
|
create: (input) => {
|
|
13501
13541
|
const request = { ...input, idempotencyKey: input.idempotencyKey ?? crypto.randomUUID() };
|
|
13502
|
-
return this.recovering(
|
|
13542
|
+
return this.recovering(
|
|
13543
|
+
() => createSupportTicket(this.requireClient(), request)
|
|
13544
|
+
).then((receipt) => ({ ...receipt, reference: this.support.reference(receipt.ticket_id) }));
|
|
13503
13545
|
}
|
|
13504
13546
|
};
|
|
13505
13547
|
health = {
|