@arbidocs/sdk 0.4.71 → 0.4.73

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.
@@ -1,2 +1,2 @@
1
- export { A as ActivityKind, a as ActivityResponse, b as AgentControlStateEvent, c as AgentStepDeltaEvent, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorEvent, i as ArbiOptions, k as ArtifactEvent, l as AuthContext, m as AuthHeaders, n as AuthMode, o as AuthenticatedClient, C as ChatSession, p as CitationSummary, q as CliConfig, r as CliCredentials, s as CommandDescriptor, t as ConfigStore, u as ConnectOptions, v as ConversationResponse, w as CreateFactRequest, x as CreateFactsRequest, y as CreateWorkRequest, z as CreateWorkflowRequest, B as DecryptedDmNotification, E as DeferredInterjectionEvent, F as DmAttachmentFile, G as DmAttachmentInput, J as DocumentAutomationAction, M as DocumentSelector, P as FactResponse, Q as FactSearchRequest, R as FactSearchResponse, U as ListFactsOptions, Y as MessageMetadataPayload, Z as MessageQueuedEvent, _ as OutputTokensDetails, $ as ParsedSlashCommand, a0 as PendingAuthResponse, a1 as PlanWorkRequest, a2 as ProbeAnswerEvent, a3 as ProjectInvoicesResponse, a4 as ProjectUsageResponse, a5 as QueryOptions, a6 as ReconnectOptions, a7 as ReconnectableWsConnection, a8 as ResolvedCitation, aa as ResponseCompletedEvent, ab as ResponseContentPartAddedEvent, ac as ResponseCreatedEvent, ad as ResponseFailedEvent, ae as ResponseOutputItemAddedEvent, af as ResponseOutputItemDoneEvent, ag as ResponseOutputTextDeltaEvent, ah as ResponseOutputTextDoneEvent, ai as ResponseUsage, aj as SSEEvent, ak as SSEStreamCallbacks, al as SSEStreamResult, am as SSEStreamStartData, ao as SkillSummary, aq as SubmitBackgroundQueryOptions, ar as TaskPlan, as as TokenBudgetContext, at as UpdateConversationRequest, au as UpdateFactRequest, av as UpdateWorkflowRequest, aB as UserDailyUsageResponse, aC as UserInfo, aD as UserInputRequestEvent, aE as UserMessageEvent, aF as WebSocketAuthError, aG as WorkStatus, aH as WorkflowAuthMode, aI as WorkflowResponse, aJ as WorkflowRunHistoryResponse, aK as WorkflowRunResponse, aL as WorkspaceContext, aM as WsConnection, aN as account, aO as agentconfig, aQ as assistant, aR as authenticatedFetch, aT as buildFactsContextTool, aU as buildRetrievalChunkTool, aV as buildRetrievalFullContextTool, aW as buildRetrievalTocTool, aX as connectWebSocket, aY as connectWithReconnect, aZ as consumeSSEStream, a_ as contacts, a$ as conversations, b0 as countCitations, b1 as createAuthenticatedClient, b3 as dm, b4 as doctags, b5 as documents, b6 as facts, b7 as files, b8 as filterSkills, b9 as formatAgentStepLabel, ba as formatFileSize, bb as formatItemLabel, bd as formatUserName, be as formatWorkspaceChoices, bj as getErrorMessage, bk as getRawWorkspaceKey, bl as health, bm as mail, bn as parseSSEEvents, bo as parseSlashCommand, bp as parseSlashTokenInProgress, bq as performPasswordLogin, bt as profile, bu as projects, bv as requireData, bw as requireOk, bx as resolveAuth, by as resolveCitations, bz as resolveWorkspace, bA as responses, bB as selectWorkspace, bC as selectWorkspaceById, bD as sessions, bE as settings, bF as streamSSE, bG as stripCitationMarkdown, bH as summarizeCitations, bI as tags, bJ as work, bK as workflows, bL as workspaces } from './browser-Bf2QdtQY.cjs';
1
+ export { A as ActivityKind, a as ActivityResponse, b as AgentControlStateEvent, c as AgentStepDeltaEvent, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorEvent, i as ArbiOptions, k as ArtifactEvent, l as AuthContext, m as AuthHeaders, n as AuthMode, o as AuthenticatedClient, C as ChatSession, p as CitationSummary, q as CliConfig, r as CliCredentials, s as CommandDescriptor, t as ConfigStore, u as ConnectOptions, v as ConversationResponse, w as CreateFactRequest, x as CreateFactsRequest, y as CreateWorkRequest, z as CreateWorkflowRequest, B as DecryptedDmNotification, E as DeferredInterjectionEvent, F as DmAttachmentFile, G as DmAttachmentInput, J as DocumentAutomationAction, M as DocumentSelector, P as FactResponse, Q as FactSearchRequest, R as FactSearchResponse, T as IdentityErrorCode, U as IdentityPurchase, V as IdentityState, W as IdentityStatus, Y as ListFactsOptions, a0 as MessageMetadataPayload, a1 as MessageQueuedEvent, a2 as OutputTokensDetails, a3 as ParsedSlashCommand, a4 as PendingAuthResponse, a5 as PlanWorkRequest, a6 as ProbeAnswerEvent, a7 as ProjectInvoicesResponse, a8 as ProjectUsageResponse, a9 as QueryOptions, aa as ReconnectOptions, ab as ReconnectableWsConnection, ac as ResolvedCitation, ae as ResponseCompletedEvent, af as ResponseContentPartAddedEvent, ag as ResponseCreatedEvent, ah as ResponseFailedEvent, ai as ResponseOutputItemAddedEvent, aj as ResponseOutputItemDoneEvent, ak as ResponseOutputTextDeltaEvent, al as ResponseOutputTextDoneEvent, am as ResponseUsage, an as SSEEvent, ao as SSEStreamCallbacks, ap as SSEStreamResult, aq as SSEStreamStartData, as as SkillSummary, au as StepActionRequest, av as SubmitBackgroundQueryOptions, aw as TaskPlan, ax as TokenBudgetContext, ay as UpdateConversationRequest, az as UpdateFactRequest, aA as UpdateWorkflowRequest, aG as UserDailyUsageResponse, aH as UserInfo, aI as UserInputRequestEvent, aJ as UserMessageEvent, aK as WebSocketAuthError, aL as WorkStatus, aM as WorkflowAuthMode, aN as WorkflowResponse, aO as WorkflowRunHistoryResponse, aP as WorkflowRunResponse, aQ as WorkspaceContext, aR as WsConnection, aS as account, aT as agentconfig, aV as assistant, aW as authenticatedFetch, aY as buildFactsContextTool, aZ as buildRetrievalChunkTool, a_ as buildRetrievalFullContextTool, a$ as buildRetrievalTocTool, b0 as connectWebSocket, b1 as connectWithReconnect, b2 as consumeSSEStream, b3 as contacts, b4 as conversations, b5 as countCitations, b6 as createAuthenticatedClient, b8 as dm, b9 as doctags, ba as documents, bb as facts, bc as files, bd as filterSkills, be as formatAgentStepLabel, bf as formatFileSize, bg as formatItemLabel, bi as formatUserName, bj as formatWorkspaceChoices, bo as getErrorMessage, bp as getRawWorkspaceKey, bq as health, bs as identityErrorCode, br as identityVerification, bt as mail, bu as parseSSEEvents, bv as parseSlashCommand, bw as parseSlashTokenInProgress, bx as performPasswordLogin, bA as profile, bB as projects, bC as requireData, bD as requireOk, bE as resolveAuth, bF as resolveCitations, bG as resolveWorkspace, bH as responses, bI as selectWorkspace, bJ as selectWorkspaceById, bK as sessions, bL as settings, bM as streamSSE, bN as stripCitationMarkdown, bO as summarizeCitations, bP as tags, bQ as work, bR as workflows, bS as workspaces } from './browser-BBYaJCyB.cjs';
2
2
  export { LoginProfile } from '@arbidocs/client';
