@arbidocs/sdk 0.3.139 → 0.3.141

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -448,6 +448,8 @@ interface SSEStreamCallbacks {
448
448
  onArtifact?: (data: ArtifactEvent) => void;
449
449
  onElapsedTime?: (t: number) => void;
450
450
  onUsage?: (usage: ResponseUsage) => void;
451
+ /** Final per-turn token/credit budget snapshot from response.completed. */
452
+ onContextUpdate?: (context: TokenBudgetContext) => void;
451
453
  onComplete?: () => void;
452
454
  }
453
455
  /**
@@ -481,7 +483,8 @@ declare function streamSSE(response: Response, callbacks?: SSEStreamCallbacks):
481
483
  * Format a human-readable summary line from a completed SSE stream result.
482
484
  *
483
485
  * Returns a string like:
484
- * "3 steps (2 tool calls) · 1,234 tokens · 500/8,000 context · 2.5s"
486
+ * "3 steps (2 tool calls) · 1,234 tokens · 500/8,000 context · 12.40/50 credits · 2.5s"
487
+ * (the credits segment is omitted when the workspace has no turn credit budget configured)
485
488
  *
486
489
  * Returns empty string if there's nothing to report.
487
490
  */
@@ -1411,7 +1414,7 @@ declare namespace assistant {
1411
1414
  */
1412
1415
 
1413
1416
  declare function listContacts(arbi: ArbiClient): Promise<{
1414
- external_id: string;
1417
+ external_id?: string | null | undefined;
1415
1418
  email: string;
1416
1419
  user?: {
1417
1420
  external_id: string;
@@ -1423,11 +1426,13 @@ declare function listContacts(arbi: ArbiClient): Promise<{
1423
1426
  encryption_public_key: string;
1424
1427
  is_sso: boolean;
1425
1428
  } | null | undefined;
1426
- status: "invitation_pending" | "invitation_expired" | "registered";
1429
+ status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
1427
1430
  created_at: string;
1431
+ outcome?: ("invited" | "reinvited" | "not_resent_still_pending" | "contact_added" | "already_contact" | "failed") | null | undefined;
1432
+ outcome_detail?: string | null | undefined;
1428
1433
  }[]>;
1429
1434
  declare function addContacts(arbi: ArbiClient, emails: string[]): Promise<{
1430
- external_id: string;
1435
+ external_id?: string | null | undefined;
1431
1436
  email: string;
1432
1437
  user?: {
1433
1438
  external_id: string;
@@ -1439,8 +1444,10 @@ declare function addContacts(arbi: ArbiClient, emails: string[]): Promise<{
1439
1444
  encryption_public_key: string;
1440
1445
  is_sso: boolean;
1441
1446
  } | null | undefined;
1442
- status: "invitation_pending" | "invitation_expired" | "registered";
1447
+ status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
1443
1448
  created_at: string;
1449
+ outcome?: ("invited" | "reinvited" | "not_resent_still_pending" | "contact_added" | "already_contact" | "failed") | null | undefined;
1450
+ outcome_detail?: string | null | undefined;
1444
1451
  }[]>;
1445
1452
  declare function removeContacts(arbi: ArbiClient, contactIds: string[]): Promise<void>;
1446
1453
  /**
@@ -1898,13 +1905,35 @@ type NoteSearchResponse = components['schemas']['NoteSearchResponse'];
1898
1905
  /** Create a note. `content` is required; `shared` makes it workspace-wide. */
1899
1906
  declare function createNote(arbi: ArbiClient, body: CreateNoteRequest): Promise<NoteResponse>;
1900
1907
  /** List the open workspace's notes (newest first). */
1908
+ /**
1909
+ * List notes. Passing a date range — or `datedOnly` — turns this into the
1910
+ * TIMELINE: only dated notes, ordered by when they happened rather than when
1911
+ * they were written. Each bound is read at its own precision and widened
1912
+ * outward, so `to: '2019'` runs through 31 December.
1913
+ *
1914
+ * The range selects by overlap, so a note spanning all of 2019 shows up in a
1915
+ * one-month window it covers.
1916
+ */
1901
1917
  declare function listNotes(arbi: ArbiClient, options?: {
1902
1918
  pinnedOnly?: boolean;
1919
+ from?: string;
1920
+ to?: string;
1921
+ datedOnly?: boolean;
1903
1922
  }): Promise<NoteResponse[]>;
1904
1923
  /** Semantic/keyword/hybrid search across the workspace's notes. */
1905
1924
  declare function searchNotes(arbi: ArbiClient, body: NoteSearchRequest): Promise<NoteSearchResponse>;
1906
1925
  declare function updateNote(arbi: ArbiClient, memoryId: string, body: UpdateNoteRequest): Promise<NoteResponse>;
1907
1926
  declare function deleteNote(arbi: ArbiClient, memoryId: string): Promise<void>;
1927
+ /**
1928
+ * Set a one-off reminder on a dated note. Give `remindAt` for an explicit time,
1929
+ * or `leadMinutes` to fire that long before the note's date; with neither it
1930
+ * fires when the note's span starts. A reminder whose time has already passed
1931
+ * is rejected rather than silently never firing.
1932
+ */
1933
+ declare function remindNote(arbi: ArbiClient, noteId: string, options?: {
1934
+ remindAt?: string;
1935
+ leadMinutes?: number;
1936
+ }): Promise<NoteResponse>;
1908
1937
 
1909
1938
  type notes_CreateNoteRequest = CreateNoteRequest;
1910
1939
  type notes_NoteResponse = NoteResponse;
@@ -1914,10 +1943,11 @@ type notes_UpdateNoteRequest = UpdateNoteRequest;
1914
1943
  declare const notes_createNote: typeof createNote;
1915
1944
  declare const notes_deleteNote: typeof deleteNote;
1916
1945
  declare const notes_listNotes: typeof listNotes;
1946
+ declare const notes_remindNote: typeof remindNote;
1917
1947
  declare const notes_searchNotes: typeof searchNotes;
1918
1948
  declare const notes_updateNote: typeof updateNote;
1919
1949
  declare namespace notes {
1920
- export { type notes_CreateNoteRequest as CreateNoteRequest, type notes_NoteResponse as NoteResponse, type notes_NoteSearchRequest as NoteSearchRequest, type notes_NoteSearchResponse as NoteSearchResponse, type notes_UpdateNoteRequest as UpdateNoteRequest, notes_createNote as createNote, notes_deleteNote as deleteNote, notes_listNotes as listNotes, notes_searchNotes as searchNotes, notes_updateNote as updateNote };
1950
+ export { type notes_CreateNoteRequest as CreateNoteRequest, type notes_NoteResponse as NoteResponse, type notes_NoteSearchRequest as NoteSearchRequest, type notes_NoteSearchResponse as NoteSearchResponse, type notes_UpdateNoteRequest as UpdateNoteRequest, notes_createNote as createNote, notes_deleteNote as deleteNote, notes_listNotes as listNotes, notes_remindNote as remindNote, notes_searchNotes as searchNotes, notes_updateNote as updateNote };
1921
1951
  }
1922
1952
 
1923
1953
  type DocUpdateRequest = components['schemas']['DocUpdateRequest'];
@@ -3118,7 +3148,7 @@ declare class Arbi {
3118
3148
  };
3119
3149
  readonly contacts: {
3120
3150
  list: () => Promise<{
3121
- external_id: string;
3151
+ external_id?: string | null | undefined;
3122
3152
  email: string;
3123
3153
  user?: {
3124
3154
  external_id: string;
@@ -3130,11 +3160,13 @@ declare class Arbi {
3130
3160
  encryption_public_key: string;
3131
3161
  is_sso: boolean;
3132
3162
  } | null | undefined;
3133
- status: "invitation_pending" | "invitation_expired" | "registered";
3163
+ status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
3134
3164
  created_at: string;
3165
+ outcome?: ("invited" | "reinvited" | "not_resent_still_pending" | "contact_added" | "already_contact" | "failed") | null | undefined;
3166
+ outcome_detail?: string | null | undefined;
3135
3167
  }[]>;
3136
3168
  add: (emails: string[]) => Promise<{
3137
- external_id: string;
3169
+ external_id?: string | null | undefined;
3138
3170
  email: string;
3139
3171
  user?: {
3140
3172
  external_id: string;
@@ -3146,8 +3178,10 @@ declare class Arbi {
3146
3178
  encryption_public_key: string;
3147
3179
  is_sso: boolean;
3148
3180
  } | null | undefined;
3149
- status: "invitation_pending" | "invitation_expired" | "registered";
3181
+ status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
3150
3182
  created_at: string;
3183
+ outcome?: ("invited" | "reinvited" | "not_resent_still_pending" | "contact_added" | "already_contact" | "failed") | null | undefined;
3184
+ outcome_detail?: string | null | undefined;
3151
3185
  }[]>;
3152
3186
  remove: (contactIds: string[]) => Promise<void>;
3153
3187
  groupByStatus: typeof groupContactsByStatus;
@@ -3391,6 +3425,7 @@ declare class Arbi {
3391
3425
  ENABLE_THINKING: boolean;
3392
3426
  AGENT_STRICT_TOOL_CALLS: boolean;
3393
3427
  AGENT_MAX_ITERATIONS: number;
3428
+ AGENT_TURN_CREDIT_BUDGET: number;
3394
3429
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
3395
3430
  AGENT_HISTORY_CHAR_THRESHOLD: number;
3396
3431
  AGENT_SYSTEM_PROMPT: string;
@@ -3514,7 +3549,6 @@ declare class Arbi {
3514
3549
  SYSTEM_INSTRUCTION: string;
3515
3550
  TEMPERATURE: number;
3516
3551
  MAX_TOKENS: number;
3517
- MAX_ITERATIONS: number;
3518
3552
  };
3519
3553
  ModelCitation: {
3520
3554
  SIM_THREASHOLD: number;
@@ -3619,6 +3653,7 @@ declare class Arbi {
3619
3653
  AGENT_MODEL_NAME: string;
3620
3654
  ENABLE_THINKING: boolean;
3621
3655
  AGENT_MAX_ITERATIONS: number;
3656
+ AGENT_TURN_CREDIT_BUDGET: number;
3622
3657
  };
3623
3658
  DoctagLLM: {
3624
3659
  AUTO_RENAME: boolean;
@@ -3821,6 +3856,7 @@ declare class Arbi {
3821
3856
  ENABLE_THINKING: boolean;
3822
3857
  AGENT_STRICT_TOOL_CALLS: boolean;
3823
3858
  AGENT_MAX_ITERATIONS: number;
3859
+ AGENT_TURN_CREDIT_BUDGET: number;
3824
3860
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
3825
3861
  AGENT_HISTORY_CHAR_THRESHOLD: number;
3826
3862
  AGENT_SYSTEM_PROMPT: string;
@@ -3944,7 +3980,6 @@ declare class Arbi {
3944
3980
  SYSTEM_INSTRUCTION: string;
3945
3981
  TEMPERATURE: number;
3946
3982
  MAX_TOKENS: number;
3947
- MAX_ITERATIONS: number;
3948
3983
  };
3949
3984
  ModelCitation: {
3950
3985
  SIM_THREASHOLD: number;
@@ -4049,6 +4084,7 @@ declare class Arbi {
4049
4084
  AGENT_MODEL_NAME: string;
4050
4085
  ENABLE_THINKING: boolean;
4051
4086
  AGENT_MAX_ITERATIONS: number;
4087
+ AGENT_TURN_CREDIT_BUDGET: number;
4052
4088
  };
4053
4089
  DoctagLLM: {
4054
4090
  AUTO_RENAME: boolean;
@@ -4273,14 +4309,22 @@ declare class Arbi {
4273
4309
  pinned: boolean;
4274
4310
  shared: boolean;
4275
4311
  source: string;
4276
- note_date?: string | null;
4312
+ date_start?: string | null;
4313
+ date_end?: string | null;
4314
+ timezone?: string | null;
4315
+ task_ext_id?: string | null;
4277
4316
  tags: components["schemas"]["NoteTagResponse"][];
4278
4317
  created_by_ext_id: string;
4279
4318
  created_at: string;
4280
4319
  updated_at: string;
4281
4320
  }>;
4321
+ /** Pass `from`/`to`/`datedOnly` for the timeline view — dated notes only,
4322
+ * ordered by when they happened. */
4282
4323
  list: (options?: {
4283
4324
  pinnedOnly?: boolean;
4325
+ from?: string;
4326
+ to?: string;
4327
+ datedOnly?: boolean;
4284
4328
  }) => Promise<{
4285
4329
  text: string;
4286
4330
  citations?: components["schemas"]["CitationSources"] | null;
@@ -4289,7 +4333,10 @@ declare class Arbi {
4289
4333
  pinned: boolean;
4290
4334
  shared: boolean;
4291
4335
  source: string;
4292
- note_date?: string | null;
4336
+ date_start?: string | null;
4337
+ date_end?: string | null;
4338
+ timezone?: string | null;
4339
+ task_ext_id?: string | null;
4293
4340
  tags: components["schemas"]["NoteTagResponse"][];
4294
4341
  created_by_ext_id: string;
4295
4342
  created_at: string;
@@ -4306,13 +4353,38 @@ declare class Arbi {
4306
4353
  pinned: boolean;
4307
4354
  shared: boolean;
4308
4355
  source: string;
4309
- note_date?: string | null;
4356
+ date_start?: string | null;
4357
+ date_end?: string | null;
4358
+ timezone?: string | null;
4359
+ task_ext_id?: string | null;
4310
4360
  tags: components["schemas"]["NoteTagResponse"][];
4311
4361
  created_by_ext_id: string;
4312
4362
  created_at: string;
4313
4363
  updated_at: string;
4314
4364
  }>;
4315
4365
  delete: (noteId: string) => Promise<void>;
4366
+ /** One-off reminder on a dated note: an explicit `remindAt`, or
4367
+ * `leadMinutes` before its date. */
4368
+ remind: (noteId: string, options?: {
4369
+ remindAt?: string;
4370
+ leadMinutes?: number;
4371
+ }) => Promise<{
4372
+ text: string;
4373
+ citations?: components["schemas"]["CitationSources"] | null;
4374
+ external_id: string;
4375
+ workspace_ext_id: string;
4376
+ pinned: boolean;
4377
+ shared: boolean;
4378
+ source: string;
4379
+ date_start?: string | null;
4380
+ date_end?: string | null;
4381
+ timezone?: string | null;
4382
+ task_ext_id?: string | null;
4383
+ tags: components["schemas"]["NoteTagResponse"][];
4384
+ created_by_ext_id: string;
4385
+ created_at: string;
4386
+ updated_at: string;
4387
+ }>;
4316
4388
  };
4317
4389
  readonly sessions: {
4318
4390
  list: () => Promise<{
@@ -5163,6 +5235,7 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
5163
5235
  ENABLE_THINKING: boolean;
5164
5236
  AGENT_STRICT_TOOL_CALLS: boolean;
5165
5237
  AGENT_MAX_ITERATIONS: number;
5238
+ AGENT_TURN_CREDIT_BUDGET: number;
5166
5239
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
5167
5240
  AGENT_HISTORY_CHAR_THRESHOLD: number;
5168
5241
  AGENT_SYSTEM_PROMPT: string;
@@ -5286,7 +5359,6 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
5286
5359
  SYSTEM_INSTRUCTION: string;
5287
5360
  TEMPERATURE: number;
5288
5361
  MAX_TOKENS: number;
5289
- MAX_ITERATIONS: number;
5290
5362
  };
5291
5363
  ModelCitation: {
5292
5364
  SIM_THREASHOLD: number;
@@ -5391,6 +5463,7 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
5391
5463
  AGENT_MODEL_NAME: string;
5392
5464
  ENABLE_THINKING: boolean;
5393
5465
  AGENT_MAX_ITERATIONS: number;
5466
+ AGENT_TURN_CREDIT_BUDGET: number;
5394
5467
  };
5395
5468
  DoctagLLM: {
5396
5469
  AUTO_RENAME: boolean;
@@ -5749,4 +5822,4 @@ declare namespace projects {
5749
5822
  export { type projects_ProjectInvoicesResponse as ProjectInvoicesResponse, type projects_ProjectUpdateRequest as ProjectUpdateRequest, type projects_ProjectUsageResponse as ProjectUsageResponse, type projects_UserDailyUsageResponse as UserDailyUsageResponse, projects_createProject as createProject, projects_deleteProject as deleteProject, projects_getProjectInvoices as getProjectInvoices, projects_getProjectUsage as getProjectUsage, projects_getUserUsageToday as getUserUsageToday, projects_listProjects as listProjects, projects_refreshProject as refreshProject, projects_renameProject as renameProject, projects_updateProject as updateProject };
5750
5823
  }
5751
5824
 
5752
- export { type ResponseOutputItemDoneEvent as $, type AgentControlStateEvent as A, type ListPaginatedOptions as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type MessageMetadataPayload$1 as E, type FormattedWsMessage as F, type MessageQueuedEvent as G, type NoteSearchRequest as H, type NoteSearchResponse as I, type ProbeAnswerEvent as J, type ProjectInvoicesResponse as K, type ListAllOptions as L, type MessageLevel as M, type NoteResponse as N, type OutputTokensDetails as O, type ParsedSlashCommand as P, type ProjectUsageResponse as Q, type QueryOptions as R, type ReconnectOptions as S, type ReconnectableWsConnection as T, type ResolvedCitation as U, type ResolvedRecipient as V, type ResponseCompletedEvent as W, type ResponseContentPartAddedEvent as X, type ResponseCreatedEvent as Y, type ResponseFailedEvent as Z, type ResponseOutputItemAddedEvent as _, type AgentStepDeltaEvent as a, performPasswordLogin as a$, type ResponseOutputTextDeltaEvent as a0, type ResponseOutputTextDoneEvent as a1, type ResponseUsage as a2, type SSEEvent as a3, type SSEStreamCallbacks as a4, type SSEStreamResult as a5, type SSEStreamStartData as a6, SUPPORTED_EXTENSIONS as a7, type SkillSummary as a8, type SkippedFile as a9, contacts as aA, conversations as aB, countCitations as aC, createAuthenticatedClient as aD, createDocumentWaiter as aE, dm as aF, doctags as aG, documents as aH, files as aI, filterSkills as aJ, formatAgentStepLabel as aK, formatFileSize as aL, formatItemLabel as aM, formatStreamSummary as aN, formatUserName as aO, formatWorkspaceChoices as aP, formatWsMessage as aQ, generateEncryptedWorkspaceKey as aR, generateNewWorkspaceKey as aS, getErrorCode as aT, getErrorMessage as aU, getRawWorkspaceKey as aV, health as aW, notes as aX, parseSSEEvents as aY, parseSlashCommand as aZ, parseSlashTokenInProgress as a_, type TaskResponse as aa, type UpdateNoteRequest as ab, type UpdateTaskRequest as ac, type UploadBatchResult as ad, type UploadDirectOptions as ae, type UploadDirectResult as af, type UploadOptions as ag, type UploadResult as ah, type UserDailyUsageResponse as ai, type UserInfo as aj, type UserInputRequestEvent as ak, type UserMessageEvent as al, WebSocketAuthError as am, type WorkspaceChronologyOut as an, type WorkspaceContext as ao, type WsConnection as ap, agentconfig as aq, assistant as ar, authenticatedFetch as as, buildDocNameMap as at, buildRetrievalChunkTool as au, buildRetrievalFullContextTool as av, buildRetrievalTocTool as aw, connectWebSocket as ax, connectWithReconnect as ay, consumeSSEStream as az, type AgentStepEvent as b, performSigningKeyLogin as b0, performSsoDeviceFlowLogin as b1, projects as b2, requireData as b3, requireOk as b4, resolveAuth as b5, resolveCitations as b6, resolveWorkspace as b7, responses as b8, selectWorkspace as b9, selectWorkspaceById as ba, settings as bb, streamSSE as bc, stripCitationMarkdown as bd, summarizeCitations as be, tags as bf, tasks as bg, workspaces as bh, Arbi as c, ArbiApiError as d, ArbiError as e, type ArbiErrorEvent as f, type ArbiOptions as g, type ArtifactEvent as h, type AuthContext as i, type AuthHeaders as j, type AuthenticatedClient as k, type CitationSummary as l, type CliConfig as m, type CliCredentials as n, type CommandDescriptor as o, type ConfigStore as p, type ConnectOptions as q, type CreateNoteRequest as r, type CreateTaskRequest as s, type DeferredInterjectionEvent as t, type DmCryptoContext as u, type DocNameMap as v, type DocumentListFields as w, type DocumentListOrder as x, type DocumentWaiter as y, type DocumentWaiterOptions as z };
5825
+ export { type ResponseOutputItemDoneEvent as $, type AgentControlStateEvent as A, type ListPaginatedOptions as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type MessageMetadataPayload$1 as E, type FormattedWsMessage as F, type MessageQueuedEvent as G, type NoteSearchRequest as H, type NoteSearchResponse as I, type ProbeAnswerEvent as J, type ProjectInvoicesResponse as K, type ListAllOptions as L, type MessageLevel as M, type NoteResponse as N, type OutputTokensDetails as O, type ParsedSlashCommand as P, type ProjectUsageResponse as Q, type QueryOptions as R, type ReconnectOptions as S, type ReconnectableWsConnection as T, type ResolvedCitation as U, type ResolvedRecipient as V, type ResponseCompletedEvent as W, type ResponseContentPartAddedEvent as X, type ResponseCreatedEvent as Y, type ResponseFailedEvent as Z, type ResponseOutputItemAddedEvent as _, type AgentStepDeltaEvent as a, parseSlashTokenInProgress as a$, type ResponseOutputTextDeltaEvent as a0, type ResponseOutputTextDoneEvent as a1, type ResponseUsage as a2, type SSEEvent as a3, type SSEStreamCallbacks as a4, type SSEStreamResult as a5, type SSEStreamStartData as a6, SUPPORTED_EXTENSIONS as a7, type SkillSummary as a8, type SkippedFile as a9, consumeSSEStream as aA, contacts as aB, conversations as aC, countCitations as aD, createAuthenticatedClient as aE, createDocumentWaiter as aF, dm as aG, doctags as aH, documents as aI, files as aJ, filterSkills as aK, formatAgentStepLabel as aL, formatFileSize as aM, formatItemLabel as aN, formatStreamSummary as aO, formatUserName as aP, formatWorkspaceChoices as aQ, formatWsMessage as aR, generateEncryptedWorkspaceKey as aS, generateNewWorkspaceKey as aT, getErrorCode as aU, getErrorMessage as aV, getRawWorkspaceKey as aW, health as aX, notes as aY, parseSSEEvents as aZ, parseSlashCommand as a_, type TaskResponse as aa, type TokenBudgetContext as ab, type UpdateNoteRequest as ac, type UpdateTaskRequest as ad, type UploadBatchResult as ae, type UploadDirectOptions as af, type UploadDirectResult as ag, type UploadOptions as ah, type UploadResult as ai, type UserDailyUsageResponse as aj, type UserInfo as ak, type UserInputRequestEvent as al, type UserMessageEvent as am, WebSocketAuthError as an, type WorkspaceChronologyOut as ao, type WorkspaceContext as ap, type WsConnection as aq, agentconfig 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, type AgentStepEvent as b, performPasswordLogin as b0, performSigningKeyLogin as b1, performSsoDeviceFlowLogin as b2, projects as b3, requireData as b4, requireOk as b5, resolveAuth as b6, resolveCitations as b7, resolveWorkspace as b8, responses as b9, selectWorkspace as ba, selectWorkspaceById as bb, settings as bc, streamSSE as bd, stripCitationMarkdown as be, summarizeCitations as bf, tags as bg, tasks as bh, workspaces as bi, Arbi as c, ArbiApiError as d, ArbiError as e, type ArbiErrorEvent as f, type ArbiOptions as g, type ArtifactEvent as h, type AuthContext as i, type AuthHeaders as j, type AuthenticatedClient as k, type CitationSummary as l, type CliConfig as m, type CliCredentials as n, type CommandDescriptor as o, type ConfigStore as p, type ConnectOptions as q, type CreateNoteRequest as r, type CreateTaskRequest as s, type DeferredInterjectionEvent as t, type DmCryptoContext as u, type DocNameMap as v, type DocumentListFields as w, type DocumentListOrder as x, type DocumentWaiter as y, type DocumentWaiterOptions as z };
@@ -448,6 +448,8 @@ interface SSEStreamCallbacks {
448
448
  onArtifact?: (data: ArtifactEvent) => void;
449
449
  onElapsedTime?: (t: number) => void;
450
450
  onUsage?: (usage: ResponseUsage) => void;
451
+ /** Final per-turn token/credit budget snapshot from response.completed. */
452
+ onContextUpdate?: (context: TokenBudgetContext) => void;
451
453
  onComplete?: () => void;
452
454
  }
453
455
  /**
@@ -481,7 +483,8 @@ declare function streamSSE(response: Response, callbacks?: SSEStreamCallbacks):
481
483
  * Format a human-readable summary line from a completed SSE stream result.
482
484
  *
483
485
  * Returns a string like:
484
- * "3 steps (2 tool calls) · 1,234 tokens · 500/8,000 context · 2.5s"
486
+ * "3 steps (2 tool calls) · 1,234 tokens · 500/8,000 context · 12.40/50 credits · 2.5s"
487
+ * (the credits segment is omitted when the workspace has no turn credit budget configured)
485
488
  *
486
489
  * Returns empty string if there's nothing to report.
487
490
  */
@@ -1411,7 +1414,7 @@ declare namespace assistant {
1411
1414
  */
1412
1415
 
1413
1416
  declare function listContacts(arbi: ArbiClient): Promise<{
1414
- external_id: string;
1417
+ external_id?: string | null | undefined;
1415
1418
  email: string;
1416
1419
  user?: {
1417
1420
  external_id: string;
@@ -1423,11 +1426,13 @@ declare function listContacts(arbi: ArbiClient): Promise<{
1423
1426
  encryption_public_key: string;
1424
1427
  is_sso: boolean;
1425
1428
  } | null | undefined;
1426
- status: "invitation_pending" | "invitation_expired" | "registered";
1429
+ status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
1427
1430
  created_at: string;
1431
+ outcome?: ("invited" | "reinvited" | "not_resent_still_pending" | "contact_added" | "already_contact" | "failed") | null | undefined;
1432
+ outcome_detail?: string | null | undefined;
1428
1433
  }[]>;
1429
1434
  declare function addContacts(arbi: ArbiClient, emails: string[]): Promise<{
1430
- external_id: string;
1435
+ external_id?: string | null | undefined;
1431
1436
  email: string;
1432
1437
  user?: {
1433
1438
  external_id: string;
@@ -1439,8 +1444,10 @@ declare function addContacts(arbi: ArbiClient, emails: string[]): Promise<{
1439
1444
  encryption_public_key: string;
1440
1445
  is_sso: boolean;
1441
1446
  } | null | undefined;
1442
- status: "invitation_pending" | "invitation_expired" | "registered";
1447
+ status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
1443
1448
  created_at: string;
1449
+ outcome?: ("invited" | "reinvited" | "not_resent_still_pending" | "contact_added" | "already_contact" | "failed") | null | undefined;
1450
+ outcome_detail?: string | null | undefined;
1444
1451
  }[]>;
1445
1452
  declare function removeContacts(arbi: ArbiClient, contactIds: string[]): Promise<void>;
1446
1453
  /**
@@ -1898,13 +1905,35 @@ type NoteSearchResponse = components['schemas']['NoteSearchResponse'];
1898
1905
  /** Create a note. `content` is required; `shared` makes it workspace-wide. */
1899
1906
  declare function createNote(arbi: ArbiClient, body: CreateNoteRequest): Promise<NoteResponse>;
1900
1907
  /** List the open workspace's notes (newest first). */
1908
+ /**
1909
+ * List notes. Passing a date range — or `datedOnly` — turns this into the
1910
+ * TIMELINE: only dated notes, ordered by when they happened rather than when
1911
+ * they were written. Each bound is read at its own precision and widened
1912
+ * outward, so `to: '2019'` runs through 31 December.
1913
+ *
1914
+ * The range selects by overlap, so a note spanning all of 2019 shows up in a
1915
+ * one-month window it covers.
1916
+ */
1901
1917
  declare function listNotes(arbi: ArbiClient, options?: {
1902
1918
  pinnedOnly?: boolean;
1919
+ from?: string;
1920
+ to?: string;
1921
+ datedOnly?: boolean;
1903
1922
  }): Promise<NoteResponse[]>;
1904
1923
  /** Semantic/keyword/hybrid search across the workspace's notes. */
1905
1924
  declare function searchNotes(arbi: ArbiClient, body: NoteSearchRequest): Promise<NoteSearchResponse>;
1906
1925
  declare function updateNote(arbi: ArbiClient, memoryId: string, body: UpdateNoteRequest): Promise<NoteResponse>;
1907
1926
  declare function deleteNote(arbi: ArbiClient, memoryId: string): Promise<void>;
1927
+ /**
1928
+ * Set a one-off reminder on a dated note. Give `remindAt` for an explicit time,
1929
+ * or `leadMinutes` to fire that long before the note's date; with neither it
1930
+ * fires when the note's span starts. A reminder whose time has already passed
1931
+ * is rejected rather than silently never firing.
1932
+ */
1933
+ declare function remindNote(arbi: ArbiClient, noteId: string, options?: {
1934
+ remindAt?: string;
1935
+ leadMinutes?: number;
1936
+ }): Promise<NoteResponse>;
1908
1937
 
1909
1938
  type notes_CreateNoteRequest = CreateNoteRequest;
1910
1939
  type notes_NoteResponse = NoteResponse;
@@ -1914,10 +1943,11 @@ type notes_UpdateNoteRequest = UpdateNoteRequest;
1914
1943
  declare const notes_createNote: typeof createNote;
1915
1944
  declare const notes_deleteNote: typeof deleteNote;
1916
1945
  declare const notes_listNotes: typeof listNotes;
1946
+ declare const notes_remindNote: typeof remindNote;
1917
1947
  declare const notes_searchNotes: typeof searchNotes;
1918
1948
  declare const notes_updateNote: typeof updateNote;
1919
1949
  declare namespace notes {
1920
- export { type notes_CreateNoteRequest as CreateNoteRequest, type notes_NoteResponse as NoteResponse, type notes_NoteSearchRequest as NoteSearchRequest, type notes_NoteSearchResponse as NoteSearchResponse, type notes_UpdateNoteRequest as UpdateNoteRequest, notes_createNote as createNote, notes_deleteNote as deleteNote, notes_listNotes as listNotes, notes_searchNotes as searchNotes, notes_updateNote as updateNote };
1950
+ export { type notes_CreateNoteRequest as CreateNoteRequest, type notes_NoteResponse as NoteResponse, type notes_NoteSearchRequest as NoteSearchRequest, type notes_NoteSearchResponse as NoteSearchResponse, type notes_UpdateNoteRequest as UpdateNoteRequest, notes_createNote as createNote, notes_deleteNote as deleteNote, notes_listNotes as listNotes, notes_remindNote as remindNote, notes_searchNotes as searchNotes, notes_updateNote as updateNote };
1921
1951
  }
1922
1952
 
1923
1953
  type DocUpdateRequest = components['schemas']['DocUpdateRequest'];
@@ -3118,7 +3148,7 @@ declare class Arbi {
3118
3148
  };
3119
3149
  readonly contacts: {
3120
3150
  list: () => Promise<{
3121
- external_id: string;
3151
+ external_id?: string | null | undefined;
3122
3152
  email: string;
3123
3153
  user?: {
3124
3154
  external_id: string;
@@ -3130,11 +3160,13 @@ declare class Arbi {
3130
3160
  encryption_public_key: string;
3131
3161
  is_sso: boolean;
3132
3162
  } | null | undefined;
3133
- status: "invitation_pending" | "invitation_expired" | "registered";
3163
+ status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
3134
3164
  created_at: string;
3165
+ outcome?: ("invited" | "reinvited" | "not_resent_still_pending" | "contact_added" | "already_contact" | "failed") | null | undefined;
3166
+ outcome_detail?: string | null | undefined;
3135
3167
  }[]>;
3136
3168
  add: (emails: string[]) => Promise<{
3137
- external_id: string;
3169
+ external_id?: string | null | undefined;
3138
3170
  email: string;
3139
3171
  user?: {
3140
3172
  external_id: string;
@@ -3146,8 +3178,10 @@ declare class Arbi {
3146
3178
  encryption_public_key: string;
3147
3179
  is_sso: boolean;
3148
3180
  } | null | undefined;
3149
- status: "invitation_pending" | "invitation_expired" | "registered";
3181
+ status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
3150
3182
  created_at: string;
3183
+ outcome?: ("invited" | "reinvited" | "not_resent_still_pending" | "contact_added" | "already_contact" | "failed") | null | undefined;
3184
+ outcome_detail?: string | null | undefined;
3151
3185
  }[]>;
3152
3186
  remove: (contactIds: string[]) => Promise<void>;
3153
3187
  groupByStatus: typeof groupContactsByStatus;
@@ -3391,6 +3425,7 @@ declare class Arbi {
3391
3425
  ENABLE_THINKING: boolean;
3392
3426
  AGENT_STRICT_TOOL_CALLS: boolean;
3393
3427
  AGENT_MAX_ITERATIONS: number;
3428
+ AGENT_TURN_CREDIT_BUDGET: number;
3394
3429
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
3395
3430
  AGENT_HISTORY_CHAR_THRESHOLD: number;
3396
3431
  AGENT_SYSTEM_PROMPT: string;
@@ -3514,7 +3549,6 @@ declare class Arbi {
3514
3549
  SYSTEM_INSTRUCTION: string;
3515
3550
  TEMPERATURE: number;
3516
3551
  MAX_TOKENS: number;
3517
- MAX_ITERATIONS: number;
3518
3552
  };
3519
3553
  ModelCitation: {
3520
3554
  SIM_THREASHOLD: number;
@@ -3619,6 +3653,7 @@ declare class Arbi {
3619
3653
  AGENT_MODEL_NAME: string;
3620
3654
  ENABLE_THINKING: boolean;
3621
3655
  AGENT_MAX_ITERATIONS: number;
3656
+ AGENT_TURN_CREDIT_BUDGET: number;
3622
3657
  };
3623
3658
  DoctagLLM: {
3624
3659
  AUTO_RENAME: boolean;
@@ -3821,6 +3856,7 @@ declare class Arbi {
3821
3856
  ENABLE_THINKING: boolean;
3822
3857
  AGENT_STRICT_TOOL_CALLS: boolean;
3823
3858
  AGENT_MAX_ITERATIONS: number;
3859
+ AGENT_TURN_CREDIT_BUDGET: number;
3824
3860
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
3825
3861
  AGENT_HISTORY_CHAR_THRESHOLD: number;
3826
3862
  AGENT_SYSTEM_PROMPT: string;
@@ -3944,7 +3980,6 @@ declare class Arbi {
3944
3980
  SYSTEM_INSTRUCTION: string;
3945
3981
  TEMPERATURE: number;
3946
3982
  MAX_TOKENS: number;
3947
- MAX_ITERATIONS: number;
3948
3983
  };
3949
3984
  ModelCitation: {
3950
3985
  SIM_THREASHOLD: number;
@@ -4049,6 +4084,7 @@ declare class Arbi {
4049
4084
  AGENT_MODEL_NAME: string;
4050
4085
  ENABLE_THINKING: boolean;
4051
4086
  AGENT_MAX_ITERATIONS: number;
4087
+ AGENT_TURN_CREDIT_BUDGET: number;
4052
4088
  };
4053
4089
  DoctagLLM: {
4054
4090
  AUTO_RENAME: boolean;
@@ -4273,14 +4309,22 @@ declare class Arbi {
4273
4309
  pinned: boolean;
4274
4310
  shared: boolean;
4275
4311
  source: string;
4276
- note_date?: string | null;
4312
+ date_start?: string | null;
4313
+ date_end?: string | null;
4314
+ timezone?: string | null;
4315
+ task_ext_id?: string | null;
4277
4316
  tags: components["schemas"]["NoteTagResponse"][];
4278
4317
  created_by_ext_id: string;
4279
4318
  created_at: string;
4280
4319
  updated_at: string;
4281
4320
  }>;
4321
+ /** Pass `from`/`to`/`datedOnly` for the timeline view — dated notes only,
4322
+ * ordered by when they happened. */
4282
4323
  list: (options?: {
4283
4324
  pinnedOnly?: boolean;
4325
+ from?: string;
4326
+ to?: string;
4327
+ datedOnly?: boolean;
4284
4328
  }) => Promise<{
4285
4329
  text: string;
4286
4330
  citations?: components["schemas"]["CitationSources"] | null;
@@ -4289,7 +4333,10 @@ declare class Arbi {
4289
4333
  pinned: boolean;
4290
4334
  shared: boolean;
4291
4335
  source: string;
4292
- note_date?: string | null;
4336
+ date_start?: string | null;
4337
+ date_end?: string | null;
4338
+ timezone?: string | null;
4339
+ task_ext_id?: string | null;
4293
4340
  tags: components["schemas"]["NoteTagResponse"][];
4294
4341
  created_by_ext_id: string;
4295
4342
  created_at: string;
@@ -4306,13 +4353,38 @@ declare class Arbi {
4306
4353
  pinned: boolean;
4307
4354
  shared: boolean;
4308
4355
  source: string;
4309
- note_date?: string | null;
4356
+ date_start?: string | null;
4357
+ date_end?: string | null;
4358
+ timezone?: string | null;
4359
+ task_ext_id?: string | null;
4310
4360
  tags: components["schemas"]["NoteTagResponse"][];
4311
4361
  created_by_ext_id: string;
4312
4362
  created_at: string;
4313
4363
  updated_at: string;
4314
4364
  }>;
4315
4365
  delete: (noteId: string) => Promise<void>;
4366
+ /** One-off reminder on a dated note: an explicit `remindAt`, or
4367
+ * `leadMinutes` before its date. */
4368
+ remind: (noteId: string, options?: {
4369
+ remindAt?: string;
4370
+ leadMinutes?: number;
4371
+ }) => Promise<{
4372
+ text: string;
4373
+ citations?: components["schemas"]["CitationSources"] | null;
4374
+ external_id: string;
4375
+ workspace_ext_id: string;
4376
+ pinned: boolean;
4377
+ shared: boolean;
4378
+ source: string;
4379
+ date_start?: string | null;
4380
+ date_end?: string | null;
4381
+ timezone?: string | null;
4382
+ task_ext_id?: string | null;
4383
+ tags: components["schemas"]["NoteTagResponse"][];
4384
+ created_by_ext_id: string;
4385
+ created_at: string;
4386
+ updated_at: string;
4387
+ }>;
4316
4388
  };
4317
4389
  readonly sessions: {
4318
4390
  list: () => Promise<{
@@ -5163,6 +5235,7 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
5163
5235
  ENABLE_THINKING: boolean;
5164
5236
  AGENT_STRICT_TOOL_CALLS: boolean;
5165
5237
  AGENT_MAX_ITERATIONS: number;
5238
+ AGENT_TURN_CREDIT_BUDGET: number;
5166
5239
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
5167
5240
  AGENT_HISTORY_CHAR_THRESHOLD: number;
5168
5241
  AGENT_SYSTEM_PROMPT: string;
@@ -5286,7 +5359,6 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
5286
5359
  SYSTEM_INSTRUCTION: string;
5287
5360
  TEMPERATURE: number;
5288
5361
  MAX_TOKENS: number;
5289
- MAX_ITERATIONS: number;
5290
5362
  };
5291
5363
  ModelCitation: {
5292
5364
  SIM_THREASHOLD: number;
@@ -5391,6 +5463,7 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
5391
5463
  AGENT_MODEL_NAME: string;
5392
5464
  ENABLE_THINKING: boolean;
5393
5465
  AGENT_MAX_ITERATIONS: number;
5466
+ AGENT_TURN_CREDIT_BUDGET: number;
5394
5467
  };
5395
5468
  DoctagLLM: {
5396
5469
  AUTO_RENAME: boolean;
@@ -5749,4 +5822,4 @@ declare namespace projects {
5749
5822
  export { type projects_ProjectInvoicesResponse as ProjectInvoicesResponse, type projects_ProjectUpdateRequest as ProjectUpdateRequest, type projects_ProjectUsageResponse as ProjectUsageResponse, type projects_UserDailyUsageResponse as UserDailyUsageResponse, projects_createProject as createProject, projects_deleteProject as deleteProject, projects_getProjectInvoices as getProjectInvoices, projects_getProjectUsage as getProjectUsage, projects_getUserUsageToday as getUserUsageToday, projects_listProjects as listProjects, projects_refreshProject as refreshProject, projects_renameProject as renameProject, projects_updateProject as updateProject };
5750
5823
  }
5751
5824
 
5752
- export { type ResponseOutputItemDoneEvent as $, type AgentControlStateEvent as A, type ListPaginatedOptions as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type MessageMetadataPayload$1 as E, type FormattedWsMessage as F, type MessageQueuedEvent as G, type NoteSearchRequest as H, type NoteSearchResponse as I, type ProbeAnswerEvent as J, type ProjectInvoicesResponse as K, type ListAllOptions as L, type MessageLevel as M, type NoteResponse as N, type OutputTokensDetails as O, type ParsedSlashCommand as P, type ProjectUsageResponse as Q, type QueryOptions as R, type ReconnectOptions as S, type ReconnectableWsConnection as T, type ResolvedCitation as U, type ResolvedRecipient as V, type ResponseCompletedEvent as W, type ResponseContentPartAddedEvent as X, type ResponseCreatedEvent as Y, type ResponseFailedEvent as Z, type ResponseOutputItemAddedEvent as _, type AgentStepDeltaEvent as a, performPasswordLogin as a$, type ResponseOutputTextDeltaEvent as a0, type ResponseOutputTextDoneEvent as a1, type ResponseUsage as a2, type SSEEvent as a3, type SSEStreamCallbacks as a4, type SSEStreamResult as a5, type SSEStreamStartData as a6, SUPPORTED_EXTENSIONS as a7, type SkillSummary as a8, type SkippedFile as a9, contacts as aA, conversations as aB, countCitations as aC, createAuthenticatedClient as aD, createDocumentWaiter as aE, dm as aF, doctags as aG, documents as aH, files as aI, filterSkills as aJ, formatAgentStepLabel as aK, formatFileSize as aL, formatItemLabel as aM, formatStreamSummary as aN, formatUserName as aO, formatWorkspaceChoices as aP, formatWsMessage as aQ, generateEncryptedWorkspaceKey as aR, generateNewWorkspaceKey as aS, getErrorCode as aT, getErrorMessage as aU, getRawWorkspaceKey as aV, health as aW, notes as aX, parseSSEEvents as aY, parseSlashCommand as aZ, parseSlashTokenInProgress as a_, type TaskResponse as aa, type UpdateNoteRequest as ab, type UpdateTaskRequest as ac, type UploadBatchResult as ad, type UploadDirectOptions as ae, type UploadDirectResult as af, type UploadOptions as ag, type UploadResult as ah, type UserDailyUsageResponse as ai, type UserInfo as aj, type UserInputRequestEvent as ak, type UserMessageEvent as al, WebSocketAuthError as am, type WorkspaceChronologyOut as an, type WorkspaceContext as ao, type WsConnection as ap, agentconfig as aq, assistant as ar, authenticatedFetch as as, buildDocNameMap as at, buildRetrievalChunkTool as au, buildRetrievalFullContextTool as av, buildRetrievalTocTool as aw, connectWebSocket as ax, connectWithReconnect as ay, consumeSSEStream as az, type AgentStepEvent as b, performSigningKeyLogin as b0, performSsoDeviceFlowLogin as b1, projects as b2, requireData as b3, requireOk as b4, resolveAuth as b5, resolveCitations as b6, resolveWorkspace as b7, responses as b8, selectWorkspace as b9, selectWorkspaceById as ba, settings as bb, streamSSE as bc, stripCitationMarkdown as bd, summarizeCitations as be, tags as bf, tasks as bg, workspaces as bh, Arbi as c, ArbiApiError as d, ArbiError as e, type ArbiErrorEvent as f, type ArbiOptions as g, type ArtifactEvent as h, type AuthContext as i, type AuthHeaders as j, type AuthenticatedClient as k, type CitationSummary as l, type CliConfig as m, type CliCredentials as n, type CommandDescriptor as o, type ConfigStore as p, type ConnectOptions as q, type CreateNoteRequest as r, type CreateTaskRequest as s, type DeferredInterjectionEvent as t, type DmCryptoContext as u, type DocNameMap as v, type DocumentListFields as w, type DocumentListOrder as x, type DocumentWaiter as y, type DocumentWaiterOptions as z };
5825
+ export { type ResponseOutputItemDoneEvent as $, type AgentControlStateEvent as A, type ListPaginatedOptions as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type MessageMetadataPayload$1 as E, type FormattedWsMessage as F, type MessageQueuedEvent as G, type NoteSearchRequest as H, type NoteSearchResponse as I, type ProbeAnswerEvent as J, type ProjectInvoicesResponse as K, type ListAllOptions as L, type MessageLevel as M, type NoteResponse as N, type OutputTokensDetails as O, type ParsedSlashCommand as P, type ProjectUsageResponse as Q, type QueryOptions as R, type ReconnectOptions as S, type ReconnectableWsConnection as T, type ResolvedCitation as U, type ResolvedRecipient as V, type ResponseCompletedEvent as W, type ResponseContentPartAddedEvent as X, type ResponseCreatedEvent as Y, type ResponseFailedEvent as Z, type ResponseOutputItemAddedEvent as _, type AgentStepDeltaEvent as a, parseSlashTokenInProgress as a$, type ResponseOutputTextDeltaEvent as a0, type ResponseOutputTextDoneEvent as a1, type ResponseUsage as a2, type SSEEvent as a3, type SSEStreamCallbacks as a4, type SSEStreamResult as a5, type SSEStreamStartData as a6, SUPPORTED_EXTENSIONS as a7, type SkillSummary as a8, type SkippedFile as a9, consumeSSEStream as aA, contacts as aB, conversations as aC, countCitations as aD, createAuthenticatedClient as aE, createDocumentWaiter as aF, dm as aG, doctags as aH, documents as aI, files as aJ, filterSkills as aK, formatAgentStepLabel as aL, formatFileSize as aM, formatItemLabel as aN, formatStreamSummary as aO, formatUserName as aP, formatWorkspaceChoices as aQ, formatWsMessage as aR, generateEncryptedWorkspaceKey as aS, generateNewWorkspaceKey as aT, getErrorCode as aU, getErrorMessage as aV, getRawWorkspaceKey as aW, health as aX, notes as aY, parseSSEEvents as aZ, parseSlashCommand as a_, type TaskResponse as aa, type TokenBudgetContext as ab, type UpdateNoteRequest as ac, type UpdateTaskRequest as ad, type UploadBatchResult as ae, type UploadDirectOptions as af, type UploadDirectResult as ag, type UploadOptions as ah, type UploadResult as ai, type UserDailyUsageResponse as aj, type UserInfo as ak, type UserInputRequestEvent as al, type UserMessageEvent as am, WebSocketAuthError as an, type WorkspaceChronologyOut as ao, type WorkspaceContext as ap, type WsConnection as aq, agentconfig 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, type AgentStepEvent as b, performPasswordLogin as b0, performSigningKeyLogin as b1, performSsoDeviceFlowLogin as b2, projects as b3, requireData as b4, requireOk as b5, resolveAuth as b6, resolveCitations as b7, resolveWorkspace as b8, responses as b9, selectWorkspace as ba, selectWorkspaceById as bb, settings as bc, streamSSE as bd, stripCitationMarkdown as be, summarizeCitations as bf, tags as bg, tasks as bh, workspaces as bi, Arbi as c, ArbiApiError as d, ArbiError as e, type ArbiErrorEvent as f, type ArbiOptions as g, type ArtifactEvent as h, type AuthContext as i, type AuthHeaders as j, type AuthenticatedClient as k, type CitationSummary as l, type CliConfig as m, type CliCredentials as n, type CommandDescriptor as o, type ConfigStore as p, type ConnectOptions as q, type CreateNoteRequest as r, type CreateTaskRequest as s, type DeferredInterjectionEvent as t, type DmCryptoContext as u, type DocNameMap as v, type DocumentListFields as w, type DocumentListOrder as x, type DocumentWaiter as y, type DocumentWaiterOptions as z };