@arbidocs/sdk 0.3.146 → 0.3.148

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.
@@ -891,6 +891,7 @@ declare function listDocuments(arbi: ArbiClient): Promise<{
891
891
  page?: number | null | undefined;
892
892
  }[];
893
893
  } | null | undefined;
894
+ external_id: string;
894
895
  doc_ext_id: string;
895
896
  tag_ext_id: string;
896
897
  created_by_ext_id: string;
@@ -988,6 +989,7 @@ declare function getDocuments(arbi: ArbiClient, externalIds: string[]): Promise<
988
989
  page?: number | null | undefined;
989
990
  }[];
990
991
  } | null | undefined;
992
+ external_id: string;
991
993
  doc_ext_id: string;
992
994
  tag_ext_id: string;
993
995
  created_by_ext_id: string;
@@ -1039,6 +1041,7 @@ declare function updateDocuments(arbi: ArbiClient, documents: DocUpdateRequest$1
1039
1041
  page?: number | null | undefined;
1040
1042
  }[];
1041
1043
  } | null | undefined;
1044
+ external_id: string;
1042
1045
  doc_ext_id: string;
1043
1046
  tag_ext_id: string;
1044
1047
  created_by_ext_id: string;
@@ -2435,24 +2438,19 @@ declare class Arbi {
2435
2438
  copyDocuments: (targetWorkspaceId: string, docIds: string[], targetWorkspaceKey: string) => Promise<{
2436
2439
  detail: string;
2437
2440
  documents_copied: number;
2441
+ items_copied: number;
2442
+ copied_by_kind: {
2443
+ [x: string]: number;
2444
+ };
2438
2445
  results: {
2439
2446
  source_doc_ext_id: string;
2440
2447
  success: boolean;
2441
2448
  new_doc_ext_id?: string | null | undefined;
2442
2449
  error?: string | null | undefined;
2450
+ kind: components["schemas"]["CopyItemKind"];
2451
+ warning?: string | null | undefined;
2443
2452
  }[];
2444
2453
  }>;
2445
- /**
2446
- * The last-generated document-derived chronology (key case events / dates).
2447
- * Defaults to the currently open workspace when no id is passed.
2448
- */
2449
- chronology: (workspaceId?: string) => Promise<{
2450
- events?: {
2451
- [key: string]: unknown;
2452
- }[] | null;
2453
- generated_at?: string | null;
2454
- doc_count?: number | null;
2455
- }>;
2456
2454
  };
2457
2455
  readonly documents: {
2458
2456
  list: () => Promise<{
@@ -2490,6 +2488,7 @@ declare class Arbi {
2490
2488
  page?: number | null | undefined;
2491
2489
  }[];
2492
2490
  } | null | undefined;
2491
+ external_id: string;
2493
2492
  doc_ext_id: string;
2494
2493
  tag_ext_id: string;
2495
2494
  created_by_ext_id: string;
@@ -2616,6 +2615,7 @@ declare class Arbi {
2616
2615
  page?: number | null | undefined;
2617
2616
  }[];
2618
2617
  } | null | undefined;
2618
+ external_id: string;
2619
2619
  doc_ext_id: string;
2620
2620
  tag_ext_id: string;
2621
2621
  created_by_ext_id: string;
@@ -2667,6 +2667,7 @@ declare class Arbi {
2667
2667
  page?: number | null | undefined;
2668
2668
  }[];
2669
2669
  } | null | undefined;
2670
+ external_id: string;
2670
2671
  doc_ext_id: string;
2671
2672
  tag_ext_id: string;
2672
2673
  created_by_ext_id: string;
@@ -3121,6 +3122,7 @@ declare class Arbi {
3121
3122
  page?: number | null | undefined;
3122
3123
  }[];
3123
3124
  } | null | undefined;
3125
+ external_id: string;
3124
3126
  doc_ext_id: string;
3125
3127
  tag_ext_id: string;
3126
3128
  created_by_ext_id: string;
@@ -3141,6 +3143,7 @@ declare class Arbi {
3141
3143
  page?: number | null | undefined;
3142
3144
  }[];
3143
3145
  } | null | undefined;
3146
+ external_id: string;
3144
3147
  doc_ext_id: string;
3145
3148
  tag_ext_id: string;
