@arbidocs/sdk 0.4.53 → 0.4.55

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.
@@ -1283,8 +1283,6 @@ declare function listConversations(arbi: ArbiClient): Promise<{
1283
1283
  status?: (components["schemas"]["WorkStatus"] | null) | undefined;
1284
1284
  description?: string | null | undefined;
1285
1285
  due_at?: string | null | undefined;
1286
- signoff_ext_id?: string | null | undefined;
1287
- can_signoff: boolean;
1288
1286
  completed_at?: string | null | undefined;
1289
1287
  completed_by_ext_id?: string | null | undefined;
1290
1288
  parent_conversation_ext_id?: string | null | undefined;
@@ -3065,15 +3063,12 @@ declare namespace profile {
3065
3063
  }
3066
3064
 
3067
3065
  /**
3068
- * Work: a conversation with a `status` is a task. Create one, run it, review it, hand its sign-off
3069
- * to someone else, or plan it. Backend: `/v1/conversation/...` (docs/design/work-model.md).
3066
+ * Work: a conversation with a `status` is a task. Create one, run it, mark it done, or plan it. Backend: `/v1/conversation/...` (docs/design/work-model.md).
3070
3067
  */
3071
3068
 
3072
3069
  type ConversationResponse = components['schemas']['ConversationResponse'];
3073
3070
  type UpdateConversationRequest = components['schemas']['UpdateConversationRequest'];
3074
3071
  type CreateWorkRequest = components['schemas']['CreateWorkRequest'];
3075
- type ReviewWorkRequest = components['schemas']['ReviewWorkRequest'];
3076
- type RequestApprovalRequest = components['schemas']['RequestApprovalRequest'];
3077
3072
  type PendingAuthResponse = components['schemas']['PendingAuthResponse'];
3078
3073
  type PlanWorkRequest = components['schemas']['PlanWorkRequest'];
3079
3074
  type TaskPlan = components['schemas']['TaskPlan'];
@@ -3084,7 +3079,7 @@ type WorkStatus = components['schemas']['WorkStatus'];
3084
3079
  type AuthMode = components['schemas']['src__models__work__AuthMode'];
3085
3080
  /**
3086
3081
  * Update a conversation: title, sharing (`shared`, owner only), and the work fields (description, due
3087
- * date, sign-off person, parent, `status` `todo | done`, plan). This one call replaces share, unshare
3082
+ * date, parent, `status` `todo | done`, plan). This one call replaces share, unshare
3088
3083
  * and rename.
3089
3084
  */
3090
3085
  declare function updateConversation(arbi: ArbiClient, conversationId: string, body: UpdateConversationRequest): Promise<ConversationResponse>;
@@ -3092,15 +3087,11 @@ declare function updateConversation(arbi: ArbiClient, conversationId: string, bo
3092
3087
  declare function createWork(arbi: ArbiClient, body: CreateWorkRequest): Promise<ConversationResponse>;
3093
3088
  /** Run a work item now (or retry). Not while a run is live. */
3094
3089
  declare function runConversation(arbi: ArbiClient, conversationId: string): Promise<ConversationResponse>;
3095
- /** The sign-off person's verdict: `approve` marks it done; `request_changes` sends `feedback` back. */
3096
- declare function reviewConversation(arbi: ArbiClient, conversationId: string, body: ReviewWorkRequest): Promise<ConversationResponse>;
3097
- /** Hand sign-off to another workspace member, who is notified. Nobody can take a work item. */
3098
- declare function requestApproval(arbi: ArbiClient, conversationId: string, body: RequestApprovalRequest): Promise<ConversationResponse>;
3099
3090
  /** What an unattended run waits on (agent email + session public key); 404 when nothing waits. */
3100
3091
  declare function getPendingAuth(arbi: ArbiClient, conversationId: string): Promise<PendingAuthResponse>;
3101
3092
  /** The task's history, oldest first: created, run started, handed off, sent back, done and so on. */
3102
3093
  declare function getActivity(arbi: ArbiClient, conversationId: string): Promise<ActivityResponse[]>;
3103
- /** Draft a reviewable plan (goal and acceptance checklist) from a plain objective. */
3094
+ /** Draft an editable plan (goal and acceptance checklist) from a plain objective. */
3104
3095
  declare function planWork(arbi: ArbiClient, body: PlanWorkRequest): Promise<TaskPlan>;
3105
3096
 
3106
3097
  type work_ActivityKind = ActivityKind;
@@ -3110,8 +3101,6 @@ type work_ConversationResponse = ConversationResponse;
3110
3101
  type work_CreateWorkRequest = CreateWorkRequest;
3111
3102
  type work_PendingAuthResponse = PendingAuthResponse;
3112
3103
  type work_PlanWorkRequest = PlanWorkRequest;
3113
- type work_RequestApprovalRequest = RequestApprovalRequest;
3114
- type work_ReviewWorkRequest = ReviewWorkRequest;
3115
3104
  type work_TaskPlan = TaskPlan;
3116
3105
  type work_UpdateConversationRequest = UpdateConversationRequest;
3117
3106
  type work_WorkStatus = WorkStatus;
@@ -3119,12 +3108,10 @@ declare const work_createWork: typeof createWork;
3119
3108
  declare const work_getActivity: typeof getActivity;
3120
3109
  declare const work_getPendingAuth: typeof getPendingAuth;
3121
3110
  declare const work_planWork: typeof planWork;
3122
- declare const work_requestApproval: typeof requestApproval;
3123
- declare const work_reviewConversation: typeof reviewConversation;
3124
3111
  declare const work_runConversation: typeof runConversation;
3125
3112
  declare const work_updateConversation: typeof updateConversation;
3126
3113
  declare namespace work {
3127
- export { type work_ActivityKind as ActivityKind, type work_ActivityResponse as ActivityResponse, type work_AuthMode as AuthMode, type work_ConversationResponse as ConversationResponse, type work_CreateWorkRequest as CreateWorkRequest, type work_PendingAuthResponse as PendingAuthResponse, type work_PlanWorkRequest as PlanWorkRequest, type work_RequestApprovalRequest as RequestApprovalRequest, type work_ReviewWorkRequest as ReviewWorkRequest, type work_TaskPlan as TaskPlan, type work_UpdateConversationRequest as UpdateConversationRequest, type work_WorkStatus as WorkStatus, work_createWork as createWork, work_getActivity as getActivity, work_getPendingAuth as getPendingAuth, work_planWork as planWork, work_requestApproval as requestApproval, work_reviewConversation as reviewConversation, work_runConversation as runConversation, work_updateConversation as updateConversation };
3114
+ export { type work_ActivityKind as ActivityKind, type work_ActivityResponse as ActivityResponse, type work_AuthMode as AuthMode, type work_ConversationResponse as ConversationResponse, type work_CreateWorkRequest as CreateWorkRequest, type work_PendingAuthResponse as PendingAuthResponse, type work_PlanWorkRequest as PlanWorkRequest, type work_TaskPlan as TaskPlan, type work_UpdateConversationRequest as UpdateConversationRequest, type work_WorkStatus as WorkStatus, work_createWork as createWork, work_getActivity as getActivity, work_getPendingAuth as getPendingAuth, work_planWork as planWork, work_runConversation as runConversation, work_updateConversation as updateConversation };
3128
3115
  }
3129
3116
 
3130
3117
  /**
@@ -4167,8 +4154,6 @@ declare class Arbi {
4167
4154
  status?: (components["schemas"]["WorkStatus"] | null) | undefined;
4168
4155
  description?: string | null | undefined;
4169
4156
  due_at?: string | null | undefined;
4170
- signoff_ext_id?: string | null | undefined;
4171
- can_signoff: boolean;
4172
4157
  completed_at?: string | null | undefined;
4173
4158
  completed_by_ext_id?: string | null | undefined;
4174
4159
  parent_conversation_ext_id?: string | null | undefined;
@@ -4380,7 +4365,7 @@ declare class Arbi {
4380
4365
  }>;
4381
4366
  /**
4382
4367
  * Patch a conversation: `title`, `shared` (owner only), and the work fields (`description`,
4383
- * `due_at`, `signoff_user_ext_id`, `parent_conversation_ext_id`, `status`, `plan`). The one call
4368
+ * `due_at`, `parent_conversation_ext_id`, `status`, `plan`). The one call
4384
4369
  * behind rename, share and unshare.
4385
4370
  */
4386
4371
  update: (conversationId: string, body: UpdateConversationRequest) => Promise<{
@@ -4402,8 +4387,6 @@ declare class Arbi {
4402
4387
  status?: components["schemas"]["WorkStatus"] | null;
4403
4388
  description?: string | null;
4404
4389
  due_at?: string | null;
4405
- signoff_ext_id?: string | null;
4406
- can_signoff: boolean;
4407
4390
  completed_at?: string | null;
4408
4391
  completed_by_ext_id?: string | null;
4409
4392
  parent_conversation_ext_id?: string | null;
@@ -4444,8 +4427,6 @@ declare class Arbi {
4444
4427
  status?: components["schemas"]["WorkStatus"] | null;
4445
4428
  description?: string | null;
4446
4429
  due_at?: string | null;
4447
- signoff_ext_id?: string | null;
4448
- can_signoff: boolean;
4449
4430
  completed_at?: string | null;
4450
4431
  completed_by_ext_id?: string | null;
4451
4432
  parent_conversation_ext_id?: string | null;
@@ -4486,92 +4467,6 @@ declare class Arbi {
4486
4467
  status?: components["schemas"]["WorkStatus"] | null;
4487
4468
  description?: string | null;
4488
4469
  due_at?: string | null;
4489
- signoff_ext_id?: string | null;
4490
- can_signoff: boolean;
4491
- completed_at?: string | null;
4492
- completed_by_ext_id?: string | null;
4493
- parent_conversation_ext_id?: string | null;
4494
- workflow_ext_id?: string | null;
4495
- agent_ext_id?: string | null;
4496
- skill_ref?: string | null;
4497
- has_agent_action: boolean;
4498
- auth_mode?: components["schemas"]["src__models__work__AuthMode"] | null;
4499
- plan?: components["schemas"]["TaskPlan"] | null;
4500
- goal_state?: {
4501
- [key: string]: unknown;
4502
- } | null;
4503
- last_error?: string | null;
4504
- pending_auth_request_id?: string | null;
4505
- in_progress: boolean;
4506
- active_response_id?: string | null;
4507
- run_started_at?: string | null;
4508
- owner_ext_id?: string | null;
4509
- is_owner: boolean;
4510
- }>;
4511
- /** The sign-off person approves, or sends feedback back to the agent in the same thread. */
4512
- review: (conversationId: string, body: ReviewWorkRequest) => Promise<{
4513
- label_ext_ids?: string[];
4514
- external_id: string;
4515
- title: string | null;
4516
- created_by_ext_id: string;
4517
- updated_by_ext_id?: string | null;
4518
- created_at: string;
4519
- updated_at: string;
4520
- is_shared: boolean;
4521
- message_count: number;
4522
- last_message_actor?: components["schemas"]["ConversationTurnActor"] | null;
4523
- last_message_ext_id?: string | null;
4524
- last_message_role?: string | null;
4525
- last_message_updated_at?: string | null;
4526
- last_message_status?: string | null;
4527
- assistant_mode: components["schemas"]["AssistantMode"];
4528
- status?: components["schemas"]["WorkStatus"] | null;
4529
- description?: string | null;
4530
- due_at?: string | null;
4531
- signoff_ext_id?: string | null;
4532
- can_signoff: boolean;
4533
- completed_at?: string | null;
4534
- completed_by_ext_id?: string | null;
4535
- parent_conversation_ext_id?: string | null;
4536
- workflow_ext_id?: string | null;
4537
- agent_ext_id?: string | null;
4538
- skill_ref?: string | null;
4539
- has_agent_action: boolean;
4540
- auth_mode?: components["schemas"]["src__models__work__AuthMode"] | null;
4541
- plan?: components["schemas"]["TaskPlan"] | null;
4542
- goal_state?: {
4543
- [key: string]: unknown;
4544
- } | null;
4545
- last_error?: string | null;
4546
- pending_auth_request_id?: string | null;
4547
- in_progress: boolean;
4548
- active_response_id?: string | null;
4549
- run_started_at?: string | null;
4550
- owner_ext_id?: string | null;
4551
- is_owner: boolean;
4552
- }>;
4553
- /** Hand sign-off to another workspace member. */
4554
- requestApproval: (conversationId: string, body: RequestApprovalRequest) => Promise<{
4555
- label_ext_ids?: string[];
4556
- external_id: string;
4557
- title: string | null;
4558
- created_by_ext_id: string;
4559
- updated_by_ext_id?: string | null;
4560
- created_at: string;
4561
- updated_at: string;
4562
- is_shared: boolean;
4563
- message_count: number;
4564
- last_message_actor?: components["schemas"]["ConversationTurnActor"] | null;
4565
- last_message_ext_id?: string | null;
4566
- last_message_role?: string | null;
4567
- last_message_updated_at?: string | null;
4568
- last_message_status?: string | null;
4569
- assistant_mode: components["schemas"]["AssistantMode"];
4570
- status?: components["schemas"]["WorkStatus"] | null;
4571
- description?: string | null;
4572
- due_at?: string | null;
4573
- signoff_ext_id?: string | null;
4574
- can_signoff: boolean;
4575
4470
  completed_at?: string | null;
4576
4471
  completed_by_ext_id?: string | null;
4577
4472
  parent_conversation_ext_id?: string | null;
@@ -4604,13 +4499,12 @@ declare class Arbi {
4604
4499
  kind: components["schemas"]["ActivityKind"];
4605
4500
  actor_ext_id?: string | null;
4606
4501
  to_ext_id?: string | null;
4607
- note?: string | null;
4608
4502
  detail?: {
4609
4503
  [key: string]: unknown;
4610
4504
  } | null;
4611
4505
  created_at: string;
4612
4506
  }[]>;
4613
- /** Draft a reviewable plan from an objective. */
4507
+ /** Draft an editable plan from an objective. */
4614
4508
  plan: (body: PlanWorkRequest) => Promise<{
4615
4509
  goal: string;
4616
4510
  criteria: components["schemas"]["TaskPlanCriterion"][];
@@ -4619,7 +4513,7 @@ declare class Arbi {
4619
4513
  }>;
4620
4514
  /**
4621
4515
  * Run a work item and, when the run is parked waiting for workspace access, grant the agent's
4622
- * run session a temporary key and run it again. Work that needs no approval returns from the
4516
+ * run session a temporary key and run it again. Work that needs no access grant returns from the
4623
4517
  * first call already running.
4624
4518
  */
4625
4519
  runWithAuth: (conversationId: string) => Promise<{
@@ -4641,8 +4535,6 @@ declare class Arbi {
4641
4535
  status?: components["schemas"]["WorkStatus"] | null;
4642
4536
  description?: string | null;
4643
4537
  due_at?: string | null;
4644
- signoff_ext_id?: string | null;
4645
- can_signoff: boolean;
4646
4538
  completed_at?: string | null;
4647
4539
  completed_by_ext_id?: string | null;
4648
4540
  parent_conversation_ext_id?: string | null;
@@ -5057,7 +4949,7 @@ declare class Arbi {
5057
4949
  };
5058
4950
  readonly assistant: {
5059
4951
  cancelRun: (responseId: string) => Promise<void>;
5060
- /** Start a durable background turn; task options make its thread a reviewable work item. */
4952
+ /** Start a durable background turn; task options make its thread a work item. */
5061
4953
  submit: (question: string, options: Omit<SubmitBackgroundQueryOptions, keyof AuthHeaders | "workspaceId" | "question">) => Promise<{
5062
4954
  id: string;
5063
4955
  object: "response";
@@ -6258,7 +6150,6 @@ declare class Arbi {
6258
6150
  plan?: components["schemas"]["TaskPlan"] | null;
6259
6151
  agent_ext_id?: string | null;
6260
6152
  auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
6261
- signoff_ext_id?: string | null;
6262
6153
  fact_ext_id?: string | null;
6263
6154
  last_fired_at?: string | null;
6264
6155
  last_error?: string | null;
@@ -6294,7 +6185,6 @@ declare class Arbi {
6294
6185
  plan?: components["schemas"]["TaskPlan"] | null;
6295
6186
  agent_ext_id?: string | null;
6296
6187
  auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
6297
- signoff_ext_id?: string | null;
6298
6188
  fact_ext_id?: string | null;
6299
6189
  last_fired_at?: string | null;
6300
6190
  last_error?: string | null;
@@ -6330,7 +6220,6 @@ declare class Arbi {
6330
6220
  plan?: components["schemas"]["TaskPlan"] | null;
6331
6221
  agent_ext_id?: string | null;
6332
6222
  auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
6333
- signoff_ext_id?: string | null;
6334
6223
  fact_ext_id?: string | null;
6335
6224
  last_fired_at?: string | null;
6336
6225
  last_error?: string | null;
@@ -7726,4 +7615,4 @@ declare namespace account {
7726
7615
  export { account_confirmEmailChange as confirmEmailChange, account_requestDeletion as requestDeletion, account_requestEmailChange as requestEmailChange };
7727
7616
  }
7728
7617
 
7729
- export { type ParsedSlashCommand as $, type ActivityKind as A, type DecryptedDmNotification as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type DeferredInterjectionEvent as E, type DmAttachmentFile as F, type DmAttachmentInput as G, type DmCryptoContext as H, type DocNameMap as I, type DocumentAutomationAction as J, type DocumentListFields as K, type DocumentListOrder as L, type DocumentSelector as M, type DocumentWaiter as N, type DocumentWaiterOptions as O, type FactResponse as P, type FactSearchRequest as Q, type FactSearchResponse as R, type FormattedWsMessage as S, type ListAllOptions as T, type ListFactsOptions as U, type ListPaginatedOptions as V, type MailAttachment as W, type MessageLevel as X, type MessageMetadataPayload$1 as Y, type MessageQueuedEvent as Z, type OutputTokensDetails as _, type ActivityResponse as a, contacts as a$, type PendingAuthResponse as a0, type PlanWorkRequest as a1, type ProbeAnswerEvent as a2, type ProjectInvoicesResponse as a3, type ProjectUsageResponse as a4, type QueryOptions as a5, type ReconnectOptions as a6, type ReconnectableWsConnection as a7, type RequestApprovalRequest as a8, type ResolvedCitation as a9, type UploadDirectResult as aA, type UploadOptions as aB, type UploadResult as aC, type UserDailyUsageResponse as aD, type UserInfo as aE, type UserInputRequestEvent as aF, type UserMessageEvent as aG, WebSocketAuthError as aH, type WorkStatus as aI, type WorkflowAuthMode as aJ, type WorkflowResponse as aK, type WorkflowRunHistoryResponse as aL, type WorkflowRunResponse as aM, type WorkspaceContext as aN, type WsConnection as aO, account as aP, agentconfig as aQ, agents as aR, assistant as aS, authenticatedFetch as aT, buildDocNameMap as aU, buildRetrievalChunkTool as aV, buildRetrievalFullContextTool as aW, buildRetrievalTocTool as aX, connectWebSocket as aY, connectWithReconnect as aZ, consumeSSEStream as a_, type ResolvedRecipient as aa, type ResponseCompletedEvent as ab, type ResponseContentPartAddedEvent as ac, type ResponseCreatedEvent as ad, type ResponseFailedEvent as ae, type ResponseOutputItemAddedEvent as af, type ResponseOutputItemDoneEvent as ag, type ResponseOutputTextDeltaEvent as ah, type ResponseOutputTextDoneEvent as ai, type ResponseUsage as aj, type ReviewWorkRequest as ak, type SSEEvent as al, type SSEStreamCallbacks as am, type SSEStreamResult as an, type SSEStreamStartData as ao, SUPPORTED_EXTENSIONS as ap, type SkillSummary as aq, type SkippedFile as ar, type SubmitBackgroundQueryOptions as as, type TaskPlan as at, type TokenBudgetContext as au, type UpdateConversationRequest as av, type UpdateFactRequest as aw, type UpdateWorkflowRequest as ax, type UploadBatchResult as ay, type UploadDirectOptions as az, type AgentControlStateEvent as b, conversations as b0, countCitations as b1, createAuthenticatedClient as b2, createDocumentWaiter as b3, dm as b4, doctags as b5, documents as b6, facts as b7, files as b8, filterSkills as b9, resolveWorkspace as bA, responses as bB, selectWorkspace as bC, selectWorkspaceById as bD, sessions as bE, settings as bF, streamSSE as bG, stripCitationMarkdown as bH, summarizeCitations as bI, tags as bJ, work as bK, workflows as bL, workspaces as bM, formatAgentStepLabel as ba, formatFileSize as bb, formatItemLabel as bc, formatStreamSummary as bd, formatUserName as be, formatWorkspaceChoices as bf, formatWsMessage as bg, generateEncryptedWorkspaceKey as bh, generateNewWorkspaceKey as bi, getErrorCode as bj, getErrorMessage as bk, getRawWorkspaceKey as bl, health as bm, mail as bn, parseSSEEvents as bo, parseSlashCommand as bp, parseSlashTokenInProgress as bq, performPasswordLogin as br, performSigningKeyLogin as bs, performSsoDeviceFlowLogin as bt, profile as bu, projects as bv, requireData as bw, requireOk as bx, resolveAuth as by, resolveCitations as bz, type AgentStepDeltaEvent as c, type AgentStepEvent as d, Arbi as e, ArbiApiError as f, ArbiError as g, type ArbiErrorEvent as h, type ArbiOptions as i, ArbiSessionExpiredError as j, type ArtifactEvent as k, type AuthContext as l, type AuthHeaders as m, type AuthMode as n, type AuthenticatedClient as o, type CitationSummary as p, type CliConfig as q, type CliCredentials as r, type CommandDescriptor as s, type ConfigStore as t, type ConnectOptions as u, type ConversationResponse as v, type CreateFactRequest as w, type CreateFactsRequest as x, type CreateWorkRequest as y, type CreateWorkflowRequest as z };
7618
+ export { type ParsedSlashCommand as $, type ActivityKind as A, type DecryptedDmNotification as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type DeferredInterjectionEvent as E, type DmAttachmentFile as F, type DmAttachmentInput as G, type DmCryptoContext as H, type DocNameMap as I, type DocumentAutomationAction as J, type DocumentListFields as K, type DocumentListOrder as L, type DocumentSelector as M, type DocumentWaiter as N, type DocumentWaiterOptions as O, type FactResponse as P, type FactSearchRequest as Q, type FactSearchResponse as R, type FormattedWsMessage as S, type ListAllOptions as T, type ListFactsOptions as U, type ListPaginatedOptions as V, type MailAttachment as W, type MessageLevel as X, type MessageMetadataPayload$1 as Y, type MessageQueuedEvent as Z, type OutputTokensDetails as _, type ActivityResponse as a, countCitations as a$, type PendingAuthResponse as a0, type PlanWorkRequest as a1, type ProbeAnswerEvent as a2, type ProjectInvoicesResponse as a3, type ProjectUsageResponse as a4, type QueryOptions as a5, type ReconnectOptions as a6, type ReconnectableWsConnection as a7, type ResolvedCitation as a8, type ResolvedRecipient as a9, type UploadResult as aA, type UserDailyUsageResponse as aB, type UserInfo as aC, type UserInputRequestEvent as aD, type UserMessageEvent as aE, WebSocketAuthError as aF, type WorkStatus as aG, type WorkflowAuthMode as aH, type WorkflowResponse as aI, type WorkflowRunHistoryResponse as aJ, type WorkflowRunResponse as aK, type WorkspaceContext as aL, type WsConnection as aM, account as aN, agentconfig as aO, agents as aP, assistant as aQ, authenticatedFetch as aR, buildDocNameMap as aS, buildRetrievalChunkTool as aT, buildRetrievalFullContextTool as aU, buildRetrievalTocTool as aV, connectWebSocket as aW, connectWithReconnect as aX, consumeSSEStream as aY, contacts as aZ, conversations as a_, type ResponseCompletedEvent as aa, type ResponseContentPartAddedEvent as ab, type ResponseCreatedEvent as ac, type ResponseFailedEvent as ad, type ResponseOutputItemAddedEvent as ae, type ResponseOutputItemDoneEvent as af, type ResponseOutputTextDeltaEvent as ag, type ResponseOutputTextDoneEvent as ah, type ResponseUsage as ai, type SSEEvent as aj, type SSEStreamCallbacks as ak, type SSEStreamResult as al, type SSEStreamStartData as am, SUPPORTED_EXTENSIONS as an, type SkillSummary as ao, type SkippedFile as ap, type SubmitBackgroundQueryOptions as aq, type TaskPlan as ar, type TokenBudgetContext as as, type UpdateConversationRequest as at, type UpdateFactRequest as au, type UpdateWorkflowRequest as av, type UploadBatchResult as aw, type UploadDirectOptions as ax, type UploadDirectResult as ay, type UploadOptions as az, type AgentControlStateEvent as b, createAuthenticatedClient as b0, createDocumentWaiter as b1, dm as b2, doctags as b3, documents as b4, facts as b5, files as b6, filterSkills as b7, formatAgentStepLabel as b8, formatFileSize as b9, selectWorkspace as bA, selectWorkspaceById as bB, sessions as bC, settings as bD, streamSSE as bE, stripCitationMarkdown as bF, summarizeCitations as bG, tags as bH, work as bI, workflows as bJ, workspaces as bK, formatItemLabel as ba, formatStreamSummary as bb, formatUserName as bc, formatWorkspaceChoices as bd, formatWsMessage as be, generateEncryptedWorkspaceKey as bf, generateNewWorkspaceKey as bg, getErrorCode as bh, getErrorMessage as bi, getRawWorkspaceKey as bj, health as bk, mail as bl, parseSSEEvents as bm, parseSlashCommand as bn, parseSlashTokenInProgress as bo, performPasswordLogin as bp, performSigningKeyLogin as bq, performSsoDeviceFlowLogin as br, profile as bs, projects as bt, requireData as bu, requireOk as bv, resolveAuth as bw, resolveCitations as bx, resolveWorkspace as by, responses as bz, type AgentStepDeltaEvent as c, type AgentStepEvent as d, Arbi as e, ArbiApiError as f, ArbiError as g, type ArbiErrorEvent as h, type ArbiOptions as i, ArbiSessionExpiredError as j, type ArtifactEvent as k, type AuthContext as l, type AuthHeaders as m, type AuthMode as n, type AuthenticatedClient as o, type CitationSummary as p, type CliConfig as q, type CliCredentials as r, type CommandDescriptor as s, type ConfigStore as t, type ConnectOptions as u, type ConversationResponse as v, type CreateFactRequest as w, type CreateFactsRequest as x, type CreateWorkRequest as y, type CreateWorkflowRequest as z };
@@ -1283,8 +1283,6 @@ declare function listConversations(arbi: ArbiClient): Promise<{
1283
1283
  status?: (components["schemas"]["WorkStatus"] | null) | undefined;
1284
1284
  description?: string | null | undefined;
1285
1285
  due_at?: string | null | undefined;
1286
- signoff_ext_id?: string | null | undefined;
1287
- can_signoff: boolean;
1288
1286
  completed_at?: string | null | undefined;
1289
1287
  completed_by_ext_id?: string | null | undefined;
1290
1288
  parent_conversation_ext_id?: string | null | undefined;
@@ -3065,15 +3063,12 @@ declare namespace profile {
3065
3063
  }
3066
3064
 
3067
3065
  /**
3068
- * Work: a conversation with a `status` is a task. Create one, run it, review it, hand its sign-off
3069
- * to someone else, or plan it. Backend: `/v1/conversation/...` (docs/design/work-model.md).
3066
+ * Work: a conversation with a `status` is a task. Create one, run it, mark it done, or plan it. Backend: `/v1/conversation/...` (docs/design/work-model.md).
3070
3067
  */
3071
3068
 
3072
3069
  type ConversationResponse = components['schemas']['ConversationResponse'];
3073
3070
  type UpdateConversationRequest = components['schemas']['UpdateConversationRequest'];
3074
3071
  type CreateWorkRequest = components['schemas']['CreateWorkRequest'];
3075
- type ReviewWorkRequest = components['schemas']['ReviewWorkRequest'];
3076
- type RequestApprovalRequest = components['schemas']['RequestApprovalRequest'];
3077
3072
  type PendingAuthResponse = components['schemas']['PendingAuthResponse'];
3078
3073
  type PlanWorkRequest = components['schemas']['PlanWorkRequest'];
3079
3074
  type TaskPlan = components['schemas']['TaskPlan'];
@@ -3084,7 +3079,7 @@ type WorkStatus = components['schemas']['WorkStatus'];
3084
3079
  type AuthMode = components['schemas']['src__models__work__AuthMode'];
3085
3080
  /**
3086
3081
  * Update a conversation: title, sharing (`shared`, owner only), and the work fields (description, due
3087
- * date, sign-off person, parent, `status` `todo | done`, plan). This one call replaces share, unshare
3082
+ * date, parent, `status` `todo | done`, plan). This one call replaces share, unshare
3088
3083
  * and rename.
3089
3084
  */
3090
3085
  declare function updateConversation(arbi: ArbiClient, conversationId: string, body: UpdateConversationRequest): Promise<ConversationResponse>;
@@ -3092,15 +3087,11 @@ declare function updateConversation(arbi: ArbiClient, conversationId: string, bo
3092
3087
  declare function createWork(arbi: ArbiClient, body: CreateWorkRequest): Promise<ConversationResponse>;
3093
3088
  /** Run a work item now (or retry). Not while a run is live. */
3094
3089
  declare function runConversation(arbi: ArbiClient, conversationId: string): Promise<ConversationResponse>;
3095
- /** The sign-off person's verdict: `approve` marks it done; `request_changes` sends `feedback` back. */
3096
- declare function reviewConversation(arbi: ArbiClient, conversationId: string, body: ReviewWorkRequest): Promise<ConversationResponse>;
3097
- /** Hand sign-off to another workspace member, who is notified. Nobody can take a work item. */
3098
- declare function requestApproval(arbi: ArbiClient, conversationId: string, body: RequestApprovalRequest): Promise<ConversationResponse>;
3099
3090
  /** What an unattended run waits on (agent email + session public key); 404 when nothing waits. */
3100
3091
  declare function getPendingAuth(arbi: ArbiClient, conversationId: string): Promise<PendingAuthResponse>;
3101
3092
  /** The task's history, oldest first: created, run started, handed off, sent back, done and so on. */
3102
3093
  declare function getActivity(arbi: ArbiClient, conversationId: string): Promise<ActivityResponse[]>;
3103
- /** Draft a reviewable plan (goal and acceptance checklist) from a plain objective. */
3094
+ /** Draft an editable plan (goal and acceptance checklist) from a plain objective. */
3104
3095
  declare function planWork(arbi: ArbiClient, body: PlanWorkRequest): Promise<TaskPlan>;
3105
3096
 
3106
3097
  type work_ActivityKind = ActivityKind;
@@ -3110,8 +3101,6 @@ type work_ConversationResponse = ConversationResponse;
3110
3101
  type work_CreateWorkRequest = CreateWorkRequest;
3111
3102
  type work_PendingAuthResponse = PendingAuthResponse;
3112
3103
  type work_PlanWorkRequest = PlanWorkRequest;
3113
- type work_RequestApprovalRequest = RequestApprovalRequest;
3114
- type work_ReviewWorkRequest = ReviewWorkRequest;
3115
3104
  type work_TaskPlan = TaskPlan;
3116
3105
  type work_UpdateConversationRequest = UpdateConversationRequest;
3117
3106
  type work_WorkStatus = WorkStatus;
@@ -3119,12 +3108,10 @@ declare const work_createWork: typeof createWork;
3119
3108
  declare const work_getActivity: typeof getActivity;
3120
3109
  declare const work_getPendingAuth: typeof getPendingAuth;
3121
3110
  declare const work_planWork: typeof planWork;
3122
- declare const work_requestApproval: typeof requestApproval;
3123
- declare const work_reviewConversation: typeof reviewConversation;
3124
3111
  declare const work_runConversation: typeof runConversation;
3125
3112
  declare const work_updateConversation: typeof updateConversation;
3126
3113
  declare namespace work {
3127
- export { type work_ActivityKind as ActivityKind, type work_ActivityResponse as ActivityResponse, type work_AuthMode as AuthMode, type work_ConversationResponse as ConversationResponse, type work_CreateWorkRequest as CreateWorkRequest, type work_PendingAuthResponse as PendingAuthResponse, type work_PlanWorkRequest as PlanWorkRequest, type work_RequestApprovalRequest as RequestApprovalRequest, type work_ReviewWorkRequest as ReviewWorkRequest, type work_TaskPlan as TaskPlan, type work_UpdateConversationRequest as UpdateConversationRequest, type work_WorkStatus as WorkStatus, work_createWork as createWork, work_getActivity as getActivity, work_getPendingAuth as getPendingAuth, work_planWork as planWork, work_requestApproval as requestApproval, work_reviewConversation as reviewConversation, work_runConversation as runConversation, work_updateConversation as updateConversation };
3114
+ export { type work_ActivityKind as ActivityKind, type work_ActivityResponse as ActivityResponse, type work_AuthMode as AuthMode, type work_ConversationResponse as ConversationResponse, type work_CreateWorkRequest as CreateWorkRequest, type work_PendingAuthResponse as PendingAuthResponse, type work_PlanWorkRequest as PlanWorkRequest, type work_TaskPlan as TaskPlan, type work_UpdateConversationRequest as UpdateConversationRequest, type work_WorkStatus as WorkStatus, work_createWork as createWork, work_getActivity as getActivity, work_getPendingAuth as getPendingAuth, work_planWork as planWork, work_runConversation as runConversation, work_updateConversation as updateConversation };
3128
3115
  }
3129
3116
 
3130
3117
  /**
@@ -4167,8 +4154,6 @@ declare class Arbi {
4167
4154
  status?: (components["schemas"]["WorkStatus"] | null) | undefined;
4168
4155
  description?: string | null | undefined;
4169
4156
  due_at?: string | null | undefined;
4170
- signoff_ext_id?: string | null | undefined;
4171
- can_signoff: boolean;
4172
4157
  completed_at?: string | null | undefined;
4173
4158
  completed_by_ext_id?: string | null | undefined;
4174
4159
  parent_conversation_ext_id?: string | null | undefined;
@@ -4380,7 +4365,7 @@ declare class Arbi {
4380
4365
  }>;
4381
4366
  /**
4382
4367
  * Patch a conversation: `title`, `shared` (owner only), and the work fields (`description`,
4383
- * `due_at`, `signoff_user_ext_id`, `parent_conversation_ext_id`, `status`, `plan`). The one call
4368
+ * `due_at`, `parent_conversation_ext_id`, `status`, `plan`). The one call
4384
4369
  * behind rename, share and unshare.
4385
4370
  */
4386
4371
  update: (conversationId: string, body: UpdateConversationRequest) => Promise<{
@@ -4402,8 +4387,6 @@ declare class Arbi {
4402
4387
  status?: components["schemas"]["WorkStatus"] | null;
4403
4388
  description?: string | null;
4404
4389
  due_at?: string | null;
4405
- signoff_ext_id?: string | null;
4406
- can_signoff: boolean;
4407
4390
  completed_at?: string | null;
4408
4391
  completed_by_ext_id?: string | null;
4409
4392
  parent_conversation_ext_id?: string | null;
@@ -4444,8 +4427,6 @@ declare class Arbi {
4444
4427
  status?: components["schemas"]["WorkStatus"] | null;
4445
4428
  description?: string | null;
4446
4429
  due_at?: string | null;
4447
- signoff_ext_id?: string | null;
4448
- can_signoff: boolean;
4449
4430
  completed_at?: string | null;
4450
4431
  completed_by_ext_id?: string | null;
4451
4432
  parent_conversation_ext_id?: string | null;
@@ -4486,92 +4467,6 @@ declare class Arbi {
4486
4467
  status?: components["schemas"]["WorkStatus"] | null;
4487
4468
  description?: string | null;
4488
4469
  due_at?: string | null;
4489
- signoff_ext_id?: string | null;
4490
- can_signoff: boolean;
4491
- completed_at?: string | null;
4492
- completed_by_ext_id?: string | null;
4493
- parent_conversation_ext_id?: string | null;
4494
- workflow_ext_id?: string | null;
4495
- agent_ext_id?: string | null;
4496
- skill_ref?: string | null;
4497
- has_agent_action: boolean;
4498
- auth_mode?: components["schemas"]["src__models__work__AuthMode"] | null;
4499
- plan?: components["schemas"]["TaskPlan"] | null;
4500
- goal_state?: {
4501
- [key: string]: unknown;
4502
- } | null;
4503
- last_error?: string | null;
4504
- pending_auth_request_id?: string | null;
4505
- in_progress: boolean;
4506
- active_response_id?: string | null;
4507
- run_started_at?: string | null;
4508
- owner_ext_id?: string | null;
4509
- is_owner: boolean;
4510
- }>;
4511
- /** The sign-off person approves, or sends feedback back to the agent in the same thread. */
4512
- review: (conversationId: string, body: ReviewWorkRequest) => Promise<{
4513
- label_ext_ids?: string[];
4514
- external_id: string;
4515
- title: string | null;
4516
- created_by_ext_id: string;
4517
- updated_by_ext_id?: string | null;
4518
- created_at: string;
4519
- updated_at: string;
4520
- is_shared: boolean;
4521
- message_count: number;
4522
- last_message_actor?: components["schemas"]["ConversationTurnActor"] | null;
4523
- last_message_ext_id?: string | null;
4524
- last_message_role?: string | null;
4525
- last_message_updated_at?: string | null;
4526
- last_message_status?: string | null;
4527
- assistant_mode: components["schemas"]["AssistantMode"];
4528
- status?: components["schemas"]["WorkStatus"] | null;
4529
- description?: string | null;
4530
- due_at?: string | null;
4531
- signoff_ext_id?: string | null;
4532
- can_signoff: boolean;
4533
- completed_at?: string | null;
4534
- completed_by_ext_id?: string | null;
4535
- parent_conversation_ext_id?: string | null;
4536
- workflow_ext_id?: string | null;
4537
- agent_ext_id?: string | null;
4538
- skill_ref?: string | null;
4539
- has_agent_action: boolean;
4540
- auth_mode?: components["schemas"]["src__models__work__AuthMode"] | null;
4541
- plan?: components["schemas"]["TaskPlan"] | null;
4542
- goal_state?: {
4543
- [key: string]: unknown;
4544
- } | null;
4545
- last_error?: string | null;
4546
- pending_auth_request_id?: string | null;
4547
- in_progress: boolean;
4548
- active_response_id?: string | null;
4549
- run_started_at?: string | null;
4550
- owner_ext_id?: string | null;
4551
- is_owner: boolean;
4552
- }>;
4553
- /** Hand sign-off to another workspace member. */
4554
- requestApproval: (conversationId: string, body: RequestApprovalRequest) => Promise<{
4555
- label_ext_ids?: string[];
4556
- external_id: string;
4557
- title: string | null;
4558
- created_by_ext_id: string;
4559
- updated_by_ext_id?: string | null;
4560
- created_at: string;
4561
- updated_at: string;
4562
- is_shared: boolean;
4563
- message_count: number;
4564
- last_message_actor?: components["schemas"]["ConversationTurnActor"] | null;
4565
- last_message_ext_id?: string | null;
4566
- last_message_role?: string | null;
4567
- last_message_updated_at?: string | null;
4568
- last_message_status?: string | null;
4569
- assistant_mode: components["schemas"]["AssistantMode"];
4570
- status?: components["schemas"]["WorkStatus"] | null;
4571
- description?: string | null;
4572
- due_at?: string | null;
4573
- signoff_ext_id?: string | null;
4574
- can_signoff: boolean;
4575
4470
  completed_at?: string | null;
4576
4471
  completed_by_ext_id?: string | null;
4577
4472
  parent_conversation_ext_id?: string | null;
@@ -4604,13 +4499,12 @@ declare class Arbi {
4604
4499
  kind: components["schemas"]["ActivityKind"];
4605
4500
  actor_ext_id?: string | null;
4606
4501
  to_ext_id?: string | null;
4607
- note?: string | null;
4608
4502
  detail?: {
4609
4503
  [key: string]: unknown;
4610
4504
  } | null;
4611
4505
  created_at: string;
4612
4506
  }[]>;
4613
- /** Draft a reviewable plan from an objective. */
4507
+ /** Draft an editable plan from an objective. */
4614
4508
  plan: (body: PlanWorkRequest) => Promise<{
4615
4509
  goal: string;
4616
4510
  criteria: components["schemas"]["TaskPlanCriterion"][];
@@ -4619,7 +4513,7 @@ declare class Arbi {
4619
4513
  }>;
4620
4514
  /**
4621
4515
  * Run a work item and, when the run is parked waiting for workspace access, grant the agent's
4622
- * run session a temporary key and run it again. Work that needs no approval returns from the
4516
+ * run session a temporary key and run it again. Work that needs no access grant returns from the
4623
4517
  * first call already running.
4624
4518
  */
4625
4519
  runWithAuth: (conversationId: string) => Promise<{
@@ -4641,8 +4535,6 @@ declare class Arbi {
4641
4535
  status?: components["schemas"]["WorkStatus"] | null;
4642
4536
  description?: string | null;
4643
4537
  due_at?: string | null;
4644
- signoff_ext_id?: string | null;
4645
- can_signoff: boolean;
4646
4538
  completed_at?: string | null;
4647
4539
  completed_by_ext_id?: string | null;
4648
4540
  parent_conversation_ext_id?: string | null;
@@ -5057,7 +4949,7 @@ declare class Arbi {
5057
4949
  };
5058
4950
  readonly assistant: {
5059
4951
  cancelRun: (responseId: string) => Promise<void>;
5060
- /** Start a durable background turn; task options make its thread a reviewable work item. */
4952
+ /** Start a durable background turn; task options make its thread a work item. */
5061
4953
  submit: (question: string, options: Omit<SubmitBackgroundQueryOptions, keyof AuthHeaders | "workspaceId" | "question">) => Promise<{
5062
4954
  id: string;
5063
4955
  object: "response";
@@ -6258,7 +6150,6 @@ declare class Arbi {
6258
6150
  plan?: components["schemas"]["TaskPlan"] | null;
6259
6151
  agent_ext_id?: string | null;
6260
6152
  auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
6261
- signoff_ext_id?: string | null;
6262
6153
  fact_ext_id?: string | null;
6263
6154
  last_fired_at?: string | null;
6264
6155
  last_error?: string | null;
@@ -6294,7 +6185,6 @@ declare class Arbi {
6294
6185
  plan?: components["schemas"]["TaskPlan"] | null;
6295
6186
  agent_ext_id?: string | null;
6296
6187
  auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
6297
- signoff_ext_id?: string | null;
6298
6188
  fact_ext_id?: string | null;
6299
6189
  last_fired_at?: string | null;
6300
6190
  last_error?: string | null;
@@ -6330,7 +6220,6 @@ declare class Arbi {
6330
6220
  plan?: components["schemas"]["TaskPlan"] | null;
6331
6221
  agent_ext_id?: string | null;
6332
6222
  auth_mode: components["schemas"]["src__models__workflow__AuthMode"];
6333
- signoff_ext_id?: string | null;
6334
6223
  fact_ext_id?: string | null;
6335
6224
  last_fired_at?: string | null;
6336
6225
  last_error?: string | null;
@@ -7726,4 +7615,4 @@ declare namespace account {
7726
7615
  export { account_confirmEmailChange as confirmEmailChange, account_requestDeletion as requestDeletion, account_requestEmailChange as requestEmailChange };
7727
7616
  }
7728
7617
 
7729
- export { type ParsedSlashCommand as $, type ActivityKind as A, type DecryptedDmNotification as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type DeferredInterjectionEvent as E, type DmAttachmentFile as F, type DmAttachmentInput as G, type DmCryptoContext as H, type DocNameMap as I, type DocumentAutomationAction as J, type DocumentListFields as K, type DocumentListOrder as L, type DocumentSelector as M, type DocumentWaiter as N, type DocumentWaiterOptions as O, type FactResponse as P, type FactSearchRequest as Q, type FactSearchResponse as R, type FormattedWsMessage as S, type ListAllOptions as T, type ListFactsOptions as U, type ListPaginatedOptions as V, type MailAttachment as W, type MessageLevel as X, type MessageMetadataPayload$1 as Y, type MessageQueuedEvent as Z, type OutputTokensDetails as _, type ActivityResponse as a, contacts as a$, type PendingAuthResponse as a0, type PlanWorkRequest as a1, type ProbeAnswerEvent as a2, type ProjectInvoicesResponse as a3, type ProjectUsageResponse as a4, type QueryOptions as a5, type ReconnectOptions as a6, type ReconnectableWsConnection as a7, type RequestApprovalRequest as a8, type ResolvedCitation as a9, type UploadDirectResult as aA, type UploadOptions as aB, type UploadResult as aC, type UserDailyUsageResponse as aD, type UserInfo as aE, type UserInputRequestEvent as aF, type UserMessageEvent as aG, WebSocketAuthError as aH, type WorkStatus as aI, type WorkflowAuthMode as aJ, type WorkflowResponse as aK, type WorkflowRunHistoryResponse as aL, type WorkflowRunResponse as aM, type WorkspaceContext as aN, type WsConnection as aO, account as aP, agentconfig as aQ, agents as aR, assistant as aS, authenticatedFetch as aT, buildDocNameMap as aU, buildRetrievalChunkTool as aV, buildRetrievalFullContextTool as aW, buildRetrievalTocTool as aX, connectWebSocket as aY, connectWithReconnect as aZ, consumeSSEStream as a_, type ResolvedRecipient as aa, type ResponseCompletedEvent as ab, type ResponseContentPartAddedEvent as ac, type ResponseCreatedEvent as ad, type ResponseFailedEvent as ae, type ResponseOutputItemAddedEvent as af, type ResponseOutputItemDoneEvent as ag, type ResponseOutputTextDeltaEvent as ah, type ResponseOutputTextDoneEvent as ai, type ResponseUsage as aj, type ReviewWorkRequest as ak, type SSEEvent as al, type SSEStreamCallbacks as am, type SSEStreamResult as an, type SSEStreamStartData as ao, SUPPORTED_EXTENSIONS as ap, type SkillSummary as aq, type SkippedFile as ar, type SubmitBackgroundQueryOptions as as, type TaskPlan as at, type TokenBudgetContext as au, type UpdateConversationRequest as av, type UpdateFactRequest as aw, type UpdateWorkflowRequest as ax, type UploadBatchResult as ay, type UploadDirectOptions as az, type AgentControlStateEvent as b, conversations as b0, countCitations as b1, createAuthenticatedClient as b2, createDocumentWaiter as b3, dm as b4, doctags as b5, documents as b6, facts as b7, files as b8, filterSkills as b9, resolveWorkspace as bA, responses as bB, selectWorkspace as bC, selectWorkspaceById as bD, sessions as bE, settings as bF, streamSSE as bG, stripCitationMarkdown as bH, summarizeCitations as bI, tags as bJ, work as bK, workflows as bL, workspaces as bM, formatAgentStepLabel as ba, formatFileSize as bb, formatItemLabel as bc, formatStreamSummary as bd, formatUserName as be, formatWorkspaceChoices as bf, formatWsMessage as bg, generateEncryptedWorkspaceKey as bh, generateNewWorkspaceKey as bi, getErrorCode as bj, getErrorMessage as bk, getRawWorkspaceKey as bl, health as bm, mail as bn, parseSSEEvents as bo, parseSlashCommand as bp, parseSlashTokenInProgress as bq, performPasswordLogin as br, performSigningKeyLogin as bs, performSsoDeviceFlowLogin as bt, profile as bu, projects as bv, requireData as bw, requireOk as bx, resolveAuth as by, resolveCitations as bz, type AgentStepDeltaEvent as c, type AgentStepEvent as d, Arbi as e, ArbiApiError as f, ArbiError as g, type ArbiErrorEvent as h, type ArbiOptions as i, ArbiSessionExpiredError as j, type ArtifactEvent as k, type AuthContext as l, type AuthHeaders as m, type AuthMode as n, type AuthenticatedClient as o, type CitationSummary as p, type CliConfig as q, type CliCredentials as r, type CommandDescriptor as s, type ConfigStore as t, type ConnectOptions as u, type ConversationResponse as v, type CreateFactRequest as w, type CreateFactsRequest as x, type CreateWorkRequest as y, type CreateWorkflowRequest as z };
7618
+ export { type ParsedSlashCommand as $, type ActivityKind as A, type DecryptedDmNotification as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type DeferredInterjectionEvent as E, type DmAttachmentFile as F, type DmAttachmentInput as G, type DmCryptoContext as H, type DocNameMap as I, type DocumentAutomationAction as J, type DocumentListFields as K, type DocumentListOrder as L, type DocumentSelector as M, type DocumentWaiter as N, type DocumentWaiterOptions as O, type FactResponse as P, type FactSearchRequest as Q, type FactSearchResponse as R, type FormattedWsMessage as S, type ListAllOptions as T, type ListFactsOptions as U, type ListPaginatedOptions as V, type MailAttachment as W, type MessageLevel as X, type MessageMetadataPayload$1 as Y, type MessageQueuedEvent as Z, type OutputTokensDetails as _, type ActivityResponse as a, countCitations as a$, type PendingAuthResponse as a0, type PlanWorkRequest as a1, type ProbeAnswerEvent as a2, type ProjectInvoicesResponse as a3, type ProjectUsageResponse as a4, type QueryOptions as a5, type ReconnectOptions as a6, type ReconnectableWsConnection as a7, type ResolvedCitation as a8, type ResolvedRecipient as a9, type UploadResult as aA, type UserDailyUsageResponse as aB, type UserInfo as aC, type UserInputRequestEvent as aD, type UserMessageEvent as aE, WebSocketAuthError as aF, type WorkStatus as aG, type WorkflowAuthMode as aH, type WorkflowResponse as aI, type WorkflowRunHistoryResponse as aJ, type WorkflowRunResponse as aK, type WorkspaceContext as aL, type WsConnection as aM, account as aN, agentconfig as aO, agents as aP, assistant as aQ, authenticatedFetch as aR, buildDocNameMap as aS, buildRetrievalChunkTool as aT, buildRetrievalFullContextTool as aU, buildRetrievalTocTool as aV, connectWebSocket as aW, connectWithReconnect as aX, consumeSSEStream as aY, contacts as aZ, conversations as a_, type ResponseCompletedEvent as aa, type ResponseContentPartAddedEvent as ab, type ResponseCreatedEvent as ac, type ResponseFailedEvent as ad, type ResponseOutputItemAddedEvent as ae, type ResponseOutputItemDoneEvent as af, type ResponseOutputTextDeltaEvent as ag, type ResponseOutputTextDoneEvent as ah, type ResponseUsage as ai, type SSEEvent as aj, type SSEStreamCallbacks as ak, type SSEStreamResult as al, type SSEStreamStartData as am, SUPPORTED_EXTENSIONS as an, type SkillSummary as ao, type SkippedFile as ap, type SubmitBackgroundQueryOptions as aq, type TaskPlan as ar, type TokenBudgetContext as as, type UpdateConversationRequest as at, type UpdateFactRequest as au, type UpdateWorkflowRequest as av, type UploadBatchResult as aw, type UploadDirectOptions as ax, type UploadDirectResult as ay, type UploadOptions as az, type AgentControlStateEvent as b, createAuthenticatedClient as b0, createDocumentWaiter as b1, dm as b2, doctags as b3, documents as b4, facts as b5, files as b6, filterSkills as b7, formatAgentStepLabel as b8, formatFileSize as b9, selectWorkspace as bA, selectWorkspaceById as bB, sessions as bC, settings as bD, streamSSE as bE, stripCitationMarkdown as bF, summarizeCitations as bG, tags as bH, work as bI, workflows as bJ, workspaces as bK, formatItemLabel as ba, formatStreamSummary as bb, formatUserName as bc, formatWorkspaceChoices as bd, formatWsMessage as be, generateEncryptedWorkspaceKey as bf, generateNewWorkspaceKey as bg, getErrorCode as bh, getErrorMessage as bi, getRawWorkspaceKey as bj, health as bk, mail as bl, parseSSEEvents as bm, parseSlashCommand as bn, parseSlashTokenInProgress as bo, performPasswordLogin as bp, performSigningKeyLogin as bq, performSsoDeviceFlowLogin as br, profile as bs, projects as bt, requireData as bu, requireOk as bv, resolveAuth as bw, resolveCitations as bx, resolveWorkspace as by, responses as bz, type AgentStepDeltaEvent as c, type AgentStepEvent as d, Arbi as e, ArbiApiError as f, ArbiError as g, type ArbiErrorEvent as h, type ArbiOptions as i, ArbiSessionExpiredError as j, type ArtifactEvent as k, type AuthContext as l, type AuthHeaders as m, type AuthMode as n, type AuthenticatedClient as o, type CitationSummary as p, type CliConfig as q, type CliCredentials as r, type CommandDescriptor as s, type ConfigStore as t, type ConnectOptions as u, type ConversationResponse as v, type CreateFactRequest as w, type CreateFactsRequest as x, type CreateWorkRequest as y, type CreateWorkflowRequest as z };