package/dist/browser.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { A as ActivityKind, a as ActivityResponse, b as AgentControlStateEvent, c as AgentStepDeltaEvent, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorEvent, i as ArbiOptions, k as ArtifactEvent, l as AuthContext, m as AuthHeaders, n as AuthMode, o as AuthenticatedClient, C as ChatSession, p as CitationSummary, q as CliConfig, r as CliCredentials, s as CommandDescriptor, t as ConfigStore, u as ConnectOptions, v as ConversationResponse, w as CreateFactRequest, x as CreateFactsRequest, y as CreateWorkRequest, z as CreateWorkflowRequest, B as DecryptedDmNotification, E as DeferredInterjectionEvent, F as DmAttachmentFile, G as DmAttachmentInput, J as DocumentAutomationAction, M as DocumentSelector, P as FactResponse, Q as FactSearchRequest, R as FactSearchResponse, U as ListFactsOptions, Y as MessageMetadataPayload, Z as MessageQueuedEvent, _ as OutputTokensDetails, $ as ParsedSlashCommand, a0 as PendingAuthResponse, a1 as PlanWorkRequest, a2 as ProbeAnswerEvent, a3 as ProjectInvoicesResponse, a4 as ProjectUsageResponse, a5 as QueryOptions, a6 as ReconnectOptions, a7 as ReconnectableWsConnection, a8 as ResolvedCitation, aa as ResponseCompletedEvent, ab as ResponseContentPartAddedEvent, ac as ResponseCreatedEvent, ad as ResponseFailedEvent, ae as ResponseOutputItemAddedEvent, af as ResponseOutputItemDoneEvent, ag as ResponseOutputTextDeltaEvent, ah as ResponseOutputTextDoneEvent, ai as ResponseUsage, aj as SSEEvent, ak as SSEStreamCallbacks, al as SSEStreamResult, am as SSEStreamStartData, ao as SkillSummary, aq as SubmitBackgroundQueryOptions, ar as TaskPlan, as as TokenBudgetContext, at as UpdateConversationRequest, au as UpdateFactRequest, av as UpdateWorkflowRequest, aB as UserDailyUsageResponse, aC as UserInfo, aD as UserInputRequestEvent, aE as UserMessageEvent, aF as WebSocketAuthError, aG as WorkStatus, aH as WorkflowAuthMode, aI as WorkflowResponse, aJ as WorkflowRunHistoryResponse, aK as WorkflowRunResponse, aL as WorkspaceContext, aM as WsConnection, aN as account, aO as agentconfig, aQ as assistant, aR as authenticatedFetch, aT as buildFactsContextTool, aU as buildRetrievalChunkTool, aV as buildRetrievalFullContextTool, aW as buildRetrievalTocTool, aX as connectWebSocket, aY as connectWithReconnect, aZ as consumeSSEStream, a_ as contacts, a$ as conversations, b0 as countCitations, b1 as createAuthenticatedClient, b3 as dm, b4 as doctags, b5 as documents, b6 as facts, b7 as files, b8 as filterSkills, b9 as formatAgentStepLabel, ba as formatFileSize, bb as formatItemLabel, bd as formatUserName, be as formatWorkspaceChoices, bj as getErrorMessage, bk as getRawWorkspaceKey, bl as health, bm as mail, bn as parseSSEEvents, bo as parseSlashCommand, bp as parseSlashTokenInProgress, bq as performPasswordLogin, bt as profile, bu as projects, bv as requireData, bw as requireOk, bx as resolveAuth, by as resolveCitations, bz as resolveWorkspace, bA as responses, bB as selectWorkspace, bC as selectWorkspaceById, bD as sessions, bE as settings, bF as streamSSE, bG as stripCitationMarkdown, bH as summarizeCitations, bI as tags, bJ as work, bK as workflows, bL as workspaces } from './browser-Bf2QdtQY.js';
1
+ export { A as ActivityKind, a as ActivityResponse, b as AgentControlStateEvent, c as AgentStepDeltaEvent, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, h as ArbiErrorEvent, i as ArbiOptions, k as ArtifactEvent, l as AuthContext, m as AuthHeaders, n as AuthMode, o as AuthenticatedClient, C as ChatSession, p as CitationSummary, q as CliConfig, r as CliCredentials, s as CommandDescriptor, t as ConfigStore, u as ConnectOptions, v as ConversationResponse, w as CreateFactRequest, x as CreateFactsRequest, y as CreateWorkRequest, z as CreateWorkflowRequest, B as DecryptedDmNotification, E as DeferredInterjectionEvent, F as DmAttachmentFile, G as DmAttachmentInput, J as DocumentAutomationAction, M as DocumentSelector, P as FactResponse, Q as FactSearchRequest, R as FactSearchResponse, T as IdentityErrorCode, U as IdentityPurchase, V as IdentityState, W as IdentityStatus, Y as ListFactsOptions, a0 as MessageMetadataPayload, a1 as MessageQueuedEvent, a2 as OutputTokensDetails, a3 as ParsedSlashCommand, a4 as PendingAuthResponse, a5 as PlanWorkRequest, a6 as ProbeAnswerEvent, a7 as ProjectInvoicesResponse, a8 as ProjectUsageResponse, a9 as QueryOptions, aa as ReconnectOptions, ab as ReconnectableWsConnection, ac as ResolvedCitation, ae as ResponseCompletedEvent, af as ResponseContentPartAddedEvent, ag as ResponseCreatedEvent, ah as ResponseFailedEvent, ai as ResponseOutputItemAddedEvent, aj as ResponseOutputItemDoneEvent, ak as ResponseOutputTextDeltaEvent, al as ResponseOutputTextDoneEvent, am as ResponseUsage, an as SSEEvent, ao as SSEStreamCallbacks, ap as SSEStreamResult, aq as SSEStreamStartData, as as SkillSummary, au as StepActionRequest, av as SubmitBackgroundQueryOptions, aw as TaskPlan, ax as TokenBudgetContext, ay as UpdateConversationRequest, az as UpdateFactRequest, aA as UpdateWorkflowRequest, aG as UserDailyUsageResponse, aH as UserInfo, aI as UserInputRequestEvent, aJ as UserMessageEvent, aK as WebSocketAuthError, aL as WorkStatus, aM as WorkflowAuthMode, aN as WorkflowResponse, aO as WorkflowRunHistoryResponse, aP as WorkflowRunResponse, aQ as WorkspaceContext, aR as WsConnection, aS as account, aT as agentconfig, aV as assistant, aW as authenticatedFetch, aY as buildFactsContextTool, aZ as buildRetrievalChunkTool, a_ as buildRetrievalFullContextTool, a$ as buildRetrievalTocTool, b0 as connectWebSocket, b1 as connectWithReconnect, b2 as consumeSSEStream, b3 as contacts, b4 as conversations, b5 as countCitations, b6 as createAuthenticatedClient, b8 as dm, b9 as doctags, ba as documents, bb as facts, bc as files, bd as filterSkills, be as formatAgentStepLabel, bf as formatFileSize, bg as formatItemLabel, bi as formatUserName, bj as formatWorkspaceChoices, bo as getErrorMessage, bp as getRawWorkspaceKey, bq as health, bs as identityErrorCode, br as identityVerification, bt as mail, bu as parseSSEEvents, bv as parseSlashCommand, bw as parseSlashTokenInProgress, bx as performPasswordLogin, bA as profile, bB as projects, bC as requireData, bD as requireOk, bE as resolveAuth, bF as resolveCitations, bG as resolveWorkspace, bH as responses, bI as selectWorkspace, bJ as selectWorkspaceById, bK as sessions, bL as settings, bM as streamSSE, bN as stripCitationMarkdown, bO as summarizeCitations, bP as tags, bQ as work, bR as workflows, bS as workspaces } from './browser-BBYaJCyB.js';
2
2
  export { LoginProfile } from '@arbidocs/client';