3146
3149
  created_by_ext_id: string;
@@ -3362,7 +3365,6 @@ declare class Arbi {
3362
3365
  show_help_page: boolean;
3363
3366
  show_templates: boolean;
3364
3367
  show_skills: boolean;
3365
- show_chronology: boolean;
3366
3368
  show_pa_mode: boolean;
3367
3369
  show_conversation_search: boolean;
3368
3370
  show_agent_sessions: boolean;
@@ -3439,6 +3441,9 @@ declare class Arbi {
3439
3441
  AGENT_MAX_ITERATIONS: number;
3440
3442
  AGENT_TURN_CREDIT_BUDGET: number;
3441
3443
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
3444
+ AGENT_MAX_TOTAL_TOOL_CALLS: number;
3445
+ AGENT_MAX_RUN_TOKENS: number;
3446
+ AGENT_MAX_SUBAGENT_SPAWNS: number;
3442
3447
  AGENT_HISTORY_CHAR_THRESHOLD: number;
3443
3448
  AGENT_SYSTEM_PROMPT: string;
3444
3449
  };
@@ -3870,6 +3875,9 @@ declare class Arbi {
3870
3875
  AGENT_MAX_ITERATIONS: number;
3871
3876
  AGENT_TURN_CREDIT_BUDGET: number;
3872
3877
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
3878
+ AGENT_MAX_TOTAL_TOOL_CALLS: number;
3879
+ AGENT_MAX_RUN_TOKENS: number;
3880
+ AGENT_MAX_SUBAGENT_SPAWNS: number;
3873
3881
  AGENT_HISTORY_CHAR_THRESHOLD: number;
3874
3882
  AGENT_SYSTEM_PROMPT: string;
3875
3883
  };
@@ -4420,7 +4428,6 @@ declare class Arbi {
4420
4428
  */
4421
4429
 
4422
4430
  type WorkspaceUpdateRequest = components['schemas']['WorkspaceUpdateRequest'];
4423
- type WorkspaceChronologyOut = components['schemas']['WorkspaceChronologyOut'];
4424
4431
  declare function listWorkspaces(arbi: ArbiClient): Promise<{
4425
4432
  external_id: string;
4426
4433
  name: string;
@@ -4610,35 +4617,34 @@ declare function setUserRole(arbi: ArbiClient, userIds: string[], role: 'owner'
4610
4617
  agent_ext_id?: string | null | undefined;
4611
4618
  is_temporary: boolean;
4612
4619
  }[]>;
4613
- /**
4614
- * Return the last-generated document-derived chronology (key case events /
4615
- * dates) for a workspace. Fields are all-null when none has been generated yet.
4616
- */
4617
- declare function getWorkspaceChronology(arbi: ArbiClient, workspaceId: string): Promise<WorkspaceChronologyOut>;
4618
4620
  declare function copyDocuments(arbi: ArbiClient, targetWorkspaceId: string, docIds: string[], targetWorkspaceKey: string): Promise<{
4619
4621
  detail: string;
4620
4622
  documents_copied: number;
4623
+ items_copied: number;
4624
+ copied_by_kind: {
4625
+ [x: string]: number;
4626
+ };
4621
4627
  results: {
4622
4628
  source_doc_ext_id: string;
4623
4629
  success: boolean;
4624
4630
  new_doc_ext_id?: string | null | undefined;
4625
4631
  error?: string | null | undefined;
4632
+ kind: components["schemas"]["CopyItemKind"];
4633
+ warning?: string | null | undefined;
4626
4634
  }[];
4627
4635
  }>;
4628
4636
 
4629
- type workspaces_WorkspaceChronologyOut = WorkspaceChronologyOut;
4630
4637
  declare const workspaces_addWorkspaceUsers: typeof addWorkspaceUsers;
4631
4638
  declare const workspaces_copyDocuments: typeof copyDocuments;
4632
4639
  declare const workspaces_createWorkspace: typeof createWorkspace;
4633
4640
  declare const workspaces_deleteWorkspaces: typeof deleteWorkspaces;
4634
- declare const workspaces_getWorkspaceChronology: typeof getWorkspaceChronology;
4635
4641
  declare const workspaces_listWorkspaceUsers: typeof listWorkspaceUsers;
4636
4642
  declare const workspaces_listWorkspaces: typeof listWorkspaces;
4637
4643
  declare const workspaces_removeWorkspaceUsers: typeof removeWorkspaceUsers;
4638
4644
  declare const workspaces_setUserRole: typeof setUserRole;
4639
4645
  declare const workspaces_updateWorkspace: typeof updateWorkspace;
4640
4646
  declare namespace workspaces {
4641
- export { type workspaces_WorkspaceChronologyOut as WorkspaceChronologyOut, workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_copyDocuments as copyDocuments, workspaces_createWorkspace as createWorkspace, workspaces_deleteWorkspaces as deleteWorkspaces, workspaces_getWorkspaceChronology as getWorkspaceChronology, workspaces_listWorkspaceUsers as listWorkspaceUsers, workspaces_listWorkspaces as listWorkspaces, workspaces_removeWorkspaceUsers as removeWorkspaceUsers, workspaces_setUserRole as setUserRole, workspaces_updateWorkspace as updateWorkspace };
4647
+ export { workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_copyDocuments as copyDocuments, workspaces_createWorkspace as createWorkspace, workspaces_deleteWorkspaces as deleteWorkspaces, workspaces_listWorkspaceUsers as listWorkspaceUsers, workspaces_listWorkspaces as listWorkspaces, workspaces_removeWorkspaceUsers as removeWorkspaceUsers, workspaces_setUserRole as setUserRole, workspaces_updateWorkspace as updateWorkspace };
4642
4648
  }
4643
4649
 
4644
4650
  /**
@@ -5089,6 +5095,7 @@ declare function assignDocTags(arbi: ArbiClient, tagId: string, docIds: string[]
5089
5095
  page?: number | null | undefined;
5090
5096
  }[];
5091
5097
  } | null | undefined;
5098
+ external_id: string;
5092
5099
  doc_ext_id: string;
5093
5100
  tag_ext_id: string;
5094
5101
  created_by_ext_id: string;
@@ -5109,6 +5116,7 @@ declare function updateDocTag(arbi: ArbiClient, tagId: string, docId: string, up
5109
5116
  page?: number | null | undefined;
5110
5117
  }[];
5111
5118
  } | null | undefined;
5119
+ external_id: string;
5112
5120
  doc_ext_id: string;
5113
5121
  tag_ext_id: string;
5114
5122
  created_by_ext_id: string;
@@ -5162,7 +5170,6 @@ declare function getSettings(arbi: ArbiClient): Promise<{
5162
5170
  show_help_page: boolean;
5163
5171
  show_templates: boolean;
5164
5172
  show_skills: boolean;
5165
- show_chronology: boolean;
5166
5173
  show_pa_mode: boolean;
5167
5174
  show_conversation_search: boolean;
5168
5175
  show_agent_sessions: boolean;
@@ -5249,6 +5256,9 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
5249
5256
  AGENT_MAX_ITERATIONS: number;
5250
5257
  AGENT_TURN_CREDIT_BUDGET: number;
5251
5258
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
5259
+ AGENT_MAX_TOTAL_TOOL_CALLS: number;
5260
+ AGENT_MAX_RUN_TOKENS: number;
5261
+ AGENT_MAX_SUBAGENT_SPAWNS: number;
5252
5262
  AGENT_HISTORY_CHAR_THRESHOLD: number;
5253
5263
  AGENT_SYSTEM_PROMPT: string;
5254
5264
  };
@@ -5834,4 +5844,4 @@ declare namespace projects {
5834
5844
  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 };
5835
5845
  }
5836
5846
 
5837
- export { type ResponseOutputItemDoneEvent as $, type AgentControlStateEvent as A, type FactSearchRequest as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type FactSearchResponse as E, type FactResponse as F, type FormattedWsMessage as G, type ListPaginatedOptions as H, type MessageMetadataPayload$1 as I, type MessageQueuedEvent as J, type ProbeAnswerEvent as K, type ListAllOptions as L, type MessageLevel as M, type ProjectInvoicesResponse 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, facts as aJ, files as aK, filterSkills as aL, formatAgentStepLabel as aM, formatFileSize as aN, formatItemLabel as aO, formatStreamSummary as aP, formatUserName as aQ, formatWorkspaceChoices as aR, formatWsMessage as aS, generateEncryptedWorkspaceKey as aT, generateNewWorkspaceKey as aU, getErrorCode as aV, getErrorMessage as aW, getRawWorkspaceKey as aX, health as aY, parseSSEEvents as aZ, parseSlashCommand as a_, type TaskResponse as aa, type TokenBudgetContext as ab, type UpdateFactRequest 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 CreateFactRequest 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 };
5847
+ export { type ResponseOutputItemDoneEvent as $, type AgentControlStateEvent as A, type FactSearchRequest as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type FactSearchResponse as E, type FactResponse as F, type FormattedWsMessage as G, type ListPaginatedOptions as H, type MessageMetadataPayload$1 as I, type MessageQueuedEvent as J, type ProbeAnswerEvent as K, type ListAllOptions as L, type MessageLevel as M, type ProjectInvoicesResponse 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, facts 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, parseSSEEvents as aY, parseSlashCommand as aZ, parseSlashTokenInProgress as a_, type TaskResponse as aa, type TokenBudgetContext as ab, type UpdateFactRequest 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 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 CreateFactRequest 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 };
@@ -891,6 +891,7 @@ declare function listDocuments(arbi: ArbiClient): Promise<{
891
891
  page?: number | null | undefined;
892
892
  }[];
893
893
  } | null | undefined;
894
+ external_id: string;
894
895
  doc_ext_id: string;
895
896
  tag_ext_id: string;
896
897
  created_by_ext_id: string;
@@ -988,6 +989,7 @@ declare function getDocuments(arbi: ArbiClient, externalIds: string[]): Promise<
988
989
  page?: number | null | undefined;
989
990
  }[];
990
991
  } | null | undefined;
992
+ external_id: string;
991
993
  doc_ext_id: string;
992
994
  tag_ext_id: string;
993
995
  created_by_ext_id: string;
@@ -1039,6 +1041,7 @@ declare function updateDocuments(arbi: ArbiClient, documents: DocUpdateRequest$1
1039
1041
  page?: number | null | undefined;
1040
1042
  }[];
1041
1043
  } | null | undefined;
1044
+ external_id: string;
1042
1045
  doc_ext_id: string;
1043
1046
  tag_ext_id: string;
1044
1047
  created_by_ext_id: string;
@@ -2435,24 +2438,19 @@ declare class Arbi {
2435
2438
  copyDocuments: (targetWorkspaceId: string, docIds: string[], targetWorkspaceKey: string) => Promise<{
2436
2439
  detail: string;
2437
2440
  documents_copied: number;
2441
+ items_copied: number;
2442
+ copied_by_kind: {
2443
+ [x: string]: number;
2444
+ };
2438
2445
  results: {
2439
2446
  source_doc_ext_id: string;
2440
2447
  success: boolean;
2441
2448
  new_doc_ext_id?: string | null | undefined;
2442
2449
  error?: string | null | undefined;
2450
+ kind: components["schemas"]["CopyItemKind"];
2451
+ warning?: string | null | undefined;
2443
2452
  }[];
2444
2453
  }>;
2445
- /**
2446
- * The last-generated document-derived chronology (key case events / dates).
2447
- * Defaults to the currently open workspace when no id is passed.
2448
- */
2449
- chronology: (workspaceId?: string) => Promise<{
2450
- events?: {
2451
- [key: string]: unknown;
2452
- }[] | null;
2453
- generated_at?: string | null;
2454
- doc_count?: number | null;
2455
- }>;
2456
2454
  };
2457
2455
  readonly documents: {
2458
2456
  list: () => Promise<{
@@ -2490,6 +2488,7 @@ declare class Arbi {
2490
2488
  page?: number | null | undefined;
2491
2489
  }[];
2492
2490
  } | null | undefined;
2491
+ external_id: string;
2493
2492
  doc_ext_id: string;
2494
2493
  tag_ext_id: string;
2495
2494
  created_by_ext_id: string;
@@ -2616,6 +2615,7 @@ declare class Arbi {
2616
2615
  page?: number | null | undefined;
2617
2616
  }[];
2618
2617
  } | null | undefined;
2618
+ external_id: string;
2619
2619
  doc_ext_id: string;
2620
2620
  tag_ext_id: string;
2621
2621
  created_by_ext_id: string;
@@ -2667,6 +2667,7 @@ declare class Arbi {
2667
2667
  page?: number | null | undefined;
2668
2668
  }[];
2669
2669
  } | null | undefined;
2670
+ external_id: string;
2670
2671
  doc_ext_id: string;
2671
2672
  tag_ext_id: string;
2672
2673
  created_by_ext_id: string;
@@ -3121,6 +3122,7 @@ declare class Arbi {
3121
3122
  page?: number | null | undefined;
3122
3123
  }[];
3123
3124
  } | null | undefined;
