@arbidocs/sdk 0.3.121 → 0.3.123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{browser-BUspHdyk.d.cts → browser-BbUObdvG.d.cts} +144 -35
- package/dist/{browser-BUspHdyk.d.ts → browser-BbUObdvG.d.ts} +144 -35
- package/dist/browser.cjs +10 -2
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +10 -2
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +20 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +20 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -310,6 +310,8 @@ type ResponseContentPartAddedEvent = components['schemas']['ResponseContentPartA
|
|
|
310
310
|
type AgentStepEvent = components['schemas']['AgentStepEvent'];
|
|
311
311
|
type AgentStepDeltaEvent = components['schemas']['AgentStepDeltaEvent'];
|
|
312
312
|
type UserInputRequestEvent = components['schemas']['UserInputRequestEvent'];
|
|
313
|
+
type ProbeAnswerEvent = components['schemas']['ProbeAnswerEvent'];
|
|
314
|
+
type AgentControlStateEvent = components['schemas']['AgentControlStateEvent'];
|
|
313
315
|
type ArtifactEvent = components['schemas']['ArtifactEvent'];
|
|
314
316
|
type UserMessageEvent = components['schemas']['UserMessageEvent'];
|
|
315
317
|
type MessageQueuedEvent = components['schemas']['MessageQueuedEvent'];
|
|
@@ -341,6 +343,20 @@ interface SSEEvent {
|
|
|
341
343
|
* from the workspace document list they already fetch before querying.
|
|
342
344
|
*/
|
|
343
345
|
type DocNameMap = Record<string, string>;
|
|
346
|
+
/**
|
|
347
|
+
* Build a `DocNameMap` from a workspace document list.
|
|
348
|
+
*
|
|
349
|
+
* Every client that renders steps needs this map and was building it with
|
|
350
|
+
* the same loop over `documents.listDocuments()`. It lives here so callers
|
|
351
|
+
* inherit it with the formatter that consumes it, rather than each keeping
|
|
352
|
+
* a copy that can drift. Documents missing an id or file name are skipped —
|
|
353
|
+
* an unresolved ref renders as its raw id, which `resolveDocRefs` already
|
|
354
|
+
* handles.
|
|
355
|
+
*/
|
|
356
|
+
declare function buildDocNameMap(docs: ReadonlyArray<{
|
|
357
|
+
external_id?: unknown;
|
|
358
|
+
file_name?: unknown;
|
|
359
|
+
}>): DocNameMap;
|
|
344
360
|
/**
|
|
345
361
|
* Format an AgentStepEvent into a human-readable label.
|
|
346
362
|
*
|
|
@@ -398,6 +414,10 @@ interface SSEStreamCallbacks {
|
|
|
398
414
|
onUserMessage?: (data: UserMessageEvent) => void;
|
|
399
415
|
onMetadata?: (data: MessageMetadataPayload$1) => void;
|
|
400
416
|
onUserInputRequest?: (data: UserInputRequestEvent) => void;
|
|
417
|
+
/** Out-of-band status probe answer ("how's it going?") — transient, never persisted. */
|
|
418
|
+
onProbeAnswer?: (data: ProbeAnswerEvent) => void;
|
|
419
|
+
/** Server-confirmed run-control state (paused / running). */
|
|
420
|
+
onAgentControlState?: (data: AgentControlStateEvent) => void;
|
|
401
421
|
onArtifact?: (data: ArtifactEvent) => void;
|
|
402
422
|
onElapsedTime?: (t: number) => void;
|
|
403
423
|
onUsage?: (usage: ResponseUsage) => void;
|
|
@@ -832,8 +852,6 @@ declare function listDocuments(arbi: ArbiClient): Promise<{
|
|
|
832
852
|
wp_type?: string | null | undefined;
|
|
833
853
|
folder?: string | null | undefined;
|
|
834
854
|
doctags: {
|
|
835
|
-
doc_ext_id: string;
|
|
836
|
-
tag_ext_id: string;
|
|
837
855
|
note?: string | null | undefined;
|
|
838
856
|
citations?: {
|
|
839
857
|
[x: string]: {
|
|
@@ -844,6 +862,8 @@ declare function listDocuments(arbi: ArbiClient): Promise<{
|
|
|
844
862
|
offset_end: number;
|
|
845
863
|
};
|
|
846
864
|
} | null | undefined;
|
|
865
|
+
doc_ext_id: string;
|
|
866
|
+
tag_ext_id: string;
|
|
847
867
|
created_by_ext_id: string;
|
|
848
868
|
updated_by_ext_id?: string | null | undefined;
|
|
849
869
|
created_at: string;
|
|
@@ -930,8 +950,6 @@ declare function getDocuments(arbi: ArbiClient, externalIds: string[]): Promise<
|
|
|
930
950
|
wp_type?: string | null | undefined;
|
|
931
951
|
folder?: string | null | undefined;
|
|
932
952
|
doctags: {
|
|
933
|
-
doc_ext_id: string;
|
|
934
|
-
tag_ext_id: string;
|
|
935
953
|
note?: string | null | undefined;
|
|
936
954
|
citations?: {
|
|
937
955
|
[x: string]: {
|
|
@@ -942,6 +960,8 @@ declare function getDocuments(arbi: ArbiClient, externalIds: string[]): Promise<
|
|
|
942
960
|
offset_end: number;
|
|
943
961
|
};
|
|
944
962
|
} | null | undefined;
|
|
963
|
+
doc_ext_id: string;
|
|
964
|
+
tag_ext_id: string;
|
|
945
965
|
created_by_ext_id: string;
|
|
946
966
|
updated_by_ext_id?: string | null | undefined;
|
|
947
967
|
created_at: string;
|
|
@@ -982,8 +1002,6 @@ declare function updateDocuments(arbi: ArbiClient, documents: DocUpdateRequest$1
|
|
|
982
1002
|
wp_type?: string | null | undefined;
|
|
983
1003
|
folder?: string | null | undefined;
|
|
984
1004
|
doctags: {
|
|
985
|
-
doc_ext_id: string;
|
|
986
|
-
tag_ext_id: string;
|
|
987
1005
|
note?: string | null | undefined;
|
|
988
1006
|
citations?: {
|
|
989
1007
|
[x: string]: {
|
|
@@ -994,6 +1012,8 @@ declare function updateDocuments(arbi: ArbiClient, documents: DocUpdateRequest$1
|
|
|
994
1012
|
offset_end: number;
|
|
995
1013
|
};
|
|
996
1014
|
} | null | undefined;
|
|
1015
|
+
doc_ext_id: string;
|
|
1016
|
+
tag_ext_id: string;
|
|
997
1017
|
created_by_ext_id: string;
|
|
998
1018
|
updated_by_ext_id?: string | null | undefined;
|
|
999
1019
|
created_at: string;
|
|
@@ -1243,8 +1263,10 @@ interface AssistantQueryOptions extends AuthHeaders {
|
|
|
1243
1263
|
*/
|
|
1244
1264
|
declare function queryAssistant(options: AssistantQueryOptions): Promise<Response>;
|
|
1245
1265
|
/**
|
|
1246
|
-
*
|
|
1247
|
-
*
|
|
1266
|
+
* Interject into a running agent turn with input — answer its ask_user question,
|
|
1267
|
+
* or (as raw text) send a steering interjection or a run-control command
|
|
1268
|
+
* (`/pause`, `/resume`, `/report`). The backend classifies the text; the
|
|
1269
|
+
* assistant_message_ext_id identifies which streaming turn to interject into.
|
|
1248
1270
|
*/
|
|
1249
1271
|
declare function respondToAgent(arbi: ArbiClient, assistantMessageExtId: string, answer: string): Promise<unknown>;
|
|
1250
1272
|
/** A single user-invocable skill as exposed by ``GET /v1/assistant/skills``.
|
|
@@ -2405,8 +2427,6 @@ declare class Arbi {
|
|
|
2405
2427
|
wp_type?: string | null | undefined;
|
|
2406
2428
|
folder?: string | null | undefined;
|
|
2407
2429
|
doctags: {
|
|
2408
|
-
doc_ext_id: string;
|
|
2409
|
-
tag_ext_id: string;
|
|
2410
2430
|
note?: string | null | undefined;
|
|
2411
2431
|
citations?: {
|
|
2412
2432
|
[x: string]: {
|
|
@@ -2417,6 +2437,8 @@ declare class Arbi {
|
|
|
2417
2437
|
offset_end: number;
|
|
2418
2438
|
};
|
|
2419
2439
|
} | null | undefined;
|
|
2440
|
+
doc_ext_id: string;
|
|
2441
|
+
tag_ext_id: string;
|
|
2420
2442
|
created_by_ext_id: string;
|
|
2421
2443
|
updated_by_ext_id?: string | null | undefined;
|
|
2422
2444
|
created_at: string;
|
|
@@ -2530,8 +2552,6 @@ declare class Arbi {
|
|
|
2530
2552
|
wp_type?: string | null | undefined;
|
|
2531
2553
|
folder?: string | null | undefined;
|
|
2532
2554
|
doctags: {
|
|
2533
|
-
doc_ext_id: string;
|
|
2534
|
-
tag_ext_id: string;
|
|
2535
2555
|
note?: string | null | undefined;
|
|
2536
2556
|
citations?: {
|
|
2537
2557
|
[x: string]: {
|
|
@@ -2542,6 +2562,8 @@ declare class Arbi {
|
|
|
2542
2562
|
offset_end: number;
|
|
2543
2563
|
};
|
|
2544
2564
|
} | null | undefined;
|
|
2565
|
+
doc_ext_id: string;
|
|
2566
|
+
tag_ext_id: string;
|
|
2545
2567
|
created_by_ext_id: string;
|
|
2546
2568
|
updated_by_ext_id?: string | null | undefined;
|
|
2547
2569
|
created_at: string;
|
|
@@ -2582,8 +2604,6 @@ declare class Arbi {
|
|
|
2582
2604
|
wp_type?: string | null | undefined;
|
|
2583
2605
|
folder?: string | null | undefined;
|
|
2584
2606
|
doctags: {
|
|
2585
|
-
doc_ext_id: string;
|
|
2586
|
-
tag_ext_id: string;
|
|
2587
2607
|
note?: string | null | undefined;
|
|
2588
2608
|
citations?: {
|
|
2589
2609
|
[x: string]: {
|
|
@@ -2594,6 +2614,8 @@ declare class Arbi {
|
|
|
2594
2614
|
offset_end: number;
|
|
2595
2615
|
};
|
|
2596
2616
|
} | null | undefined;
|
|
2617
|
+
doc_ext_id: string;
|
|
2618
|
+
tag_ext_id: string;
|
|
2597
2619
|
created_by_ext_id: string;
|
|
2598
2620
|
updated_by_ext_id?: string | null | undefined;
|
|
2599
2621
|
created_at: string;
|
|
@@ -2770,6 +2792,12 @@ declare class Arbi {
|
|
|
2770
2792
|
written: string[];
|
|
2771
2793
|
superseded: string[];
|
|
2772
2794
|
};
|
|
2795
|
+
} | {
|
|
2796
|
+
name: "goal";
|
|
2797
|
+
description: string;
|
|
2798
|
+
record: {
|
|
2799
|
+
[x: string]: unknown;
|
|
2800
|
+
};
|
|
2773
2801
|
};
|
|
2774
2802
|
} | undefined;
|
|
2775
2803
|
config_ext_id?: string | null | undefined;
|
|
@@ -2926,6 +2954,12 @@ declare class Arbi {
|
|
|
2926
2954
|
written: string[];
|
|
2927
2955
|
superseded: string[];
|
|
2928
2956
|
};
|
|
2957
|
+
} | {
|
|
2958
|
+
name: "goal";
|
|
2959
|
+
description: string;
|
|
2960
|
+
record: {
|
|
2961
|
+
[x: string]: unknown;
|
|
2962
|
+
};
|
|
2929
2963
|
};
|
|
2930
2964
|
} | undefined;
|
|
2931
2965
|
config_ext_id?: string | null | undefined;
|
|
@@ -3026,8 +3060,6 @@ declare class Arbi {
|
|
|
3026
3060
|
};
|
|
3027
3061
|
readonly doctags: {
|
|
3028
3062
|
assign: (tagId: string, docIds: string[], note?: string | null) => Promise<{
|
|
3029
|
-
doc_ext_id: string;
|
|
3030
|
-
tag_ext_id: string;
|
|
3031
3063
|
note?: string | null | undefined;
|
|
3032
3064
|
citations?: {
|
|
3033
3065
|
[x: string]: {
|
|
@@ -3038,6 +3070,8 @@ declare class Arbi {
|
|
|
3038
3070
|
offset_end: number;
|
|
3039
3071
|
};
|
|
3040
3072
|
} | null | undefined;
|
|
3073
|
+
doc_ext_id: string;
|
|
3074
|
+
tag_ext_id: string;
|
|
3041
3075
|
created_by_ext_id: string;
|
|
3042
3076
|
updated_by_ext_id?: string | null | undefined;
|
|
3043
3077
|
created_at: string;
|
|
@@ -3048,8 +3082,6 @@ declare class Arbi {
|
|
|
3048
3082
|
note?: string | null;
|
|
3049
3083
|
citations?: Record<string, CitationData$1> | null;
|
|
3050
3084
|
}) => Promise<{
|
|
3051
|
-
doc_ext_id: string;
|
|
3052
|
-
tag_ext_id: string;
|
|
3053
3085
|
note?: string | null | undefined;
|
|
3054
3086
|
citations?: {
|
|
3055
3087
|
[x: string]: {
|
|
@@ -3060,6 +3092,8 @@ declare class Arbi {
|
|
|
3060
3092
|
offset_end: number;
|
|
3061
3093
|
};
|
|
3062
3094
|
} | null | undefined;
|
|
3095
|
+
doc_ext_id: string;
|
|
3096
|
+
tag_ext_id: string;
|
|
3063
3097
|
created_by_ext_id: string;
|
|
3064
3098
|
updated_by_ext_id?: string | null | undefined;
|
|
3065
3099
|
created_at: string;
|
|
@@ -3273,6 +3307,7 @@ declare class Arbi {
|
|
|
3273
3307
|
show_file_explorer: boolean;
|
|
3274
3308
|
show_hints: boolean;
|
|
3275
3309
|
show_tasks: boolean;
|
|
3310
|
+
show_agent_builder: boolean;
|
|
3276
3311
|
dismissed_tips?: string[] | undefined;
|
|
3277
3312
|
use_s3_direct_upload: boolean;
|
|
3278
3313
|
hide_online_status: boolean;
|
|
@@ -3310,6 +3345,7 @@ declare class Arbi {
|
|
|
3310
3345
|
MCP_TOOLS: string[];
|
|
3311
3346
|
PLANNING_ENABLED: boolean;
|
|
3312
3347
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
3348
|
+
SUBAGENTS_ENABLED: boolean;
|
|
3313
3349
|
SUGGESTED_QUERIES: boolean;
|
|
3314
3350
|
ARTIFACTS_ENABLED: boolean;
|
|
3315
3351
|
IMAGE_ENABLED: boolean;
|
|
@@ -3545,6 +3581,7 @@ declare class Arbi {
|
|
|
3545
3581
|
MCP_TOOLS: string[];
|
|
3546
3582
|
PLANNING_ENABLED: boolean;
|
|
3547
3583
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
3584
|
+
SUBAGENTS_ENABLED: boolean;
|
|
3548
3585
|
SUGGESTED_QUERIES: boolean;
|
|
3549
3586
|
ARTIFACTS_ENABLED: boolean;
|
|
3550
3587
|
IMAGE_ENABLED: boolean;
|
|
@@ -3739,6 +3776,7 @@ declare class Arbi {
|
|
|
3739
3776
|
MCP_TOOLS: string[];
|
|
3740
3777
|
PLANNING_ENABLED: boolean;
|
|
3741
3778
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
3779
|
+
SUBAGENTS_ENABLED: boolean;
|
|
3742
3780
|
SUGGESTED_QUERIES: boolean;
|
|
3743
3781
|
ARTIFACTS_ENABLED: boolean;
|
|
3744
3782
|
IMAGE_ENABLED: boolean;
|
|
@@ -3974,6 +4012,7 @@ declare class Arbi {
|
|
|
3974
4012
|
MCP_TOOLS: string[];
|
|
3975
4013
|
PLANNING_ENABLED: boolean;
|
|
3976
4014
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
4015
|
+
SUBAGENTS_ENABLED: boolean;
|
|
3977
4016
|
SUGGESTED_QUERIES: boolean;
|
|
3978
4017
|
ARTIFACTS_ENABLED: boolean;
|
|
3979
4018
|
IMAGE_ENABLED: boolean;
|
|
@@ -4036,11 +4075,22 @@ declare class Arbi {
|
|
|
4036
4075
|
in_progress: boolean;
|
|
4037
4076
|
active_run_id: string | null;
|
|
4038
4077
|
agent_session: string | null;
|
|
4078
|
+
active_response_id?: string | null;
|
|
4079
|
+
active_conversation_ext_id?: string | null;
|
|
4039
4080
|
run_started_at: string | null;
|
|
4040
4081
|
notify_on_complete: boolean;
|
|
4082
|
+
auth_mode: components["schemas"]["AuthMode"];
|
|
4083
|
+
pending_auth_request_id?: string | null;
|
|
4084
|
+
pending_auth_session_pubkey?: string | null;
|
|
4085
|
+
pending_auth_agent_email?: string | null;
|
|
4041
4086
|
created_by_kind: string;
|
|
4042
4087
|
workspace_ext_id?: string | null;
|
|
4043
4088
|
agent_ext_id?: string | null;
|
|
4089
|
+
task_plan?: components["schemas"]["TaskPlan"] | null;
|
|
4090
|
+
is_goal_task: boolean;
|
|
4091
|
+
goal_state?: {
|
|
4092
|
+
[key: string]: unknown;
|
|
4093
|
+
} | null;
|
|
4044
4094
|
created_at: string;
|
|
4045
4095
|
updated_at: string;
|
|
4046
4096
|
}[]>;
|
|
@@ -4062,11 +4112,22 @@ declare class Arbi {
|
|
|
4062
4112
|
in_progress: boolean;
|
|
4063
4113
|
active_run_id: string | null;
|
|
4064
4114
|
agent_session: string | null;
|
|
4115
|
+
active_response_id?: string | null;
|
|
4116
|
+
active_conversation_ext_id?: string | null;
|
|
4065
4117
|
run_started_at: string | null;
|
|
4066
4118
|
notify_on_complete: boolean;
|
|
4119
|
+
auth_mode: components["schemas"]["AuthMode"];
|
|
4120
|
+
pending_auth_request_id?: string | null;
|
|
4121
|
+
pending_auth_session_pubkey?: string | null;
|
|
4122
|
+
pending_auth_agent_email?: string | null;
|
|
4067
4123
|
created_by_kind: string;
|
|
4068
4124
|
workspace_ext_id?: string | null;
|
|
4069
4125
|
agent_ext_id?: string | null;
|
|
4126
|
+
task_plan?: components["schemas"]["TaskPlan"] | null;
|
|
4127
|
+
is_goal_task: boolean;
|
|
4128
|
+
goal_state?: {
|
|
4129
|
+
[key: string]: unknown;
|
|
4130
|
+
} | null;
|
|
4070
4131
|
created_at: string;
|
|
4071
4132
|
updated_at: string;
|
|
4072
4133
|
}>;
|
|
@@ -4088,11 +4149,22 @@ declare class Arbi {
|
|
|
4088
4149
|
in_progress: boolean;
|
|
4089
4150
|
active_run_id: string | null;
|
|
4090
4151
|
agent_session: string | null;
|
|
4152
|
+
active_response_id?: string | null;
|
|
4153
|
+
active_conversation_ext_id?: string | null;
|
|
4091
4154
|
run_started_at: string | null;
|
|
4092
4155
|
notify_on_complete: boolean;
|
|
4156
|
+
auth_mode: components["schemas"]["AuthMode"];
|
|
4157
|
+
pending_auth_request_id?: string | null;
|
|
4158
|
+
pending_auth_session_pubkey?: string | null;
|
|
4159
|
+
pending_auth_agent_email?: string | null;
|
|
4093
4160
|
created_by_kind: string;
|
|
4094
4161
|
workspace_ext_id?: string | null;
|
|
4095
4162
|
agent_ext_id?: string | null;
|
|
4163
|
+
task_plan?: components["schemas"]["TaskPlan"] | null;
|
|
4164
|
+
is_goal_task: boolean;
|
|
4165
|
+
goal_state?: {
|
|
4166
|
+
[key: string]: unknown;
|
|
4167
|
+
} | null;
|
|
4096
4168
|
created_at: string;
|
|
4097
4169
|
updated_at: string;
|
|
4098
4170
|
}>;
|
|
@@ -4114,11 +4186,22 @@ declare class Arbi {
|
|
|
4114
4186
|
in_progress: boolean;
|
|
4115
4187
|
active_run_id: string | null;
|
|
4116
4188
|
agent_session: string | null;
|
|
4189
|
+
active_response_id?: string | null;
|
|
4190
|
+
active_conversation_ext_id?: string | null;
|
|
4117
4191
|
run_started_at: string | null;
|
|
4118
4192
|
notify_on_complete: boolean;
|
|
4193
|
+
auth_mode: components["schemas"]["AuthMode"];
|
|
4194
|
+
pending_auth_request_id?: string | null;
|
|
4195
|
+
pending_auth_session_pubkey?: string | null;
|
|
4196
|
+
pending_auth_agent_email?: string | null;
|
|
4119
4197
|
created_by_kind: string;
|
|
4120
4198
|
workspace_ext_id?: string | null;
|
|
4121
4199
|
agent_ext_id?: string | null;
|
|
4200
|
+
task_plan?: components["schemas"]["TaskPlan"] | null;
|
|
4201
|
+
is_goal_task: boolean;
|
|
4202
|
+
goal_state?: {
|
|
4203
|
+
[key: string]: unknown;
|
|
4204
|
+
} | null;
|
|
4122
4205
|
created_at: string;
|
|
4123
4206
|
updated_at: string;
|
|
4124
4207
|
}>;
|
|
@@ -4141,26 +4224,37 @@ declare class Arbi {
|
|
|
4141
4224
|
in_progress: boolean;
|
|
4142
4225
|
active_run_id: string | null;
|
|
4143
4226
|
agent_session: string | null;
|
|
4227
|
+
active_response_id?: string | null;
|
|
4228
|
+
active_conversation_ext_id?: string | null;
|
|
4144
4229
|
run_started_at: string | null;
|
|
4145
4230
|
notify_on_complete: boolean;
|
|
4231
|
+
auth_mode: components["schemas"]["AuthMode"];
|
|
4232
|
+
pending_auth_request_id?: string | null;
|
|
4233
|
+
pending_auth_session_pubkey?: string | null;
|
|
4234
|
+
pending_auth_agent_email?: string | null;
|
|
4146
4235
|
created_by_kind: string;
|
|
4147
4236
|
workspace_ext_id?: string | null;
|
|
4148
4237
|
agent_ext_id?: string | null;
|
|
4238
|
+
task_plan?: components["schemas"]["TaskPlan"] | null;
|
|
4239
|
+
is_goal_task: boolean;
|
|
4240
|
+
goal_state?: {
|
|
4241
|
+
[key: string]: unknown;
|
|
4242
|
+
} | null;
|
|
4149
4243
|
created_at: string;
|
|
4150
4244
|
updated_at: string;
|
|
4151
4245
|
}>;
|
|
4152
4246
|
};
|
|
4153
4247
|
readonly memory: {
|
|
4154
4248
|
create: (body: CreateMemoryRequest) => Promise<{
|
|
4249
|
+
note?: string | null;
|
|
4250
|
+
citations?: {
|
|
4251
|
+
[key: string]: components["schemas"]["CitationData"];
|
|
4252
|
+
} | null;
|
|
4155
4253
|
external_id: string;
|
|
4156
4254
|
workspace_ext_id: string;
|
|
4157
|
-
content: string;
|
|
4158
4255
|
pinned: boolean;
|
|
4159
4256
|
shared: boolean;
|
|
4160
4257
|
source: string;
|
|
4161
|
-
citations?: {
|
|
4162
|
-
[key: string]: components["schemas"]["CitationData"];
|
|
4163
|
-
} | null;
|
|
4164
4258
|
created_by_ext_id: string;
|
|
4165
4259
|
created_at: string;
|
|
4166
4260
|
updated_at: string;
|
|
@@ -4168,15 +4262,15 @@ declare class Arbi {
|
|
|
4168
4262
|
list: (options?: {
|
|
4169
4263
|
pinnedOnly?: boolean;
|
|
4170
4264
|
}) => Promise<{
|
|
4265
|
+
note?: string | null;
|
|
4266
|
+
citations?: {
|
|
4267
|
+
[key: string]: components["schemas"]["CitationData"];
|
|
4268
|
+
} | null;
|
|
4171
4269
|
external_id: string;
|
|
4172
4270
|
workspace_ext_id: string;
|
|
4173
|
-
content: string;
|
|
4174
4271
|
pinned: boolean;
|
|
4175
4272
|
shared: boolean;
|
|
4176
4273
|
source: string;
|
|
4177
|
-
citations?: {
|
|
4178
|
-
[key: string]: components["schemas"]["CitationData"];
|
|
4179
|
-
} | null;
|
|
4180
4274
|
created_by_ext_id: string;
|
|
4181
4275
|
created_at: string;
|
|
4182
4276
|
updated_at: string;
|
|
@@ -4185,15 +4279,15 @@ declare class Arbi {
|
|
|
4185
4279
|
memories: components["schemas"]["MemorySearchHit"][];
|
|
4186
4280
|
}>;
|
|
4187
4281
|
update: (memoryId: string, body: UpdateMemoryRequest) => Promise<{
|
|
4282
|
+
note?: string | null;
|
|
4283
|
+
citations?: {
|
|
4284
|
+
[key: string]: components["schemas"]["CitationData"];
|
|
4285
|
+
} | null;
|
|
4188
4286
|
external_id: string;
|
|
4189
4287
|
workspace_ext_id: string;
|
|
4190
|
-
content: string;
|
|
4191
4288
|
pinned: boolean;
|
|
4192
4289
|
shared: boolean;
|
|
4193
4290
|
source: string;
|
|
4194
|
-
citations?: {
|
|
4195
|
-
[key: string]: components["schemas"]["CitationData"];
|
|
4196
|
-
} | null;
|
|
4197
4291
|
created_by_ext_id: string;
|
|
4198
4292
|
created_at: string;
|
|
4199
4293
|
updated_at: string;
|
|
@@ -4680,6 +4774,12 @@ declare function getConversationThreads(arbi: ArbiClient, conversationId: string
|
|
|
4680
4774
|
written: string[];
|
|
4681
4775
|
superseded: string[];
|
|
4682
4776
|
};
|
|
4777
|
+
} | {
|
|
4778
|
+
name: "goal";
|
|
4779
|
+
description: string;
|
|
4780
|
+
record: {
|
|
4781
|
+
[x: string]: unknown;
|
|
4782
|
+
};
|
|
4683
4783
|
};
|
|
4684
4784
|
} | undefined;
|
|
4685
4785
|
config_ext_id?: string | null | undefined;
|
|
@@ -4836,6 +4936,12 @@ declare function getMessage(arbi: ArbiClient, messageId: string): Promise<{
|
|
|
4836
4936
|
written: string[];
|
|
4837
4937
|
superseded: string[];
|
|
4838
4938
|
};
|
|
4939
|
+
} | {
|
|
4940
|
+
name: "goal";
|
|
4941
|
+
description: string;
|
|
4942
|
+
record: {
|
|
4943
|
+
[x: string]: unknown;
|
|
4944
|
+
};
|
|
4839
4945
|
};
|
|
4840
4946
|
} | undefined;
|
|
4841
4947
|
config_ext_id?: string | null | undefined;
|
|
@@ -4871,8 +4977,6 @@ declare namespace conversations {
|
|
|
4871
4977
|
|
|
4872
4978
|
type CitationData = components['schemas']['CitationData'];
|
|
4873
4979
|
declare function assignDocTags(arbi: ArbiClient, tagId: string, docIds: string[], note?: string | null): Promise<{
|
|
4874
|
-
doc_ext_id: string;
|
|
4875
|
-
tag_ext_id: string;
|
|
4876
4980
|
note?: string | null | undefined;
|
|
4877
4981
|
citations?: {
|
|
4878
4982
|
[x: string]: {
|
|
@@ -4883,6 +4987,8 @@ declare function assignDocTags(arbi: ArbiClient, tagId: string, docIds: string[]
|
|
|
4883
4987
|
offset_end: number;
|
|
4884
4988
|
};
|
|
4885
4989
|
} | null | undefined;
|
|
4990
|
+
doc_ext_id: string;
|
|
4991
|
+
tag_ext_id: string;
|
|
4886
4992
|
created_by_ext_id: string;
|
|
4887
4993
|
updated_by_ext_id?: string | null | undefined;
|
|
4888
4994
|
created_at: string;
|
|
@@ -4893,8 +4999,6 @@ declare function updateDocTag(arbi: ArbiClient, tagId: string, docId: string, up
|
|
|
4893
4999
|
note?: string | null;
|
|
4894
5000
|
citations?: Record<string, CitationData> | null;
|
|
4895
5001
|
}): Promise<{
|
|
4896
|
-
doc_ext_id: string;
|
|
4897
|
-
tag_ext_id: string;
|
|
4898
5002
|
note?: string | null | undefined;
|
|
4899
5003
|
citations?: {
|
|
4900
5004
|
[x: string]: {
|
|
@@ -4905,6 +5009,8 @@ declare function updateDocTag(arbi: ArbiClient, tagId: string, docId: string, up
|
|
|
4905
5009
|
offset_end: number;
|
|
4906
5010
|
};
|
|
4907
5011
|
} | null | undefined;
|
|
5012
|
+
doc_ext_id: string;
|
|
5013
|
+
tag_ext_id: string;
|
|
4908
5014
|
created_by_ext_id: string;
|
|
4909
5015
|
updated_by_ext_id?: string | null | undefined;
|
|
4910
5016
|
created_at: string;
|
|
@@ -4964,6 +5070,7 @@ declare function getSettings(arbi: ArbiClient): Promise<{
|
|
|
4964
5070
|
show_file_explorer: boolean;
|
|
4965
5071
|
show_hints: boolean;
|
|
4966
5072
|
show_tasks: boolean;
|
|
5073
|
+
show_agent_builder: boolean;
|
|
4967
5074
|
dismissed_tips?: string[] | undefined;
|
|
4968
5075
|
use_s3_direct_upload: boolean;
|
|
4969
5076
|
hide_online_status: boolean;
|
|
@@ -5011,6 +5118,7 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
|
|
|
5011
5118
|
MCP_TOOLS: string[];
|
|
5012
5119
|
PLANNING_ENABLED: boolean;
|
|
5013
5120
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
5121
|
+
SUBAGENTS_ENABLED: boolean;
|
|
5014
5122
|
SUGGESTED_QUERIES: boolean;
|
|
5015
5123
|
ARTIFACTS_ENABLED: boolean;
|
|
5016
5124
|
IMAGE_ENABLED: boolean;
|
|
@@ -5246,6 +5354,7 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
|
|
|
5246
5354
|
MCP_TOOLS: string[];
|
|
5247
5355
|
PLANNING_ENABLED: boolean;
|
|
5248
5356
|
DEEP_RESEARCH_ENABLED: boolean;
|
|
5357
|
+
SUBAGENTS_ENABLED: boolean;
|
|
5249
5358
|
SUGGESTED_QUERIES: boolean;
|
|
5250
5359
|
ARTIFACTS_ENABLED: boolean;
|
|
5251
5360
|
IMAGE_ENABLED: boolean;
|
|
@@ -5620,4 +5729,4 @@ declare namespace projects {
|
|
|
5620
5729
|
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 };
|
|
5621
5730
|
}
|
|
5622
5731
|
|
|
5623
|
-
export { type
|
|
5732
|
+
export { type ResponseOutputTextDeltaEvent as $, type AgentControlStateEvent as A, type MemorySearchRequest as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type MemorySearchResponse as E, type FormattedWsMessage as F, type MessageLevel as G, type MessageMetadataPayload$1 as H, type MessageQueuedEvent as I, type ProbeAnswerEvent as J, type ProjectInvoicesResponse as K, type ListAllOptions as L, type MemoryResponse as M, type ProjectUsageResponse as N, type OutputTokensDetails as O, type ParsedSlashCommand as P, type QueryOptions as Q, type ReconnectOptions as R, type ReconnectableWsConnection as S, type ResolvedCitation as T, type ResolvedRecipient as U, type ResponseCompletedEvent as V, type ResponseContentPartAddedEvent as W, type ResponseCreatedEvent as X, type ResponseFailedEvent as Y, type ResponseOutputItemAddedEvent as Z, type ResponseOutputItemDoneEvent as _, type AgentStepDeltaEvent as a, performSsoDeviceFlowLogin as a$, type ResponseOutputTextDoneEvent as a0, type ResponseUsage as a1, type SSEEvent as a2, type SSEStreamCallbacks as a3, type SSEStreamResult as a4, type SSEStreamStartData as a5, SUPPORTED_EXTENSIONS as a6, type SkillSummary as a7, type SkippedFile as a8, type TaskResponse as a9, conversations as aA, countCitations as aB, createAuthenticatedClient as aC, createDocumentWaiter as aD, dm as aE, doctags as aF, documents as aG, files as aH, filterSkills as aI, formatAgentStepLabel as aJ, formatFileSize as aK, formatStreamSummary as aL, formatUserName as aM, formatWorkspaceChoices as aN, formatWsMessage as aO, generateEncryptedWorkspaceKey as aP, generateNewWorkspaceKey as aQ, getErrorCode as aR, getErrorMessage as aS, getRawWorkspaceKey as aT, health as aU, memory as aV, parseSSEEvents as aW, parseSlashCommand as aX, parseSlashTokenInProgress as aY, performPasswordLogin as aZ, performSigningKeyLogin as a_, type UpdateMemoryRequest as aa, type UpdateTaskRequest as ab, type UploadBatchResult as ac, type UploadDirectOptions as ad, type UploadDirectResult as ae, type UploadOptions as af, type UploadResult as ag, type UserDailyUsageResponse as ah, type UserInfo as ai, type UserInputRequestEvent as aj, type UserMessageEvent as ak, WebSocketAuthError as al, type WorkspaceChronologyOut as am, type WorkspaceContext as an, type WsConnection as ao, agentconfig 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, type AgentStepEvent as b, projects as b0, requireData as b1, requireOk as b2, resolveAuth as b3, resolveCitations as b4, resolveWorkspace as b5, responses as b6, selectWorkspace as b7, selectWorkspaceById as b8, settings as b9, streamSSE as ba, stripCitationMarkdown as bb, summarizeCitations as bc, tags as bd, tasks as be, workspaces as bf, 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 CreateMemoryRequest as r, type CreateTaskRequest as s, type DmCryptoContext as t, type DocNameMap as u, type DocumentListFields as v, type DocumentListOrder as w, type DocumentWaiter as x, type DocumentWaiterOptions as y, type ListPaginatedOptions as z };
|