package/dist/browser.js CHANGED
@@ -5912,6 +5912,76 @@ async function requestDeletion(arbi) {
5912
5912
  return requireData(await arbi.fetch.POST("/v1/user/request-deletion"), "Failed to delete account");
5913
5913
  }
5914
5914
 
5915
+ // src/operations/identity.ts
5916
+ var identity_exports = {};
5917
+ __export(identity_exports, {
5918
+ acceptName: () => acceptName,
5919
+ getStatus: () => getStatus,
5920
+ identityErrorCode: () => identityErrorCode,
5921
+ purchase: () => purchase,
5922
+ refresh: () => refresh,
5923
+ remove: () => remove,
5924
+ startSession: () => startSession
5925
+ });
5926
+ function refusal(apiError) {
5927
+ const detail = apiError?.detail;
5928
+ if (typeof detail === "string") return { message: detail };
5929
+ if (detail && typeof detail === "object" && !Array.isArray(detail)) {
5930
+ const { code, message } = detail;
5931
+ return {
5932
+ code: typeof code === "string" ? code : void 0,
5933
+ message: typeof message === "string" ? message : void 0
5934
+ };
5935
+ }
5936
+ return {};
5937
+ }
5938
+ function identityErrorCode(error) {
5939
+ return error instanceof ArbiApiError ? refusal(error.apiError).code : void 0;
5940
+ }
5941
+ function unwrap(result, fallback) {
5942
+ if (result.error || result.data === void 0) {
5943
+ throw new ArbiApiError(
5944
+ refusal(result.error).message ?? fallback,
5945
+ result.error,
5946
+ result.response?.status
5947
+ );
5948
+ }
5949
+ return result.data;
5950
+ }
5951
+ async function getStatus(arbi) {
5952
+ return unwrap(await arbi.fetch.GET("/v1/user/identity"), "Failed to load identity verification");
5953
+ }
5954
+ async function purchase(arbi, projectExtId) {
5955
+ return unwrap(
5956
+ await arbi.fetch.POST("/v1/user/identity/purchase", {
5957
+ body: projectExtId ? { project_ext_id: projectExtId } : {}
5958
+ }),
5959
+ "Payment could not be completed"
5960
+ );
5961
+ }
5962
+ async function startSession(arbi) {
5963
+ const data = unwrap(
5964
+ await arbi.fetch.POST("/v1/user/identity/session"),
5965
+ "Could not start identity verification"
5966
+ );
5967
+ return data.url;
5968
+ }
5969
+ async function refresh(arbi) {
5970
+ return unwrap(
5971
+ await arbi.fetch.POST("/v1/user/identity/refresh"),
5972
+ "Could not read the verification result"
5973
+ );
5974
+ }
5975
+ async function acceptName(arbi) {
5976
+ return unwrap(
5977
+ await arbi.fetch.POST("/v1/user/identity/accept-name"),
5978
+ "Could not change your name"
5979
+ );
5980
+ }
5981
+ async function remove(arbi) {
5982
+ return unwrap(await arbi.fetch.DELETE("/v1/user/identity"), "Could not remove the verification");
5983
+ }
5984
+
5915
5985
  // src/operations/projects.ts