3125
+ external_id: string;
3124
3126
  doc_ext_id: string;
3125
3127
  tag_ext_id: string;
3126
3128
  created_by_ext_id: string;
@@ -3141,6 +3143,7 @@ declare class Arbi {
3141
3143
  page?: number | null | undefined;
3142
3144
  }[];
3143
3145
  } | null | undefined;
3146
+ external_id: string;
3144
3147
  doc_ext_id: string;
3145
3148
  tag_ext_id: string;
3146
3149
  created_by_ext_id: string;
@@ -3362,7 +3365,6 @@ declare class Arbi {
3362
3365
  show_help_page: boolean;
3363
3366
  show_templates: boolean;
3364
3367
  show_skills: boolean;
3365
- show_chronology: boolean;
3366
3368
  show_pa_mode: boolean;
3367
3369
  show_conversation_search: boolean;
3368
3370
  show_agent_sessions: boolean;
@@ -3439,6 +3441,9 @@ declare class Arbi {
3439
3441
  AGENT_MAX_ITERATIONS: number;
3440
3442
  AGENT_TURN_CREDIT_BUDGET: number;
3441
3443
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
3444
+ AGENT_MAX_TOTAL_TOOL_CALLS: number;
3445
+ AGENT_MAX_RUN_TOKENS: number;
3446
+ AGENT_MAX_SUBAGENT_SPAWNS: number;
3442
3447
  AGENT_HISTORY_CHAR_THRESHOLD: number;
3443
3448
  AGENT_SYSTEM_PROMPT: string;
3444
3449
  };
@@ -3870,6 +3875,9 @@ declare class Arbi {
3870
3875
  AGENT_MAX_ITERATIONS: number;
3871
3876
  AGENT_TURN_CREDIT_BUDGET: number;
3872
3877
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
3878
+ AGENT_MAX_TOTAL_TOOL_CALLS: number;
3879
+ AGENT_MAX_RUN_TOKENS: number;
3880
+ AGENT_MAX_SUBAGENT_SPAWNS: number;
3873
3881
  AGENT_HISTORY_CHAR_THRESHOLD: number;
3874
3882
  AGENT_SYSTEM_PROMPT: string;
3875
3883
  };
@@ -4420,7 +4428,6 @@ declare class Arbi {
4420
4428
  */
4421
4429
 
4422
4430
  type WorkspaceUpdateRequest = components['schemas']['WorkspaceUpdateRequest'];
4423
- type WorkspaceChronologyOut = components['schemas']['WorkspaceChronologyOut'];
4424
4431
  declare function listWorkspaces(arbi: ArbiClient): Promise<{
4425
4432
  external_id: string;
4426
4433
  name: string;
@@ -4610,35 +4617,34 @@ declare function setUserRole(arbi: ArbiClient, userIds: string[], role: 'owner'
4610
4617
  agent_ext_id?: string | null | undefined;
4611
4618
  is_temporary: boolean;
4612
4619
  }[]>;
4613
- /**
4614
- * Return the last-generated document-derived chronology (key case events /
4615
- * dates) for a workspace. Fields are all-null when none has been generated yet.
4616
- */
4617
- declare function getWorkspaceChronology(arbi: ArbiClient, workspaceId: string): Promise<WorkspaceChronologyOut>;
4618
4620
  declare function copyDocuments(arbi: ArbiClient, targetWorkspaceId: string, docIds: string[], targetWorkspaceKey: string): Promise<{
4619
4621
  detail: string;
4620
4622
  documents_copied: number;
4623
+ items_copied: number;
4624
+ copied_by_kind: {
4625
+ [x: string]: number;
4626
+ };
4621
4627
  results: {
4622
4628
  source_doc_ext_id: string;
4623
4629
  success: boolean;
4624
4630
  new_doc_ext_id?: string | null | undefined;
4625
4631
  error?: string | null | undefined;
4632
+ kind: components["schemas"]["CopyItemKind"];
4633
+ warning?: string | null | undefined;
4626
4634
  }[];
4627
4635
  }>;
4628
4636
 
4629
- type workspaces_WorkspaceChronologyOut = WorkspaceChronologyOut;
4630
4637
  declare const workspaces_addWorkspaceUsers: typeof addWorkspaceUsers;
4631
4638
  declare const workspaces_copyDocuments: typeof copyDocuments;
4632
4639
  declare const workspaces_createWorkspace: typeof createWorkspace;
4633
4640
  declare const workspaces_deleteWorkspaces: typeof deleteWorkspaces;
4634
- declare const workspaces_getWorkspaceChronology: typeof getWorkspaceChronology;
4635
4641
  declare const workspaces_listWorkspaceUsers: typeof listWorkspaceUsers;
4636
4642
  declare const workspaces_listWorkspaces: typeof listWorkspaces;
4637
4643
  declare const workspaces_removeWorkspaceUsers: typeof removeWorkspaceUsers;
4638
4644
  declare const workspaces_setUserRole: typeof setUserRole;
4639
4645
  declare const workspaces_updateWorkspace: typeof updateWorkspace;
4640
4646
  declare namespace workspaces {
4641
- export { type workspaces_WorkspaceChronologyOut as WorkspaceChronologyOut, workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_copyDocuments as copyDocuments, workspaces_createWorkspace as createWorkspace, workspaces_deleteWorkspaces as deleteWorkspaces, workspaces_getWorkspaceChronology as getWorkspaceChronology, workspaces_listWorkspaceUsers as listWorkspaceUsers, workspaces_listWorkspaces as listWorkspaces, workspaces_removeWorkspaceUsers as removeWorkspaceUsers, workspaces_setUserRole as setUserRole, workspaces_updateWorkspace as updateWorkspace };
4647
+ export { workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_copyDocuments as copyDocuments, workspaces_createWorkspace as createWorkspace, workspaces_deleteWorkspaces as deleteWorkspaces, workspaces_listWorkspaceUsers as listWorkspaceUsers, workspaces_listWorkspaces as listWorkspaces, workspaces_removeWorkspaceUsers as removeWorkspaceUsers, workspaces_setUserRole as setUserRole, workspaces_updateWorkspace as updateWorkspace };
4642
4648
  }
4643
4649
 
4644
4650
  /**
@@ -5089,6 +5095,7 @@ declare function assignDocTags(arbi: ArbiClient, tagId: string, docIds: string[]
5089
5095
  page?: number | null | undefined;
5090
5096
  }[];
5091
5097
  } | null | undefined;
5098
+ external_id: string;
5092
5099
  doc_ext_id: string;
5093
5100
  tag_ext_id: string;
5094
5101
  created_by_ext_id: string;
@@ -5109,6 +5116,7 @@ declare function updateDocTag(arbi: ArbiClient, tagId: string, docId: string, up
5109
5116
  page?: number | null | undefined;
5110
5117
  }[];
5111
5118
  } | null | undefined;
5119
+ external_id: string;
5112
5120
  doc_ext_id: string;
5113
5121
  tag_ext_id: string;
5114
5122
  created_by_ext_id: string;
@@ -5162,7 +5170,6 @@ declare function getSettings(arbi: ArbiClient): Promise<{
5162
5170
  show_help_page: boolean;
5163
5171
  show_templates: boolean;
5164
5172
  show_skills: boolean;
5165
- show_chronology: boolean;
5166
5173
  show_pa_mode: boolean;
5167
5174
  show_conversation_search: boolean;
5168
5175
  show_agent_sessions: boolean;
@@ -5249,6 +5256,9 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
5249
5256
  AGENT_MAX_ITERATIONS: number;
5250
5257
  AGENT_TURN_CREDIT_BUDGET: number;
5251
5258
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
5259
+ AGENT_MAX_TOTAL_TOOL_CALLS: number;
5260
+ AGENT_MAX_RUN_TOKENS: number;
5261
+ AGENT_MAX_SUBAGENT_SPAWNS: number;
5252
5262
  AGENT_HISTORY_CHAR_THRESHOLD: number;
5253
5263
  AGENT_SYSTEM_PROMPT: string;
5254
5264
  };
@@ -5834,4 +5844,4 @@ declare namespace projects {
5834
5844
  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 };
5835
5845
  }
5836
5846
 
5837
- export { type ResponseOutputItemDoneEvent as $, type AgentControlStateEvent as A, type FactSearchRequest as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type FactSearchResponse as E, type FactResponse as F, type FormattedWsMessage as G, type ListPaginatedOptions as H, type MessageMetadataPayload$1 as I, type MessageQueuedEvent as J, type ProbeAnswerEvent as K, type ListAllOptions as L, type MessageLevel as M, type ProjectInvoicesResponse 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, facts as aJ, files as aK, filterSkills as aL, formatAgentStepLabel as aM, formatFileSize as aN, formatItemLabel as aO, formatStreamSummary as aP, formatUserName as aQ, formatWorkspaceChoices as aR, formatWsMessage as aS, generateEncryptedWorkspaceKey as aT, generateNewWorkspaceKey as aU, getErrorCode as aV, getErrorMessage as aW, getRawWorkspaceKey as aX, health as aY, parseSSEEvents as aZ, parseSlashCommand as a_, type TaskResponse as aa, type TokenBudgetContext as ab, type UpdateFactRequest 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 CreateFactRequest 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 };
5847
+ export { type ResponseOutputItemDoneEvent as $, type AgentControlStateEvent as A, type FactSearchRequest as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type FactSearchResponse as E, type FactResponse as F, type FormattedWsMessage as G, type ListPaginatedOptions as H, type MessageMetadataPayload$1 as I, type MessageQueuedEvent as J, type ProbeAnswerEvent as K, type ListAllOptions as L, type MessageLevel as M, type ProjectInvoicesResponse 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, facts 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, parseSSEEvents as aY, parseSlashCommand as aZ, parseSlashTokenInProgress as a_, type TaskResponse as aa, type TokenBudgetContext as ab, type UpdateFactRequest 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 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 CreateFactRequest 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 };
package/dist/browser.cjs CHANGED
@@ -4662,7 +4662,6 @@ __export(workspaces_exports, {
4662
4662
  copyDocuments: () => copyDocuments,
4663
4663
  createWorkspace: () => createWorkspace,
4664
4664
  deleteWorkspaces: () => deleteWorkspaces,
4665
- getWorkspaceChronology: () => getWorkspaceChronology,
4666
4665
  listWorkspaceUsers: () => listWorkspaceUsers,
4667
4666
  listWorkspaces: () => listWorkspaces,
4668
4667
  removeWorkspaceUsers: () => removeWorkspaceUsers,
@@ -4727,14 +4726,6 @@ async function setUserRole(arbi, userIds, role) {
4727
4726
  "Failed to update roles"
4728
4727
  );
4729
4728
  }
4730
- async function getWorkspaceChronology(arbi, workspaceId) {
4731
- return requireData(
4732
- await arbi.fetch.GET("/v1/workspace/{workspace_ext_id}/chronology", {
4733
- params: { path: { workspace_ext_id: workspaceId } }
4734
- }),
4735
- "Failed to fetch workspace chronology"
4736
- );
4737
- }
4738
4729
  async function copyDocuments(arbi, targetWorkspaceId, docIds, targetWorkspaceKey) {
4739
4730
  return requireData(
4740
4731
  await arbi.fetch.POST("/v1/workspace/copy", {
@@ -5833,14 +5824,6 @@ var Arbi = class {
5833
5824
  targetWorkspaceId,
5834
5825
  docIds,
5835
5826
  targetWorkspaceKey
5836
- ),
5837
- /**
5838
- * The last-generated document-derived chronology (key case events / dates).
5839
- * Defaults to the currently open workspace when no id is passed.
5840
- */
5841
- chronology: (workspaceId) => getWorkspaceChronology(
5842
- this.requireClient(),
5843
- workspaceId ?? this.requireWorkspace()
5844
5827
  )
5845
5828
  };
5846
5829
  // ── Documents ─────────────────────────────────────────────────────────