5916
5986
  var projects_exports = {};
5917
5987
  __export(projects_exports, {
@@ -5928,10 +5998,10 @@ __export(projects_exports, {
5928
5998
  async function listProjects(arbi) {
5929
5999
  return requireData(await arbi.fetch.GET("/v1/user/projects/"), "Failed to fetch projects");
5930
6000
  }
5931
- async function createProject(arbi, name) {
6001
+ async function createProject(arbi, name, plan = "free") {
5932
6002
  return requireData(
5933
6003
  await arbi.fetch.POST("/v1/user/projects/", {
5934
- body: { name }
6004
+ body: { name, plan }
5935
6005
  }),
5936
6006
  "Failed to create project"
5937
6007
  );
@@ -5990,9 +6060,11 @@ async function getUserUsageToday(arbi) {
5990
6060
  // src/operations/work.ts
5991
6061
  var work_exports = {};
5992
6062
  __export(work_exports, {
6063
+ actOnStep: () => actOnStep,
5993
6064
  createWork: () => createWork,
5994
6065
  getActivity: () => getActivity,
5995
6066
  getPendingAuth: () => getPendingAuth,
6067
+ notifyConversation: () => notifyConversation,
5996
6068
  planWork: () => planWork,
5997
6069
  runConversation: () => runConversation,
5998
6070
  updateConversation: () => updateConversation
@@ -6030,6 +6102,24 @@ async function getPendingAuth(arbi, conversationId) {
6030
6102
  "Failed to read the pending access request"
6031
6103
  );
6032
6104
  }
6105
+ async function actOnStep(arbi, conversationId, body) {
6106
+ return requireData(
6107
+ await arbi.fetch.POST("/v1/conversation/{conversation_ext_id}/step", {
6108
+ ...byId(conversationId),
6109
+ body
6110
+ }),
6111
+ "Failed to update the workflow step"
6112
+ );
6113
+ }
6114
+ async function notifyConversation(arbi, conversationId, userIds) {
6115
+ return requireData(
6116
+ await arbi.fetch.POST("/v1/conversation/{conversation_ext_id}/notify", {
6117
+ ...byId(conversationId),
6118
+ body: { user_ext_ids: userIds }
6119
+ }),
6120
+ "Failed to notify people about the conversation"
6121
+ );
6122
+ }
6033
6123
  async function getActivity(arbi, conversationId) {
6034
6124
  return requireData(
6035
6125
  await arbi.fetch.GET("/v1/conversation/{conversation_ext_id}/activity", byId(conversationId)),
@@ -6457,7 +6547,8 @@ var Arbi = class {
6457
6547
  ...this.userProfile,
6458
6548
  givenName: updated.given_name ?? this.userProfile.givenName,
6459
6549
  familyName: updated.family_name ?? null,
6460
- picture: updated.picture ?? null
6550
+ picture: updated.picture ?? null,
6551
+ isIdentityVerified: updated.is_identity_verified ?? false
6461
6552
  });
6462
6553
  }
6463
6554
  return updated;
@@ -6502,6 +6593,49 @@ var Arbi = class {
6502
6593
  return result;
6503
6594
  }
6504
6595
  };
6596
+ // ── Identity verification ─────────────────────────────────────────────
6597
+ identity = {
6598
+ /** Whether the ID check is offered (Pro plans), its price, and where the user's check stands. */
6599
+ status: () => getStatus(this.requireClient()),
6600
+ /** Charge the one-time fee to an own Pro project; `requires_action` carries a payment URL. */
6601
+ purchase: (projectExtId) => purchase(this.requireClient(), projectExtId),
6602
+ /** The Didit session URL to run the web SDK on. */
6603
+ startSession: () => startSession(this.requireClient()),
6604
+ /** Read the decision of the open check; the profile follows a granted tick. */
6605
+ refresh: async () => {
6606
+ const status = await refresh(this.requireClient());
6607
+ this.syncIdentity(status);
6608
+ return status;
6609
+ },
6610
+ /** Take the name on the document as the account name; the profile follows. */
6611
+ acceptName: async () => {
6612
+ const client = this.requireClient();
6613
+ const offered = await getStatus(client);
6614
+ const status = await acceptName(client);
6615
+ if (this.userProfile && offered.document_given_name) {
6616
+ this.setUserProfile({
6617
+ ...this.userProfile,
6618
+ givenName: offered.document_given_name,
6619
+ familyName: offered.document_family_name ?? null,
6620
+ isIdentityVerified: status.verified
6621
+ });
6622
+ } else {
6623
+ this.syncIdentity(status);
6624
+ }
6625
+ return status;
6626
+ },
6627
+ /** Remove the tick and erase any open check. */
6628
+ remove: async () => {
6629
+ const status = await remove(this.requireClient());
6630
+ this.syncIdentity(status);
6631
+ return status;
6632
+ }
6633
+ };
6634
+ syncIdentity(status) {
6635
+ if (this.userProfile && this.userProfile.isIdentityVerified !== status.verified) {
6636
+ this.setUserProfile({ ...this.userProfile, isIdentityVerified: status.verified });
6637
+ }
6638
+ }
6505
6639
  // ── Workspaces ────────────────────────────────────────────────────────
6506
6640
  workspaces = {
6507
6641
  list: () => listWorkspaces(this.requireClient()),
@@ -6638,6 +6772,10 @@ var Arbi = class {
6638
6772
  pendingAuth: (conversationId) => getPendingAuth(this.requireClient(), conversationId),
6639
6773
  /** The task's history, oldest first. */
6640
6774
  activity: (conversationId) => getActivity(this.requireClient(), conversationId),
6775
+ /** Complete or skip a step of a workflow run; the run goes on to its next agent step. */
6776
+ actOnStep: (conversationId, body) => actOnStep(this.requireClient(), conversationId, body),
6777
+ /** Notify people about a conversation (each gets a notification); resolves with who was. */
6778
+ notify: (conversationId, userIds) => notifyConversation(this.requireClient(), conversationId, userIds),
6641
6779
  /** Draft an editable plan from an objective. */
6642
6780
  plan: (body) => planWork(this.requireClient(), body),
6643
6781
  /**
@@ -7134,6 +7272,6 @@ function bytesToBase642(bytes) {
7134
7272
  return btoa(binary);
7135
7273
  }
7136
7274
 
7137
- export { Arbi, ArbiApiError, ArbiError, WebSocketAuthError, account_exports as account, agentconfig_exports as agentconfig, assistant_exports as assistant, authenticatedFetch, buildFactsContextTool, buildRetrievalChunkTool, buildRetrievalFullContextTool, buildRetrievalTocTool, connectWebSocket, connectWithReconnect, consumeSSEStream, contacts_exports as contacts, conversations_exports as conversations, countCitations, createAuthenticatedClient, dm_exports as dm, doctags_exports as doctags, documents_exports as documents, facts_exports as facts, files_exports as files, filterSkills, formatAgentStepLabel, formatFileSize, formatItemLabel, formatUserName, formatWorkspaceChoices, getErrorMessage, getRawWorkspaceKey, health_exports as health, mail_exports as mail, parseSSEEvents, parseSlashCommand, parseSlashTokenInProgress, performPasswordLogin, profile_exports as profile, projects_exports as projects, requireData, requireOk, resolveAuth, resolveCitations, resolveWorkspace, responses_exports as responses, selectWorkspace, selectWorkspaceById, sessions_exports as sessions, settings_exports as settings, streamSSE, stripCitationMarkdown, summarizeCitations, tags_exports as tags, work_exports as work, workflows_exports as workflows, workspaces_exports as workspaces };
7275
+ export { Arbi, ArbiApiError, ArbiError, WebSocketAuthError, account_exports as account, agentconfig_exports as agentconfig, assistant_exports as assistant, authenticatedFetch, buildFactsContextTool, buildRetrievalChunkTool, buildRetrievalFullContextTool, buildRetrievalTocTool, connectWebSocket, connectWithReconnect, consumeSSEStream, contacts_exports as contacts, conversations_exports as conversations, countCitations, createAuthenticatedClient, dm_exports as dm, doctags_exports as doctags, documents_exports as documents, facts_exports as facts, files_exports as files, filterSkills, formatAgentStepLabel, formatFileSize, formatItemLabel, formatUserName, formatWorkspaceChoices, getErrorMessage, getRawWorkspaceKey, health_exports as health, identityErrorCode, identity_exports as identityVerification, mail_exports as mail, parseSSEEvents, parseSlashCommand, parseSlashTokenInProgress, performPasswordLogin, profile_exports as profile, projects_exports as projects, requireData, requireOk, resolveAuth, resolveCitations, resolveWorkspace, responses_exports as responses, selectWorkspace, selectWorkspaceById, sessions_exports as sessions, settings_exports as settings, streamSSE, stripCitationMarkdown, summarizeCitations, tags_exports as tags, work_exports as work, workflows_exports as workflows, workspaces_exports as workspaces };
7138
7276
  //# sourceMappingURL=browser.js.map
7139
7277
  //# sourceMappingURL=browser.js.map